Sdl.Web.Common/Models/StaticContentItem.cs
/// <summary>
/// Gets direct access to the underlying (binary) content stream.
/// </summary>
/// <returns>The Content Stream.</returns>
/// <remarks>The client should <see cref="IDisposable.Dispose">Dispose</see> either this content Stream or (preferably) the entire StaticContentItem.</remarks>
Gets direct access to the underlying (binary) content stream.
Gets direct access to the underlying ( binary ) content stream .
public Stream GetContentStream()
        {
            if (_contentStream == null)
            {
                throw new ObjectDisposedException("Content Stream has already been disposed.");
            }
            return _contentStream;
        }
public Stream GetContentStream ( ) { if ( _contentStream == null ) { throw new ObjectDisposedException ( " " ) ; } return _contentStream ; }
Gets direct access to the underlying (binary) content stream.
Gets direct access to the underlying ( binary ) content stream .
The Content Stream.
The Content Stream .
remarks
The client should Dispose
The client should Dispose