Пример #1
0
 public MethodBuilderInfoItem(AttributedMethod attribute, T @interface)
 {
     this.Attribute                  = attribute;
     this.Interface                  = @interface;
     this.HasSyncRootInterface       = attribute.Attribute.Type.Implements(__ISyncRoot.Type.Fullname);
     this.AssignMethodAttributeInfos = AssignMethodAttributeInfo.GetAllAssignMethodAttributedFields(attribute);
     this.InterceptorInfo            = new InterceptorInfo(this.Attribute.Attribute.Type);
 }
Пример #2
0
 public PropertyBuilderInfoItem(
     AttributedProperty attribute,
     Property property,
     __IPropertyGetterInterceptor interfaceGetter,
     __IPropertySetterInterceptor interfaceSetter,
     __IPropertyInterceptorInitialize interfaceInitializer)
 {
     this.Attribute                  = attribute;
     this.InterfaceGetter            = interfaceGetter;
     this.InterfaceSetter            = interfaceSetter;
     this.InterfaceInitializer       = interfaceInitializer;
     this.Property                   = property;
     this.HasSyncRootInterface       = attribute.Attribute.Type.Implements(__ISyncRoot.Type.Fullname);
     this.AssignMethodAttributeInfos = AssignMethodAttributeInfo.GetAllAssignMethodAttributedFields(attribute);
     this.InterceptorInfo            = new InterceptorInfo(this.Attribute.Attribute.Type);
 }