docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ServiceHostResolverExtensions

    Helper methods for IServiceHostResolver.

    Inheritance
    object
    ServiceHostResolverExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Cloud.Common
    Assembly: Unity.Cloud.Common.dll
    Syntax
    public static class ServiceHostResolverExtensions

    Methods

    CreateCopyWithDomainResolverOverride(IServiceHostResolver, IServiceDomainResolver)

    Creates a copy of the serviceHostResolver with the given domainResolverOverride.

    Declaration
    public static IServiceHostResolver CreateCopyWithDomainResolverOverride(this IServiceHostResolver serviceHostResolver, IServiceDomainResolver domainResolverOverride)
    Parameters
    Type Name Description
    IServiceHostResolver serviceHostResolver

    The IServiceHostResolver to copy.

    IServiceDomainResolver domainResolverOverride

    The IServiceDomainResolver to initialize the copy with.

    Returns
    Type Description
    IServiceHostResolver
    Exceptions
    Type Condition
    ArgumentNullException

    Thrown if either serviceHostResolver or domainResolverOverride are null.

    GetResolvedServiceHost(IServiceHostResolver)

    Returns an instance of ServiceHost initialized with values resolved from the serviceHostResolver.

    Declaration
    public static ServiceHost GetResolvedServiceHost(this IServiceHostResolver serviceHostResolver)
    Parameters
    Type Name Description
    IServiceHostResolver serviceHostResolver

    The IServiceHostResolver from which to create a ServiceHost.

    Returns
    Type Description
    ServiceHost
    Exceptions
    Type Condition
    ArgumentNullException

    Thrown if serviceHostResolver is null.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)