コード例 #1
0
 public void HasGetSet()
 {
     const int value = 5;
     var entity = new GeoNamesToponymNode { OffspringId = value };
     entity.ShouldNotBeNull();
     entity.OffspringId.ShouldEqual(value);
 }
コード例 #2
0
 public void HasGetSet()
 {
     var value = new GeoNamesToponym();
     var entity = new GeoNamesToponymNode { Offspring = value };
     entity.ShouldNotBeNull();
     entity.Offspring.ShouldEqual(value);
 }
コード例 #3
0
 public void HasGetSet()
 {
     const int value = 3;
     var entity = new GeoNamesToponymNode { AncestorId = value };
     entity.ShouldNotBeNull();
     entity.AncestorId.ShouldEqual(value);
 }
コード例 #4
0
 public void HasGetSet()
 {
     var value = new GeoNamesToponym();
     var entity = new GeoNamesToponymNode { Ancestor = value };
     entity.ShouldNotBeNull();
     entity.Ancestor.ShouldEqual(value);
 }
コード例 #5
0
            public void HasGetSet()
            {
                var value  = new GeoNamesToponym();
                var entity = new GeoNamesToponymNode {
                    Offspring = value
                };

                entity.ShouldNotBeNull();
                entity.Offspring.ShouldEqual(value);
            }
コード例 #6
0
            public void HasGetSet()
            {
                const int value  = 5;
                var       entity = new GeoNamesToponymNode {
                    OffspringId = value
                };

                entity.ShouldNotBeNull();
                entity.OffspringId.ShouldEqual(value);
            }
コード例 #7
0
            public void HasGetSet()
            {
                var value  = new GeoNamesToponym();
                var entity = new GeoNamesToponymNode {
                    Ancestor = value
                };

                entity.ShouldNotBeNull();
                entity.Ancestor.ShouldEqual(value);
            }
コード例 #8
0
            public void HasGetSet()
            {
                const int value  = 3;
                var       entity = new GeoNamesToponymNode {
                    AncestorId = value
                };

                entity.ShouldNotBeNull();
                entity.AncestorId.ShouldEqual(value);
            }
コード例 #9
0
            public void HasGetSet()
            {
                const int value  = 3;
                var       entity = new GeoNamesToponymNode {
                    Separation = value
                };

                entity.ShouldNotBeNull();
                entity.Separation.ShouldEqual(value);
            }
コード例 #10
0
 public void HasGetSet()
 {
     const int value = 3;
     var entity = new GeoNamesToponymNode { Separation = value };
     entity.ShouldNotBeNull();
     entity.Separation.ShouldEqual(value);
 }