Span Class

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Represents a Razor parse tree node that contains the all the content of a block node.

Namespace:  System.Web.Razor.Parser.SyntaxTree
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

public class Span : SyntaxTreeNode

The Span type exposes the following members.

  NameDescription
Public methodSpanThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Initializes a new instance of the Span class.
Top

  NameDescription
Public propertyCodeGeneratorThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the code generator for the span.
Public propertyContentThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the content of the span.
Public propertyEditHandlerThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the handler for span edits.
Public propertyIsBlockThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets a value that indicates whether this node is a block node. (Overrides SyntaxTreeNode.IsBlock.)
Public propertyKindThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the kind for this span.
Public propertyLengthThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the length of the span content. (Overrides SyntaxTreeNode.Length.)
Public propertyNextThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the next span in the tree node.
Public propertyParentThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the parent tree node of the current tree node. (Inherited from SyntaxTreeNode.)
Public propertyPreviousThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the previous span in the tree node.
Public propertyStartThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the start character location of the span. (Overrides SyntaxTreeNode.Start.)
Public propertySymbolsThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Gets or sets the symbols used to generate the code for the span.
Top

  NameDescription
Public methodAcceptThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Accepts visit from the specified visitor. (Overrides SyntaxTreeNode.Accept(ParserVisitor).)
Public methodChangeThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Changes the span builder for this span.
Public methodChangeStartThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Sets the start character location of this span.
Public methodEqualsThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the specified object is equal to this span. (Overrides Object.Equals(Object).)
Public methodEquivalentToThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Determines whether the specified node is equivalent to this span. (Overrides SyntaxTreeNode.EquivalentTo(SyntaxTreeNode).)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCodeThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Returns the hash code for this current span. (Overrides Object.GetHashCode().)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodReplaceWithThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Replaces the span builder for this span with the specified span builder.
Public methodToStringThis type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Returns the string representation of this current span. (Overrides Object.ToString().)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: