Class MemberBindings
Represents a set of members with their values.
Implements
Inherited Members
Namespace: DotNext.Linq.Expressions
Assembly: DotNext.Metaprogramming.dll
Syntax
public sealed class MemberBindings : Dictionary<string, Expression>, IDictionary<string, Expression>, ICollection<KeyValuePair<string, Expression>>, IDictionary, ICollection, IReadOnlyDictionary<string, Expression>, IReadOnlyCollection<KeyValuePair<string, Expression>>, IEnumerable<KeyValuePair<string, Expression>>, IEnumerable, ISerializable, IDeserializationCallback
Constructors
View SourceMemberBindings()
Initializes a new empty set of members.
Declaration
public MemberBindings()
Methods
View SourceBind(Type)
Constructs a list of bindings.
Declaration
public IReadOnlyList<MemberAssignment> Bind(Type target)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | target | The target type with the declared members. |
Returns
| Type | Description |
|---|---|
| IReadOnlyList<MemberAssignment> | A list of bindings. |