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;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user