Tesla Graphics Engine Documentation (January 2012)
EmbeddedResourceLocator Class
TeslaTesla.ContentEmbeddedResourceLocator
Resource locator for finding resources embedded in an assembly.
Declaration Syntax
C#
public class EmbeddedResourceLocator : IResourceLocator
Members
All Members Constructors Methods Properties



Icon Member Description
EmbeddedResourceLocator(String, Assembly)
Creates a new embedded resource locator with specified root name and assembly.

EmbeddedResourceLocator(ResourceManager)
Creates a new embedded resource locator with specified resource manager.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetFullPath(String)
Gets the fully qualified path of the asset.

GetFullPathRelativeTo(String, IResource)
Gets the full path relative to.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
LocateResource(String)
Locates a resource from the specified asset name.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
RootDirectory
Gets the root name of the resource files.

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
EmbeddedResourceLocator

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)