Class AppArgs
Settings retrieved from the application command line arguments.
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 AppArgs : Expando, IAppArgs, IExpando, IDynamicMetaObjectProvider, IIndexable
Constructors
| Improve this Doc View SourceAppArgs()
Initializes a new instance of the AppArgs class.
Declaration
public AppArgs()
AppArgs(IDictionary<String, Object>)
Initializes a new instance of the AppArgs class.
Declaration
public AppArgs(IDictionary<string, object> argValues)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> | argValues | The argument values. |
AppArgs(IEnumerable<String>)
Initializes a new instance of the AppArgs class.
Declaration
public AppArgs(IEnumerable<string> appArgs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.String> | appArgs | The application arguments. |
AppArgs(String)
Initializes a new instance of the AppArgs class.
Declaration
public AppArgs(string commandLine)
Parameters
Type | Name | Description |
---|---|---|
System.String | commandLine | The command line. |
Methods
| Improve this Doc View SourceComputeArgs(IEnumerable<String>)
Calculates the arguments as a dictionary of values.
Declaration
protected static IDictionary<string, object> ComputeArgs(IEnumerable<string> appArgs)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.String> | appArgs | The application arguments. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> | The calculated arguments. |
ComputeArgs(String)
Calculates the arguments as a dictionary of values.
Declaration
protected static IDictionary<string, object> ComputeArgs(string commandLine)
Parameters
Type | Name | Description |
---|---|---|
System.String | commandLine | The command line. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> | The calculated arguments. |
Implements
System.Dynamic.IDynamicMetaObjectProvider