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
Copy file name to clipboardExpand all lines: UnitsNet/CustomCode/Quantities/Volume.extra.cs
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,8 @@
19
19
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
20
// THE SOFTWARE.
21
21
22
+
usingSystem;
23
+
22
24
namespaceUnitsNet
23
25
{
24
26
// Windows Runtime Component has constraints on public types: https://msdn.microsoft.com/en-us/library/br230301.aspx#Declaring types in Windows Runtime Components
// copies of the Software, and to permit persons to whom the Software is
9
+
// furnished to do so, subject to the following conditions:
10
+
//
11
+
// The above copyright notice and this permission notice shall be included in
12
+
// all copies or substantial portions of the Software.
13
+
//
14
+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20
+
// THE SOFTWARE.
21
+
22
+
usingSystem;
23
+
24
+
namespaceUnitsNet
25
+
{
26
+
// Windows Runtime Component has constraints on public types: https://msdn.microsoft.com/en-us/library/br230301.aspx#Declaring types in Windows Runtime Components
27
+
// Public structures can't have any members other than public fields, and those fields must be value types or strings.
28
+
// Public classes must be sealed (NotInheritable in Visual Basic). If your programming model requires polymorphism, you can create a public interface and implement that interface on the classes that must be polymorphic.
29
+
#if WINDOWS_UWP
30
+
publicsealedpartialclassVolumeFlow
31
+
#else
32
+
publicpartialstructVolumeFlow
33
+
#endif
34
+
{
35
+
// Windows Runtime Component does not allow operator overloads: https://msdn.microsoft.com/en-us/library/br230301.aspx
0 commit comments