Update of /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/DataBinding
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv9486/DataBinding
Modified Files:
AbstractSimpleBinding.cs
Log Message:
added xml doc comments
Index: AbstractSimpleBinding.cs
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/src/Spring/Spring.Core/DataBinding/AbstractSimpleBinding.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** AbstractSimpleBinding.cs 19 Mar 2007 16:05:52 -0000 1.2
--- AbstractSimpleBinding.cs 27 Aug 2007 13:57:18 -0000 1.3
***************
*** 7,12 ****
{
/// <summary>
! /// Abstract base class for simple, one-to-one
! /// <see cref="IBinding"/> implementations.
/// </summary>
/// <author>Aleksandar Seovic</author>
--- 7,11 ----
{
/// <summary>
! /// Abstract base class for simple, one-to-one <see cref="IBinding"/> implementations.
/// </summary>
/// <author>Aleksandar Seovic</author>
***************
*** 22,29 ****
--- 21,35 ----
#region Constructor(s)
+ /// <summary>
+ /// Initialize a new instance of <see cref="AbstractSimpleBinding"/> without any <see cref="IFormatter"/>
+ /// </summary>
protected AbstractSimpleBinding()
{
}
+ /// <summary>
+ /// Initialize a new instance of <see cref="AbstractSimpleBinding"/> with the
+ /// specified <see cref="IFormatter"/>.
+ /// </summary>
protected AbstractSimpleBinding(IFormatter formatter)
{
***************
*** 64,70 ****
/// Variables that should be used during expression evaluation.
/// </param>
! public override void BindSourceToTarget(object source, object target, ValidationErrors validationErrors, IDictionary variables)
{
! if (this.IsValid && (this.Direction == BindingDirection.Bidirectional || this.Direction == BindingDirection.SourceToTarget))
{
try
--- 70,79 ----
/// Variables that should be used during expression evaluation.
/// </param>
! public override void BindSourceToTarget(object source, object target, ValidationErrors validationErrors,
! IDictionary variables)
{
! if (this.IsValid
! &&
! (this.Direction == BindingDirection.Bidirectional || this.Direction == BindingDirection.SourceToTarget))
{
try
***************
*** 108,112 ****
if (this.Formatter != null && value is string)
{
! value = this.Formatter.Parse((string)value);
}
this.SetTargetValue(target, value, variables);
--- 117,121 ----
if (this.Formatter != null && value is string)
{
! value = this.Formatter.Parse((string) value);
}
this.SetTargetValue(target, value, variables);
***************
*** 128,134 ****
/// Variables that should be used during expression evaluation.
/// </param>
! public override void BindTargetToSource(object source, object target, ValidationErrors validationErrors, IDictionary variables)
{
! if (this.IsValid && (this.Direction == BindingDirection.Bidirectional || this.Direction == BindingDirection.TargetToSource))
{
try
--- 137,146 ----
/// Variables that should be used during expression evaluation.
/// </param>
! public override void BindTargetToSource(object source, object target, ValidationErrors validationErrors,
! IDictionary variables)
{
! if (this.IsValid
! &&
! (this.Direction == BindingDirection.Bidirectional || this.Direction == BindingDirection.TargetToSource))
{
try
|