public DataDefType(string defName, params object[] baseTypes) : base(defName) { foreach (object obj in baseTypes) { this.BaseTypes.Add(GraphUnit.NewType(obj)); } }
public PropertyType(MemberAttributes memberAttributes, object propertyType, string propertyName, bool hasGet, bool hasSet) { this.Type = GraphUnit.NewType(propertyType); this.Name = propertyName; this.Attributes = memberAttributes; this.HasGet = hasGet; this.HasSet = hasSet; }
public HandlerType(object handlerType, MethodRef method) : base(GraphUnit.NewType(handlerType), ((CodeMethodReferenceExpression)method.Expression).TargetObject, ((CodeMethodReferenceExpression)method.Expression).MethodName) { }
public HandlerType(object handlerType, CodeExpression methodTarget, string methodName) : base(GraphUnit.NewType(handlerType), methodTarget, methodName) { }
public DelegateType(TypeAttributes attributes, object returnType, string delegateName) { this.TypeAttributes = attributes; this.Name = delegateName; this.ReturnType = GraphUnit.NewType(returnType); }
public EventType(MemberAttributes memberAttributes, object eventType, string eventName) { this.Attributes = memberAttributes; this.Name = eventName; this.Type = GraphUnit.NewType(eventType); }