using System.IO;
namespace System.Web.Instrumentation {
///
/// Contains information about the current position with page execution
///
public class PageExecutionContext {
///
/// A flag indicating if the block contains literal content which should be deeply scanned for selection mapping purposes
///
public bool IsLiteral { get; set; }
///
/// The length of the block in characters
///
public int Length { get; set; }
///
/// The start position of the block, zero-based, from the start of the outputted document
///
public int StartPosition { get; set; }
///
/// The TextWriter being used to output the document. Allows consumers to write tokens to the output stream for selection mapping
///
public TextWriter TextWriter { get; set; }
///
/// The virtual path to the source file. Used to allow consumers to find the source file to be used for selection mapping.
///
public string VirtualPath { get; set; }
}
}