예제 #1
0
 private void FromParsedType(ParsedType parsedType)
 {
     Namespace = parsedType.Namespace;
     Name      = parsedType.Name;
     if (parsedType.Arguments != null)
     {
         foreach (var argument in parsedType.Arguments)
         {
             var typeReference = new TypeReference();
             typeReference.FromParsedType(argument);
             Parameters.Add(typeReference);
         }
     }
 }
예제 #2
0
        public TypeReference(string clrFullTypeName)
        {
            var parsedType = ParsedType.Parse(clrFullTypeName);

            FromParsedType(parsedType);
        }