Пример #1
0
 public MetadataVirtualProperty(string virtualPropertyName) : base(virtualPropertyName)
 {
     AccessType = FieldAccessType.PUBLIC_METHOD;
     Accessor   = new MetadataPropertyAccessor(virtualPropertyName);
 }
Пример #2
0
 public void SetAccessor(MetadataPropertyAccessor accessor)
 {
     Accessor = accessor;
 }
Пример #3
0
 public new void SetAccessor(MetadataPropertyAccessor accessor)
 {
     throw new ArgumentException("Virtual properties have preset accessor as its name.");
 }