Source
Inheritance: IDataSource
コード例 #1
0
        public void ConnectionString()
        {
            var expected = Guid.NewGuid().ToString();
            var c = new DataSource
            {
                ConnectionString = expected,
            };

            Assert.AreEqual(expected, c.ConnectionString);
        }
コード例 #2
0
        public void ContainerName()
        {
            var expected = Guid.NewGuid().ToString();
            var c = new DataSource
            {
                ContainerName = expected,
            };

            Assert.AreEqual(expected, c.ContainerName);
        }
コード例 #3
0
        public void Source()
        {
            var expected = new DataSource();
            var c = new ConfigValues
            {
                Source = expected,
            };

            Assert.AreEqual(expected, c.Source);
        }
コード例 #4
0
        public void Folder()
        {
            var expected = Guid.NewGuid().ToString();
            var c = new DataSource
            {
                Folder = expected,
            };

            Assert.AreEqual(expected, c.Folder);
        }
コード例 #5
0
        public void Destination()
        {
            var expected = new DataSource();
            var c = new ConfigValues
            {
                Destination = expected,
            };

            Assert.AreEqual(expected, c.Destination);
        }