public AppQueriesGraphType(IGraphModel model, int pageSizeContents, int pageSizeAssets, IEnumerable <ISchemaEntity> schemas) { var assetType = model.GetAssetType(); AddAssetFind(assetType); AddAssetsQueries(assetType, pageSizeAssets); foreach (var schema in schemas) { var schemaId = schema.Id; var schemaType = schema.TypeName(); var schemaName = schema.DisplayName(); var contentType = model.GetContentType(schema.Id); AddContentFind( schemaId, schemaType, schemaName, contentType); AddContentQueries( schemaId, schemaType, schemaName, contentType, pageSizeContents); } Description = "The app queries."; }