mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
Consolidation - global usings
This commit is contained in:
parent
77725ea5d7
commit
282d4c665a
@ -1,25 +1,9 @@
|
|||||||
using System;
|
using System.Reflection;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Globalization;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Net.Http;
|
|
||||||
using System.Net;
|
|
||||||
using System.Reflection;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Threading;
|
using System.Windows.Threading;
|
||||||
|
|
||||||
using Microsoft.Win32;
|
using Microsoft.Win32;
|
||||||
|
|
||||||
using Bloxstrap.Enums;
|
|
||||||
using Bloxstrap.Extensions;
|
|
||||||
using Bloxstrap.Models;
|
|
||||||
using Bloxstrap.Models.Attributes;
|
|
||||||
using Bloxstrap.UI;
|
|
||||||
using Bloxstrap.Utility;
|
|
||||||
|
|
||||||
namespace Bloxstrap
|
namespace Bloxstrap
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -27,8 +11,6 @@ namespace Bloxstrap
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class App : Application
|
public partial class App : Application
|
||||||
{
|
{
|
||||||
public static readonly CultureInfo CultureFormat = CultureInfo.InvariantCulture;
|
|
||||||
|
|
||||||
public const string ProjectName = "Bloxstrap";
|
public const string ProjectName = "Bloxstrap";
|
||||||
public const string ProjectRepository = "pizzaboxer/bloxstrap";
|
public const string ProjectRepository = "pizzaboxer/bloxstrap";
|
||||||
public const string RobloxAppName = "RobloxPlayerBeta";
|
public const string RobloxAppName = "RobloxPlayerBeta";
|
||||||
|
@ -1,24 +1,9 @@
|
|||||||
using System;
|
using System.Windows;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.IO;
|
|
||||||
using System.IO.Compression;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Net.Http;
|
|
||||||
using System.Text.Json;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using System.Windows;
|
|
||||||
|
|
||||||
using Microsoft.Win32;
|
using Microsoft.Win32;
|
||||||
|
|
||||||
using Bloxstrap.Enums;
|
|
||||||
using Bloxstrap.Extensions;
|
|
||||||
using Bloxstrap.Integrations;
|
using Bloxstrap.Integrations;
|
||||||
using Bloxstrap.Models;
|
|
||||||
using Bloxstrap.Tools;
|
|
||||||
using Bloxstrap.UI;
|
|
||||||
|
|
||||||
namespace Bloxstrap
|
namespace Bloxstrap
|
||||||
{
|
{
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
using System;
|
namespace Bloxstrap
|
||||||
using System.IO;
|
|
||||||
|
|
||||||
namespace Bloxstrap
|
|
||||||
{
|
{
|
||||||
static class Directories
|
static class Directories
|
||||||
{
|
{
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
using System;
|
using System.Drawing;
|
||||||
using System.Drawing;
|
|
||||||
|
|
||||||
using Bloxstrap.Enums;
|
|
||||||
|
|
||||||
namespace Bloxstrap.Extensions
|
namespace Bloxstrap.Extensions
|
||||||
{
|
{
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
using Bloxstrap.Enums;
|
namespace Bloxstrap.Extensions
|
||||||
using Bloxstrap.UI;
|
|
||||||
|
|
||||||
namespace Bloxstrap.Extensions
|
|
||||||
{
|
{
|
||||||
static class BootstrapperStyleEx
|
static class BootstrapperStyleEx
|
||||||
{
|
{
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
namespace Bloxstrap.Extensions
|
||||||
|
|
||||||
using Bloxstrap.Enums;
|
|
||||||
|
|
||||||
namespace Bloxstrap.Extensions
|
|
||||||
{
|
{
|
||||||
static class CursorTypeEx
|
static class CursorTypeEx
|
||||||
{
|
{
|
||||||
|
@ -1,12 +1,10 @@
|
|||||||
using System;
|
namespace Bloxstrap.Extensions
|
||||||
|
|
||||||
namespace Bloxstrap.Extensions
|
|
||||||
{
|
{
|
||||||
static class DateTimeEx
|
static class DateTimeEx
|
||||||
{
|
{
|
||||||
public static string ToFriendlyString(this DateTime dateTime)
|
public static string ToFriendlyString(this DateTime dateTime)
|
||||||
{
|
{
|
||||||
return dateTime.ToString("dddd, d MMMM yyyy 'at' h:mm:ss tt", App.CultureFormat);
|
return dateTime.ToString("dddd, d MMMM yyyy 'at' h:mm:ss tt");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
namespace Bloxstrap.Extensions
|
||||||
|
|
||||||
using Bloxstrap.Enums;
|
|
||||||
|
|
||||||
namespace Bloxstrap.Extensions
|
|
||||||
{
|
{
|
||||||
static class EmojiTypeEx
|
static class EmojiTypeEx
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.IO;
|
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
using Microsoft.Win32;
|
using Microsoft.Win32;
|
||||||
using Bloxstrap.Enums;
|
|
||||||
|
|
||||||
namespace Bloxstrap.Extensions
|
namespace Bloxstrap.Extensions
|
||||||
{
|
{
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
namespace Bloxstrap
|
||||||
using System.IO;
|
|
||||||
using System.Text.Json;
|
|
||||||
|
|
||||||
namespace Bloxstrap
|
|
||||||
{
|
{
|
||||||
public class FastFlagManager : JsonManager<Dictionary<string, object>>
|
public class FastFlagManager : JsonManager<Dictionary<string, object>>
|
||||||
{
|
{
|
||||||
|
22
Bloxstrap/GlobalUsings.cs
Normal file
22
Bloxstrap/GlobalUsings.cs
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
global using System;
|
||||||
|
global using System.Collections.Generic;
|
||||||
|
global using System.Diagnostics;
|
||||||
|
global using System.IO;
|
||||||
|
global using System.IO.Compression;
|
||||||
|
global using System.Text;
|
||||||
|
global using System.Text.Json;
|
||||||
|
global using System.Text.Json.Serialization;
|
||||||
|
global using System.Text.RegularExpressions;
|
||||||
|
global using System.Linq;
|
||||||
|
global using System.Net;
|
||||||
|
global using System.Net.Http;
|
||||||
|
global using System.Threading;
|
||||||
|
global using System.Threading.Tasks;
|
||||||
|
|
||||||
|
global using Bloxstrap.Enums;
|
||||||
|
global using Bloxstrap.Extensions;
|
||||||
|
global using Bloxstrap.Models;
|
||||||
|
global using Bloxstrap.Models.Attributes;
|
||||||
|
global using Bloxstrap.Models.RobloxApi;
|
||||||
|
global using Bloxstrap.UI;
|
||||||
|
global using Bloxstrap.Utility;
|
@ -1,13 +1,4 @@
|
|||||||
using System;
|
namespace Bloxstrap
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Net;
|
|
||||||
using System.Net.Http;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Bloxstrap
|
|
||||||
{
|
{
|
||||||
internal class HttpClientLoggingHandler : MessageProcessingHandler
|
internal class HttpClientLoggingHandler : MessageProcessingHandler
|
||||||
{
|
{
|
||||||
|
@ -1,12 +1,4 @@
|
|||||||
using System;
|
using DiscordRPC;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
using DiscordRPC;
|
|
||||||
|
|
||||||
using Bloxstrap.Models.RobloxApi;
|
|
||||||
using Bloxstrap.Models;
|
|
||||||
|
|
||||||
namespace Bloxstrap.Integrations
|
namespace Bloxstrap.Integrations
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
using System;
|
using System.Windows;
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Windows;
|
|
||||||
|
|
||||||
namespace Bloxstrap.Integrations
|
namespace Bloxstrap.Integrations
|
||||||
{
|
{
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
using System;
|
namespace Bloxstrap
|
||||||
using System.IO;
|
|
||||||
using System.Text.Json;
|
|
||||||
|
|
||||||
namespace Bloxstrap
|
|
||||||
{
|
{
|
||||||
public class JsonManager<T> where T : new()
|
public class JsonManager<T> where T : new()
|
||||||
{
|
{
|
||||||
|
@ -1,11 +1,4 @@
|
|||||||
using System;
|
namespace Bloxstrap
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.IO;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading;
|
|
||||||
|
|
||||||
namespace Bloxstrap
|
|
||||||
{
|
{
|
||||||
// https://stackoverflow.com/a/53873141/11852173
|
// https://stackoverflow.com/a/53873141/11852173
|
||||||
// TODO - this kind of sucks
|
// TODO - this kind of sucks
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
using System;
|
namespace Bloxstrap.Models.Attributes
|
||||||
|
|
||||||
namespace Bloxstrap.Models.Attributes
|
|
||||||
{
|
{
|
||||||
[AttributeUsage(AttributeTargets.Assembly)]
|
[AttributeUsage(AttributeTargets.Assembly)]
|
||||||
public class BuildMetadataAttribute : Attribute
|
public class BuildMetadataAttribute : Attribute
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
using System;
|
namespace Bloxstrap.Models
|
||||||
using System.Text.Json.Serialization;
|
|
||||||
|
|
||||||
namespace Bloxstrap.Models
|
|
||||||
{
|
{
|
||||||
public class ClientVersion
|
public class ClientVersion
|
||||||
{
|
{
|
||||||
|
@ -1,10 +1,4 @@
|
|||||||
using System;
|
namespace Bloxstrap.Models
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Bloxstrap.Models
|
|
||||||
{
|
{
|
||||||
public class DeployInfo
|
public class DeployInfo
|
||||||
{
|
{
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
namespace Bloxstrap.Models
|
||||||
using System.Text.Json.Serialization;
|
|
||||||
|
|
||||||
namespace Bloxstrap.Models
|
|
||||||
{
|
{
|
||||||
public class FontFace
|
public class FontFace
|
||||||
{
|
{
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
namespace Bloxstrap.Models
|
||||||
using System.Text.Json.Serialization;
|
|
||||||
|
|
||||||
namespace Bloxstrap.Models
|
|
||||||
{
|
{
|
||||||
public class FontFamily
|
public class FontFamily
|
||||||
{
|
{
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
using System.Text.Json.Serialization;
|
namespace Bloxstrap.Models
|
||||||
|
|
||||||
namespace Bloxstrap.Models
|
|
||||||
{
|
{
|
||||||
public class GameMessage
|
public class GameMessage
|
||||||
{
|
{
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
namespace Bloxstrap.Models
|
||||||
using System.Text.Json.Serialization;
|
|
||||||
|
|
||||||
namespace Bloxstrap.Models
|
|
||||||
{
|
{
|
||||||
public class GithubRelease
|
public class GithubRelease
|
||||||
{
|
{
|
||||||
|
@ -4,11 +4,6 @@
|
|||||||
* Copyright (c) 2015-present MaximumADHD
|
* Copyright (c) 2015-present MaximumADHD
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Bloxstrap.Models
|
namespace Bloxstrap.Models
|
||||||
{
|
{
|
||||||
public class PackageManifest : List<Package>
|
public class PackageManifest : List<Package>
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
namespace Bloxstrap.Models.RobloxApi
|
||||||
using System.Text.Json.Serialization;
|
|
||||||
|
|
||||||
namespace Bloxstrap.Models.RobloxApi
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Roblox.Web.WebAPI.Models.ApiArrayResponse
|
/// Roblox.Web.WebAPI.Models.ApiArrayResponse
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
using System.Text.Json.Serialization;
|
namespace Bloxstrap.Models.RobloxApi
|
||||||
|
|
||||||
namespace Bloxstrap.Models.RobloxApi
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Roblox.Games.Api.Models.Response.GameCreator
|
/// Roblox.Games.Api.Models.Response.GameCreator
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
using System;
|
namespace Bloxstrap.Models.RobloxApi
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text.Json.Serialization;
|
|
||||||
|
|
||||||
namespace Bloxstrap.Models.RobloxApi
|
|
||||||
{
|
{
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
using System.Text.Json.Serialization;
|
namespace Bloxstrap.Models.RobloxApi
|
||||||
|
|
||||||
namespace Bloxstrap.Models.RobloxApi
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Roblox.Web.Responses.Thumbnails.ThumbnailResponse
|
/// Roblox.Web.Responses.Thumbnails.ThumbnailResponse
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
using System.Text.Json.Serialization;
|
namespace Bloxstrap.Models.RobloxApi
|
||||||
|
|
||||||
namespace Bloxstrap.Models.RobloxApi
|
|
||||||
{
|
{
|
||||||
// lmao its just one property
|
// lmao its just one property
|
||||||
public class UniverseIdResponse
|
public class UniverseIdResponse
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
|
|
||||||
using Bloxstrap.Enums;
|
|
||||||
|
|
||||||
namespace Bloxstrap.Models
|
namespace Bloxstrap.Models
|
||||||
{
|
{
|
||||||
public class Settings
|
public class Settings
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
using System.Collections.Generic;
|
namespace Bloxstrap.Models
|
||||||
|
|
||||||
using Bloxstrap.Enums;
|
|
||||||
|
|
||||||
namespace Bloxstrap.Models
|
|
||||||
{
|
{
|
||||||
public class State
|
public class State
|
||||||
{
|
{
|
||||||
|
@ -1,14 +1,8 @@
|
|||||||
using System;
|
using System.Web;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
using System.Web;
|
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
|
|
||||||
using Microsoft.Win32;
|
using Microsoft.Win32;
|
||||||
|
|
||||||
using Bloxstrap.Enums;
|
|
||||||
using Bloxstrap.UI;
|
|
||||||
|
|
||||||
namespace Bloxstrap
|
namespace Bloxstrap
|
||||||
{
|
{
|
||||||
static class ProtocolHandler
|
static class ProtocolHandler
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
using System.IO;
|
using System.Reflection;
|
||||||
using System.Linq;
|
|
||||||
using System.Reflection;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Bloxstrap
|
namespace Bloxstrap
|
||||||
{
|
{
|
||||||
|
@ -1,14 +1,4 @@
|
|||||||
using System;
|
namespace Bloxstrap
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text.Json;
|
|
||||||
using System.Text.RegularExpressions;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
using Bloxstrap.Models;
|
|
||||||
|
|
||||||
namespace Bloxstrap
|
|
||||||
{
|
{
|
||||||
public class RobloxActivity : IDisposable
|
public class RobloxActivity : IDisposable
|
||||||
{
|
{
|
||||||
|
@ -1,13 +1,4 @@
|
|||||||
using System;
|
namespace Bloxstrap
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Net.Http;
|
|
||||||
using System.Text.Json;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
using Bloxstrap.Models;
|
|
||||||
|
|
||||||
namespace Bloxstrap
|
|
||||||
{
|
{
|
||||||
public static class RobloxDeployment
|
public static class RobloxDeployment
|
||||||
{
|
{
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
using System;
|
using System.Windows;
|
||||||
using System.Windows;
|
|
||||||
|
|
||||||
using Bloxstrap.Enums;
|
|
||||||
using Bloxstrap.Extensions;
|
|
||||||
using Bloxstrap.UI.Elements.Bootstrapper;
|
using Bloxstrap.UI.Elements.Bootstrapper;
|
||||||
using Bloxstrap.UI.Menu;
|
using Bloxstrap.UI.Menu;
|
||||||
using Bloxstrap.UI.MessageBox;
|
using Bloxstrap.UI.MessageBox;
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
using System;
|
using System.Windows;
|
||||||
using System.Windows;
|
|
||||||
|
|
||||||
namespace Bloxstrap.UI.Elements.Bootstrapper.Base
|
namespace Bloxstrap.UI.Elements.Bootstrapper.Base
|
||||||
{
|
{
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
using System;
|
using System.Windows.Forms;
|
||||||
using System.Windows.Forms;
|
|
||||||
|
|
||||||
using Bloxstrap.Extensions;
|
|
||||||
using Bloxstrap.UI.Utility;
|
using Bloxstrap.UI.Utility;
|
||||||
|
|
||||||
namespace Bloxstrap.UI.Elements.Bootstrapper.Base
|
namespace Bloxstrap.UI.Elements.Bootstrapper.Base
|
||||||
|
@ -1,11 +1,8 @@
|
|||||||
using System;
|
using System.Windows;
|
||||||
using System.Windows;
|
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
|
|
||||||
using Bloxstrap.Enums;
|
|
||||||
using Bloxstrap.Extensions;
|
|
||||||
using Bloxstrap.UI.Elements.Bootstrapper.Base;
|
using Bloxstrap.UI.Elements.Bootstrapper.Base;
|
||||||
using Bloxstrap.UI.ViewModels.Bootstrapper;
|
using Bloxstrap.UI.ViewModels.Bootstrapper;
|
||||||
|
|
||||||
|
@ -1,12 +1,9 @@
|
|||||||
using System;
|
using System.Windows.Forms;
|
||||||
using System.Windows;
|
|
||||||
using System.Windows.Forms;
|
|
||||||
|
|
||||||
using Wpf.Ui.Appearance;
|
using Wpf.Ui.Appearance;
|
||||||
using Wpf.Ui.Mvvm.Contracts;
|
using Wpf.Ui.Mvvm.Contracts;
|
||||||
using Wpf.Ui.Mvvm.Services;
|
using Wpf.Ui.Mvvm.Services;
|
||||||
|
|
||||||
using Bloxstrap.Extensions;
|
|
||||||
using Bloxstrap.UI.ViewModels.Bootstrapper;
|
using Bloxstrap.UI.ViewModels.Bootstrapper;
|
||||||
using Bloxstrap.UI.Elements.Bootstrapper.Base;
|
using Bloxstrap.UI.Elements.Bootstrapper.Base;
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
using System;
|
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
using Bloxstrap.UI.Elements.Bootstrapper.Base;
|
using Bloxstrap.UI.Elements.Bootstrapper.Base;
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
using System;
|
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
using Bloxstrap.Extensions;
|
|
||||||
using Bloxstrap.UI.Elements.Bootstrapper.Base;
|
using Bloxstrap.UI.Elements.Bootstrapper.Base;
|
||||||
|
|
||||||
namespace Bloxstrap.UI.Elements.Bootstrapper
|
namespace Bloxstrap.UI.Elements.Bootstrapper
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
using System;
|
using System.Drawing;
|
||||||
using System.Drawing;
|
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
using Bloxstrap.Enums;
|
|
||||||
using Bloxstrap.Extensions;
|
|
||||||
using Bloxstrap.UI.Elements.Bootstrapper.Base;
|
using Bloxstrap.UI.Elements.Bootstrapper.Base;
|
||||||
|
|
||||||
namespace Bloxstrap.UI.Elements.Bootstrapper
|
namespace Bloxstrap.UI.Elements.Bootstrapper
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
using System;
|
using System.Windows.Forms;
|
||||||
using System.Windows.Forms;
|
|
||||||
|
|
||||||
using Bloxstrap.Extensions;
|
|
||||||
using Bloxstrap.UI.Elements.Bootstrapper.Base;
|
using Bloxstrap.UI.Elements.Bootstrapper.Base;
|
||||||
|
|
||||||
namespace Bloxstrap.UI.Elements.Bootstrapper
|
namespace Bloxstrap.UI.Elements.Bootstrapper
|
||||||
|
@ -1,11 +1,7 @@
|
|||||||
using System;
|
using System.Media;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Media;
|
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Interop;
|
using System.Windows.Interop;
|
||||||
|
|
||||||
using Bloxstrap.Utility;
|
|
||||||
|
|
||||||
namespace Bloxstrap.UI
|
namespace Bloxstrap.UI
|
||||||
{
|
{
|
||||||
// hmm... do i use MVVM for this?
|
// hmm... do i use MVVM for this?
|
||||||
|
@ -1,12 +1,10 @@
|
|||||||
using System;
|
using System.Media;
|
||||||
using System.Configuration;
|
|
||||||
using System.Media;
|
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Interop;
|
using System.Windows.Interop;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
|
|
||||||
using Bloxstrap.UI.Utility;
|
using Bloxstrap.UI.Utility;
|
||||||
using Bloxstrap.Utility;
|
|
||||||
|
|
||||||
namespace Bloxstrap.UI.MessageBox
|
namespace Bloxstrap.UI.MessageBox
|
||||||
{
|
{
|
||||||
|
@ -1,12 +1,10 @@
|
|||||||
using System;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Controls;
|
|
||||||
|
|
||||||
using Wpf.Ui.Appearance;
|
using Wpf.Ui.Appearance;
|
||||||
using Wpf.Ui.Controls.Interfaces;
|
using Wpf.Ui.Controls.Interfaces;
|
||||||
using Wpf.Ui.Mvvm.Contracts;
|
using Wpf.Ui.Mvvm.Contracts;
|
||||||
using Wpf.Ui.Mvvm.Services;
|
using Wpf.Ui.Mvvm.Services;
|
||||||
|
|
||||||
using Bloxstrap.Extensions;
|
|
||||||
using Bloxstrap.UI.ViewModels.Menu;
|
using Bloxstrap.UI.ViewModels.Menu;
|
||||||
|
|
||||||
namespace Bloxstrap.UI.Menu
|
namespace Bloxstrap.UI.Menu
|
||||||
|
@ -1,9 +1,4 @@
|
|||||||
using System.Windows;
|
using Bloxstrap.UI.ViewModels.Menu;
|
||||||
using System.Windows.Controls;
|
|
||||||
using System.Windows.Data;
|
|
||||||
using System.Windows.Input;
|
|
||||||
|
|
||||||
using Bloxstrap.UI.ViewModels.Menu;
|
|
||||||
|
|
||||||
namespace Bloxstrap.UI.Menu.Pages
|
namespace Bloxstrap.UI.Menu.Pages
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
using System;
|
using System.Windows.Input;
|
||||||
using System.Windows.Input;
|
|
||||||
|
|
||||||
using Bloxstrap.UI.ViewModels.Menu;
|
using Bloxstrap.UI.ViewModels.Menu;
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
|
|
||||||
using Bloxstrap.Models;
|
|
||||||
using Bloxstrap.UI.ViewModels.Menu;
|
using Bloxstrap.UI.ViewModels.Menu;
|
||||||
|
|
||||||
namespace Bloxstrap.UI.Menu.Pages
|
namespace Bloxstrap.UI.Menu.Pages
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
using System;
|
using System.Windows;
|
||||||
using System.Windows;
|
|
||||||
|
|
||||||
using Bloxstrap.UI.ViewModels.Menu;
|
using Bloxstrap.UI.ViewModels.Menu;
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
using System;
|
using System.Windows.Forms;
|
||||||
using System.Windows.Forms;
|
|
||||||
|
|
||||||
namespace Bloxstrap.UI
|
namespace Bloxstrap.UI
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
using System;
|
using System.Windows;
|
||||||
using System.Windows;
|
|
||||||
using System.Windows.Forms;
|
using System.Windows.Forms;
|
||||||
|
|
||||||
namespace Bloxstrap.UI.Utility
|
namespace Bloxstrap.UI.Utility
|
||||||
|
@ -1,12 +1,9 @@
|
|||||||
using System.ComponentModel;
|
using System.Windows;
|
||||||
using System.Windows;
|
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
|
|
||||||
using CommunityToolkit.Mvvm.Input;
|
using CommunityToolkit.Mvvm.Input;
|
||||||
|
|
||||||
using Bloxstrap.Extensions;
|
|
||||||
|
|
||||||
namespace Bloxstrap.UI.ViewModels.Bootstrapper
|
namespace Bloxstrap.UI.ViewModels.Bootstrapper
|
||||||
{
|
{
|
||||||
public class BootstrapperDialogViewModel : NotifyPropertyChangedViewModel
|
public class BootstrapperDialogViewModel : NotifyPropertyChangedViewModel
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
using System;
|
using System.Windows;
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.IO;
|
|
||||||
using System.Windows;
|
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
|
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
using System;
|
using System.Windows;
|
||||||
using System.Windows;
|
|
||||||
|
|
||||||
using Bloxstrap.Extensions;
|
|
||||||
using Bloxstrap.Models.Attributes;
|
|
||||||
|
|
||||||
namespace Bloxstrap.UI.ViewModels.Menu
|
namespace Bloxstrap.UI.ViewModels.Menu
|
||||||
{
|
{
|
||||||
|
@ -1,16 +1,12 @@
|
|||||||
using System.Collections.Generic;
|
using System.Windows;
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Windows;
|
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using Microsoft.Win32;
|
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
|
|
||||||
using CommunityToolkit.Mvvm.Input;
|
using CommunityToolkit.Mvvm.Input;
|
||||||
|
|
||||||
using Bloxstrap.Enums;
|
using Microsoft.Win32;
|
||||||
using Bloxstrap.Extensions;
|
|
||||||
using Bloxstrap.UI.Menu;
|
using Bloxstrap.UI.Menu;
|
||||||
|
|
||||||
namespace Bloxstrap.UI.ViewModels.Menu
|
namespace Bloxstrap.UI.ViewModels.Menu
|
||||||
|
@ -1,14 +1,4 @@
|
|||||||
using System;
|
using System.Windows;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Windows;
|
|
||||||
|
|
||||||
|
|
||||||
using Bloxstrap.Enums;
|
|
||||||
using Bloxstrap.Extensions;
|
|
||||||
using Bloxstrap.Models;
|
|
||||||
|
|
||||||
namespace Bloxstrap.UI.ViewModels.Menu
|
namespace Bloxstrap.UI.ViewModels.Menu
|
||||||
{
|
{
|
||||||
|
@ -1,9 +1,4 @@
|
|||||||
using System;
|
using System.Windows;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Windows;
|
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
|
|
||||||
using CommunityToolkit.Mvvm.Input;
|
using CommunityToolkit.Mvvm.Input;
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
using System.ComponentModel;
|
using System.Windows.Input;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.Windows.Input;
|
|
||||||
|
|
||||||
using CommunityToolkit.Mvvm.Input;
|
using CommunityToolkit.Mvvm.Input;
|
||||||
|
|
||||||
|
@ -1,11 +1,8 @@
|
|||||||
using System.Collections.ObjectModel;
|
using System.Collections.ObjectModel;
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
|
|
||||||
using CommunityToolkit.Mvvm.Input;
|
using CommunityToolkit.Mvvm.Input;
|
||||||
|
|
||||||
using Bloxstrap.Models;
|
|
||||||
|
|
||||||
namespace Bloxstrap.UI.ViewModels.Menu
|
namespace Bloxstrap.UI.ViewModels.Menu
|
||||||
{
|
{
|
||||||
public class IntegrationsViewModel : NotifyPropertyChangedViewModel
|
public class IntegrationsViewModel : NotifyPropertyChangedViewModel
|
||||||
|
@ -1,9 +1,4 @@
|
|||||||
using System;
|
using System.Windows;
|
||||||
using System.ComponentModel;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Windows;
|
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
|
|
||||||
using Microsoft.Win32;
|
using Microsoft.Win32;
|
||||||
|
@ -1,14 +1,6 @@
|
|||||||
using System.Collections.Generic;
|
using System.Windows;
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Diagnostics;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Windows;
|
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
|
|
||||||
using Bloxstrap.Enums;
|
|
||||||
using Bloxstrap.Extensions;
|
|
||||||
|
|
||||||
using Microsoft.Win32;
|
using Microsoft.Win32;
|
||||||
|
|
||||||
using CommunityToolkit.Mvvm.Input;
|
using CommunityToolkit.Mvvm.Input;
|
||||||
|
@ -1,9 +1,4 @@
|
|||||||
using System;
|
using System.ComponentModel;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Bloxstrap.UI.ViewModels
|
namespace Bloxstrap.UI.ViewModels
|
||||||
{
|
{
|
||||||
|
@ -1,11 +1,4 @@
|
|||||||
using System;
|
using System.Windows;
|
||||||
using System.Diagnostics;
|
|
||||||
using System.IO;
|
|
||||||
using System.Windows;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
using Bloxstrap.UI;
|
|
||||||
|
|
||||||
namespace Bloxstrap
|
namespace Bloxstrap
|
||||||
{
|
{
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
using System;
|
namespace Bloxstrap
|
||||||
using System.Diagnostics;
|
|
||||||
using System.IO;
|
|
||||||
|
|
||||||
namespace Bloxstrap
|
|
||||||
{
|
{
|
||||||
static class Utilities
|
static class Utilities
|
||||||
{
|
{
|
||||||
|
@ -1,11 +1,4 @@
|
|||||||
using System;
|
namespace Bloxstrap.Utility
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Bloxstrap.Tools
|
|
||||||
{
|
{
|
||||||
// https://gist.github.com/dfederm/35c729f6218834b764fa04c219181e4e
|
// https://gist.github.com/dfederm/35c729f6218834b764fa04c219181e4e
|
||||||
|
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
using System;
|
namespace Bloxstrap.Utility
|
||||||
using System.Text.Json;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Bloxstrap.Utility
|
|
||||||
{
|
{
|
||||||
internal static class Http
|
internal static class Http
|
||||||
{
|
{
|
||||||
|
@ -1,10 +1,4 @@
|
|||||||
using System;
|
using System.Security.Cryptography;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.IO;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Security.Cryptography;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Bloxstrap.Utility
|
namespace Bloxstrap.Utility
|
||||||
{
|
{
|
||||||
|
@ -1,9 +1,4 @@
|
|||||||
using System;
|
using System.Runtime.InteropServices;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Runtime.InteropServices;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Bloxstrap.Utility
|
namespace Bloxstrap.Utility
|
||||||
{
|
{
|
||||||
|
@ -4,11 +4,7 @@
|
|||||||
* Copyright (c) 2015-present MaximumADHD
|
* Copyright (c) 2015-present MaximumADHD
|
||||||
*/
|
*/
|
||||||
|
|
||||||
using System;
|
namespace Bloxstrap.Utility
|
||||||
using System.Threading;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
|
|
||||||
namespace Bloxstrap.Tools
|
|
||||||
{
|
{
|
||||||
public class SystemEvent : EventWaitHandle
|
public class SystemEvent : EventWaitHandle
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user