CSharpViewGeneratorBase.ToStringInstanceHelper

Utility class to produce culture-oriented representation of an object as a string.

Syntax

public class CSharpViewGeneratorBase.ToStringInstanceHelper

Inheritance

Properties

FormatProvider

public IFormatProvider FormatProvider { get; set; }
Gets or sets format provider to be used by ToStringWithCulture method.

Returns

IFormatProvider

Methods

ToStringWithCulture

public string ToStringWithCulture(object objectToConvert)
This is called from the compile/run appdomain to convert objects within an expression block to a string

Parameters

Returns

string