public static void RegisterEngine <TEngine>() where TEngine : DataPersistance, new() { string EngineName = DataPersistance.GetEngineName <TEngine>(); if (!DictEngine.ContainsKey(EngineName)) { DictEngine.Add(EngineName, typeof(TEngine)); } }