Show / Hide Table of Contents

Class SystemEventHelper

This class contains helper functions for publishing user-defined fields.

Inheritance
object
SystemEventHelper
Implements
ISystemEventHelper
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.Data
Assembly: SoDataBase.dll
Syntax
public class SystemEventHelper : ISystemEventHelper

Constructors

SystemEventHelper()

This class contains helper functions for publishing user-defined fields.

Declaration
public SystemEventHelper()

Fields

ChangeDbModelEventName

This class contains helper functions for publishing user-defined fields.

Declaration
public const string ChangeDbModelEventName = "ChangeDbModel"
Field Value
Type Description
string

FreetextRebuildEventName

This class contains helper functions for publishing user-defined fields.

Declaration
public const string FreetextRebuildEventName = "kSEFreetextRebuild"
Field Value
Type Description
string

Methods

CreateCounterRebuildEventAsync(CancellationToken)

This class contains helper functions for publishing user-defined fields.

Declaration
public static Task<ScopedSystemEvent> CreateCounterRebuildEventAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<ScopedSystemEvent>

CreateFreetextRebuildEventAsync(CancellationToken)

This class contains helper functions for publishing user-defined fields.

Declaration
public static Task<ScopedSystemEvent> CreateFreetextRebuildEventAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<ScopedSystemEvent>

CreatePublishStartSystemEventAsync(UDefType)

This class contains helper functions for publishing user-defined fields.

Declaration
public Task<SystemEventRow> CreatePublishStartSystemEventAsync(UDefType type)
Parameters
Type Name Description
UDefType type
Returns
Type Description
Task<SystemEventRow>

CreatePublishSystemEventAsync(UDefType)

This class contains helper functions for publishing user-defined fields.

Declaration
public Task<SystemEventRow> CreatePublishSystemEventAsync(UDefType type)
Parameters
Type Name Description
UDefType type
Returns
Type Description
Task<SystemEventRow>

CreateScopedEventAsync(string, Scope, int, CancellationToken)

This class contains helper functions for publishing user-defined fields.

Declaration
public static Task<ScopedSystemEvent> CreateScopedEventAsync(string key, SystemEventHelper.Scope scope, int owner, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string key
SystemEventHelper.Scope scope
int owner
CancellationToken cancellationToken
Returns
Type Description
Task<ScopedSystemEvent>

GetPublishStartSystemEventName(UDefType)

This class contains helper functions for publishing user-defined fields.

Declaration
public static string GetPublishStartSystemEventName(UDefType ownerType)
Parameters
Type Name Description
UDefType ownerType
Returns
Type Description
string

GetPublishSystemEventName(UDefType)

This class contains helper functions for publishing user-defined fields.

Declaration
public static string GetPublishSystemEventName(UDefType ownerType)
Parameters
Type Name Description
UDefType ownerType
Returns
Type Description
string

IsAnyPublishEventActiveAsync()

This class contains helper functions for publishing user-defined fields.

Declaration
public Task<bool> IsAnyPublishEventActiveAsync()
Returns
Type Description
Task<bool>

IsAnyPublishEventActiveExceptAsync(UDefType)

This class contains helper functions for publishing user-defined fields.

Declaration
public Task<bool> IsAnyPublishEventActiveExceptAsync(UDefType type)
Parameters
Type Name Description
UDefType type
Returns
Type Description
Task<bool>

IsFreetextRebuildEventActive()

This class contains helper functions for publishing user-defined fields.

Declaration
public static bool IsFreetextRebuildEventActive()
Returns
Type Description
bool

IsPublishEventActiveAsync(UDefType)

This class contains helper functions for publishing user-defined fields.

Declaration
public Task<bool> IsPublishEventActiveAsync(UDefType type)
Parameters
Type Name Description
UDefType type
Returns
Type Description
Task<bool>

IsPublishStartEventActiveAsync(UDefType)

This class contains helper functions for publishing user-defined fields.

Declaration
public Task<bool> IsPublishStartEventActiveAsync(UDefType type)
Parameters
Type Name Description
UDefType type
Returns
Type Description
Task<bool>

IsScopedEventActiveAsync(string, Scope, int, CancellationToken)

This class contains helper functions for publishing user-defined fields.

Declaration
public static Task<bool> IsScopedEventActiveAsync(string key, SystemEventHelper.Scope scope, int owner, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string key
SystemEventHelper.Scope scope
int owner
CancellationToken cancellationToken
Returns
Type Description
Task<bool>

RemoveFreetextRebuildEventAsync(CancellationToken)

This class contains helper functions for publishing user-defined fields.

Declaration
public static Task RemoveFreetextRebuildEventAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task

RemovePublishStartSystemEventAsync(UDefType)

This class contains helper functions for publishing user-defined fields.

Declaration
public Task RemovePublishStartSystemEventAsync(UDefType type)
Parameters
Type Name Description
UDefType type
Returns
Type Description
Task

RemovePublishSystemEventAsync(UDefType)

This class contains helper functions for publishing user-defined fields.

Declaration
public Task RemovePublishSystemEventAsync(UDefType type)
Parameters
Type Name Description
UDefType type
Returns
Type Description
Task

RemoveScopedEventAsync(string, Scope, int, CancellationToken)

This class contains helper functions for publishing user-defined fields.

Declaration
public static Task RemoveScopedEventAsync(string key, SystemEventHelper.Scope scope, int owner, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string key
SystemEventHelper.Scope scope
int owner
CancellationToken cancellationToken
Returns
Type Description
Task

Implements

ISystemEventHelper

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