Updated README, removed package count from IsValid
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -54,7 +54,7 @@ public static PackageState InstallBySdkVersion(string id, out Package package)
|
||||
|
||||
Uninstalls a package
|
||||
|
||||
```
|
||||
```csharp
|
||||
public static bool Uninstall(string id)
|
||||
```
|
||||
|
||||
@ -107,7 +107,7 @@ Version Config.CurrentSdkVersion
|
||||
Temporary folder where zip files will be downloaded to, gets deleted at the end of execution
|
||||
|
||||
```csharp
|
||||
string Config.TemporaryFolder
|
||||
string Config.TemporaryFolder
|
||||
```
|
||||
|
||||
## JSON
|
||||
|
||||
Reference in New Issue
Block a user