public Instruction(string key, int number, string text, SolutionDelegate solutionDelegate) { this.Key = key; this.Number = number; this.Text = text; this.Delegate = solutionDelegate; }
/* * WaveFileReader(string) - 2004 July 28 * A fairly standard constructor that opens a file using the filename supplied to it. */ public WaveFileShifter(string filenameOriginal, string filenameChanged, int shiftedMilieSeconds, SolutionDelegate solutionDeleg, IntDelegate setMaxDeleg, IntDelegate updateDeleg) { reader = new BinaryReader(new FileStream(filenameOriginal, FileMode.Open, FileAccess.Read, FileShare.Read)); writer = new BinaryWriter(new FileStream(filenameChanged, FileMode.Create, FileAccess.Write)); this.filenameOriginal = filenameOriginal; this.filenameChanged = filenameChanged; this.shiftedMilieSeconds = shiftedMilieSeconds; this.solutionDeleg = solutionDeleg; this.setMaxDeleg = setMaxDeleg; this.updateDeleg = updateDeleg; }
public InstructionType(string key, string text, SolutionDelegate solutionDelegate) { this.Key = key; this.Text = text; this.Delegate = solutionDelegate; }