Example #1
0
 protected AbstractCompositePropertyWeaver(IPropertyTypeBuilder propertyTypeBuilder, ICompositePropertyFragmentMap compositePropertyMap, ITypeDefinition typeDefinition, IAspectWeavingServices aspectWeavingServices)
     : base(compositePropertyMap.ContractType, typeDefinition)
 {
     this.propertyTypeBuilder   = propertyTypeBuilder;
     this.compositePropertyMap  = compositePropertyMap;
     this.aspectWeavingServices = aspectWeavingServices;
 }
 protected AbstractCompositePropertyWeaver(IPropertyTypeBuilder propertyTypeBuilder, ICompositePropertyFragmentMap compositePropertyMap, ITypeDefinition typeDefinition, IAspectWeavingServices aspectWeavingServices)
     : base(compositePropertyMap.ContractType, typeDefinition)
 {
     this.propertyTypeBuilder = propertyTypeBuilder;
     this.compositePropertyMap = compositePropertyMap;
     this.aspectWeavingServices = aspectWeavingServices;
 }
 public void Get(IPropertyTypeBuilder propertyTypeBuilder, ITypeDefinition typeDefinition, IAspectWeavingServices weavingServices)
 {
     methodBuilderFactory(propertyTypeBuilder, typeDefinition, weavingServices);
 }
 public CompositeGetPropertyWeaver(IPropertyTypeBuilder propertyTypeBuilder, PropertyInfo property, IAspectDefinitionCollection aspectDefinitions, IAspectWeavingSettings aspectWeavingSettings)
     : base(property.GetGetMethod(), aspectDefinitions, aspectWeavingSettings)
 {
     methodSignatureWeaver = new GetPropertyMethodSignatureWeaver(propertyTypeBuilder, aspectWeavingSettings.WeavingSettings.TypeDefinition);
 }
 public CompositeSetPropertyWeaverBuilder(IPropertyTypeBuilder propertyTypeBuilder, ICompositePropertyFragmentMap compositePropertyMap, ITypeDefinition typeDefinition, IAspectWeavingServices aspectWeavingServices)
     : base(propertyTypeBuilder, compositePropertyMap, typeDefinition, aspectWeavingServices)
 {
 }
 protected AbstractPropertyMethodSingatureWeaver(IPropertyTypeBuilder propertyBuilder, ITypeDefinition typeDefinition)
     : base(typeDefinition)
 {
     this.propertyBuilder = propertyBuilder;
 }
Example #7
0
 public GetPropertyAspectWeaver(IPropertyTypeBuilder propertyTypeBuilder, MethodInfo method, IAspectDefinitionCollection aspectDefinitions, IAspectWeavingSettings aspectWeavingSettings)
     : base(method, aspectDefinitions, aspectWeavingSettings)
 {
     methodSignatureWeaver = new GetPropertyMethodSignatureWeaver(propertyTypeBuilder, aspectWeavingSettings.WeavingSettings.TypeDefinition);
 }
 public GetPropertyMethodSignatureWeaver(IPropertyTypeBuilder propertyBuilder, ITypeDefinition typeDefinition)
     : base(propertyBuilder, typeDefinition)
 {
 }
 public CompositeGetPropertyWeaverBuilder(IPropertyTypeBuilder propertyTypeBuilder, ICompositePropertyFragmentMap compositePropertyMap, ITypeDefinition typeDefinition, IAspectWeavingServices aspectWeavingServices)
     : base(propertyTypeBuilder, compositePropertyMap, typeDefinition, aspectWeavingServices)
 {
 }
Example #10
0
 public GetPropertyMethodSignatureWeaver(IPropertyTypeBuilder propertyBuilder, ITypeDefinition typeDefinition)
     : base(propertyBuilder, typeDefinition)
 {
 }
Example #11
0
 public GetPropertyAspectWeaver(IPropertyTypeBuilder propertyTypeBuilder, MethodInfo method, IAspectDefinitionCollection aspectDefinitions, IAspectWeavingSettings aspectWeavingSettings)
     : base(method, aspectDefinitions, aspectWeavingSettings)
 {
     methodSignatureWeaver = new GetPropertyMethodSignatureWeaver(propertyTypeBuilder, aspectWeavingSettings.WeavingSettings.TypeDefinition);
 }
Example #12
0
 public void Get(IPropertyTypeBuilder propertyTypeBuilder, ITypeDefinition typeDefinition, IAspectWeavingServices weavingServices)
 {
     methodBuilderFactory(propertyTypeBuilder, typeDefinition, weavingServices);
 }
 protected AbstractPropertyMethodSingatureWeaver(IPropertyTypeBuilder propertyBuilder, ITypeDefinition typeDefinition)
     : base(typeDefinition)
 {
     this.propertyBuilder = propertyBuilder;
 }
Example #14
0
 public CompositeSetPropertyWeaver(IPropertyTypeBuilder propertyTypeBuilder, PropertyInfo property, IAspectDefinitionCollection aspectDefinitions, IAspectWeavingSettings aspectWeavingSettings)
     : base(property.GetSetMethod(), aspectDefinitions, aspectWeavingSettings)
 {
     methodSignatureWeaver = new SetPropertyMethodSignatureWeaver(propertyTypeBuilder, aspectWeavingSettings.WeavingSettings.TypeDefinition);
 }