ConfigurationProvider

public struct ConfigurationProvider

ConfigurationProvider to load Configuration from file or memory

  • default initializer

    Declaration

    Swift

    public init()
  • search for configuration in the given path or the default location (.swiftplantuml) and return it

    Declaration

    Swift

    public func getConfiguration(for path: String?) -> Configuration

    Parameters

    path

    file path of configuration file

    Return Value

    default Configuration instance if none was found