Example #1
0
        private static string GetConfigPath <T>(T config)
        {
            var type = config.GetType();
            var path = PathUtil.GetAssemblyPath(type);

            return(Path.Combine(path, $@"Config/{type.FullName}.json"));
        }
Example #2
0
        private static string GetConfigPath <T>(T config)
        {
            Type type = config.GetType();

            return(Path.Combine(PathUtil.GetAssemblyPath(type), "Config/" + type.FullName + ".json"));
        }