Class AbstractModelWriter
public abstract class AbstractModelWriter : IDisposable
- Inheritance
-
AbstractModelWriter
- Implements
- Derived
- Inherited Members
Constructors
AbstractModelWriter()
protected AbstractModelWriter()
Methods
Close()
Closes the underlying stream. Closing an already-closed writer does nothing.
public void Close()
Exceptions
- IOException
if there is an error during writing
CloseCore()
Performs the actual close. Called at most once.
protected abstract void CloseCore()
Exceptions
- IOException
if there is an error during writing
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Dispose(bool)
protected virtual void Dispose(bool disposing)
Parameters
disposingbool
Persist()
public abstract void Persist()
Exceptions
- IOException
if there is an error during writing
WriteDouble(double)
public abstract void WriteDouble(double d)
Parameters
ddouble
Exceptions
- IOException
if there is an error during writing
WriteInt32(int)
public abstract void WriteInt32(int i)
Parameters
iint
Exceptions
- IOException
if there is an error during writing
WriteUTF(string)
public abstract void WriteUTF(string s)
Parameters
sstring
Exceptions
- IOException
if there is an error during writing