JsWriter<TSerializer>
Assembly: ServiceStack.Text.dll
View Source
Declaration
public class JsWriter<TSerializer>
where TSerializer : ITypeSerializer
Fields
SpecialTypes
View Source
Declaration
public readonly Dictionary<Type, WriteObjectDelegate> SpecialTypes
Methods
GetValueTypeToStringMethod(Type)
View Source
Declaration
public WriteObjectDelegate GetValueTypeToStringMethod(Type type)
Returns
ServiceStack.Text.Common.WriteObjectDelegate
Parameters
Type | Name |
---|---|
System.Type | type |
GetWriteFn<T>()
View Source
Declaration
public WriteObjectDelegate GetWriteFn<T>()
Returns
ServiceStack.Text.Common.WriteObjectDelegate
Type Parameters
T
WriteValue(TextWriter, Object)
View Source
Declaration
public void WriteValue(TextWriter writer, object value)
Parameters
Type | Name |
---|---|
System.IO.TextWriter | writer |
System.Object | value |
GetSpecialWriteFn(Type)
View Source
Declaration
public WriteObjectDelegate GetSpecialWriteFn(Type type)
Returns
ServiceStack.Text.Common.WriteObjectDelegate
Parameters
Type | Name |
---|---|
System.Type | type |
WriteType(TextWriter, Object)
View Source
Declaration
public void WriteType(TextWriter writer, object value)
Parameters
Type | Name |
---|---|
System.IO.TextWriter | writer |
System.Object | value |
InitAot<T>()
View Source
Declaration
public static void InitAot<T>()
Type Parameters
T