public ActionAssignInstance(ClassPointer owner) { _class = owner; _actMethod = new MethodCreateValue(this); _parameters = new ParameterValueCollection(); _valType = new ParameterValue(this); _valType.Name = Instance_Type; _valType.ParameterID = IntanceTypeId; ConstObjectPointer cop = new ConstObjectPointer(Instance_Type, typeof(Type)); _valType.ConstantValue = cop; _valType.ConstantValue.SetOnValueChanged(onInstanceTypeChanged); _val = new ParameterValue(this); _val.ParameterID = IntanceValueId; _val.Name = Instance_Value; _parameters.Add(_valType); _parameters.Add(_val); }
public void RemoveAttribute(ConstObjectPointer attr) { _owner.RemoveAttribute(attr); }
public void AddAttribute(ConstObjectPointer attr) { _owner.AddAttribute(attr); }
public AttributeConstructor(ConstObjectPointer owner) { _owner = owner; _type = owner.BaseClassType; }