Exemple #1
0
 public IParameter[] GetParameters()
 {
     if (_parameters == null)
     {
         _parameters = GenericMapping.MapParameters(SourceMember.GetParameters());
     }
     return(_parameters);
 }
Exemple #2
0
        public CallableSignature GetSignature()
        {
            if (_signature == null)
            {
                CallableSignature definitionSignature = ((ICallableType)_definition).GetSignature();

                IParameter[] parameters = GenericMapping.MapParameters(definitionSignature.Parameters);
                IType        returnType = GenericMapping.MapType(definitionSignature.ReturnType);

                _signature = new CallableSignature(parameters, returnType);
            }

            return(_signature);
        }
 public IParameter[] GetParameters()
 {
     return(_parameters ?? (_parameters = GenericMapping.MapParameters(_definition.GetParameters())));
 }
Exemple #4
0
 public IParameter[] GetParameters()
 {
     return(_parameters ?? (_parameters = GenericMapping.MapParameters(SourceMember.GetParameters())));
 }