C# Class Jil.DeserializeDynamic.JsonObject

Inheritance: ICustomTypeDescriptor
Datei anzeigen Open project: kevin-montrose/Jil Class Usage Examples

Public Methods

Method Description
GetAttributes ( ) : AttributeCollection
GetClassName ( ) : string
GetComponentName ( ) : string
GetConverter ( ) : TypeConverter
GetDefaultEvent ( ) : System.ComponentModel.EventDescriptor
GetDefaultProperty ( ) : PropertyDescriptor
GetEditor ( Type editorBaseType ) : object
GetEvents ( ) : EventDescriptorCollection
GetEvents ( Attribute attributes ) : EventDescriptorCollection
GetMember ( string memberName ) : JsonObject
GetMemberNames ( ) : JsonObject>.KeyCollection.Dictionary
GetMetaObject ( Expression exp ) : DynamicMetaObject
GetProperties ( ) : PropertyDescriptorCollection
GetProperties ( Attribute attributes ) : PropertyDescriptorCollection
GetPropertyOwner ( PropertyDescriptor pd ) : object
IsAmbiguousAsDateTime ( ) : bool
IsDictionary ( ) : bool
ToString ( ) : string
TryCastBool ( bool &bit ) : bool
TryCastDateTime ( System.DateTime &dt ) : bool
TryCastDateTimeOffset ( DateTimeOffset &dto ) : bool
TryCastFloatingPoint ( double &floatingPoint ) : bool
TryCastGuid ( System.Guid &g ) : bool
TryCastInteger ( ulong &number, bool &negative ) : bool
TryCastString ( string &str ) : bool
TryCastTimeSpan ( System.TimeSpan &ts ) : bool
TryConvertEnumerable ( IEnumerable &enumerable ) : bool

Private Methods

Method Description
ForFastNumber ( bool neg, ulong a, ulong b, byte bLen, long c, Options options ) : JsonObject
ForNumber ( double num, Options options ) : JsonObject
ForString ( string str, Options options ) : JsonObject
GetDynamicMemberNames ( ) : IEnumerable
InnerTryConvert ( Type returnType, object &result ) : bool
NewArray ( JsonObject parent ) : JsonObject
NewObject ( JsonObject parent ) : JsonObject
NewObjectMember ( JsonObject parent ) : JsonObject
ParseFlagsEnum ( Type enumType, object &result ) : bool
Pop ( ) : JsonObject
Put ( JsonObject other ) : void
_InnerTryBinaryOperation ( ExpressionType operand, dynamic rightHand, Type returnType, object &result ) : bool
_InnerTryGetIndex ( Type returnType, object indexes, object &result ) : bool
_InnerTryGetMember ( string name, Type returnType, object &result ) : bool
_InnerTryInvokeMember ( string name, object args, object &result ) : bool
_InnerTryUnaryOperation ( ExpressionType operand, Type returnType, object &result ) : bool

Method Details

GetAttributes() public method

public GetAttributes ( ) : AttributeCollection
return System.ComponentModel.AttributeCollection

GetClassName() public method

public GetClassName ( ) : string
return string

GetComponentName() public method

public GetComponentName ( ) : string
return string

GetConverter() public method

public GetConverter ( ) : TypeConverter
return System.ComponentModel.TypeConverter

GetDefaultEvent() public method

public GetDefaultEvent ( ) : System.ComponentModel.EventDescriptor
return System.ComponentModel.EventDescriptor

GetDefaultProperty() public method

public GetDefaultProperty ( ) : PropertyDescriptor
return System.ComponentModel.PropertyDescriptor

GetEditor() public method

public GetEditor ( Type editorBaseType ) : object
editorBaseType System.Type
return object

GetEvents() public method

public GetEvents ( ) : EventDescriptorCollection
return System.ComponentModel.EventDescriptorCollection

GetEvents() public method

public GetEvents ( Attribute attributes ) : EventDescriptorCollection
attributes System.Attribute
return System.ComponentModel.EventDescriptorCollection

GetMember() public method

public GetMember ( string memberName ) : JsonObject
memberName string
return JsonObject

GetMemberNames() public method

public GetMemberNames ( ) : JsonObject>.KeyCollection.Dictionary
return JsonObject>.KeyCollection.Dictionary

GetMetaObject() public method

public GetMetaObject ( Expression exp ) : DynamicMetaObject
exp Expression
return DynamicMetaObject

GetProperties() public method

public GetProperties ( ) : PropertyDescriptorCollection
return System.ComponentModel.PropertyDescriptorCollection

GetProperties() public method

public GetProperties ( Attribute attributes ) : PropertyDescriptorCollection
attributes System.Attribute
return System.ComponentModel.PropertyDescriptorCollection

GetPropertyOwner() public method

public GetPropertyOwner ( PropertyDescriptor pd ) : object
pd System.ComponentModel.PropertyDescriptor
return object

IsAmbiguousAsDateTime() public method

public IsAmbiguousAsDateTime ( ) : bool
return bool

IsDictionary() public method

public IsDictionary ( ) : bool
return bool

ToString() public method

public ToString ( ) : string
return string

TryCastBool() public method

public TryCastBool ( bool &bit ) : bool
bit bool
return bool

TryCastDateTime() public method

public TryCastDateTime ( System.DateTime &dt ) : bool
dt System.DateTime
return bool

TryCastDateTimeOffset() public method

public TryCastDateTimeOffset ( DateTimeOffset &dto ) : bool
dto DateTimeOffset
return bool

TryCastFloatingPoint() public method

public TryCastFloatingPoint ( double &floatingPoint ) : bool
floatingPoint double
return bool

TryCastGuid() public method

public TryCastGuid ( System.Guid &g ) : bool
g System.Guid
return bool

TryCastInteger() public method

public TryCastInteger ( ulong &number, bool &negative ) : bool
number ulong
negative bool
return bool

TryCastString() public method

public TryCastString ( string &str ) : bool
str string
return bool

TryCastTimeSpan() public method

public TryCastTimeSpan ( System.TimeSpan &ts ) : bool
ts System.TimeSpan
return bool

TryConvertEnumerable() public method

public TryConvertEnumerable ( IEnumerable &enumerable ) : bool
enumerable IEnumerable
return bool