Ejemplo n.º 1
0
		static void EnsureSectionCreated ()
		{
			if (_section == null) {
				lock (_lock) {
					_section = (WSManConfigurationSection)ConfigurationManager.GetSection (WSManConfigurationSection.SectionName);
				}
			}
		}
Ejemplo n.º 2
0
 static void EnsureSectionCreated()
 {
     if (_section == null)
     {
         lock (_lock) {
             _section = (WSManConfigurationSection)ConfigurationManager.GetSection(WSManConfigurationSection.SectionName);
         }
     }
 }