-
-
Notifications
You must be signed in to change notification settings - Fork 44
iw4madminapplicationalerts AlertExtensions
RaidMax edited this page May 21, 2023
·
1 revision
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph IW4MAdmin.Application.Alerts
IW4MAdmin.Application.Alerts.AlertExtensions[[AlertExtensions]]
end
Returns | Name |
---|---|
AlertState |
BuildAlert (EFClient client, Nullable <AlertCategory > type) |
AlertState |
ExpiresIn (AlertState state, TimeSpan expiration) |
AlertState |
FromClient (AlertState state, EFClient client) |
AlertState |
FromSource (AlertState state, string source) |
AlertState |
OfType (AlertState state, string type) |
AlertState |
WithCategory (AlertState state, AlertCategory category) |
AlertState |
WithMessage (AlertState state, string message) |
public static AlertState BuildAlert(EFClient client, Nullable<AlertCategory> type)
Type | Name | Description |
---|---|---|
EFClient |
client | |
Nullable <AlertCategory > |
type |
public static AlertState WithCategory(AlertState state, AlertCategory category)
Type | Name | Description |
---|---|---|
AlertState |
state | |
AlertCategory |
category |
public static AlertState OfType(AlertState state, string type)
Type | Name | Description |
---|---|---|
AlertState |
state | |
string |
type |
public static AlertState WithMessage(AlertState state, string message)
Type | Name | Description |
---|---|---|
AlertState |
state | |
string |
message |
public static AlertState ExpiresIn(AlertState state, TimeSpan expiration)
Type | Name | Description |
---|---|---|
AlertState |
state | |
TimeSpan |
expiration |
public static AlertState FromSource(AlertState state, string source)
Type | Name | Description |
---|---|---|
AlertState |
state | |
string |
source |
public static AlertState FromClient(AlertState state, EFClient client)
Type | Name | Description |
---|---|---|
AlertState |
state | |
EFClient |
client |
Generated with ModularDoc