Class CasewhereApiConfig
Namespace: Casewhere.Common.Utils
Assembly: Casewhere.Common.dll
public class CasewhereApiConfig
Inheritance
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
Current
public static CasewhereApiConfig Current { get; }
Property Value
RuntimeApiEndpoint
public string RuntimeApiEndpoint { get; }
Property Value
RuntimeApiKey
public string RuntimeApiKey { get; }
Property Value
SSLCertificate
public string SSLCertificate { get; }
Property Value
Timeout
public TimeSpan Timeout { get; }
Property Value
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