Carrot.ConnectionBuilder.ProductName C# (CSharp) Method

ProductName() private static method

private static ProductName ( Assembly assembly ) : String
assembly System.Reflection.Assembly
return String
        private static String ProductName(Assembly assembly)
        {
            return assembly.GetCustomAttributes<AssemblyProductAttribute>()
                           .SingleOrDefault(new AssemblyProductAttribute("Carrot"))
                           .Product;
        }