You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by bl...@apache.org on 2003/06/25 15:14:05 UTC
cvs commit: avalon-sandbox/csframework/src/cs/Util ContainerUtil.cs
bloritsch 2003/06/25 06:14:02
Modified: csframework/src/cs Attributes.cs
csframework/src/cs/Service ServiceException.cs
csframework/src/cs/Util ContainerUtil.cs
Log:
fix doc errors
Revision Changes Path
1.2 +38 -5 avalon-sandbox/csframework/src/cs/Attributes.cs
Index: Attributes.cs
===================================================================
RCS file: /home/cvs/avalon-sandbox/csframework/src/cs/Attributes.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Attributes.cs 24 Jun 2003 17:34:52 -0000 1.1
+++ Attributes.cs 25 Jun 2003 13:14:01 -0000 1.2
@@ -49,41 +49,74 @@
namespace Apache.Avalon.Framework
{
-
+
+///<summary>
+/// Attribute used to mark the services that a component implements
+///</summary>
[AttributeUsage(AttributeTargets.Class,AllowMultiple=true)]
public sealed class AvalonService : Attribute
{
private string m_name;
+ ///<summary>
+ /// Constructor to initialize the service's name.
+ ///</summary>
+ ///<param name="name">The name of the service</param>
public AvalonService(string name)
{
m_name = name;
}
- public string GetName()
+ ///<summary>
+ /// The name of the service
+ ///</summary>
+ public string Name
{
- return m_name;
+ get
+ {
+ return m_name;
+ }
}
}
+///<summary>
+/// Attribute to mark the dependencies for a component.
+///</summary>
[AttributeUsage(AttributeTargets.Class,AllowMultiple=true)]
public sealed class AvalonDependency : Attribute
{
private string m_name;
+
+ ///<summary>
+ /// Boolean property to see if this dependency is required or not.
+ ///</summary>
public bool isOptional;
+ ///<summary>
+ /// Constructor to initialize the dependency's name.
+ ///</summary>
+ ///<param name="name">The dependency's name</param>
public AvalonDependency(string name)
{
m_name = name;
isOptional = false;
}
- public string GetName()
+ ///<summary>
+ /// The name of the dependency
+ ///</summary>
+ public string Name
{
- return m_name;
+ get
+ {
+ return m_name;
+ }
}
}
+///<summary>
+/// Attribute used to mark a component as an Avalon component.
+///</summary>
[AttributeUsage(AttributeTargets.Class,AllowMultiple=false)]
public sealed class AvalonComponent : Attribute
{}
1.9 +0 -1 avalon-sandbox/csframework/src/cs/Service/ServiceException.cs
Index: ServiceException.cs
===================================================================
RCS file: /home/cvs/avalon-sandbox/csframework/src/cs/Service/ServiceException.cs,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ServiceException.cs 24 Jun 2003 12:18:26 -0000 1.8
+++ ServiceException.cs 25 Jun 2003 13:14:02 -0000 1.9
@@ -56,7 +56,6 @@
/// </summary>
/// <remarks>
/// It is usually thrown by <see cref="IServiceManager"/>
- /// or <see cref="IServiceSelector"/>.
/// </remarks>
public class ServiceException: Exception
{
1.9 +1 -1 avalon-sandbox/csframework/src/cs/Util/ContainerUtil.cs
Index: ContainerUtil.cs
===================================================================
RCS file: /home/cvs/avalon-sandbox/csframework/src/cs/Util/ContainerUtil.cs,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ContainerUtil.cs 24 Jun 2003 12:18:27 -0000 1.8
+++ ContainerUtil.cs 25 Jun 2003 13:14:02 -0000 1.9
@@ -284,7 +284,7 @@
/// <summary>
/// Disposes specified component if it implements the
- /// <see cref="Apache.Avalon.Activity.IDisposable"/> interface.
+ /// <see cref="Apache.Avalon.Framework.Activity.IDisposable"/> interface.
/// </summary>
/// <param name="component">The Component to dispose.</param>
/// <exception cref="Exception">
---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org