Skip to content

Commit

Permalink
More documentation cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremydmiller committed Feb 14, 2008
1 parent afb325e commit 3307e04
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions Source/StructureMap/ObjectFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using System.Collections;
using System.Collections.Generic;
using System.Security.Permissions;
using System.Text;
using StructureMap.Configuration.Mementos;
using StructureMap.Graph;

Expand Down Expand Up @@ -110,7 +109,7 @@ public static void InjectByName<PLUGINTYPE>(PLUGINTYPE instance, string instance
/// Injects a new instance of CONCRETETYPE to PLUGINTYPE by name.
/// </summary>
/// <typeparam name="PLUGINTYPE"></typeparam>
/// <param name="instance"></param>
/// <typeparam name="CONCRETETYPE"></typeparam>
/// <param name="instanceKey"></param>
public static void InjectByName<PLUGINTYPE, CONCRETETYPE>(string instanceKey)
{
Expand Down Expand Up @@ -232,7 +231,7 @@ public static void ResetDefaults()
}
else
{
throw ex;
throw;
}
}
}
Expand Down Expand Up @@ -265,7 +264,7 @@ public static object GetInstance(Type TargetType)
/// <summary>
/// Returns the default instance of the requested System.Type
/// </summary>
/// <param name="TargetType"></param>
/// <typeparam name="TargetType"></typeparam>
/// <returns></returns>
public static TargetType GetInstance<TargetType>()
{
Expand All @@ -286,7 +285,7 @@ public static object GetInstance(Type TargetType, InstanceMemento memento)
/// <summary>
/// Builds an instance of the TargetType for the given InstanceMemento
/// </summary>
/// <param name="TargetType"></param>
/// <typeparam name="TargetType"></typeparam>
/// <param name="memento"></param>
/// <returns></returns>
public static TargetType GetInstance<TargetType>(InstanceMemento memento)
Expand All @@ -308,7 +307,7 @@ public static object GetNamedInstance(Type TargetType, string InstanceName)
/// <summary>
/// Returns the named instance of the requested System.Type
/// </summary>
/// <param name="TargetType"></param>
/// <typeparam name="TargetType"></typeparam>
/// <param name="InstanceName"></param>
/// <returns></returns>
public static TargetType GetNamedInstance<TargetType>(string InstanceName)
Expand All @@ -329,7 +328,7 @@ public static void SetDefaultInstanceName(Type TargetType, string InstanceName)
/// <summary>
/// Sets the default instance of the TargetType
/// </summary>
/// <param name="TargetType"></param>
/// <typeparam name="TargetType"></typeparam>
/// <param name="InstanceName"></param>
public static void SetDefaultInstanceName<TargetType>(string InstanceName)
{
Expand Down Expand Up @@ -360,7 +359,7 @@ public static IList GetAllInstances(Type targetType)
/// <summary>
/// Retrieves a list of all of the configured instances for a particular type
/// </summary>
/// <param name="targetType"></param>
/// <typeparam name="TargetType"></typeparam>
/// <returns></returns>
public static IList<TargetType> GetAllInstances<TargetType>()
{
Expand Down

0 comments on commit 3307e04

Please sign in to comment.