Share via


EventHubsModelFactory Class

Definition

A factory for the creation of Event Hubs model types to assist with mocking and testing.

public static class EventHubsModelFactory
type EventHubsModelFactory = class
Public Class EventHubsModelFactory
Inheritance
EventHubsModelFactory

Methods

EventData(BinaryData, IDictionary<String,Object>, IReadOnlyDictionary<String,Object>, String, Int64, Int64, DateTimeOffset)

Initializes a new instance of the EventData(BinaryData, IDictionary<String,Object>, IReadOnlyDictionary<String,Object>, String, Int64, Int64, DateTimeOffset) class.

EventData(BinaryData, IDictionary<String,Object>, IReadOnlyDictionary<String,Object>, String, Int64, String, DateTimeOffset)

Initializes a new instance of the EventData(BinaryData, IDictionary<String,Object>, IReadOnlyDictionary<String,Object>, String, Int64, String, DateTimeOffset) class.

EventDataBatch(Int64, IList<EventData>, CreateBatchOptions, Func<EventData,Boolean>)

Initializes a new instance of the EventDataBatch(Int64, IList<EventData>, CreateBatchOptions, Func<EventData,Boolean>) class.

EventHubProperties(String, DateTimeOffset, String[])

Initializes a new instance of the EventHubProperties(String, DateTimeOffset, String[]) class.

LastEnqueuedEventProperties(Nullable<Int64>, Nullable<Int64>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)

Initializes a new instance of the LastEnqueuedEventProperties(Nullable<Int64>, Nullable<Int64>, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>) class.

LastEnqueuedEventProperties(Nullable<Int64>, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>)

Initializes a new instance of the LastEnqueuedEventProperties(Nullable<Int64>, String, Nullable<DateTimeOffset>, Nullable<DateTimeOffset>) class.

PartitionContext(String, String, String, String, LastEnqueuedEventProperties)

Initializes a new instance of the PartitionContext class.

PartitionProperties(String, String, Boolean, Int64, Int64, Int64, DateTimeOffset)

Initializes a new instance of the PartitionProperties(String, String, Boolean, Int64, Int64, Int64, DateTimeOffset) class.

PartitionProperties(String, String, Boolean, Int64, Int64, String, DateTimeOffset)

Initializes a new instance of the PartitionProperties(String, String, Boolean, Int64, Int64, String, DateTimeOffset) class.

Applies to