CardAdapter - конструктор
Пространство имён: Tessa.UI.WindowsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.22
public CardAdapter(
Guid cardId,
string cardName,
string cardInfo,
string cardNameToolTip,
string cardInfoToolTip,
IWorkspaceModel workspace,
ITileManager tileManager,
Action<Object> closeAction,
Func<Object, bool> canCloseFunc,
Func<CardAdapter, CancellationToken, ValueTask> activateActionAsync,
IMenuActionGenerator menuActionGenerator,
IDocumentTabManager tabManager
)
Public Sub New (
cardId As Guid,
cardName As String,
cardInfo As String,
cardNameToolTip As String,
cardInfoToolTip As String,
workspace As IWorkspaceModel,
tileManager As ITileManager,
closeAction As Action(Of Object),
canCloseFunc As Func(Of Object, Boolean),
activateActionAsync As Func(Of CardAdapter, CancellationToken, ValueTask),
menuActionGenerator As IMenuActionGenerator,
tabManager As IDocumentTabManager
)
public:
CardAdapter(
Guid cardId,
String^ cardName,
String^ cardInfo,
String^ cardNameToolTip,
String^ cardInfoToolTip,
IWorkspaceModel^ workspace,
ITileManager^ tileManager,
Action<Object^>^ closeAction,
Func<Object^, bool>^ canCloseFunc,
Func<CardAdapter^, CancellationToken, ValueTask>^ activateActionAsync,
IMenuActionGenerator^ menuActionGenerator,
IDocumentTabManager^ tabManager
)
new :
cardId : Guid *
cardName : string *
cardInfo : string *
cardNameToolTip : string *
cardInfoToolTip : string *
workspace : IWorkspaceModel *
tileManager : ITileManager *
closeAction : Action<Object> *
canCloseFunc : Func<Object, bool> *
activateActionAsync : Func<CardAdapter, CancellationToken, ValueTask> *
menuActionGenerator : IMenuActionGenerator *
tabManager : IDocumentTabManager -> CardAdapter
Параметры
- cardId Guid
-
The card id.
- cardName String
-
The card name.
- cardInfo String
-
The card info.
- cardNameToolTip String
-
The card name tooltip.
- cardInfoToolTip String
-
The card info tooltip.
- workspace IWorkspaceModel
-
The editor.
- tileManager ITileManager
-
Объект, управляющий жизненным циклом панелей с плитками для вкладки.
- closeAction ActionObject
-
The close Action.
- canCloseFunc FuncObject, Boolean
-
The can Close Func.
- activateActionAsync FuncCardAdapter, CancellationToken, ValueTask
-
Действие по активации вкладки с текущей карточкой, переданной в качестве параметра.
- menuActionGenerator IMenuActionGenerator
- tabManager IDocumentTabManager
- Объект, выполняющий управление открытыми вкладками.