/[RomCheater]/trunk/RomCheater/TypeBinder.cs
ViewVC logotype

Diff of /trunk/RomCheater/TypeBinder.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/RomCheater/ObjectBinder.cs revision 313 by william, Tue Jun 5 15:03:03 2012 UTC trunk/RomCheater/TypeBinder.cs revision 315 by william, Tue Jun 5 15:24:43 2012 UTC
# Line 8  namespace RomCheater Line 8  namespace RomCheater
8      /// <summary>      /// <summary>
9      /// A class that allows the binding of an object to another type      /// A class that allows the binding of an object to another type
10      /// </summary>      /// </summary>
11      public class ObjectBinder      public class TypeBinder
12      {      {
13          /// <summary>          ///// <summary>
14          /// Binds an object to a specific type          ///// Binds an object to a specific type
15          /// </summary>          ///// </summary>
16          /// <typeparam name="T">The destination object type</typeparam>          ///// <typeparam name="T">The destination object type</typeparam>
17          /// <param name="source">The source object type (object)</param>          ///// <param name="source">The source object type (object)</param>
18          /// <returns>A bound type</returns>          ///// <returns>A bound type</returns>
19          public static void Bind<T>(object source, out T destination) where T : class { Bind<object, T>(source, out destination); }          //public static void Bind<T>(object source, out T destination) where T : class { Bind<object, T>(source, out destination); }
20          /// <summary>          /// <summary>
21          /// Bind an object of a specific type to another specific type          /// Bind an object of a specific type to another specific type
22          /// </summary>          /// </summary>

Legend:
Removed from v.313  
changed lines
  Added in v.315

  ViewVC Help
Powered by ViewVC 1.1.22