Responder Developer Guide
AutoRegister Method


Attempt to automatically register all non-generic classes and interfaces in the current app domain. If more than one class implements an interface then only one implementation will be registered although no error will be thrown.
Overload List
OverloadDescription
AutoRegister()Attempt to automatically register all non-generic classes and interfaces in the current app domain. If more than one class implements an interface then only one implementation will be registered although no error will be thrown.  
AutoRegister(Func<Type,Boolean>)Attempt to automatically register all non-generic classes and interfaces in the current app domain. Types will only be registered if they pass the supplied registration predicate. If more than one class implements an interface then only one implementation will be registered although no error will be thrown.  
AutoRegister(DuplicateImplementationActions)Attempt to automatically register all non-generic classes and interfaces in the current app domain.  
AutoRegister(DuplicateImplementationActions,Func<Type,Boolean>)Attempt to automatically register all non-generic classes and interfaces in the current app domain. Types will only be registered if they pass the supplied registration predicate.  
AutoRegister(IEnumerable<Assembly>)Attempt to automatically register all non-generic classes and interfaces in the specified assemblies If more than one class implements an interface then only one implementation will be registered although no error will be thrown.  
AutoRegister(IEnumerable<Assembly>,Func<Type,Boolean>)Attempt to automatically register all non-generic classes and interfaces in the specified assemblies Types will only be registered if they pass the supplied registration predicate. If more than one class implements an interface then only one implementation will be registered although no error will be thrown.  
AutoRegister(IEnumerable<Assembly>,DuplicateImplementationActions)Attempt to automatically register all non-generic classes and interfaces in the specified assemblies  
AutoRegister(IEnumerable<Assembly>,DuplicateImplementationActions,Func<Type,Boolean>)Attempt to automatically register all non-generic classes and interfaces in the specified assemblies Types will only be registered if they pass the supplied registration predicate.  
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

TinyIoCContainer Class
TinyIoCContainer Members

 

 


Send Comment