/// <summary>
        /// Returns an shiConfiguration instance
        /// </summary>
        public static StaticPartConfiguration GetConfig()
        {
            StaticPartConfiguration spc = (StaticPartConfiguration)System.Configuration.ConfigurationManager.GetSection(StaticPartConfiguration.sConfigurationSectionConst);

            if (spc == null)
            {
                spc = new StaticPartConfiguration();
            }

            return(spc);
        }
Exemplo n.º 2
0
 static void Main(string[] args)
 {
     StaticPartConfiguration spc = StaticPartConfiguration.GetConfig();
 }