NanoXLSX.Core 3.2.1
Loading...
Searching...
No Matches
RelationshipInfo.cs
1/*
2 * NanoXLSX is a small .NET library to generate and read XLSX (Microsoft Excel 2007 or newer) files in an easy and native way
3 * Copyright Raphael Stoeckli © 2026
4 * This library is licensed under the MIT License.
5 * You find a copy of the license in project folder or on: http://opensource.org/licenses/MIT
6 */
7
8using System.IO.Packaging;
9
10namespace NanoXLSX.Internal
11{
15 internal sealed class RelationshipInfo
16 {
20 public string Id { get; private set; }
21
25 public string Type { get; private set; }
26
30 public string Target { get; private set; }
31
35 public TargetMode TargetMode { get; private set; }
36
40 public string RelationshipPartPath { get; private set; }
41
45 public string SourcePartPath { get; private set; }
46
50 public string ResolvedTargetPath { get; private set; }
51
62 public RelationshipInfo(string id, string type, string target, TargetMode targetMode, string relationshipPartPath, string sourcePartPath, string resolvedTargetPath)
63 {
64 Id = id;
65 Type = type;
66 Target = target;
67 TargetMode = targetMode;
68 RelationshipPartPath = relationshipPartPath;
69 SourcePartPath = sourcePartPath;
70 ResolvedTargetPath = resolvedTargetPath;
71 }
72 }
73}