Exemple #1
0
        private dataStructMap CreateMapStruct()
        {
            var mapStruct = new dataStructMap {
                type = "GFileNameMap", items = new object[4]
            };

            mapStruct.items[0] = "classfile";
            mapStruct.items[1] = new dataStructMapStruct {
                type = "DataFile", key = "name", filename = ""
            };
            mapStruct.items[2] = "datafile";
            mapStruct.items[3] = new dataStructMapStruct {
                type = "DataFile", key = "name", filename = ""
            };

            return(mapStruct);
        }
Exemple #2
0
        private dataStructMap CreateMapStruct()
        {
            var mapStruct = new dataStructMap {type = "GFileNameMap", items = new object[4]};
            mapStruct.items[0] = "classfile";
            mapStruct.items[1] = new dataStructMapStruct {type = "DataFile", key = "name", filename = ""};
            mapStruct.items[2] = "datafile";
            mapStruct.items[3] = new dataStructMapStruct { type = "DataFile", key = "name", filename = "" };

            return mapStruct;
        }