/// <summary> /// Constructor. /// </summary> /// <param name="jsonOutputContext">The output context to write to.</param> internal ODataJsonSerializer(ODataJsonOutputContext jsonOutputContext) : base(jsonOutputContext) { DebugUtils.CheckNoExternalCallers(); Debug.Assert(jsonOutputContext != null, "jsonOutputContext != null"); this.jsonOutputContext = jsonOutputContext; }
/// <summary> /// Constructor. /// </summary> /// <param name="jsonOutputContext">The output context to write to.</param> internal ODataJsonSerializer(ODataJsonOutputContext jsonOutputContext) : base(jsonOutputContext) { DebugUtils.CheckNoExternalCallers(); Debug.Assert(jsonOutputContext != null, "jsonOutputContext != null"); this.jsonOutputContext = jsonOutputContext; }
/// <summary> /// Constructor. /// </summary> /// <param name="jsonOutputContext">The output context to write to.</param> /// <param name="expectedItemType">The type reference of the expected item type or null if no expected item type exists.</param> /// <param name="listener">If not null, the writer will notify the implementer of the interface of relevant state changes in the writer.</param> internal ODataJsonCollectionWriter(ODataJsonOutputContext jsonOutputContext, IEdmTypeReference expectedItemType, IODataReaderWriterListener listener) : base(jsonOutputContext, expectedItemType, listener) { DebugUtils.CheckNoExternalCallers(); Debug.Assert(jsonOutputContext != null, "jsonOutputContext != null"); this.jsonOutputContext = jsonOutputContext; this.jsonCollectionSerializer = new ODataJsonCollectionSerializer(this.jsonOutputContext); }
/// <summary> /// Constructor. /// </summary> /// <param name="jsonOutputContext">The output context to write to.</param> /// <param name="functionImport">The function import whose parameters will be written.</param> internal ODataJsonParameterWriter(ODataJsonOutputContext jsonOutputContext, IEdmFunctionImport functionImport) : base(jsonOutputContext, functionImport) { DebugUtils.CheckNoExternalCallers(); Debug.Assert(jsonOutputContext != null, "jsonOutputContext != null"); this.jsonOutputContext = jsonOutputContext; this.jsonPropertyAndValueSerializer = new ODataJsonPropertyAndValueSerializer(this.jsonOutputContext); }
/// <summary> /// Constructor. /// </summary> /// <param name="jsonOutputContext">The output context to write to.</param> /// <param name="functionImport">The function import whose parameters will be written.</param> internal ODataJsonParameterWriter(ODataJsonOutputContext jsonOutputContext, IEdmFunctionImport functionImport) : base(jsonOutputContext, functionImport) { DebugUtils.CheckNoExternalCallers(); Debug.Assert(jsonOutputContext != null, "jsonOutputContext != null"); this.jsonOutputContext = jsonOutputContext; this.jsonPropertyAndValueSerializer = new ODataJsonPropertyAndValueSerializer(this.jsonOutputContext); }
/// <summary> /// Constructor. /// </summary> /// <param name="jsonOutputContext">The output context to write to.</param> /// <param name="expectedItemType">The type reference of the expected item type or null if no expected item type exists.</param> /// <param name="listener">If not null, the writer will notify the implementer of the interface of relevant state changes in the writer.</param> internal ODataJsonCollectionWriter(ODataJsonOutputContext jsonOutputContext, IEdmTypeReference expectedItemType, IODataReaderWriterListener listener) : base(jsonOutputContext, expectedItemType, listener) { DebugUtils.CheckNoExternalCallers(); Debug.Assert(jsonOutputContext != null, "jsonOutputContext != null"); this.jsonOutputContext = jsonOutputContext; this.jsonCollectionSerializer = new ODataJsonCollectionSerializer(this.jsonOutputContext); }
/// <summary> /// Constructor. /// </summary> /// <param name="jsonOutputContext">The output context to write to.</param> /// <param name="writingFeed">true if the writer is created for writing a feed; false when it is created for writing an entry.</param> internal ODataJsonWriter(ODataJsonOutputContext jsonOutputContext, bool writingFeed) : base(jsonOutputContext, writingFeed) { DebugUtils.CheckNoExternalCallers(); Debug.Assert(jsonOutputContext != null, "jsonOutputContext != null"); this.jsonOutputContext = jsonOutputContext; this.jsonEntryAndFeedSerializer = new ODataJsonEntryAndFeedSerializer(this.jsonOutputContext); }
/// <summary> /// Constructor. /// </summary> /// <param name="jsonOutputContext">The output context to write to.</param> /// <param name="writingFeed">true if the writer is created for writing a feed; false when it is created for writing an entry.</param> internal ODataJsonWriter(ODataJsonOutputContext jsonOutputContext, bool writingFeed) : base(jsonOutputContext, writingFeed) { DebugUtils.CheckNoExternalCallers(); Debug.Assert(jsonOutputContext != null, "jsonOutputContext != null"); this.jsonOutputContext = jsonOutputContext; this.jsonEntryAndFeedSerializer = new ODataJsonEntryAndFeedSerializer(this.jsonOutputContext); }
/// <summary> /// Constructor. /// </summary> /// <param name="jsonOutputContext">The output context to write to.</param> internal ODataJsonServiceDocumentSerializer(ODataJsonOutputContext jsonOutputContext) : base(jsonOutputContext) { DebugUtils.CheckNoExternalCallers(); }
internal ODataJsonCollectionWriter(ODataJsonOutputContext jsonOutputContext, IEdmTypeReference expectedItemType, IODataReaderWriterListener listener) : base(jsonOutputContext, expectedItemType, listener) { this.jsonOutputContext = jsonOutputContext; this.jsonCollectionSerializer = new ODataJsonCollectionSerializer(this.jsonOutputContext); }
internal ODataJsonEntryAndFeedSerializer(ODataJsonOutputContext jsonOutputContext) : base(jsonOutputContext) { }
internal ODataJsonPropertyAndValueSerializer(ODataJsonOutputContext jsonOutputContext) : base(jsonOutputContext) { }
/// <summary> /// Constructor. /// </summary> /// <param name="jsonOutputContext">The output context to write to.</param> internal ODataJsonServiceDocumentSerializer(ODataJsonOutputContext jsonOutputContext) : base(jsonOutputContext) { DebugUtils.CheckNoExternalCallers(); }
internal ODataJsonPropertyAndValueSerializer(ODataJsonOutputContext jsonOutputContext) : base(jsonOutputContext) { }
internal ODataJsonWriter(ODataJsonOutputContext jsonOutputContext, bool writingFeed) : base(jsonOutputContext, writingFeed) { this.jsonOutputContext = jsonOutputContext; this.jsonEntryAndFeedSerializer = new ODataJsonEntryAndFeedSerializer(this.jsonOutputContext); }
internal ODataJsonWriter(ODataJsonOutputContext jsonOutputContext, bool writingFeed) : base(jsonOutputContext, writingFeed) { this.jsonOutputContext = jsonOutputContext; this.jsonEntryAndFeedSerializer = new ODataJsonEntryAndFeedSerializer(this.jsonOutputContext); }
/// <summary> /// Constructor. /// </summary> /// <param name="jsonOutputContext">The output context to write to.</param> internal ODataJsonPropertyAndValueSerializer(ODataJsonOutputContext jsonOutputContext) : base(jsonOutputContext) { DebugUtils.CheckNoExternalCallers(); }
/// <summary> /// Constructor. /// </summary> /// <param name="jsonOutputContext">The output context to write to.</param> internal ODataJsonEntryAndFeedSerializer(ODataJsonOutputContext jsonOutputContext) : base(jsonOutputContext) { DebugUtils.CheckNoExternalCallers(); }
internal ODataJsonEntityReferenceLinkSerializer(ODataJsonOutputContext jsonOutputContext) : base(jsonOutputContext) { }
internal ODataJsonParameterWriter(ODataJsonOutputContext jsonOutputContext, IEdmFunctionImport functionImport) : base(jsonOutputContext, functionImport) { this.jsonOutputContext = jsonOutputContext; this.jsonPropertyAndValueSerializer = new ODataJsonPropertyAndValueSerializer(this.jsonOutputContext); }
internal ODataJsonServiceDocumentSerializer(ODataJsonOutputContext jsonOutputContext) : base(jsonOutputContext) { }
/// <summary> /// Constructor. /// </summary> /// <param name="jsonOutputContext">The output context to write to.</param> internal ODataJsonEntityReferenceLinkSerializer(ODataJsonOutputContext jsonOutputContext) : base(jsonOutputContext) { DebugUtils.CheckNoExternalCallers(); }
internal ODataJsonServiceDocumentSerializer(ODataJsonOutputContext jsonOutputContext) : base(jsonOutputContext) { }
internal ODataJsonSerializer(ODataJsonOutputContext jsonOutputContext) : base(jsonOutputContext) { this.jsonOutputContext = jsonOutputContext; }
internal ODataJsonCollectionSerializer(ODataJsonOutputContext jsonOutputContext) : base(jsonOutputContext) { }
internal ODataJsonParameterWriter(ODataJsonOutputContext jsonOutputContext, IEdmFunctionImport functionImport) : base(jsonOutputContext, functionImport) { this.jsonOutputContext = jsonOutputContext; this.jsonPropertyAndValueSerializer = new ODataJsonPropertyAndValueSerializer(this.jsonOutputContext); }
internal ODataJsonCollectionWriter(ODataJsonOutputContext jsonOutputContext, IEdmTypeReference expectedItemType, IODataReaderWriterListener listener) : base(jsonOutputContext, expectedItemType, listener) { this.jsonOutputContext = jsonOutputContext; this.jsonCollectionSerializer = new ODataJsonCollectionSerializer(this.jsonOutputContext); }
internal ODataJsonEntityReferenceLinkSerializer(ODataJsonOutputContext jsonOutputContext) : base(jsonOutputContext) { }
internal ODataJsonEntryAndFeedSerializer(ODataJsonOutputContext jsonOutputContext) : base(jsonOutputContext) { }
internal ODataJsonSerializer(ODataJsonOutputContext jsonOutputContext) : base(jsonOutputContext) { this.jsonOutputContext = jsonOutputContext; }
/// <summary> /// Constructor. /// </summary> /// <param name="jsonOutputContext">The output context to write to.</param> internal ODataJsonPropertyAndValueSerializer(ODataJsonOutputContext jsonOutputContext) : base(jsonOutputContext) { DebugUtils.CheckNoExternalCallers(); }
/// <summary> /// Constructor. /// </summary> /// <param name="jsonOutputContext">The output context to write to.</param> internal ODataJsonEntityReferenceLinkSerializer(ODataJsonOutputContext jsonOutputContext) : base(jsonOutputContext) { DebugUtils.CheckNoExternalCallers(); }