Class TypeMemberSelectionRule
Type based member selection rule.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace:Extend
Assembly:Extend.dll
Syntax
public class TypeMemberSelectionRule : MemberSelectionRuleBase, IMemberSelectionRule
Constructors
| Improve this Doc View SourceTypeMemberSelectionRule(Type, MemberSelectionMode, CompareMode, String, String)
Initializes a new instance of the TypeMemberSelectionRule class.
Declaration
public TypeMemberSelectionRule(Type type, MemberSelectionMode selectionMode, CompareMode compareMode, string name = null, string description = null)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The type to compare with the type of given members. |
MemberSelectionMode | selectionMode | The selection mode to apply. |
CompareMode | compareMode | The compare mode to apply. |
System.String | name | The name of the rule. |
System.String | description | The description of the rule. |
Methods
| Improve this Doc View SourceGetSelectionResult(IMemberInformation)
Gets the selection result for the given member.
Declaration
public override MemberSelectionResult GetSelectionResult(IMemberInformation member)
Parameters
Type | Name | Description |
---|---|---|
IMemberInformation | member | The member to get the selection result for. |
Returns
Type | Description |
---|---|
MemberSelectionResult | Returns the selection result for the given member. |
Overrides
| Improve this Doc View SourceToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string that represents the current object. |
Overrides
System.Object.ToString()