ApplicationViewModel - конструктор
Пространство имён: Tessa.UI.AppManager.CatalogServiceСборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.22
public ApplicationViewModel(
[NotNullAttribute] IApplicationModel application,
[NotNullAttribute] IApplicationCacheWiper applicationCacheWiper,
[NotNullAttribute] GetTessaSpecialFolderDelegate getSpecialFolder,
[NotNullAttribute] Func<ShellViewModel> shellFunc,
[NotNullAttribute] LaunchNewInstanceCommand launchNewInstanceCommand,
[NotNullAttribute] CreateDesktopShortcutCommand createDesktopShortcutCommand,
[NotNullAttribute] GroupingViewModel groupingViewModel
)
Public Sub New (
<NotNullAttribute> application As IApplicationModel,
<NotNullAttribute> applicationCacheWiper As IApplicationCacheWiper,
<NotNullAttribute> getSpecialFolder As GetTessaSpecialFolderDelegate,
<NotNullAttribute> shellFunc As Func(Of ShellViewModel),
<NotNullAttribute> launchNewInstanceCommand As LaunchNewInstanceCommand,
<NotNullAttribute> createDesktopShortcutCommand As CreateDesktopShortcutCommand,
<NotNullAttribute> groupingViewModel As GroupingViewModel
)
public:
ApplicationViewModel(
[NotNullAttribute] IApplicationModel^ application,
[NotNullAttribute] IApplicationCacheWiper^ applicationCacheWiper,
[NotNullAttribute] GetTessaSpecialFolderDelegate^ getSpecialFolder,
[NotNullAttribute] Func<ShellViewModel^>^ shellFunc,
[NotNullAttribute] LaunchNewInstanceCommand^ launchNewInstanceCommand,
[NotNullAttribute] CreateDesktopShortcutCommand^ createDesktopShortcutCommand,
[NotNullAttribute] GroupingViewModel^ groupingViewModel
)
new :
[<NotNullAttribute>] application : IApplicationModel *
[<NotNullAttribute>] applicationCacheWiper : IApplicationCacheWiper *
[<NotNullAttribute>] getSpecialFolder : GetTessaSpecialFolderDelegate *
[<NotNullAttribute>] shellFunc : Func<ShellViewModel> *
[<NotNullAttribute>] launchNewInstanceCommand : LaunchNewInstanceCommand *
[<NotNullAttribute>] createDesktopShortcutCommand : CreateDesktopShortcutCommand *
[<NotNullAttribute>] groupingViewModel : GroupingViewModel -> ApplicationViewModel
Параметры
- application IApplicationModel
-
Приложение
- applicationCacheWiper IApplicationCacheWiper
-
Осуществляет очистку кэша
- getSpecialFolder GetTessaSpecialFolderDelegate
-
Возвращает путь к папке приложения
- shellFunc FuncShellViewModel
-
The shell View Model Func.
- launchNewInstanceCommand LaunchNewInstanceCommand
-
The launch New Instance Command.
- createDesktopShortcutCommand CreateDesktopShortcutCommand
- groupingViewModel GroupingViewModel
-
The grouping View Model.