Search Results for

    Show / Hide Table of Contents

    Class ConfigExtensions

    This class contains convenience methods for working with Config.

    Inheritance
    object
    ConfigExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Configuration
    Assembly: Akka.dll
    Syntax
    public static class ConfigExtensions

    Methods

    | Edit this page View Source

    IsNullOrEmpty(Config)

    Determines if the supplied configuration has any usable content period.

    Declaration
    public static bool IsNullOrEmpty(this Config config)
    Parameters
    Type Name Description
    Config config

    The configuration used as the source.

    Returns
    Type Description
    bool

    true> if the Config is null or IsEmpty; otherwise false.

    | Edit this page View Source

    SafeWithFallback(Config, Config)

    Retrieves the current configuration or the fallback configuration if the current one is null.

    Declaration
    public static Config SafeWithFallback(this Config config, Config fallback)
    Parameters
    Type Name Description
    Config config

    The configuration used as the source.

    Config fallback

    The configuration to use as a secondary source.

    Returns
    Type Description
    Config

    The current configuration or the fallback configuration if the current one is null.

    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET