PostSharp 6.8 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Formatters Namespace / Char­Span Structure / Char­Span Constructor / Char­Span Constructor (String)

CharSpan Constructor (String)

Initializes a new CharSpan from a String, and takes the whole string.

Namespace:  PostSharp.Patterns.Formatters
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.8.6.0 (6.8.6.0)
Syntax
C#
public CharSpan(
	string str
)

Parameters

str
Type: System.String
A string.
See Also