示例#1
0
        /// <inheritdoc/>
        public void SetFor(IApplicationResourceIdentifier eventSource, EventSourceId eventSourceId, EventSourceVersion version)
        {
            var fileName = GetFileNameFor(eventSource, eventSourceId);

            _files.WriteString(_path, fileName, version.Combine().ToString());
        }
示例#2
0
        /// <inheritdoc/>
        public void SetFor(IApplicationResourceIdentifier eventSource, EventSourceId eventSourceId, EventSourceVersion version)
        {
            var key = GetKeyFor(eventSource, eventSourceId);

            _database.StringSet(key, version.Combine());
        }