System.Configuration.ConfigurationData.LookForFactory C# (CSharp) Метод

LookForFactory() приватный Метод

private LookForFactory ( string key ) : object
key string
Результат object
		private object LookForFactory (string key)
		{
			object o = factories [key];
			if (o != null)
				return o;

			if (parent != null)
				return parent.LookForFactory (key);

			return null;
		}
#if (XML_DEP)

Usage Example

Пример #1
0
        private object LookForFactory(string key)
        {
            object o = factories [key];

            if (o != null)
            {
                return(o);
            }

            if (parent != null)
            {
                return(parent.LookForFactory(key));
            }

            return(null);
        }