PostSharp6.6//API Reference/Post­Sharp.​Patterns.​Formatters Namespace/Char­Span Structure/Char­Span Type Conversions/Char­Span Implicit Conversion Operators/Char­Span Implicit Conversion (Array­Segment(Char) to Char­Span)

CharSpan Implicit Conversion (ArraySegment<Char> to CharSpan)

Converts an ArraySegment<T> into a CharSpan.

Namespace:  PostSharp.Patterns.Formatters
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.6.11.0 (6.6.11.0)
Syntax
C#
public static implicit operator CharSpan (
	ArraySegment<char> str
)

Parameters

str
Type: System.ArraySegment<Char>

Return Value

Type: CharSpan
See Also