Beispiel #1
0
	public override void FetchArgValues (IArgValueSource source)
	{
	    base.FetchArgValues (source);
	    int base_total = base.NumArguments;
	    keys = Rule.AsArrayConv<string,MBString> (source.GetArgValue (base_total + 0));
	    vals = Rule.AsArray<Result> (source.GetArgValue (base_total + 1));
	}
Beispiel #2
0
        public override void FetchArgValues(IArgValueSource source)
        {
            base.FetchArgValues(source);
            int base_total = base.NumArguments;

            keys = Rule.AsArrayConv <string, MBString> (source.GetArgValue(base_total + 0));
            vals = Rule.AsArray <Result> (source.GetArgValue(base_total + 1));
        }
Beispiel #3
0
 public override void FetchArgValues(IArgValueSource source)
 {
     target_name = source.GetTargetName();
     output      = AsOptionalRef <string, MBString> (source.GetArgValue(base.NumArguments));
 }
Beispiel #4
0
        // Subclasses are expected to chain to base.FetchArgValues,
        // then call GetArgValue on the source once for each argument
        // defined by the subclass.  The return value is presumably
        // then stored in a member of the subclass, potentially with
        // type conversions. The member should be protected so that
        // subclasses of the rule can access the argument. Once
        // FetchArgValues has been called, such members should be
        // considered read only.

        public virtual void FetchArgValues(IArgValueSource source)
        {
            return;
        }
Beispiel #5
0
	public override void FetchArgValues (IArgValueSource source)
	{
	    value = AsSingle<Result> (source.GetArgValue (base.NumArguments));
	}
Beispiel #6
0
	public override void FetchArgValues (IArgValueSource source)
	{
	    target_name = source.GetTargetName ();
	    output = AsOptionalRef<string,MBString> (source.GetArgValue (base.NumArguments));
	}
Beispiel #7
0
 public void AddAdditionalArgValueSource(IArgValueSource argValueSource)
 {
     _additionalArgValueSources.Add(argValueSource);
 }
Beispiel #8
0
 public override void FetchArgValues(IArgValueSource source)
 {
     value = AsSingle <Result> (source.GetArgValue(base.NumArguments));
 }