Пример #1
0
        private Task <bool> CheckFrozen <T>(string bucket, Id streamId, IEnumerable <Id> parents = null) where T : class, IEventSource
        {
            parents = parents ?? new Id[] { };
            var streamName = _streamGen(typeof(T), StreamTypes.Domain, bucket, streamId, parents);

            return(_store.IsFrozen(streamName));
        }
Пример #2
0
        private Task <bool> CheckFrozen <T>(string bucket, string streamId) where T : class, IEventSource
        {
            var streamName = _streamGen(typeof(T), StreamTypes.Domain, bucket, streamId);

            return(_store.IsFrozen(streamName));
        }