Esempio n. 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();
        }
Esempio n. 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);
 }
Esempio n. 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();
        }
Esempio n. 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();
        }
 public BoxCommentsManagerTest()
 {
     _commentsManager = new BoxCommentsManager(Config.Object, Service, Converter, AuthRepository);
 }
 public BoxCommentsManagerTest()
 {
     _commentsManager = new BoxCommentsManager(_config.Object, _service, _converter, _authRepository);
 }