Updated README, removed package count from IsValid

This commit is contained in:
xx-TheDoctor-xx
2020-04-18 04:57:56 +01:00
parent fdd7f9d84c
commit 2adb6adf08
2 changed files with 3 additions and 5 deletions

View File

@ -44,15 +44,13 @@ namespace PMF
// - a name
// - an author
// - a description
// - at least one asset
public bool IsValid()
{
return !string.IsNullOrEmpty(ID) &&
Type != PackageType.None &&
!string.IsNullOrEmpty(Name) &&
!string.IsNullOrEmpty(Author) &&
!string.IsNullOrEmpty(Description) &&
Assets.Count > 0;
!string.IsNullOrEmpty(Description);
}
}
}

View File

@ -54,7 +54,7 @@ public static PackageState InstallBySdkVersion(string id, out Package package)
Uninstalls a package
```
```csharp
public static bool Uninstall(string id)
```