Nez.Portable/UI/Skin.cs
/// <summary>
/// checks to see if a typed resource exists with the given name
/// </summary>
/// <param name="name">Name.</param>
/// <typeparam name="T">The 1st type parameter.</typeparam>
checks to see if a typed resource exists with the given name
checks to see if a typed resource exists with the given name
public bool has<T>(string name)
        {
            Dictionary<string, object> typedResources;
            if (_resources.TryGetValue(typeof(T), out typedResources))
                return typedResources.ContainsKey(name);
            return false;
        }
public bool has < T > ( string name ) { Dictionary < string , object > typedResources ; if ( _resources . TryGetValue ( typeof ( T ) , out typedResources ) ) return typedResources . ContainsKey ( name ) ; return false ; }
checks to see if a typed resource exists with the given name
checks to see if a typed resource exists with the given name
name
string
None
typeparam
The 1st type parameter.
The 1st type parameter .