public ModuleNode(IOldToNewTupleMap <ModuleMetadata> modulesMap, ItemNodeBase parent, APIDiffInfo apiDiffInfo, bool shouldBeExpanded, FilterSettings filterSettings) : base(GetName(modulesMap), parent, apiDiffInfo, filterSettings) { this.ModulesMap = modulesMap; this.differenceDecoration = GetDifferenceDecoration(); this.IsExpanded = shouldBeExpanded; }
public NamespaceNode(string name, IList <IOldToNewTupleMap <TypeMetadata> > typesMap, IList <IMetadataDiffItem> diffItems, ItemNodeBase parent, FilterSettings filterSettings) : base(name, parent, filterSettings) { this.typesMap = typesMap; this.diffItems = diffItems; this.IsExpanded = true; }
public DecompiledMemberNodeBase(string name, ItemNodeBase parent, APIDiffInfo apiDiffInfo, FilterSettings filterSettings) : base(name, parent, apiDiffInfo, filterSettings) { DecompiledMemberNodeBase parentMember = parent as DecompiledMemberNodeBase; if (parentMember != null) { this.OldDecompileResult = parentMember.OldDecompileResult; this.NewDecompileResult = parentMember.NewDecompileResult; } }
public TypeNode(IOldToNewTupleMap <TypeMetadata> typesMap, ItemNodeBase parent, APIDiffInfo apiDiffInfo, FilterSettings filterSettings) : base(GetMemberName(typesMap), parent, apiDiffInfo, filterSettings) { this.TypesMap = typesMap; TypeMetadata oldTypeMetadata = TypesMap.OldType; TypeMetadata newTypeMetadata = TypesMap.NewType; IDecompilationResults oldResult; IDecompilationResults newResult; if (oldTypeMetadata != null && GlobalDecompilationResultsRepository.Instance.TryGetDecompilationResult(oldTypeMetadata.AssemblyPath, oldTypeMetadata.Module.TokenId, oldTypeMetadata.TokenId, out oldResult)) { this.OldDecompileResult = oldResult; } if (newTypeMetadata != null && GlobalDecompilationResultsRepository.Instance.TryGetDecompilationResult(newTypeMetadata.AssemblyPath, newTypeMetadata.Module.TokenId, newTypeMetadata.TokenId, out newResult)) { this.NewDecompileResult = newResult; } this.differenceDecoration = GetDifferenceDecoration(); }
public AssemblyNode(IOldToNewTupleMap <string> typesMap, ItemNodeBase parent, APIDiffInfo apiDiffInfo, IProgressNotifier progressNotifier, FilterSettings filterSettings) : base(Path.GetFileName(typesMap.GetFirstNotNullItem()), parent, apiDiffInfo, filterSettings) { this.TypesMap = typesMap; this.progressNotifier = progressNotifier; this.areChildrenLoaded = false; }
public TypeNode(string name, ItemNodeBase parent, APIDiffInfo apiDiffInfo, FilterSettings filterSettings) : base(name, parent, apiDiffInfo, filterSettings) { }
public NestedTypeNode(IOldToNewTupleMap <TypeMetadata> typesMap, ItemNodeBase parent, APIDiffInfo apiDiffInfo, FilterSettings filterSettings) : base(GetMemberName(typesMap), parent, apiDiffInfo, filterSettings) { this.TypesMap = typesMap; }
public ResourceNode(IOldToNewTupleMap <string> resourceMap, ItemNodeBase parent, FilterSettings filterSettings) : base(GetResourceName(resourceMap.GetFirstNotNullItem()), parent, filterSettings) { this.ResourceMap = resourceMap; this.differenceDecoration = GetDifferenceDecoration(); // This node has no child items, so this removes the expander. this.LazyLoading = false; }
public MemberNode(IOldToNewTupleMap <MemberMetadata> membersMap, ItemNodeBase parent, APIDiffInfo apiDiffInfo, FilterSettings filterSettings) : base(membersMap.GetFirstNotNullItem().GetSignature(), parent, apiDiffInfo, filterSettings) { this.membersMap = membersMap; this.differenceDecoration = GetDifferenceDecoration(); // This node has no child items, so this removes the expander. this.LazyLoading = false; }
public ItemNodeBase(string name, ItemNodeBase parentNode, APIDiffInfo apiDiffInfo, FilterSettings filterSettings) : this(name, parentNode, filterSettings) { this.apiDiffInfo = apiDiffInfo; }
public ItemNodeBase(string name, ItemNodeBase parentNode, FilterSettings filterSettings) : this(name, filterSettings) { this.ParentNode = parentNode; }
public DefaultResourceNode(IOldToNewTupleMap <string> typesMap, ItemNodeBase parent, IOldToNewTupleMap <GeneratedProjectOutputInfo> generationProjectInfoMap, FilterSettings filterSettings) : base("Resources", parent, filterSettings) { this.typesMap = typesMap; this.GenerationProjectInfoMap = generationProjectInfoMap; this.IsExpanded = true; }
public XamlResourceNode(IOldToNewTupleMap <string> resourceMap, string name, ItemNodeBase parent, FilterSettings filterSettings) : base(name, parent, null, filterSettings) { this.ResourceMap = resourceMap; this.differenceDecoration = this.GetDifferenceDecoration(); // This node has no child items, so this removes the expander. this.LazyLoading = false; }
public FolderNode(IOldToNewTupleMap <string> folderMap, ItemNodeBase parent, APIDiffInfo apiDiffInfo, IProgressNotifier progressNotifier, FilterSettings filterSettings, bool loadChildrenAsync) : base(GetName(folderMap), parent, apiDiffInfo, filterSettings) { this.folderMap = folderMap; this.progressNotifier = progressNotifier; // This line needs to be before this.IsExpanded = true; in any case. this.loadChildrenAsync = loadChildrenAsync; this.IsExpanded = true; }