Ejemplo n.º 1
0
        public TargetOptions Target(Type modelType)
        {
            if (modelType == null)
            {
                throw new ArgumentNullException(nameof(modelType));
            }

            return((TargetOptions)TargetMethod.MakeGenericMethod(modelType).Invoke(this, null));
        }