Share via


ICSharpHelper.Reference Method

Definition

Overloads

Reference(Type)

Generates a C# type reference.

Reference(Type, Nullable<Boolean>)

Generates a C# type reference.

Reference(Type)

Source:
ICSharpHelper.cs

Generates a C# type reference.

public string Reference (Type type);
abstract member Reference : Type -> string
Public Function Reference (type As Type) As String

Parameters

type
Type

The type to reference.

Returns

The reference.

Applies to

Reference(Type, Nullable<Boolean>)

Source:
ICSharpHelper.cs
Source:
ICSharpHelper.cs
Source:
ICSharpHelper.cs
Source:
ICSharpHelper.cs

Generates a C# type reference.

public string Reference (Type type, bool? fullName = default);
abstract member Reference : Type * Nullable<bool> -> string
Public Function Reference (type As Type, Optional fullName As Nullable(Of Boolean) = Nothing) As String

Parameters

type
Type

The type to reference.

fullName
Nullable<Boolean>

Whether the type should be namespace-qualified.

Returns

The reference.

Applies to