Walter.Web.FireWall
AddTransient(Type,Type) Method
Walter.Web.FireWall Assembly > Microsoft.Extensions.DependencyInjection Namespace > IFirewallServices Interface > AddTransient Method : AddTransient(Type,Type) Method
the interface
the concrete implementing type
Adds a transient service of the type specified in TService with an instance specified in implementationInstance to the specified Microsoft.Extensions.DependencyInjection.IServiceCollection.
Syntax
void AddTransient( 
   Type interfaceType,
   Type implementationType
)

Parameters

interfaceType
the interface
implementationType
the concrete implementing type
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