- added Developer-Attribute for tagging classes responsibility

- added a bunch of Completion- and Developer-Tags
This commit is contained in:
Glatzemann 2012-08-29 13:14:00 +00:00
parent 1a429e25d5
commit 1f45cd9038
29 changed files with 115 additions and 14 deletions

View File

@ -414,6 +414,7 @@
<Compile Include="NonXNA\AddInLoadingException.cs" /> <Compile Include="NonXNA\AddInLoadingException.cs" />
<Compile Include="NonXNA\AddInTypeCollection.cs" /> <Compile Include="NonXNA\AddInTypeCollection.cs" />
<Compile Include="NonXNA\AddInType.cs" /> <Compile Include="NonXNA\AddInType.cs" />
<Compile Include="NonXNA\Development\DeveloperAttribute.cs" />
<Compile Include="NonXNA\Development\TestStateAttribute.cs" /> <Compile Include="NonXNA\Development\TestStateAttribute.cs" />
<Compile Include="NonXNA\Development\PercentageCompleteAttribute.cs" /> <Compile Include="NonXNA\Development\PercentageCompleteAttribute.cs" />
<Compile Include="NonXNA\EffectSourceLanguage.cs" /> <Compile Include="NonXNA\EffectSourceLanguage.cs" />

View File

@ -13,6 +13,7 @@ namespace ANX.Framework
{ {
[PercentageComplete(100)] [PercentageComplete(100)]
[TestState(TestStateAttribute.TestState.Untested)] [TestState(TestStateAttribute.TestState.Untested)]
[Developer("Glatzemann")]
public class DrawableGameComponent : GameComponent, IDrawable public class DrawableGameComponent : GameComponent, IDrawable
{ {
#region Private Members #region Private Members

View File

@ -18,6 +18,7 @@ namespace ANX.Framework
{ {
[PercentageComplete(30)] [PercentageComplete(30)]
[TestState(TestStateAttribute.TestState.Untested)] [TestState(TestStateAttribute.TestState.Untested)]
[Developer("Glatzemann")]
public class Game : IDisposable public class Game : IDisposable
{ {
private IGraphicsDeviceManager graphicsDeviceManager; private IGraphicsDeviceManager graphicsDeviceManager;

View File

@ -13,6 +13,7 @@ namespace ANX.Framework
{ {
[PercentageComplete(100)] [PercentageComplete(100)]
[TestState(TestStateAttribute.TestState.Untested)] [TestState(TestStateAttribute.TestState.Untested)]
[Developer("Glatzemann")]
public class GameComponent : IGameComponent, IUpdateable, IDisposable public class GameComponent : IGameComponent, IUpdateable, IDisposable
{ {
private bool enabled = true; private bool enabled = true;

View File

@ -13,6 +13,7 @@ namespace ANX.Framework
{ {
[PercentageComplete(100)] [PercentageComplete(100)]
[TestState(TestStateAttribute.TestState.Untested)] [TestState(TestStateAttribute.TestState.Untested)]
[Developer("Glatzemann")]
public sealed class GameComponentCollection : Collection<IGameComponent> public sealed class GameComponentCollection : Collection<IGameComponent>
{ {
#region Events #region Events

View File

@ -13,6 +13,7 @@ namespace ANX.Framework
{ {
[PercentageComplete(100)] [PercentageComplete(100)]
[TestState(TestStateAttribute.TestState.Untested)] [TestState(TestStateAttribute.TestState.Untested)]
[Developer("Glatzemann")]
public class GameComponentCollectionEventArgs : EventArgs public class GameComponentCollectionEventArgs : EventArgs
{ {
public GameComponentCollectionEventArgs(IGameComponent gameComponent) public GameComponentCollectionEventArgs(IGameComponent gameComponent)

View File

@ -1,6 +1,7 @@
#region Using Statements #region Using Statements
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using ANX.Framework.NonXNA.Development;
#endregion // Using Statements #endregion // Using Statements
@ -10,7 +11,9 @@ using System.Collections.Generic;
namespace ANX.Framework namespace ANX.Framework
{ {
[ANX.Framework.NonXNA.Development.PercentageComplete(100)] [PercentageComplete(100)]
[TestState(TestStateAttribute.TestState.Untested)]
[Developer("Glatzemann")]
public class GameServiceContainer : IServiceProvider public class GameServiceContainer : IServiceProvider
{ {
private Dictionary<Type, Object> services; private Dictionary<Type, Object> services;

View File

@ -8,6 +8,8 @@ using ANX.Framework.NonXNA.Development;
namespace ANX.Framework namespace ANX.Framework
{ {
[PercentageComplete(100)] [PercentageComplete(100)]
[TestState(TestStateAttribute.TestState.Untested)]
[Developer("Glatzemann")]
public class GameTime public class GameTime
{ {
#region Public #region Public

View File

@ -19,6 +19,7 @@ namespace ANX.Framework.Graphics
[PercentageComplete(10)] [PercentageComplete(10)]
[TestState(TestStateAttribute.TestState.Untested)] [TestState(TestStateAttribute.TestState.Untested)]
[Developer("Glatzemann")]
public class ConstantBuffer : GraphicsResource, IGraphicsResource public class ConstantBuffer : GraphicsResource, IGraphicsResource
{ {
#region Private #region Private

View File

@ -1,5 +1,6 @@
#region Using Statements #region Using Statements
using System; using System;
using ANX.Framework.NonXNA.Development;
#endregion // Using Statements #endregion // Using Statements
@ -9,6 +10,9 @@ using System;
namespace ANX.Framework.Graphics namespace ANX.Framework.Graphics
{ {
[PercentageComplete(100)]
[TestState(TestStateAttribute.TestState.Tested)]
[Developer("Glatzemann")]
public interface IEffectFog public interface IEffectFog
{ {
Vector3 FogColor { get; set; } Vector3 FogColor { get; set; }

View File

@ -1,5 +1,6 @@
#region Using Statements #region Using Statements
using System; using System;
using ANX.Framework.NonXNA.Development;
#endregion // Using Statements #endregion // Using Statements
@ -9,6 +10,9 @@ using System;
namespace ANX.Framework.Graphics namespace ANX.Framework.Graphics
{ {
[PercentageComplete(100)]
[TestState(TestStateAttribute.TestState.Tested)]
[Developer("Glatzemann")]
public interface IEffectLights public interface IEffectLights
{ {
void EnableDefaultLighting(); void EnableDefaultLighting();

View File

@ -1,5 +1,6 @@
#region Using Statements #region Using Statements
using System; using System;
using ANX.Framework.NonXNA.Development;
#endregion // Using Statements #endregion // Using Statements
@ -9,6 +10,9 @@ using System;
namespace ANX.Framework.Graphics namespace ANX.Framework.Graphics
{ {
[PercentageComplete(100)]
[TestState(TestStateAttribute.TestState.Tested)]
[Developer("Glatzemann")]
public interface IEffectMatrices public interface IEffectMatrices
{ {
Matrix Projection { get; set; } Matrix Projection { get; set; }

View File

@ -4,6 +4,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using ANX.Framework.Graphics; using ANX.Framework.Graphics;
using ANX.Framework.NonXNA.Development;
#endregion // Using Statements #endregion // Using Statements
@ -13,6 +14,9 @@ using ANX.Framework.Graphics;
namespace ANX.Framework.Graphics namespace ANX.Framework.Graphics
{ {
[PercentageComplete(100)]
[TestState(TestStateAttribute.TestState.Tested)]
[Developer("Glatzemann")]
public interface IGraphicsDeviceService public interface IGraphicsDeviceService
{ {
// Events // Events

View File

@ -1,5 +1,6 @@
#region Using Statements #region Using Statements
using System; using System;
using ANX.Framework.NonXNA.Development;
#endregion // Using Statements #endregion // Using Statements
@ -9,6 +10,9 @@ using System;
namespace ANX.Framework.Graphics namespace ANX.Framework.Graphics
{ {
[PercentageComplete(100)]
[TestState(TestStateAttribute.TestState.Tested)]
[Developer("Glatzemann")]
internal interface IGraphicsResource internal interface IGraphicsResource
{ {
} }

View File

@ -1,5 +1,6 @@
#region Using Statements #region Using Statements
using System; using System;
using ANX.Framework.NonXNA.Development;
#endregion // Using Statements #endregion // Using Statements
@ -9,6 +10,9 @@ using System;
namespace ANX.Framework.Graphics namespace ANX.Framework.Graphics
{ {
[PercentageComplete(100)]
[TestState(TestStateAttribute.TestState.Tested)]
[Developer("Glatzemann")]
public interface IVertexType public interface IVertexType
{ {
VertexDeclaration VertexDeclaration { get; } VertexDeclaration VertexDeclaration { get; }

View File

@ -12,6 +12,7 @@ namespace ANX.Framework.Graphics
{ {
[PercentageComplete(100)] [PercentageComplete(100)]
[TestState(TestStateAttribute.TestState.Untested)] [TestState(TestStateAttribute.TestState.Untested)]
[Developer("Glatzemann")]
public class IndexBuffer : GraphicsResource, IGraphicsResource public class IndexBuffer : GraphicsResource, IGraphicsResource
{ {
#region Private #region Private

View File

@ -2,9 +2,12 @@
// "ANX.Framework developer group" and released under the Ms-PL license. // "ANX.Framework developer group" and released under the Ms-PL license.
// For details see: http://anxframework.codeplex.com/license // For details see: http://anxframework.codeplex.com/license
using ANX.Framework.NonXNA.Development;
namespace ANX.Framework.Graphics.PackedVector namespace ANX.Framework.Graphics.PackedVector
{ {
[ANX.Framework.NonXNA.Development.PercentageComplete(100)] [PercentageComplete(100)]
[TestState(TestStateAttribute.TestState.Tested)]
[Developer("Glatzemann")]
public interface IPackedVector public interface IPackedVector
{ {
void PackFromVector4(Vector4 vector); void PackFromVector4(Vector4 vector);
@ -12,7 +15,9 @@ namespace ANX.Framework.Graphics.PackedVector
Vector4 ToVector4(); Vector4 ToVector4();
} }
[ANX.Framework.NonXNA.Development.PercentageComplete(100)] [PercentageComplete(100)]
[TestState(TestStateAttribute.TestState.Tested)]
[Developer("Glatzemann")]
public interface IPackedVector<TPacked> : IPackedVector public interface IPackedVector<TPacked> : IPackedVector
{ {
TPacked PackedValue TPacked PackedValue

View File

@ -8,6 +8,8 @@ using ANX.Framework.NonXNA.Development;
namespace ANX.Framework.Graphics namespace ANX.Framework.Graphics
{ {
[PercentageComplete(100)] [PercentageComplete(100)]
[TestState(TestStateAttribute.TestState.Untested)]
[Developer("Glatzemann")]
public class PresentationParameters public class PresentationParameters
{ {
#region Public #region Public

View File

@ -12,6 +12,7 @@ namespace ANX.Framework.Graphics
{ {
[PercentageComplete(100)] [PercentageComplete(100)]
[TestState(TestStateAttribute.TestState.Untested)] [TestState(TestStateAttribute.TestState.Untested)]
[Developer("Glatzemann")]
public class VertexBuffer : GraphicsResource, IGraphicsResource public class VertexBuffer : GraphicsResource, IGraphicsResource
{ {
#region Private #region Private

View File

@ -8,6 +8,8 @@ using ANX.Framework.NonXNA.Development;
namespace ANX.Framework namespace ANX.Framework
{ {
[PercentageComplete(100)] [PercentageComplete(100)]
[TestState(TestStateAttribute.TestState.Untested)]
[Developer("Glatzemann")]
public class GraphicsDeviceInformation public class GraphicsDeviceInformation
{ {
#region Public #region Public

View File

@ -1,4 +1,5 @@
using System; using System;
using ANX.Framework.NonXNA.Development;
// This file is part of the ANX.Framework created by the // This file is part of the ANX.Framework created by the
// "ANX.Framework developer group" and released under the Ms-PL license. // "ANX.Framework developer group" and released under the Ms-PL license.
@ -6,7 +7,9 @@ using System;
namespace ANX.Framework namespace ANX.Framework
{ {
[ANX.Framework.NonXNA.Development.PercentageComplete(100)] [PercentageComplete(100)]
[TestState(TestStateAttribute.TestState.Tested)]
[Developer("Glatzemann")]
public interface IDrawable public interface IDrawable
{ {
event EventHandler<EventArgs> DrawOrderChanged; event EventHandler<EventArgs> DrawOrderChanged;

View File

@ -2,9 +2,12 @@
// "ANX.Framework developer group" and released under the Ms-PL license. // "ANX.Framework developer group" and released under the Ms-PL license.
// For details see: http://anxframework.codeplex.com/license // For details see: http://anxframework.codeplex.com/license
using ANX.Framework.NonXNA.Development;
namespace ANX.Framework namespace ANX.Framework
{ {
[ANX.Framework.NonXNA.Development.PercentageComplete(100)] [PercentageComplete(100)]
[TestState(TestStateAttribute.TestState.Tested)]
[Developer("Glatzemann")]
public interface IGameComponent public interface IGameComponent
{ {
void Initialize(); void Initialize();

View File

@ -2,9 +2,12 @@
// "ANX.Framework developer group" and released under the Ms-PL license. // "ANX.Framework developer group" and released under the Ms-PL license.
// For details see: http://anxframework.codeplex.com/license // For details see: http://anxframework.codeplex.com/license
using ANX.Framework.NonXNA.Development;
namespace ANX.Framework namespace ANX.Framework
{ {
[ANX.Framework.NonXNA.Development.PercentageComplete(100)] [PercentageComplete(100)]
[TestState(TestStateAttribute.TestState.Tested)]
[Developer("Glatzemann")]
public interface IGraphicsDeviceManager public interface IGraphicsDeviceManager
{ {
bool BeginDraw(); bool BeginDraw();

View File

@ -1,4 +1,8 @@
#region Using Statements
using System; using System;
using ANX.Framework.NonXNA.Development;
#endregion
// This file is part of the ANX.Framework created by the // This file is part of the ANX.Framework created by the
// "ANX.Framework developer group" and released under the Ms-PL license. // "ANX.Framework developer group" and released under the Ms-PL license.
@ -6,7 +10,10 @@ using System;
namespace ANX.Framework namespace ANX.Framework
{ {
public interface IUpdateable [PercentageComplete(100)]
[TestState(TestStateAttribute.TestState.Tested)]
[Developer("Glatzemann")]
public interface IUpdateable
{ {
bool Enabled bool Enabled
{ {

View File

@ -1,4 +1,5 @@
using System.Collections.Generic; using System.Collections.Generic;
using ANX.Framework.NonXNA.Development;
// This file is part of the ANX.Framework created by the // This file is part of the ANX.Framework created by the
// "ANX.Framework developer group" and released under the Ms-PL license. // "ANX.Framework developer group" and released under the Ms-PL license.
@ -6,7 +7,9 @@ using System.Collections.Generic;
namespace ANX.Framework namespace ANX.Framework
{ {
[ANX.Framework.NonXNA.Development.PercentageComplete(100)] [PercentageComplete(100)]
[TestState(TestStateAttribute.TestState.Untested)]
[Developer("???")]
public class LaunchParameters : Dictionary<string, string> public class LaunchParameters : Dictionary<string, string>
{ {
} }

View File

@ -0,0 +1,30 @@
using System;
// This file is part of the ANX.Framework created by the
// "ANX.Framework developer group" and released under the Ms-PL license.
// For details see: http://anxframework.codeplex.com/license
namespace ANX.Framework.NonXNA.Development
{
public class DeveloperAttribute : Attribute
{
#region Public
public string Developer
{
get;
private set;
}
#endregion
#region Constructor
/// <summary>
/// Create a new developer attribute.
/// </summary>
/// <param name="developer">Developer who is responsible for this class</param>
public DeveloperAttribute(string developer)
{
Developer = developer;
}
#endregion
}
}

View File

@ -1,5 +1,6 @@
using System; using System;
using System.Globalization; using System.Globalization;
using ANX.Framework.NonXNA.Development;
// This file is part of the ANX.Framework created by the // This file is part of the ANX.Framework created by the
// "ANX.Framework developer group" and released under the Ms-PL license. // "ANX.Framework developer group" and released under the Ms-PL license.
@ -7,8 +8,10 @@ using System.Globalization;
namespace ANX.Framework namespace ANX.Framework
{ {
[ANX.Framework.NonXNA.Development.PercentageComplete(100)] [PercentageComplete(100)]
public struct Point : IEquatable<Point> [TestState(TestStateAttribute.TestState.Untested)]
[Developer("???")]
public struct Point : IEquatable<Point>
{ {
#region Constants #region Constants
public static Point Zero public static Point Zero

View File

@ -1,4 +1,5 @@
using System; using System;
using ANX.Framework.NonXNA.Development;
// This file is part of the ANX.Framework created by the // This file is part of the ANX.Framework created by the
// "ANX.Framework developer group" and released under the Ms-PL license. // "ANX.Framework developer group" and released under the Ms-PL license.
@ -6,7 +7,9 @@ using System;
namespace ANX.Framework namespace ANX.Framework
{ {
[ANX.Framework.NonXNA.Development.PercentageComplete(100)] [PercentageComplete(100)]
[TestState(TestStateAttribute.TestState.Untested)]
[Developer("???")]
public class PreparingDeviceSettingsEventArgs : EventArgs public class PreparingDeviceSettingsEventArgs : EventArgs
{ {
public GraphicsDeviceInformation GraphicsDeviceInformation public GraphicsDeviceInformation GraphicsDeviceInformation
@ -15,8 +18,7 @@ namespace ANX.Framework
private set; private set;
} }
public PreparingDeviceSettingsEventArgs( public PreparingDeviceSettingsEventArgs(GraphicsDeviceInformation graphicsDeviceInformation)
GraphicsDeviceInformation graphicsDeviceInformation)
{ {
GraphicsDeviceInformation = graphicsDeviceInformation; GraphicsDeviceInformation = graphicsDeviceInformation;
} }

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" ?> <?xml version="1.0" encoding="utf-8" ?>
<Config> <Config>
<ANXAssemblies> <ANXAssemblies>
<Assembly>..\..\bin\Debug\ANX.Framework.dll</Assembly> <Assembly>..\bin\Debug\ANX.Framework.dll</Assembly>
</ANXAssemblies> </ANXAssemblies>
<XNAAssemblies> <XNAAssemblies>
<Assembly>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.dll</Assembly> <Assembly>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.dll</Assembly>