ObjectResolver Class

Resolves Objects by a specified element using dynamic type conversions and operations from the System.Reflection namespace.

Inheritance Hierarchy

System.Object
  TcHmiSrv.Core.Tools.Resolving.Resolvers.Resolver
    TcHmiSrv.Core.Tools.Resolving.Resolvers.ObjectResolver
Namespace:  TcHmiSrv.Core.Tools.Resolving.Resolvers
Assembly:  TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0

Syntax

C#

public class ObjectResolver : Resolver

The ObjectResolver type exposes the following members.

Constructors

 

Name

Description

ObjectResolver Class 1:

ObjectResolver(BindingFlags)

Initializes a new instance of the ObjectResolver class with the specified BindingFlags and All.

ObjectResolver Class 2:

ObjectResolver(IncludeFlags)

Initializes a new instance of the ObjectResolver class with the specified IncludeFlags and DefaultLookup.

ObjectResolver Class 3:

ObjectResolver(IncludeFlags, BindingFlags)

Initializes a new instance of the ObjectResolver class with the specified IncludeFlags and BindingFlags.

Properties

 

Name

Description

ObjectResolver Class 4:

BindingFlags

Gets the BindingFlags that specify how the search of fields and properties is conducted.

ObjectResolver Class 5:

CanRead

Gets a value that indicates whether this Resolver can read elements.
The default value is true. (Inherited from Resolver.)

ObjectResolver Class 6:

CanWrite

Gets a value that indicates whether this Resolver can write elements.
The default value is true. (Inherited from Resolver.)

ObjectResolver Class 7:

ObjectResolver Class 8:

DefaultResolver

Gets a default ObjectResolver with All and DefaultLookup.

ObjectResolver Class 9:

IncludeFlags

Gets the IncludeFlags that specify which elements can be read and written.

Methods

 

Name

Description

ObjectResolver Class 10:

CanResolve

Determines whether this Resolver can resolve Objects of the specified Type. (Overrides Resolver.CanResolve(Type).)

ObjectResolver Class 11:

Equals

Determines whether the specified object is equal to the current object. (Inherited from Object.)

ObjectResolver Class 12:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

ObjectResolver Class 13:

GetHashCode

Serves as the default hash function. (Inherited from Object.)

ObjectResolver Class 14:

GetType

Gets the Type of the current instance. (Inherited from Object.)

ObjectResolver Class 15:

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

ObjectResolver Class 16:

ReadElement

Reads the specified element from the current Object. (Overrides Resolver.ReadElement(Object, String).)

ObjectResolver Class 17:

ToString

Returns a string that represents the current object. (Inherited from Object.)

ObjectResolver Class 18:

WriteElement

Writes the specified Object to the specified element of the current Object. (Overrides Resolver.WriteElement(Object, String, Object, Converter).)

Fields

 

Name

Description

ObjectResolver Class 19:

ObjectResolver Class 20:

DefaultLookup

Contains the default BindingFlags for field and property lookup.

Reference

TcHmiSrv.Core.Tools.Resolving.Resolvers Namespace