Click or drag to resize

TypeResolver Class

Default ITypeResolver that uses assembly-qualified type names and supports type aliases.
Inheritance Hierarchy
SystemObject
  NRules.JsonTypeResolver

Namespace:  NRules.Json
Assembly:  NRules.Json (in NRules.Json.dll) Version: 0.9.3
Syntax
C#
public class TypeResolver : ITypeResolver

The TypeResolver type exposes the following members.

Constructors
  NameDescription
Public methodTypeResolver
Initializes a new instance of the TypeResolver class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetTypeFromName
Gets the CLR type that corresponds to the type name, retrieved from the JSON document.
Public methodGetTypeName
Gets the name of the type from the CLR type, for the purpose of JSON serialization.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRegisterAlias
Registers an alias for a CLR type for the purpose of JSON serialization.
Public methodRegisterDefaultAliases
Registers built-in C# types as aliases for rule serialization.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also