internal static Configurations GetInstance(XmlDocument appConfig) { Debug.Assert(appConfig != null, "AppConfig is null"); IAppDataAdapter dataAdapter = new XmlDataAdapter(appConfig); dataAdapter.Validate(); Configurations configurations = dataAdapter.LoadConfigs(); return(configurations); }
internal static Dependencies GetInstance(XmlDocument appConfig) { Debug.Assert(appConfig != null, "AppConfig is null"); Dependencies _dependencies = null; IAppDataAdapter dataAdapter = new XmlDataAdapter(appConfig); dataAdapter.Validate(); _dependencies = dataAdapter.LoadDependencies(); return(_dependencies); }
internal static IApplicationInfo GetInstance(XmlDocument appConfig) { Debug.Assert(appConfig != null, "AppConfig is null"); IApplicationInfo _application; IAppDataAdapter dataAdapter = new XmlDataAdapter(appConfig); dataAdapter.Validate(); _application = dataAdapter.Load(); return(_application); }