Ejemplo n.º 1
0
 public DataDefType(string defName, params object[] baseTypes)
     : base(defName)
 {
     foreach (object obj in baseTypes)
     {
         this.BaseTypes.Add(GraphUnit.NewType(obj));
     }
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
 public HandlerType(object handlerType, MethodRef method)
     : base(GraphUnit.NewType(handlerType), ((CodeMethodReferenceExpression)method.Expression).TargetObject,
            ((CodeMethodReferenceExpression)method.Expression).MethodName)
 {
 }
Ejemplo n.º 4
0
 public HandlerType(object handlerType, CodeExpression methodTarget, string methodName)
     : base(GraphUnit.NewType(handlerType), methodTarget, methodName)
 {
 }
Ejemplo n.º 5
0
 public DelegateType(TypeAttributes attributes, object returnType, string delegateName)
 {
     this.TypeAttributes = attributes;
     this.Name           = delegateName;
     this.ReturnType     = GraphUnit.NewType(returnType);
 }
Ejemplo n.º 6
0
 public EventType(MemberAttributes memberAttributes, object eventType, string eventName)
 {
     this.Attributes = memberAttributes;
     this.Name       = eventName;
     this.Type       = GraphUnit.NewType(eventType);
 }