View Source
Class UniqueServiceDescriptor
A custom that supports unique checking
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public sealed class UniqueServiceDescriptor : ServiceDescriptor
Constructors
View Source
UniqueServiceDescriptor(Type, Type, ServiceLifetime)
Declaration
public UniqueServiceDescriptor(Type serviceType, Type implementationType, ServiceLifetime lifetime)
Parameters
Type |
Name |
Description |
Type |
serviceType |
|
Type |
implementationType |
|
ServiceLifetime |
lifetime |
|
Methods
View Source
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
View Source
Equals(UniqueServiceDescriptor)
Declaration
public bool Equals(UniqueServiceDescriptor other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|