Dupire.DupireProcess.Parse C# (CSharp) Метод

Parse() публичный Метод

Parses the process (in this case nothing has to be done).
public Parse ( IProject context ) : bool
context IProject The project representing the context of the parsing.
Результат bool
        public bool Parse(IProject context)
        {
            bool errors = false;
            errors = this.s0.Parse(context);
            errors = BoolHelper.AddBool(errors, this.q.Parse(context));
            errors = BoolHelper.AddBool(errors, this.r.Parse(context));
            errors = BoolHelper.AddBool(errors, this.localVol.Parse(context));

            this.context = new DupireContext();
            this.context.s0 = this.s0.fV();
            this.context.q = this.q.fVRef() as IFunction;
            this.context.r = this.r.fVRef() as IFunction;
            this.context.localVol = this.localVol.fVRef() as IFunction;

            return RetrieveCurve(context, errors);
        }