コード例 #1
0
        public SyncResponseBuilder(ISession session, SyncRequest syncRequest, IAccessControlLists acls)
        {
            this.session     = session;
            this.syncRequest = syncRequest;
            this.acls        = acls;

            this.accessControlsWriter = new AccessControlsWriter(this.acls);
            this.permissionsWriter    = new PermissionsWriter(this.acls);
        }
コード例 #2
0
        public PullResponseBuilder(IAccessControlLists acls, ITreeService treeService)
        {
            this.acls        = acls;
            this.treeService = treeService;

            this.objects = new HashSet <IObject>();
            this.accessControlsWriter = new AccessControlsWriter(this.acls);
            this.permissionsWriter    = new PermissionsWriter(this.acls);
        }