Skip to content

Commit

Permalink
Code Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirkster99 committed Jul 5, 2020
1 parent 8db4f44 commit dbdbc92
Show file tree
Hide file tree
Showing 8 changed files with 1,099 additions and 1,099 deletions.
58 changes: 29 additions & 29 deletions source/Components/AvalonDock/Commands/IExecuteWithObject.cs
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
namespace AvalonDock.Commands
{
/// <summary>
/// Interface IExecuteWithObject
/// </summary>
internal interface IExecuteWithObject
{
#region Public Properties
/// <summary>
/// Interface IExecuteWithObject
/// </summary>
internal interface IExecuteWithObject
{
#region Public Properties

/// <summary>
/// The target of the WeakAction.
/// </summary>
/// <value>The target.</value>
object Target
{
get;
}
/// <summary>
/// The target of the WeakAction.
/// </summary>
/// <value>The target.</value>
object Target
{
get;
}

#endregion Public Properties
#endregion Public Properties

#region Public Methods
#region Public Methods

/// <summary>
/// Executes an action.
/// </summary>
/// <param name="parameter">A parameter passed as an object,
/// to be casted to the appropriate type.</param>
void ExecuteWithObject(object parameter);
/// <summary>
/// Executes an action.
/// </summary>
/// <param name="parameter">A parameter passed as an object,
/// to be casted to the appropriate type.</param>
void ExecuteWithObject(object parameter);

/// <summary>
/// Deletes all references, which notifies the cleanup method
/// that this entry must be deleted.
/// </summary>
void MarkForDeletion();
/// <summary>
/// Deletes all references, which notifies the cleanup method
/// that this entry must be deleted.
/// </summary>
void MarkForDeletion();

#endregion Public Methods
}
#endregion Public Methods
}
}
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
namespace AvalonDock.Commands
{
/// <summary>
/// Interface IExecuteWithObjectAndResult
/// </summary>
internal interface IExecuteWithObjectAndResult
{
#region Public Methods
/// <summary>
/// Interface IExecuteWithObjectAndResult
/// </summary>
internal interface IExecuteWithObjectAndResult
{
#region Public Methods

/// <summary>
/// Executes a Func and returns the result.
/// </summary>
/// <param name="parameter">A parameter passed as an object,
/// to be casted to the appropriate type.</param>
/// <returns>The result of the operation.</returns>
object ExecuteWithObject(object parameter);
/// <summary>
/// Executes a Func and returns the result.
/// </summary>
/// <param name="parameter">A parameter passed as an object,
/// to be casted to the appropriate type.</param>
/// <returns>The result of the operation.</returns>
object ExecuteWithObject(object parameter);

#endregion Public Methods
}
#endregion Public Methods
}
}
2 changes: 1 addition & 1 deletion source/Components/AvalonDock/Commands/NamespaceDoc.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ namespace AvalonDock.Commands
internal class NamespaceDoc
{
}
}
}
Loading

0 comments on commit dbdbc92

Please sign in to comment.