コード例 #1
0
        /// <summary>
        /// Gets the value.
        /// </summary>
        /// <typeparam name="TValue">The type of the value.</typeparam>
        /// <returns></returns>
        internal override void GetValue(ParameterCollection.InternalValue result)
        {
            //var temp1 = *Framework.Utilities.Cast<TCast1>((byte*)parameters[0].Value.Data);
            //var temp1 = ((ParameterCollection.InternalValue<TCast1>)parameters[0].Value).Value;
            //Update(ref temp1, ref ((ParameterCollection.InternalValue<TCast>)result).Value);

            var parameters = result.Dependencies;

            Update(ref ((ParameterCollection.InternalValueBase <TCast1>)parameters[0].Entry).Value, ref ((ParameterCollection.InternalValueBase <TCast>)result).Value);
        }
コード例 #2
0
        /// <summary>
        /// Gets the value.
        /// </summary>
        /// <typeparam name="TValue">The type of the value.</typeparam>
        /// <returns></returns>
        internal override void GetValue(ParameterCollection.InternalValue result)
        {
            //var temp1 = *Framework.Utilities.Cast<TCast1>((byte*)parameters[0].Value.Data);
            //var temp1 = ((ParameterCollection.InternalValue<TCast1>)parameters[0].Value).Value;
            //var temp2 = *Framework.Utilities.Cast<TCast2>((byte*)parameters[1].Value.Data);
            //var temp2 = ((ParameterCollection.InternalValue<TCast2>)parameters[1].Value).Value;
            //var temp3 = *Framework.Utilities.Cast<TCast3>((byte*)parameters[2].Value.Data);
            //var temp3 = ((ParameterCollection.InternalValue<TCast3>)parameters[2].Value).Value;
            //var temp4 = *Framework.Utilities.Cast<TCast4>((byte*)parameters[3].Value.Data);
            //var temp4 = ((ParameterCollection.InternalValue<TCast4>)parameters[3].Value).Value;
            //var temp5 = *Framework.Utilities.Cast<TCast5>((byte*)parameters[4].Value.Data);
            //var temp5 = ((ParameterCollection.InternalValue<TCast5>)parameters[4].Value).Value;
            //Update(ref temp1, ref temp2, ref temp3, ref temp4, ref temp5, ref ((ParameterCollection.InternalValue<TCast>)result).Value);

            var parameters = result.Dependencies;

            Update(ref ((ParameterCollection.InternalValueBase <TCast1>)parameters[0].Entry).Value, ref ((ParameterCollection.InternalValueBase <TCast2>)parameters[1].Entry).Value, ref ((ParameterCollection.InternalValueBase <TCast3>)parameters[2].Entry).Value, ref ((ParameterCollection.InternalValueBase <TCast4>)parameters[3].Entry).Value, ref ((ParameterCollection.InternalValueBase <TCast5>)parameters[4].Entry).Value, ref ((ParameterCollection.InternalValueBase <TCast>)result).Value);
        }
コード例 #3
0
 internal abstract void GetValue(ParameterCollection.InternalValue result);
コード例 #4
0
 public BoundInternalValue(int dirtyCount, ParameterCollection.InternalValue value)
 {
     DirtyCount = dirtyCount;
     Value      = value;
 }
コード例 #5
0
 public BoundInternalValue(int dirtyCount, ParameterCollection.InternalValue value)
 {
     DirtyCount = dirtyCount;
     Value = value;
 }