Пример #1
0
 public static TResult NewBuildUp <TResult>(this IBuilderContext context, string name)
 {
     Guard.ArgumentNotNull(context, "context");
     return((TResult)context.NewBuildUp(NamedTypeBuildKey.Make <TResult>(name)));
 }
Пример #2
0
 public static T NewBuildUp <T>(IBuilderContext context)
 {
     return((T)context.NewBuildUp(NamedTypeBuildKey.Make <T>()));
 }
Пример #3
0
 public static TResult NewBuildUp <TResult>(this IBuilderContext context, string name)
 {
     return((TResult)context.NewBuildUp(NamedTypeBuildKey.Make <TResult>(name)));
 }