Class HostDefinitionExtensions
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Inheritance
System.Object
HostDefinitionExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web.Internal
Assembly: EPiServer.dll
Version: 11.20.7Syntax
public static class HostDefinitionExtensions
Methods
Find(IEnumerable<HostDefinition>, String, Boolean)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Declaration
public static HostDefinition Find(this IEnumerable<HostDefinition> hosts, string hostName, bool fallbackToWildcard)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<HostDefinition> | hosts | |
System.String | hostName | |
System.Boolean | fallbackToWildcard |
Returns
Type | Description |
---|---|
HostDefinition |
FirstOfType(IEnumerable<HostDefinition>, HostDefinitionType)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Declaration
public static HostDefinition FirstOfType(this IEnumerable<HostDefinition> hosts, HostDefinitionType type)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<HostDefinition> | hosts | |
HostDefinitionType | type |
Returns
Type | Description |
---|---|
HostDefinition |
IsRedirect(HostDefinitionType)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.
Declaration
public static bool IsRedirect(this HostDefinitionType type)
Parameters
Type | Name | Description |
---|---|---|
HostDefinitionType | type |
Returns
Type | Description |
---|---|
System.Boolean |