Boo.Lang.Compiler.TypeSystem.GenericMapping.GenericMapping C# (CSharp) Method

GenericMapping() protected method

Constrcuts a new GenericMapping for a specific mapping of generic parameters to type arguments.
protected GenericMapping ( TypeSystemServices tss, IGenericParameter parameters, IType arguments ) : System
tss TypeSystemServices
parameters IGenericParameter The generic parameters that should be mapped.
arguments IType The type arguments to map generic parameters to.
return System
        protected GenericMapping(TypeSystemServices tss, IGenericParameter[] parameters, IType[] arguments)
        {
            _tss = tss;
            for (int i = 0; i < parameters.Length; i++)
            {
                _map.Add(parameters[i], arguments[i]);
            }
        }

Same methods

GenericMapping::GenericMapping ( TypeSystemServices tss, IMethod constructedMethod, IType arguments ) : System
GenericMapping::GenericMapping ( TypeSystemServices tss, IType constructedType, IType arguments ) : System