mirror of
https://github.com/claunia/Claunia.RsrcFork.git
synced 2025-12-16 19:24:46 +00:00
Use file-scoped namespaces.
This commit is contained in:
@@ -29,8 +29,8 @@ using System.IO;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace Claunia.RsrcFork.CLI
|
namespace Claunia.RsrcFork.CLI;
|
||||||
{
|
|
||||||
class MainClass
|
class MainClass
|
||||||
{
|
{
|
||||||
public static void Main(string[] args)
|
public static void Main(string[] args)
|
||||||
@@ -148,4 +148,3 @@ namespace Claunia.RsrcFork.CLI
|
|||||||
Console.WriteLine("\tClaunia.RsrcFork.CLI.EXE -x -o output.dir resourcefork.bin - Extracts all resources to output.dir");
|
Console.WriteLine("\tClaunia.RsrcFork.CLI.EXE -x -o output.dir resourcefork.bin - Extracts all resources to output.dir");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
@@ -28,8 +28,8 @@ using System.IO;
|
|||||||
using NUnit.Framework;
|
using NUnit.Framework;
|
||||||
using Resources;
|
using Resources;
|
||||||
|
|
||||||
namespace Claunia.RsrcFork.Test
|
namespace Claunia.RsrcFork.Test;
|
||||||
{
|
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
public class Test
|
public class Test
|
||||||
{
|
{
|
||||||
@@ -228,4 +228,3 @@ namespace Claunia.RsrcFork.Test
|
|||||||
Assert.IsNull(vers);
|
Assert.IsNull(vers);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
@@ -27,8 +27,8 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace Claunia.RsrcFork
|
namespace Claunia.RsrcFork;
|
||||||
{
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Contains convertes between .NET and Pascal strings. Only ASCII supported right now.
|
/// Contains convertes between .NET and Pascal strings. Only ASCII supported right now.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -67,4 +67,3 @@ namespace Claunia.RsrcFork
|
|||||||
return PStr;
|
return PStr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
@@ -30,8 +30,8 @@ using System.IO;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace Claunia.RsrcFork
|
namespace Claunia.RsrcFork;
|
||||||
{
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This class represents a resource type.
|
/// This class represents a resource type.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -178,4 +178,3 @@ namespace Claunia.RsrcFork
|
|||||||
public long length;
|
public long length;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
@@ -28,8 +28,8 @@ using System.Collections.Generic;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace Claunia.RsrcFork
|
namespace Claunia.RsrcFork;
|
||||||
{
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This class represents a resource fork.
|
/// This class represents a resource fork.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -188,4 +188,3 @@ namespace Claunia.RsrcFork
|
|||||||
/// <param name="OSType">OSType.</param>
|
/// <param name="OSType">OSType.</param>
|
||||||
public bool ContainsKey(uint OSType) => resourceTypeList.ContainsKey(OSType);
|
public bool ContainsKey(uint OSType) => resourceTypeList.ContainsKey(OSType);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
@@ -28,8 +28,8 @@ using System;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using Claunia.RsrcFork;
|
using Claunia.RsrcFork;
|
||||||
|
|
||||||
namespace Resources
|
namespace Resources;
|
||||||
{
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This class handles the "VERS" resource fork
|
/// This class handles the "VERS" resource fork
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -152,4 +152,3 @@ namespace Resources
|
|||||||
public string VersionMessage;
|
public string VersionMessage;
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
|
||||||
@@ -24,8 +24,8 @@
|
|||||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
// THE SOFTWARE.
|
// THE SOFTWARE.
|
||||||
|
|
||||||
namespace Claunia.RsrcFork
|
namespace Claunia.RsrcFork;
|
||||||
{
|
|
||||||
struct ResourceHeader
|
struct ResourceHeader
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -117,4 +117,3 @@ namespace Claunia.RsrcFork
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public uint handle;
|
public uint handle;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
@@ -28,8 +28,8 @@ using System;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
|
|
||||||
namespace Claunia.RsrcFork
|
namespace Claunia.RsrcFork;
|
||||||
{
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// This class contains static methods for OSTYPE handling.
|
/// This class contains static methods for OSTYPE handling.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -703,4 +703,3 @@ namespace Claunia.RsrcFork
|
|||||||
return GetName(type);
|
return GetName(type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user