Show / Hide Table of Contents

Class ServiceFacade

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

Constructors

ServiceFacade(SoOperation)

Declaration
public ServiceFacade(SoOperation soOperation)
Parameters
Type Name Description
SoOperation soOperation

Methods

CallServiceAsync(string, string, CancellationToken)

Declaration
public Task<string> CallServiceAsync(string methodName, string arguments, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string methodName
string arguments
CancellationToken cancellationToken
Returns
Type Description
Task<string>

FireServiceCall(string, object)

Fire and forget version for CallServiceAsync(string, string, CancellationToken)

Declaration
public void FireServiceCall(string methodName, object argument)
Parameters
Type Name Description
string methodName
object argument

Argument object (ready for serialization)

Extension Methods

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