コード例 #1
0
        /// <summary>
        /// Checks if storage contains specified stream
        /// </summary>
        public bool ContainsStream(Guid streamId)
        {
            CheckClosed();

            if (SystemStreamId.IsSystemStreamId(streamId))
            {
                throw new InvalidStreamIdException();
            }

            return(streamTable.Contains(streamId));
        }