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