Class NOPApplicationSingletonManager
Implements IApplicationSingletonManager by doing nothing
Implements
System.IDisposable
System.Collections.Generic.IEnumerable<System.Object>
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Azos.Apps
Assembly: Azos.dll
Syntax
public sealed class NOPApplicationSingletonManager : DisposableObject, IDisposable, IApplicationSingletonManager, IEnumerable<object>, IEnumerable
Methods
Get<T>()
Declaration
public T Get<T>()
where T : class
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |
GetEnumerator()
Declaration
public IEnumerator<object> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<System.Object> |
GetOrCreate<T>(Func<T>)
Declaration
public (T instance, bool created)GetOrCreate<T>(Func<T> factory)
where T : class
Parameters
Type | Name | Description |
---|---|---|
System.Func<T> | factory |
Returns
Type | Description |
---|---|
System.ValueTuple<T, System.Boolean> |
Type Parameters
Name | Description |
---|---|
T |
Remove<T>()
Declaration
public bool Remove<T>()
where T : class
Returns
Type | Description |
---|---|
System.Boolean |
Type Parameters
Name | Description |
---|---|
T |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
Implements
System.IDisposable
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable