コード例 #1
0
        public static async Task <IEventLogStorage?> CreateAsync(
            EventLogStorageOptions options,
            ISystemClock?systemClock = default)
        {
            var result = new EventLogStorage(options, systemClock);
            await result.InitializeAsync();

            return(result);
        }
コード例 #2
0
 public Task <IEventLogStorage?> CreateAsync(EventLogStorageOptions options)
 {
     return(EventLogStorage.CreateAsync(options, this._SystemClock));
 }