diff --git a/src/LogoFX.Client.Mvvm.Commanding.Platform/src/ActionCommandExtensions.cs b/src/LogoFX.Client.Mvvm.Commanding.Platform/src/ActionCommandExtensions.cs
index 11c622d..984e144 100644
--- a/src/LogoFX.Client.Mvvm.Commanding.Platform/src/ActionCommandExtensions.cs
+++ b/src/LogoFX.Client.Mvvm.Commanding.Platform/src/ActionCommandExtensions.cs
@@ -4,6 +4,9 @@
namespace LogoFX.Client.Mvvm.Commanding
{
+ ///
+ /// The platform-specific extensions.
+ ///
public static class ActionCommandExtensions
{
///
diff --git a/src/LogoFX.Client.Mvvm.Commanding.Platform/src/Extensions.cs b/src/LogoFX.Client.Mvvm.Commanding.Platform/src/Extensions.cs
index c7d68fa..3ff9e06 100644
--- a/src/LogoFX.Client.Mvvm.Commanding.Platform/src/Extensions.cs
+++ b/src/LogoFX.Client.Mvvm.Commanding.Platform/src/Extensions.cs
@@ -25,7 +25,7 @@ public static TBootstrapper UseCommanding(
///
/// This midlleware initializes the factory
///
- ///
+ /// The type of the bootstrapper.
public class InitializeCanExecuteManagerMiddleware : IMiddleware
where TBootstrapper : class, IHaveRegistrator
{
diff --git a/src/LogoFX.Client.Mvvm.Commanding/src/CanExecuteManagerFactory.cs b/src/LogoFX.Client.Mvvm.Commanding/src/CanExecuteManagerFactory.cs
index ab5cf79..af6910f 100644
--- a/src/LogoFX.Client.Mvvm.Commanding/src/CanExecuteManagerFactory.cs
+++ b/src/LogoFX.Client.Mvvm.Commanding/src/CanExecuteManagerFactory.cs
@@ -1,7 +1,10 @@
namespace LogoFX.Client.Mvvm.Commanding
{
+ ///
+ /// The type of the instance to be created.
public class CanExecuteManagerFactory : ICanExecuteManagerFactory where T : ICanExecuteManager, new()
{
+ ///
public ICanExecuteManager CreateCanExecuteManager()
{
return new T();
diff --git a/src/LogoFX.Client.Mvvm.Commanding/src/CanExecuteManagerFactoryContext.cs b/src/LogoFX.Client.Mvvm.Commanding/src/CanExecuteManagerFactoryContext.cs
index 80915b3..eefc8c5 100644
--- a/src/LogoFX.Client.Mvvm.Commanding/src/CanExecuteManagerFactoryContext.cs
+++ b/src/LogoFX.Client.Mvvm.Commanding/src/CanExecuteManagerFactoryContext.cs
@@ -1,9 +1,15 @@
namespace LogoFX.Client.Mvvm.Commanding
{
+ ///
+ /// The Ambient Context for
+ ///
public static class CanExecuteManagerFactoryContext
{
private static ICanExecuteManagerFactory _canExecuteManagerFactory = new DefaultCanExecuteManagerFactory();
+ ///
+ /// Gets or sets the current implementation.
+ ///
public static ICanExecuteManagerFactory Current
{
get => _canExecuteManagerFactory;
diff --git a/src/LogoFX.Client.Mvvm.Commanding/src/DefaultCanExecuteManager.cs b/src/LogoFX.Client.Mvvm.Commanding/src/DefaultCanExecuteManager.cs
index 85374b5..3cb3f68 100644
--- a/src/LogoFX.Client.Mvvm.Commanding/src/DefaultCanExecuteManager.cs
+++ b/src/LogoFX.Client.Mvvm.Commanding/src/DefaultCanExecuteManager.cs
@@ -2,15 +2,21 @@
namespace LogoFX.Client.Mvvm.Commanding
{
+ ///
+ /// Default implementation of the
+ ///
public class DefaultCanExecuteManager : ICanExecuteManager
{
+ ///
public EventHandler CanExecuteHandler { get; private set; }
+ ///
public void AddHandler(EventHandler eventHandler)
{
CanExecuteHandler += eventHandler;
}
+ ///
public void RemoveHandler(EventHandler eventHandler)
{
CanExecuteHandler -= eventHandler;
diff --git a/src/LogoFX.Client.Mvvm.Commanding/src/DefaultCanExecuteManagerFactory.cs b/src/LogoFX.Client.Mvvm.Commanding/src/DefaultCanExecuteManagerFactory.cs
index 9ffea69..1490ae5 100644
--- a/src/LogoFX.Client.Mvvm.Commanding/src/DefaultCanExecuteManagerFactory.cs
+++ b/src/LogoFX.Client.Mvvm.Commanding/src/DefaultCanExecuteManagerFactory.cs
@@ -1,7 +1,11 @@
namespace LogoFX.Client.Mvvm.Commanding
{
+ ///
+ /// The default implementation of the
+ ///
public class DefaultCanExecuteManagerFactory : ICanExecuteManagerFactory
{
+ ///
public ICanExecuteManager CreateCanExecuteManager()
{
return new DefaultCanExecuteManager();
diff --git a/src/LogoFX.Client.Mvvm.Commanding/src/ICanExecuteManager.cs b/src/LogoFX.Client.Mvvm.Commanding/src/ICanExecuteManager.cs
index b2649de..066fd74 100644
--- a/src/LogoFX.Client.Mvvm.Commanding/src/ICanExecuteManager.cs
+++ b/src/LogoFX.Client.Mvvm.Commanding/src/ICanExecuteManager.cs
@@ -2,10 +2,25 @@
namespace LogoFX.Client.Mvvm.Commanding
{
+ ///
+ /// The platform-independent abstraction of command execution predicate manager.
+ ///
public interface ICanExecuteManager
{
+ ///
+ /// Gets the execution predicate handler.
+ ///
EventHandler CanExecuteHandler { get; }
+ ///
+ /// Adds an event handler to the execution predicate.
+ ///
+ ///
void AddHandler(EventHandler eventHandler);
+
+ ///
+ /// Removes event handler from the execution predicate.
+ ///
+ ///
void RemoveHandler(EventHandler eventHandler);
}
}
diff --git a/src/LogoFX.Client.Mvvm.Commanding/src/ICanExecuteManagerFactory.cs b/src/LogoFX.Client.Mvvm.Commanding/src/ICanExecuteManagerFactory.cs
index 76ae888..26ebf9e 100644
--- a/src/LogoFX.Client.Mvvm.Commanding/src/ICanExecuteManagerFactory.cs
+++ b/src/LogoFX.Client.Mvvm.Commanding/src/ICanExecuteManagerFactory.cs
@@ -1,7 +1,14 @@
namespace LogoFX.Client.Mvvm.Commanding
{
+ ///
+ /// The factory for creating instances of
+ ///
public interface ICanExecuteManagerFactory
{
+ ///
+ /// Creates new instance of
+ ///
+ ///
ICanExecuteManager CreateCanExecuteManager();
}
}