ToString() 공개 메소드

Overridden to return the short name of the framework
public ToString ( ) : string
리턴 string
예제 #1
0
        public void CanDisplayFrameworkAsString(FrameworkData data)
        {
            RuntimeFramework framework = new RuntimeFramework(data.runtime, data.frameworkVersion);

            Assert.AreEqual(data.representation, framework.ToString(), "#1");
            Assert.AreEqual(data.displayName, framework.DisplayName, "#2");
        }
 public void CanDisplayFrameworkAsString(FrameworkData data)
 {
     RuntimeFramework framework = new RuntimeFramework(data.runtime, data.frameworkVersion);
     Assert.AreEqual(data.representation, framework.ToString());
     Assert.AreEqual(data.displayName, framework.DisplayName);
 }