Updater Class |
Namespace: PDTec.IceNet.Sdk.Model.Update
public class Updater
The Updater type exposes the following members.
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Update |
Name | Description | |
---|---|---|
![]() | DisplayMessage |
Updater pUpdater = new Updater( pRepository, Constants.Package.HullManager, typeof(Constants).Assembly, "GL.HullManager.BusinessLogic.ModelXml"); pUpdater.DisplayMessage += delegate(object sender, UpdateMessageEventArgs e) { Console.WriteLine(e.Message + "\n"); }; if (pUpdater.IsInstalled && !pUpdater.IsUpToDate) { pUpdater.Update(); }