Пример #1
0
        internal ReadWriteStreamOnDataStorage(ReadableWritableDataStorage storage)
        {
#if DEBUG
#endif
            storage.AddRef();

            this.storage = storage;
        }
Пример #2
0
        private ReadWriteStreamOnDataStorage(ReadableWritableDataStorage storage, long position)
        {
#if DEBUG
#endif
            storage.AddRef();

            this.storage  = storage;
            this.position = position;
        }
Пример #3
0
        public AppendStreamOnDataStorage(ReadableWritableDataStorage storage)
        {
#if DEBUG
            storage.SignalWriteStreamOpen();
#endif
            storage.AddRef();

            this.storage = storage;
            position     = storage.Length;
        }
Пример #4
0
        public override void Close()
        {
            if (null != storage)
            {
#if DEBUG
#endif
                storage.Release();
                storage = null;
            }
        }
Пример #5
0
        public override void Close()
        {
            if (null != storage)
            {
#if DEBUG
                InternalDebug.Assert(storage.Length == 0 || storage.Length == position);
                storage.SignalWriteStreamClose();
#endif
                storage.Release();
                storage = null;
            }

            base.Close();
        }
		// Token: 0x060003BA RID: 954 RVA: 0x00015D20 File Offset: 0x00013F20
		public AppendStreamOnDataStorage(ReadableWritableDataStorage storage)
		{
			storage.AddRef();
			this.storage = storage;
			this.position = storage.Length;
		}