Свойство | Type | Description | |
---|---|---|---|
PerScopedRequest | Stashbox.Lifetime.LifetimeDescriptor | ||
Scoped | Stashbox.Lifetime.LifetimeDescriptor | ||
Singleton | Stashbox.Lifetime.LifetimeDescriptor | ||
Transient | LifetimeDescriptor |
Méthode | Description | |
---|---|---|
NamedScope ( object name ) : Stashbox.Lifetime.LifetimeDescriptor |
Produces a NamedScope lifetime.
|
public static NamedScope ( object name ) : Stashbox.Lifetime.LifetimeDescriptor | ||
name | object | |
Résultat | Stashbox.Lifetime.LifetimeDescriptor |
public static LifetimeDescriptor,Stashbox.Lifetime PerScopedRequest | ||
Résultat | Stashbox.Lifetime.LifetimeDescriptor |
public static LifetimeDescriptor,Stashbox.Lifetime Scoped | ||
Résultat | Stashbox.Lifetime.LifetimeDescriptor |
public static LifetimeDescriptor,Stashbox.Lifetime Singleton | ||
Résultat | Stashbox.Lifetime.LifetimeDescriptor |