Phun.Data.ContentModel.Dispose C# (CSharp) 메소드

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void
        public void Dispose()
        {
            var stream = this.DataStream;
            this.DataStream = null;

            if (stream != null && stream.CanRead)
            {
                stream.Dispose();
            }
        }