Show / Hide Table of Contents

Class NetServices

Helper class to update/parse NetServices URLs and store/update the user preferences.

Inheritance
object
NetServices
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.CRM
Assembly: SoDataBase.dll
Syntax
public class NetServices

Constructors

NetServices()

Helper class to update/parse NetServices URLs and store/update the user preferences.

Declaration
public NetServices()

Methods

GetNetServicesStatusUrl()

Returns URL to status service. e.g. 'https://help.superoffice.com/sodispatcher/v1/status' Returns NULL if status does not need to be checked yet.

Declaration
public static string GetNetServicesStatusUrl()
Returns
Type Description
string

NULL or URL of the status service that returns an XML or JSON block.

GetPocketCentralServicesUrl()

Helper class to update/parse NetServices URLs and store/update the user preferences.

Declaration
public static string GetPocketCentralServicesUrl()
Returns
Type Description
string

HasCentralPocketServicesPreference()

Helper class to update/parse NetServices URLs and store/update the user preferences.

Declaration
public static bool HasCentralPocketServicesPreference()
Returns
Type Description
bool

UpdateNetServicesStatusAsync(string, CancellationToken)

Helper class to update/parse NetServices URLs and store/update the user preferences.

Declaration
public static Task UpdateNetServicesStatusAsync(string json_or_xml, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string json_or_xml
CancellationToken cancellationToken
Returns
Type Description
Task

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top