public static Dictionary <Model.VersionsSupported, Schema.Model.VersionSchema> LoadAll() { var VersionSchemaDictionary = new Dictionary <Model.VersionsSupported, Schema.Model.VersionSchema>(); foreach (Model.VersionsSupported version in Enum.GetValues(typeof(Model.VersionsSupported))) { if (version != Model.VersionsSupported.NotSupported) { _VersionCurrent = version; VersionSchemaDictionary.Add(_VersionCurrent, LoadVersion()); } } return(VersionSchemaDictionary); }
public static Schema.Model.VersionSchema LoadSingleMessage(Model.VersionsSupported version, string MessageType, string MessageEvent) { var VersionSchemaDictionary = new Dictionary <Model.VersionsSupported, Schema.Model.VersionSchema>(); _VersionCurrent = version; VersionSchemaDictionary.Add(_VersionCurrent, LoadVersion(MessageType, MessageEvent)); if (VersionSchemaDictionary.Count != 0) { return(VersionSchemaDictionary[version]); } else { return(null); } }
public DataTypeParser(Model.VersionsSupported version) { Version = version; }
public static void LoadAnotherMessage(Schema.Model.VersionSchema VersionSchema, string MessageType, string MessageEvent) { _VersionCurrent = VersionSchema.Version; LoadAnotherMessageForSameVersion(VersionSchema, MessageType, MessageEvent); }