Castle.DynamicProxy.Builder.CodeBuilder.EasyProperty.CreateSetMethod C# (CSharp) Method

CreateSetMethod() public method

public CreateSetMethod ( MethodAttributes attrs ) : Castle.DynamicProxy.Builder.CodeBuilder.EasyMethod
attrs MethodAttributes
return Castle.DynamicProxy.Builder.CodeBuilder.EasyMethod
		public EasyMethod CreateSetMethod(MethodAttributes attrs, params Type[] parameters)
		{
			if (_setMethod != null)
			{
				return _setMethod;
			}

			_setMethod = new EasyMethod(_maintype, "set_" + _builder.Name,
			                            attrs,
			                            new ReturnReferenceExpression(typeof(void)),
			                            ArgumentsUtil.ConvertToArgumentReference(parameters));

			return _setMethod;
		}

Same methods

EasyProperty::CreateSetMethod ( Type arg ) : Castle.DynamicProxy.Builder.CodeBuilder.EasyMethod