Axiom.Core.ResourceManager.this C# (CSharp) Method

this() public method

Gets a reference to the specified named resource.
public this ( string name ) : Resource
name string Name of the resource to retrieve.
return Resource
		public Resource this[ string name ]
		{
			get
			{
				Debug.Assert( _resources != null, "A resource was being retrieved, but the list of Resources is null.", "" );

				Resource resource;

				// try to obtain the resource
				_resources.TryGetValue( name, out resource );

				// return the resource or null
				return resource;
			}
		}

Same methods

ResourceManager::this ( System.UInt64 handle ) : Resource