public DiagnosticItem(AssetsFileTarget target, AssetsFileTargetLibrary library, AssetsFileLogMessage log) : base(log.Message) { Target = target; Library = library; Log = log; }
public PackageBuildFileGroupItem(AssetsFileTarget target, AssetsFileTargetLibrary library, PackageBuildFileGroupType groupType) : base(GetGroupLabel(groupType)) { Target = target; Library = library; GroupType = groupType; }
public PackageAssemblyItem(AssetsFileTarget target, AssetsFileTargetLibrary library, string path, PackageAssemblyGroupType groupType) : base(System.IO.Path.GetFileName(path)) { Target = target; Library = library; Path = path; GroupType = groupType; }
public PackageContentFileItem(AssetsFileTarget target, AssetsFileTargetLibrary library, AssetsFileTargetLibraryContentFile contentFile, IFileIconProvider fileIconProvider) : base(GetProcessedContentFilePath(contentFile.Path)) { Target = target; Library = library; ContentFile = contentFile; _fileIconProvider = fileIconProvider; }
public PackageBuildFileItem(AssetsFileTarget target, AssetsFileTargetLibrary library, string path, PackageBuildFileGroupType groupType, FileOpener fileOpener) : base(System.IO.Path.GetFileName(path)) { Target = target; Library = library; Path = path; GroupType = groupType; _fileOpener = fileOpener; }
internal bool TryUpdateState(AssetsFileTarget target, AssetsFileTargetLibrary library) { if (ReferenceEquals(Target, target) && ReferenceEquals(Library, library)) { return(false); } Target = target; Library = library; return(true); }
protected override bool TryUpdateItem(ProjectReferenceItem item, AssetsFileTarget targetData, AssetsFileTargetLibrary library) { return(item.TryUpdateState(targetData, library)); }
protected override ProjectReferenceItem CreateItem(AssetsFileTarget targetData, AssetsFileTargetLibrary library) { return(new ProjectReferenceItem(targetData, library)); }
protected override bool TryGetLibrary(AssetsFileTarget target, string identity, [NotNullWhen(returnValue: true)] out AssetsFileTargetLibrary?library) { return(target.TryGetProject(identity, out library)); }
public ProjectReferenceItem(AssetsFileTarget target, AssetsFileTargetLibrary library) : base(library.Name) { Target = target; Library = library; }
public PackageContentFileGroupItem(AssetsFileTarget target, AssetsFileTargetLibrary library) : base(VsResources.PackageContentFilesGroupName) { Target = target; Library = library; }
protected abstract bool TryUpdateItem(TItem item, AssetsFileTarget targetData, AssetsFileTargetLibrary library);
protected abstract TItem CreateItem(AssetsFileTarget targetData, AssetsFileTargetLibrary library);
protected abstract bool TryGetLibrary(AssetsFileTarget target, TIdentity identity, [NotNullWhen(returnValue: true)] out AssetsFileTargetLibrary?library);
public PackageReferenceItem(AssetsFileTarget target, AssetsFileTargetLibrary library) : base(GetCaption(library)) { Library = library; Target = target; }