private IBindingInformation CreateInfo(RegistrationFlag rFlag) { return(new StdBindingInformation(rFlag)); }
private IManagedComponent CreateServiceComponent(Type @class, Type @interface, RegistrationFlag regFlag) { var target = this.CreateTarget(@class, @interface); var info = this.CreateInfo(regFlag); return(this.CreateComponent(target, info)); }
public static bool IsSelf(this RegistrationFlag @this) { return(@this.Equals(RegistrationFlag.SelfRegistration)); }
public static bool IsPerDependency(this RegistrationFlag @this) { return(@this.Equals(RegistrationFlag.PerDependency)); }
public static bool IsSingleton(this RegistrationFlag @this) { return(@this.Equals(RegistrationFlag.Singleton)); }