/// <summary> /// Constructor. /// </summary> /// <param name="jsonLightInputContext">The input to read the payload from.</param> /// <param name="operation">The operation import whose parameters are being read.</param> internal ODataJsonLightParameterReader(ODataJsonLightInputContext jsonLightInputContext, IEdmOperation operation) : base(jsonLightInputContext, operation) { Debug.Assert(jsonLightInputContext != null, "jsonLightInputContext != null"); Debug.Assert(jsonLightInputContext.ReadingResponse == false, "jsonLightInputContext.ReadingResponse == false"); Debug.Assert(operation != null, "operationImport != null"); this.jsonLightInputContext = jsonLightInputContext; this.jsonLightParameterDeserializer = new ODataJsonLightParameterDeserializer(this, jsonLightInputContext); Debug.Assert(this.jsonLightInputContext.Model.IsUserModel(), "this.jsonLightInputContext.Model.IsUserModel()"); }
/// <summary> /// Constructor. /// </summary> /// <param name="jsonLightInputContext">The input to read the payload from.</param> /// <param name="operation">The operation import whose parameters are being read.</param> internal ODataJsonLightParameterReader(ODataJsonLightInputContext jsonLightInputContext, IEdmOperation operation) : base(jsonLightInputContext, operation) { Debug.Assert(jsonLightInputContext != null, "jsonLightInputContext != null"); Debug.Assert(jsonLightInputContext.ReadingResponse == false, "jsonLightInputContext.ReadingResponse == false"); Debug.Assert(operation != null, "operationImport != null"); this.jsonLightInputContext = jsonLightInputContext; this.jsonLightParameterDeserializer = new ODataJsonLightParameterDeserializer(this, jsonLightInputContext); Debug.Assert(this.jsonLightInputContext.Model.IsUserModel(), "this.jsonLightInputContext.Model.IsUserModel()"); }