コード例 #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>();
 }
コード例 #2
0
ファイル: PropertyType.cs プロジェクト: rfellers/pwiz
 protected bool Equals(ListPropertyType other)
 {
     return(string.Equals(Lookup, other.Lookup) && AnnotationType == other.AnnotationType);
 }