-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finished adding XML comments on all publically visible types/members
- Loading branch information
1 parent
9e52e84
commit 89561ee
Showing
10 changed files
with
288 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,22 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace Args | ||
namespace Args | ||
{ | ||
/// <summary> | ||
/// An interface that will configure an IModelBindingDefinition based on a given initializer | ||
/// </summary> | ||
public interface IArgsConfiguration | ||
{ | ||
/// <summary> | ||
/// When implemented, this method will configure the model binder | ||
/// </summary> | ||
/// <typeparam name="TModel"></typeparam> | ||
/// <returns></returns> | ||
IModelBindingDefinition<TModel> Configure<TModel>(); | ||
/// <summary> | ||
/// When implemented, this method will configure the model binder with the provided initializer | ||
/// </summary> | ||
/// <typeparam name="TModel"></typeparam> | ||
/// <param name="initalizer"></param> | ||
/// <returns></returns> | ||
IModelBindingDefinition<TModel> Configure<TModel>(IModelBindingDefinitionInitializer initalizer); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
|
||
namespace Args | ||
namespace Args | ||
{ | ||
/// <summary> | ||
/// A simple interface to impelment for type conversion from string. If a TypeConverter for the type does not already exist, this is the easiest way to do type conversion in Args | ||
/// </summary> | ||
public interface IArgsTypeConverter | ||
{ | ||
/// <summary> | ||
/// When implemented, this method will convert the provided value | ||
/// </summary> | ||
/// <param name="value"></param> | ||
/// <returns></returns> | ||
object Convert(string value); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.