Class UpdateStoreContextCallbackDefault<TContext>
The default IUpdateStoreContextCallback<TContext> implementation.
Inheritance
System.Object
DefaultContextCallback<TContext>
UpdateStoreContextCallbackDefault<TContext>
Inherited Members
Namespace: PushTechnology.ClientInterface.Client.Features.Control.Clients.SecurityControl
Assembly: Diffusion.Client.dll
Syntax
public class UpdateStoreContextCallbackDefault<TContext> : DefaultContextCallback<TContext>, IUpdateStoreContextCallback<TContext>, IContextCallback<TContext>
Type Parameters
Name | Description |
---|---|
TContext | The context type. |
Remarks
This simply logs ISecurityStoreFeature calls at 'debug' level. This can be overridden to perform some more specific action.
Methods
OnRejected(TContext, IReadOnlyCollection<IErrorReport>)
The script was rejected and no changes were made to the security store.
Declaration
public void OnRejected(TContext context, IReadOnlyCollection<IErrorReport> errors)
Parameters
Type | Name | Description |
---|---|---|
TContext | context | The context for this operation. |
IReadOnlyCollection<IErrorReport> | errors | The details of why the script was rejected. |
OnSuccess(TContext)
The script was applied successfully.
Declaration
public void OnSuccess(TContext context)
Parameters
Type | Name | Description |
---|---|---|
TContext | context | The context for this operation. |