Tesla Graphics Engine Documentation (January 2012)
ExternalWriter Class
TeslaTesla.ContentExternalWriter
External writer used by a savable writer to write an ISavable to an external output (e.g. a secondary file).
Declaration Syntax
C#
public abstract class ExternalWriter
Members
All Members Constructors Methods Properties



Icon Member Description
ExternalWriter(Type, String, String)
Creates a new ExternalWriter.

DefaultOutputName
Gets or sets the default output name.

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.)
Flush()()()()
Cleans up any remaining resources and finishes writing external objects.

GetFileDirectory()()()()
Gets the file directory: Directory of FullPrimaryResourceName + OutputDirectory.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetPrimaryResourceName()()()()
Gets the primary resource file name without extension.

GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnInitialize()()()()
Called when the writer is initialized by the savable writer, when it is registered with the savable writer.

OutputDirectory
Gets or sets the output directory, relative to the primary resource name.

Overwrite
Gets or sets if the writer should overwrite existing files. Default is true.

ParentWriter
Gets the parent ISavableWriter that initialized this external writer.

TargetType
Gets the target type of the external reference.

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Write(String, ISavable, Type)
Writes the external object and returns the reference to it.

Inheritance Hierarchy

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