Beispiel #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();
        }
Beispiel #2
0
        private void InitManagers()
        {
            // Init Resource Managers
            FoldersManager           = new BoxFoldersManager(Config, _service, _converter, Auth, _asUser);
            FilesManager             = new BoxFilesManager(Config, _service, _converter, Auth, _asUser);
            CommentsManager          = new BoxCommentsManager(Config, _service, _converter, Auth, _asUser);
            CollaborationsManager    = new BoxCollaborationsManager(Config, _service, _converter, Auth, _asUser);
            SearchManager            = new BoxSearchManager(Config, _service, _converter, Auth, _asUser);
            EventsManager            = new BoxEventsManager(Config, _service, _converter, Auth, _asUser);
            UsersManager             = new BoxUsersManager(Config, _service, _converter, Auth, _asUser);
            GroupsManager            = new BoxGroupsManager(Config, _service, _converter, Auth, _asUser);
            RetentionPoliciesManager = new BoxRetentionPoliciesManager(Config, _service, _converter, Auth, _asUser);

            // Init Resource Plugins Manager
            ResourcePlugins = new BoxResourcePlugins();
        }
Beispiel #3
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);
     SharedItemsManager       = new BoxSharedItemsManager(Config, _service, _converter, Auth, _asUser, _suppressNotifications);
     // Init Resource Plugins Manager
     ResourcePlugins = new BoxResourcePlugins();
 }
 public BoxEventsManagerTest()
 {
     _eventsManager = new BoxEventsManager(Config.Object, Service, Converter, AuthRepository);
 }