Refactored namespace and project name.
This commit is contained in:
parent
8a5ca53519
commit
2ba458f02b
4
.vscode/launch.json
vendored
4
.vscode/launch.json
vendored
@ -10,9 +10,9 @@
|
|||||||
"request": "launch",
|
"request": "launch",
|
||||||
"preLaunchTask": "build",
|
"preLaunchTask": "build",
|
||||||
// If you have changed target frameworks, make sure to update the program path.
|
// If you have changed target frameworks, make sure to update the program path.
|
||||||
"program": "${workspaceFolder}/MCCFMD/bin/Debug/net6.0/MCCFMD.dll",
|
"program": "${workspaceFolder}/CFUtils/bin/Debug/net6.0/CFUtils.dll",
|
||||||
"args": [],
|
"args": [],
|
||||||
"cwd": "${workspaceFolder}/MCCFMD",
|
"cwd": "${workspaceFolder}/CFUtils",
|
||||||
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
|
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
|
||||||
"console": "internalConsole",
|
"console": "internalConsole",
|
||||||
"stopAtEntry": false
|
"stopAtEntry": false
|
||||||
|
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"cSpell.words": [
|
"cSpell.words": [
|
||||||
"MCCFMD"
|
"CFUtils"
|
||||||
]
|
]
|
||||||
}
|
}
|
6
.vscode/tasks.json
vendored
6
.vscode/tasks.json
vendored
@ -7,7 +7,7 @@
|
|||||||
"type": "process",
|
"type": "process",
|
||||||
"args": [
|
"args": [
|
||||||
"build",
|
"build",
|
||||||
"${workspaceFolder}/MCCFMD/MCCFMD.csproj",
|
"${workspaceFolder}/CFUtils/CFUtils.csproj",
|
||||||
"/property:GenerateFullPaths=true",
|
"/property:GenerateFullPaths=true",
|
||||||
"/consoleloggerparameters:NoSummary"
|
"/consoleloggerparameters:NoSummary"
|
||||||
],
|
],
|
||||||
@ -19,7 +19,7 @@
|
|||||||
"type": "process",
|
"type": "process",
|
||||||
"args": [
|
"args": [
|
||||||
"publish",
|
"publish",
|
||||||
"${workspaceFolder}/MCCFMD/MCCFMD.csproj",
|
"${workspaceFolder}/CFUtils/CFUtils.csproj",
|
||||||
"/property:GenerateFullPaths=true",
|
"/property:GenerateFullPaths=true",
|
||||||
"/consoleloggerparameters:NoSummary"
|
"/consoleloggerparameters:NoSummary"
|
||||||
],
|
],
|
||||||
@ -33,7 +33,7 @@
|
|||||||
"watch",
|
"watch",
|
||||||
"run",
|
"run",
|
||||||
"--project",
|
"--project",
|
||||||
"${workspaceFolder}/MCCFMD/MCCFMD.csproj"
|
"${workspaceFolder}/CFUtils/CFUtils.csproj"
|
||||||
],
|
],
|
||||||
"problemMatcher": "$msCompile"
|
"problemMatcher": "$msCompile"
|
||||||
}
|
}
|
||||||
|
@ -4,9 +4,9 @@ using System.IO;
|
|||||||
using System.CommandLine;
|
using System.CommandLine;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace MCCFMD.Commands
|
namespace CFUtils.Commands
|
||||||
{
|
{
|
||||||
public class Install : Command
|
internal class Install : Command
|
||||||
{
|
{
|
||||||
const string NAME = "install";
|
const string NAME = "install";
|
||||||
const string DESC = "Install the profile described by the manifest.";
|
const string DESC = "Install the profile described by the manifest.";
|
@ -2,9 +2,9 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.CommandLine;
|
using System.CommandLine;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using MCCFMD.Commands;
|
using CFUtils.Commands;
|
||||||
|
|
||||||
namespace MCCFMD
|
namespace CFUtils
|
||||||
{
|
{
|
||||||
internal class Program
|
internal class Program
|
||||||
{
|
{
|
@ -4,11 +4,11 @@ using System.Linq;
|
|||||||
using System;
|
using System;
|
||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
using MCCFMD.Serialization.Modpack;
|
using CFUtils.Serialization.Modpack;
|
||||||
|
|
||||||
namespace MCCFMD.Serialization
|
namespace CFUtils.Serialization
|
||||||
{
|
{
|
||||||
public class ManifestConverter : JsonConverter<Manifest>
|
internal class ManifestConverter : JsonConverter<Manifest>
|
||||||
{
|
{
|
||||||
PropertyInfo[] manifestProperties;
|
PropertyInfo[] manifestProperties;
|
||||||
Type manifestType;
|
Type manifestType;
|
7
CFUtils/Serialization/ManifestGames.cs
Normal file
7
CFUtils/Serialization/ManifestGames.cs
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
namespace CFUtils.Serialization
|
||||||
|
{
|
||||||
|
public enum ManifestGames
|
||||||
|
{
|
||||||
|
Minecraft
|
||||||
|
}
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
namespace MCCFMD.Serialization.Modpack
|
namespace CFUtils.Serialization.Modpack
|
||||||
{
|
{
|
||||||
public struct File
|
public struct File
|
||||||
{
|
{
|
@ -1,6 +1,6 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
namespace MCCFMD.Serialization.Modpack
|
namespace CFUtils.Serialization.Modpack
|
||||||
{
|
{
|
||||||
public struct Game
|
public struct Game
|
||||||
{
|
{
|
@ -2,7 +2,7 @@ using System.Collections.Generic;
|
|||||||
using System.Text.Json;
|
using System.Text.Json;
|
||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
namespace MCCFMD.Serialization.Modpack
|
namespace CFUtils.Serialization.Modpack
|
||||||
{
|
{
|
||||||
public struct Manifest
|
public struct Manifest
|
||||||
{
|
{
|
@ -1,4 +1,4 @@
|
|||||||
namespace MCCFMD.Serialization.Modpack
|
namespace CFUtils.Serialization.Modpack
|
||||||
{
|
{
|
||||||
public struct ModLoader
|
public struct ModLoader
|
||||||
{
|
{
|
@ -1,4 +1,4 @@
|
|||||||
namespace MCCFMD.Serialization
|
namespace CFUtils.Serialization
|
||||||
{
|
{
|
||||||
internal class ProfileReader
|
internal class ProfileReader
|
||||||
{
|
{
|
@ -1,4 +0,0 @@
|
|||||||
public enum ManifestGames
|
|
||||||
{
|
|
||||||
Minecraft
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user