Example #1
0
 public timelineEvent(int newDelta, IPinData newPinValue)
 {
     delta = newDelta;
     pinValue = newPinValue;
 }
Example #2
0
 public timelineEventArgs(IPinData val)
 {
     newValue = val;
 }
Example #3
0
        public void recreateValue()
        {
            // Set the .value of our pin to an object of type according to .valueType.
            // Call the appropriate constructor, finding it via reflection.
            // We pass the constructor the parent ruleItemBase, and the parent pin.

            // Find the constructor
            ConstructorInfo pinValueTypeConstructor = valueType.GetConstructor(new Type[] { typeof(ruleItems.ruleItemBase), typeof(pin) });

            // Call the constructor, storing the new object.
            value = (IPinData)pinValueTypeConstructor.Invoke(new object[] { parent, this });
        }
Example #4
0
 public timelineEventArgs()
 {
     newValue = null;
 }