Skip to main content
Adapter.Interfaces.Source package icon

Adapter.Interfaces.Source

Only two APIs are provided: the IAdapterService and its facade extension method As in the Adapters type. You can chose to use the former service directly instead of the convenience extension method. You don't lose any testability in doing either way, although you do need to pass around the adapter service in one case. ======= Example ======= // Calling code assumes there is a service always setup before invoking. // If there isn't, an InvalidOperationException is thrown automatically. // Use adapter extension method As as needed, i.e. // say we need to use it as an MSBuild project, if possible IMSBuildProject msbuild = project.As<IMSBuildProject>(); if (msbuild != null) // do MSBuild stuff with it.

Total Downloads
33.0K
32,973
Published
Jan 14, 2013
Latest stable version

Install

.NET CLI
dotnet add package Adapter.Interfaces.Source --version 1.1.1301.1418
Package Manager Console
Install-Package Adapter.Interfaces.Source -Version 1.1.1301.1418
PackageReference
<PackageReference Include="Adapter.Interfaces.Source" Version="1.1.1301.1418" />

Frameworks

No framework metadata available.

Dependencies

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.