123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- using System;
- namespace Microsoft.Samples.AppUpdater
- {
- [Serializable]
- public class UpdateState
- {
- private UpdatePhases _Phase;
- private bool _UpdateFailureEncoutered;
- private int _UpdateFailureCount;
- private string _DownloadSource = "";
- private string _DownloadDestination = "";
- private string _NewVersionDirectory = "";
- public UpdatePhases Phase
- {
- get
- {
- return _Phase;
- }
- set
- {
- _Phase = value;
- }
- }
- public bool UpdateFailureEncoutered
- {
- get
- {
- return _UpdateFailureEncoutered;
- }
- set
- {
- _UpdateFailureEncoutered = value;
- }
- }
- public int UpdateFailureCount
- {
- get
- {
- return _UpdateFailureCount;
- }
- set
- {
- _UpdateFailureCount = value;
- }
- }
- public string DownloadSource
- {
- get
- {
- return _DownloadSource;
- }
- set
- {
- _DownloadSource = value;
- }
- }
- public string DownloadDestination
- {
- get
- {
- return _DownloadDestination;
- }
- set
- {
- _DownloadDestination = value;
- }
- }
- public string NewVersionDirectory
- {
- get
- {
- return _NewVersionDirectory;
- }
- set
- {
- _NewVersionDirectory = value;
- }
- }
- }
- }
|