Class FeatureRef
A feature reference.
Inherited Members
System.Dynamic.DynamicObject.GetMetaObject(System.Linq.Expressions.Expression)
System.Dynamic.DynamicObject.TryBinaryOperation(System.Dynamic.BinaryOperationBinder, System.Object, System.Object)
System.Dynamic.DynamicObject.TryConvert(System.Dynamic.ConvertBinder, System.Object)
System.Dynamic.DynamicObject.TryCreateInstance(System.Dynamic.CreateInstanceBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryDeleteIndex(System.Dynamic.DeleteIndexBinder, System.Object[])
System.Dynamic.DynamicObject.TryDeleteMember(System.Dynamic.DeleteMemberBinder)
System.Dynamic.DynamicObject.TryGetIndex(System.Dynamic.GetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryInvoke(System.Dynamic.InvokeBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TrySetIndex(System.Dynamic.SetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryUnaryOperation(System.Dynamic.UnaryOperationBinder, System.Object)
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)
System.Object.ToString()
Namespace: Kephas.Application
Assembly: Kephas.Application.dll
Syntax
public class FeatureRef : Expando, IExpando, IDynamicMetaObjectProvider, IIndexable
Constructors
| Improve this Doc View SourceFeatureRef(String, String)
Initializes a new instance of the FeatureRef class.
Declaration
public FeatureRef(string name, string version)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The feature name. |
System.String | version | The feature version. |
Properties
| Improve this Doc View SourceName
Gets the feature name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String | The feature name. |
Version
Gets the feature version.
Declaration
public Version Version { get; }
Property Value
Type | Description |
---|---|
System.Version | The feature version. |
Methods
| Improve this Doc View SourceIsMatch(FeatureInfo)
Returns a value indicating whether the provided feature is a match for this feature reference.
Declaration
public bool IsMatch(FeatureInfo featureInfo)
Parameters
Type | Name | Description |
---|---|---|
FeatureInfo | featureInfo | Information describing the feature. |
Returns
Type | Description |
---|---|
System.Boolean | True if match, false if not. |
Implements
System.Dynamic.IDynamicMetaObjectProvider