예제 #1
0
        public void IsExistTest3()
        {
            UVars target = new UVars();

            target.SetVariable("name", "project", "val");
            Assert.True(target.IsExist("name", "project"));
        }
예제 #2
0
 public override string GetPropValue(string name, string project)
 {
     if (UVars.IsExist(name, project))
     {
         return(GetUVarValue(name, project));
     }
     return($"[P~{name}~{project}]");
 }
예제 #3
0
        public void IsExistTest2()
        {
            UVars target = new UVars();

            Assert.False(target.IsExist("name"));
        }
예제 #4
0
        public void IsExistTest1()
        {
            UVars target = new UVars();

            Assert.False(target.IsExist("name", "project"));
        }