System.Reflection.Assembly.GetAssemblyAttribute()

Here are the examples of the csharp api System.Reflection.Assembly.GetAssemblyAttribute() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

2 Examples 7

19 Source : AssemblyExtensions.cs
with Apache License 2.0
from unoplatform

public static string GetProductName(this replacedembly replacedembly)
		{
			var productNameAttribute = replacedembly.GetreplacedemblyAttribute<replacedemblyProductAttribute>();
			return productNameAttribute == null ? null : productNameAttribute.Product;
		}

19 Source : AssemblyExtensions.cs
with Apache License 2.0
from unoplatform

public static string GetCopyright(this replacedembly replacedembly)
		{
			var replacedemblyCopyrightAttribute = replacedembly.GetreplacedemblyAttribute<replacedemblyCopyrightAttribute>();
			return replacedemblyCopyrightAttribute == null ? null : replacedemblyCopyrightAttribute.Copyright;
		}