FindExtraElementsMember() 개인적인 메소드

private FindExtraElementsMember ( Type type ) : string
type System.Type
리턴 string
        public void TestNamedExtraElementsMemberConvention() {
            var convention = new NamedExtraElementsMemberConvention("ExtraElements");

            var extraElementsMemberName = convention.FindExtraElementsMember(typeof(TestClassA));
            Assert.IsNotNull(extraElementsMemberName);
            Assert.AreEqual("ExtraElements", extraElementsMemberName);

            extraElementsMemberName = convention.FindExtraElementsMember(typeof(TestClassB));
            Assert.IsNull(extraElementsMemberName);
        }
        public void TestNamedExtraElementsMemberConvention()
        {
            var convention = new NamedExtraElementsMemberConvention("ExtraElements");

#pragma warning disable 618
            var extraElementsMemberName = convention.FindExtraElementsMember(typeof(TestClassA));
            Assert.IsNotNull(extraElementsMemberName);
            Assert.AreEqual("ExtraElements", extraElementsMemberName);

            extraElementsMemberName = convention.FindExtraElementsMember(typeof(TestClassB));
            Assert.IsNull(extraElementsMemberName);
#pragma warning restore 618
        }