Exemplo n.º 1
0
 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);
        }
Exemplo n.º 3
0
 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}";