コード例 #1
0
        /// <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());
        }
コード例 #2
0
        internal IEnumerable <ODataPayloadKind> DetectPayloadKind()
        {
            ODataJsonPayloadKindDetectionDeserializer deserializer = new ODataJsonPayloadKindDetectionDeserializer(this);

            return(deserializer.DetectPayloadKind());
        }
コード例 #3
0
 internal IEnumerable<ODataPayloadKind> DetectPayloadKind()
 {
     ODataJsonPayloadKindDetectionDeserializer deserializer = new ODataJsonPayloadKindDetectionDeserializer(this);
     return deserializer.DetectPayloadKind();
 }