FakeService 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public ref class FakeService : IDisposable, Microsoft::Extensions::DependencyInjection::Specification::Fakes::IFakeEveryService, Microsoft::Extensions::DependencyInjection::Specification::Fakes::IFakeOpenGenericService<Microsoft::Extensions::DependencyInjection::Specification::Fakes::PocoClass ^>
public class FakeService : IDisposable, Microsoft.Extensions.DependencyInjection.Specification.Fakes.IFakeEveryService, Microsoft.Extensions.DependencyInjection.Specification.Fakes.IFakeOpenGenericService<Microsoft.Extensions.DependencyInjection.Specification.Fakes.PocoClass>
type FakeService = class
interface IFakeEveryService
interface IFakeService
interface IFakeMultipleService
interface IFakeScopedService
interface IFakeServiceInstance
interface IFakeSingletonService
interface IFakeOpenGenericService<PocoClass>
interface IDisposable
Public Class FakeService
Implements IDisposable, IFakeEveryService, IFakeOpenGenericService(Of PocoClass)
- 繼承
-
FakeService
- 實作
Dispose() | |
Equals(Object) |
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
Get |
做為預設雜湊函式。 (繼承來源 Object) |
Get |
取得目前執行個體的 Type。 (繼承來源 Object) |
Memberwise |
建立目前 Object 的淺層複製。 (繼承來源 Object) |
To |
傳回代表目前物件的字串。 (繼承來源 Object) |
產品 | 版本 |
---|---|
.NET | 8 (package-provided), 9 (package-provided) |
.NET Framework | 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided) |
.NET Standard | 2.0 (package-provided) |