コード例 #1
0
ファイル: PropertyAccessor.cs プロジェクト: mer2/devfx
 public PropertyAccessor(PropertyInfo propertyInfo)
 {
     this.PropertyInfo = propertyInfo;
     this.fieldOrPropertyInfo = new PropertyMemberInfo(propertyInfo);
     this.InitializeGet(propertyInfo);
     this.InitializeSet(propertyInfo);
 }
コード例 #2
0
ファイル: FieldAccessor.cs プロジェクト: mer2/devfx
 public FieldAccessor(FieldInfo fieldInfo)
 {
     this.FieldInfo = fieldInfo;
     this.fieldOrPropertyInfo = new FieldMemberInfo(fieldInfo);
     this.InitializeGet(fieldInfo);
 }