mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +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;
|
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) {
|
public ResourceDefinition SetVersion(string version) {
|
||||||
Version = version;
|
Version = version;
|
||||||
return this;
|
return this;
|
||||||
|
|||||||
Reference in New Issue
Block a user