-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #691 from immense/tech/nullable-references
Enable nullable references... and other stuff.
- Loading branch information
Showing
200 changed files
with
11,478 additions
and
3,570 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
using System.Windows; | ||
|
||
namespace Remotely.Agent.Installer.Win | ||
namespace Remotely.Agent.Installer.Win; | ||
|
||
/// <summary> | ||
/// Interaction logic for App.xaml | ||
/// </summary> | ||
public partial class App : Application | ||
{ | ||
/// <summary> | ||
/// Interaction logic for App.xaml | ||
/// </summary> | ||
public partial class App : Application | ||
{ | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,28 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
#nullable enable | ||
|
||
namespace Remotely.Agent.Installer.Win.Models | ||
namespace Remotely.Agent.Installer.Win.Models; | ||
|
||
public class BrandingInfo | ||
{ | ||
public class BrandingInfo | ||
{ | ||
public string Product { get; set; } = "Remotely"; | ||
public string Product { get; set; } = "Remotely"; | ||
|
||
public string Icon { get; set; } | ||
public string? Icon { get; set; } | ||
|
||
public byte TitleForegroundRed { get; set; } = 29; | ||
public byte TitleForegroundRed { get; set; } = 29; | ||
|
||
public byte TitleForegroundGreen { get; set; } = 144; | ||
public byte TitleForegroundGreen { get; set; } = 144; | ||
|
||
public byte TitleForegroundBlue { get; set; } = 241; | ||
public byte TitleForegroundBlue { get; set; } = 241; | ||
|
||
public byte TitleBackgroundRed { get; set; } = 70; | ||
public byte TitleBackgroundRed { get; set; } = 70; | ||
|
||
public byte TitleBackgroundGreen { get; set; } = 70; | ||
public byte TitleBackgroundGreen { get; set; } = 70; | ||
|
||
public byte TitleBackgroundBlue { get; set; } = 70; | ||
public byte TitleBackgroundBlue { get; set; } = 70; | ||
|
||
public byte ButtonForegroundRed { get; set; } = 255; | ||
public byte ButtonForegroundRed { get; set; } = 255; | ||
|
||
public byte ButtonForegroundGreen { get; set; } = 255; | ||
public byte ButtonForegroundGreen { get; set; } = 255; | ||
|
||
public byte ButtonForegroundBlue { get; set; } = 255; | ||
} | ||
public byte ButtonForegroundBlue { get; set; } = 255; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,27 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Runtime.Serialization; | ||
using System.Runtime.Serialization.Formatters.Binary; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Remotely.Agent.Installer.Models | ||
namespace Remotely.Agent.Installer.Models; | ||
|
||
[DataContract] | ||
public class EmbeddedServerData | ||
{ | ||
[DataContract] | ||
public class EmbeddedServerData | ||
{ | ||
/// <summary> | ||
/// Parameterless constructor for JsonSerializer. | ||
/// </summary> | ||
public EmbeddedServerData() { } | ||
/// <summary> | ||
/// Parameterless constructor for JsonSerializer. | ||
/// </summary> | ||
public EmbeddedServerData() { } | ||
|
||
public EmbeddedServerData(Uri serverUrl, string organizationId) | ||
{ | ||
ServerUrl = serverUrl; | ||
OrganizationId = organizationId; | ||
} | ||
public EmbeddedServerData(Uri serverUrl, string organizationId) | ||
{ | ||
ServerUrl = serverUrl; | ||
OrganizationId = organizationId; | ||
} | ||
|
||
public static EmbeddedServerData Empty { get; } = new EmbeddedServerData(); | ||
public static EmbeddedServerData Empty { get; } = new EmbeddedServerData(); | ||
|
||
[DataMember] | ||
public string OrganizationId { get; set; } = string.Empty; | ||
[DataMember] | ||
public string OrganizationId { get; set; } = string.Empty; | ||
|
||
[DataMember] | ||
public Uri ServerUrl { get; set; } | ||
} | ||
[DataMember] | ||
public Uri ServerUrl { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.