Compare commits

..

No commits in common. "develop" and "feature/Streaming" have entirely different histories.

29 changed files with 90 additions and 3287 deletions

View file

@ -1,538 +0,0 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>SweetLib</name>
</assembly>
<members>
<member name="T:SweetLib.Classes.Exceptions.RegistryStorerException">
<summary>
Exception thrown by <see cref="T:SweetLib.Classes.Storer.RegistryStorer"/>.
</summary>
</member>
<member name="M:SweetLib.Classes.Exceptions.RegistryStorerException.#ctor">
<summary>
Creates a new <see cref="T:SweetLib.Classes.Exceptions.RegistryStorerException"/>.
</summary>
</member>
<member name="M:SweetLib.Classes.Exceptions.RegistryStorerException.#ctor(System.String)">
<summary>
Creates a new <see cref="T:SweetLib.Classes.Exceptions.RegistryStorerException"/>.
</summary>
<param name="message">Exception message.</param>
</member>
<member name="T:SweetLib.Classes.Storer.IniFileStorer">
<summary>
Implementation of an <see cref="T:SweetLib.Classes.Storer.IStorer"/> interface which stores the data inside an ini file.
</summary>
</member>
<member name="P:SweetLib.Classes.Storer.IniFileStorer.FileName">
<summary>
Ini file path.
</summary>
</member>
<member name="M:SweetLib.Classes.Storer.IniFileStorer.#ctor(System.String)">
<summary>
Creates a new instance of <see cref="T:SweetLib.Classes.Storer.IniFileStorer"/> with a specified file name.
</summary>
<param name="fileName">The file name of the ini file.</param>
</member>
<member name="T:SweetLib.Classes.Storer.IStorer">
<summary>
Interface, which provides several methods to store simple data.
</summary>
</member>
<member name="M:SweetLib.Classes.Storer.IStorer.ReadString(System.String,System.String,System.String)">
<summary>
Reads a string value.
</summary>
<param name="section">Represents the section in which the data is stored.</param>
<param name="key">Represents the key of the stored data.</param>
<param name="defaultValue">Default value, if this value does not exist.</param>
<returns>Value of the <see cref="!:key"/> in <see cref="!:section"/>.</returns>
</member>
<member name="M:SweetLib.Classes.Storer.IStorer.ReadInteger(System.String,System.String,System.Int32)">
<summary>
Reads an integer value.
</summary>
<param name="section">Represents the section in which the data is stored.</param>
<param name="key">Represents the key of the stored data.</param>
<param name="defaultValue">Default value, if this value does not exist.</param>
<returns>Value of the <see cref="!:key"/> in <see cref="!:section"/>.</returns>
</member>
<member name="M:SweetLib.Classes.Storer.IStorer.ReadBool(System.String,System.String,System.Boolean)">
<summary>
Reads a bool value.
</summary>
<param name="section">Represents the section in which the data is stored.</param>
<param name="key">Represents the key of the stored data.</param>
<param name="defaultValue">Default value, if this value does not exist.</param>
<returns>Value of the <see cref="!:key"/> in <see cref="!:section"/>.</returns>
</member>
<member name="M:SweetLib.Classes.Storer.IStorer.HasKey(System.String,System.String)">
<summary>
Checks, if a key exists inside a section.
</summary>
<param name="section">Represents the section in which the data is stored.</param>
<param name="key">Represents the key of the stored data.</param>
<returns>True, if <see cref="!:key"/> is found inside <see cref="!:section"/>.</returns>
</member>
<member name="M:SweetLib.Classes.Storer.IStorer.WriteString(System.String,System.String,System.String)">
<summary>
Writes a string value.
</summary>
<param name="section">Represents the section in which the data is stored.</param>
<param name="key">Represents the key of the stored data.</param>
<param name="value">Value to be stored.</param>
</member>
<member name="M:SweetLib.Classes.Storer.IStorer.WriteInteger(System.String,System.String,System.Int32)">
<summary>
Writes an integer value.
</summary>
<param name="section">Represents the section in which the data is stored.</param>
<param name="key">Represents the key of the stored data.</param>
<param name="value">Value to be stored.</param>
</member>
<member name="M:SweetLib.Classes.Storer.IStorer.WriteBool(System.String,System.String,System.Boolean)">
<summary>
Writes a bool value.
</summary>
<param name="section">Represents the section in which the data is stored.</param>
<param name="key">Represents the key of the stored data.</param>
<param name="value">Value to be stored.</param>
</member>
<member name="M:SweetLib.Classes.Storer.IStorer.DeleteKey(System.String,System.String)">
<summary>
Deletes a key inside a <see cref="!:section"/>.
</summary>
<param name="section">Represents the section in which the data is stored.</param>
<param name="key">Represents the key to be deleted.</param>
</member>
<member name="M:SweetLib.Classes.Storer.IStorer.DeleteSection(System.String)">
<summary>
Deletes a section with all its keys.
</summary>
<param name="section">Represents the section to be deleted.</param>
</member>
<member name="T:SweetLib.Classes.Storer.RegistryStorer">
<summary>
Implementation of an <see cref="T:SweetLib.Classes.Storer.IStorer"/> interface which stores the data inside the registry.
</summary>
<remarks>
Sections will be interpreted as subkeys on registry level.
</remarks>
</member>
<member name="P:SweetLib.Classes.Storer.RegistryStorer.OperatingRegistryKey">
<summary>
The base registry key in which will be operated.
</summary>
</member>
<member name="M:SweetLib.Classes.Storer.RegistryStorer.#ctor(System.String)">
<summary>
Creates a new instance of <see cref="T:SweetLib.Classes.Storer.RegistryStorer"/> with a specified application name.
</summary>
<param name="appName">The applications base name. This will be used as name for a sub key inside the software key below the base key.</param>
<remarks>
This will use current user as the base key.
</remarks>
</member>
<member name="M:SweetLib.Classes.Storer.RegistryStorer.#ctor(Microsoft.Win32.RegistryKey,System.String)">
<summary>
Creates a new instance of <see cref="T:SweetLib.Classes.Storer.RegistryStorer"/> with a specified application name.
</summary>
<param name="baseRegistryKey">Provide a key of <see cref="T:Microsoft.Win32.Registry"/>, e.G. <i>Registry.CurrentUser</i>.</param>
<param name="appName">The applications base name. This will be used as name for a sub key inside the software key below the base key.</param>
</member>
<member name="T:SweetLib.Utils.Extensions.BaseTypeExtensions">
<summary>
Defines extensions to some general classes.
</summary>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsBytes(System.Int16)">
<summary>
Converts a <see cref="T:System.Int16"/> value into a byte array.
</summary>
<param name="value">Value to convert.</param>
<returns>Byte array representation of the value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsBytes(System.UInt16)">
<summary>
Converts a <see cref="T:System.UInt16"/> value into a byte array.
</summary>
<param name="value">Value to convert.</param>
<returns>Byte array representation of the value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsBytes(System.Int32)">
<summary>
Converts a <see cref="T:System.Int32"/> value into a byte array.
</summary>
<param name="value">Value to convert.</param>
<returns>Byte array representation of the value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsBytes(System.UInt32)">
<summary>
Converts a <see cref="T:System.UInt32"/> value into a byte array.
</summary>
<param name="value">Value to convert.</param>
<returns>Byte array representation of the value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsBytes(System.Int64)">
<summary>
Converts a <see cref="T:System.Int64"/> value into a byte array.
</summary>
<param name="value">Value to convert.</param>
<returns>Byte array representation of the value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsBytes(System.UInt64)">
<summary>
Converts a <see cref="T:System.UInt64"/> value into a byte array.
</summary>
<param name="value">Value to convert.</param>
<returns>Byte array representation of the value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsBytes(System.Single)">
<summary>
Converts a <see cref="T:System.Single"/> value into a byte array.
</summary>
<param name="value">Value to convert.</param>
<returns>Byte array representation of the value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsBytes(System.Double)">
<summary>
Converts a <see cref="T:System.Double"/> value into a byte array.
</summary>
<param name="value">Value to convert.</param>
<returns>Byte array representation of the value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsBytes(System.Boolean)">
<summary>
Converts a <see cref="T:System.Boolean"/> value into a byte array.
</summary>
<param name="value">Value to convert.</param>
<returns>Byte array representation of the value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsBytes(System.DateTime)">
<summary>
Converts a <see cref="T:System.DateTime"/> value into a byte array.
</summary>
<param name="value">Value to convert.</param>
<returns>Byte array representation of the value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsBytes(System.String)">
<summary>
Converts a <see cref="T:System.String"/> value into a byte array.
</summary>
<param name="value">Value to convert.</param>
<returns>Byte array representation of the value.</returns>
<remarks>Using <see cref="T:System.Text.UTF32Encoding"/> for converting.</remarks>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsBytes(System.Char)">
<summary>
Converts a <see cref="T:System.Char"/> value into a byte array.
</summary>
<param name="value">Value to convert.</param>
<returns>Byte array representation of the value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsInt16(System.Byte[])">
<summary>
Converts a byte array into a <see cref="T:System.Int16"/> type.
</summary>
<param name="bytes">Byte array representation to convert.</param>
<returns>Converted value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsUInt16(System.Byte[])">
<summary>
Converts a byte array into a <see cref="T:System.UInt16"/> type.
</summary>
<param name="bytes">Byte array representation to convert.</param>
<returns>Converted value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsInt32(System.Byte[])">
<summary>
Converts a byte array into a <see cref="T:System.Int32"/> type.
</summary>
<param name="bytes">Byte array representation to convert.</param>
<returns>Converted value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsUInt32(System.Byte[])">
<summary>
Converts a byte array into a <see cref="T:System.UInt32"/> type.
</summary>
<param name="bytes">Byte array representation to convert.</param>
<returns>Converted value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsInt64(System.Byte[])">
<summary>
Converts a byte array into a <see cref="T:System.Int64"/> type.
</summary>
<param name="bytes">Byte array representation to convert.</param>
<returns>Converted value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsUInt64(System.Byte[])">
<summary>
Converts a byte array into a <see cref="T:System.UInt64"/> type.
</summary>
<param name="bytes">Byte array representation to convert.</param>
<returns>Converted value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsSingle(System.Byte[])">
<summary>
Converts a byte array into a <see cref="T:System.Single"/> type.
</summary>
<param name="bytes">Byte array representation to convert.</param>
<returns>Converted value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsDouble(System.Byte[])">
<summary>
Converts a byte array into a <see cref="T:System.Double"/> type.
</summary>
<param name="bytes">Byte array representation to convert.</param>
<returns>Converted value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsBool(System.Byte[])">
<summary>
Converts a byte array into a <see cref="T:System.Boolean"/> type.
</summary>
<param name="bytes">Byte array representation to convert.</param>
<returns>Converted value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsDateTime(System.Byte[])">
<summary>
Converts a byte array into a <see cref="T:System.DateTime"/> type.
</summary>
<param name="bytes">Byte array representation to convert.</param>
<returns>Converted value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsString(System.Byte[])">
<summary>
Converts a byte array into a <see cref="T:System.String"/> type.
</summary>
<param name="bytes">Byte array representation to convert.</param>
<returns>Converted value.</returns>
<remarks>Using <see cref="T:System.Text.UTF32Encoding"/> for converting.</remarks>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsChar(System.Byte[])">
<summary>
Converts a byte array into a <see cref="T:System.Char"/> type.
</summary>
<param name="bytes">Byte array representation to convert.</param>
<returns>Converted value.</returns>
</member>
<member name="T:SweetLib.Utils.Extensions.DateTimeExtensions">
<summary>
Defines extensions to classes which are related to <see cref="T:System.DateTime"/>.
</summary>
</member>
<member name="M:SweetLib.Utils.Extensions.DateTimeExtensions.ToUnixTimeStamp(System.DateTime)">
<summary>
Converts a <see cref="T:System.DateTime"/> into an Unix timestamp.
</summary>
<param name="date"><see cref="T:System.DateTime"/> to convert into Unix timestamp.</param>
<returns>Converted Unix timestamp.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.DateTimeExtensions.ToDateTime(System.Double)">
<summary>
Converts an Unix timestamp into a <see cref="T:System.DateTime"/>.
</summary>
<param name="timestamp">Unix timestamp to convert.</param>
<returns>Converted <see cref="T:System.DateTime"/>.</returns>
</member>
<member name="T:SweetLib.Utils.Logger.LogLevel">
<summary>
Enum which contains the several log levels.
</summary>
</member>
<member name="T:SweetLib.Utils.Logger.Logger">
<summary>
Global logger class providing several methods to log events by the application.
</summary>
<remarks>
As <see cref="P:SweetLib.Utils.Logger.Logger.DefaultLogMemory"/> a <see cref="T:SweetLib.Utils.Logger.Memory.ArchivableConsoleLogMemory"/> will be used. You can change this to any other implementation at any time while runtime.
Default log levels are set as bitflags in <see cref="P:SweetLib.Utils.Logger.Logger.GlobalLogLevel"/>.
</remarks>
</member>
<member name="P:SweetLib.Utils.Logger.Logger.GlobalLogLevel">
<summary>
The global log level. Only messages with the set <see cref="T:SweetLib.Utils.Logger.LogLevel"/> will be procedered.
</summary>
</member>
<member name="P:SweetLib.Utils.Logger.Logger.DefaultLogMemory">
<summary>
The default <see cref="T:SweetLib.Utils.Logger.Memory.ILogMemory"/> which will be used for any logging action, if no custom <see cref="T:SweetLib.Utils.Logger.Memory.ILogMemory"/> is set as parameter.
</summary>
</member>
<member name="M:SweetLib.Utils.Logger.Logger.Log(SweetLib.Utils.Logger.LogLevel,System.String)">
<summary>
Will log a message into the global <see cref="P:SweetLib.Utils.Logger.Logger.DefaultLogMemory"/>.
</summary>
<param name="logLevel">The log level of this message.</param>
<param name="message">The message to log.</param>
</member>
<member name="M:SweetLib.Utils.Logger.Logger.Log(SweetLib.Utils.Logger.LogLevel,System.String,SweetLib.Utils.Logger.Memory.ILogMemory)">
<summary>
Will log a message into the provided <see cref="!:logMemory"/>.
</summary>
<param name="logLevel">The log level of this message.</param>
/// <param name="message">The message to log.</param>
<param name="logMemory">The <see cref="T:SweetLib.Utils.Logger.Memory.ILogMemory"/> to store the <see cref="!:message"/> into.</param>
</member>
<member name="M:SweetLib.Utils.Logger.Logger.Log(SweetLib.Utils.Logger.Message.LogMessage,SweetLib.Utils.Logger.Memory.ILogMemory)">
<summary>
Will log a message into the provided <see cref="!:logMemory"/>.
</summary>
<param name="message">A <see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> object to store.</param>
<param name="logMemory">The <see cref="T:SweetLib.Utils.Logger.Memory.ILogMemory"/> to store the <see cref="!:message"/> into.</param>
<remarks>In general use cases you should either use one of the <see cref="M:SweetLib.Utils.Logger.Logger.Log(SweetLib.Utils.Logger.LogLevel,System.String)"/> or <see cref="M:SweetLib.Utils.Logger.Logger.Log(SweetLib.Utils.Logger.LogLevel,System.String)"/> methods which will generate a call to this method.</remarks>
</member>
<member name="M:SweetLib.Utils.Logger.Logger.Trace(System.String)">
<summary>
Will log a message with the <see cref="F:SweetLib.Utils.Logger.LogLevel.Trace"/> log level.
</summary>
<param name="message">Message to log.</param>
</member>
<member name="M:SweetLib.Utils.Logger.Logger.Debug(System.String)">
<summary>
Will log a message with the <see cref="F:SweetLib.Utils.Logger.LogLevel.Debug"/> log level.
</summary>
<param name="message">Message to log.</param>
</member>
<member name="M:SweetLib.Utils.Logger.Logger.Info(System.String)">
<summary>
Will log a message with the <see cref="F:SweetLib.Utils.Logger.LogLevel.Info"/> log level.
</summary>
<param name="message">Message to log.</param>
</member>
<member name="M:SweetLib.Utils.Logger.Logger.Warn(System.String)">
<summary>
Will log a message with the <see cref="F:SweetLib.Utils.Logger.LogLevel.Warn"/> log level.
</summary>
<param name="message">Message to log.</param>
</member>
<member name="M:SweetLib.Utils.Logger.Logger.Error(System.String)">
<summary>
Will log a message with the <see cref="F:SweetLib.Utils.Logger.LogLevel.Error"/> log level.
</summary>
<param name="message">Message to log.</param>
</member>
<member name="T:SweetLib.Utils.Logger.Memory.ILogMemory">
<summary>
Interface for a class to store and proceed <see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> objects.
</summary>
</member>
<member name="M:SweetLib.Utils.Logger.Memory.ILogMemory.Remember(SweetLib.Utils.Logger.Message.LogMessage)">
<summary>
Adds a <see cref="!:message"/> into the <see cref="T:SweetLib.Utils.Logger.Memory.ILogMemory"/>.
</summary>
<param name="message"><see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> to be stored.</param>
</member>
<member name="M:SweetLib.Utils.Logger.Memory.ILogMemory.Forget(SweetLib.Utils.Logger.Message.LogMessage)">
<summary>
Removes a <see cref="!:message"/> from the <see cref="T:SweetLib.Utils.Logger.Memory.ILogMemory"/>.
</summary>
<param name="message"><see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> to be removed.</param>
<remarks>This might not have any effect depending on the <see cref="T:SweetLib.Utils.Logger.Memory.ILogMemory"/> implementation.</remarks>
</member>
<member name="M:SweetLib.Utils.Logger.Memory.ILogMemory.Archive(System.String)">
<summary>
Saves all remembered <see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> objects into a persistent file.
</summary>
<param name="fullFileName">File name to store the <see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> objects.</param>
</member>
<member name="T:SweetLib.Utils.Logger.Message.LogMessage">
<summary>
<see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> contains all event log data which should be logged in as a single log message.
</summary>
</member>
<member name="P:SweetLib.Utils.Logger.Message.LogMessage.LogLevel">
<summary>
The <see cref="P:SweetLib.Utils.Logger.Message.LogMessage.LogLevel"/> of this event log.
</summary>
</member>
<member name="P:SweetLib.Utils.Logger.Message.LogMessage.Message">
<summary>
The message of this event log.
</summary>
</member>
<member name="P:SweetLib.Utils.Logger.Message.LogMessage.LogDateTime">
<summary>
The date and time of this event log.
</summary>
</member>
<member name="M:SweetLib.Utils.Logger.Message.LogMessage.#ctor(SweetLib.Utils.Logger.LogLevel,System.String)">
<summary>
Creates a new <see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> instance. <see cref="P:System.DateTime.Now"/> will be the <see cref="P:SweetLib.Utils.Logger.Message.LogMessage.LogDateTime"/>.
</summary>
<param name="logLevel">The log level of this event log.</param>
<param name="message">The message of this event log.</param>
</member>
<member name="M:SweetLib.Utils.Logger.Message.LogMessage.#ctor(SweetLib.Utils.Logger.LogLevel,System.String,System.DateTime)">
<summary>
Creates a new <see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> instance.
</summary>
<param name="logLevel">The log level of this event log.</param>
<param name="message">The message of this event log.</param>
<param name="logDateTime">The <see cref="T:System.DateTime"/> of this event log.</param>
</member>
<member name="M:SweetLib.Utils.Logger.Message.LogMessage.ToString">
<summary>
Generates a formatted <see cref="T:System.String"/> of this event log. <see cref="P:SweetLib.Utils.Logger.Message.LogMessageFormatter.DefaultFormatString"/> will be used to format this event log.
</summary>
<returns>A formated <see cref="T:System.String"/> of this event log.</returns>
</member>
<member name="M:SweetLib.Utils.Logger.Message.LogMessage.ToString(System.String,System.IFormatProvider)">
<summary>
Generates a formatted <see cref="T:System.String"/> of this event log with a given format.
</summary>
<param name="format">The format to be used. See <see cref="T:SweetLib.Utils.Logger.Message.LogMessageFormatter"/> for more format information.</param>
<param name="formatProvider">Optional, an <see cref="T:System.IFormatProvider"/> interface to be used while formatting if needed.</param>
<returns>A formated <see cref="T:System.String"/> of this event log.</returns>
</member>
<member name="T:SweetLib.Utils.Logger.Message.LogMessageFormatter">
<summary>
A <see cref="T:System.ICustomFormatter"/> which is used to format <see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> objects.
</summary>
<remarks>This class implements a singleton pattern.</remarks>
</member>
<member name="P:SweetLib.Utils.Logger.Message.LogMessageFormatter.FormatterInstance">
<summary>
Accesses the global instance of the <see cref="T:SweetLib.Utils.Logger.Message.LogMessageFormatter"/>.
</summary>
</member>
<member name="P:SweetLib.Utils.Logger.Message.LogMessageFormatter.Instance">
<summary>
The default format string which is used to format <see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> objects, if no custom format string is provided.
</summary>
</member>
<member name="M:SweetLib.Utils.Logger.Message.LogMessageFormatter.Format(System.String,System.Object,System.IFormatProvider)">
<summary>
Formats a <see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> object.
</summary>
<param name="format">The format string. If <see cref="!:null"/>, <see cref="P:SweetLib.Utils.Logger.Message.LogMessageFormatter.DefaultFormatString"/> will be used.</param>
<param name="arg">The <see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> object to be formatted.</param>
<param name="formatProvider">Optional, an <see cref="T:System.IFormatProvider"/> interface to be used while formatting if needed.</param>
<returns>A formatted <see cref="T:System.String"/> of the <see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/>.</returns>
<remarks>
If <see cref="!:arg"/> is not a <see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> object, it will either be returned the formatted string implemented by the type of <see cref="!:arg"/>, if <see cref="T:System.IFormattable"/> is implemented by it, or the <see cref="!:arg.ToString()"/> result."
</remarks>
</member>
<member name="T:SweetLib.Utils.SweetUtils">
<summary>
A generic class containing useful methods.
</summary>
</member>
<member name="M:SweetLib.Utils.SweetUtils.LegalizeFilename(System.String)">
<summary>
Legalizes a file name with the <see cref="P:SweetLib.Utils.SweetUtils.DefaultFileNameReplaceChar"/> character.
</summary>
<param name="fileName">File name to legalize.</param>
<returns>Legalized file name.</returns>
</member>
<member name="M:SweetLib.Utils.SweetUtils.LegalizeFilename(System.String,System.Char)">
<summary>
Legalizes a file name by a given replace character.
</summary>
<param name="fileName">File name to legalize.</param>
<param name="replaceChar">Character to be used as replace character.</param>
<returns>Legalized file name.</returns>
</member>
</members>
</doc>

