internal Code(Object @object) { Object = @object; Documentation = new Documentation(this); Events = new Events(this); Functions = new Functions(this); Variables = new GlobalVariables(this); }
public static void Design(this Object @object, string devClient, string serverName, string database) { var arguments = new Arguments(null, serverName, database); arguments.Add("designobject", string.Format("{0} {1}", @object.Type, @object.ID)); DevClient.Run(devClient, arguments); }
public static string GetObjectSignature(this Object @object) => RequiresSquareBrackets(@object.Name) ? $"OBJECT [{@object.Type.AsString()} {@object.ID} {@object.Name}]" : $"OBJECT {@object.Type.AsString()} {@object.ID} {@object.Name}";