Exemple #1
0
        internal ReadWriteStreamOnDataStorage(ReadableWritableDataStorage storage)
        {
#if DEBUG
#endif
            storage.AddRef();

            this.storage = storage;
        }
Exemple #2
0
        private ReadWriteStreamOnDataStorage(ReadableWritableDataStorage storage, long position)
        {
#if DEBUG
#endif
            storage.AddRef();

            this.storage  = storage;
            this.position = position;
        }
Exemple #3
0
        public AppendStreamOnDataStorage(ReadableWritableDataStorage storage)
        {
#if DEBUG
            storage.SignalWriteStreamOpen();
#endif
            storage.AddRef();

            this.storage = storage;
            position     = storage.Length;
        }
Exemple #4
0
        public override void Close()
        {
            if (null != storage)
            {
#if DEBUG
#endif
                storage.Release();
                storage = null;
            }
        }
Exemple #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;
		}