Table of Contents

Class CasewhereApiConfig

Namespace: Casewhere.Common.Utils
Assembly: Casewhere.Common.dll

public class CasewhereApiConfig

Inheritance

objectCasewhereApiConfig

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Extension Methods

ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<CasewhereApiConfig>(CasewhereApiConfig)

Constructors

CasewhereApiConfig()

public CasewhereApiConfig()

Properties

ApiEndpoint

public string ApiEndpoint { get; }

Property Value

string

Current

public static CasewhereApiConfig Current { get; }

Property Value

CasewhereApiConfig

RuntimeApiEndpoint

public string RuntimeApiEndpoint { get; }

Property Value

string

RuntimeApiKey

public string RuntimeApiKey { get; }

Property Value

string

SSLCertificate

public string SSLCertificate { get; }

Property Value

string

Timeout

public TimeSpan Timeout { get; }

Property Value

TimeSpan

Methods

ReadFromConfigFile(string)

public static void ReadFromConfigFile(string prefix = "cwjobs")

Parameters

prefix string

Setup(string, string, string, int)

public static void Setup(string apiEndpoint, string apiKey, string sslCertificate, int timeout)

Parameters

apiEndpoint string

apiKey string

sslCertificate string

timeout int