Show / Hide Table of Contents

Class KnownTypesContainer

Контейнер известных типов для сериализации.

Inheritance
System.Object
KnownTypesContainer
Namespace:InfinniPlatform.Serialization
Assembly:InfinniPlatform.Core.Abstractions.dll
Syntax
public class KnownTypesContainer : IEnumerable<KeyValuePair<Type, string>>

Methods

| Improve this Doc View Source

Add(Type, String)

Добавить тип.

Declaration
public KnownTypesContainer Add(Type type, string name)
Parameters
Type Name Description
Type type

Тип.

System.String name

Имя типа.

Returns
Type Description
KnownTypesContainer
| Improve this Doc View Source

Add<T>(String)

Добавить тип.

Declaration
public KnownTypesContainer Add<T>(string name)
Parameters
Type Name Description
System.String name

Имя типа.

Returns
Type Description
KnownTypesContainer
Type Parameters
Name Description
T

Тип.

| Improve this Doc View Source

GetEnumerator()

Declaration
public IEnumerator<KeyValuePair<Type, string>> GetEnumerator()
Returns
Type Description
IEnumerator<KeyValuePair<Type, System.String>>
| Improve this Doc View Source

GetName(Type)

Получить имя типа по типу.

Declaration
public string GetName(Type type)
Parameters
Type Name Description
Type type

Тип.

Returns
Type Description
System.String

Имя типа.

| Improve this Doc View Source

GetType(String)

Получить тип по имени типа.

Declaration
public Type GetType(string name)
Parameters
Type Name Description
System.String name

Имя типа.

Returns
Type Description
Type

Тип.

| Improve this Doc View Source

HasName(String)

Содержит тип с указанным именем.

Declaration
public bool HasName(string name)
Parameters
Type Name Description
System.String name

Имя типа.

Returns
Type Description
System.Boolean
| Improve this Doc View Source

HasType(Type)

Содержит указанный тип.

Declaration
public bool HasType(Type type)
Parameters
Type Name Description
Type type

Тип.

Returns
Type Description
System.Boolean
| Improve this Doc View Source

IsKnownType(Type)

Является известным типом.

Declaration
public bool IsKnownType(Type type)
Parameters
Type Name Description
Type type

Тип.

Returns
Type Description
System.Boolean

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)
CommonExtensions.ExecuteSilent<T>(T, Action<T>)
  • Improve this Doc
  • View Source
Back to top © Copyright Infinnity Solutions Ltd, 2010–2017.