Newer
Older
MI-AudioMixer / Library / PackageCache / com.unity.package-manager-ui@2.0.3 / Editor / Sources / Services / Interfaces / IOperationFactory.cs
@flameshadow flameshadow on 10 Apr 2019 547 bytes first commit
namespace UnityEditor.PackageManager.UI
{
    /// <summary>
    /// This is the Interface we will use to create the facade we need for testing.
    /// In the case of the Fake factory, we can create fake operations with doctored data we use for our tests.
    /// </summary>
    internal interface IOperationFactory
    {
        IListOperation CreateListOperation(bool offlineMode = false);
        ISearchOperation CreateSearchOperation();
        IAddOperation CreateAddOperation();
        IRemoveOperation CreateRemoveOperation();
    }
}