C# Class ServiceStack.Text.JsConfig

ファイルを表示 Open project: ServiceStack/ServiceStack.Text Class Usage Examples

Public Properties

Property Type Description
TreatValueAsRefTypes HashSet

Private Properties

Property Type Description
AddUniqueType void
InvokeReset void
JsConfig System
Reset void
TreatAsRefType bool

Public Methods

Method Description
BeginScope ( ) : JsConfigScope
CreateScope ( string config, JsConfigScope scope = null ) : JsConfigScope
InitStatics ( ) : void
Reset ( ) : void
With ( bool convertObjectTypesIntoStringDictionary = null, bool tryToParsePrimitiveTypeValues = null, bool tryToParseNumericType = null, ParseAsType parsePrimitiveFloatingPointTypes = null, ParseAsType parsePrimitiveIntegerTypes = null, bool excludeDefaultValues = null, bool includeNullValues = null, bool includeNullValuesInDictionaries = null, bool includeDefaultEnums = null, bool excludeTypeInfo = null, bool includeTypeInfo = null, bool emitCamelCaseNames = null, bool emitLowercaseUnderscoreNames = null, DateHandler dateHandler = null, TimeSpanHandler timeSpanHandler = null, PropertyConvention propertyConvention = null, bool preferInterfaces = null, bool throwOnDeserializationError = null, string typeAttr = null, string>.Func typeWriter = null, Type>.Func typeFinder = null, bool treatEnumAsInteger = null, bool skipDateTimeConversion = null, bool alwaysUseUtc = null, bool assumeUtc = null, bool appendUtcOffset = null, bool escapeUnicode = null, bool includePublicFields = null, int maxDepth = null, EmptyCtorFactoryDelegate modelFactory = null, string excludePropertyReferences = null ) : JsConfigScope

Private Methods

Method Description
AddUniqueType ( Type type ) : void
InvokeReset ( this genericType ) : void
JsConfig ( ) : System
Reset ( Type cachesForType ) : void
TreatAsRefType ( Type valueType ) : bool

Method Details

BeginScope() public static method

public static BeginScope ( ) : JsConfigScope
return JsConfigScope

CreateScope() public static method

public static CreateScope ( string config, JsConfigScope scope = null ) : JsConfigScope
config string
scope JsConfigScope
return JsConfigScope

InitStatics() public static method

public static InitStatics ( ) : void
return void

Reset() public static method

public static Reset ( ) : void
return void

With() public static method

public static With ( bool convertObjectTypesIntoStringDictionary = null, bool tryToParsePrimitiveTypeValues = null, bool tryToParseNumericType = null, ParseAsType parsePrimitiveFloatingPointTypes = null, ParseAsType parsePrimitiveIntegerTypes = null, bool excludeDefaultValues = null, bool includeNullValues = null, bool includeNullValuesInDictionaries = null, bool includeDefaultEnums = null, bool excludeTypeInfo = null, bool includeTypeInfo = null, bool emitCamelCaseNames = null, bool emitLowercaseUnderscoreNames = null, DateHandler dateHandler = null, TimeSpanHandler timeSpanHandler = null, PropertyConvention propertyConvention = null, bool preferInterfaces = null, bool throwOnDeserializationError = null, string typeAttr = null, string>.Func typeWriter = null, Type>.Func typeFinder = null, bool treatEnumAsInteger = null, bool skipDateTimeConversion = null, bool alwaysUseUtc = null, bool assumeUtc = null, bool appendUtcOffset = null, bool escapeUnicode = null, bool includePublicFields = null, int maxDepth = null, EmptyCtorFactoryDelegate modelFactory = null, string excludePropertyReferences = null ) : JsConfigScope
convertObjectTypesIntoStringDictionary bool
tryToParsePrimitiveTypeValues bool
tryToParseNumericType bool
parsePrimitiveFloatingPointTypes ParseAsType
parsePrimitiveIntegerTypes ParseAsType
excludeDefaultValues bool
includeNullValues bool
includeNullValuesInDictionaries bool
includeDefaultEnums bool
excludeTypeInfo bool
includeTypeInfo bool
emitCamelCaseNames bool
emitLowercaseUnderscoreNames bool
dateHandler DateHandler
timeSpanHandler TimeSpanHandler
propertyConvention PropertyConvention
preferInterfaces bool
throwOnDeserializationError bool
typeAttr string
typeWriter string>.Func
typeFinder Type>.Func
treatEnumAsInteger bool
skipDateTimeConversion bool
alwaysUseUtc bool
assumeUtc bool
appendUtcOffset bool
escapeUnicode bool
includePublicFields bool
maxDepth int
modelFactory EmptyCtorFactoryDelegate
excludePropertyReferences string
return JsConfigScope

Property Details

TreatValueAsRefTypes public_oe static_oe property

public static HashSet TreatValueAsRefTypes
return HashSet