mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
[Fixes #5283] Adding some documentation for ResourceDefinition.SetVersion
It has to be a vallid SermVer format.
This commit is contained in:
@@ -155,6 +155,10 @@ namespace Orchard.UI.Resources {
|
||||
return this;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sets the version of the resource.
|
||||
/// </summary>
|
||||
/// <param name="version">The version to set, in the form of <code>major.minor[.build[.revision]]</code></param>
|
||||
public ResourceDefinition SetVersion(string version) {
|
||||
Version = version;
|
||||
return this;
|
||||
|
Reference in New Issue
Block a user