public override IEnumerable <ITreeNodeData> CreateChildren()
 {
     if (!createChildren)
     {
         yield break;
     }
     if (derivedTypesFinder != null)
     {
         derivedTypesFinder.Cancel();
     }
     derivedTypesFinder = new DerivedTypesFinder(this, type);
 }
Exemple #2
0
        public override IEnumerable <ITreeNodeData> CreateChildren()
        {
            if (!createChildren)
            {
                yield break;
            }
            if (derivedTypesFinder != null)
            {
                derivedTypesFinder.Cancel();
            }
            var td = TryGetTypeDef();

            if (td != null)
            {
                derivedTypesFinder = new DerivedTypesFinder(this, td);
            }
        }
 public override void Initialize()
 {
     TreeNode.LazyLoading = createChildren = DerivedTypesFinder.QuickCheck(type);
 }
Exemple #4
0
 public override IEnumerable<ITreeNodeData> CreateChildren()
 {
     if (!createChildren)
         yield break;
     if (derivedTypesFinder != null)
         derivedTypesFinder.Cancel();
     var td = TryGetTypeDef();
     if (td != null)
         derivedTypesFinder = new DerivedTypesFinder(this, td);
 }
 public override void Initialize() =>
 TreeNode.LazyLoading = createChildren = DerivedTypesFinder.QuickCheck(TryGetTypeDef());
 public override IEnumerable<ITreeNodeData> CreateChildren()
 {
     if (!createChildren)
         yield break;
     if (derivedTypesFinder != null)
         derivedTypesFinder.Cancel();
     derivedTypesFinder = new DerivedTypesFinder(this, type);
 }