C# Класс System.Runtime.Serialization.FormatterServices

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CheckTypeSecurity ( System t, System securityLevel ) : void
CheckTypeSecurity ( Type t, TypeFilterLevel securityLevel ) : void
GetObjectData ( object obj, MemberInfo members ) : object[]
GetObjectData ( object obj, System members ) : object[]
GetSafeUninitializedObject ( System type ) : object
GetSafeUninitializedObject ( Type type ) : object
GetSerializableMembers ( Type type ) : System.Reflection.MemberInfo[]
GetSerializableMembers ( Type type, StreamingContext context ) : System.Reflection.MemberInfo[]
GetSerializableMembers ( System type ) : System.Reflection.MemberInfo[]
GetSerializableMembers ( System type, System context ) : System.Reflection.MemberInfo[]
GetSurrogateForCyclicalReference ( ISerializationSurrogate innerSurrogate ) : ISerializationSurrogate
GetSurrogateForCyclicalReference ( System innerSurrogate ) : System.Runtime.Serialization.ISerializationSurrogate
GetTypeFromAssembly ( Assembly assem, string name ) : Type
GetTypeFromAssembly ( System assem, string name ) : Type
GetUninitializedObject ( System type ) : object
GetUninitializedObject ( Type type ) : object
PopulateObjectMembers ( object obj, MemberInfo members, object data ) : object
PopulateObjectMembers ( object obj, System members, object data ) : object

Приватные методы

Метод Описание
GetClrAssemblyName ( Type type, bool &hasTypeForwardedFrom ) : string
GetClrTypeFullName ( Type type ) : string
GetClrTypeFullNameForArray ( Type type ) : string
GetClrTypeFullNameForNonArrayTypes ( Type type ) : string
GetSerializableFields ( Type type ) : System.Reflection.FieldInfo[]
LoadAssemblyFromString ( string assemblyName ) : Assembly
LoadAssemblyFromStringNoThrow ( string assemblyName ) : Assembly
SerializationSetValue ( MemberInfo fi, object target, object value ) : void

Описание методов

CheckTypeSecurity() публичный статический Метод

public static CheckTypeSecurity ( System t, System securityLevel ) : void
t System
securityLevel System
Результат void

CheckTypeSecurity() публичный статический Метод

public static CheckTypeSecurity ( Type t, TypeFilterLevel securityLevel ) : void
t System.Type
securityLevel TypeFilterLevel
Результат void

GetObjectData() публичный статический Метод

public static GetObjectData ( object obj, MemberInfo members ) : object[]
obj object
members System.Reflection.MemberInfo
Результат object[]

GetObjectData() публичный статический Метод

public static GetObjectData ( object obj, System members ) : object[]
obj object
members System
Результат object[]

GetSafeUninitializedObject() публичный статический Метод

public static GetSafeUninitializedObject ( System type ) : object
type System
Результат object

GetSafeUninitializedObject() публичный статический Метод

public static GetSafeUninitializedObject ( Type type ) : object
type System.Type
Результат object

GetSerializableMembers() публичный статический Метод

public static GetSerializableMembers ( Type type ) : System.Reflection.MemberInfo[]
type System.Type
Результат System.Reflection.MemberInfo[]

GetSerializableMembers() публичный статический Метод

public static GetSerializableMembers ( Type type, StreamingContext context ) : System.Reflection.MemberInfo[]
type System.Type
context StreamingContext
Результат System.Reflection.MemberInfo[]

GetSerializableMembers() публичный статический Метод

public static GetSerializableMembers ( System type ) : System.Reflection.MemberInfo[]
type System
Результат System.Reflection.MemberInfo[]

GetSerializableMembers() публичный статический Метод

public static GetSerializableMembers ( System type, System context ) : System.Reflection.MemberInfo[]
type System
context System
Результат System.Reflection.MemberInfo[]

GetSurrogateForCyclicalReference() публичный статический Метод

public static GetSurrogateForCyclicalReference ( ISerializationSurrogate innerSurrogate ) : ISerializationSurrogate
innerSurrogate ISerializationSurrogate
Результат ISerializationSurrogate

GetSurrogateForCyclicalReference() публичный статический Метод

public static GetSurrogateForCyclicalReference ( System innerSurrogate ) : System.Runtime.Serialization.ISerializationSurrogate
innerSurrogate System
Результат System.Runtime.Serialization.ISerializationSurrogate

GetTypeFromAssembly() публичный статический Метод

public static GetTypeFromAssembly ( Assembly assem, string name ) : Type
assem System.Reflection.Assembly
name string
Результат System.Type

GetTypeFromAssembly() публичный статический Метод

public static GetTypeFromAssembly ( System assem, string name ) : Type
assem System
name string
Результат System.Type

GetUninitializedObject() публичный статический Метод

public static GetUninitializedObject ( System type ) : object
type System
Результат object

GetUninitializedObject() публичный статический Метод

public static GetUninitializedObject ( Type type ) : object
type System.Type
Результат object

PopulateObjectMembers() публичный статический Метод

public static PopulateObjectMembers ( object obj, MemberInfo members, object data ) : object
obj object
members System.Reflection.MemberInfo
data object
Результат object

PopulateObjectMembers() публичный статический Метод

public static PopulateObjectMembers ( object obj, System members, object data ) : object
obj object
members System
data object
Результат object