fuget.org
Stashbox
by Peter Csajtai
3.1.0-preview-529
Toggle Dropdown
API Diff
with 3.1.0-preview-534
Toggle Dropdown
Stashbox.3.1.0-preview-529.nupkg
nuget.org
github.com
Source
License
<
PackageReference
Include
=
"Stashbox"
Version
=
"3.1.0-preview-529"
/>
Frameworks
net40
net45
netstandard1.0
netstandard1.3
netstandard2.0
Dependencies
NETStandard.Library 1.6.1
System.Reflection.Emit 4.3.0
System.Reflection.Emit.Lightweight 4.3.0
API Diff between 3.1.0-preview-529 and 3.1.0-preview-534
24
Additions
18
Removals
Stashbox
public
interface
IContainerConfigurator
IContainerConfigurator
WithDefaultLifetime
(
LifetimeDescriptor
lifetime
)
IContainerConfigurator
WithDefaultLifetime
(
ILifetime
lifetime
)
Stashbox.BuildUp
public
interface
IObjectBuilder
bool
ResultShouldBeLifetimeManaged
{
get
; }
Stashbox.Configuration
public
class
ContainerConfiguration
public
LifetimeDescriptor
DefaultLifetime
{
get
; }
public
ILifetime
DefaultLifetime
{
get
; }
public
class
ContainerConfigurator
:
IContainerConfigurator
public
IContainerConfigurator
WithDefaultLifetime
(
LifetimeDescriptor
lifetime
)
public
IContainerConfigurator
WithDefaultLifetime
(
ILifetime
lifetime
)
Stashbox.Lifetime
public
abstract
class
LifetimeDescriptor
public
static
class
Lifetimes
public
interface
ILifetime
ILifetime
Create
()
Expression
GetExpression
(
IContainerContext
containerContext
,
IServiceRegistration
serviceRegistration
,
IObjectBuilder
objectBuilder
,
ResolutionContext
resolutionContext
,
Type
resolveType
)
public
abstract
class
LifetimeBase
:
ILifetime
protected
LifetimeBase
()
public
abstract
ILifetime
Create
()
public
virtual
Expression
GetExpression
(
IContainerContext
containerContext
,
IServiceRegistration
serviceRegistration
,
IObjectBuilder
objectBuilder
,
ResolutionContext
resolutionContext
,
Type
resolveType
)
public
class
NamedScopeLifetime
:
ScopedLifetimeBase
public
NamedScopeLifetime
()
public
object
ScopeName
{
get
; }
public
NamedScopeLifetime
(
object
scopeName
)
public
abstract
class
ScopedLifetimeBase
:
LifetimeBase
protected
readonly
int
ScopeId
protected
readonly
object
Sync
protected
ScopedLifetimeBase
()
public
Expression
GetFactoryExpression
(
IContainerContext
containerContext
,
IServiceRegistration
serviceRegistration
,
IObjectBuilder
objectBuilder
,
ResolutionContext
resolutionContext
,
Type
resolveType
)
public
Expression
StoreExpressionIntoLocalVariable
(
Expression
expression
,
ResolutionContext
resolutionContext
,
Type
resolveType
)
public
class
TransientLifetime
:
LifetimeDescriptor
Stashbox.Registration
public
interface
IServiceRegistration
IObjectBuilder
ObjectBuilder
{
get
; }
public
class
RegistrationContext
public
LifetimeDescriptor
Lifetime
{
get
; }
public
ILifetime
Lifetime
{
get
; }
public
object
NamedScopeRestrictionIdentifier
{
get
; }
public
class
ServiceRegistration
:
IServiceRegistration
public
IObjectBuilder
ObjectBuilder
{
get
; }
public
bool
ShouldCacheExpressionInResolutionRequest
{
get
; }
Stashbox.Registration.Fluent
public
class
FluentServiceConfigurator
<
TConfigurator
> :
BaseFluentConfigurator
<
TConfigurator
>,
IFluentServiceConfigurator
<
TConfigurator
>,
IBaseFluentConfigurator
<
TConfigurator
> where
TConfigurator
:
FluentServiceConfigurator
<
TConfigurator
>
public
TConfigurator
WithLifetime
(
LifetimeDescriptor
lifetime
)
public
TConfigurator
WithLifetime
(
ILifetime
lifetime
)
public
interface
IFluentServiceConfigurator
<
TConfigurator
> :
IBaseFluentConfigurator
<
TConfigurator
> where
TConfigurator
:
IFluentServiceConfigurator
<
TConfigurator
>
TConfigurator
WithLifetime
(
LifetimeDescriptor
lifetime
)
TConfigurator
WithLifetime
(
ILifetime
lifetime
)
Stashbox.Resolution
public
class
ResolutionContext
public
static
ResolutionContext
New
(
IResolutionScope
scope
,
IContainerContext
currentContainerContext
,
bool
nullResultAllowed
=
false
,
object
[]
dependencyOverrides
=
null
)
public
void
AddDefinedVariable
(
int
key
,
ParameterExpression
parameter
)
public
static
ResolutionContext
New
(
IResolutionScope
scope
,
bool
nullResultAllowed
=
false
,
object
[]
dependencyOverrides
=
null
)
public
void
AddDefinedVariable
(
object
key
,
ParameterExpression
parameter
)
public
ParameterExpression
GetKnownVariableOrDefault
(
int
key
)
public
ParameterExpression
GetKnownVariableOrDefault
(
object
key
)