Entity.SetMockContext(IDurableEntityContext) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the current context to a mocked context for unit testing.
public static void SetMockContext(Microsoft.Azure.WebJobs.Extensions.DurableTask.IDurableEntityContext mockContext);
static member SetMockContext : Microsoft.Azure.WebJobs.Extensions.DurableTask.IDurableEntityContext -> unit
Public Shared Sub SetMockContext (mockContext As IDurableEntityContext)
Parameters
- mockContext
- IDurableEntityContext
The mocked context.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET