Class DependencyContainerRegistrationException
Generic Constraint Registration Exception.
Inherited Members
Namespace: Swan.DependencyInjection
Syntax
[Serializable]
public class DependencyContainerRegistrationException : Exception, ISerializable, _Exception
Constructors
DependencyContainerRegistrationException(Type, IEnumerable<Type>)
Initializes a new instance of the DependencyContainerRegistrationException class.
Declaration
public DependencyContainerRegistrationException(Type registerType, IEnumerable<Type> types)
Parameters
Type | Name | Description |
---|---|---|
Type | registerType | Type of the register. |
IEnumerable<Type> | types | The types. |
DependencyContainerRegistrationException(Type, String, Boolean)
Initializes a new instance of the DependencyContainerRegistrationException class.
Declaration
public DependencyContainerRegistrationException(Type type, string method, bool isTypeFactory = false)
Parameters
Type | Name | Description |
---|---|---|
Type | type | The type. |
String | method | The method. |
Boolean | isTypeFactory | if set to |