Loading WindowsDevicePortalWrapper/MockDataGenerator/Program.cs +4 −4 Original line number Diff line number Diff line Loading @@ -275,14 +275,14 @@ namespace MockDataGenerator } /// <summary> /// Gets or sets the HTTP Method. /// Gets the HTTP Method. /// </summary> public HttpMethods Method { get; set; } public HttpMethods Method { get; private set; } /// <summary> /// Gets or sets the endpoint value. /// Gets the endpoint value. /// </summary> public string Value { get; set; } public string Value { get; private set; } /// <summary> /// Overridden ToString method. Loading WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/MockDevicePortalConnection.cs +0 −18 Original line number Diff line number Diff line Loading @@ -66,15 +66,6 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests set; } /// <summary> /// Gets or sets the device name /// </summary> public string Name { get; set; } /// <summary> /// Gets or sets device OS Info /// </summary> Loading @@ -84,15 +75,6 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests set; } /// <summary> /// Gets or sets the device's qualified name /// </summary> public string QualifiedName { get; set; } /// <summary> /// Returns certificate data /// </summary> Loading WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/Core/AppDeployment.cs +31 −31 Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ namespace Microsoft.Tools.WindowsDevicePortal public static readonly string PackageManagerApi = "api/app/packagemanager/package"; /// <summary> /// Gets or sets install status handler. /// App Install Status handler. /// </summary> public event ApplicationInstallStatusEventHandler AppInstallStatus; Loading Loading @@ -272,10 +272,10 @@ namespace Microsoft.Tools.WindowsDevicePortal public class AppPackages { /// <summary> /// Gets or sets a list of the packages /// Gets a list of the packages /// </summary> [DataMember(Name = "InstalledPackages")] public List<PackageInfo> Packages { get; set; } public List<PackageInfo> Packages { get; private set; } /// <summary> /// Presents a user readable representation of a list of AppPackages Loading @@ -300,28 +300,28 @@ namespace Microsoft.Tools.WindowsDevicePortal public class InstallState { /// <summary> /// Gets or sets install state code /// Gets install state code /// </summary> [DataMember(Name = "Code")] public int Code { get; set; } public int Code { get; private set; } /// <summary> /// Gets or sets message text /// Gets message text /// </summary> [DataMember(Name = "CodeText")] public string CodeText { get; set; } public string CodeText { get; private set; } /// <summary> /// Gets or sets reason for state /// Gets reason for state /// </summary> [DataMember(Name = "Reason")] public string Reason { get; set; } public string Reason { get; private set; } /// <summary> /// Gets or sets a value indicating whether this was successful /// Gets a value indicating whether this was successful /// </summary> [DataMember(Name = "Success")] public bool WasSuccessful { get; set; } public bool WasSuccessful { get; private set; } } /// <summary> Loading @@ -331,40 +331,40 @@ namespace Microsoft.Tools.WindowsDevicePortal public class PackageInfo { /// <summary> /// Gets or sets package name /// Gets package name /// </summary> [DataMember(Name = "Name")] public string Name { get; set; } public string Name { get; private set; } /// <summary> /// Gets or sets package family name /// Gets package family name /// </summary> [DataMember(Name = "PackageFamilyName")] public string FamilyName { get; set; } public string FamilyName { get; private set; } /// <summary> /// Gets or sets package full name /// Gets package full name /// </summary> [DataMember(Name = "PackageFullName")] public string FullName { get; set; } public string FullName { get; private set; } /// <summary> /// Gets or sets package relative Id /// Gets package relative Id /// </summary> [DataMember(Name = "PackageRelativeId")] public string AppId { get; set; } public string AppId { get; private set; } /// <summary> /// Gets or sets package publisher /// Gets package publisher /// </summary> [DataMember(Name = "Publisher")] public string Publisher { get; set; } public string Publisher { get; private set; } /// <summary> /// Gets or sets package version /// Gets package version /// </summary> [DataMember(Name = "Version")] public PackageVersion Version { get; set; } public PackageVersion Version { get; private set; } /// <summary> /// Get a string representation of the package Loading @@ -383,28 +383,28 @@ namespace Microsoft.Tools.WindowsDevicePortal public class PackageVersion { /// <summary> /// Gets or sets version build /// Gets version build /// </summary> [DataMember(Name = "Build")] public int Build { get; set; } public int Build { get; private set; } /// <summary> /// Gets or sets package Major number /// Gets package Major number /// </summary> [DataMember(Name = "Major")] public int Major { get; set; } public int Major { get; private set; } /// <summary> /// Gets or sets package minor number /// Gets package minor number /// </summary> [DataMember(Name = "Minor")] public int Minor { get; set; } public int Minor { get; private set; } /// <summary> /// Gets or sets package revision /// Gets package revision /// </summary> [DataMember(Name = "Revision")] public int Revision { get; set; } public int Revision { get; private set; } /// <summary> /// Gets package version Loading WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/Core/AppFileExplorer.cs +18 −18 Original line number Diff line number Diff line Loading @@ -200,10 +200,10 @@ namespace Microsoft.Tools.WindowsDevicePortal public class KnownFolders { /// <summary> /// Gets or sets the list of known folders. /// Gets the list of known folders. /// </summary> [DataMember(Name = "KnownFolders")] public List<string> Folders { get; set; } public List<string> Folders { get; private set; } /// <summary> /// Overridden ToString method providing a user readable Loading Loading @@ -234,10 +234,10 @@ namespace Microsoft.Tools.WindowsDevicePortal public class FolderContents { /// <summary> /// Gets or sets the list of folders and files in this folder. /// Gets the list of folders and files in this folder. /// </summary> [DataMember(Name = "Items")] public List<FileOrFolderInformation> Contents { get; set; } public List<FileOrFolderInformation> Contents { get; private set; } /// <summary> /// Overridden ToString method providing a user readable Loading Loading @@ -269,46 +269,46 @@ namespace Microsoft.Tools.WindowsDevicePortal public class FileOrFolderInformation { /// <summary> /// Gets or sets the current directory. /// Gets the current directory. /// </summary> [DataMember(Name = "CurrentDir")] public string CurrentDir { get; set; } public string CurrentDir { get; private set; } /// <summary> /// Gets or sets the current directory. /// Gets the current directory. /// </summary> [DataMember(Name = "DateCreated")] public long DateCreated { get; set; } public long DateCreated { get; private set; } /// <summary> /// Gets or sets the Id. /// Gets the Id. /// </summary> [DataMember(Name = "Id")] public string Id { get; set; } public string Id { get; private set; } /// <summary> /// Gets or sets the Name. /// Gets the Name. /// </summary> [DataMember(Name = "Name")] public string Name { get; set; } public string Name { get; private set; } /// <summary> /// Gets or sets the SubPath (equivalent to CurrentDir for files). /// Gets the SubPath (equivalent to CurrentDir for files). /// </summary> [DataMember(Name = "SubPath")] public string SubPath { get; set; } public string SubPath { get; private set; } /// <summary> /// Gets or sets the Type. /// Gets the Type. /// </summary> [DataMember(Name = "Type")] public int Type { get; set; } public int Type { get; private set; } /// <summary> /// Gets or sets the size of the file (0 for folders). /// Gets the size of the file (0 for folders). /// </summary> [DataMember(Name = "FileSize")] public long SizeInBytes { get; set; } public long SizeInBytes { get; private set; } /// <summary> /// Overridden ToString method providing a user readable Loading WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/Core/DeviceManager.cs +18 −18 Original line number Diff line number Diff line Loading @@ -38,10 +38,10 @@ namespace Microsoft.Tools.WindowsDevicePortal public class DeviceList { /// <summary> /// Gets or sets the Device Class /// Gets the Device Class /// </summary> [DataMember(Name = "DeviceList")] public List<Device> Devices { get; set; } public List<Device> Devices { get; private set; } } /// <summary> Loading @@ -51,52 +51,52 @@ namespace Microsoft.Tools.WindowsDevicePortal public class Device { /// <summary> /// Gets or sets the Device Class /// Gets the Device Class /// </summary> [DataMember(Name = "Class")] public string Class { get; set; } public string Class { get; private set; } /// <summary> /// Gets or sets the Device Description /// Gets the Device Description /// </summary> [DataMember(Name = "Description")] public string Description { get; set; } public string Description { get; private set; } /// <summary> /// Gets or sets the friendly (human-readable) name for the device. Usually more descriptive than Description. Does not apply to all Devices. /// Gets the friendly (human-readable) name for the device. Usually more descriptive than Description. Does not apply to all Devices. /// </summary> [DataMember(Name = "FriendlyName")] public string FriendlyName { get; set; } public string FriendlyName { get; private set; } /// <summary> /// Gets or sets the Device ID /// Gets the Device ID /// </summary> [DataMember(Name = "ID")] public string ID { get; set; } public string ID { get; private set; } /// <summary> /// Gets or sets the Device Manufacturer /// Gets the Device Manufacturer /// </summary> [DataMember(Name = "Manufacturer")] public string Manufacturer { get; set; } public string Manufacturer { get; private set; } /// <summary> /// Gets or sets the Device ParentID, used for pairing /// Gets the Device ParentID, used for pairing /// </summary> [DataMember(Name = "ParentID")] public string ParentID { get; set; } public string ParentID { get; private set; } /// <summary> /// Gets or sets the Device Problem Code /// Gets the Device Problem Code /// </summary> [DataMember(Name = "ProblemCode")] public int ProblemCode { get; set; } public int ProblemCode { get; private set; } /// <summary> /// Gets or sets the Device Status Code /// Gets the Device Status Code /// </summary> [DataMember(Name = "StatusCode")] public int StatusCode { get; set; } public int StatusCode { get; private set; } } #endregion } Loading Loading
WindowsDevicePortalWrapper/MockDataGenerator/Program.cs +4 −4 Original line number Diff line number Diff line Loading @@ -275,14 +275,14 @@ namespace MockDataGenerator } /// <summary> /// Gets or sets the HTTP Method. /// Gets the HTTP Method. /// </summary> public HttpMethods Method { get; set; } public HttpMethods Method { get; private set; } /// <summary> /// Gets or sets the endpoint value. /// Gets the endpoint value. /// </summary> public string Value { get; set; } public string Value { get; private set; } /// <summary> /// Overridden ToString method. Loading
WindowsDevicePortalWrapper/UnitTestProject/WDPMockImplementations/MockDevicePortalConnection.cs +0 −18 Original line number Diff line number Diff line Loading @@ -66,15 +66,6 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests set; } /// <summary> /// Gets or sets the device name /// </summary> public string Name { get; set; } /// <summary> /// Gets or sets device OS Info /// </summary> Loading @@ -84,15 +75,6 @@ namespace Microsoft.Tools.WindowsDevicePortal.Tests set; } /// <summary> /// Gets or sets the device's qualified name /// </summary> public string QualifiedName { get; set; } /// <summary> /// Returns certificate data /// </summary> Loading
WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/Core/AppDeployment.cs +31 −31 Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ namespace Microsoft.Tools.WindowsDevicePortal public static readonly string PackageManagerApi = "api/app/packagemanager/package"; /// <summary> /// Gets or sets install status handler. /// App Install Status handler. /// </summary> public event ApplicationInstallStatusEventHandler AppInstallStatus; Loading Loading @@ -272,10 +272,10 @@ namespace Microsoft.Tools.WindowsDevicePortal public class AppPackages { /// <summary> /// Gets or sets a list of the packages /// Gets a list of the packages /// </summary> [DataMember(Name = "InstalledPackages")] public List<PackageInfo> Packages { get; set; } public List<PackageInfo> Packages { get; private set; } /// <summary> /// Presents a user readable representation of a list of AppPackages Loading @@ -300,28 +300,28 @@ namespace Microsoft.Tools.WindowsDevicePortal public class InstallState { /// <summary> /// Gets or sets install state code /// Gets install state code /// </summary> [DataMember(Name = "Code")] public int Code { get; set; } public int Code { get; private set; } /// <summary> /// Gets or sets message text /// Gets message text /// </summary> [DataMember(Name = "CodeText")] public string CodeText { get; set; } public string CodeText { get; private set; } /// <summary> /// Gets or sets reason for state /// Gets reason for state /// </summary> [DataMember(Name = "Reason")] public string Reason { get; set; } public string Reason { get; private set; } /// <summary> /// Gets or sets a value indicating whether this was successful /// Gets a value indicating whether this was successful /// </summary> [DataMember(Name = "Success")] public bool WasSuccessful { get; set; } public bool WasSuccessful { get; private set; } } /// <summary> Loading @@ -331,40 +331,40 @@ namespace Microsoft.Tools.WindowsDevicePortal public class PackageInfo { /// <summary> /// Gets or sets package name /// Gets package name /// </summary> [DataMember(Name = "Name")] public string Name { get; set; } public string Name { get; private set; } /// <summary> /// Gets or sets package family name /// Gets package family name /// </summary> [DataMember(Name = "PackageFamilyName")] public string FamilyName { get; set; } public string FamilyName { get; private set; } /// <summary> /// Gets or sets package full name /// Gets package full name /// </summary> [DataMember(Name = "PackageFullName")] public string FullName { get; set; } public string FullName { get; private set; } /// <summary> /// Gets or sets package relative Id /// Gets package relative Id /// </summary> [DataMember(Name = "PackageRelativeId")] public string AppId { get; set; } public string AppId { get; private set; } /// <summary> /// Gets or sets package publisher /// Gets package publisher /// </summary> [DataMember(Name = "Publisher")] public string Publisher { get; set; } public string Publisher { get; private set; } /// <summary> /// Gets or sets package version /// Gets package version /// </summary> [DataMember(Name = "Version")] public PackageVersion Version { get; set; } public PackageVersion Version { get; private set; } /// <summary> /// Get a string representation of the package Loading @@ -383,28 +383,28 @@ namespace Microsoft.Tools.WindowsDevicePortal public class PackageVersion { /// <summary> /// Gets or sets version build /// Gets version build /// </summary> [DataMember(Name = "Build")] public int Build { get; set; } public int Build { get; private set; } /// <summary> /// Gets or sets package Major number /// Gets package Major number /// </summary> [DataMember(Name = "Major")] public int Major { get; set; } public int Major { get; private set; } /// <summary> /// Gets or sets package minor number /// Gets package minor number /// </summary> [DataMember(Name = "Minor")] public int Minor { get; set; } public int Minor { get; private set; } /// <summary> /// Gets or sets package revision /// Gets package revision /// </summary> [DataMember(Name = "Revision")] public int Revision { get; set; } public int Revision { get; private set; } /// <summary> /// Gets package version Loading
WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/Core/AppFileExplorer.cs +18 −18 Original line number Diff line number Diff line Loading @@ -200,10 +200,10 @@ namespace Microsoft.Tools.WindowsDevicePortal public class KnownFolders { /// <summary> /// Gets or sets the list of known folders. /// Gets the list of known folders. /// </summary> [DataMember(Name = "KnownFolders")] public List<string> Folders { get; set; } public List<string> Folders { get; private set; } /// <summary> /// Overridden ToString method providing a user readable Loading Loading @@ -234,10 +234,10 @@ namespace Microsoft.Tools.WindowsDevicePortal public class FolderContents { /// <summary> /// Gets or sets the list of folders and files in this folder. /// Gets the list of folders and files in this folder. /// </summary> [DataMember(Name = "Items")] public List<FileOrFolderInformation> Contents { get; set; } public List<FileOrFolderInformation> Contents { get; private set; } /// <summary> /// Overridden ToString method providing a user readable Loading Loading @@ -269,46 +269,46 @@ namespace Microsoft.Tools.WindowsDevicePortal public class FileOrFolderInformation { /// <summary> /// Gets or sets the current directory. /// Gets the current directory. /// </summary> [DataMember(Name = "CurrentDir")] public string CurrentDir { get; set; } public string CurrentDir { get; private set; } /// <summary> /// Gets or sets the current directory. /// Gets the current directory. /// </summary> [DataMember(Name = "DateCreated")] public long DateCreated { get; set; } public long DateCreated { get; private set; } /// <summary> /// Gets or sets the Id. /// Gets the Id. /// </summary> [DataMember(Name = "Id")] public string Id { get; set; } public string Id { get; private set; } /// <summary> /// Gets or sets the Name. /// Gets the Name. /// </summary> [DataMember(Name = "Name")] public string Name { get; set; } public string Name { get; private set; } /// <summary> /// Gets or sets the SubPath (equivalent to CurrentDir for files). /// Gets the SubPath (equivalent to CurrentDir for files). /// </summary> [DataMember(Name = "SubPath")] public string SubPath { get; set; } public string SubPath { get; private set; } /// <summary> /// Gets or sets the Type. /// Gets the Type. /// </summary> [DataMember(Name = "Type")] public int Type { get; set; } public int Type { get; private set; } /// <summary> /// Gets or sets the size of the file (0 for folders). /// Gets the size of the file (0 for folders). /// </summary> [DataMember(Name = "FileSize")] public long SizeInBytes { get; set; } public long SizeInBytes { get; private set; } /// <summary> /// Overridden ToString method providing a user readable Loading
WindowsDevicePortalWrapper/WindowsDevicePortalWrapper.Shared/Core/DeviceManager.cs +18 −18 Original line number Diff line number Diff line Loading @@ -38,10 +38,10 @@ namespace Microsoft.Tools.WindowsDevicePortal public class DeviceList { /// <summary> /// Gets or sets the Device Class /// Gets the Device Class /// </summary> [DataMember(Name = "DeviceList")] public List<Device> Devices { get; set; } public List<Device> Devices { get; private set; } } /// <summary> Loading @@ -51,52 +51,52 @@ namespace Microsoft.Tools.WindowsDevicePortal public class Device { /// <summary> /// Gets or sets the Device Class /// Gets the Device Class /// </summary> [DataMember(Name = "Class")] public string Class { get; set; } public string Class { get; private set; } /// <summary> /// Gets or sets the Device Description /// Gets the Device Description /// </summary> [DataMember(Name = "Description")] public string Description { get; set; } public string Description { get; private set; } /// <summary> /// Gets or sets the friendly (human-readable) name for the device. Usually more descriptive than Description. Does not apply to all Devices. /// Gets the friendly (human-readable) name for the device. Usually more descriptive than Description. Does not apply to all Devices. /// </summary> [DataMember(Name = "FriendlyName")] public string FriendlyName { get; set; } public string FriendlyName { get; private set; } /// <summary> /// Gets or sets the Device ID /// Gets the Device ID /// </summary> [DataMember(Name = "ID")] public string ID { get; set; } public string ID { get; private set; } /// <summary> /// Gets or sets the Device Manufacturer /// Gets the Device Manufacturer /// </summary> [DataMember(Name = "Manufacturer")] public string Manufacturer { get; set; } public string Manufacturer { get; private set; } /// <summary> /// Gets or sets the Device ParentID, used for pairing /// Gets the Device ParentID, used for pairing /// </summary> [DataMember(Name = "ParentID")] public string ParentID { get; set; } public string ParentID { get; private set; } /// <summary> /// Gets or sets the Device Problem Code /// Gets the Device Problem Code /// </summary> [DataMember(Name = "ProblemCode")] public int ProblemCode { get; set; } public int ProblemCode { get; private set; } /// <summary> /// Gets or sets the Device Status Code /// Gets the Device Status Code /// </summary> [DataMember(Name = "StatusCode")] public int StatusCode { get; set; } public int StatusCode { get; private set; } } #endregion } Loading