/// <summary> /// Initialize the template loader with a resources class. /// </summary> public override void Init(ExtendedProperties configuration) { object value = configuration["assembly"]; if (value is string) { assemblyNames = new List <string> { (string)configuration["assembly"] }; } else if (value is List <string> ) { assemblyNames = configuration.GetStringList("assembly"); } else { throw new VelocityException("Expected property 'assembly' to be of type string or List<string>."); } }