AttributedString.withValueAndAttibutions constructor

AttributedString.withValueAndAttibutions(
  1. String value,
  2. List<String> attributions
)
Constructor String value A list of attributions

Implementation

AttributedString.withValueAndAttibutions(
    String value, List<String> attributions)
    : super() {
  EwsUtilities.ValidateParam(value, "value");
  this.Value = value;

  if (attributions == null) {
    throw new ArgumentNullException("$attributions");
  }

  for (String s in attributions) {
    EwsUtilities.ValidateParam(s, "attributions");
  }

  this.Attributions = attributions;
}