Show / Hide Table of Contents

Method WithDisplayPrompt

| Improve this Doc View Source

WithDisplayPrompt<T>(T, String)

Specifies display prompt for column.

Declaration
public static T WithDisplayPrompt<T>(this T column, string value)

    where T : Column, new()
Parameters
Type Name Description
T column

The column.

System.String value

The value.

Returns
Type Description
T

This column for fluent coding.

Type Parameters
Name Description
T

Type of the column.

| Improve this Doc View Source

WithDisplayPrompt<T>(T, Func<String>)

Specifies display prompt for column.

Declaration
public static T WithDisplayPrompt<T>(this T column, Func<string> displayPromptGetter)

    where T : Column, new()
Parameters
Type Name Description
T column

The column.

System.Func<System.String> displayPromptGetter

Delegate to get display prompt.

Returns
Type Description
T

This column for fluent coding.

Type Parameters
Name Description
T

Type of the column.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest