System.IO.ProxyStream.ProxyStream C# (CSharp) Méthode

ProxyStream() public méthode

public ProxyStream ( Stream ParentStream, bool CloseParent ) : System
ParentStream Stream
CloseParent bool
Résultat System
		public ProxyStream(Stream ParentStream, bool CloseParent)
		{
			if (ParentStream is ProxyStream) ParentStream = ((ProxyStream)ParentStream).ParentStream;
			this.ParentStream = ParentStream;
			this.CloseParent = CloseParent;
			this.InternalPosition = 0;
		}