IWriter
ReferencesThis interface is implemented by Node and provides ways to store the standard data types.
Properties
Methods
Boolean
#Write a Boolean value.
Exceptions:
| InvalidOperationException | Thrown if another item with the same name already exists. |
BooleanArray
#Write an array of booleans.
Exceptions:
| InvalidOperationException | Thrown if another item with the same name already exists. |
Complex128
#Write a System.Numerics.Complex number value.
Exceptions:
| InvalidOperationException | Thrown if another item with the same name already exists. |
CreateWriter
#Create a new writer and slave it to this writer.
Returns: A new writer instance that is part of this writer.
DateTime
#Write a DateTime value.
Exceptions:
| InvalidOperationException | Thrown if another item with the same name already exists. |
Decimal128
#Write a System.Decimal value.
Exceptions:
| InvalidOperationException | Thrown if another item with the same name already exists. |
FilePath
#Write a File path value.
Exceptions:
| InvalidOperationException | Thrown if another item with the same name already exists. |
FilePath
#Write a File path value based on an absolute path. If the archive location has been set, a relative path will be included from the archive to the absolute path.
Exceptions:
| InvalidOperationException | Thrown if another item with the same name already exists. |
GenericArray<T>
#Store an array of values. This method only works if SupportsArray<T>() returns true for the same type constraint.
Guid128
#Write a Guid value.
Exceptions:
| InvalidOperationException | Thrown if another item with the same name already exists. |
GuidArray
#Write an array of guids.
Exceptions:
| InvalidOperationException | Thrown if another item with the same name already exists. |
Integer32
#Write a 32-bit Integer value.
Exceptions:
| InvalidOperationException | Thrown if another item with the same name already exists. |
Integer32Array
#Write an array of 32-bit integers.
Exceptions:
| InvalidOperationException | Thrown if another item with the same name already exists. |
Integer64
#Write a 64-bit Integer value.
Exceptions:
| InvalidOperationException | Thrown if another item with the same name already exists. |
Integer64Array
#Write an array of 64-bit integers.
Exceptions:
| InvalidOperationException | Thrown if another item with the same name already exists. |
Integer8
#Write a Byte value.
Exceptions:
| InvalidOperationException | Thrown if another item with the same name already exists. |
Integer8Array
#Write an array of bytes.
Exceptions:
| InvalidOperationException | Thrown if another item with the same name already exists. |
IntegerXx
#Write a System.Numerics.BigInteger value.
Exceptions:
| InvalidOperationException | Thrown if another item with the same name already exists. |
Number32
#Write a System.Single value.
Exceptions:
| InvalidOperationException | Thrown if another item with the same name already exists. |
Number32Array
#Write an array of floats.
Exceptions:
| InvalidOperationException | Thrown if another item with the same name already exists. |
Number64
#Write a System.Double value.
Exceptions:
| InvalidOperationException | Thrown if another item with the same name already exists. |
Number64Array
#Write an array of doubles.
Exceptions:
| InvalidOperationException | Thrown if another item with the same name already exists. |
Storable
#Write an object which implements IStorable to the archive. Always use this method instead of calling the Store() method on the object itself.
String
#Write a String value.
Exceptions:
| InvalidOperationException | Thrown if another item with the same name already exists. |
StringArray
#Write an array of strings.
Exceptions:
| InvalidOperationException | Thrown if another item with the same name already exists. |
SupportsArray<T>
#Gets whether an array of type T can be automatically stored.
Returns: True if an array of type T can be automatically and efficiently stored.
TimeSpan
#Write a TimeSpan value.
Exceptions:
| InvalidOperationException | Thrown if another item with the same name already exists. |
Version
#Write a Version value.
Exceptions:
| InvalidOperationException | Thrown if another item with the same name already exists. |