/// <summary> /// Create a description of a method that should be invoked with the specified arguments. /// </summary> /// <param name="argumentDelegate">The method that should be invoked.</param> /// <param name="arguments">The arguments of the method invokation.</param> public TimelineSegment(StorylineHandler genericEventHandler, params object[] arguments) { // Initialize the object this.TimelineHandler = genericEventHandler; this.GenericEventArgs = new GenericEventArgs(arguments); }
/// <summary> /// Create a description of a method that should be invoked with the specified arguments. /// </summary> /// <param name="argumentDelegate">The method that should be invoked.</param> /// <param name="arguments">The arguments of the method invokation.</param> public TimelineSegment(StorylineHandler genericEventHandler, GenericEventArgs genericEventArgs) { // Initialize the object this.TimelineHandler = genericEventHandler; this.GenericEventArgs = genericEventArgs; }