Show / Hide Table of Contents

Class ConfigurationUtils

Helper class used for .NET configuration files access.

Inheritance
object
ConfigurationUtils
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Tangosol.Util
Assembly: Coherence.dll
Syntax
public class ConfigurationUtils

Methods

GetCoherenceConfiguration()

Parses the Coherence configuration section within the standard .NET configuration file (appsettings.json).

Declaration
public static object GetCoherenceConfiguration()
Returns
Type Description
object

An instance of CoherenceConfig

GetProperty(string, string)

Get the value of a given Coherence configuration property.

Declaration
public static string GetProperty(string name, string defaultValue)
Parameters
Type Name Description
string name

The name of the property.

string defaultValue

The default value for the property.

Returns
Type Description
string

The value of the property.

In this article
Back to top Copyright © 2000, 2024, Oracle and/or its affiliates.