public static bool Implement(Type rType, IInterfaceFactory rFactory) { if (!rType.IsInterface) { return(false); } Factory[rType] = rFactory; return(true); }
public static bool Implement <T>(IInterfaceFactory rFactory) where T : IInterface { return(Implement(typeof(T), rFactory)); }