[Fixes #5283] Adding some documentation for ResourceDefinition.SetVersion

It has to be a vallid SermVer format.
This commit is contained in:
Sebastien Ros
2015-09-09 14:52:25 -07:00
parent 89e8658f49
commit a548e47f90

View File

@@ -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;