internal override void Fill(SetFrame set_frame, int start_index) { set_frame(start_index, Frame); if (Tail != null) { Tail.Fill(set_frame, start_index + 1); } }
public Lookup(TaskMaster master, SourceReference source_ref, Context context, string[] names) { this.master = master; this.SourceReference = source_ref; this.names = names; /* Create grid where the first entry is the frame under consideration. */ var values = new object[context.Length, names.Length + 1]; context.Fill((index, frame) => values[index, 0] = frame); }
public Lookup(TaskMaster task_master, SourceReference source_ref, string[] names, Context context) : base(task_master) { SourceReference = source_ref; this.names = names; /* Create grid where the first entry is the frame under consideration. */ frames = new Frame[context.Length]; var index = 0; foreach (var frame in context.Fill()) { frames[index++] = frame; } }
internal override void Fill(SetFrame set_frame, int start_index) { Head.Fill(set_frame, start_index); Tail.Fill(set_frame, start_index + Head.Length); }