You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[LICENSE.txt](https://github.com/petrsvihlik/WopiHost/blob/master/LICENSE.txt) - License for my part of the project
149
-
-[ORIGINAL_WORK_LICENSE.txt](https://github.com/petrsvihlik/WopiHost/blob/master/WopiHost.Cobalt/ORIGINAL_WORK_LICENSE.txt) - License for Marx Yu's part of the project. This project is based on [Marx Yu's project](https://github.com/marx-yu/WopiHost).
135
+
-[ORIGINAL_WORK_LICENSE.txt](https://github.com/petrsvihlik/WopiHost/blob/master/src/WopiHost.Cobalt/ORIGINAL_WORK_LICENSE.txt) - License for Marx Yu's part of the project. This project is based on [Marx Yu's project](https://github.com/marx-yu/WopiHost).
150
136
-[NOTICE.txt](https://github.com/petrsvihlik/WopiHost/blob/master/NOTICE.txt) - additional notes to how the licenses are applied
-[Official WOPI REST API Reference](https://learn.microsoft.com/openspecs/office_protocols/ms-wopi/6a8bb410-68ad-47e4-9dc3-6cf29c6b046b)
159
-
-[Building an Office Web Apps (OWA) WOPI Host by Shawn Cicoria](https://code.msdn.microsoft.com/office/Building-an-Office-Web-f98650d6) + [WOPI Host and url paths](https://www.cicoria.com/office-web-appswopi-host-and-url-paths/)
145
+
-[WOPI Host and url paths](https://www.cicoria.com/office-web-appswopi-host-and-url-paths/)
160
146
-[Office Online integration via WOPI Host by Richard diZerega](https://github.com/OfficeDev/PnP-WOPI) + [video](https://www.youtube.com/watch?v=9lGonu0eoGA)
Copy file name to clipboardexpand all lines: src/WopiHost.Core/Models/CheckFileInfo.cs
+19-19
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ public class CheckFileInfo
60
60
/// <summary>
61
61
/// A URI to a web page that the WOPI client should navigate to when the user clicks on UI that displays <see cref="BreadcrumbBrandName"/>.
62
62
/// </summary>
63
-
publicstringBreadcrumbBrandUrl{get;set;}
63
+
publicUriBreadcrumbBrandUrl{get;set;}
64
64
65
65
/// <summary>
66
66
/// A string that indicates the name of the file. If this is not provided, WOPI clients may use the <see cref="BaseFileName"/> value.
@@ -70,7 +70,7 @@ public class CheckFileInfo
70
70
/// <summary>
71
71
/// MAY specifies a URI to a web page that the WOPI client navigates to when the user clicks on UI that displays <see cref="BreadcrumbDocName"/>.
72
72
/// </summary>
73
-
publicstringBreadcrumbDocUrl{get;set;}
73
+
publicUriBreadcrumbDocUrl{get;set;}
74
74
75
75
/// <summary>
76
76
/// A string that indicates the name of the container that contains the file.
@@ -80,12 +80,12 @@ public class CheckFileInfo
80
80
/// <summary>
81
81
/// A URI to a web page that the WOPI client should navigate to when the user clicks on UI that displays <see cref="BreadcrumbFolderName"/>.
82
82
/// </summary>
83
-
publicstringBreadcrumbFolderUrl{get;set;}
83
+
publicUriBreadcrumbFolderUrl{get;set;}
84
84
85
85
/// <summary>
86
86
/// A user-accessible URI directly to the file intended for opening the file through a client.
87
87
/// </summary>
88
-
publicstringClientUrl{get;set;}
88
+
publicUriClientUrl{get;set;}
89
89
90
90
/// <summary>
91
91
/// A Boolean value that indicates the WOPI client should close the window or tab when the user activates any <c>Close</c> UI in the WOPI client.
@@ -95,7 +95,7 @@ public class CheckFileInfo
95
95
/// <summary>
96
96
/// A URI to a web page that the WOPI client should navigate to when the application closes, or in the event of an unrecoverable error.
97
97
/// </summary>
98
-
publicstringCloseUrl{get;set;}
98
+
publicUriCloseUrl{get;set;}
99
99
100
100
/// <summary>
101
101
/// A Boolean value that indicates that the WOPI client should disable caching of file contents in the browser cache. Note that this has important performance implications for web browser-based WOPI clients.
@@ -130,27 +130,27 @@ public class CheckFileInfo
130
130
/// <summary>
131
131
/// A user-accessible URI to the file intended to allow the user to download a copy of the file. This URI should directly download the file and it should always provide the most recent version of the file.
132
132
/// </summary>
133
-
publicstringDownloadUrl{get;set;}
133
+
publicUriDownloadUrl{get;set;}
134
134
135
135
/// <summary>
136
136
/// A URI to a location that allows the user to create an embeddable URI to the file.
137
137
/// </summary>
138
-
publicstringFileEmbedCommandUrl{get;set;}
138
+
publicUriFileEmbedCommandUrl{get;set;}
139
139
140
140
/// <summary>
141
141
/// A URI to a location that allows the user to share the file.
142
142
/// </summary>
143
-
publicstringFileSharingUrl{get;set;}
143
+
publicUriFileSharingUrl{get;set;}
144
144
145
145
/// <summary>
146
146
/// A URI to the file location that the WOPI client uses to get the file.
147
147
/// </summary>
148
-
publicstringFileUrl{get;set;}
148
+
publicUriFileUrl{get;set;}
149
149
150
150
/// <summary>
151
151
/// A URI to a location that allows the user to view the version history for the file.
152
152
/// </summary>
153
-
publicstringFileVersionUrl{get;set;}
153
+
publicUriFileVersionUrl{get;set;}
154
154
155
155
/// <summary>
156
156
/// A string value uniquely identifying the user currently accessing the file.
@@ -160,17 +160,17 @@ public class CheckFileInfo
160
160
/// <summary>
161
161
/// A URI to a <see href="https://learn.microsoft.com/en-us/microsoft-365/cloud-storage-partner-program/glossary#host-page">host page</see> that loads the <c>edit</c> WOPI action.
162
162
/// </summary>
163
-
publicstringHostEditUrl{get;set;}
163
+
publicUriHostEditUrl{get;set;}
164
164
165
165
/// <summary>
166
166
/// A URI to a web page that provides access to an editing experience for the file that can be embedded in another HTML page.
167
167
/// </summary>
168
-
publicstringHostEmbeddedEditUrl{get;set;}
168
+
publicUriHostEmbeddedEditUrl{get;set;}
169
169
170
170
/// <summary>
171
171
/// A URI to a web page that provides access to a viewing experience for the file that can be embedded in another HTML page. This is typically a URI to a <see href="https://learn.microsoft.com/en-us/microsoft-365/cloud-storage-partner-program/glossary#host-page">host page</see> that loads the <c>embedview</c> WOPI action.
172
172
/// </summary>
173
-
publicstringHostEmbeddedViewUrl{get;set;}
173
+
publicUriHostEmbeddedViewUrl{get;set;}
174
174
175
175
/// <summary>
176
176
/// A string that is the name provided by the WOPI server used to identify it for logging and other informational purposes.
@@ -185,12 +185,12 @@ public class CheckFileInfo
185
185
/// <summary>
186
186
/// A URI that is the base URI for REST operations for the file.
187
187
/// </summary>
188
-
publicstringHostRestUrl{get;set;}
188
+
publicUriHostRestUrl{get;set;}
189
189
190
190
/// <summary>
191
191
/// A URI to a <see href="https://learn.microsoft.com/en-us/microsoft-365/cloud-storage-partner-program/glossary#host-page">host page</see> that loads the <c>view</c> WOPI action. This URL is used by Office Online to navigate between view and edit mode.
192
192
/// </summary>
193
-
publicstringHostViewUrl{get;set;}
193
+
publicUriHostViewUrl{get;set;}
194
194
195
195
/// <summary>
196
196
/// A string that the WOPI client should display to the user indicating the IRM policy for the file. This value should be combined with <see cref="IrmPolicyTitle"/>.
@@ -215,7 +215,7 @@ public class CheckFileInfo
215
215
/// <summary>
216
216
/// A URI to a webpage that explains the privacy policy of the WOPI server.
217
217
/// </summary>
218
-
publicstringPrivacyUrl{get;set;}
218
+
publicUriPrivacyUrl{get;set;}
219
219
220
220
/// <summary>
221
221
/// A Boolean value that indicates that the WOPI client should take measures to prevent copying and printing of the file.
@@ -226,7 +226,7 @@ public class CheckFileInfo
226
226
/// A URI that will allow the user to sign in using the host’s authentication system. This property can be used when supporting anonymous users. If this property is not provided, no sign in UI will be shown in Office Online.
227
227
/// <para>See also <seealso cref="SignoutUrl"/></para>
228
228
/// </summary>
229
-
publicstringSignInUrl{get;set;}
229
+
publicUriSignInUrl{get;set;}
230
230
231
231
/// <summary>
232
232
/// A Boolean value that indicates that, for this user, the file cannot be changed.
@@ -251,7 +251,7 @@ public class CheckFileInfo
251
251
/// <summary>
252
252
/// A URI that will sign the current user out of the host’s authentication system.
253
253
/// </summary>
254
-
publicstringSignoutUrl{get;set;}
254
+
publicUriSignoutUrl{get;set;}
255
255
256
256
/// <summary>
257
257
/// A Boolean value that indicates that the WOPI server supports multiple users making changes to this file simultaneously.
@@ -454,7 +454,7 @@ public bool SupportsFolders
454
454
/// <summary>
455
455
/// A URI to a webpage that explains the terms of use policy of the WOPI server.
456
456
/// </summary>
457
-
publicstringTermsOfUseUrl{get;set;}
457
+
publicUriTermsOfUseUrl{get;set;}
458
458
459
459
/// <summary>
460
460
/// A string that is used to pass time zone information to a WOPI client. The format of this value is determined by the host.
0 commit comments