Castle.DynamicProxy.Generators.Emitters.EventEmitter.CreateAddMethod C# (CSharp) Метод

CreateAddMethod() публичный Метод

public CreateAddMethod ( MethodAttributes atts ) : MethodEmitter
atts MethodAttributes
Результат MethodEmitter
		public MethodEmitter CreateAddMethod(MethodAttributes atts)
		{
			if (addMethod != null)
			{
				throw new InvalidOperationException("An add method exists");
			}
			addMethod = typeEmitter.CreateMethod("add_" + name, atts);
			return addMethod;
		}