Exemplo n.º 1
0
 public AnnotationDef(string name, AnnotationTargetSet annotationTargets, ListPropertyType listPropertyType, IList <String> items)
     : base(name)
 {
     AnnotationTargets = annotationTargets;
     Type   = listPropertyType.AnnotationType;
     Lookup = listPropertyType.Lookup;
     _items = MakeReadOnly(items) ?? ImmutableList.Empty <string>();
 }
Exemplo n.º 2
0
 protected bool Equals(ListPropertyType other)
 {
     return(string.Equals(Lookup, other.Lookup) && AnnotationType == other.AnnotationType);
 }