Show / Hide Table of Contents

Delegate DiagnoseMethodAsync

Delegate used by Diagnose(DiagnoseMethod) to carry out scaffolding logic.

Namespace: SuperOffice.Diagnostics
Assembly: SoCore.dll
Syntax
public delegate Task DiagnoseMethodAsync(Diagnostic scaffolder, CancellationToken cancellationToken = default)
Parameters
Type Name Description
Diagnostic scaffolder

Object to report scaffolding results to.

CancellationToken cancellationToken
Returns
Type Description
Task

Constructors

DiagnoseMethodAsync(object, IntPtr)

Delegate used by Diagnose(DiagnoseMethod) to carry out scaffolding logic.

Declaration
public DiagnoseMethodAsync(object @object, IntPtr method)
Parameters
Type Name Description
object object
IntPtr method

Methods

BeginInvoke(Diagnostic, CancellationToken, AsyncCallback, object)

Delegate used by Diagnose(DiagnoseMethod) to carry out scaffolding logic.

Declaration
public virtual IAsyncResult BeginInvoke(Diagnostic scaffolder, CancellationToken cancellationToken, AsyncCallback callback, object @object)
Parameters
Type Name Description
Diagnostic scaffolder
CancellationToken cancellationToken
AsyncCallback callback
object object
Returns
Type Description
IAsyncResult

EndInvoke(IAsyncResult)

Delegate used by Diagnose(DiagnoseMethod) to carry out scaffolding logic.

Declaration
public virtual Task EndInvoke(IAsyncResult result)
Parameters
Type Name Description
IAsyncResult result
Returns
Type Description
Task

Invoke(Diagnostic, CancellationToken)

Delegate used by Diagnose(DiagnoseMethod) to carry out scaffolding logic.

Declaration
public virtual Task Invoke(Diagnostic scaffolder, CancellationToken cancellationToken = default)
Parameters
Type Name Description
Diagnostic scaffolder
CancellationToken cancellationToken
Returns
Type Description
Task

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