View file

@ -1,189 +0,0 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>SweetLib.IO</name>
</assembly>
<members>
<member name="T:SweetLib.IO.Classes.Streaming.IStreamable">
<summary>
Streamable objects
</summary>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.IStreamable.SaveToStream(System.IO.Stream)">
<summary>
Saves the current object into a stream.
</summary>
<param name="stream">Stream in which the current object should be saved.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.IStreamable.LoadFromStream(System.IO.Stream)">
<summary>
Loads the object from a given stream.
</summary>
<param name="stream">Stream from which the object is loaded.</param>
</member>
<member name="T:SweetLib.IO.Classes.Streaming.StreamException">
<summary>
Exception thrown by streaming related operations.
</summary>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamException.#ctor">
<summary>
Creates a new <see cref="T:SweetLib.IO.Classes.Streaming.StreamException"/>.
</summary>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamException.#ctor(System.String)">
<summary>
Creates a new <see cref="T:SweetLib.IO.Classes.Streaming.StreamException"/>.
</summary>
<param name="message">Exception message.</param>
</member>
<member name="T:SweetLib.IO.Classes.Streaming.StreamTypeException">
<summary>
Exception thrown by streaming related operations. May be thrown if the stream types do not match.
</summary>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamTypeException.#ctor">
<summary>
Creates a new <see cref="T:SweetLib.IO.Classes.Streaming.StreamTypeException"/>.
</summary>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamTypeException.#ctor(System.String)">
<summary>
Creates a new <see cref="T:SweetLib.IO.Classes.Streaming.StreamTypeException"/>.
</summary>
<param name="message">Exception message.</param>
</member>
<member name="T:SweetLib.IO.Classes.Streaming.StreamManager">
<summary>
<see cref="T:SweetLib.IO.Classes.Streaming.StreamManager"/> wraps some useful methods for custom implementations of object streaming.
</summary>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.SaveToStream(System.IO.Stream,System.String)">
<summary>
Adds a <see cref="T:System.String"/> to a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> to which the <see cref="T:System.String"/> will be added.</param>
<param name="value"><see cref="T:System.String"/> value to add.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.SaveToStream(System.IO.Stream,System.Boolean)">
<summary>
Adds a <see cref="T:System.Boolean"/> to a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> to which the <see cref="T:System.Boolean"/> will be added.</param>
<param name="value"><see cref="T:System.Boolean"/> value to add.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.SaveToStream(System.IO.Stream,System.Char)">
<summary>
Adds a <see cref="T:System.Char"/> to a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> to which the <see cref="T:System.Char"/> will be added.</param>
<param name="value"><see cref="T:System.Char"/> value to add.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.SaveToStream(System.IO.Stream,System.Int32)">
<summary>
Adds a <see cref="T:System.Int32"/> to a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> to which the <see cref="T:System.Int32"/> will be added.</param>
<param name="value"><see cref="T:System.Int32"/> value to add.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.SaveToStream(System.IO.Stream,System.Int64)">
<summary>
Adds a <see cref="T:System.Int64"/> to a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> to which the <see cref="T:System.Int64"/> will be added.</param>
<param name="value"><see cref="T:System.Int64"/> value to add.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.SaveToStream(System.IO.Stream,System.Single)">
<summary>
Adds a <see cref="T:System.Single"/> to a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> to which the <see cref="T:System.Single"/> will be added.</param>
<param name="value"><see cref="T:System.Single"/> value to add.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.SaveToStream(System.IO.Stream,System.Double)">
<summary>
Adds a <see cref="T:System.Double"/> to a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> to which the <see cref="T:System.Double"/> will be added.</param>
<param name="value"><see cref="T:System.Double"/> value to add.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.SaveToStream(System.IO.Stream,System.DateTime)">
<summary>
Adds a <see cref="T:System.DateTime"/> to a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> to which the <see cref="T:System.DateTime"/> will be added.</param>
<param name="value"><see cref="T:System.DateTime"/> value to add.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.SaveToStream(System.IO.Stream,System.IO.Stream,System.Boolean)">
<summary>
Adds a <see cref="T:System.IO.Stream"/> to a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> to which the <see cref="T:System.IO.Stream"/> will be added.</param>
<param name="value"><see cref="T:System.IO.Stream"/> value to add.</param>
<param name="resetSourceStream">If true, the full given <see cref="!:value"/> will be copied, otherwhise the stream will be copied from current position until its end.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.LoadFromStream(System.IO.Stream,System.String@)">
<summary>
Loads a <see cref="T:System.String"/> from a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> from which the <see cref="T:System.String"/> will be loaded.</param>
<param name="value">Contains the loaded <see cref="T:System.String"/> value.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.LoadFromStream(System.IO.Stream,System.Boolean@)">
<summary>
Loads a <see cref="T:System.Boolean"/> from a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> from which the <see cref="T:System.Boolean"/> will be loaded.</param>
<param name="value">Contains the loaded <see cref="T:System.Boolean"/> value.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.LoadFromStream(System.IO.Stream,System.Char@)">
<summary>
Loads a <see cref="T:System.Char"/> from a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> from which the <see cref="T:System.Char"/> will be loaded.</param>
<param name="value">Contains the loaded <see cref="T:System.Char"/> value.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.LoadFromStream(System.IO.Stream,System.Int32@)">
<summary>
Loads a <see cref="T:System.Int32"/> from a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> from which the <see cref="T:System.Int32"/> will be loaded.</param>
<param name="value">Contains the loaded <see cref="T:System.Int32"/> value.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.LoadFromStream(System.IO.Stream,System.Int64@)">
<summary>
Loads a <see cref="T:System.Int64"/> from a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> from which the <see cref="T:System.Int64"/> will be loaded.</param>
<param name="value">Contains the loaded <see cref="T:System.Int64"/> value.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.LoadFromStream(System.IO.Stream,System.Single@)">
<summary>
Loads a <see cref="T:System.String"/> from a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> from which the <see cref="T:System.String"/> will be loaded.</param>
<param name="value">Contains the loaded <see cref="T:System.String"/> value.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.LoadFromStream(System.IO.Stream,System.Double@)">
<summary>
Loads a <see cref="T:System.Double"/> from a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> from which the <see cref="T:System.Double"/> will be loaded.</param>
<param name="value">Contains the loaded <see cref="T:System.Double"/> value.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.LoadFromStream(System.IO.Stream,System.DateTime@)">
<summary>
Loads a <see cref="T:System.DateTime"/> from a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> from which the <see cref="T:System.DateTime"/> will be loaded.</param>
<param name="value">Contains the loaded <see cref="T:System.DateTime"/> value.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.LoadFromStream(System.IO.Stream,System.IO.Stream@)">
<summary>
Loads a <see cref="T:System.IO.Stream"/> from a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> from which the <see cref="T:System.IO.Stream"/> will be loaded.</param>
<param name="value">Contains the loaded <see cref="T:System.IO.Stream"/> value.</param>
</member>
</members>
</doc>

