Updated README, removed package count from IsValid
This commit is contained in:
@ -44,15 +44,13 @@ namespace PMF
|
|||||||
// - a name
|
// - a name
|
||||||
// - an author
|
// - an author
|
||||||
// - a description
|
// - a description
|
||||||
// - at least one asset
|
|
||||||
public bool IsValid()
|
public bool IsValid()
|
||||||
{
|
{
|
||||||
return !string.IsNullOrEmpty(ID) &&
|
return !string.IsNullOrEmpty(ID) &&
|
||||||
Type != PackageType.None &&
|
Type != PackageType.None &&
|
||||||
!string.IsNullOrEmpty(Name) &&
|
!string.IsNullOrEmpty(Name) &&
|
||||||
!string.IsNullOrEmpty(Author) &&
|
!string.IsNullOrEmpty(Author) &&
|
||||||
!string.IsNullOrEmpty(Description) &&
|
!string.IsNullOrEmpty(Description);
|
||||||
Assets.Count > 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -54,7 +54,7 @@ public static PackageState InstallBySdkVersion(string id, out Package package)
|
|||||||
|
|
||||||
Uninstalls a package
|
Uninstalls a package
|
||||||
|
|
||||||
```
|
```csharp
|
||||||
public static bool Uninstall(string id)
|
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
|
Temporary folder where zip files will be downloaded to, gets deleted at the end of execution
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
string Config.TemporaryFolder
|
string Config.TemporaryFolder
|
||||||
```
|
```
|
||||||
|
|
||||||
## JSON
|
## JSON
|
||||||
|
|||||||
Reference in New Issue
Block a user