Class AppInfo
Information about the application.
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.Application.Reflection
Assembly: Kephas.Application.dll
Syntax
public class AppInfo : Expando, IAppInfo, IElementInfo, IExpando, IDynamicMetaObjectProvider, IIndexable, IAttributeProvider
Constructors
| Improve this Doc View SourceAppInfo(String, Version, String)
Initializes a new instance of the AppInfo class.
Declaration
public AppInfo(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 SourceDescription
Gets the application 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 SourceIAppInfo.Parameters
Gets the application parameters.
Declaration
IEnumerable<IParameterInfo> IAppInfo.Parameters { get; }
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IParameterInfo> | The application parameters. |
IElementInfo.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 attribute of the provided type.
Declaration
IEnumerable<TAttribute> IAttributeProvider.GetAttributes<TAttribute>()
where TAttribute : Attribute
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<TAttribute> | The attribute of the provided type. |
Type Parameters
Name | Description |
---|---|
TAttribute | Type of the attribute. |
Implements
System.Dynamic.IDynamicMetaObjectProvider