FileListControlViewModel - конструктор |
Пространство имён:
Tessa.UI.Files.Controls
Сборка:
Tessa.UI (в Tessa.UI.dll) Версия: 3.5.0.19
Синтаксис 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
- Тип: Tessa.UI.FilesIFileUIContainer
- extensionContainer
- Тип: Tessa.ExtensionsIExtensionContainer
- menuContext
- Тип: Tessa.UI.MenuIMenuContext
- cardFileTypes
- Тип: System.Collections.GenericICollectionIFileType
- isCategoriesEnabled
- Тип: SystemBoolean
- isManualCategoriesCreationDisabled
- Тип: SystemBoolean
- isNullCategoryCreationDisabled
- Тип: SystemBoolean
- isPreservingCategoriesOrder
- Тип: SystemBoolean
- isIgnoreExistingCategories
- Тип: SystemBoolean
- session
- Тип: Tessa.Platform.RuntimeISession
- processNameResolver
- Тип: Tessa.PlatformIProcessNameResolver
- createViewModelCollectionFunc (Optional)
- Тип: SystemFuncIFileCollection, IFileViewModelCollection
- name (Optional)
- Тип: SystemString
- previewControlName (Optional)
- Тип: SystemString
- files (Optional)
- Тип: System.Collections.GenericIEnumerableIFile
- groupings (Optional)
- Тип: System.Collections.GenericIEnumerableIFileGrouping
- groupsExpanded (Optional)
- Тип: SystemBoolean
- sortings (Optional)
- Тип: System.Collections.GenericIEnumerableIFileSorting
- actions (Optional)
- Тип: System.Collections.GenericIEnumerableIMenuAction
- fileActions (Optional)
- Тип: System.Collections.GenericIEnumerableIMenuAction
- versionActions (Optional)
- Тип: System.Collections.GenericIEnumerableIMenuAction
См. также