/// <summary> /// Initializes a new instance of <see cref="ODataSerializerWriteContext"/>. /// </summary> /// <param name="responseContext">An instance of <see cref="ODataResponseContext"/> that has context information for serializing various types. </param> public ODataSerializerWriteContext(ODataResponseContext responseContext) { if (responseContext == null) { throw Error.ArgumentNull("responseContext"); } _responseContext = responseContext; }