diff --git a/README.md b/README.md index ae478f8..7325c5c 100644 --- a/README.md +++ b/README.md @@ -32,20 +32,25 @@ dotnet add package packageurl-dotnet or in project file, add: ```xml - + ``` Usage ------------------- +Import namespace: +```c# +import PackageUrl; +``` + Creates a new PURL object from a string: ```c# -PackageUrl purl = new PackageUrl(purlString); +PackageURL purl = new PackageURL(purlString); ```` Creates a new PURL object from purl parameters: ```c# -PackageUrl purl = new PackageUrl(type, namespace, name, version, qualifiers, subpath); +PackageURL purl = new PackageURL(type, namespace, name, version, qualifiers, subpath); ```` License