/// <summary>Creates an instance for the given language.</summary> /// <param name="culture">The culture.</param> /// <returns>A repository.</returns> public IMapNameRepository ForCulture(CultureInfo culture) { IMapNameRepository repository = new MapNameRepository(this.serviceClient); repository.Culture = culture; return(repository); }
/// <summary>Creates an instance for the given language.</summary> /// <param name="culture">The culture.</param> /// <returns>A repository.</returns> public IMapNameRepository ForCulture(CultureInfo culture) { Contract.Ensures(Contract.Result <IMapNameRepository>() != null); IMapNameRepository repository = new MapNameRepository(this.serviceClient); repository.Culture = culture; return(repository); }