Class VersionController
helps to handle versions of products
Inheritance
System.Object
VersionController
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Framework.Core
Assembly: Simplic.Framework.Base.dll
Syntax
public class VersionController
Properties
| Improve this Doc View SourceInstance
Declaration
public static VersionController Instance { get; }
Property Value
| Type | Description |
|---|---|
| VersionController |
Methods
| Improve this Doc View SourceGetProductVersion(String, String)
Get the version of an installed product
Declaration
public Version GetProductVersion(string ProductName, string ConnectionStringName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | ProductName | Name of the Product |
| System.String | ConnectionStringName | Connection String |
Returns
| Type | Description |
|---|---|
| System.Version |
SetProductVersion(String, Version, String)
Set the Version of an product
Declaration
public void SetProductVersion(string ProductName, Version Version, string ConnectionStringName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | ProductName | Produktname |
| System.Version | Version | Version |
| System.String | ConnectionStringName | Verbindungszeichenfolge |