Tesla Graphics Engine Documentation (January 2012)
FileResourceLocator Class
TeslaTesla.ContentFileResourceLocator
Resource locator that locates file resources from the disk.
Declaration Syntax
C#
public class FileResourceLocator : IResourceLocator
Members
All Members Constructors Methods Properties



Icon Member Description
FileResourceLocator()()()()
Creates a new file resource locator where the root directory is the title path.

FileResourceLocator(String)
Creates a new file resource locator with the specified root directory.

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)
Get the full qualified path to the asset with the specified file name.

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)
Attempts to locate the specified file.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
RootDirectory
Gets the root directory the locator searches in.

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

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