3.0 - namespace

This commit is contained in:
monitor1394
2022-02-19 22:37:57 +08:00
parent ce5aeb2d98
commit e72349a69f
306 changed files with 306 additions and 236 deletions

View File

@@ -1,6 +1,6 @@
using System;
namespace XCharts
namespace XCharts.Runtime
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class ComponentHandlerAttribute : Attribute

View File

@@ -1,6 +1,6 @@
using System;
namespace XCharts
namespace XCharts.Runtime
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class CoordOptionsAttribute : Attribute

View File

@@ -1,6 +1,6 @@
using System;
namespace XCharts
namespace XCharts.Runtime
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class DefaultAnimationAttribute : Attribute

View File

@@ -1,6 +1,6 @@
using System;
namespace XCharts
namespace XCharts.Runtime
{
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
public class ListFor : Attribute

View File

@@ -1,6 +1,6 @@
using System;
namespace XCharts
namespace XCharts.Runtime
{
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
public sealed class ListForComponent : ListFor

View File

@@ -1,6 +1,6 @@
using System;
namespace XCharts
namespace XCharts.Runtime
{
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
public sealed class ListForSerie : ListFor

View File

@@ -1,6 +1,6 @@
using System;
namespace XCharts
namespace XCharts.Runtime
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class RequireChartComponentAttribute : Attribute

View File

@@ -1,6 +1,6 @@
using System;
namespace XCharts
namespace XCharts.Runtime
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
/// <summary>

View File

@@ -1,7 +1,7 @@
using System;
using System.Collections.Generic;
namespace XCharts
namespace XCharts.Runtime
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class SerieExtraComponentAttribute : Attribute

View File

@@ -1,6 +1,6 @@
using System;
namespace XCharts
namespace XCharts.Runtime
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class SerieHandlerAttribute : Attribute

View File

@@ -4,7 +4,7 @@ using System;
using UnityEngine.UI;
using UnityEngine.EventSystems;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// The base class of all charts.

View File

@@ -3,7 +3,7 @@ using UnityEngine;
using System.Collections.Generic;
using System;
namespace XCharts
namespace XCharts.Runtime
{
public partial class BaseChart
{

View File

@@ -3,7 +3,7 @@ using UnityEngine;
using System.Collections.Generic;
using System;
namespace XCharts
namespace XCharts.Runtime
{
public partial class BaseChart
{

View File

@@ -3,7 +3,7 @@ using UnityEngine;
using UnityEngine.UI;
using XUGL;
namespace XCharts
namespace XCharts.Runtime
{
public partial class BaseChart
{

View File

@@ -4,7 +4,7 @@ using System.Collections.Generic;
using System;
using System.Reflection;
namespace XCharts
namespace XCharts.Runtime
{
public partial class BaseChart
{

View File

@@ -7,7 +7,7 @@ using UnityEngine.EventSystems;
using XUGL;
using System.Reflection;
namespace XCharts
namespace XCharts.Runtime
{
[AddComponentMenu("XCharts/EmptyChart", 10)]
[ExecuteInEditMode]

View File

@@ -3,7 +3,7 @@ using UnityEngine;
using System;
using UnityEngine.EventSystems;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// The base class of all graphs or components.

View File

@@ -4,7 +4,7 @@ using UnityEngine.UI;
using System;
using UnityEngine.EventSystems;
namespace XCharts
namespace XCharts.Runtime
{
[RequireComponent(typeof(CanvasRenderer))]
public partial class BaseGraph : MaskableGraphic, IPointerDownHandler, IPointerUpHandler,

View File

@@ -4,7 +4,7 @@ using System.Collections.Generic;
using System.Text;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
[System.Serializable]
public abstract class BaseSerie

View File

@@ -2,7 +2,7 @@
using System;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
[System.Serializable]
public class ChildComponent

View File

@@ -2,7 +2,7 @@
using System;
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// Coordinate system component.

View File

@@ -5,7 +5,7 @@ using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace XCharts
namespace XCharts.Runtime
{
[System.Serializable]
public class MainComponent : IComparable

View File

@@ -1,5 +1,5 @@
namespace XCharts
namespace XCharts.Runtime
{
public class MainComponentContext
{

View File

@@ -1,6 +1,6 @@
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// The delegate function for AxisLabel's formatter.

View File

@@ -1,6 +1,6 @@
namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// the layout is horizontal or vertical.

View File

@@ -4,7 +4,7 @@ using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace XCharts
namespace XCharts.Runtime
{
public interface INeedSerieContainer
{

View File

@@ -1,5 +1,5 @@

namespace XCharts
namespace XCharts.Runtime
{
/// <summary>
/// 属性变更接口

View File

@@ -1,7 +1,7 @@
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
public interface IRectContext
{

View File

@@ -1,5 +1,5 @@
namespace XCharts
namespace XCharts.Runtime
{
public interface ISerieContainer
{

View File

@@ -3,7 +3,7 @@ using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace XCharts
namespace XCharts.Runtime
{
public interface ISerieDataComponent
{

View File

@@ -3,7 +3,7 @@ using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace XCharts
namespace XCharts.Runtime
{
public interface ISerieExtraComponent
{

View File

@@ -3,7 +3,7 @@ using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace XCharts
namespace XCharts.Runtime
{
public interface ISimplifiedSerie
{

View File

@@ -3,7 +3,7 @@ using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace XCharts
namespace XCharts.Runtime
{
public interface IUpdateRuntimeData
{

View File

@@ -2,7 +2,7 @@
using UnityEngine;
using UnityEngine.UI;
namespace XCharts
namespace XCharts.Runtime
{
public class ChartLabel : Image
{

View File

@@ -1,7 +1,7 @@
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
public class ChartObject
{

View File

@@ -5,7 +5,7 @@ using UnityEngine.UI;
using TMPro;
#endif
namespace XCharts
namespace XCharts.Runtime
{
public class ChartText
{

View File

@@ -2,7 +2,7 @@ using System;
using UnityEngine;
using UnityEngine.UI;
namespace XCharts
namespace XCharts.Runtime
{
public class LegendItem
{

View File

@@ -3,7 +3,7 @@ using UnityEngine;
using UnityEngine.UI;
using System;
namespace XCharts
namespace XCharts.Runtime
{
[RequireComponent(typeof(CanvasRenderer))]
public class Painter : MaskableGraphic

View File

@@ -1,5 +1,5 @@
namespace XCharts
namespace XCharts.Runtime
{
internal static class XAxisPool
{

View File

@@ -2,7 +2,7 @@
using System.Collections.Generic;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
internal static class ListPool<T>
{

View File

@@ -3,7 +3,7 @@ using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
namespace XCharts
namespace XCharts.Runtime
{
internal class ObjectPool<T> where T : new()
{

View File

@@ -1,7 +1,7 @@
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
internal static class SerieDataPool
{

View File

@@ -3,7 +3,7 @@ using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace XCharts
namespace XCharts.Runtime
{
public static class SerieLabelPool
{

View File

@@ -4,7 +4,7 @@ using System.Collections.Generic;
using System.Globalization;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
public static class ChartCached
{

View File

@@ -1,7 +1,7 @@
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
public static class ChartConst
{

View File

@@ -5,7 +5,7 @@ using UnityEngine;
using UnityEngine.UI;
using XUGL;
namespace XCharts
namespace XCharts.Runtime
{
public static class ChartDrawer
{

View File

@@ -13,7 +13,7 @@ using TMPro;
using UnityEditor;
#endif
namespace XCharts
namespace XCharts.Runtime
{
public static class ChartHelper
{

View File

@@ -3,7 +3,7 @@
using System.Collections.Generic;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
public static class ComponentHelper
{

View File

@@ -2,7 +2,7 @@
using System.Collections.Generic;
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
internal static class DataHelper
{

View File

@@ -1,7 +1,7 @@
using UnityEngine;
namespace XCharts
namespace XCharts.Runtime
{
public static class LayerHelper
{

View File

@@ -7,7 +7,7 @@ using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace XCharts
namespace XCharts.Runtime
{
public static class MathUtil
{

View File

@@ -6,7 +6,7 @@ using UnityEngine;
using UnityEditor;
namespace XCharts
namespace XCharts.Runtime
{
[System.Serializable]
public class XCResourcesImporter

View File

@@ -9,7 +9,7 @@ using TMPro;
using UnityEditor;
#endif
namespace XCharts
namespace XCharts.Runtime
{
[Serializable]
#if UNITY_2018_3

View File

@@ -10,7 +10,7 @@ using UnityEditor;
using TMPro;
#endif
namespace XCharts
namespace XCharts.Runtime
{
public static class XCThemeMgr
{

View File

@@ -6,7 +6,7 @@ using System.IO;
using UnityEditor;
#endif
namespace XCharts
namespace XCharts.Runtime
{
class XChartsVersion
{