Table of Contents

Class GlobalConfiguration

Namespace
ToSic.Sys.Configuration
Assembly
ToSic.Sys.Core.dll
[InternalApi_DoNotUse_MayChangeWithoutNotice]
public class GlobalConfiguration : IGlobalConfiguration
Inheritance
object
GlobalConfiguration
Implements

Methods

ErrorMessageNullNotAllowed(string)

public static string ErrorMessageNullNotAllowed(string fieldName)

Parameters

fieldName string

Returns

string

GetThis(string?)

public string? GetThis(string? key = null)

Parameters

key string

Returns

string

GetThisErrorOnNull(string?)

public string GetThisErrorOnNull(string? key = null)

Parameters

key string

Returns

string

GetThisOrSet(Func<string>, string?)

public string GetThisOrSet(Func<string> generator, string? key = null)

Parameters

generator Func<string>
key string

Returns

string

SetThis(string?, string?)

public string? SetThis(string? value, string? key = null)

Parameters

value string
key string

Returns

string