public Implementation(LoggingAspectTransformationInstance transformationInstance, MethodBodyTransformationContext context)
     : base(transformationInstance.AspectWeaver.AspectInfrastructureTask, context)
 {
     this.transformationInstance = transformationInstance;
     this.backendInstance        = this.transformationInstance.parent.backend.CreateInstance(transformationInstance.AspectWeaverInstance);
     this.options             = new ConfigurationOptions(this.transformationInstance.AspectWeaverInstance);
     this.argumentsFormatter  = new MessageArgumentsFormatter(context);
     this.methodMappingWriter = context.MethodMapping.CreateWriter();
 }
                public Implementation(LoggingAspectTransformationInstance transformationInstance, MethodBodyTransformationContext context)
                    : base(transformationInstance.AspectWeaver.AspectInfrastructureTask, context)
                {
                    this.transformationInstance = transformationInstance;
                    this.backendInstance        = this.transformationInstance.parent.backend.CreateInstance(transformationInstance.AspectWeaverInstance);

                    // todo fix configuration
                    this.onEntryOptions     = this.transformationInstance.AspectWeaverInstance.GetConfigurationValue <LogAspectConfiguration, LogOptions>(c => c.OnEntryOptions);
                    this.onSuccessOptions   = this.transformationInstance.AspectWeaverInstance.GetConfigurationValue <LogAspectConfiguration, LogOptions>(c => c.OnSuccessOptions);
                    this.onExceptionOptions = this.transformationInstance.AspectWeaverInstance.GetConfigurationValue <LogAspectConfiguration, LogOptions>(c => c.OnExceptionOptions);
                }
                public Implementation(LoggingAspectTransformationInstance transformationInstance, MethodBodyTransformationContext context)
                    : base(transformationInstance.AspectWeaver.AspectInfrastructureTask, context)
                {
                    this.transformationInstance = transformationInstance;
                    this.backendInstance = this.transformationInstance.parent.backend.CreateInstance(transformationInstance.AspectWeaverInstance);

                    // todo fix configuration
                    this.onEntryOptions = this.transformationInstance.AspectWeaverInstance.GetConfigurationValue<LogAspectConfiguration, LogOptions>(c => c.OnEntryOptions);
                    this.onSuccessOptions = this.transformationInstance.AspectWeaverInstance.GetConfigurationValue<LogAspectConfiguration, LogOptions>(c => c.OnSuccessOptions);
                    this.onExceptionOptions = this.transformationInstance.AspectWeaverInstance.GetConfigurationValue<LogAspectConfiguration, LogOptions>(c => c.OnExceptionOptions);
                }
 public Implementation(LoggingAspectTransformationInstance transformationInstance, MethodBodyTransformationContext context)
     : base(transformationInstance.AspectWeaver.AspectInfrastructureTask, context)
 {
     this.transformationInstance = transformationInstance;
     this.backendInstance = this.transformationInstance.parent.backend.CreateInstance(transformationInstance.AspectWeaverInstance);
     this.options = new ConfigurationOptions(this.transformationInstance.AspectWeaverInstance);
     this.argumentsFormatter = new MessageArgumentsFormatter(context);
     this.methodMappingWriter = context.MethodMapping.CreateWriter();
 }