Definition at line 23 of file ProductInfo.cs.
Deveel.Data.Util.ProductInfo.ProductInfo |
( |
| ) |
|
|
inlineprivate |
static ProductInfo Deveel.Data.Util.ProductInfo.GetProductInfo |
( |
Assembly |
assembly | ) |
|
|
inlinestaticprivate |
Definition at line 49 of file ProductInfo.cs.
52 object[] attributes = assembly.GetCustomAttributes(
false);
53 for (
int i = 0; i < attributes.Length; i++) {
54 object attr = attributes[i];
55 if (attr is AssemblyCopyrightAttribute)
56 productInfo.Copyright = ((AssemblyCopyrightAttribute)attr).Copyright;
57 else if (attr is AssemblyVersionAttribute)
58 productInfo.Version =
new Version(((AssemblyVersionAttribute)attr).
Version);
59 else if (attr is AssemblyCompanyAttribute)
60 productInfo.Company = ((AssemblyCompanyAttribute)attr).Company;
61 else if (attr is AssemblyTitleAttribute)
62 productInfo.Title = ((AssemblyTitleAttribute)attr).Title;
63 else if (attr is AssemblyDescriptionAttribute)
64 productInfo.Description = ((AssemblyDescriptionAttribute)attr).Description;
string Deveel.Data.Util.ProductInfo.Company |
|
getprivate set |
string Deveel.Data.Util.ProductInfo.Copyright |
|
getprivate set |
string Deveel.Data.Util.ProductInfo.Description |
|
getprivate set |
string Deveel.Data.Util.ProductInfo.Title |
|
getprivate set |
Version Deveel.Data.Util.ProductInfo.Version |
|
getprivate set |
The documentation for this class was generated from the following file:
- /var/calculate/remote/distfiles/egit-src/deveeldb.git/src/deveeldb/Deveel.Data.Util/ProductInfo.cs