private static IType GetItemType(ITypeResolver typeResolver, Type type) { CollectionAdapterDescription adapterDescription = CollectionAdapterDescription.GetAdapterDescription(type); IType type1 = null; if (adapterDescription != null) { type1 = typeResolver.GetType(adapterDescription.ItemType); } return(type1); }
public static CollectionAdapterDescription GetAdapterDescription(System.Type type) { return(CollectionAdapterDescription.GetAdapterDescription(type, null)); }