View file

@ -1,405 +0,0 @@
<a name='contents'></a>
# Contents [#](#contents 'Go To Here')
- [IStreamable](#T-SweetLib-IO-Classes-Streaming-IStreamable 'SweetLib.IO.Classes.Streaming.IStreamable')
- [LoadFromStream(stream)](#M-SweetLib-IO-Classes-Streaming-IStreamable-LoadFromStream-System-IO-Stream- 'SweetLib.IO.Classes.Streaming.IStreamable.LoadFromStream(System.IO.Stream)')
- [SaveToStream(stream)](#M-SweetLib-IO-Classes-Streaming-IStreamable-SaveToStream-System-IO-Stream- 'SweetLib.IO.Classes.Streaming.IStreamable.SaveToStream(System.IO.Stream)')
- [StreamException](#T-SweetLib-IO-Classes-Streaming-StreamException 'SweetLib.IO.Classes.Streaming.StreamException')
- [#ctor()](#M-SweetLib-IO-Classes-Streaming-StreamException-#ctor 'SweetLib.IO.Classes.Streaming.StreamException.#ctor')
- [#ctor(message)](#M-SweetLib-IO-Classes-Streaming-StreamException-#ctor-System-String- 'SweetLib.IO.Classes.Streaming.StreamException.#ctor(System.String)')
- [StreamManager](#T-SweetLib-IO-Classes-Streaming-StreamManager 'SweetLib.IO.Classes.Streaming.StreamManager')
- [LoadFromStream(stream,value)](#M-SweetLib-IO-Classes-Streaming-StreamManager-LoadFromStream-System-IO-Stream,System-String@- 'SweetLib.IO.Classes.Streaming.StreamManager.LoadFromStream(System.IO.Stream,System.String@)')
- [LoadFromStream(stream,value)](#M-SweetLib-IO-Classes-Streaming-StreamManager-LoadFromStream-System-IO-Stream,System-Boolean@- 'SweetLib.IO.Classes.Streaming.StreamManager.LoadFromStream(System.IO.Stream,System.Boolean@)')
- [LoadFromStream(stream,value)](#M-SweetLib-IO-Classes-Streaming-StreamManager-LoadFromStream-System-IO-Stream,System-Char@- 'SweetLib.IO.Classes.Streaming.StreamManager.LoadFromStream(System.IO.Stream,System.Char@)')
- [LoadFromStream(stream,value)](#M-SweetLib-IO-Classes-Streaming-StreamManager-LoadFromStream-System-IO-Stream,System-Int32@- 'SweetLib.IO.Classes.Streaming.StreamManager.LoadFromStream(System.IO.Stream,System.Int32@)')
- [LoadFromStream(stream,value)](#M-SweetLib-IO-Classes-Streaming-StreamManager-LoadFromStream-System-IO-Stream,System-Int64@- 'SweetLib.IO.Classes.Streaming.StreamManager.LoadFromStream(System.IO.Stream,System.Int64@)')
- [LoadFromStream(stream,value)](#M-SweetLib-IO-Classes-Streaming-StreamManager-LoadFromStream-System-IO-Stream,System-Single@- 'SweetLib.IO.Classes.Streaming.StreamManager.LoadFromStream(System.IO.Stream,System.Single@)')
- [LoadFromStream(stream,value)](#M-SweetLib-IO-Classes-Streaming-StreamManager-LoadFromStream-System-IO-Stream,System-Double@- 'SweetLib.IO.Classes.Streaming.StreamManager.LoadFromStream(System.IO.Stream,System.Double@)')
- [LoadFromStream(stream,value)](#M-SweetLib-IO-Classes-Streaming-StreamManager-LoadFromStream-System-IO-Stream,System-DateTime@- 'SweetLib.IO.Classes.Streaming.StreamManager.LoadFromStream(System.IO.Stream,System.DateTime@)')
- [LoadFromStream(stream,value)](#M-SweetLib-IO-Classes-Streaming-StreamManager-LoadFromStream-System-IO-Stream,System-IO-Stream@- 'SweetLib.IO.Classes.Streaming.StreamManager.LoadFromStream(System.IO.Stream,System.IO.Stream@)')
- [SaveToStream(stream,value)](#M-SweetLib-IO-Classes-Streaming-StreamManager-SaveToStream-System-IO-Stream,System-String- 'SweetLib.IO.Classes.Streaming.StreamManager.SaveToStream(System.IO.Stream,System.String)')
- [SaveToStream(stream,value)](#M-SweetLib-IO-Classes-Streaming-StreamManager-SaveToStream-System-IO-Stream,System-Boolean- 'SweetLib.IO.Classes.Streaming.StreamManager.SaveToStream(System.IO.Stream,System.Boolean)')
- [SaveToStream(stream,value)](#M-SweetLib-IO-Classes-Streaming-StreamManager-SaveToStream-System-IO-Stream,System-Char- 'SweetLib.IO.Classes.Streaming.StreamManager.SaveToStream(System.IO.Stream,System.Char)')
- [SaveToStream(stream,value)](#M-SweetLib-IO-Classes-Streaming-StreamManager-SaveToStream-System-IO-Stream,System-Int32- 'SweetLib.IO.Classes.Streaming.StreamManager.SaveToStream(System.IO.Stream,System.Int32)')
- [SaveToStream(stream,value)](#M-SweetLib-IO-Classes-Streaming-StreamManager-SaveToStream-System-IO-Stream,System-Int64- 'SweetLib.IO.Classes.Streaming.StreamManager.SaveToStream(System.IO.Stream,System.Int64)')
- [SaveToStream(stream,value)](#M-SweetLib-IO-Classes-Streaming-StreamManager-SaveToStream-System-IO-Stream,System-Single- 'SweetLib.IO.Classes.Streaming.StreamManager.SaveToStream(System.IO.Stream,System.Single)')
- [SaveToStream(stream,value)](#M-SweetLib-IO-Classes-Streaming-StreamManager-SaveToStream-System-IO-Stream,System-Double- 'SweetLib.IO.Classes.Streaming.StreamManager.SaveToStream(System.IO.Stream,System.Double)')
- [SaveToStream(stream,value)](#M-SweetLib-IO-Classes-Streaming-StreamManager-SaveToStream-System-IO-Stream,System-DateTime- 'SweetLib.IO.Classes.Streaming.StreamManager.SaveToStream(System.IO.Stream,System.DateTime)')
- [SaveToStream(stream,value,resetSourceStream)](#M-SweetLib-IO-Classes-Streaming-StreamManager-SaveToStream-System-IO-Stream,System-IO-Stream,System-Boolean- 'SweetLib.IO.Classes.Streaming.StreamManager.SaveToStream(System.IO.Stream,System.IO.Stream,System.Boolean)')
- [StreamTypeException](#T-SweetLib-IO-Classes-Streaming-StreamTypeException 'SweetLib.IO.Classes.Streaming.StreamTypeException')
- [#ctor()](#M-SweetLib-IO-Classes-Streaming-StreamTypeException-#ctor 'SweetLib.IO.Classes.Streaming.StreamTypeException.#ctor')
- [#ctor(message)](#M-SweetLib-IO-Classes-Streaming-StreamTypeException-#ctor-System-String- 'SweetLib.IO.Classes.Streaming.StreamTypeException.#ctor(System.String)')
<a name='assembly'></a>
# SweetLib.IO [#](#assembly 'Go To Here') [=](#contents 'Back To Contents')
<a name='T-SweetLib-IO-Classes-Streaming-IStreamable'></a>
## IStreamable [#](#T-SweetLib-IO-Classes-Streaming-IStreamable 'Go To Here') [=](#contents 'Back To Contents')
##### Namespace
SweetLib.IO.Classes.Streaming
##### Summary
Streamable objects
<a name='M-SweetLib-IO-Classes-Streaming-IStreamable-LoadFromStream-System-IO-Stream-'></a>
### LoadFromStream(stream) `method` [#](#M-SweetLib-IO-Classes-Streaming-IStreamable-LoadFromStream-System-IO-Stream- 'Go To Here') [=](#contents 'Back To Contents')
##### Summary
Loads the object from a given stream.
##### Parameters
| Name | Type | Description |
| ---- | ---- | ----------- |
| stream | [System.IO.Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') | Stream from which the object is loaded. |
<a name='M-SweetLib-IO-Classes-Streaming-IStreamable-SaveToStream-System-IO-Stream-'></a>
### SaveToStream(stream) `method` [#](#M-SweetLib-IO-Classes-Streaming-IStreamable-SaveToStream-System-IO-Stream- 'Go To Here') [=](#contents 'Back To Contents')
##### Summary
Saves the current object into a stream.
##### Parameters
| Name | Type | Description |
| ---- | ---- | ----------- |
| stream | [System.IO.Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') | Stream in which the current object should be saved. |
<a name='T-SweetLib-IO-Classes-Streaming-StreamException'></a>
## StreamException [#](#T-SweetLib-IO-Classes-Streaming-StreamException 'Go To Here') [=](#contents 'Back To Contents')
##### Namespace
SweetLib.IO.Classes.Streaming
##### Summary
Exception thrown by streaming related operations.
<a name='M-SweetLib-IO-Classes-Streaming-StreamException-#ctor'></a>
### #ctor() `constructor` [#](#M-SweetLib-IO-Classes-Streaming-StreamException-#ctor 'Go To Here') [=](#contents 'Back To Contents')
##### Summary
Creates a new [StreamException](#T-SweetLib-IO-Classes-Streaming-StreamException 'SweetLib.IO.Classes.Streaming.StreamException').
##### Parameters
This constructor has no parameters.
<a name='M-SweetLib-IO-Classes-Streaming-StreamException-#ctor-System-String-'></a>
### #ctor(message) `constructor` [#](#M-SweetLib-IO-Classes-Streaming-StreamException-#ctor-System-String- 'Go To Here') [=](#contents 'Back To Contents')
##### Summary
Creates a new [StreamException](#T-SweetLib-IO-Classes-Streaming-StreamException 'SweetLib.IO.Classes.Streaming.StreamException').
##### Parameters
| Name | Type | Description |
| ---- | ---- | ----------- |
| message | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | Exception message. |
<a name='T-SweetLib-IO-Classes-Streaming-StreamManager'></a>
## StreamManager [#](#T-SweetLib-IO-Classes-Streaming-StreamManager 'Go To Here') [=](#contents 'Back To Contents')
##### Namespace
SweetLib.IO.Classes.Streaming
##### Summary
[StreamManager](#T-SweetLib-IO-Classes-Streaming-StreamManager 'SweetLib.IO.Classes.Streaming.StreamManager') wraps some useful methods for custom implementations of object streaming.
<a name='M-SweetLib-IO-Classes-Streaming-StreamManager-LoadFromStream-System-IO-Stream,System-String@-'></a>
### LoadFromStream(stream,value) `method` [#](#M-SweetLib-IO-Classes-Streaming-StreamManager-LoadFromStream-System-IO-Stream,System-String@- 'Go To Here') [=](#contents 'Back To Contents')
##### Summary
Loads a [String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') from a given [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream').
##### Parameters
| Name | Type | Description |
| ---- | ---- | ----------- |
| stream | [System.IO.Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') | [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') from which the [String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') will be loaded. |
| value | [System.String@](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String@ 'System.String@') | Contains the loaded [String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') value. |
<a name='M-SweetLib-IO-Classes-Streaming-StreamManager-LoadFromStream-System-IO-Stream,System-Boolean@-'></a>
### LoadFromStream(stream,value) `method` [#](#M-SweetLib-IO-Classes-Streaming-StreamManager-LoadFromStream-System-IO-Stream,System-Boolean@- 'Go To Here') [=](#contents 'Back To Contents')
##### Summary
Loads a [Boolean](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Boolean 'System.Boolean') from a given [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream').
##### Parameters
| Name | Type | Description |
| ---- | ---- | ----------- |
| stream | [System.IO.Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') | [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') from which the [Boolean](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Boolean 'System.Boolean') will be loaded. |
| value | [System.Boolean@](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Boolean@ 'System.Boolean@') | Contains the loaded [Boolean](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Boolean 'System.Boolean') value. |
<a name='M-SweetLib-IO-Classes-Streaming-StreamManager-LoadFromStream-System-IO-Stream,System-Char@-'></a>
### LoadFromStream(stream,value) `method` [#](#M-SweetLib-IO-Classes-Streaming-StreamManager-LoadFromStream-System-IO-Stream,System-Char@- 'Go To Here') [=](#contents 'Back To Contents')
##### Summary
Loads a [Char](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Char 'System.Char') from a given [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream').
##### Parameters
| Name | Type | Description |
| ---- | ---- | ----------- |
| stream | [System.IO.Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') | [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') from which the [Char](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Char 'System.Char') will be loaded. |
| value | [System.Char@](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Char@ 'System.Char@') | Contains the loaded [Char](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Char 'System.Char') value. |
<a name='M-SweetLib-IO-Classes-Streaming-StreamManager-LoadFromStream-System-IO-Stream,System-Int32@-'></a>
### LoadFromStream(stream,value) `method` [#](#M-SweetLib-IO-Classes-Streaming-StreamManager-LoadFromStream-System-IO-Stream,System-Int32@- 'Go To Here') [=](#contents 'Back To Contents')
##### Summary
Loads a [Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') from a given [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream').
##### Parameters
| Name | Type | Description |
| ---- | ---- | ----------- |
| stream | [System.IO.Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') | [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') from which the [Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') will be loaded. |
| value | [System.Int32@](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32@ 'System.Int32@') | Contains the loaded [Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') value. |
<a name='M-SweetLib-IO-Classes-Streaming-StreamManager-LoadFromStream-System-IO-Stream,System-Int64@-'></a>
### LoadFromStream(stream,value) `method` [#](#M-SweetLib-IO-Classes-Streaming-StreamManager-LoadFromStream-System-IO-Stream,System-Int64@- 'Go To Here') [=](#contents 'Back To Contents')
##### Summary
Loads a [Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') from a given [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream').
##### Parameters
| Name | Type | Description |
| ---- | ---- | ----------- |
| stream | [System.IO.Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') | [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') from which the [Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') will be loaded. |
| value | [System.Int64@](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64@ 'System.Int64@') | Contains the loaded [Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') value. |
<a name='M-SweetLib-IO-Classes-Streaming-StreamManager-LoadFromStream-System-IO-Stream,System-Single@-'></a>
### LoadFromStream(stream,value) `method` [#](#M-SweetLib-IO-Classes-Streaming-StreamManager-LoadFromStream-System-IO-Stream,System-Single@- 'Go To Here') [=](#contents 'Back To Contents')
##### Summary
Loads a [String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') from a given [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream').
##### Parameters
| Name | Type | Description |
| ---- | ---- | ----------- |
| stream | [System.IO.Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') | [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') from which the [String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') will be loaded. |
| value | [System.Single@](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single@ 'System.Single@') | Contains the loaded [String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') value. |
<a name='M-SweetLib-IO-Classes-Streaming-StreamManager-LoadFromStream-System-IO-Stream,System-Double@-'></a>
### LoadFromStream(stream,value) `method` [#](#M-SweetLib-IO-Classes-Streaming-StreamManager-LoadFromStream-System-IO-Stream,System-Double@- 'Go To Here') [=](#contents 'Back To Contents')
##### Summary
Loads a [Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') from a given [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream').
##### Parameters
| Name | Type | Description |
| ---- | ---- | ----------- |
| stream | [System.IO.Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') | [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') from which the [Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') will be loaded. |
| value | [System.Double@](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double@ 'System.Double@') | Contains the loaded [Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') value. |
<a name='M-SweetLib-IO-Classes-Streaming-StreamManager-LoadFromStream-System-IO-Stream,System-DateTime@-'></a>
### LoadFromStream(stream,value) `method` [#](#M-SweetLib-IO-Classes-Streaming-StreamManager-LoadFromStream-System-IO-Stream,System-DateTime@- 'Go To Here') [=](#contents 'Back To Contents')
##### Summary
Loads a [DateTime](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.DateTime 'System.DateTime') from a given [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream').
##### Parameters
| Name | Type | Description |
| ---- | ---- | ----------- |
| stream | [System.IO.Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') | [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') from which the [DateTime](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.DateTime 'System.DateTime') will be loaded. |
| value | [System.DateTime@](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.DateTime@ 'System.DateTime@') | Contains the loaded [DateTime](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.DateTime 'System.DateTime') value. |
<a name='M-SweetLib-IO-Classes-Streaming-StreamManager-LoadFromStream-System-IO-Stream,System-IO-Stream@-'></a>
### LoadFromStream(stream,value) `method` [#](#M-SweetLib-IO-Classes-Streaming-StreamManager-LoadFromStream-System-IO-Stream,System-IO-Stream@- 'Go To Here') [=](#contents 'Back To Contents')
##### Summary
Loads a [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') from a given [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream').
##### Parameters
| Name | Type | Description |
| ---- | ---- | ----------- |
| stream | [System.IO.Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') | [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') from which the [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') will be loaded. |
| value | [System.IO.Stream@](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream@ 'System.IO.Stream@') | Contains the loaded [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') value. |
<a name='M-SweetLib-IO-Classes-Streaming-StreamManager-SaveToStream-System-IO-Stream,System-String-'></a>
### SaveToStream(stream,value) `method` [#](#M-SweetLib-IO-Classes-Streaming-StreamManager-SaveToStream-System-IO-Stream,System-String- 'Go To Here') [=](#contents 'Back To Contents')
##### Summary
Adds a [String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') to a given [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream').
##### Parameters
| Name | Type | Description |
| ---- | ---- | ----------- |
| stream | [System.IO.Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') | [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') to which the [String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') will be added. |
| value | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | [String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') value to add. |
<a name='M-SweetLib-IO-Classes-Streaming-StreamManager-SaveToStream-System-IO-Stream,System-Boolean-'></a>
### SaveToStream(stream,value) `method` [#](#M-SweetLib-IO-Classes-Streaming-StreamManager-SaveToStream-System-IO-Stream,System-Boolean- 'Go To Here') [=](#contents 'Back To Contents')
##### Summary
Adds a [Boolean](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Boolean 'System.Boolean') to a given [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream').
##### Parameters
| Name | Type | Description |
| ---- | ---- | ----------- |
| stream | [System.IO.Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') | [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') to which the [Boolean](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Boolean 'System.Boolean') will be added. |
| value | [System.Boolean](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Boolean 'System.Boolean') | [Boolean](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Boolean 'System.Boolean') value to add. |
<a name='M-SweetLib-IO-Classes-Streaming-StreamManager-SaveToStream-System-IO-Stream,System-Char-'></a>
### SaveToStream(stream,value) `method` [#](#M-SweetLib-IO-Classes-Streaming-StreamManager-SaveToStream-System-IO-Stream,System-Char- 'Go To Here') [=](#contents 'Back To Contents')
##### Summary
Adds a [Char](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Char 'System.Char') to a given [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream').
##### Parameters
| Name | Type | Description |
| ---- | ---- | ----------- |
| stream | [System.IO.Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') | [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') to which the [Char](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Char 'System.Char') will be added. |
| value | [System.Char](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Char 'System.Char') | [Char](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Char 'System.Char') value to add. |
<a name='M-SweetLib-IO-Classes-Streaming-StreamManager-SaveToStream-System-IO-Stream,System-Int32-'></a>
### SaveToStream(stream,value) `method` [#](#M-SweetLib-IO-Classes-Streaming-StreamManager-SaveToStream-System-IO-Stream,System-Int32- 'Go To Here') [=](#contents 'Back To Contents')
##### Summary
Adds a [Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') to a given [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream').
##### Parameters
| Name | Type | Description |
| ---- | ---- | ----------- |
| stream | [System.IO.Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') | [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') to which the [Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') will be added. |
| value | [System.Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') | [Int32](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int32 'System.Int32') value to add. |
<a name='M-SweetLib-IO-Classes-Streaming-StreamManager-SaveToStream-System-IO-Stream,System-Int64-'></a>
### SaveToStream(stream,value) `method` [#](#M-SweetLib-IO-Classes-Streaming-StreamManager-SaveToStream-System-IO-Stream,System-Int64- 'Go To Here') [=](#contents 'Back To Contents')
##### Summary
Adds a [Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') to a given [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream').
##### Parameters
| Name | Type | Description |
| ---- | ---- | ----------- |
| stream | [System.IO.Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') | [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') to which the [Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') will be added. |
| value | [System.Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') | [Int64](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Int64 'System.Int64') value to add. |
<a name='M-SweetLib-IO-Classes-Streaming-StreamManager-SaveToStream-System-IO-Stream,System-Single-'></a>
### SaveToStream(stream,value) `method` [#](#M-SweetLib-IO-Classes-Streaming-StreamManager-SaveToStream-System-IO-Stream,System-Single- 'Go To Here') [=](#contents 'Back To Contents')
##### Summary
Adds a [Single](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single 'System.Single') to a given [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream').
##### Parameters
| Name | Type | Description |
| ---- | ---- | ----------- |
| stream | [System.IO.Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') | [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') to which the [Single](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single 'System.Single') will be added. |
| value | [System.Single](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single 'System.Single') | [Single](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Single 'System.Single') value to add. |
<a name='M-SweetLib-IO-Classes-Streaming-StreamManager-SaveToStream-System-IO-Stream,System-Double-'></a>
### SaveToStream(stream,value) `method` [#](#M-SweetLib-IO-Classes-Streaming-StreamManager-SaveToStream-System-IO-Stream,System-Double- 'Go To Here') [=](#contents 'Back To Contents')
##### Summary
Adds a [Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') to a given [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream').
##### Parameters
| Name | Type | Description |
| ---- | ---- | ----------- |
| stream | [System.IO.Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') | [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') to which the [Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') will be added. |
| value | [System.Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') | [Double](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Double 'System.Double') value to add. |
<a name='M-SweetLib-IO-Classes-Streaming-StreamManager-SaveToStream-System-IO-Stream,System-DateTime-'></a>
### SaveToStream(stream,value) `method` [#](#M-SweetLib-IO-Classes-Streaming-StreamManager-SaveToStream-System-IO-Stream,System-DateTime- 'Go To Here') [=](#contents 'Back To Contents')
##### Summary
Adds a [DateTime](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.DateTime 'System.DateTime') to a given [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream').
##### Parameters
| Name | Type | Description |
| ---- | ---- | ----------- |
| stream | [System.IO.Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') | [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') to which the [DateTime](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.DateTime 'System.DateTime') will be added. |
| value | [System.DateTime](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.DateTime 'System.DateTime') | [DateTime](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.DateTime 'System.DateTime') value to add. |
<a name='M-SweetLib-IO-Classes-Streaming-StreamManager-SaveToStream-System-IO-Stream,System-IO-Stream,System-Boolean-'></a>
### SaveToStream(stream,value,resetSourceStream) `method` [#](#M-SweetLib-IO-Classes-Streaming-StreamManager-SaveToStream-System-IO-Stream,System-IO-Stream,System-Boolean- 'Go To Here') [=](#contents 'Back To Contents')
##### Summary
Adds a [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') to a given [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream').
##### Parameters
| Name | Type | Description |
| ---- | ---- | ----------- |
| stream | [System.IO.Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') | [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') to which the [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') will be added. |
| value | [System.IO.Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') | [Stream](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.IO.Stream 'System.IO.Stream') value to add. |
| resetSourceStream | [System.Boolean](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.Boolean 'System.Boolean') | If true, the full given [](#!-value 'value') will be copied, otherwhise the stream will be copied from current position until its end. |
<a name='T-SweetLib-IO-Classes-Streaming-StreamTypeException'></a>
## StreamTypeException [#](#T-SweetLib-IO-Classes-Streaming-StreamTypeException 'Go To Here') [=](#contents 'Back To Contents')
##### Namespace
SweetLib.IO.Classes.Streaming
##### Summary
Exception thrown by streaming related operations. May be thrown if the stream types do not match.
<a name='M-SweetLib-IO-Classes-Streaming-StreamTypeException-#ctor'></a>
### #ctor() `constructor` [#](#M-SweetLib-IO-Classes-Streaming-StreamTypeException-#ctor 'Go To Here') [=](#contents 'Back To Contents')
##### Summary
Creates a new [StreamTypeException](#T-SweetLib-IO-Classes-Streaming-StreamTypeException 'SweetLib.IO.Classes.Streaming.StreamTypeException').
##### Parameters
This constructor has no parameters.
<a name='M-SweetLib-IO-Classes-Streaming-StreamTypeException-#ctor-System-String-'></a>
### #ctor(message) `constructor` [#](#M-SweetLib-IO-Classes-Streaming-StreamTypeException-#ctor-System-String- 'Go To Here') [=](#contents 'Back To Contents')
##### Summary
Creates a new [StreamTypeException](#T-SweetLib-IO-Classes-Streaming-StreamTypeException 'SweetLib.IO.Classes.Streaming.StreamTypeException').
##### Parameters
| Name | Type | Description |
| ---- | ---- | ----------- |
| message | [System.String](http://msdn.microsoft.com/query/dev14.query?appId=Dev14IDEF1&l=EN-US&k=k:System.String 'System.String') | Exception message. |

View file

@ -1,189 +0,0 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>SweetLib.IO</name>
</assembly>
<members>
<member name="T:SweetLib.IO.Classes.Streaming.IStreamable">
<summary>
Streamable objects
</summary>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.IStreamable.SaveToStream(System.IO.Stream)">
<summary>
Saves the current object into a stream.
</summary>
<param name="stream">Stream in which the current object should be saved.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.IStreamable.LoadFromStream(System.IO.Stream)">
<summary>
Loads the object from a given stream.
</summary>
<param name="stream">Stream from which the object is loaded.</param>
</member>
<member name="T:SweetLib.IO.Classes.Streaming.StreamException">
<summary>
Exception thrown by streaming related operations.
</summary>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamException.#ctor">
<summary>
Creates a new <see cref="T:SweetLib.IO.Classes.Streaming.StreamException"/>.
</summary>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamException.#ctor(System.String)">
<summary>
Creates a new <see cref="T:SweetLib.IO.Classes.Streaming.StreamException"/>.
</summary>
<param name="message">Exception message.</param>
</member>
<member name="T:SweetLib.IO.Classes.Streaming.StreamTypeException">
<summary>
Exception thrown by streaming related operations. May be thrown if the stream types do not match.
</summary>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamTypeException.#ctor">
<summary>
Creates a new <see cref="T:SweetLib.IO.Classes.Streaming.StreamTypeException"/>.
</summary>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamTypeException.#ctor(System.String)">
<summary>
Creates a new <see cref="T:SweetLib.IO.Classes.Streaming.StreamTypeException"/>.
</summary>
<param name="message">Exception message.</param>
</member>
<member name="T:SweetLib.IO.Classes.Streaming.StreamManager">
<summary>
<see cref="T:SweetLib.IO.Classes.Streaming.StreamManager"/> wraps some useful methods for custom implementations of object streaming.
</summary>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.SaveToStream(System.IO.Stream,System.String)">
<summary>
Adds a <see cref="T:System.String"/> to a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> to which the <see cref="T:System.String"/> will be added.</param>
<param name="value"><see cref="T:System.String"/> value to add.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.SaveToStream(System.IO.Stream,System.Boolean)">
<summary>
Adds a <see cref="T:System.Boolean"/> to a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> to which the <see cref="T:System.Boolean"/> will be added.</param>
<param name="value"><see cref="T:System.Boolean"/> value to add.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.SaveToStream(System.IO.Stream,System.Char)">
<summary>
Adds a <see cref="T:System.Char"/> to a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> to which the <see cref="T:System.Char"/> will be added.</param>
<param name="value"><see cref="T:System.Char"/> value to add.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.SaveToStream(System.IO.Stream,System.Int32)">
<summary>
Adds a <see cref="T:System.Int32"/> to a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> to which the <see cref="T:System.Int32"/> will be added.</param>
<param name="value"><see cref="T:System.Int32"/> value to add.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.SaveToStream(System.IO.Stream,System.Int64)">
<summary>
Adds a <see cref="T:System.Int64"/> to a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> to which the <see cref="T:System.Int64"/> will be added.</param>
<param name="value"><see cref="T:System.Int64"/> value to add.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.SaveToStream(System.IO.Stream,System.Single)">
<summary>
Adds a <see cref="T:System.Single"/> to a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> to which the <see cref="T:System.Single"/> will be added.</param>
<param name="value"><see cref="T:System.Single"/> value to add.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.SaveToStream(System.IO.Stream,System.Double)">
<summary>
Adds a <see cref="T:System.Double"/> to a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> to which the <see cref="T:System.Double"/> will be added.</param>
<param name="value"><see cref="T:System.Double"/> value to add.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.SaveToStream(System.IO.Stream,System.DateTime)">
<summary>
Adds a <see cref="T:System.DateTime"/> to a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> to which the <see cref="T:System.DateTime"/> will be added.</param>
<param name="value"><see cref="T:System.DateTime"/> value to add.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.SaveToStream(System.IO.Stream,System.IO.Stream,System.Boolean)">
<summary>
Adds a <see cref="T:System.IO.Stream"/> to a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> to which the <see cref="T:System.IO.Stream"/> will be added.</param>
<param name="value"><see cref="T:System.IO.Stream"/> value to add.</param>
<param name="resetSourceStream">If true, the full given <see cref="!:value"/> will be copied, otherwhise the stream will be copied from current position until its end.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.LoadFromStream(System.IO.Stream,System.String@)">
<summary>
Loads a <see cref="T:System.String"/> from a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> from which the <see cref="T:System.String"/> will be loaded.</param>
<param name="value">Contains the loaded <see cref="T:System.String"/> value.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.LoadFromStream(System.IO.Stream,System.Boolean@)">
<summary>
Loads a <see cref="T:System.Boolean"/> from a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> from which the <see cref="T:System.Boolean"/> will be loaded.</param>
<param name="value">Contains the loaded <see cref="T:System.Boolean"/> value.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.LoadFromStream(System.IO.Stream,System.Char@)">
<summary>
Loads a <see cref="T:System.Char"/> from a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> from which the <see cref="T:System.Char"/> will be loaded.</param>
<param name="value">Contains the loaded <see cref="T:System.Char"/> value.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.LoadFromStream(System.IO.Stream,System.Int32@)">
<summary>
Loads a <see cref="T:System.Int32"/> from a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> from which the <see cref="T:System.Int32"/> will be loaded.</param>
<param name="value">Contains the loaded <see cref="T:System.Int32"/> value.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.LoadFromStream(System.IO.Stream,System.Int64@)">
<summary>
Loads a <see cref="T:System.Int64"/> from a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> from which the <see cref="T:System.Int64"/> will be loaded.</param>
<param name="value">Contains the loaded <see cref="T:System.Int64"/> value.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.LoadFromStream(System.IO.Stream,System.Single@)">
<summary>
Loads a <see cref="T:System.String"/> from a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> from which the <see cref="T:System.String"/> will be loaded.</param>
<param name="value">Contains the loaded <see cref="T:System.String"/> value.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.LoadFromStream(System.IO.Stream,System.Double@)">
<summary>
Loads a <see cref="T:System.Double"/> from a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> from which the <see cref="T:System.Double"/> will be loaded.</param>
<param name="value">Contains the loaded <see cref="T:System.Double"/> value.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.LoadFromStream(System.IO.Stream,System.DateTime@)">
<summary>
Loads a <see cref="T:System.DateTime"/> from a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> from which the <see cref="T:System.DateTime"/> will be loaded.</param>
<param name="value">Contains the loaded <see cref="T:System.DateTime"/> value.</param>
</member>
<member name="M:SweetLib.IO.Classes.Streaming.StreamManager.LoadFromStream(System.IO.Stream,System.IO.Stream@)">
<summary>
Loads a <see cref="T:System.IO.Stream"/> from a given <see cref="T:System.IO.Stream"/>.
</summary>
<param name="stream"><see cref="T:System.IO.Stream"/> from which the <see cref="T:System.IO.Stream"/> will be loaded.</param>
<param name="value">Contains the loaded <see cref="T:System.IO.Stream"/> value.</param>
</member>
</members>
</doc>

File diff suppressed because it is too large Load diff

View file

@ -1,538 +0,0 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>SweetLib</name>
</assembly>
<members>
<member name="T:SweetLib.Classes.Exceptions.RegistryStorerException">
<summary>
Exception thrown by <see cref="T:SweetLib.Classes.Storer.RegistryStorer"/>.
</summary>
</member>
<member name="M:SweetLib.Classes.Exceptions.RegistryStorerException.#ctor">
<summary>
Creates a new <see cref="T:SweetLib.Classes.Exceptions.RegistryStorerException"/>.
</summary>
</member>
<member name="M:SweetLib.Classes.Exceptions.RegistryStorerException.#ctor(System.String)">
<summary>
Creates a new <see cref="T:SweetLib.Classes.Exceptions.RegistryStorerException"/>.
</summary>
<param name="message">Exception message.</param>
</member>
<member name="T:SweetLib.Classes.Storer.IniFileStorer">
<summary>
Implementation of an <see cref="T:SweetLib.Classes.Storer.IStorer"/> interface which stores the data inside an ini file.
</summary>
</member>
<member name="P:SweetLib.Classes.Storer.IniFileStorer.FileName">
<summary>
Ini file path.
</summary>
</member>
<member name="M:SweetLib.Classes.Storer.IniFileStorer.#ctor(System.String)">
<summary>
Creates a new instance of <see cref="T:SweetLib.Classes.Storer.IniFileStorer"/> with a specified file name.
</summary>
<param name="fileName">The file name of the ini file.</param>
</member>
<member name="T:SweetLib.Classes.Storer.IStorer">
<summary>
Interface, which provides several methods to store simple data.
</summary>
</member>
<member name="M:SweetLib.Classes.Storer.IStorer.ReadString(System.String,System.String,System.String)">
<summary>
Reads a string value.
</summary>
<param name="section">Represents the section in which the data is stored.</param>
<param name="key">Represents the key of the stored data.</param>
<param name="defaultValue">Default value, if this value does not exist.</param>
<returns>Value of the <see cref="!:key"/> in <see cref="!:section"/>.</returns>
</member>
<member name="M:SweetLib.Classes.Storer.IStorer.ReadInteger(System.String,System.String,System.Int32)">
<summary>
Reads an integer value.
</summary>
<param name="section">Represents the section in which the data is stored.</param>
<param name="key">Represents the key of the stored data.</param>
<param name="defaultValue">Default value, if this value does not exist.</param>
<returns>Value of the <see cref="!:key"/> in <see cref="!:section"/>.</returns>
</member>
<member name="M:SweetLib.Classes.Storer.IStorer.ReadBool(System.String,System.String,System.Boolean)">
<summary>
Reads a bool value.
</summary>
<param name="section">Represents the section in which the data is stored.</param>
<param name="key">Represents the key of the stored data.</param>
<param name="defaultValue">Default value, if this value does not exist.</param>
<returns>Value of the <see cref="!:key"/> in <see cref="!:section"/>.</returns>
</member>
<member name="M:SweetLib.Classes.Storer.IStorer.HasKey(System.String,System.String)">
<summary>
Checks, if a key exists inside a section.
</summary>
<param name="section">Represents the section in which the data is stored.</param>
<param name="key">Represents the key of the stored data.</param>
<returns>True, if <see cref="!:key"/> is found inside <see cref="!:section"/>.</returns>
</member>
<member name="M:SweetLib.Classes.Storer.IStorer.WriteString(System.String,System.String,System.String)">
<summary>
Writes a string value.
</summary>
<param name="section">Represents the section in which the data is stored.</param>
<param name="key">Represents the key of the stored data.</param>
<param name="value">Value to be stored.</param>
</member>
<member name="M:SweetLib.Classes.Storer.IStorer.WriteInteger(System.String,System.String,System.Int32)">
<summary>
Writes an integer value.
</summary>
<param name="section">Represents the section in which the data is stored.</param>
<param name="key">Represents the key of the stored data.</param>
<param name="value">Value to be stored.</param>
</member>
<member name="M:SweetLib.Classes.Storer.IStorer.WriteBool(System.String,System.String,System.Boolean)">
<summary>
Writes a bool value.
</summary>
<param name="section">Represents the section in which the data is stored.</param>
<param name="key">Represents the key of the stored data.</param>
<param name="value">Value to be stored.</param>
</member>
<member name="M:SweetLib.Classes.Storer.IStorer.DeleteKey(System.String,System.String)">
<summary>
Deletes a key inside a <see cref="!:section"/>.
</summary>
<param name="section">Represents the section in which the data is stored.</param>
<param name="key">Represents the key to be deleted.</param>
</member>
<member name="M:SweetLib.Classes.Storer.IStorer.DeleteSection(System.String)">
<summary>
Deletes a section with all its keys.
</summary>
<param name="section">Represents the section to be deleted.</param>
</member>
<member name="T:SweetLib.Classes.Storer.RegistryStorer">
<summary>
Implementation of an <see cref="T:SweetLib.Classes.Storer.IStorer"/> interface which stores the data inside the registry.
</summary>
<remarks>
Sections will be interpreted as subkeys on registry level.
</remarks>
</member>
<member name="P:SweetLib.Classes.Storer.RegistryStorer.OperatingRegistryKey">
<summary>
The base registry key in which will be operated.
</summary>
</member>
<member name="M:SweetLib.Classes.Storer.RegistryStorer.#ctor(System.String)">
<summary>
Creates a new instance of <see cref="T:SweetLib.Classes.Storer.RegistryStorer"/> with a specified application name.
</summary>
<param name="appName">The applications base name. This will be used as name for a sub key inside the software key below the base key.</param>
<remarks>
This will use current user as the base key.
</remarks>
</member>
<member name="M:SweetLib.Classes.Storer.RegistryStorer.#ctor(Microsoft.Win32.RegistryKey,System.String)">
<summary>
Creates a new instance of <see cref="T:SweetLib.Classes.Storer.RegistryStorer"/> with a specified application name.
</summary>
<param name="baseRegistryKey">Provide a key of <see cref="T:Microsoft.Win32.Registry"/>, e.G. <i>Registry.CurrentUser</i>.</param>
<param name="appName">The applications base name. This will be used as name for a sub key inside the software key below the base key.</param>
</member>
<member name="T:SweetLib.Utils.Extensions.BaseTypeExtensions">
<summary>
Defines extensions to some general classes.
</summary>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsBytes(System.Int16)">
<summary>
Converts a <see cref="T:System.Int16"/> value into a byte array.
</summary>
<param name="value">Value to convert.</param>
<returns>Byte array representation of the value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsBytes(System.UInt16)">
<summary>
Converts a <see cref="T:System.UInt16"/> value into a byte array.
</summary>
<param name="value">Value to convert.</param>
<returns>Byte array representation of the value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsBytes(System.Int32)">
<summary>
Converts a <see cref="T:System.Int32"/> value into a byte array.
</summary>
<param name="value">Value to convert.</param>
<returns>Byte array representation of the value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsBytes(System.UInt32)">
<summary>
Converts a <see cref="T:System.UInt32"/> value into a byte array.
</summary>
<param name="value">Value to convert.</param>
<returns>Byte array representation of the value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsBytes(System.Int64)">
<summary>
Converts a <see cref="T:System.Int64"/> value into a byte array.
</summary>
<param name="value">Value to convert.</param>
<returns>Byte array representation of the value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsBytes(System.UInt64)">
<summary>
Converts a <see cref="T:System.UInt64"/> value into a byte array.
</summary>
<param name="value">Value to convert.</param>
<returns>Byte array representation of the value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsBytes(System.Single)">
<summary>
Converts a <see cref="T:System.Single"/> value into a byte array.
</summary>
<param name="value">Value to convert.</param>
<returns>Byte array representation of the value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsBytes(System.Double)">
<summary>
Converts a <see cref="T:System.Double"/> value into a byte array.
</summary>
<param name="value">Value to convert.</param>
<returns>Byte array representation of the value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsBytes(System.Boolean)">
<summary>
Converts a <see cref="T:System.Boolean"/> value into a byte array.
</summary>
<param name="value">Value to convert.</param>
<returns>Byte array representation of the value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsBytes(System.DateTime)">
<summary>
Converts a <see cref="T:System.DateTime"/> value into a byte array.
</summary>
<param name="value">Value to convert.</param>
<returns>Byte array representation of the value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsBytes(System.String)">
<summary>
Converts a <see cref="T:System.String"/> value into a byte array.
</summary>
<param name="value">Value to convert.</param>
<returns>Byte array representation of the value.</returns>
<remarks>Using <see cref="T:System.Text.UTF32Encoding"/> for converting.</remarks>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsBytes(System.Char)">
<summary>
Converts a <see cref="T:System.Char"/> value into a byte array.
</summary>
<param name="value">Value to convert.</param>
<returns>Byte array representation of the value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsInt16(System.Byte[])">
<summary>
Converts a byte array into a <see cref="T:System.Int16"/> type.
</summary>
<param name="bytes">Byte array representation to convert.</param>
<returns>Converted value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsUInt16(System.Byte[])">
<summary>
Converts a byte array into a <see cref="T:System.UInt16"/> type.
</summary>
<param name="bytes">Byte array representation to convert.</param>
<returns>Converted value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsInt32(System.Byte[])">
<summary>
Converts a byte array into a <see cref="T:System.Int32"/> type.
</summary>
<param name="bytes">Byte array representation to convert.</param>
<returns>Converted value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsUInt32(System.Byte[])">
<summary>
Converts a byte array into a <see cref="T:System.UInt32"/> type.
</summary>
<param name="bytes">Byte array representation to convert.</param>
<returns>Converted value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsInt64(System.Byte[])">
<summary>
Converts a byte array into a <see cref="T:System.Int64"/> type.
</summary>
<param name="bytes">Byte array representation to convert.</param>
<returns>Converted value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsUInt64(System.Byte[])">
<summary>
Converts a byte array into a <see cref="T:System.UInt64"/> type.
</summary>
<param name="bytes">Byte array representation to convert.</param>
<returns>Converted value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsSingle(System.Byte[])">
<summary>
Converts a byte array into a <see cref="T:System.Single"/> type.
</summary>
<param name="bytes">Byte array representation to convert.</param>
<returns>Converted value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsDouble(System.Byte[])">
<summary>
Converts a byte array into a <see cref="T:System.Double"/> type.
</summary>
<param name="bytes">Byte array representation to convert.</param>
<returns>Converted value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsBool(System.Byte[])">
<summary>
Converts a byte array into a <see cref="T:System.Boolean"/> type.
</summary>
<param name="bytes">Byte array representation to convert.</param>
<returns>Converted value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsDateTime(System.Byte[])">
<summary>
Converts a byte array into a <see cref="T:System.DateTime"/> type.
</summary>
<param name="bytes">Byte array representation to convert.</param>
<returns>Converted value.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsString(System.Byte[])">
<summary>
Converts a byte array into a <see cref="T:System.String"/> type.
</summary>
<param name="bytes">Byte array representation to convert.</param>
<returns>Converted value.</returns>
<remarks>Using <see cref="T:System.Text.UTF32Encoding"/> for converting.</remarks>
</member>
<member name="M:SweetLib.Utils.Extensions.BaseTypeExtensions.AsChar(System.Byte[])">
<summary>
Converts a byte array into a <see cref="T:System.Char"/> type.
</summary>
<param name="bytes">Byte array representation to convert.</param>
<returns>Converted value.</returns>
</member>
<member name="T:SweetLib.Utils.Extensions.DateTimeExtensions">
<summary>
Defines extensions to classes which are related to <see cref="T:System.DateTime"/>.
</summary>
</member>
<member name="M:SweetLib.Utils.Extensions.DateTimeExtensions.ToUnixTimeStamp(System.DateTime)">
<summary>
Converts a <see cref="T:System.DateTime"/> into an Unix timestamp.
</summary>
<param name="date"><see cref="T:System.DateTime"/> to convert into Unix timestamp.</param>
<returns>Converted Unix timestamp.</returns>
</member>
<member name="M:SweetLib.Utils.Extensions.DateTimeExtensions.ToDateTime(System.Double)">
<summary>
Converts an Unix timestamp into a <see cref="T:System.DateTime"/>.
</summary>
<param name="timestamp">Unix timestamp to convert.</param>
<returns>Converted <see cref="T:System.DateTime"/>.</returns>
</member>
<member name="T:SweetLib.Utils.Logger.LogLevel">
<summary>
Enum which contains the several log levels.
</summary>
</member>
<member name="T:SweetLib.Utils.Logger.Logger">
<summary>
Global logger class providing several methods to log events by the application.
</summary>
<remarks>
As <see cref="P:SweetLib.Utils.Logger.Logger.DefaultLogMemory"/> a <see cref="T:SweetLib.Utils.Logger.Memory.ArchivableConsoleLogMemory"/> will be used. You can change this to any other implementation at any time while runtime.
Default log levels are set as bitflags in <see cref="P:SweetLib.Utils.Logger.Logger.GlobalLogLevel"/>.
</remarks>
</member>
<member name="P:SweetLib.Utils.Logger.Logger.GlobalLogLevel">
<summary>
The global log level. Only messages with the set <see cref="T:SweetLib.Utils.Logger.LogLevel"/> will be procedered.
</summary>
</member>
<member name="P:SweetLib.Utils.Logger.Logger.DefaultLogMemory">
<summary>
The default <see cref="T:SweetLib.Utils.Logger.Memory.ILogMemory"/> which will be used for any logging action, if no custom <see cref="T:SweetLib.Utils.Logger.Memory.ILogMemory"/> is set as parameter.
</summary>
</member>
<member name="M:SweetLib.Utils.Logger.Logger.Log(SweetLib.Utils.Logger.LogLevel,System.String)">
<summary>
Will log a message into the global <see cref="P:SweetLib.Utils.Logger.Logger.DefaultLogMemory"/>.
</summary>
<param name="logLevel">The log level of this message.</param>
<param name="message">The message to log.</param>
</member>
<member name="M:SweetLib.Utils.Logger.Logger.Log(SweetLib.Utils.Logger.LogLevel,System.String,SweetLib.Utils.Logger.Memory.ILogMemory)">
<summary>
Will log a message into the provided <see cref="!:logMemory"/>.
</summary>
<param name="logLevel">The log level of this message.</param>
/// <param name="message">The message to log.</param>
<param name="logMemory">The <see cref="T:SweetLib.Utils.Logger.Memory.ILogMemory"/> to store the <see cref="!:message"/> into.</param>
</member>
<member name="M:SweetLib.Utils.Logger.Logger.Log(SweetLib.Utils.Logger.Message.LogMessage,SweetLib.Utils.Logger.Memory.ILogMemory)">
<summary>
Will log a message into the provided <see cref="!:logMemory"/>.
</summary>
<param name="message">A <see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> object to store.</param>
<param name="logMemory">The <see cref="T:SweetLib.Utils.Logger.Memory.ILogMemory"/> to store the <see cref="!:message"/> into.</param>
<remarks>In general use cases you should either use one of the <see cref="M:SweetLib.Utils.Logger.Logger.Log(SweetLib.Utils.Logger.LogLevel,System.String)"/> or <see cref="M:SweetLib.Utils.Logger.Logger.Log(SweetLib.Utils.Logger.LogLevel,System.String)"/> methods which will generate a call to this method.</remarks>
</member>
<member name="M:SweetLib.Utils.Logger.Logger.Trace(System.String)">
<summary>
Will log a message with the <see cref="F:SweetLib.Utils.Logger.LogLevel.Trace"/> log level.
</summary>
<param name="message">Message to log.</param>
</member>
<member name="M:SweetLib.Utils.Logger.Logger.Debug(System.String)">
<summary>
Will log a message with the <see cref="F:SweetLib.Utils.Logger.LogLevel.Debug"/> log level.
</summary>
<param name="message">Message to log.</param>
</member>
<member name="M:SweetLib.Utils.Logger.Logger.Info(System.String)">
<summary>
Will log a message with the <see cref="F:SweetLib.Utils.Logger.LogLevel.Info"/> log level.
</summary>
<param name="message">Message to log.</param>
</member>
<member name="M:SweetLib.Utils.Logger.Logger.Warn(System.String)">
<summary>
Will log a message with the <see cref="F:SweetLib.Utils.Logger.LogLevel.Warn"/> log level.
</summary>
<param name="message">Message to log.</param>
</member>
<member name="M:SweetLib.Utils.Logger.Logger.Error(System.String)">
<summary>
Will log a message with the <see cref="F:SweetLib.Utils.Logger.LogLevel.Error"/> log level.
</summary>
<param name="message">Message to log.</param>
</member>
<member name="T:SweetLib.Utils.Logger.Memory.ILogMemory">
<summary>
Interface for a class to store and proceed <see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> objects.
</summary>
</member>
<member name="M:SweetLib.Utils.Logger.Memory.ILogMemory.Remember(SweetLib.Utils.Logger.Message.LogMessage)">
<summary>
Adds a <see cref="!:message"/> into the <see cref="T:SweetLib.Utils.Logger.Memory.ILogMemory"/>.
</summary>
<param name="message"><see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> to be stored.</param>
</member>
<member name="M:SweetLib.Utils.Logger.Memory.ILogMemory.Forget(SweetLib.Utils.Logger.Message.LogMessage)">
<summary>
Removes a <see cref="!:message"/> from the <see cref="T:SweetLib.Utils.Logger.Memory.ILogMemory"/>.
</summary>
<param name="message"><see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> to be removed.</param>
<remarks>This might not have any effect depending on the <see cref="T:SweetLib.Utils.Logger.Memory.ILogMemory"/> implementation.</remarks>
</member>
<member name="M:SweetLib.Utils.Logger.Memory.ILogMemory.Archive(System.String)">
<summary>
Saves all remembered <see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> objects into a persistent file.
</summary>
<param name="fullFileName">File name to store the <see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> objects.</param>
</member>
<member name="T:SweetLib.Utils.Logger.Message.LogMessage">
<summary>
<see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> contains all event log data which should be logged in as a single log message.
</summary>
</member>
<member name="P:SweetLib.Utils.Logger.Message.LogMessage.LogLevel">
<summary>
The <see cref="P:SweetLib.Utils.Logger.Message.LogMessage.LogLevel"/> of this event log.
</summary>
</member>
<member name="P:SweetLib.Utils.Logger.Message.LogMessage.Message">
<summary>
The message of this event log.
</summary>
</member>
<member name="P:SweetLib.Utils.Logger.Message.LogMessage.LogDateTime">
<summary>
The date and time of this event log.
</summary>
</member>
<member name="M:SweetLib.Utils.Logger.Message.LogMessage.#ctor(SweetLib.Utils.Logger.LogLevel,System.String)">
<summary>
Creates a new <see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> instance. <see cref="P:System.DateTime.Now"/> will be the <see cref="P:SweetLib.Utils.Logger.Message.LogMessage.LogDateTime"/>.
</summary>
<param name="logLevel">The log level of this event log.</param>
<param name="message">The message of this event log.</param>
</member>
<member name="M:SweetLib.Utils.Logger.Message.LogMessage.#ctor(SweetLib.Utils.Logger.LogLevel,System.String,System.DateTime)">
<summary>
Creates a new <see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> instance.
</summary>
<param name="logLevel">The log level of this event log.</param>
<param name="message">The message of this event log.</param>
<param name="logDateTime">The <see cref="T:System.DateTime"/> of this event log.</param>
</member>
<member name="M:SweetLib.Utils.Logger.Message.LogMessage.ToString">
<summary>
Generates a formatted <see cref="T:System.String"/> of this event log. <see cref="P:SweetLib.Utils.Logger.Message.LogMessageFormatter.DefaultFormatString"/> will be used to format this event log.
</summary>
<returns>A formated <see cref="T:System.String"/> of this event log.</returns>
</member>
<member name="M:SweetLib.Utils.Logger.Message.LogMessage.ToString(System.String,System.IFormatProvider)">
<summary>
Generates a formatted <see cref="T:System.String"/> of this event log with a given format.
</summary>
<param name="format">The format to be used. See <see cref="T:SweetLib.Utils.Logger.Message.LogMessageFormatter"/> for more format information.</param>
<param name="formatProvider">Optional, an <see cref="T:System.IFormatProvider"/> interface to be used while formatting if needed.</param>
<returns>A formated <see cref="T:System.String"/> of this event log.</returns>
</member>
<member name="T:SweetLib.Utils.Logger.Message.LogMessageFormatter">
<summary>
A <see cref="T:System.ICustomFormatter"/> which is used to format <see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> objects.
</summary>
<remarks>This class implements a singleton pattern.</remarks>
</member>
<member name="P:SweetLib.Utils.Logger.Message.LogMessageFormatter.FormatterInstance">
<summary>
Accesses the global instance of the <see cref="T:SweetLib.Utils.Logger.Message.LogMessageFormatter"/>.
</summary>
</member>
<member name="P:SweetLib.Utils.Logger.Message.LogMessageFormatter.Instance">
<summary>
The default format string which is used to format <see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> objects, if no custom format string is provided.
</summary>
</member>
<member name="M:SweetLib.Utils.Logger.Message.LogMessageFormatter.Format(System.String,System.Object,System.IFormatProvider)">
<summary>
Formats a <see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> object.
</summary>
<param name="format">The format string. If <see cref="!:null"/>, <see cref="P:SweetLib.Utils.Logger.Message.LogMessageFormatter.DefaultFormatString"/> will be used.</param>
<param name="arg">The <see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> object to be formatted.</param>
<param name="formatProvider">Optional, an <see cref="T:System.IFormatProvider"/> interface to be used while formatting if needed.</param>
<returns>A formatted <see cref="T:System.String"/> of the <see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/>.</returns>
<remarks>
If <see cref="!:arg"/> is not a <see cref="T:SweetLib.Utils.Logger.Message.LogMessage"/> object, it will either be returned the formatted string implemented by the type of <see cref="!:arg"/>, if <see cref="T:System.IFormattable"/> is implemented by it, or the <see cref="!:arg.ToString()"/> result."
</remarks>
</member>
<member name="T:SweetLib.Utils.SweetUtils">
<summary>
A generic class containing useful methods.
</summary>
</member>
<member name="M:SweetLib.Utils.SweetUtils.LegalizeFilename(System.String)">
<summary>
Legalizes a file name with the <see cref="P:SweetLib.Utils.SweetUtils.DefaultFileNameReplaceChar"/> character.
</summary>
<param name="fileName">File name to legalize.</param>
<returns>Legalized file name.</returns>
</member>
<member name="M:SweetLib.Utils.SweetUtils.LegalizeFilename(System.String,System.Char)">
<summary>
Legalizes a file name by a given replace character.
</summary>
<param name="fileName">File name to legalize.</param>
<param name="replaceChar">Character to be used as replace character.</param>
<returns>Legalized file name.</returns>
</member>
</members>
</doc>

View file

@ -7,4 +7,4 @@ This project is licensed under [EUPL v1.1](https://joinup.ec.europa.eu/page/eupl
Install the library to your project. The easiest way to do so is installing the [NuGet Package](https://www.nuget.org/packages/SweetLib/). Just right-click your project and choose *Manage NuGet Packages...* and search for *SweetLib* or install it via the console: `PM> Install-Package SweetLib`
## Status
Build: [![status badge](https://ci.serraniel.com/app/rest/builds/buildType:(DarkorbitHelperProgram_Build)/statusIcon)](https://ci.serraniel.com/viewType.html?buildTypeId=DarkorbitHelperProgram_Build)
[![Build status](https://ci.appveyor.com/api/projects/status/jw7qvbyt1n9d6xpg?svg=true)](https://ci.appveyor.com/project/Serraniel/sweetlib)

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

View file

@ -1,4 +1,4 @@
using System.Reflection;
using System.Reflection;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
@ -31,7 +31,5 @@ using System.Runtime.InteropServices;
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.23.2")]
[assembly: AssemblyFileVersion("1.0.23.2")]
[assembly: AssemblyInformationalVersion("1.0.0-alpha-02")]
[assembly: AssemblyVersion("1.0.23.0")]
[assembly: AssemblyFileVersion("1.0.23.0")]

View file

@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SweetLib.Demo.Console</RootNamespace>
<AssemblyName>SweetLib.Demo.Console</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<TargetFrameworkProfile />

View file

@ -5,44 +5,44 @@
<package id="Microsoft.Win32.Registry" version="4.3.0" targetFramework="net46" />
<package id="NETStandard.Library" version="1.6.1" targetFramework="net46" />
<package id="SweetLib" version="0.2.0-alpha" targetFramework="net46" />
<package id="System.AppContext" version="4.3.0" targetFramework="net46" requireReinstallation="true" />
<package id="System.AppContext" version="4.3.0" targetFramework="net46" />
<package id="System.Collections" version="4.3.0" targetFramework="net46" />
<package id="System.Collections.Concurrent" version="4.3.0" targetFramework="net46" />
<package id="System.Console" version="4.3.0" targetFramework="net46" />
<package id="System.Diagnostics.Debug" version="4.3.0" targetFramework="net46" />
<package id="System.Diagnostics.DiagnosticSource" version="4.3.0" targetFramework="net46" />
<package id="System.Diagnostics.Tools" version="4.3.0" targetFramework="net46" />
<package id="System.Diagnostics.Tracing" version="4.3.0" targetFramework="net46" requireReinstallation="true" />
<package id="System.Diagnostics.Tracing" version="4.3.0" targetFramework="net46" />
<package id="System.Globalization" version="4.3.0" targetFramework="net46" />
<package id="System.Globalization.Calendars" version="4.3.0" targetFramework="net46" />
<package id="System.IO" version="4.3.0" targetFramework="net46" requireReinstallation="true" />
<package id="System.IO" version="4.3.0" targetFramework="net46" />
<package id="System.IO.Compression" version="4.3.0" targetFramework="net46" />
<package id="System.IO.Compression.ZipFile" version="4.3.0" targetFramework="net46" />
<package id="System.IO.FileSystem" version="4.3.0" targetFramework="net46" />
<package id="System.IO.FileSystem.Primitives" version="4.3.0" targetFramework="net46" />
<package id="System.Linq" version="4.3.0" targetFramework="net46" requireReinstallation="true" />
<package id="System.Linq.Expressions" version="4.3.0" targetFramework="net46" requireReinstallation="true" />
<package id="System.Net.Http" version="4.3.4" targetFramework="net46" />
<package id="System.Linq" version="4.3.0" targetFramework="net46" />
<package id="System.Linq.Expressions" version="4.3.0" targetFramework="net46" />
<package id="System.Net.Http" version="4.3.0" targetFramework="net46" />
<package id="System.Net.Primitives" version="4.3.0" targetFramework="net46" />
<package id="System.Net.Sockets" version="4.3.0" targetFramework="net46" />
<package id="System.ObjectModel" version="4.3.0" targetFramework="net46" />
<package id="System.Reflection" version="4.3.0" targetFramework="net46" requireReinstallation="true" />
<package id="System.Reflection" version="4.3.0" targetFramework="net46" />
<package id="System.Reflection.Extensions" version="4.3.0" targetFramework="net46" />
<package id="System.Reflection.Primitives" version="4.3.0" targetFramework="net46" />
<package id="System.Resources.ResourceManager" version="4.3.0" targetFramework="net46" />
<package id="System.Runtime" version="4.3.0" targetFramework="net46" requireReinstallation="true" />
<package id="System.Runtime.Extensions" version="4.3.0" targetFramework="net46" requireReinstallation="true" />
<package id="System.Runtime" version="4.3.0" targetFramework="net46" />
<package id="System.Runtime.Extensions" version="4.3.0" targetFramework="net46" />
<package id="System.Runtime.Handles" version="4.3.0" targetFramework="net46" />
<package id="System.Runtime.InteropServices" version="4.3.0" targetFramework="net46" requireReinstallation="true" />
<package id="System.Runtime.InteropServices" version="4.3.0" targetFramework="net46" />
<package id="System.Runtime.InteropServices.RuntimeInformation" version="4.3.0" targetFramework="net46" />
<package id="System.Runtime.Numerics" version="4.3.0" targetFramework="net46" />
<package id="System.Security.Cryptography.Algorithms" version="4.3.0" targetFramework="net46" requireReinstallation="true" />
<package id="System.Security.Cryptography.Algorithms" version="4.3.0" targetFramework="net46" />
<package id="System.Security.Cryptography.Encoding" version="4.3.0" targetFramework="net46" />
<package id="System.Security.Cryptography.Primitives" version="4.3.0" targetFramework="net46" />
<package id="System.Security.Cryptography.X509Certificates" version="4.3.0" targetFramework="net46" requireReinstallation="true" />
<package id="System.Security.Cryptography.X509Certificates" version="4.3.0" targetFramework="net46" />
<package id="System.Text.Encoding" version="4.3.0" targetFramework="net46" />
<package id="System.Text.Encoding.Extensions" version="4.3.0" targetFramework="net46" />
<package id="System.Text.RegularExpressions" version="4.3.0" targetFramework="net46" requireReinstallation="true" />
<package id="System.Text.RegularExpressions" version="4.3.0" targetFramework="net46" />
<package id="System.Threading" version="4.3.0" targetFramework="net46" />
<package id="System.Threading.Tasks" version="4.3.0" targetFramework="net46" />
<package id="System.Threading.Timer" version="4.3.0" targetFramework="net46" />

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

View file

@ -1,4 +1,4 @@
using System.Reflection;
using System.Reflection;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
@ -31,7 +31,5 @@ using System.Runtime.InteropServices;
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.14.2")]
[assembly: AssemblyFileVersion("1.0.14.2")]
[assembly: AssemblyInformationalVersion("1.0.0-alpha-02")]
[assembly: AssemblyVersion("1.0.14.0")]
[assembly: AssemblyFileVersion("1.0.14.0")]

View file

@ -19,7 +19,7 @@ namespace SweetLib.Demo.Properties {
// -Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
// Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
// mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {

View file

@ -12,7 +12,7 @@ namespace SweetLib.Demo.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.3.0.0")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.3.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));

View file

@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SweetLib.Demo</RootNamespace>
<AssemblyName>SweetLib.Demo</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<TargetFrameworkProfile />

View file

@ -5,44 +5,44 @@
<package id="Microsoft.Win32.Registry" version="4.3.0" targetFramework="net46" />
<package id="NETStandard.Library" version="1.6.1" targetFramework="net46" />
<package id="SweetLib" version="0.2.0-alpha" targetFramework="net46" />
<package id="System.AppContext" version="4.3.0" targetFramework="net46" requireReinstallation="true" />
<package id="System.AppContext" version="4.3.0" targetFramework="net46" />
<package id="System.Collections" version="4.3.0" targetFramework="net46" />
<package id="System.Collections.Concurrent" version="4.3.0" targetFramework="net46" />
<package id="System.Console" version="4.3.0" targetFramework="net46" />
<package id="System.Diagnostics.Debug" version="4.3.0" targetFramework="net46" />
<package id="System.Diagnostics.DiagnosticSource" version="4.3.0" targetFramework="net46" />
<package id="System.Diagnostics.Tools" version="4.3.0" targetFramework="net46" />
<package id="System.Diagnostics.Tracing" version="4.3.0" targetFramework="net46" requireReinstallation="true" />
<package id="System.Diagnostics.Tracing" version="4.3.0" targetFramework="net46" />
<package id="System.Globalization" version="4.3.0" targetFramework="net46" />
<package id="System.Globalization.Calendars" version="4.3.0" targetFramework="net46" />
<package id="System.IO" version="4.3.0" targetFramework="net46" requireReinstallation="true" />
<package id="System.IO" version="4.3.0" targetFramework="net46" />
<package id="System.IO.Compression" version="4.3.0" targetFramework="net46" />
<package id="System.IO.Compression.ZipFile" version="4.3.0" targetFramework="net46" />
<package id="System.IO.FileSystem" version="4.3.0" targetFramework="net46" />
<package id="System.IO.FileSystem.Primitives" version="4.3.0" targetFramework="net46" />
<package id="System.Linq" version="4.3.0" targetFramework="net46" requireReinstallation="true" />
<package id="System.Linq.Expressions" version="4.3.0" targetFramework="net46" requireReinstallation="true" />
<package id="System.Net.Http" version="4.3.4" targetFramework="net46" />
<package id="System.Linq" version="4.3.0" targetFramework="net46" />
<package id="System.Linq.Expressions" version="4.3.0" targetFramework="net46" />
<package id="System.Net.Http" version="4.3.0" targetFramework="net46" />
<package id="System.Net.Primitives" version="4.3.0" targetFramework="net46" />
<package id="System.Net.Sockets" version="4.3.0" targetFramework="net46" />
<package id="System.ObjectModel" version="4.3.0" targetFramework="net46" />
<package id="System.Reflection" version="4.3.0" targetFramework="net46" requireReinstallation="true" />
<package id="System.Reflection" version="4.3.0" targetFramework="net46" />
<package id="System.Reflection.Extensions" version="4.3.0" targetFramework="net46" />
<package id="System.Reflection.Primitives" version="4.3.0" targetFramework="net46" />
<package id="System.Resources.ResourceManager" version="4.3.0" targetFramework="net46" />
<package id="System.Runtime" version="4.3.0" targetFramework="net46" requireReinstallation="true" />
<package id="System.Runtime.Extensions" version="4.3.0" targetFramework="net46" requireReinstallation="true" />
<package id="System.Runtime" version="4.3.0" targetFramework="net46" />
<package id="System.Runtime.Extensions" version="4.3.0" targetFramework="net46" />
<package id="System.Runtime.Handles" version="4.3.0" targetFramework="net46" />
<package id="System.Runtime.InteropServices" version="4.3.0" targetFramework="net46" requireReinstallation="true" />
<package id="System.Runtime.InteropServices" version="4.3.0" targetFramework="net46" />
<package id="System.Runtime.InteropServices.RuntimeInformation" version="4.3.0" targetFramework="net46" />
<package id="System.Runtime.Numerics" version="4.3.0" targetFramework="net46" />
<package id="System.Security.Cryptography.Algorithms" version="4.3.0" targetFramework="net46" requireReinstallation="true" />
<package id="System.Security.Cryptography.Algorithms" version="4.3.0" targetFramework="net46" />
<package id="System.Security.Cryptography.Encoding" version="4.3.0" targetFramework="net46" />
<package id="System.Security.Cryptography.Primitives" version="4.3.0" targetFramework="net46" />
<package id="System.Security.Cryptography.X509Certificates" version="4.3.0" targetFramework="net46" requireReinstallation="true" />
<package id="System.Security.Cryptography.X509Certificates" version="4.3.0" targetFramework="net46" />
<package id="System.Text.Encoding" version="4.3.0" targetFramework="net46" />
<package id="System.Text.Encoding.Extensions" version="4.3.0" targetFramework="net46" />
<package id="System.Text.RegularExpressions" version="4.3.0" targetFramework="net46" requireReinstallation="true" />
<package id="System.Text.RegularExpressions" version="4.3.0" targetFramework="net46" />
<package id="System.Threading" version="4.3.0" targetFramework="net46" />
<package id="System.Threading.Tasks" version="4.3.0" targetFramework="net46" />
<package id="System.Threading.Timer" version="4.3.0" targetFramework="net46" />

View file

@ -58,7 +58,9 @@ namespace SweetLib.IO.Classes.Streaming
private static byte[] LoadFromStream(Stream stream, StreamedObjectType type)
{
LoadMetaDataFromStream(stream, out StreamedObjectType foundType, out long length);
long length;
LoadMetaDataFromStream(stream, out StreamedObjectType foundType, out length);
if (foundType != type)
throw new StreamTypeException($"Expected {type} but found {foundType} instead.");
@ -154,7 +156,6 @@ namespace SweetLib.IO.Classes.Streaming
/// </summary>
/// <param name="stream"><see cref="Stream"/> to which the <see cref="Stream"/> will be added.</param>
/// <param name="value"><see cref="Stream"/> value to add.</param>
/// <param name="resetSourceStream">If true, the full given <see cref="value"/> will be copied, otherwhise the stream will be copied from current position until its end.</param>
public static void SaveToStream(Stream stream, Stream value, bool resetSourceStream = false)
{
if (resetSourceStream)

View file

@ -1,42 +1,26 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>0.1.0-alpha.1</Version>
<TargetFramework>netstandard1.3</TargetFramework>
<Version>0.1.0-alpha</Version>
<Description>SweetLib IO package</Description>
<Authors>Serraniel</Authors>
<Company />
<Copyright>Copyright © 2017-2020 by Serraniel</Copyright>
<PackageLicenseUrl></PackageLicenseUrl>
<Copyright>Copyright © 2017 by Serraniel</Copyright>
<PackageLicenseUrl>https://joinup.ec.europa.eu/page/eupl-text-11-12</PackageLicenseUrl>
<PackageProjectUrl>https://github.com/Serraniel/SweetLib</PackageProjectUrl>
<RepositoryUrl>https://github.com/Serraniel/SweetLib</RepositoryUrl>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageIconUrl>https://github.com/Serraniel/SweetLib/blob/develop/nuget_icon.png?raw=true</PackageIconUrl>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<AssemblyVersion>0.1.0.3</AssemblyVersion>
<FileVersion>0.1.0.3</FileVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DocumentationFile>bin\Release\netstandard1.3\SweetLib.IO.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DocumentationFile>..\Docs\SweetLib.IO</DocumentationFile>
<OutputPath></OutputPath>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="SweetLib" Version="0.2.1-alpha" />
<PackageReference Include="Vsxmd" Version="1.2.0" />
</ItemGroup>
<ItemGroup>
<None Include="..\LICENSE">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
<ProjectReference Include="..\SweetLib\SweetLib.csproj" />
</ItemGroup>
</Project>

View file

@ -1,42 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>0.1.0-alpha.1</Version>
<Description>SweetLib Storage package</Description>
<Authors>Serraniel</Authors>
<Company />
<Copyright>Copyright © 2017-2022 by Serraniel</Copyright>
<PackageLicenseUrl></PackageLicenseUrl>
<PackageProjectUrl>https://github.com/Serraniel/SweetLib</PackageProjectUrl>
<RepositoryUrl>https://github.com/Serraniel/SweetLib</RepositoryUrl>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageIconUrl>https://github.com/Serraniel/SweetLib/blob/develop/nuget_icon.png?raw=true</PackageIconUrl>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<AssemblyVersion>0.1.0.3</AssemblyVersion>
<FileVersion>0.1.0.3</FileVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DocumentationFile>bin\Release\netstandard1.3\SweetLib.IO.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DocumentationFile>..\Docs\SweetLib.Storage</DocumentationFile>
<OutputPath></OutputPath>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="SweetLib" Version="0.2.1-alpha" />
<PackageReference Include="Vsxmd" Version="1.2.0" />
</ItemGroup>
<ItemGroup>
<None Include="..\LICENSE">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>
</Project>

View file

@ -1,18 +0,0 @@
<?xml version="1.0"?>
<package >
<metadata>
<id>$id$</id>
<version>$version$-alpha</version>
<title>$title$</title>
<authors>Serraniel</authors>
<owners>$author$</owners>
<licenseUrl>https://opensource.org/licenses/GPL-3.0</licenseUrl>
<projectUrl>https://github.com/Serraniel/SweetLib</projectUrl>
<iconUrl>https://github.com/Serraniel/SweetLib/blob/develop/nuget_icon.png?raw=true</iconUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<description>$description$</description>
<releaseNotes>First pre version just to try that nuget package thing :)</releaseNotes>
<copyright>Copyright © 2017 Serraniel</copyright>
<tags>Utility</tags>
</metadata>
</package>

View file

@ -1,2 +0,0 @@
nuget pack SweetLib.Storage.csproj -properties Configuration=Release -symbols
pause

View file

@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.33103.201
# Visual Studio 15
VisualStudioVersion = 15.0.26730.16
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SweetLib.Demo", "SweetLib.Demo\SweetLib.Demo.csproj", "{9350E0D4-9FE7-49D5-ACDE-E857E547889C}"
EndProject
@ -13,9 +13,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Demo", "Demo", "{5C88E7F1-5
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{9036EBA5-45D0-441D-9C81-AF4F86C8A8F8}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SweetLib.IO", "SweetLib.IO\SweetLib.IO.csproj", "{0874043E-42B3-43B2-B3BB-726CEE4142E9}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SweetLib.Storage", "SweetLib.Storage\SweetLib.Storage.csproj", "{E08BDA4B-BA1E-44F8-9D97-D11F80F8F9F0}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SweetLib.IO", "SweetLib.IO\SweetLib.IO.csproj", "{0874043E-42B3-43B2-B3BB-726CEE4142E9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -39,10 +37,6 @@ Global
{0874043E-42B3-43B2-B3BB-726CEE4142E9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0874043E-42B3-43B2-B3BB-726CEE4142E9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0874043E-42B3-43B2-B3BB-726CEE4142E9}.Release|Any CPU.Build.0 = Release|Any CPU
{E08BDA4B-BA1E-44F8-9D97-D11F80F8F9F0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E08BDA4B-BA1E-44F8-9D97-D11F80F8F9F0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E08BDA4B-BA1E-44F8-9D97-D11F80F8F9F0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E08BDA4B-BA1E-44F8-9D97-D11F80F8F9F0}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

View file

@ -37,7 +37,8 @@ namespace SweetLib.Classes.Storer
public int ReadInteger(string section, string key, int defaultValue = 0)
{
if (!int.TryParse(ReadString(section, key, defaultValue.ToString()), out int result))
int result;
if (!int.TryParse(ReadString(section, key, defaultValue.ToString()), out result))
result = defaultValue;
return result;

View file

@ -47,7 +47,8 @@ namespace SweetLib.Classes.Storer
public int ReadInteger(string section, string key, int defaultValue = 0)
{
if (!int.TryParse(ReadString(section, key, defaultValue.ToString()), out int result))
int result;
if (!int.TryParse(ReadString(section, key, defaultValue.ToString()), out result))
result = defaultValue;
return result;

View file

@ -1,46 +1,26 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Version>0.2.1-alpha.2</Version>
<TargetFramework>netstandard1.3</TargetFramework>
<Version>0.2.0-alpha</Version>
<Description>Sweet collection of helpful utils in .Net</Description>
<Authors>Serraniel</Authors>
<Company />
<Copyright>Copyright © 2017-2020 by Serraniel</Copyright>
<PackageLicenseUrl></PackageLicenseUrl>
<Copyright>Copyright © 2017 by Serraniel</Copyright>
<PackageLicenseUrl>https://joinup.ec.europa.eu/page/eupl-text-11-12</PackageLicenseUrl>
<PackageProjectUrl>https://github.com/Serraniel/SweetLib</PackageProjectUrl>
<RepositoryUrl>https://github.com/Serraniel/SweetLib</RepositoryUrl>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageIconUrl>https://github.com/Serraniel/SweetLib/blob/develop/nuget_icon.png?raw=true</PackageIconUrl>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<RepositoryType>Git</RepositoryType>
<AssemblyVersion>0.2.1.7</AssemblyVersion>
<FileVersion>0.2.1.7</FileVersion>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DocumentationFile>bin\Release\netstandard1.3\SweetLib.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DocumentationFile>..\Docs\SweetLib</DocumentationFile>
<OutputPath></OutputPath>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" />
<PackageReference Include="Vsxmd" Version="1.4.5">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<None Include="..\LICENSE">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
<PackageReference Include="Microsoft.Win32.Registry" Version="4.3.0" />
</ItemGroup>
</Project>

View file

@ -18,8 +18,6 @@ namespace SweetLib.Utils.Logger.Memory
public string ArchiveFile { get; set; }
public bool AutoProcessQueue { get; set; } = true;
public bool AutoArchiveOnDispose { get; set; } = true;
public ArchivableConsoleLogMemory() : this(null) { }
@ -62,7 +60,8 @@ namespace SweetLib.Utils.Logger.Memory
{
while (!LogQueue.IsEmpty)
{
if (LogQueue.TryDequeue(out LogMessage message))
LogMessage message;
if (LogQueue.TryDequeue(out message))
File.AppendAllText(TempFile, message.ToString() + Environment.NewLine);
}
}
@ -71,7 +70,8 @@ namespace SweetLib.Utils.Logger.Memory
{
while (!LogQueue.IsEmpty)
{
if (LogQueue.TryDequeue(out LogMessage message))
LogMessage message;
if (LogQueue.TryDequeue(out message))
File.AppendAllText(TempFile, message.ToString() + Environment.NewLine);
}
}
@ -104,9 +104,6 @@ namespace SweetLib.Utils.Logger.Memory
LogQueue.Enqueue(message);
Console.ForegroundColor = consoleColor;
if (AutoProcessQueue)
ProcessQueue();
}
@ -166,6 +163,8 @@ namespace SweetLib.Utils.Logger.Memory
}
catch (FileNotFoundException)
{
if (disposing)
throw;
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 300 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 542 KiB

After

Width:  |  Height:  |  Size: 300 KiB