Esempio n. 1
0
 internal void Visit(OnMethodEntryAdviceAttribute advice)
 {
     OnMethodEntryAdvice = advice;
     HasOnMethodEntryAdvice = true;
 }
Esempio n. 2
0
 internal Func <IAdviceDefinition, IAdviceExpression> Visit(OnMethodEntryAdviceAttribute advice)
 {
     return(adviceDefinition => {
         return new OnMethodEntryAdviceExpression(adviceDefinition);
     });
 }
Esempio n. 3
0
 internal void Visit(OnMethodEntryAdviceAttribute advice)
 {
     OnMethodEntryAdvice    = advice;
     HasOnMethodEntryAdvice = true;
 }
Esempio n. 4
0
 internal Func<IAdviceDefinition, IAdviceExpression> Visit(OnMethodEntryAdviceAttribute advice)
 {
     return adviceDefinition => {
         return new OnMethodEntryAdviceExpression(adviceDefinition);
     };
 }
Esempio n. 5
0
		public OnMethodEntryAdviceDefinition(OnMethodEntryAdviceAttribute advice, MethodInfo adviceMethod)
			: base(advice, adviceMethod) {
			this.advice = advice;
		}
 public OnMethodEntryAdviceDefinition(OnMethodEntryAdviceAttribute advice, MethodInfo adviceMethod)
     : base(advice, adviceMethod)
 {
     this.advice = advice;
 }