ObjectDependency Class
Wraps an Object into an ObjectDependency. The GetCacheKey(ICachingService) method relies on the KeyBuilder to create the cache key of the wrapped object.
Namespace: Metalama.Patterns.Caching.Dependencies
Assembly: Metalama.Patterns.Caching.dll
Syntax
public sealed class ObjectDependency : Object, ICacheDependency
Constructors
Name | Description |
---|---|
ObjectDependency(Object) | Wraps an Object into an ObjectDependency. The GetCacheKey(ICachingService) method relies on the KeyBuilder to create the cache key of the wrapped object. |
Properties
Name | Description |
---|---|
Object |
Methods
Name | Description |
---|---|
<Clone>$() | |
Deconstruct(out Object) | |
Equals(ObjectDependency) | |
Equals(Object) | |
GetCacheKey(ICachingService) | Gets a string that uniquely represents the current object. |
GetHashCode() | |
ToString() |
Operators
Name | Description |
---|---|
Equality(ObjectDependency, ObjectDependency) | |
Inequality(ObjectDependency, ObjectDependency) |
Explicit Interface Implementations
Name | Description |
---|---|
ICacheDependency.CascadeDependencies |