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); }
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; }