Class PluginInfo
Information about the plugin.
Implements
System.Dynamic.IDynamicMetaObjectProvider
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.Plugins.Reflection
Assembly: Kephas.Plugins.dll
Syntax
public class PluginInfo : Expando, IPluginInfo, IElementInfo, IExpando, IDynamicMetaObjectProvider, IIndexable, IAttributeProvider
Constructors
| Improve this Doc View SourcePluginInfo(String, Version, String)
Initializes a new instance of the PluginInfo class.
Declaration
public PluginInfo(string name, Version version = null, string description = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name. |
System.Version | version | Optional. the version. |
System.String | description | Optional. The description. |
Properties
| Improve this Doc View SourceDependencies
Declaration
public IEnumerable<IPluginDependency> Dependencies { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IPluginDependency> |
Description
Gets the plugin description.
Declaration
public string Description { get; }
Property Value
Type | Description |
---|---|
System.String | The description. |
Name
Gets the application name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String | The application name. |
Version
Gets the application version.
Declaration
public Version Version { get; }
Property Value
Type | Description |
---|---|
System.Version | The application version. |
Explicit Interface Implementations
| Improve this Doc View SourceIElementInfo.Annotations
Gets the annotations.
Declaration
IEnumerable<object> IElementInfo.Annotations { get; }
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Object> | The annotations. |
IElementInfo.DeclaringContainer
Gets the declaring container.
Declaration
IElementInfo IElementInfo.DeclaringContainer { get; }
Returns
Type | Description |
---|---|
IElementInfo | The declaring container. |
IElementInfo.FullName
Gets the application full name.
Declaration
string IElementInfo.FullName { get; }
Returns
Type | Description |
---|---|
System.String | The application full name. |
IAttributeProvider.GetAttributes<TAttribute>()
Gets the attributes in this collection.
Declaration
IEnumerable<TAttribute> IAttributeProvider.GetAttributes<TAttribute>()
where TAttribute : Attribute
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<TAttribute> | An enumerator that allows foreach to be used to process the attributes in this collection. |
Type Parameters
Name | Description |
---|---|
TAttribute | Type of the attribute. |
Implements
System.Dynamic.IDynamicMetaObjectProvider