private IFuturePrototype GetAccessPrototype(AccessMethod accessMethod, FutureFeatures openDocFeatures, params IFuturePrototype[] methodParams) { IFuturePrototype[] array = new IFuturePrototype[2 + methodParams.Length]; array[0] = this.GetOpenDocumentFuture(openDocFeatures); array[1] = new ConstantFuture(new IntParameter((int)accessMethod)); Array.Copy(methodParams, 0, array, 2, methodParams.Length); return new ApplyPrototype(new ApplyVerbPresent(), array); }
private IFuturePrototype GetAccessPrototype(AccessMethod accessMethod, FutureFeatures openDocFeatures, params IFuturePrototype[] methodParams) { IFuturePrototype[] array = new IFuturePrototype[2 + methodParams.Length]; array[0] = this.GetOpenDocumentFuture(openDocFeatures); array[1] = new ConstantFuture(new IntParameter((int)accessMethod)); Array.Copy(methodParams, 0, array, 2, methodParams.Length); return(new ApplyPrototype(new ApplyVerbPresent(), array)); }