Walter.Web.FireWall
AddSingleton<T>() Method
Walter.Web.FireWall Assembly > Microsoft.Extensions.DependencyInjection Namespace > IFirewallServices Interface > AddSingleton Method : AddSingleton<T>() Method
The type to create
Adds a singleton service of the type specified in TService with an instance specified in implementationInstance to the specified Microsoft.Extensions.DependencyInjection.IServiceCollection.
Syntax
void AddSingleton<T>()
where T: class

Type Parameters

T
The type to create
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IFirewallServices Interface
IFirewallServices Members
Overload List