Пример #1
0
        private void InitManagers()
        {
            // Init Resource Managers
            FoldersManager                = new BoxFoldersManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            FilesManager                  = new BoxFilesManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            CommentsManager               = new BoxCommentsManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            CollaborationsManager         = new BoxCollaborationsManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            SearchManager                 = new BoxSearchManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            EventsManager                 = new BoxEventsManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            UsersManager                  = new BoxUsersManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            GroupsManager                 = new BoxGroupsManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            RetentionPoliciesManager      = new BoxRetentionPoliciesManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            MetadataManager               = new BoxMetadataManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            WebhooksManager               = new BoxWebhooksManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            RecentItemsManager            = new BoxRecentItemsManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            TasksManager                  = new BoxTasksManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            SharedItemsManager            = new BoxSharedItemsManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            CollectionsManager            = new BoxCollectionsManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            DevicePinManager              = new BoxDevicePinManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            WebLinksManager               = new BoxWebLinksManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            LegalHoldPoliciesManager      = new BoxLegalHoldPoliciesManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            CollaborationWhitelistManager = new BoxCollaborationWhitelistManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            TermsOfServiceManager         = new BoxTermsOfServiceManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            MetadataCascadePolicyManager  = new BoxMetadataCascadePolicyManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            StoragePoliciesManager        = new BoxStoragePoliciesManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);

            // Init Resource Plugins Manager
            ResourcePlugins = new BoxResourcePlugins();
        }
Пример #2
0
 private void InitManagers()
 {
     FoldersManager        = new BoxFoldersManager(_config, _service, _converter, Auth);
     FilesManager          = new BoxFilesManager(_config, _service, _converter, Auth);
     CommentsManager       = new BoxCommentsManager(_config, _service, _converter, Auth);
     CollaborationsManager = new BoxCollaborationsManager(_config, _service, _converter, Auth);
     SearchManager         = new BoxSearchManager(_config, _service, _converter, Auth);
     UsersManager          = new BoxUsersManager(_config, _service, _converter, Auth);
     GroupsManager         = new BoxGroupsManager(_config, _service, _converter, Auth);
 }
Пример #3
0
        private void InitManagers()
        {
            // Init Resource Managers
            FoldersManager        = new BoxFoldersManager(Config, _service, _converter, Auth);
            FilesManager          = new BoxFilesManager(Config, _service, _converter, Auth);
            CommentsManager       = new BoxCommentsManager(Config, _service, _converter, Auth);
            CollaborationsManager = new BoxCollaborationsManager(Config, _service, _converter, Auth);
            SearchManager         = new BoxSearchManager(Config, _service, _converter, Auth);
            UsersManager          = new BoxUsersManager(Config, _service, _converter, Auth);
            GroupsManager         = new BoxGroupsManager(Config, _service, _converter, Auth);

            // Init Resource Plugins Manager
            ResourcePlugins = new BoxResourcePlugins();
        }
Пример #4
0
        private void InitManagers()
        {
            // Init Resource Managers
            FoldersManager           = new BoxFoldersManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            FilesManager             = new BoxFilesManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            CommentsManager          = new BoxCommentsManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            CollaborationsManager    = new BoxCollaborationsManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            SearchManager            = new BoxSearchManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            EventsManager            = new BoxEventsManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            UsersManager             = new BoxUsersManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            GroupsManager            = new BoxGroupsManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            RetentionPoliciesManager = new BoxRetentionPoliciesManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            MetadataManager          = new BoxMetadataManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
            WebhooksManager          = new BoxWebhooksManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);

            // Init Resource Plugins Manager
            ResourcePlugins = new BoxResourcePlugins();
        }
Пример #5
0
 public BoxGroupsManagerTest()
 {
     _groupsManager = new BoxGroupsManager(Config.Object, Service, Converter, AuthRepository);
 }
Пример #6
0
 public BoxGroupsManagerTest()
 {
     _groupsManager = new BoxGroupsManager(_config.Object, _service, _converter, _authRepository);
 }