public class ObjectFactory<T> : object
Member | Description | |
---|---|---|
Constructor | ||
CreateObject | Returns a standard instance of an object. public static T CreateObject(Object[] args);
|
|
CreateThreadScopedObject | Create an instance scoped to a current thread. public static T CreateThreadScopedObject(Object[] args);
|
|
CreateWebRequestOrThreadScopedObject | Creates either Web Request scoped object instance or value public static T CreateWebRequestOrThreadScopedObject(Object[] args);
|
|
CreateWebRequestScopedObject | Creates an instance of an object that is scoped to the current Http Web Request. The instance is cached in HttpContext.Current.Items collection and effectively acts as a request Singleton. public static T CreateWebRequestScopedObject(Object[] args);
|
|
GetUniqueObjectKey | Returns a unique ID for a given type and parameter signature public static string GetUniqueObjectKey(Object[] args);
|