All pastes #980309 Raw Edit

Someone

public diff v1 · immutable
·published 2008-04-10 22:36 UTC
rendered paste body
Index: ActiveRecord/Castle.ActiveRecord/Attributes/AnyAttribute.cs===================================================================--- ActiveRecord/Castle.ActiveRecord/Attributes/AnyAttribute.cs	(revision 4999)+++ ActiveRecord/Castle.ActiveRecord/Attributes/AnyAttribute.cs	(working copy)@@ -195,6 +195,42 @@ 			{ 				this.value = value; 				this.clazz = clazz;+			}++			/// <summary>+			/// Initializes a new instance of the <see cref="MetaValueAttribute"/> class.+			/// Allows a byte to be used as a meta-value+			/// </summary>+			/// <param name="value">The value.</param>+			/// <param name="clazz">The clazz.</param>+			public MetaValueAttribute(byte value, Type clazz)+			{+				this.value = value.ToString();+				this.clazz = clazz;+			}++			/// <summary>+			/// Initializes a new instance of the <see cref="MetaValueAttribute"/> class.+			/// Allows a short to be used as a meta-value+			/// </summary>+			/// <param name="value">The value.</param>+			/// <param name="clazz">The clazz.</param>+			public MetaValueAttribute(short value, Type clazz)+			{+				this.value = value.ToString();+				this.clazz = clazz;+			}++			/// <summary>+			/// Initializes a new instance of the <see cref="MetaValueAttribute"/> class.+			/// Allows a int to be used as a meta-value+			/// </summary>+			/// <param name="value">The value.</param>+			/// <param name="clazz">The clazz.</param>+			public MetaValueAttribute(int value, Type clazz)+			{+				this.value = value.ToString();+				this.clazz = clazz; 			}  			/// <summary>