FileListControlViewModel - конструктор
Пространство имён: Tessa.UI.Files.ControlsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.22
public FileListControlViewModel(
IFileUIContainer container,
IExtensionContainer extensionContainer,
IMenuContext menuContext,
ICollection<IFileType> cardFileTypes,
bool isCategoriesEnabled,
bool isManualCategoriesCreationDisabled,
bool isNullCategoryCreationDisabled,
bool isPreservingCategoriesOrder,
bool isIgnoreExistingCategories,
ISession session,
IProcessNameResolver processNameResolver,
Func<IFileCollection, IFileViewModelCollection> createViewModelCollectionFunc = null,
string name = null,
string previewControlName = null,
IEnumerable<IFile> files = null,
IEnumerable<IFileGrouping> groupings = null,
bool groupsExpanded = true,
IEnumerable<IFileSorting> sortings = null,
IEnumerable<IMenuAction> actions = null,
IEnumerable<IMenuAction> fileActions = null,
IEnumerable<IMenuAction> versionActions = null
)
Public Sub New (
container As IFileUIContainer,
extensionContainer As IExtensionContainer,
menuContext As IMenuContext,
cardFileTypes As ICollection(Of IFileType),
isCategoriesEnabled As Boolean,
isManualCategoriesCreationDisabled As Boolean,
isNullCategoryCreationDisabled As Boolean,
isPreservingCategoriesOrder As Boolean,
isIgnoreExistingCategories As Boolean,
session As ISession,
processNameResolver As IProcessNameResolver,
Optional createViewModelCollectionFunc As Func(Of IFileCollection, IFileViewModelCollection) = Nothing,
Optional name As String = Nothing,
Optional previewControlName As String = Nothing,
Optional files As IEnumerable(Of IFile) = Nothing,
Optional groupings As IEnumerable(Of IFileGrouping) = Nothing,
Optional groupsExpanded As Boolean = true,
Optional sortings As IEnumerable(Of IFileSorting) = Nothing,
Optional actions As IEnumerable(Of IMenuAction) = Nothing,
Optional fileActions As IEnumerable(Of IMenuAction) = Nothing,
Optional versionActions As IEnumerable(Of IMenuAction) = Nothing
)
public:
FileListControlViewModel(
IFileUIContainer^ container,
IExtensionContainer^ extensionContainer,
IMenuContext^ menuContext,
ICollection<IFileType^>^ cardFileTypes,
bool isCategoriesEnabled,
bool isManualCategoriesCreationDisabled,
bool isNullCategoryCreationDisabled,
bool isPreservingCategoriesOrder,
bool isIgnoreExistingCategories,
ISession^ session,
IProcessNameResolver^ processNameResolver,
Func<IFileCollection^, IFileViewModelCollection^>^ createViewModelCollectionFunc = nullptr,
String^ name = nullptr,
String^ previewControlName = nullptr,
IEnumerable<IFile^>^ files = nullptr,
IEnumerable<IFileGrouping^>^ groupings = nullptr,
bool groupsExpanded = true,
IEnumerable<IFileSorting^>^ sortings = nullptr,
IEnumerable<IMenuAction^>^ actions = nullptr,
IEnumerable<IMenuAction^>^ fileActions = nullptr,
IEnumerable<IMenuAction^>^ versionActions = nullptr
)
new :
container : IFileUIContainer *
extensionContainer : IExtensionContainer *
menuContext : IMenuContext *
cardFileTypes : ICollection<IFileType> *
isCategoriesEnabled : bool *
isManualCategoriesCreationDisabled : bool *
isNullCategoryCreationDisabled : bool *
isPreservingCategoriesOrder : bool *
isIgnoreExistingCategories : bool *
session : ISession *
processNameResolver : IProcessNameResolver *
?createViewModelCollectionFunc : Func<IFileCollection, IFileViewModelCollection> *
?name : string *
?previewControlName : string *
?files : IEnumerable<IFile> *
?groupings : IEnumerable<IFileGrouping> *
?groupsExpanded : bool *
?sortings : IEnumerable<IFileSorting> *
?actions : IEnumerable<IMenuAction> *
?fileActions : IEnumerable<IMenuAction> *
?versionActions : IEnumerable<IMenuAction>
(* Defaults:
let _createViewModelCollectionFunc = defaultArg createViewModelCollectionFunc null
let _name = defaultArg name null
let _previewControlName = defaultArg previewControlName null
let _files = defaultArg files null
let _groupings = defaultArg groupings null
let _groupsExpanded = defaultArg groupsExpanded true
let _sortings = defaultArg sortings null
let _actions = defaultArg actions null
let _fileActions = defaultArg fileActions null
let _versionActions = defaultArg versionActions null
*)
-> FileListControlViewModel
Параметры
- container IFileUIContainer
-
- extensionContainer IExtensionContainer
-
- menuContext IMenuContext
-
- cardFileTypes ICollectionIFileType
-
- isCategoriesEnabled Boolean
-
- isManualCategoriesCreationDisabled Boolean
-
- isNullCategoryCreationDisabled Boolean
-
- isPreservingCategoriesOrder Boolean
-
- isIgnoreExistingCategories Boolean
-
- session ISession
-
- processNameResolver IProcessNameResolver
-
- createViewModelCollectionFunc FuncIFileCollection, IFileViewModelCollection (Optional)
-
- name String (Optional)
-
- previewControlName String (Optional)
-
- files IEnumerableIFile (Optional)
-
- groupings IEnumerableIFileGrouping (Optional)
-
- groupsExpanded Boolean (Optional)
-
- sortings IEnumerableIFileSorting (Optional)
-
- actions IEnumerableIMenuAction (Optional)
-
- fileActions IEnumerableIMenuAction (Optional)
-
- versionActions IEnumerableIMenuAction (Optional)
-