Example #1
0
 private ObjectProperty CreateObjectProperty(TypeBase type, ObjectPropertyFlags flags)
 => new ObjectProperty
 {
     Type  = factory.GetReference(type),
     Flags = flags,
 };
Example #2
0
 public ObjectProperty(ITypeReference type, ObjectPropertyFlags flags, string?description)
 {
     Type        = type;
     Flags       = flags;
     Description = description;
 }