Exemple #1
0
 internal ExtractedReferenceType(INamedType namedType, string typeNamespace, TypeTable typeTable) : base(namedType, typeNamespace)
 {
     TypeTable = typeTable;
 }
 /// <summary>
 /// Creates a new list type descriptor
 /// </summary>
 /// <param name="type"></param>
 /// <param name="typeTable"></param>
 internal ListTypeDescriptor(INamedType type, TypeTable typeTable) : base(type)
 {
     _listType  = type;
     _typeTable = typeTable;
 }
Exemple #3
0
 internal ExtractedProperty(IProperty property, TypeTable typeTable)
 {
     Name     = property.Name;
     Comments = property.Comments;
     Type     = typeTable.LookupType(property.PropertyType);
 }
Exemple #4
0
 internal ExtractedClassType(INamedType namedType, string typeNamespace, TypeTable typeTable) : base(namedType, typeNamespace, typeTable)
 {
 }
Exemple #5
0
 /// <summary>
 /// Creates a new array type descriptor
 /// </summary>
 /// <param name="type">The type</param>
 /// <param name="typeTable">The type table</param>
 internal ArrayTypeDescriptor(IArrayType type, TypeTable typeTable) : base(type)
 {
     _arrayType = type;
     _typeTable = typeTable;
 }
Exemple #6
0
 internal AnonymousTypeDescriptor(INamedType type, TypeTable table) : base(type)
 {
     _namedType = type;
     _typeTable = table;
 }
Exemple #7
0
 internal MvcActionParameter(IMethodParameter methodParameter, TypeTable table)
 {
     Name = methodParameter.Name;
     Type = table.LookupType(methodParameter.ParameterType);
 }
 /// <summary>
 /// Creates the named reference type descriptor
 /// </summary>
 /// <param name="type"></param>
 /// <param name="typeNamespace"></param>
 /// <param name="table"></param>
 internal NamedReferenceTypeDescriptor(INamedType type, string typeNamespace, TypeTable table) : base(type, typeNamespace)
 {
     _typeTable = table;
 }
Exemple #9
0
 /// <summary>
 /// Creates a nullable type descriptor
 /// </summary>
 /// <param name="namedType"></param>
 /// <param name="typeTable"></param>
 internal NullableTypeDescriptor(INamedType namedType, TypeTable typeTable) : base(namedType)
 {
     _namedType = namedType;
     _typeTable = typeTable;
 }