Class PollMessageServiceExtensions
Inheritance
System.Object
PollMessageServiceExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lers.Poll
Assembly: Lers.Server.System.dll
Syntax
public static class PollMessageServiceExtensions
Methods
WriteDebug(IPollMessagesService, EntityIdentifier<PollSession>, String, Nullable<Int32>)
Записывает в журнал опроса отладочную информацию.
Declaration
public static ValueTask WriteDebug(this IPollMessagesService service, EntityIdentifier<PollSession> pollSessionId, string message, int? equipmentId = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IPollMessagesService | service | |
| EntityIdentifier<Lers.Models.PollSession> | pollSessionId | |
| System.String | message | |
| System.Nullable<System.Int32> | equipmentId |
Returns
| Type | Description |
|---|---|
| ValueTask |
WriteError(IPollMessagesService, EntityIdentifier<PollSession>, String, Nullable<Int32>)
Записывает в журнал опроса ошибку.
Declaration
public static ValueTask WriteError(this IPollMessagesService service, EntityIdentifier<PollSession> pollSessionId, string message, int? equipmentId = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IPollMessagesService | service | |
| EntityIdentifier<Lers.Models.PollSession> | pollSessionId | |
| System.String | message | |
| System.Nullable<System.Int32> | equipmentId |
Returns
| Type | Description |
|---|---|
| ValueTask |
WriteInformation(IPollMessagesService, EntityIdentifier<PollSession>, String, Nullable<Int32>)
Записывает в журнал опроса информацию.
Declaration
public static ValueTask WriteInformation(this IPollMessagesService service, EntityIdentifier<PollSession> pollSessionId, string message, int? equipmentId = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IPollMessagesService | service | |
| EntityIdentifier<Lers.Models.PollSession> | pollSessionId | |
| System.String | message | |
| System.Nullable<System.Int32> | equipmentId |
Returns
| Type | Description |
|---|---|
| ValueTask |
WriteWarning(IPollMessagesService, EntityIdentifier<PollSession>, String, Nullable<Int32>)
Записывает в журнал опроса предупреждение.
Declaration
public static ValueTask WriteWarning(this IPollMessagesService service, EntityIdentifier<PollSession> pollSessionId, string message, int? equipmentId = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IPollMessagesService | service | |
| EntityIdentifier<Lers.Models.PollSession> | pollSessionId | |
| System.String | message | |
| System.Nullable<System.Int32> | equipmentId |
Returns
| Type | Description |
|---|---|
| ValueTask |