コード例 #1
0
 public TimeTreeServiceFactory(
     IGraphClientFactory graphClientFactory,
     TimeTreeConfiguration defaultConfiguration)
 {
     _graphClientFactory   = graphClientFactory;
     _defaultConfiguration = defaultConfiguration;
 }
コード例 #2
0
 public TimeTreeService(IGraphClient graphClient, TimeTreeConfiguration configuration)
 {
     _graphClient   = graphClient;
     _configuration = configuration;
 }
コード例 #3
0
 public ITimeTreeService Create(TimeTreeConfiguration configuration = null)
 {
     return(new TimeTreeService(_graphClientFactory.Create(), configuration ?? _defaultConfiguration));
 }