aspnetcore/test/Microsoft.Extensions.Hostin.../Fakes/FakeService.cs

17 lines
436 B
C#

// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
namespace Microsoft.Extensions.Hosting.Fakes
{
public class FakeService : IFakeEveryService, IDisposable
{
public bool Disposed { get; private set; }
public void Dispose()
{
Disposed = true;
}
}
}