Interface IClipboardStore
Represents an interface for storing clipboard information.
Namespace: DataWeb.Identity
Assembly: DataWeb.Core.dll
Syntax
public interface IClipboardStore
Properties
Name
Gets the name of the clipboard store.
Declaration
string Name { get; }
Property Value
Type |
---|
string |
Methods
ClearAsync(string)
Clears the clipboard information for the specified user.
Declaration
Task ClearAsync(string userIdMaster)
Parameters
Type | Name | Description |
---|---|---|
string | userIdMaster | The Id of the user whose clipboard information is to be cleared. |
Returns
Type | Description |
---|---|
Task |
GetClipboardAsync(string)
Gets the clipboard information for the specified user.
Declaration
Task<Clipboard> GetClipboardAsync(string userIdMaster)
Parameters
Type | Name | Description |
---|---|---|
string | userIdMaster | The Id of the user whose clipboard information is to be retrieved. |
Returns
Type | Description |
---|---|
Task<Clipboard> | The clipboard information for the user. |
SetClipboardAsync(Clipboard, string)
Sets the clipboard information for the specified user.
Declaration
Task SetClipboardAsync(Clipboard clipboard, string userIdMaster)
Parameters
Type | Name | Description |
---|---|---|
Clipboard | clipboard | The Clipboard information to set. |
string | userIdMaster | The Id of the user whose clipboard information is to be set. |
Returns
Type | Description |
---|---|
Task |