/// <summary> /// Detects the payload kind(s) from the message stream. /// </summary> /// <returns>An enumerable of zero, one or more payload kinds that were detected from looking at the payload in the message stream.</returns> internal IEnumerable <ODataPayloadKind> DetectPayloadKind() { DebugUtils.CheckNoExternalCallers(); ODataJsonPayloadKindDetectionDeserializer payloadKindDetectionDeserializer = new ODataJsonPayloadKindDetectionDeserializer(this); return(payloadKindDetectionDeserializer.DetectPayloadKind()); }
internal IEnumerable <ODataPayloadKind> DetectPayloadKind() { ODataJsonPayloadKindDetectionDeserializer deserializer = new ODataJsonPayloadKindDetectionDeserializer(this); return(deserializer.DetectPayloadKind()); }
internal IEnumerable<ODataPayloadKind> DetectPayloadKind() { ODataJsonPayloadKindDetectionDeserializer deserializer = new ODataJsonPayloadKindDetectionDeserializer(this); return deserializer.DetectPayloadKind(); }