Title / Description
Code public GenericType(Type type) { _ref typeParameters = new List<GenericTypeParam>(); if (_reflectedType.IsGenericType) { isGeneric = true; var paramsList = _reflectedType.GetGenericArguments(); foreach (var param in paramsList) { var p = new GenericTypeParam(); p.Name = param.Name; p.isGeneric = param.IsGenericType; if (param.BaseType != null) p.BaseType = param.BaseType.FullName; p.Type = param; typeParameters.Add(p); } } else { isGeneric = false; }
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code