Class TypeLocation
Represents a location used for dynamic type searches
Inheritance
System.Object
TypeLocation
Inherited Members
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: Azos.Wave.Handlers
Assembly: Azos.Wave.dll
Syntax
public sealed class TypeLocation : INamed, IOrdered
Constructors
TypeLocation(IConfigSectionNode)
Declaration
public TypeLocation(IConfigSectionNode confNode)
Parameters
Type | Name | Description |
---|---|---|
IConfigSectionNode | confNode |
TypeLocation(String, Int32, String, Assembly, String[])
Declaration
public TypeLocation(string name, int order, string portal, Assembly assembly, params string[] namespaces)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Int32 | order | |
System.String | portal | |
System.Reflection.Assembly | assembly | |
System.String[] | namespaces |
TypeLocation(String, Int32, String, String, String[])
Declaration
public TypeLocation(string name, int order, string portal, string assemblyName, params string[] namespaces)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Int32 | order | |
System.String | portal | |
System.String | assemblyName | |
System.String[] | namespaces |
Fields
Assembly
Assembly reference. When this property is set then AssemblyName==null
Declaration
public readonly Assembly Assembly
Field Value
Type | Description |
---|---|
System.Reflection.Assembly |
AssemblyName
Name of assembly. When this property is set then Assembly==null
Declaration
public readonly string AssemblyName
Field Value
Type | Description |
---|---|
System.String |
CONFIG_ASSEMBLY_NAME_ATTR
Declaration
public const string CONFIG_ASSEMBLY_NAME_ATTR = "assembly"
Field Value
Type | Description |
---|---|
System.String |
CONFIG_NAMESPACE_SECTION
Declaration
public const string CONFIG_NAMESPACE_SECTION = "ns"
Field Value
Type | Description |
---|---|
System.String |
CONFIG_PORTAL_ATTR
Declaration
public const string CONFIG_PORTAL_ATTR = "portal"
Field Value
Type | Description |
---|---|
System.String |
CONFIG_TYPE_LOCATION_SECTION
Declaration
public const string CONFIG_TYPE_LOCATION_SECTION = "type-location"
Field Value
Type | Description |
---|---|
System.String |
Namespaces
A list of namespaces
Declaration
public readonly IEnumerable<string> Namespaces
Field Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |
Portal
Name of portal. When this property is set then this location will only be matched if WorkContext.Portal.Name matches for given request. NUll by default
Declaration
public readonly string Portal
Field Value
Type | Description |
---|---|
System.String |
Properties
Name
Location name
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Order
Location order
Declaration
public int Order { get; }
Property Value
Type | Description |
---|---|
System.Int32 |