コード例 #1
0
ファイル: client-impl.cs プロジェクト: emrul/CmisSync
        public Repository(IRepositoryInfo info, IDictionary<string, string> parameters, SessionFactory sessionFactory, IObjectFactory objectFactory, AbstractAuthenticationProvider authenticationProvider, ICache cache)
            : base(info)
        {
            this.parameters = new Dictionary<string, string>(parameters);
            this.parameters[SessionParameter.RepositoryId] = Id;

            this.sessionFactory = sessionFactory;
            this.objectFactory = objectFactory;
            this.authenticationProvider = authenticationProvider;
            this.cache = cache;
        }
コード例 #2
0
 public InMemoryConnectionScheduler(ConnectionScheduler original, SessionFactory sessionFactory) : base(original) {
     this.SessionFactory = sessionFactory;
 }