Tesla Graphics Engine Documentation (January 2012)
ExternalWriter<(Of <(<'T>)>)> Class
TeslaTesla.ContentExternalWriter<(Of <(<'T>)>)>
External strongly-typed 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<T> : ExternalWriter
where T : ISavable
Generic Template Parameters
T
Members
All Members Constructors Methods Properties



Icon Member Description
ExternalWriter<(Of <(<'T>)>)>(String, String)
Creates a new ExternalWriter.

DefaultOutputName
Gets or sets the default output name.
(Inherited from ExternalWriter.)
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.
(Inherited from ExternalWriter.)
GetFileDirectory()()()()
Gets the file directory: Directory of FullPrimaryResourceName + OutputDirectory.
(Inherited from ExternalWriter.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetPrimaryResourceName()()()()
Gets the primary resource file name without extension.
(Inherited from ExternalWriter.)
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.
(Inherited from ExternalWriter.)
OutputDirectory
Gets or sets the output directory, relative to the primary resource name.
(Inherited from ExternalWriter.)
Overwrite
Gets or sets if the writer should overwrite existing files. Default is true.
(Inherited from ExternalWriter.)
ParentWriter
Gets the parent ISavableWriter that initialized this external writer.
(Inherited from ExternalWriter.)
TargetType
Gets the target type of the external reference.
(Inherited from ExternalWriter.)
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.
(Overrides ExternalWriter.Write(String, ISavable, Type).)
Write(String, T)
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)