Class HostConfigurationContext
A host configuration context.
Inheritance
System.Object
System.Dynamic.DynamicObject
HostConfigurationContext
Implements
System.Dynamic.IDynamicMetaObjectProvider
System.IDisposable
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.ServiceStack.Hosting
Assembly: Kephas.ServiceStack.dll
Syntax
public class HostConfigurationContext : Context, IHostConfigurationContext, IContext, IExpando, IDynamicMetaObjectProvider, IIndexable, ILoggable, IDisposable
Constructors
| Improve this Doc View SourceHostConfigurationContext(ICompositionContext, ServiceStackHost, HostConfig)
Initializes a new instance of the HostConfigurationContext class.
Declaration
public HostConfigurationContext(ICompositionContext compositionContext, ServiceStackHost host, HostConfig hostConfig)
Parameters
Type | Name | Description |
---|---|---|
ICompositionContext | compositionContext | The composition context. |
ServiceStack.ServiceStackHost | host | The host. |
ServiceStack.HostConfig | hostConfig | The host configuration. |
Properties
| Improve this Doc View SourceBaseUrls
Gets or sets the base urls.
Declaration
public string[] BaseUrls { get; set; }
Property Value
Type | Description |
---|---|
System.String[] | The base urls. |
Host
Gets the host.
Declaration
public ServiceStackHost Host { get; }
Property Value
Type | Description |
---|---|
ServiceStack.ServiceStackHost | The host. |
HostConfig
Gets the host configuration.
Declaration
public HostConfig HostConfig { get; }
Property Value
Type | Description |
---|---|
ServiceStack.HostConfig | The host configuration. |
Implements
System.Dynamic.IDynamicMetaObjectProvider
System.IDisposable