C# 클래스 System.Runtime.Serialization.Json.JsonFormatReaderGenerator.CriticalHelper

파일 보기 프로젝트 열기: dotnet/corefx

공개 메소드들

메소드 설명
GenerateClassReader ( ClassDataContract classContract ) : JsonFormatClassReaderDelegate
GenerateCollectionReader ( CollectionDataContract collectionContract ) : JsonFormatCollectionReaderDelegate
GenerateGetOnlyCollectionReader ( CollectionDataContract collectionContract ) : JsonFormatGetOnlyCollectionReaderDelegate

비공개 메소드들

메소드 설명
BeginMethod ( CodeGenerator ilg, string methodName, Type delegateType, bool allowPrivateMemberAccess ) : void
CheckRequiredElements ( System.Runtime.Serialization.BitFlagsGenerator expectedElements, byte requiredElements, Label throwMissingRequiredMembersLabel ) : void
CreateObject ( ClassDataContract classContract ) : void
GenerateCollectionReaderHelper ( CollectionDataContract collectionContract, bool isGetOnlyCollection ) : CodeGenerator
HandleUnexpectedItemInCollection ( LocalBuilder iterator ) : void
InitArgs ( ) : void
InternalDeserialize ( LocalBuilder value, Type type, string name ) : void
InvokeFactoryMethod ( ClassDataContract classContract ) : bool
InvokeOnDeserialized ( ClassDataContract classContract ) : void
InvokeOnDeserializing ( ClassDataContract classContract ) : void
IsEndElement ( ) : void
IsStartElement ( ) : void
IsStartElement ( ArgBuilder nameArg, ArgBuilder nsArg ) : void
LoadArray ( byte array, string name ) : void
ReadClass ( ClassDataContract classContract ) : void
ReadCollection ( CollectionDataContract collectionContract ) : void
ReadCollectionItem ( CollectionDataContract collectionContract, Type itemType ) : LocalBuilder
ReadGetOnlyCollection ( CollectionDataContract collectionContract ) : void
ReadISerializable ( ClassDataContract classContract ) : void
ReadMembers ( ClassDataContract classContract, System.Runtime.Serialization.BitFlagsGenerator expectedElements, Label memberLabels, Label throwDuplicateMemberLabel, LocalBuilder memberIndexLocal ) : int
ReadMembers ( ClassDataContract classContract, LocalBuilder extensionDataLocal ) : void
ReadSimpleDictionary ( CollectionDataContract collectionContract, Type keyValueType ) : void
ReadValue ( Type type, string name ) : LocalBuilder
ResetExpectedElements ( System.Runtime.Serialization.BitFlagsGenerator expectedElements, int index ) : void
SetExpectedElements ( System.Runtime.Serialization.BitFlagsGenerator expectedElements, int startIndex ) : void
SetRequiredElements ( ClassDataContract contract, byte requiredElements ) : int
StoreCollectionValue ( LocalBuilder collection, LocalBuilder value, CollectionDataContract collectionContract ) : void
StoreKeyValuePair ( LocalBuilder collection, CollectionDataContract collectionContract, LocalBuilder pairKey, LocalBuilder pairValue ) : void
ThrowSerializationException ( ) : void
ThrowSerializationException ( string msg ) : void
ThrowUnexpectedStateException ( System.Xml.XmlNodeType expectedState ) : void
TryReadPrimitiveArray ( Type itemType ) : bool
WrapNullableObject ( LocalBuilder innerValue, LocalBuilder outerValue, int nullables ) : void

메소드 상세

GenerateClassReader() 공개 메소드

public GenerateClassReader ( ClassDataContract classContract ) : JsonFormatClassReaderDelegate
classContract ClassDataContract
리턴 JsonFormatClassReaderDelegate

GenerateCollectionReader() 공개 메소드

public GenerateCollectionReader ( CollectionDataContract collectionContract ) : JsonFormatCollectionReaderDelegate
collectionContract CollectionDataContract
리턴 JsonFormatCollectionReaderDelegate

GenerateGetOnlyCollectionReader() 공개 메소드

public GenerateGetOnlyCollectionReader ( CollectionDataContract collectionContract ) : JsonFormatGetOnlyCollectionReaderDelegate
collectionContract CollectionDataContract
리턴 JsonFormatGetOnlyCollectionReaderDelegate