mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
Adding reference source for System.Activities System.Activities.DurableInstancing System.Activities.Presentation System.Runtime.DurableInstancing System.Workflow.Activities System.Workflow.ComponentModel System.Workflow.Runtime System.WorkflowServices System.Xaml.Hosting XamlBuildTask
27 lines
816 B
C#
27 lines
816 B
C#
//-----------------------------------------------------------------------------
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//-----------------------------------------------------------------------------
|
|
|
|
namespace System.Activities
|
|
{
|
|
abstract class LocationFactory
|
|
{
|
|
public Location CreateLocation(ActivityContext context)
|
|
{
|
|
return CreateLocationCore(context);
|
|
}
|
|
|
|
protected abstract Location CreateLocationCore(ActivityContext context);
|
|
}
|
|
|
|
abstract class LocationFactory<T> : LocationFactory
|
|
{
|
|
public abstract new Location<T> CreateLocation(ActivityContext context);
|
|
|
|
protected override Location CreateLocationCore(ActivityContext context)
|
|
{
|
|
return this.CreateLocation(context);
|
|
}
|
|
}
|
|
}
|