Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Support.Serializers.GeneralFormatter Class

General serializer/deserializer

It determines the format when deserializing and calls the appropriate deserializer (simple, text, binary). When serializing it uses the globally defined format. For debugging it's best to use "text", and in production "simple". "binary" is not supported. This means there can be a mix of formats in production which will be unified when saving data and when data is restored.

Namespace: YetaWF.Core.Support.Serializers
Assembly: YetaWF.Core

Inheritance

Syntax

public class GeneralFormatter;

Constructors

PublicGeneralFormatterConstructor.

Properties

PublicFormat(not specified)
PublicFormatExplicit(not specified)

Methods

PublicDeserializeDeserialize from FileStream
PublicInherited from System.ObjectEqualsDetermines whether the specified object is equal to the current object.
ProtectedInherited from System.ObjectFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
PublicInherited from System.ObjectGetHashCodeServes as the default hash function.
PublicInherited from System.ObjectGetTypeGets the Type of the current instance.
ProtectedInherited from System.ObjectMemberwiseCloneCreates a shallow copy of the current Object.
PublicStaticInherited from System.ObjectReferenceEqualsDetermines whether the specified Object instances are the same instance.
PublicStaticRegisterTypeConversion(not specified)
PublicSerialize(not specified)
PublicInherited from System.ObjectToStringReturns a string that represents the current object.

Enums

ProtectedStyle(not specified)

See Also YetaWF.Core Overview