PostSharp / / API Reference / Post­Sharp.​Patterns.​Formatters / Unsafe­String / Unsafe­String
Open sandbox

Constructor UnsafeString

UnsafeString(String)

Initializes a new UnsafeString backed by a String.

Declaration
public UnsafeString(string str)
Parameters
Type Name Description
String str

A non-null String.

UnsafeString(Char[])

Initializes a new UnsafeString backed by an array of Char.

Declaration
public UnsafeString(char[] array)
Parameters
Type Name Description
Char[] array

A non-null array of Char.