public void DefaultConstruction()
 {
     NavigatorOptions options = new NavigatorOptions();
     Assert.AreEqual(false, options.NavigateTypes);
     Assert.AreEqual(true, options.NavigateElements);
     Assert.AreEqual(true, options.ResolveTypes);
 }
 public void ResolveTypesTrue()
 {
     NavigatorOptions options = new NavigatorOptions(false, false, true);
     Assert.AreEqual(true, options.ResolveTypes);
 }
 public void NavigateTypesTrue()
 {
     NavigatorOptions options = new NavigatorOptions(true, false, false);
     Assert.AreEqual(true, options.NavigateTypes);
 }
 public void NavigateElementsTrue()
 {
     NavigatorOptions options = new NavigatorOptions(false, true, false);
     Assert.AreEqual(true, options.NavigateElements);
 }
示例#5
0
 public void SetOptions(NavigatorOptions navigatorOptions)
 {
     options = navigatorOptions;
 }
示例#6
0
 public Navigator(NavigatorOptions navigatorOptions)
 {
     SetOptions(navigatorOptions);
 }