예제 #1
0
        public void UsesClassName()
        {
            var model = new TestNamingResource();

            Assert.Equal("test-naming", model.ResourceType);

            var model2 = new TestNamingResource2();

            Assert.Equal("test-naming-resource2", model2.ResourceType);
        }
예제 #2
0
        public void UsesClassName()
        {
            var model = new TestNamingResource();

            Assert.Equal("test-naming", model.ResourceType);

            var model2 = new TestNamingResource2();

            Assert.Equal("test-naming-resource2", model2.ResourceType);
        }