예제 #1
0
        public void TestBooleanParameter()
        {
            PageviewOption pageview = new PageviewOption()
            {
                AnonymizeIp = true
            };

            Assert.Equal("{'AnonymizeIp':True}", pageview.ToString());
        }
예제 #2
0
        public void TestPageviewProperty()
        {
            var option = new PageviewOption()
            {
                Page = "/testing", Title = "test"
            };

            Assert.Equal(2, option.Properties.Length);
        }
예제 #3
0
 public Pageview()
 {
     option = new PageviewOption();
 }