ModelSpan Class
Provides a model-aware Span class for ASP.NET MVC.
Inheritance Hierarchy
System.Object
System.Web.Razor.Parser.SyntaxTree.SyntaxTreeNode
System.Web.Razor.Parser.SyntaxTree.Span
System.Web.Razor.Parser.SyntaxTree.CodeSpan
System.Web.Mvc.Razor.ModelSpan
Namespace: System.Web.Mvc.Razor
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Class ModelSpan _
Inherits CodeSpan
'Usage
Dim instance As ModelSpan
public class ModelSpan : CodeSpan
public ref class ModelSpan : public CodeSpan
public class ModelSpan extends CodeSpan
The ModelSpan type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ModelSpan | Initializes a new instance of the ModelSpan class. |
Top
Properties
Name | Description | |
---|---|---|
AcceptedCharacters | (Inherited from Span.) | |
AutoCompleteString | (Inherited from Span.) | |
Content | (Inherited from Span.) | |
Hidden | (Inherited from Span.) | |
IsBlock | (Inherited from Span.) | |
Kind | (Inherited from Span.) | |
Length | (Inherited from Span.) | |
ModelTypeName | Gets the type name of the model. | |
Next | (Inherited from Span.) | |
Offset | (Inherited from Span.) | |
Parent | (Inherited from SyntaxTreeNode.) | |
Previous | (Inherited from Span.) | |
Start | (Inherited from Span.) |
Top
Methods
Name | Description | |
---|---|---|
Accept | (Inherited from Span.) | |
ApplyChange(TextChange) | (Inherited from Span.) | |
ApplyChange(TextChange, Boolean) | (Inherited from Span.) | |
CanAcceptChange | (Inherited from CodeSpan.) | |
Equals | Gets a value that indicates whether the current ModelSpan object is identical to the specified object. (Overrides Span.Equals(Object).) | |
Finalize | (Inherited from Object.) | |
GetHashCode | Returns the hash code of the ModelSpan object. (Overrides Span.GetHashCode().) | |
GetOldText | (Inherited from Span.) | |
GetSpanTypeName | (Inherited from Span.) | |
GetType | (Inherited from Object.) | |
IsAtEndOfFirstLine | (Inherited from Span.) | |
IsAtEndOfSpan | (Inherited from Span.) | |
IsEndDeletion | (Inherited from Span.) | |
IsEndInsertion | (Inherited from Span.) | |
IsEndReplace | (Inherited from Span.) | |
MemberwiseClone | (Inherited from Object.) | |
OwnsChange | (Inherited from Span.) | |
ToString | (Inherited from CodeSpan.) | |
TryMergeWith | (Inherited from Span.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.