Exemplo n.º 1
0
 public HassiumClass(string name)
 {
     Name           = name;
     TypeDefinition = new HassiumTypeDefinition(name);
     AddType(TypeDefinition);
     Inherits = new List <HassiumMethod>();
 }
Exemplo n.º 2
0
 public HassiumObject AddType(HassiumTypeDefinition typeDefinition)
 {
     if (!Types.Contains(typeDefinition))
     {
         Types.Add(typeDefinition);
     }
     return(this);
 }