public static TResult NewBuildUp <TResult>(this IBuilderContext context, string name) { Guard.ArgumentNotNull(context, "context"); return((TResult)context.NewBuildUp(NamedTypeBuildKey.Make <TResult>(name))); }
public static T NewBuildUp <T>(IBuilderContext context) { return((T)context.NewBuildUp(NamedTypeBuildKey.Make <T>())); }
public static TResult NewBuildUp <TResult>(this IBuilderContext context, string name) { return((TResult)context.NewBuildUp(NamedTypeBuildKey.Make <TResult>(name))); }