Table of Contents

Class Descriptor

Namespace
Coherence.Toolkit.Bindings
Assembly
Coherence.Toolkit.dll
public class Descriptor
Inheritance
Descriptor
Derived

Constructors

Descriptor(string, Type, Type, bool)

public Descriptor(string name, Type ownerType, Type bindingType, bool required = false)

Parameters

name string
ownerType Type
bindingType Type
required bool

Descriptor(Type, MemberInfo)

public Descriptor(Type ownerType, MemberInfo memberInfo)

Parameters

ownerType Type
memberInfo MemberInfo

Descriptor(Type, MethodInfo)

public Descriptor(Type ownerType, MethodInfo methodInfo)

Parameters

ownerType Type
methodInfo MethodInfo

Fields

CustomData

CustomData can be used by a BindingProvider to provide additional data to a custom binding, e.g., an id, hash or name to be use by the Value implementation. The object needs to be Serializable and must not be a value type. For more information, see SerializeReference.

public object CustomData

Field Value

object

Properties

BakedCSharpType

public virtual string BakedCSharpType { get; }

Property Value

string

BindingType

public Type BindingType { get; }

Property Value

Type

DefaultRouting

public MessageTarget DefaultRouting { get; }

Property Value

MessageTarget

EnforcesLODingWhenFieldsOverriden

public bool EnforcesLODingWhenFieldsOverriden { get; }

Property Value

bool

IsMethod

public bool IsMethod { get; }

Property Value

bool

MemberType

public MemberTypes MemberType { get; }

Property Value

MemberTypes

MonoAssemblyType

public string MonoAssemblyType { get; }

Property Value

string

Name

public string Name { get; }

Property Value

string

OwnerAssemblyQualifiedName

public string OwnerAssemblyQualifiedName { get; }

Property Value

string

OwnerType

public Type OwnerType { get; }

Property Value

Type

ParameterAssemblyTypes

public List<string> ParameterAssemblyTypes { get; }

Property Value

List<string>

Required

public bool Required { get; }

Property Value

bool

Signature

Rich text representation of the binding's name and type that is displayed in the Configure and Optimize binding windows.

public virtual string Signature { get; }

Property Value

string

ValueSyncCallbackName

public string ValueSyncCallbackName { get; }

Property Value

string

Methods

Equals(Descriptor)

public bool Equals(Descriptor other)

Parameters

other Descriptor

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

IsDescriptorRelated(Descriptor)

public bool IsDescriptorRelated(Descriptor other)

Parameters

other Descriptor

Returns

bool

ShouldDefaultToNoneInterpolation()

public bool ShouldDefaultToNoneInterpolation()

Returns

bool

Operators

operator ==(Descriptor, Descriptor)

public static bool operator ==(Descriptor obj1, Descriptor obj2)

Parameters

obj1 Descriptor
obj2 Descriptor

Returns

bool

operator !=(Descriptor, Descriptor)

public static bool operator !=(Descriptor obj1, Descriptor obj2)

Parameters

obj1 Descriptor
obj2 Descriptor

Returns

bool