다음을 통해 공유


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, String, DateTimeOffset)

Initializes a new instance of the EventData class.

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

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

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

Initializes a new instance of the LastEnqueuedEventProperties class.

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

Initializes a new instance of the PartitionContext class.

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

Initializes a new instance of the PartitionProperties class.

Applies to