public LocalizingMetadataConverter(IMetadataLocalizationConverter localizationConverter, CultureInfo[] cultures)
        {
            ArgumentUtility.CheckNotNull("localizationConverter", localizationConverter);
            ArgumentUtility.CheckNotNullOrItemsNull("cultures", cultures);

            _localizationConverter = localizationConverter;
            _cultures = cultures;
        }
Пример #2
0
 public void SetUp()
 {
     _mocks = new MockRepository();
     _localizationConverter = _mocks.StrictMock <IMetadataLocalizationConverter> ();
     _metadataConverter     = _mocks.StrictMock <IMetadataConverter> ();
 }