Show / Hide Table of Contents

Interface IObjectSerializer

Сериализатор объектов.

Namespace:InfinniPlatform.Serialization
Assembly:InfinniPlatform.Core.Abstractions.dll
Syntax
public interface IObjectSerializer

Methods

| Improve this Doc View Source

Deserialize(Stream, Type)

Десериализовать объект.

Declaration
object Deserialize(Stream data, Type type)
Parameters
Type Name Description
Stream data

Поток для чтения сериализованного представление объекта.

Type type

Тип объекта.

Returns
Type Description
System.Object

Объект.

| Improve this Doc View Source

Deserialize(Byte[], Type)

Десериализовать объект.

Declaration
object Deserialize(byte[] data, Type type)
Parameters
Type Name Description
System.Byte[] data

Сериализованное представление объекта.

Type type

Тип объекта.

Returns
Type Description
System.Object

Объект.

| Improve this Doc View Source

Serialize(Stream, Object)

Сериализовать объект.

Declaration
void Serialize(Stream data, object value)
Parameters
Type Name Description
Stream data

Поток для записи сериализованного представление объекта.

System.Object value

Объект.

| Improve this Doc View Source

Serialize(Object)

Сериализовать объект.

Declaration
byte[] Serialize(object value)
Parameters
Type Name Description
System.Object value

Объект.

Returns
Type Description
System.Byte[]

Сериализованное представление объекта.

Extension Methods

DynamicCollectionExtensions.GetItem(Object, Int32)
DynamicCollectionExtensions.SetItem(Object, Int32, Object)
DynamicCollectionExtensions.AddItem(Object, Object)
DynamicCollectionExtensions.InsertItem(Object, Int32, Object)
DynamicCollectionExtensions.RemoveItem(Object, Object)
DynamicCollectionExtensions.RemoveItemAt(Object, Int32)
DynamicCollectionExtensions.MoveItem(Object, Object, Int32)
DynamicObjectExtensions.TryGetPropertyValue(Object, String)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TryGetPropertyValueByPath(Object, String)
DynamicObjectExtensions.TrySetPropertyValueByPath(Object, String, Object)
ReflectionExtensions.IsInstanceOfType(Object, Type)
ReflectionExtensions.GetMemberValue(Object, String)
ReflectionExtensions.SetMemberValue(Object, String, Object)
ReflectionExtensions.InvokeMember(Object, String, Object[], out Object, Type[])
ReflectionExtensions.GetFieldValue(Object, FieldInfo)
ReflectionExtensions.SetFieldValue(Object, FieldInfo, Object)
ReflectionExtensions.GetPropertyValue(Object, PropertyInfo)
ReflectionExtensions.SetPropertyValue(Object, PropertyInfo, Object)
ReflectionExtensions.GetMethodDelegate(Object, MethodInfo)
ReflectionExtensions.GetEventDelegate(Object, EventInfo)
ReflectionExtensions.SetEventDelegate(Object, EventInfo, Object)
SerializationExtensions.Deserialize<T>(IObjectSerializer, Byte[])
SerializationExtensions.Deserialize<T>(IObjectSerializer, Stream)
CommonExtensions.ExecuteSilent<T>(T, Action<T>)
  • Improve this Doc
  • View Source
Back to top © Copyright Infinnity Solutions Ltd, 2010–2017.