Update of /cvsroot/springnet/Spring.Net/doc/reference/src
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv20468
Modified Files:
objects.xml
Log Message:
additional info on creating your own IVariableSource
Index: objects.xml
===================================================================
RCS file: /cvsroot/springnet/Spring.Net/doc/reference/src/objects.xml,v
retrieving revision 1.117
retrieving revision 1.118
diff -C2 -d -r1.117 -r1.118
*** objects.xml 24 Jan 2008 17:32:36 -0000 1.117
--- objects.xml 24 Jan 2008 17:38:31 -0000 1.118
***************
*** 4392,4396 ****
</property>
</object>
! </programlisting></para>
</sect3>
</sect2>
--- 4392,4407 ----
</property>
</object>
! </programlisting>The IVariableSource interface is shown below</para>
!
! <programlisting>public interface IVariableSource
! {
! string ResolveVariable(string name);
! }</programlisting>
!
! <para>This is a simple contract to implement if you should decide to
! create your own custom implemention. Look at the source code of the
! current implementations for some inspiration if you go that route. To
! register your own custom implemenation, simply configure
! VariablePlaceholderConfigurer to refer to your class.</para>
</sect3>
</sect2>
|