KS.Fiks.Arkiv.Models.V1
0.0.10
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package KS.Fiks.Arkiv.Models.V1 --version 0.0.10
NuGet\Install-Package KS.Fiks.Arkiv.Models.V1 -Version 0.0.10
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="KS.Fiks.Arkiv.Models.V1" Version="0.0.10" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KS.Fiks.Arkiv.Models.V1 --version 0.0.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: KS.Fiks.Arkiv.Models.V1, 0.0.10"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install KS.Fiks.Arkiv.Models.V1 as a Cake Addin #addin nuget:?package=KS.Fiks.Arkiv.Models.V1&version=0.0.10 // Install KS.Fiks.Arkiv.Models.V1 as a Cake Tool #tool nuget:?package=KS.Fiks.Arkiv.Models.V1&version=0.0.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Bruk av KS.Fiks.Arkiv.Models.V1
Modellene kan brukes direkte med import av namespace:
using KS.Fiks.Arkiv.Models.V1.Arkivering.Arkivmelding;
using KS.Fiks.Arkiv.Models.V1.Kodelister;
var arkivmelding = new Arkivmelding
{
///...
};
var sendtTilbakeKode = FlytStatusKoder.SendtTilbake.Verdi;
Skjema er inkludert in nuget-pakken og kan refereres med refleksjon:
using System.Reflection;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Serialization;
using KS.Fiks.Arkiv.Models.V1.Arkivering.Arkivmelding;
void ValidationHandler(object? _, ValidationEventArgs args)
{
if (args.Severity == XmlSeverityType.Warning)
Console.Write("WARNING: ");
else if (args.Severity == XmlSeverityType.Error)
Console.Write("ERROR: ");
Console.WriteLine(args.Message);
}
var settings = new XmlReaderSettings
{
ValidationType = ValidationType.Schema
};
settings.ValidationEventHandler += ValidationHandler;
var modelsAssembly = Assembly
.Load("KS.Fiks.Arkiv.Models.V1");
var schemaNames = modelsAssembly.GetManifestResourceNames();
foreach (var name in schemaNames)
{
using var resourceStream = modelsAssembly.GetManifestResourceStream(name);
using var streamReader = new StreamReader(resourceStream!);
var xmlSchema = XmlSchema.Read(streamReader, ValidationHandler);
settings.Schemas.Add(xmlSchema!);
}
var arkivmelding = new Arkivmelding
{
//System = "system",
MeldingId = "meldingId"
};
using var stream = new MemoryStream();
var serializer = new XmlSerializer(arkivmelding.GetType());
serializer.Serialize(stream, arkivmelding);
stream.Position = 0;
var reader = XmlReader.Create(stream, settings);
var doc = new XmlDocument();
//Vil printe melding med ERROR som sier at `System` er forventet i arkivmeldingobjektet
doc.Load(reader);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- System.ComponentModel.Annotations (>= 5.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on KS.Fiks.Arkiv.Models.V1:
Package | Downloads |
---|---|
KS.Fiks.Arkiv.Forenklet.Arkivering.V1
Forenklet arkivering for Fiks-Arkiv V1 |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.3 | 153 | 10/29/2024 |
1.0.2 | 93 | 10/28/2024 |
1.0.1 | 23,348 | 6/9/2024 |
1.0.0 | 100 | 6/7/2024 |
0.9.23 | 10,967 | 2/19/2024 |
0.9.22 | 124 | 2/15/2024 |
0.9.21 | 888 | 1/4/2024 |
0.9.20 | 6,382 | 11/24/2023 |
0.9.19 | 271 | 11/6/2023 |
0.9.18 | 497 | 8/29/2023 |
0.9.17 | 383 | 8/16/2023 |
0.9.16 | 344 | 6/23/2023 |
0.9.15 | 463 | 5/24/2023 |
0.9.14 | 1,023 | 4/11/2023 |
0.9.13 | 352 | 3/23/2023 |
0.9.12 | 461 | 2/24/2023 |
0.9.11 | 258 | 2/24/2023 |
0.9.10 | 22,072 | 1/30/2023 |
0.9.9 | 426 | 1/10/2023 |
0.9.8 | 361 | 12/20/2022 |
0.9.7 | 335 | 12/12/2022 |
0.9.6 | 384 | 11/16/2022 |
0.9.5 | 493 | 11/4/2022 |
0.9.4 | 417 | 10/21/2022 |
0.9.3 | 9,309 | 9/21/2022 |
0.9.2 | 487 | 9/18/2022 |
0.9.1 | 422 | 9/6/2022 |
0.0.22 | 624 | 8/23/2022 |
0.0.21 | 420 | 8/22/2022 |
0.0.20 | 2,217 | 8/2/2022 |
0.0.19 | 722 | 7/6/2022 |
0.0.18 | 425 | 7/6/2022 |
0.0.17 | 438 | 7/5/2022 |
0.0.16 | 426 | 7/4/2022 |
0.0.15 | 2,324 | 7/3/2022 |
0.0.14 | 441 | 6/29/2022 |
0.0.13 | 453 | 6/27/2022 |
0.0.12 | 477 | 6/20/2022 |
0.0.11 | 444 | 6/15/2022 |
0.0.10 | 435 | 6/7/2022 |
0.0.9 | 2,888 | 5/25/2022 |
0.0.8 | 505 | 5/16/2022 |
0.0.7 | 530 | 4/26/2022 |
0.0.6 | 447 | 4/26/2022 |
0.0.5 | 754 | 4/5/2022 |
0.0.4 | 414 | 4/5/2022 |
0.0.3 | 445 | 4/4/2022 |
0.0.2 | 430 | 4/1/2022 |
0.0.2-rc.build.202204011319... | 126 | 4/1/2022 |
0.0.1 | 456 | 4/1/2022 |