Example #1
0
 static FieldsManager()
 {
     rFields  = new SchemaRootFields();
     aFields  = new SchemaAppFields();
     raFields = new SchemaRootAppFields();
     cFields  = new SchemaCellFields();
 }
Example #2
0
        public void ShowRootFields(SchemaRootFields rootFields)
        {
            W.WriteLineAligned("this is| ", "CSToolsDelux");
            W.WriteLineAligned("this is| ", $"{documentName}");
            W.WriteLineAligned("Show Root Fields| ", "type 1");
            W.WriteAligned("\n");

            string name;
            string value;
            string type;

            foreach (SchemaRootKey key in rootFields.KeyOrder)
            {
                name  = rootFields[key].Name;
                value = rootFields[key].ValueString;
                type  = rootFields[key].ValueType.Name;

                W.WriteLineAligned($"key| {key}| ", formatFieldInfo(name, type, value));
            }

            W.WriteAligned("\n");
            W.WriteLineAligned("Show Root Fields| ", "finished");
            W.WriteAligned("\n");

            W.ShowMsg();
        }
Example #3
0
 public SchemaRootData()
 {
     rootDict   = new SchemaDataDictRoot();
     rootFields = new SchemaRootFields();
 }