Switch root namespace to "RobloxFiles"

In case there are any future libraries written for Roblox in C#, I want to avoid running into any namespace collisions. Its best to keep everything pertaining to this project nested in its own unique namespace.
This commit is contained in:
CloneTrooper1019
2019-02-01 11:19:20 -06:00
parent 4e15b2a635
commit 795018e243
66 changed files with 134 additions and 105 deletions

View File

@ -1,7 +1,7 @@
using System.Xml;
using Roblox.DataTypes;
using RobloxFiles.DataTypes;
namespace Roblox.XmlFormat.PropertyTokens
namespace RobloxFiles.XmlFormat.PropertyTokens
{
public class AxesToken : IXmlPropertyToken
{

View File

@ -1,7 +1,7 @@
using System;
using System.Xml;
namespace Roblox.XmlFormat.PropertyTokens
namespace RobloxFiles.XmlFormat.PropertyTokens
{
public class BinaryStringToken : IXmlPropertyToken
{

View File

@ -1,6 +1,6 @@
using System.Xml;
namespace Roblox.XmlFormat.PropertyTokens
namespace RobloxFiles.XmlFormat.PropertyTokens
{
public class BoolToken : IXmlPropertyToken
{

View File

@ -1,7 +1,7 @@
using System.Xml;
using Roblox.DataTypes;
using RobloxFiles.DataTypes;
namespace Roblox.XmlFormat.PropertyTokens
namespace RobloxFiles.XmlFormat.PropertyTokens
{
public class BrickColorToken : IXmlPropertyToken
{

View File

@ -1,7 +1,7 @@
using System.Xml;
using Roblox.DataTypes;
using RobloxFiles.DataTypes;
namespace Roblox.XmlFormat.PropertyTokens
namespace RobloxFiles.XmlFormat.PropertyTokens
{
public class CFrameToken : IXmlPropertyToken
{

View File

@ -1,8 +1,8 @@
using System;
using System.Xml;
using Roblox.DataTypes;
using RobloxFiles.DataTypes;
namespace Roblox.XmlFormat.PropertyTokens
namespace RobloxFiles.XmlFormat.PropertyTokens
{
public class Color3Token : IXmlPropertyToken
{

View File

@ -1,8 +1,8 @@
using System;
using System.Xml;
using Roblox.DataTypes;
using RobloxFiles.DataTypes;
namespace Roblox.XmlFormat.PropertyTokens
namespace RobloxFiles.XmlFormat.PropertyTokens
{
public class Color3uint8Token : IXmlPropertyToken
{

View File

@ -1,7 +1,7 @@
using System.Xml;
using Roblox.DataTypes;
using RobloxFiles.DataTypes;
namespace Roblox.XmlFormat.PropertyTokens
namespace RobloxFiles.XmlFormat.PropertyTokens
{
public class ColorSequenceToken : IXmlPropertyToken
{

View File

@ -1,7 +1,7 @@
using System;
using System.Xml;
namespace Roblox.XmlFormat.PropertyTokens
namespace RobloxFiles.XmlFormat.PropertyTokens
{
public class ContentToken : IXmlPropertyToken
{

View File

@ -1,6 +1,6 @@
using System.Xml;
namespace Roblox.XmlFormat.PropertyTokens
namespace RobloxFiles.XmlFormat.PropertyTokens
{
public class DoubleToken : IXmlPropertyToken
{

View File

@ -1,6 +1,6 @@
using System.Xml;
namespace Roblox.XmlFormat.PropertyTokens
namespace RobloxFiles.XmlFormat.PropertyTokens
{
public class EnumToken : IXmlPropertyToken
{

View File

@ -1,7 +1,7 @@
using System.Xml;
using Roblox.DataTypes;
using RobloxFiles.DataTypes;
namespace Roblox.XmlFormat.PropertyTokens
namespace RobloxFiles.XmlFormat.PropertyTokens
{
public class FacesToken : IXmlPropertyToken
{

View File

@ -1,6 +1,6 @@
using System.Xml;
namespace Roblox.XmlFormat.PropertyTokens
namespace RobloxFiles.XmlFormat.PropertyTokens
{
public class FloatToken : IXmlPropertyToken
{

View File

@ -1,6 +1,6 @@
using System.Xml;
namespace Roblox.XmlFormat.PropertyTokens
namespace RobloxFiles.XmlFormat.PropertyTokens
{
public class IntToken : IXmlPropertyToken
{

View File

@ -1,6 +1,6 @@
using System.Xml;
namespace Roblox.XmlFormat.PropertyTokens
namespace RobloxFiles.XmlFormat.PropertyTokens
{
public class Int64Token : IXmlPropertyToken
{

View File

@ -1,7 +1,7 @@
using System.Xml;
using Roblox.DataTypes;
using RobloxFiles.DataTypes;
namespace Roblox.XmlFormat.PropertyTokens
namespace RobloxFiles.XmlFormat.PropertyTokens
{
public class NumberRangeToken : IXmlPropertyToken
{

View File

@ -1,7 +1,7 @@
using System.Xml;
using Roblox.DataTypes;
using RobloxFiles.DataTypes;
namespace Roblox.XmlFormat.PropertyTokens
namespace RobloxFiles.XmlFormat.PropertyTokens
{
public class NumberSequenceToken : IXmlPropertyToken
{

View File

@ -1,8 +1,8 @@
using System;
using System.Xml;
using Roblox.DataTypes;
using RobloxFiles.DataTypes;
namespace Roblox.XmlFormat.PropertyTokens
namespace RobloxFiles.XmlFormat.PropertyTokens
{
public class PhysicalPropertiesToken : IXmlPropertyToken
{

View File

@ -1,7 +1,7 @@
using System.Xml;
using Roblox.DataTypes;
using RobloxFiles.DataTypes;
namespace Roblox.XmlFormat.PropertyTokens
namespace RobloxFiles.XmlFormat.PropertyTokens
{
public class RayToken : IXmlPropertyToken
{

View File

@ -1,7 +1,7 @@
using System.Xml;
using Roblox.DataTypes;
using RobloxFiles.DataTypes;
namespace Roblox.XmlFormat.PropertyTokens
namespace RobloxFiles.XmlFormat.PropertyTokens
{
public class RectToken : IXmlPropertyToken
{

View File

@ -1,6 +1,6 @@
using System.Xml;
namespace Roblox.XmlFormat.PropertyTokens
namespace RobloxFiles.XmlFormat.PropertyTokens
{
public class RefToken : IXmlPropertyToken
{

View File

@ -1,7 +1,7 @@
using System.Text;
using System.Xml;
namespace Roblox.XmlFormat.PropertyTokens
namespace RobloxFiles.XmlFormat.PropertyTokens
{
public class StringToken : IXmlPropertyToken
{

View File

@ -1,7 +1,7 @@
using System.Xml;
using Roblox.DataTypes;
using RobloxFiles.DataTypes;
namespace Roblox.XmlFormat.PropertyTokens
namespace RobloxFiles.XmlFormat.PropertyTokens
{
public class UDimToken : IXmlPropertyToken
{

View File

@ -1,7 +1,7 @@
using System.Xml;
using Roblox.DataTypes;
using RobloxFiles.DataTypes;
namespace Roblox.XmlFormat.PropertyTokens
namespace RobloxFiles.XmlFormat.PropertyTokens
{
public class UDim2Token : IXmlPropertyToken
{

View File

@ -1,7 +1,7 @@
using System.Xml;
using Roblox.DataTypes;
using RobloxFiles.DataTypes;
namespace Roblox.XmlFormat.PropertyTokens
namespace RobloxFiles.XmlFormat.PropertyTokens
{
public class Vector2Token : IXmlPropertyToken
{

View File

@ -1,7 +1,7 @@
using System.Xml;
using Roblox.DataTypes;
using RobloxFiles.DataTypes;
namespace Roblox.XmlFormat.PropertyTokens
namespace RobloxFiles.XmlFormat.PropertyTokens
{
public class Vector3Token : IXmlPropertyToken
{

View File

@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Xml;
namespace Roblox.XmlFormat
namespace RobloxFiles.XmlFormat
{
static class XmlDataReader
{
@ -51,12 +51,13 @@ namespace Roblox.XmlFormat
Instance inst = new Instance(classToken.InnerText);
// The 'reference' attribute is optional, but should be defined if a Ref property needs to link to this Instance.
// The 'referent' attribute is optional, but should be defined if a Ref property needs to link to this Instance.
XmlNode refToken = instNode.Attributes.GetNamedItem("referent");
if (refToken != null && instances != null)
{
string refId = refToken.InnerText;
if (instances.ContainsKey(refId))
throw new Exception("XmlDataReader.ReadItem: Got an Item with a duplicate 'referent' attribute!");

View File

@ -4,7 +4,7 @@ using System.ComponentModel;
using System.Linq;
using System.Xml;
namespace Roblox.XmlFormat
namespace RobloxFiles.XmlFormat
{
public interface IXmlPropertyToken
{

View File

@ -5,7 +5,7 @@ using System.Linq;
using System.Text;
using System.Xml;
namespace Roblox.XmlFormat
namespace RobloxFiles.XmlFormat
{
public class XmlRobloxFile : IRobloxFile
{