Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        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);
            }
        }
Ejemplo n.º 3
0
 public DataTypeParser(Model.VersionsSupported version)
 {
     Version = version;
 }
Ejemplo n.º 4
0
 public static void LoadAnotherMessage(Schema.Model.VersionSchema VersionSchema, string MessageType, string MessageEvent)
 {
     _VersionCurrent = VersionSchema.Version;
     LoadAnotherMessageForSameVersion(VersionSchema, MessageType, MessageEvent);
 }