public void Save(IEnumerable <ICredentialRepository> repositories, string propertyNameTrigger = "")
        {
            var serializer = new CredentialRepositoryListSerializer();
            var data       = serializer.Serialize(repositories);

            _dataProvider.Save(data);
        }
Пример #2
0
        public void Save(IEnumerable <ICredentialRepository> repositories)
        {
            var serializer = new CredentialRepositoryListSerializer();
            var data       = serializer.Serialize(repositories);

            _dataProvider.Save(data);
        }
Пример #3
0
        public void SerializeExists()
        {
            var mockProvider      = InitializeMockProvider();
            var providers         = new[] { mockProvider };
            var serializedContent = _credentialProviderSerializer.Serialize(providers);

            Assert.That(serializedContent, Is.Not.Null);
        }