Show / Hide Table of Contents

Class ServiceCall

Information about a running service call. This class needs to be kept as small as possible, and with as few references to external objects as possible. It's created and abandoned for each API request.

Inheritance
object
ServiceCall
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.Diagnostics
Assembly: SoCore.dll
Syntax
public class ServiceCall

Constructors

ServiceCall(string, string, string, string, DateTimeOffset, params (string parameter, object argument)[])

Information about a running service call. This class needs to be kept as small as possible, and with as few references to external objects as possible. It's created and abandoned for each API request.

Declaration
public ServiceCall(string agent, string method, string databaseContext, string user, DateTimeOffset started, params (string parameter, object argument)[] parameters)
Parameters
Type Name Description
string agent
string method
string databaseContext
string user
DateTimeOffset started
(string parameter, object argument)[] parameters

Properties

Agent

Information about a running service call. This class needs to be kept as small as possible, and with as few references to external objects as possible. It's created and abandoned for each API request.

Declaration
public string Agent { get; }
Property Value
Type Description
string

ContextIdentifier

Information about a running service call. This class needs to be kept as small as possible, and with as few references to external objects as possible. It's created and abandoned for each API request.

Declaration
public string ContextIdentifier { get; }
Property Value
Type Description
string

DatabaseCalls

Information about a running service call. This class needs to be kept as small as possible, and with as few references to external objects as possible. It's created and abandoned for each API request.

Declaration
public int DatabaseCalls { get; set; }
Property Value
Type Description
int

DatabaseMilliseconds

Information about a running service call. This class needs to be kept as small as possible, and with as few references to external objects as possible. It's created and abandoned for each API request.

Declaration
public int DatabaseMilliseconds { get; set; }
Property Value
Type Description
int

DatabaseRows

Information about a running service call. This class needs to be kept as small as possible, and with as few references to external objects as possible. It's created and abandoned for each API request.

Declaration
public int DatabaseRows { get; set; }
Property Value
Type Description
int

Method

Information about a running service call. This class needs to be kept as small as possible, and with as few references to external objects as possible. It's created and abandoned for each API request.

Declaration
public string Method { get; }
Property Value
Type Description
string

Parameters

Information about a running service call. This class needs to be kept as small as possible, and with as few references to external objects as possible. It's created and abandoned for each API request.

Declaration
public (string parameter, object argument)[] Parameters { get; }
Property Value
Type Description
(string parameter, object argument)[]

Started

Information about a running service call. This class needs to be kept as small as possible, and with as few references to external objects as possible. It's created and abandoned for each API request.

Declaration
public DateTimeOffset Started { get; }
Property Value
Type Description
DateTimeOffset

User

Information about a running service call. This class needs to be kept as small as possible, and with as few references to external objects as possible. It's created and abandoned for each API request.

Declaration
public string User { get; }
Property Value
Type Description
string

Methods

ToString()

Information about a running service call. This class needs to be kept as small as possible, and with as few references to external objects as possible. It's created and abandoned for each API request.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

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