public static IRegisterableLake RegisterSingleton(this IRegisterableLake lake, string id, object value)
 {
     lake.RegisterSingletonBase(id, () => value);
     return(lake);
 }
 private static void RegisterSingletonBase(this IRegisterableLake lake, Type target, ComponentFactory factory)
 {
     lake.RegisterSingletonBase(GenerateIdByType(target), factory);
 }
 public static IRegisterableLake RegisterSingleton(this IRegisterableLake lake, string id, ComponentFactory factory)
 {
     lake.RegisterSingletonBase(id, factory);
     return(lake);
 }