Tesla Graphics Engine Documentation (January 2012)
FileResource Class
TeslaTesla.ContentFileResource
A resource that is represented by a single file on the disk.
Declaration Syntax
C#
public class FileResource : IResource
Members
All Members Constructors Methods Properties



Icon Member Description
FileResource(String)
Creates a new file resource from the fully qualified name.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Extension
Gets the file extension.

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.)
FullName
Get the fully qualified path to the resource (including name and extension).

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Name
Get the resource's file name (without extension).

OpenStream()()()()
Opens a stream that is read-only.

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

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