Unified · Split
| @@ -1,28 +1,28 @@ | |||
| 1 | using System; | 1 | using System; |
| 2 | using System.Reflection; | 2 | using System.Reflection; |
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | using System.Security.Permissions; | 4 | using System.Security.Permissions; |
| 5 | 5 | ||
| 6 | // Assembly identity attributes. | 6 | // Assembly identity attributes. |
| 7 | [assembly: AssemblyVersion("2.1.99.0")] | 7 | [assembly: AssemblyVersion("1.1.64.54531")] |
| 8 | 8 | ||
| 9 | // Informational attributes. | 9 | // Informational attributes. |
| 10 | [assembly: AssemblyCompany("TVA")] | 10 | [assembly: AssemblyCompany("TVA")] |
| 11 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] | 11 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] |
| 12 | [assembly: AssemblyProduct("openPDC Framework")] | 12 | [assembly: AssemblyProduct("openPDC Framework")] |
| 13 | 13 | ||
| 14 | // Assembly manifest attributes. | 14 | // Assembly manifest attributes. |
| 15 | #if DEBUG | 15 | #if DEBUG |
| 16 | [assembly: AssemblyConfiguration("Debug Build")] | 16 | [assembly: AssemblyConfiguration("Debug Build")] |
| 17 | #else | 17 | #else |
| 18 | [assembly: AssemblyConfiguration("Release Build")] | 18 | [assembly: AssemblyConfiguration("Release Build")] |
| 19 | #endif | 19 | #endif |
| 20 | [assembly: AssemblyDefaultAlias("TVA.Communication")] | 20 | [assembly: AssemblyDefaultAlias("TVA.Communication")] |
| 21 | [assembly: AssemblyDescription("Communication components of the openPDC Framework.")] | 21 | [assembly: AssemblyDescription("Communication components of the openPDC Framework.")] |
| 22 | [assembly: AssemblyTitle("TVA.Communication")] | 22 | [assembly: AssemblyTitle("TVA.Communication")] |
| 23 | 23 | ||
| 24 | // Other configuration attributes. | 24 | // Other configuration attributes. |
| 25 | [assembly: CLSCompliant(true)] | 25 | [assembly: CLSCompliant(true)] |
| 26 | [assembly: ComVisible(false)] | 26 | [assembly: ComVisible(false)] |
| 27 | [assembly: Guid("fa2223ea-9782-49f1-8757-2a333a1633c2")] | 27 | [assembly: Guid("fa2223ea-9782-49f1-8757-2a333a1633c2")] |
| 28 | [assembly: SecurityPermission(SecurityAction.RequestMinimum, Execution = true)] | 28 | [assembly: SecurityPermission(SecurityAction.RequestMinimum, Execution = true)] |
| @@ -1,30 +1,30 @@ | |||
| 1 | using System; | 1 | using System; |
| 2 | using System.Reflection; | 2 | using System.Reflection; |
| 3 | using System.Resources; | 3 | using System.Resources; |
| 4 | using System.Runtime.InteropServices; | 4 | using System.Runtime.InteropServices; |
| 5 | using System.Security.Permissions; | 5 | using System.Security.Permissions; |
| 6 | 6 | ||
| 7 | // Assembly identity attributes. | 7 | // Assembly identity attributes. |
| 8 | [assembly: AssemblyVersion("2.1.99.0")] | 8 | [assembly: AssemblyVersion("1.1.64.54531")] |
| 9 | 9 | ||
| 10 | // Informational attributes. | 10 | // Informational attributes. |
| 11 | [assembly: AssemblyCompany("TVA")] | 11 | [assembly: AssemblyCompany("TVA")] |
| 12 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] | 12 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] |
| 13 | [assembly: AssemblyProduct("openPDC Framework")] | 13 | [assembly: AssemblyProduct("openPDC Framework")] |
| 14 | 14 | ||
| 15 | // Assembly manifest attributes. | 15 | // Assembly manifest attributes. |
| 16 | #if DEBUG | 16 | #if DEBUG |
| 17 | [assembly: AssemblyConfiguration("Debug Build")] | 17 | [assembly: AssemblyConfiguration("Debug Build")] |
| 18 | #else | 18 | #else |
| 19 | [assembly: AssemblyConfiguration("Release Build")] | 19 | [assembly: AssemblyConfiguration("Release Build")] |
| 20 | #endif | 20 | #endif |
| 21 | [assembly: AssemblyDefaultAlias("TVA.Core")] | 21 | [assembly: AssemblyDefaultAlias("TVA.Core")] |
| 22 | [assembly: AssemblyDescription("Core components of the openPDC Framework.")] | 22 | [assembly: AssemblyDescription("Core components of the openPDC Framework.")] |
| 23 | [assembly: AssemblyTitle("TVA.Core")] | 23 | [assembly: AssemblyTitle("TVA.Core")] |
| 24 | 24 | ||
| 25 | // Other configuration attributes. | 25 | // Other configuration attributes. |
| 26 | [assembly: CLSCompliant(true)] | 26 | [assembly: CLSCompliant(true)] |
| 27 | [assembly: ComVisible(false)] | 27 | [assembly: ComVisible(false)] |
| 28 | [assembly: Guid("9448a8b5-35c1-4dc7-8c42-8712153ac08a")] | 28 | [assembly: Guid("9448a8b5-35c1-4dc7-8c42-8712153ac08a")] |
| 29 | [assembly: NeutralResourcesLanguage("en-US")] | 29 | [assembly: NeutralResourcesLanguage("en-US")] |
| 30 | [assembly: SecurityPermission(SecurityAction.RequestMinimum, Execution = true)] | 30 | [assembly: SecurityPermission(SecurityAction.RequestMinimum, Execution = true)] |
| @@ -1,867 +1,867 @@ | |||
| 1 | //******************************************************************************************************* | 1 | //******************************************************************************************************* |
| 2 | // AssemblyInfo.cs - Gbtc | 2 | // AssemblyInfo.cs - Gbtc |
| 3 | // | 3 | // |
| 4 | // Tennessee Valley Authority, 2009 | 4 | // Tennessee Valley Authority, 2009 |
| 5 | // No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved. | 5 | // No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved. |
| 6 | // | 6 | // |
| 7 | // This software is made freely available under the TVA Open Source Agreement (see below). | 7 | // This software is made freely available under the TVA Open Source Agreement (see below). |
| 8 | // | 8 | // |
| 9 | // Code Modification History: | 9 | // Code Modification History: |
| 10 | // ----------------------------------------------------------------------------------------------------- | 10 | // ----------------------------------------------------------------------------------------------------- |
| 11 | // 04/29/2005 - Pinal C. Patel | 11 | // 04/29/2005 - Pinal C. Patel |
| 12 | // Generated original version of source code. | 12 | // Generated original version of source code. |
| 13 | // 12/29/2005 - Pinal C. Patel | 13 | // 12/29/2005 - Pinal C. Patel |
| 14 | // Migrated 2.0 version of source code from 1.1 source (TVA.Shared.Assembly). | 14 | // Migrated 2.0 version of source code from 1.1 source (TVA.Shared.Assembly). |
| 15 | // 12/12/2007 - Darrell Zuercher | 15 | // 12/12/2007 - Darrell Zuercher |
| 16 | // Edited Code Comments. | 16 | // Edited Code Comments. |
| 17 | // 09/08/2008 - J. Ritchie Carroll | 17 | // 09/08/2008 - J. Ritchie Carroll |
| 18 | // Converted to C# as AssemblyInformation. | 18 | // Converted to C# as AssemblyInformation. |
| 19 | // 09/14/2009 - Stephen C. Wills | 19 | // 09/14/2009 - Stephen C. Wills |
| 20 | // Added new header and license agreement. | 20 | // Added new header and license agreement. |
| 21 | // 10/21/2009 - Pinal C. Patel | 21 | // 10/21/2009 - Pinal C. Patel |
| 22 | // Added error checking to assembly attribute properties. | 22 | // Added error checking to assembly attribute properties. |
| 23 | // | 23 | // |
| 24 | //******************************************************************************************************* | 24 | //******************************************************************************************************* |
| 25 | 25 | ||
| 26 | #region [ TVA Open Source Agreement ] | 26 | #region [ TVA Open Source Agreement ] |
| 27 | /* | 27 | /* |
| 28 | 28 | ||
| 29 | THIS OPEN SOURCE AGREEMENT ("AGREEMENT") DEFINES THE RIGHTS OF USE,REPRODUCTION, DISTRIBUTION, | 29 | THIS OPEN SOURCE AGREEMENT ("AGREEMENT") DEFINES THE RIGHTS OF USE,REPRODUCTION, DISTRIBUTION, |
| 30 | MODIFICATION AND REDISTRIBUTION OF CERTAIN COMPUTER SOFTWARE ORIGINALLY RELEASED BY THE | 30 | MODIFICATION AND REDISTRIBUTION OF CERTAIN COMPUTER SOFTWARE ORIGINALLY RELEASED BY THE |
| 31 | TENNESSEE VALLEY AUTHORITY, A CORPORATE AGENCY AND INSTRUMENTALITY OF THE UNITED STATES GOVERNMENT | 31 | TENNESSEE VALLEY AUTHORITY, A CORPORATE AGENCY AND INSTRUMENTALITY OF THE UNITED STATES GOVERNMENT |
| 32 | ("GOVERNMENT AGENCY"). GOVERNMENT AGENCY IS AN INTENDED THIRD-PARTY BENEFICIARY OF ALL SUBSEQUENT | 32 | ("GOVERNMENT AGENCY"). GOVERNMENT AGENCY IS AN INTENDED THIRD-PARTY BENEFICIARY OF ALL SUBSEQUENT |
| 33 | DISTRIBUTIONS OR REDISTRIBUTIONS OF THE SUBJECT SOFTWARE. ANYONE WHO USES, REPRODUCES, DISTRIBUTES, | 33 | DISTRIBUTIONS OR REDISTRIBUTIONS OF THE SUBJECT SOFTWARE. ANYONE WHO USES, REPRODUCES, DISTRIBUTES, |
| 34 | MODIFIES OR REDISTRIBUTES THE SUBJECT SOFTWARE, AS DEFINED HEREIN, OR ANY PART THEREOF, IS, BY THAT | 34 | MODIFIES OR REDISTRIBUTES THE SUBJECT SOFTWARE, AS DEFINED HEREIN, OR ANY PART THEREOF, IS, BY THAT |
| 35 | ACTION, ACCEPTING IN FULL THE RESPONSIBILITIES AND OBLIGATIONS CONTAINED IN THIS AGREEMENT. | 35 | ACTION, ACCEPTING IN FULL THE RESPONSIBILITIES AND OBLIGATIONS CONTAINED IN THIS AGREEMENT. |
| 36 | 36 | ||
| 37 | Original Software Designation: openPDC | 37 | Original Software Designation: openPDC |
| 38 | Original Software Title: The TVA Open Source Phasor Data Concentrator | 38 | Original Software Title: The TVA Open Source Phasor Data Concentrator |
| 39 | User Registration Requested. Please Visit https://naspi.tva.com/Registration/ | 39 | User Registration Requested. Please Visit https://naspi.tva.com/Registration/ |
| 40 | Point of Contact for Original Software: J. Ritchie Carroll <mailto:jrcarrol@tva.gov> | 40 | Point of Contact for Original Software: J. Ritchie Carroll <mailto:jrcarrol@tva.gov> |
| 41 | 41 | ||
| 42 | 1. DEFINITIONS | 42 | 1. DEFINITIONS |
| 43 | 43 | ||
| 44 | A. "Contributor" means Government Agency, as the developer of the Original Software, and any entity | 44 | A. "Contributor" means Government Agency, as the developer of the Original Software, and any entity |
| 45 | that makes a Modification. | 45 | that makes a Modification. |
| 46 | 46 | ||
| 47 | B. "Covered Patents" mean patent claims licensable by a Contributor that are necessarily infringed by | 47 | B. "Covered Patents" mean patent claims licensable by a Contributor that are necessarily infringed by |
| 48 | the use or sale of its Modification alone or when combined with the Subject Software. | 48 | the use or sale of its Modification alone or when combined with the Subject Software. |
| 49 | 49 | ||
| 50 | C. "Display" means the showing of a copy of the Subject Software, either directly or by means of an | 50 | C. "Display" means the showing of a copy of the Subject Software, either directly or by means of an |
| 51 | image, or any other device. | 51 | image, or any other device. |
| 52 | 52 | ||
| 53 | D. "Distribution" means conveyance or transfer of the Subject Software, regardless of means, to | 53 | D. "Distribution" means conveyance or transfer of the Subject Software, regardless of means, to |
| 54 | another. | 54 | another. |
| 55 | 55 | ||
| 56 | E. "Larger Work" means computer software that combines Subject Software, or portions thereof, with | 56 | E. "Larger Work" means computer software that combines Subject Software, or portions thereof, with |
| 57 | software separate from the Subject Software that is not governed by the terms of this Agreement. | 57 | software separate from the Subject Software that is not governed by the terms of this Agreement. |
| 58 | 58 | ||
| 59 | F. "Modification" means any alteration of, including addition to or deletion from, the substance or | 59 | F. "Modification" means any alteration of, including addition to or deletion from, the substance or |
| 60 | structure of either the Original Software or Subject Software, and includes derivative works, as that | 60 | structure of either the Original Software or Subject Software, and includes derivative works, as that |
| 61 | term is defined in the Copyright Statute, 17 USC § 101. However, the act of including Subject Software | 61 | term is defined in the Copyright Statute, 17 USC § 101. However, the act of including Subject Software |
| 62 | as part of a Larger Work does not in and of itself constitute a Modification. | 62 | as part of a Larger Work does not in and of itself constitute a Modification. |
| 63 | 63 | ||
| 64 | G. "Original Software" means the computer software first released under this Agreement by Government | 64 | G. "Original Software" means the computer software first released under this Agreement by Government |
| 65 | Agency entitled openPDC, including source code, object code and accompanying documentation, if any. | 65 | Agency entitled openPDC, including source code, object code and accompanying documentation, if any. |
| 66 | 66 | ||
| 67 | H. "Recipient" means anyone who acquires the Subject Software under this Agreement, including all | 67 | H. "Recipient" means anyone who acquires the Subject Software under this Agreement, including all |
| 68 | Contributors. | 68 | Contributors. |
| 69 | 69 | ||
| 70 | I. "Redistribution" means Distribution of the Subject Software after a Modification has been made. | 70 | I. "Redistribution" means Distribution of the Subject Software after a Modification has been made. |
| 71 | 71 | ||
| 72 | J. "Reproduction" means the making of a counterpart, image or copy of the Subject Software. | 72 | J. "Reproduction" means the making of a counterpart, image or copy of the Subject Software. |
| 73 | 73 | ||
| 74 | K. "Sale" means the exchange of the Subject Software for money or equivalent value. | 74 | K. "Sale" means the exchange of the Subject Software for money or equivalent value. |
| 75 | 75 | ||
| 76 | L. "Subject Software" means the Original Software, Modifications, or any respective parts thereof. | 76 | L. "Subject Software" means the Original Software, Modifications, or any respective parts thereof. |
| 77 | 77 | ||
| 78 | M. "Use" means the application or employment of the Subject Software for any purpose. | 78 | M. "Use" means the application or employment of the Subject Software for any purpose. |
| 79 | 79 | ||
| 80 | 2. GRANT OF RIGHTS | 80 | 2. GRANT OF RIGHTS |
| 81 | 81 | ||
| 82 | A. Under Non-Patent Rights: Subject to the terms and conditions of this Agreement, each Contributor, | 82 | A. Under Non-Patent Rights: Subject to the terms and conditions of this Agreement, each Contributor, |
| 83 | with respect to its own contribution to the Subject Software, hereby grants to each Recipient a | 83 | with respect to its own contribution to the Subject Software, hereby grants to each Recipient a |
| 84 | non-exclusive, world-wide, royalty-free license to engage in the following activities pertaining to | 84 | non-exclusive, world-wide, royalty-free license to engage in the following activities pertaining to |
| 85 | the Subject Software: | 85 | the Subject Software: |
| 86 | 86 | ||
| 87 | 1. Use | 87 | 1. Use |
| 88 | 88 | ||
| 89 | 2. Distribution | 89 | 2. Distribution |
| 90 | 90 | ||
| 91 | 3. Reproduction | 91 | 3. Reproduction |
| 92 | 92 | ||
| 93 | 4. Modification | 93 | 4. Modification |
| 94 | 94 | ||
| 95 | 5. Redistribution | 95 | 5. Redistribution |
| 96 | 96 | ||
| 97 | 6. Display | 97 | 6. Display |
| 98 | 98 | ||
| 99 | B. Under Patent Rights: Subject to the terms and conditions of this Agreement, each Contributor, with | 99 | B. Under Patent Rights: Subject to the terms and conditions of this Agreement, each Contributor, with |
| 100 | respect to its own contribution to the Subject Software, hereby grants to each Recipient under Covered | 100 | respect to its own contribution to the Subject Software, hereby grants to each Recipient under Covered |
| 101 | Patents a non-exclusive, world-wide, royalty-free license to engage in the following activities | 101 | Patents a non-exclusive, world-wide, royalty-free license to engage in the following activities |
| 102 | pertaining to the Subject Software: | 102 | pertaining to the Subject Software: |
| 103 | 103 | ||
| 104 | 1. Use | 104 | 1. Use |
| 105 | 105 | ||
| 106 | 2. Distribution | 106 | 2. Distribution |
| 107 | 107 | ||
| 108 | 3. Reproduction | 108 | 3. Reproduction |
| 109 | 109 | ||
| 110 | 4. Sale | 110 | 4. Sale |
| 111 | 111 | ||
| 112 | 5. Offer for Sale | 112 | 5. Offer for Sale |
| 113 | 113 | ||
| 114 | C. The rights granted under Paragraph B. also apply to the combination of a Contributor's Modification | 114 | C. The rights granted under Paragraph B. also apply to the combination of a Contributor's Modification |
| 115 | and the Subject Software if, at the time the Modification is added by the Contributor, the addition of | 115 | and the Subject Software if, at the time the Modification is added by the Contributor, the addition of |
| 116 | such Modification causes the combination to be covered by the Covered Patents. It does not apply to | 116 | such Modification causes the combination to be covered by the Covered Patents. It does not apply to |
| 117 | any other combinations that include a Modification. | 117 | any other combinations that include a Modification. |
| 118 | 118 | ||
| 119 | D. The rights granted in Paragraphs A. and B. allow the Recipient to sublicense those same rights. | 119 | D. The rights granted in Paragraphs A. and B. allow the Recipient to sublicense those same rights. |
| 120 | Such sublicense must be under the same terms and conditions of this Agreement. | 120 | Such sublicense must be under the same terms and conditions of this Agreement. |
| 121 | 121 | ||
| 122 | 3. OBLIGATIONS OF RECIPIENT | 122 | 3. OBLIGATIONS OF RECIPIENT |
| 123 | 123 | ||
| 124 | A. Distribution or Redistribution of the Subject Software must be made under this Agreement except for | 124 | A. Distribution or Redistribution of the Subject Software must be made under this Agreement except for |
| 125 | additions covered under paragraph 3H. | 125 | additions covered under paragraph 3H. |
| 126 | 126 | ||
| 127 | 1. Whenever a Recipient distributes or redistributes the Subject Software, a copy of this Agreement | 127 | 1. Whenever a Recipient distributes or redistributes the Subject Software, a copy of this Agreement |
| 128 | must be included with each copy of the Subject Software; and | 128 | must be included with each copy of the Subject Software; and |
| 129 | 129 | ||
| 130 | 2. If Recipient distributes or redistributes the Subject Software in any form other than source code, | 130 | 2. If Recipient distributes or redistributes the Subject Software in any form other than source code, |
| 131 | Recipient must also make the source code freely available, and must provide with each copy of the | 131 | Recipient must also make the source code freely available, and must provide with each copy of the |
| 132 | Subject Software information on how to obtain the source code in a reasonable manner on or through a | 132 | Subject Software information on how to obtain the source code in a reasonable manner on or through a |
| 133 | medium customarily used for software exchange. | 133 | medium customarily used for software exchange. |
| 134 | 134 | ||
| 135 | B. Each Recipient must ensure that the following copyright notice appears prominently in the Subject | 135 | B. Each Recipient must ensure that the following copyright notice appears prominently in the Subject |
| 136 | Software: | 136 | Software: |
| 137 | 137 | ||
| 138 | No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved. | 138 | No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved. |
| 139 | 139 | ||
| 140 | C. Each Contributor must characterize its alteration of the Subject Software as a Modification and | 140 | C. Each Contributor must characterize its alteration of the Subject Software as a Modification and |
| 141 | must identify itself as the originator of its Modification in a manner that reasonably allows | 141 | must identify itself as the originator of its Modification in a manner that reasonably allows |
| 142 | subsequent Recipients to identify the originator of the Modification. In fulfillment of these | 142 | subsequent Recipients to identify the originator of the Modification. In fulfillment of these |
| 143 | requirements, Contributor must include a file (e.g., a change log file) that describes the alterations | 143 | requirements, Contributor must include a file (e.g., a change log file) that describes the alterations |
| 144 | made and the date of the alterations, identifies Contributor as originator of the alterations, and | 144 | made and the date of the alterations, identifies Contributor as originator of the alterations, and |
| 145 | consents to characterization of the alterations as a Modification, for example, by including a | 145 | consents to characterization of the alterations as a Modification, for example, by including a |
| 146 | statement that the Modification is derived, directly or indirectly, from Original Software provided by | 146 | statement that the Modification is derived, directly or indirectly, from Original Software provided by |
| 147 | Government Agency. Once consent is granted, it may not thereafter be revoked. | 147 | Government Agency. Once consent is granted, it may not thereafter be revoked. |
| 148 | 148 | ||
| 149 | D. A Contributor may add its own copyright notice to the Subject Software. Once a copyright notice has | 149 | D. A Contributor may add its own copyright notice to the Subject Software. Once a copyright notice has |
| 150 | been added to the Subject Software, a Recipient may not remove it without the express permission of | 150 | been added to the Subject Software, a Recipient may not remove it without the express permission of |
| 151 | the Contributor who added the notice. | 151 | the Contributor who added the notice. |
| 152 | 152 | ||
| 153 | E. A Recipient may not make any representation in the Subject Software or in any promotional, | 153 | E. A Recipient may not make any representation in the Subject Software or in any promotional, |
| 154 | advertising or other material that may be construed as an endorsement by Government Agency or by any | 154 | advertising or other material that may be construed as an endorsement by Government Agency or by any |
| 155 | prior Recipient of any product or service provided by Recipient, or that may seek to obtain commercial | 155 | prior Recipient of any product or service provided by Recipient, or that may seek to obtain commercial |
| 156 | advantage by the fact of Government Agency's or a prior Recipient's participation in this Agreement. | 156 | advantage by the fact of Government Agency's or a prior Recipient's participation in this Agreement. |
| 157 | 157 | ||
| 158 | F. In an effort to track usage and maintain accurate records of the Subject Software, each Recipient, | 158 | F. In an effort to track usage and maintain accurate records of the Subject Software, each Recipient, |
| 159 | upon receipt of the Subject Software, is requested to register with Government Agency by visiting the | 159 | upon receipt of the Subject Software, is requested to register with Government Agency by visiting the |
| 160 | following website: https://naspi.tva.com/Registration/. Recipient's name and personal information | 160 | following website: https://naspi.tva.com/Registration/. Recipient's name and personal information |
| 161 | shall be used for statistical purposes only. Once a Recipient makes a Modification available, it is | 161 | shall be used for statistical purposes only. Once a Recipient makes a Modification available, it is |
| 162 | requested that the Recipient inform Government Agency at the web site provided above how to access the | 162 | requested that the Recipient inform Government Agency at the web site provided above how to access the |
| 163 | Modification. | 163 | Modification. |
| 164 | 164 | ||
| 165 | G. Each Contributor represents that that its Modification does not violate any existing agreements, | 165 | G. Each Contributor represents that that its Modification does not violate any existing agreements, |
| 166 | regulations, statutes or rules, and further that Contributor has sufficient rights to grant the rights | 166 | regulations, statutes or rules, and further that Contributor has sufficient rights to grant the rights |
| 167 | conveyed by this Agreement. | 167 | conveyed by this Agreement. |
| 168 | 168 | ||
| 169 | H. A Recipient may choose to offer, and to charge a fee for, warranty, support, indemnity and/or | 169 | H. A Recipient may choose to offer, and to charge a fee for, warranty, support, indemnity and/or |
| 170 | liability obligations to one or more other Recipients of the Subject Software. A Recipient may do so, | 170 | liability obligations to one or more other Recipients of the Subject Software. A Recipient may do so, |
| 171 | however, only on its own behalf and not on behalf of Government Agency or any other Recipient. Such a | 171 | however, only on its own behalf and not on behalf of Government Agency or any other Recipient. Such a |
| 172 | Recipient must make it absolutely clear that any such warranty, support, indemnity and/or liability | 172 | Recipient must make it absolutely clear that any such warranty, support, indemnity and/or liability |
| 173 | obligation is offered by that Recipient alone. Further, such Recipient agrees to indemnify Government | 173 | obligation is offered by that Recipient alone. Further, such Recipient agrees to indemnify Government |
| 174 | Agency and every other Recipient for any liability incurred by them as a result of warranty, support, | 174 | Agency and every other Recipient for any liability incurred by them as a result of warranty, support, |
| 175 | indemnity and/or liability offered by such Recipient. | 175 | indemnity and/or liability offered by such Recipient. |
| 176 | 176 | ||
| 177 | I. A Recipient may create a Larger Work by combining Subject Software with separate software not | 177 | I. A Recipient may create a Larger Work by combining Subject Software with separate software not |
| 178 | governed by the terms of this agreement and distribute the Larger Work as a single product. In such | 178 | governed by the terms of this agreement and distribute the Larger Work as a single product. In such |
| 179 | case, the Recipient must make sure Subject Software, or portions thereof, included in the Larger Work | 179 | case, the Recipient must make sure Subject Software, or portions thereof, included in the Larger Work |
| 180 | is subject to this Agreement. | 180 | is subject to this Agreement. |
| 181 | 181 | ||
| 182 | J. Notwithstanding any provisions contained herein, Recipient is hereby put on notice that export of | 182 | J. Notwithstanding any provisions contained herein, Recipient is hereby put on notice that export of |
| 183 | any goods or technical data from the United States may require some form of export license from the | 183 | any goods or technical data from the United States may require some form of export license from the |
| 184 | U.S. Government. Failure to obtain necessary export licenses may result in criminal liability under | 184 | U.S. Government. Failure to obtain necessary export licenses may result in criminal liability under |
| 185 | U.S. laws. Government Agency neither represents that a license shall not be required nor that, if | 185 | U.S. laws. Government Agency neither represents that a license shall not be required nor that, if |
| 186 | required, it shall be issued. Nothing granted herein provides any such export license. | 186 | required, it shall be issued. Nothing granted herein provides any such export license. |
| 187 | 187 | ||
| 188 | 4. DISCLAIMER OF WARRANTIES AND LIABILITIES; WAIVER AND INDEMNIFICATION | 188 | 4. DISCLAIMER OF WARRANTIES AND LIABILITIES; WAIVER AND INDEMNIFICATION |
| 189 | 189 | ||
| 190 | A. No Warranty: THE SUBJECT SOFTWARE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY OF ANY KIND, EITHER | 190 | A. No Warranty: THE SUBJECT SOFTWARE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY OF ANY KIND, EITHER |
| 191 | EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY THAT THE SUBJECT | 191 | EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY THAT THE SUBJECT |
| 192 | SOFTWARE WILL CONFORM TO SPECIFICATIONS, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A | 192 | SOFTWARE WILL CONFORM TO SPECIFICATIONS, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A |
| 193 | PARTICULAR PURPOSE, OR FREEDOM FROM INFRINGEMENT, ANY WARRANTY THAT THE SUBJECT SOFTWARE WILL BE ERROR | 193 | PARTICULAR PURPOSE, OR FREEDOM FROM INFRINGEMENT, ANY WARRANTY THAT THE SUBJECT SOFTWARE WILL BE ERROR |
| 194 | FREE, OR ANY WARRANTY THAT DOCUMENTATION, IF PROVIDED, WILL CONFORM TO THE SUBJECT SOFTWARE. THIS | 194 | FREE, OR ANY WARRANTY THAT DOCUMENTATION, IF PROVIDED, WILL CONFORM TO THE SUBJECT SOFTWARE. THIS |
| 195 | AGREEMENT DOES NOT, IN ANY MANNER, CONSTITUTE AN ENDORSEMENT BY GOVERNMENT AGENCY OR ANY PRIOR | 195 | AGREEMENT DOES NOT, IN ANY MANNER, CONSTITUTE AN ENDORSEMENT BY GOVERNMENT AGENCY OR ANY PRIOR |
| 196 | RECIPIENT OF ANY RESULTS, RESULTING DESIGNS, HARDWARE, SOFTWARE PRODUCTS OR ANY OTHER APPLICATIONS | 196 | RECIPIENT OF ANY RESULTS, RESULTING DESIGNS, HARDWARE, SOFTWARE PRODUCTS OR ANY OTHER APPLICATIONS |
| 197 | RESULTING FROM USE OF THE SUBJECT SOFTWARE. FURTHER, GOVERNMENT AGENCY DISCLAIMS ALL WARRANTIES AND | 197 | RESULTING FROM USE OF THE SUBJECT SOFTWARE. FURTHER, GOVERNMENT AGENCY DISCLAIMS ALL WARRANTIES AND |
| 198 | LIABILITIES REGARDING THIRD-PARTY SOFTWARE, IF PRESENT IN THE ORIGINAL SOFTWARE, AND DISTRIBUTES IT | 198 | LIABILITIES REGARDING THIRD-PARTY SOFTWARE, IF PRESENT IN THE ORIGINAL SOFTWARE, AND DISTRIBUTES IT |
| 199 | "AS IS." | 199 | "AS IS." |
| 200 | 200 | ||
| 201 | B. Waiver and Indemnity: RECIPIENT AGREES TO WAIVE ANY AND ALL CLAIMS AGAINST GOVERNMENT AGENCY, ITS | 201 | B. Waiver and Indemnity: RECIPIENT AGREES TO WAIVE ANY AND ALL CLAIMS AGAINST GOVERNMENT AGENCY, ITS |
| 202 | AGENTS, EMPLOYEES, CONTRACTORS AND SUBCONTRACTORS, AS WELL AS ANY PRIOR RECIPIENT. IF RECIPIENT'S USE | 202 | AGENTS, EMPLOYEES, CONTRACTORS AND SUBCONTRACTORS, AS WELL AS ANY PRIOR RECIPIENT. IF RECIPIENT'S USE |
| 203 | OF THE SUBJECT SOFTWARE RESULTS IN ANY LIABILITIES, DEMANDS, DAMAGES, EXPENSES OR LOSSES ARISING FROM | 203 | OF THE SUBJECT SOFTWARE RESULTS IN ANY LIABILITIES, DEMANDS, DAMAGES, EXPENSES OR LOSSES ARISING FROM |
| 204 | SUCH USE, INCLUDING ANY DAMAGES FROM PRODUCTS BASED ON, OR RESULTING FROM, RECIPIENT'S USE OF THE | 204 | SUCH USE, INCLUDING ANY DAMAGES FROM PRODUCTS BASED ON, OR RESULTING FROM, RECIPIENT'S USE OF THE |
| 205 | SUBJECT SOFTWARE, RECIPIENT SHALL INDEMNIFY AND HOLD HARMLESS GOVERNMENT AGENCY, ITS AGENTS, | 205 | SUBJECT SOFTWARE, RECIPIENT SHALL INDEMNIFY AND HOLD HARMLESS GOVERNMENT AGENCY, ITS AGENTS, |
| 206 | EMPLOYEES, CONTRACTORS AND SUBCONTRACTORS, AS WELL AS ANY PRIOR RECIPIENT, TO THE EXTENT PERMITTED BY | 206 | EMPLOYEES, CONTRACTORS AND SUBCONTRACTORS, AS WELL AS ANY PRIOR RECIPIENT, TO THE EXTENT PERMITTED BY |
| 207 | LAW. THE FOREGOING RELEASE AND INDEMNIFICATION SHALL APPLY EVEN IF THE LIABILITIES, DEMANDS, DAMAGES, | 207 | LAW. THE FOREGOING RELEASE AND INDEMNIFICATION SHALL APPLY EVEN IF THE LIABILITIES, DEMANDS, DAMAGES, |
| 208 | EXPENSES OR LOSSES ARE CAUSED, OCCASIONED, OR CONTRIBUTED TO BY THE NEGLIGENCE, SOLE OR CONCURRENT, OF | 208 | EXPENSES OR LOSSES ARE CAUSED, OCCASIONED, OR CONTRIBUTED TO BY THE NEGLIGENCE, SOLE OR CONCURRENT, OF |
| 209 | GOVERNMENT AGENCY OR ANY PRIOR RECIPIENT. RECIPIENT'S SOLE REMEDY FOR ANY SUCH MATTER SHALL BE THE | 209 | GOVERNMENT AGENCY OR ANY PRIOR RECIPIENT. RECIPIENT'S SOLE REMEDY FOR ANY SUCH MATTER SHALL BE THE |
| 210 | IMMEDIATE, UNILATERAL TERMINATION OF THIS AGREEMENT. | 210 | IMMEDIATE, UNILATERAL TERMINATION OF THIS AGREEMENT. |
| 211 | 211 | ||
| 212 | 5. GENERAL TERMS | 212 | 5. GENERAL TERMS |
| 213 | 213 | ||
| 214 | A. Termination: This Agreement and the rights granted hereunder will terminate automatically if a | 214 | A. Termination: This Agreement and the rights granted hereunder will terminate automatically if a |
| 215 | Recipient fails to comply with these terms and conditions, and fails to cure such noncompliance within | 215 | Recipient fails to comply with these terms and conditions, and fails to cure such noncompliance within |
| 216 | thirty (30) days of becoming aware of such noncompliance. Upon termination, a Recipient agrees to | 216 | thirty (30) days of becoming aware of such noncompliance. Upon termination, a Recipient agrees to |
| 217 | immediately cease use and distribution of the Subject Software. All sublicenses to the Subject | 217 | immediately cease use and distribution of the Subject Software. All sublicenses to the Subject |
| 218 | Software properly granted by the breaching Recipient shall survive any such termination of this | 218 | Software properly granted by the breaching Recipient shall survive any such termination of this |
| 219 | Agreement. | 219 | Agreement. |
| 220 | 220 | ||
| 221 | B. Severability: If any provision of this Agreement is invalid or unenforceable under applicable law, | 221 | B. Severability: If any provision of this Agreement is invalid or unenforceable under applicable law, |
| 222 | it shall not affect the validity or enforceability of the remainder of the terms of this Agreement. | 222 | it shall not affect the validity or enforceability of the remainder of the terms of this Agreement. |
| 223 | 223 | ||
| 224 | C. Applicable Law: This Agreement shall be subject to United States federal law only for all purposes, | 224 | C. Applicable Law: This Agreement shall be subject to United States federal law only for all purposes, |
| 225 | including, but not limited to, determining the validity of this Agreement, the meaning of its | 225 | including, but not limited to, determining the validity of this Agreement, the meaning of its |
| 226 | provisions and the rights, obligations and remedies of the parties. | 226 | provisions and the rights, obligations and remedies of the parties. |
| 227 | 227 | ||
| 228 | D. Entire Understanding: This Agreement constitutes the entire understanding and agreement of the | 228 | D. Entire Understanding: This Agreement constitutes the entire understanding and agreement of the |
| 229 | parties relating to release of the Subject Software and may not be superseded, modified or amended | 229 | parties relating to release of the Subject Software and may not be superseded, modified or amended |
| 230 | except by further written agreement duly executed by the parties. | 230 | except by further written agreement duly executed by the parties. |
| 231 | 231 | ||
| 232 | E. Binding Authority: By accepting and using the Subject Software under this Agreement, a Recipient | 232 | E. Binding Authority: By accepting and using the Subject Software under this Agreement, a Recipient |
| 233 | affirms its authority to bind the Recipient to all terms and conditions of this Agreement and that | 233 | affirms its authority to bind the Recipient to all terms and conditions of this Agreement and that |
| 234 | Recipient hereby agrees to all terms and conditions herein. | 234 | Recipient hereby agrees to all terms and conditions herein. |
| 235 | 235 | ||
| 236 | F. Point of Contact: Any Recipient contact with Government Agency is to be directed to the designated | 236 | F. Point of Contact: Any Recipient contact with Government Agency is to be directed to the designated |
| 237 | representative as follows: J. Ritchie Carroll <mailto:jrcarrol@tva.gov>. | 237 | representative as follows: J. Ritchie Carroll <mailto:jrcarrol@tva.gov>. |
| 238 | 238 | ||
| 239 | */ | 239 | */ |
| 240 | #endregion | 240 | #endregion |
| 241 | 241 | ||
| 242 | using System; | 242 | using System; |
| 243 | using System.Collections.Generic; | 243 | using System.Collections.Generic; |
| 244 | using System.Collections.Specialized; | 244 | using System.Collections.Specialized; |
| 245 | using System.Diagnostics; | 245 | using System.Diagnostics; |
| 246 | using System.IO; | 246 | using System.IO; |
| 247 | using System.Reflection; | 247 | using System.Reflection; |
| 248 | using System.Resources; | 248 | using System.Resources; |
| 249 | using System.Runtime.InteropServices; | 249 | using System.Runtime.InteropServices; |
| 250 | using System.Security.Permissions; | 250 | using System.Security.Permissions; |
| 251 | using TVA.IO; | 251 | using TVA.IO; |
| 252 | 252 | ||
| 253 | namespace TVA.Reflection | 253 | namespace TVA.Reflection |
| 254 | { | 254 | { |
| 255 | /// <summary>Assembly Information Class.</summary> | 255 | /// <summary>Assembly Information Class.</summary> |
| 256 | public class AssemblyInfo | 256 | public class AssemblyInfo |
| 257 | { | 257 | { |
| 258 | #region [ Members ] | 258 | #region [ Members ] |
| 259 | 259 | ||
| 260 | // Fields | 260 | // Fields |
| 261 | private Assembly m_assemblyInstance; | 261 | private Assembly m_assemblyInstance; |
| 262 | 262 | ||
| 263 | #endregion | 263 | #endregion |
| 264 | 264 | ||
| 265 | #region [ Constructors ] | 265 | #region [ Constructors ] |
| 266 | 266 | ||
| 267 | /// <summary>Initializes a new instance of the <see cref="AssemblyInfo"/> class.</summary> | 267 | /// <summary>Initializes a new instance of the <see cref="AssemblyInfo"/> class.</summary> |
| 268 | /// <param name="assemblyInstance">An <see cref="Assembly"/> object.</param> | 268 | /// <param name="assemblyInstance">An <see cref="Assembly"/> object.</param> |
| 269 | public AssemblyInfo(Assembly assemblyInstance) | 269 | public AssemblyInfo(Assembly assemblyInstance) |
| 270 | { | 270 | { |
| 271 | m_assemblyInstance = assemblyInstance; | 271 | m_assemblyInstance = assemblyInstance; |
| 272 | } | 272 | } |
| 273 | 273 | ||
| 274 | #endregion | 274 | #endregion |
| 275 | 275 | ||
| 276 | #region [ Properties ] | 276 | #region [ Properties ] |
| 277 | 277 | ||
| 278 | /// <summary>Gets the title information of the assembly.</summary> | 278 | /// <summary>Gets the title information of the assembly.</summary> |
| 279 | /// <returns>The title information of the assembly.</returns> | 279 | /// <returns>The title information of the assembly.</returns> |
| 280 | public string Title | 280 | public string Title |
| 281 | { | 281 | { |
| 282 | get | 282 | get |
| 283 | { | 283 | { |
| 284 | AssemblyTitleAttribute attribute = GetCustomAttribute(typeof(AssemblyTitleAttribute)) as AssemblyTitleAttribute; | 284 | AssemblyTitleAttribute attribute = GetCustomAttribute(typeof(AssemblyTitleAttribute)) as AssemblyTitleAttribute; |
| 285 | if (attribute == null) | 285 | if (attribute == null) |
| 286 | return string.Empty; | 286 | return string.Empty; |
| 287 | else | 287 | else |
| 288 | return attribute.Title; | 288 | return attribute.Title; |
| 289 | } | 289 | } |
| 290 | } | 290 | } |
| 291 | 291 | ||
| 292 | /// <summary>Gets the description information of the assembly.</summary> | 292 | /// <summary>Gets the description information of the assembly.</summary> |
| 293 | /// <returns>The description information of the assembly.</returns> | 293 | /// <returns>The description information of the assembly.</returns> |
| 294 | public string Description | 294 | public string Description |
| 295 | { | 295 | { |
| 296 | get | 296 | get |
| 297 | { | 297 | { |
| 298 | AssemblyDescriptionAttribute attribute = GetCustomAttribute(typeof(AssemblyDescriptionAttribute)) as AssemblyDescriptionAttribute; | 298 | AssemblyDescriptionAttribute attribute = GetCustomAttribute(typeof(AssemblyDescriptionAttribute)) as AssemblyDescriptionAttribute; |
| 299 | if (attribute == null) | 299 | if (attribute == null) |
| 300 | return string.Empty; | 300 | return string.Empty; |
| 301 | else | 301 | else |
| 302 | return attribute.Description; | 302 | return attribute.Description; |
| 303 | } | 303 | } |
| 304 | } | 304 | } |
| 305 | 305 | ||
| 306 | /// <summary>Gets the company name information of the assembly.</summary> | 306 | /// <summary>Gets the company name information of the assembly.</summary> |
| 307 | /// <returns>The company name information of the assembly.</returns> | 307 | /// <returns>The company name information of the assembly.</returns> |
| 308 | public string Company | 308 | public string Company |
| 309 | { | 309 | { |
| 310 | get | 310 | get |
| 311 | { | 311 | { |
| 312 | AssemblyCompanyAttribute attribute = GetCustomAttribute(typeof(AssemblyCompanyAttribute)) as AssemblyCompanyAttribute; | 312 | AssemblyCompanyAttribute attribute = GetCustomAttribute(typeof(AssemblyCompanyAttribute)) as AssemblyCompanyAttribute; |
| 313 | if (attribute == null) | 313 | if (attribute == null) |
| 314 | return string.Empty; | 314 | return string.Empty; |
| 315 | else | 315 | else |
| 316 | return attribute.Company; | 316 | return attribute.Company; |
| 317 | } | 317 | } |
| 318 | } | 318 | } |
| 319 | 319 | ||
| 320 | /// <summary>Gets the product name information of the assembly.</summary> | 320 | /// <summary>Gets the product name information of the assembly.</summary> |
| 321 | /// <returns>The product name information of the assembly.</returns> | 321 | /// <returns>The product name information of the assembly.</returns> |
| 322 | public string Product | 322 | public string Product |
| 323 | { | 323 | { |
| 324 | get | 324 | get |
| 325 | { | 325 | { |
| 326 | AssemblyProductAttribute attribute = GetCustomAttribute(typeof(AssemblyProductAttribute)) as AssemblyProductAttribute; | 326 | AssemblyProductAttribute attribute = GetCustomAttribute(typeof(AssemblyProductAttribute)) as AssemblyProductAttribute; |
| 327 | if (attribute == null) | 327 | if (attribute == null) |
| 328 | return string.Empty; | 328 | return string.Empty; |
| 329 | else | 329 | else |
| 330 | return attribute.Product; | 330 | return attribute.Product; |
| 331 | } | 331 | } |
| 332 | } | 332 | } |
| 333 | 333 | ||
| 334 | /// <summary>Gets the copyright information of the assembly.</summary> | 334 | /// <summary>Gets the copyright information of the assembly.</summary> |
| 335 | /// <returns>The copyright information of the assembly.</returns> | 335 | /// <returns>The copyright information of the assembly.</returns> |
| 336 | public string Copyright | 336 | public string Copyright |
| 337 | { | 337 | { |
| 338 | get | 338 | get |
| 339 | { | 339 | { |
| 340 | AssemblyCopyrightAttribute attribute = GetCustomAttribute(typeof(AssemblyCopyrightAttribute)) as AssemblyCopyrightAttribute; | 340 | AssemblyCopyrightAttribute attribute = GetCustomAttribute(typeof(AssemblyCopyrightAttribute)) as AssemblyCopyrightAttribute; |
| 341 | if (attribute == null) | 341 | if (attribute == null) |
| 342 | return string.Empty; | 342 | return string.Empty; |
| 343 | else | 343 | else |
| 344 | return attribute.Copyright; | 344 | return attribute.Copyright; |
| 345 | } | 345 | } |
| 346 | } | 346 | } |
| 347 | 347 | ||
| 348 | /// <summary>Gets the trademark information of the assembly.</summary> | 348 | /// <summary>Gets the trademark information of the assembly.</summary> |
| 349 | /// <returns>The trademark information of the assembly.</returns> | 349 | /// <returns>The trademark information of the assembly.</returns> |
| 350 | public string Trademark | 350 | public string Trademark |
| 351 | { | 351 | { |
| 352 | get | 352 | get |
| 353 | { | 353 | { |
| 354 | AssemblyTrademarkAttribute attribute = GetCustomAttribute(typeof(AssemblyTrademarkAttribute)) as AssemblyTrademarkAttribute; | 354 | AssemblyTrademarkAttribute attribute = GetCustomAttribute(typeof(AssemblyTrademarkAttribute)) as AssemblyTrademarkAttribute; |
| 355 | if (attribute == null) | 355 | if (attribute == null) |
| 356 | return string.Empty; | 356 | return string.Empty; |
| 357 | else | 357 | else |
| 358 | return attribute.Trademark; | 358 | return attribute.Trademark; |
| 359 | } | 359 | } |
| 360 | } | 360 | } |
| 361 | 361 | ||
| 362 | /// <summary>Gets the configuration information of the assembly.</summary> | 362 | /// <summary>Gets the configuration information of the assembly.</summary> |
| 363 | /// <returns>The configuration information of the assembly.</returns> | 363 | /// <returns>The configuration information of the assembly.</returns> |
| 364 | public string Configuration | 364 | public string Configuration |
| 365 | { | 365 | { |
| 366 | get | 366 | get |
| 367 | { | 367 | { |
| 368 | AssemblyConfigurationAttribute attribute = GetCustomAttribute(typeof(AssemblyConfigurationAttribute)) as AssemblyConfigurationAttribute; | 368 | AssemblyConfigurationAttribute attribute = GetCustomAttribute(typeof(AssemblyConfigurationAttribute)) as AssemblyConfigurationAttribute; |
| 369 | if (attribute == null) | 369 | if (attribute == null) |
| 370 | return string.Empty; | 370 | return string.Empty; |
| 371 | else | 371 | else |
| 372 | return attribute.Configuration; | 372 | return attribute.Configuration; |
| 373 | } | 373 | } |
| 374 | } | 374 | } |
| 375 | 375 | ||
| 376 | /// <summary>Gets a boolean value indicating if the assembly has been built as delay-signed.</summary> | 376 | /// <summary>Gets a boolean value indicating if the assembly has been built as delay-signed.</summary> |
| 377 | /// <returns>True, if the assembly has been built as delay-signed; otherwise, False.</returns> | 377 | /// <returns>True, if the assembly has been built as delay-signed; otherwise, False.</returns> |
| 378 | public bool DelaySign | 378 | public bool DelaySign |
| 379 | { | 379 | { |
| 380 | get | 380 | get |
| 381 | { | 381 | { |
| 382 | AssemblyDelaySignAttribute attribute = GetCustomAttribute(typeof(AssemblyDelaySignAttribute)) as AssemblyDelaySignAttribute; | 382 | AssemblyDelaySignAttribute attribute = GetCustomAttribute(typeof(AssemblyDelaySignAttribute)) as AssemblyDelaySignAttribute; |
| 383 | if (attribute == null) | 383 | if (attribute == null) |
| 384 | return false; | 384 | return false; |
| 385 | else | 385 | else |
| 386 | return attribute.DelaySign; | 386 | return attribute.DelaySign; |
| 387 | } | 387 | } |
| 388 | } | 388 | } |
| 389 | 389 | ||
| 390 | /// <summary>Gets the version information of the assembly.</summary> | 390 | /// <summary>Gets the version information of the assembly.</summary> |
| 391 | /// <returns>The version information of the assembly</returns> | 391 | /// <returns>The version information of the assembly</returns> |
| 392 | public string InformationalVersion | 392 | public string InformationalVersion |
| 393 | { | 393 | { |
| 394 | get | 394 | get |
| 395 | { | 395 | { |
| 396 | AssemblyInformationalVersionAttribute attribute = GetCustomAttribute(typeof(AssemblyInformationalVersionAttribute)) as AssemblyInformationalVersionAttribute; | 396 | AssemblyInformationalVersionAttribute attribute = GetCustomAttribute(typeof(AssemblyInformationalVersionAttribute)) as AssemblyInformationalVersionAttribute; |
| 397 | if (attribute == null) | 397 | if (attribute == null) |
| 398 | return string.Empty; | 398 | return string.Empty; |
| 399 | else | 399 | else |
| 400 | return attribute.InformationalVersion; | 400 | return attribute.InformationalVersion; |
| 401 | } | 401 | } |
| 402 | } | 402 | } |
| 403 | 403 | ||
| 404 | /// <summary>Gets the name of the file containing the key pair used to generate a strong name for the attributed | 404 | /// <summary>Gets the name of the file containing the key pair used to generate a strong name for the attributed |
| 405 | /// assembly.</summary> | 405 | /// assembly.</summary> |
| 406 | /// <returns>A string containing the name of the file that contains the key pair.</returns> | 406 | /// <returns>A string containing the name of the file that contains the key pair.</returns> |
| 407 | public string KeyFile | 407 | public string KeyFile |
| 408 | { | 408 | { |
| 409 | get | 409 | get |
| 410 | { | 410 | { |
| 411 | AssemblyKeyFileAttribute attribute = GetCustomAttribute(typeof(AssemblyKeyFileAttribute)) as AssemblyKeyFileAttribute; | 411 | AssemblyKeyFileAttribute attribute = GetCustomAttribute(typeof(AssemblyKeyFileAttribute)) as AssemblyKeyFileAttribute; |
| 412 | if (attribute == null) | 412 | if (attribute == null) |
| 413 | return string.Empty; | 413 | return string.Empty; |
| 414 | else | 414 | else |
| 415 | return attribute.KeyFile; | 415 | return attribute.KeyFile; |
| 416 | } | 416 | } |
| 417 | } | 417 | } |
| 418 | 418 | ||
| 419 | /// <summary>Gets the culture name of the assembly.</summary> | 419 | /// <summary>Gets the culture name of the assembly.</summary> |
| 420 | /// <returns>The culture name of the assembly.</returns> | 420 | /// <returns>The culture name of the assembly.</returns> |
| 421 | public string CultureName | 421 | public string CultureName |
| 422 | { | 422 | { |
| 423 | get | 423 | get |
| 424 | { | 424 | { |
| 425 | NeutralResourcesLanguageAttribute attribute = GetCustomAttribute(typeof(NeutralResourcesLanguageAttribute)) as NeutralResourcesLanguageAttribute; | 425 | NeutralResourcesLanguageAttribute attribute = GetCustomAttribute(typeof(NeutralResourcesLanguageAttribute)) as NeutralResourcesLanguageAttribute; |
| 426 | if (attribute == null) | 426 | if (attribute == null) |
| 427 | return string.Empty; | 427 | return string.Empty; |
| 428 | else | 428 | else |
| 429 | return attribute.CultureName; | 429 | return attribute.CultureName; |
| 430 | } | 430 | } |
| 431 | } | 431 | } |
| 432 | 432 | ||
| 433 | /// <summary>Gets the assembly version used to instruct the System.Resources.ResourceManager to ask for a particular | 433 | /// <summary>Gets the assembly version used to instruct the System.Resources.ResourceManager to ask for a particular |
| 434 | /// version of a satellite assembly to simplify updates of the main assembly of an application.</summary> | 434 | /// version of a satellite assembly to simplify updates of the main assembly of an application.</summary> |
| 435 | public string SatelliteContractVersion | 435 | public string SatelliteContractVersion |
| 436 | { | 436 | { |
| 437 | get | 437 | get |
| 438 | { | 438 | { |
| 439 | SatelliteContractVersionAttribute attribute = GetCustomAttribute(typeof(SatelliteContractVersionAttribute)) as SatelliteContractVersionAttribute; | 439 | SatelliteContractVersionAttribute attribute = GetCustomAttribute(typeof(SatelliteContractVersionAttribute)) as SatelliteContractVersionAttribute; |
| 440 | if (attribute == null) | 440 | if (attribute == null) |
| 441 | return string.Empty; | 441 | return string.Empty; |
| 442 | else | 442 | else |
| 443 | return attribute.Version; | 443 | return attribute.Version; |
| 444 | } | 444 | } |
| 445 | } | 445 | } |
| 446 | 446 | ||
| 447 | /// <summary>Gets the string representing the assembly version used to indicate to a COM client that all classes | 447 | /// <summary>Gets the string representing the assembly version used to indicate to a COM client that all classes |
| 448 | /// in the current version of the assembly are compatible with classes in an earlier version of the assembly.</summary> | 448 | /// in the current version of the assembly are compatible with classes in an earlier version of the assembly.</summary> |
| 449 | /// <returns>The string representing the assembly version in MajorVersion.MinorVersion.RevisionNumber.BuildNumber | 449 | /// <returns>The string representing the assembly version in MajorVersion.MinorVersion.RevisionNumber.BuildNumber |
| 450 | /// format.</returns> | 450 | /// format.</returns> |
| 451 | public string ComCompatibleVersion | 451 | public string ComCompatibleVersion |
| 452 | { | 452 | { |
| 453 | get | 453 | get |
| 454 | { | 454 | { |
| 455 | ComCompatibleVersionAttribute attribute = GetCustomAttribute(typeof(ComCompatibleVersionAttribute)) as ComCompatibleVersionAttribute; | 455 | ComCompatibleVersionAttribute attribute = GetCustomAttribute(typeof(ComCompatibleVersionAttribute)) as ComCompatibleVersionAttribute; |
| 456 | if (attribute == null) | 456 | if (attribute == null) |
| 457 | return string.Empty; | 457 | return string.Empty; |
| 458 | else | 458 | else |
| 459 | return attribute.MajorVersion.ToString() + "." + attribute.MinorVersion.ToString() + "." + "." + attribute.BuildNumber.ToString() + attribute.RevisionNumber.ToString(); | 459 | return attribute.MajorVersion.ToString() + "." + attribute.MinorVersion.ToString() + "." + "." + attribute.BuildNumber.ToString() + attribute.RevisionNumber.ToString(); |
| 460 | } | 460 | } |
| 461 | } | 461 | } |
| 462 | 462 | ||
| 463 | /// <summary>Gets a boolean value indicating if the assembly is exposed to COM.</summary> | 463 | /// <summary>Gets a boolean value indicating if the assembly is exposed to COM.</summary> |
| 464 | /// <returns>True, if the assembly is exposed to COM; otherwise, False.</returns> | 464 | /// <returns>True, if the assembly is exposed to COM; otherwise, False.</returns> |
| 465 | public bool ComVisible | 465 | public bool ComVisible |
| 466 | { | 466 | { |
| 467 | get | 467 | get |
| 468 | { | 468 | { |
| 469 | ComVisibleAttribute attribute = GetCustomAttribute(typeof(ComVisibleAttribute)) as ComVisibleAttribute; | 469 | ComVisibleAttribute attribute = GetCustomAttribute(typeof(ComVisibleAttribute)) as ComVisibleAttribute; |
| 470 | if (attribute == null) | 470 | if (attribute == null) |
| 471 | return false; | 471 | return false; |
| 472 | else | 472 | else |
| 473 | return attribute.Value; | 473 | return attribute.Value; |
| 474 | } | 474 | } |
| 475 | } | 475 | } |
| 476 | 476 | ||
| 477 | /// <summary>Gets the assembly GUID that is used as an ID if the assembly is exposed to COM.</summary> | 477 | /// <summary>Gets the assembly GUID that is used as an ID if the assembly is exposed to COM.</summary> |
| 478 | /// <returns>The assembly GUID that is used as an ID if the assembly is exposed to COM.</returns> | 478 | /// <returns>The assembly GUID that is used as an ID if the assembly is exposed to COM.</returns> |
| 479 | public string Guid | 479 | public string Guid |
| 480 | { | 480 | { |
| 481 | get | 481 | get |
| 482 | { | 482 | { |
| 483 | GuidAttribute attribute = GetCustomAttribute(typeof(GuidAttribute)) as GuidAttribute; | 483 | GuidAttribute attribute = GetCustomAttribute(typeof(GuidAttribute)) as GuidAttribute; |
| 484 | if (attribute == null) | 484 | if (attribute == null) |
| 485 | return string.Empty; | 485 | return string.Empty; |
| 486 | else | 486 | else |
| 487 | return attribute.Value; | 487 | return attribute.Value; |
| 488 | } | 488 | } |
| 489 | } | 489 | } |
| 490 | 490 | ||
| 491 | /// <summary>Gets the string representing the assembly version number in MajorVersion.MinorVersion format.</summary> | 491 | /// <summary>Gets the string representing the assembly version number in MajorVersion.MinorVersion format.</summary> |
| 492 | /// <returns>The string representing the assembly version number in MajorVersion.MinorVersion format.</returns> | 492 | /// <returns>The string representing the assembly version number in MajorVersion.MinorVersion format.</returns> |
| 493 | public string TypeLibVersion | 493 | public string TypeLibVersion |
| 494 | { | 494 | { |
| 495 | get | 495 | get |
| 496 | { | 496 | { |
| 497 | TypeLibVersionAttribute attribute = GetCustomAttribute(typeof(TypeLibVersionAttribute)) as TypeLibVersionAttribute; | 497 | TypeLibVersionAttribute attribute = GetCustomAttribute(typeof(TypeLibVersionAttribute)) as TypeLibVersionAttribute; |
| 498 | if (attribute == null) | 498 | if (attribute == null) |
| 499 | return string.Empty; | 499 | return string.Empty; |
| 500 | else | 500 | else |
| 501 | return attribute.MajorVersion.ToString() + "." + attribute.MinorVersion.ToString(); | 501 | return attribute.MajorVersion.ToString() + "." + attribute.MinorVersion.ToString(); |
| 502 | } | 502 | } |
| 503 | } | 503 | } |
| 504 | 504 | ||
| 505 | /// <summary>Gets a boolean value indicating whether the indicated program element is CLS-compliant.</summary> | 505 | /// <summary>Gets a boolean value indicating whether the indicated program element is CLS-compliant.</summary> |
| 506 | /// <returns>True, if the program element is CLS-compliant; otherwise, False.</returns> | 506 | /// <returns>True, if the program element is CLS-compliant; otherwise, False.</returns> |
| 507 | public bool CLSCompliant | 507 | public bool CLSCompliant |
| 508 | { | 508 | { |
| 509 | get | 509 | get |
| 510 | { | 510 | { |
| 511 | CLSCompliantAttribute attribute = GetCustomAttribute(typeof(CLSCompliantAttribute)) as CLSCompliantAttribute; | 511 | CLSCompliantAttribute attribute = GetCustomAttribute(typeof(CLSCompliantAttribute)) as CLSCompliantAttribute; |
| 512 | if (attribute == null) | 512 | if (attribute == null) |
| 513 | return false; | 513 | return false; |
| 514 | else | 514 | else |
| 515 | return attribute.IsCompliant; | 515 | return attribute.IsCompliant; |
| 516 | } | 516 | } |
| 517 | } | 517 | } |
| 518 | 518 | ||
| 519 | /// <summary>Gets a value that indicates whether the runtime will track information during code generation for the | 519 | /// <summary>Gets a value that indicates whether the runtime will track information during code generation for the |
| 520 | /// debugger.</summary> | 520 | /// debugger.</summary> |
| 521 | /// <returns>True, if the runtime will track information during code generation for the debugger; otherwise, False.</returns> | 521 | /// <returns>True, if the runtime will track information during code generation for the debugger; otherwise, False.</returns> |
| 522 | public bool Debuggable | 522 | public bool Debuggable |
| 523 | { | 523 | { |
| 524 | get | 524 | get |
| 525 | { | 525 | { |
| 526 | DebuggableAttribute attribute = GetCustomAttribute(typeof(DebuggableAttribute)) as DebuggableAttribute; | 526 | DebuggableAttribute attribute = GetCustomAttribute(typeof(DebuggableAttribute)) as DebuggableAttribute; |
| 527 | if (attribute == null) | 527 | if (attribute == null) |
| 528 | return false; | 528 | return false; |
| 529 | else | 529 | else |
| 530 | return attribute.IsJITTrackingEnabled; | 530 | return attribute.IsJITTrackingEnabled; |
| 531 | } | 531 | } |
| 532 | } | 532 | } |
| 533 | 533 | ||
| 534 | /// <summary>Gets the path or UNC location of the loaded file that contains the manifest.</summary> | 534 | /// <summary>Gets the path or UNC location of the loaded file that contains the manifest.</summary> |
| 535 | /// <returns>The location of the loaded file that contains the manifest.</returns> | 535 | /// <returns>The location of the loaded file that contains the manifest.</returns> |
| 536 | public string Location | 536 | public string Location |
| 537 | { | 537 | { |
| 538 | get | 538 | get |
| 539 | { | 539 | { |
| 540 | return m_assemblyInstance.Location.ToLower(); | 540 | return m_assemblyInstance.Location.ToLower(); |
| 541 | } | 541 | } |
| 542 | } | 542 | } |
| 543 | 543 | ||
| 544 | /// <summary>Gets the location of the assembly as specified originally; for example, in a | 544 | /// <summary>Gets the location of the assembly as specified originally; for example, in a |
| 545 | /// AssemblyName object.</summary> | 545 | /// AssemblyName object.</summary> |
| 546 | /// <returns>The location of the assembly as specified originally.</returns> | 546 | /// <returns>The location of the assembly as specified originally.</returns> |
| 547 | public string CodeBase | 547 | public string CodeBase |
| 548 | { | 548 | { |
| 549 | get | 549 | get |
| 550 | { | 550 | { |
| 551 | return m_assemblyInstance.CodeBase.Replace("file:///", "").ToLower(); | 551 | return m_assemblyInstance.CodeBase.Replace("file:///", "").ToLower(); |
| 552 | } | 552 | } |
| 553 | } | 553 | } |
| 554 | 554 | ||
| 555 | /// <summary>Gets the display name of the assembly.</summary> | 555 | /// <summary>Gets the display name of the assembly.</summary> |
| 556 | /// <returns>The display name of the assembly.</returns> | 556 | /// <returns>The display name of the assembly.</returns> |
| 557 | public string FullName | 557 | public string FullName |
| 558 | { | 558 | { |
| 559 | get | 559 | get |
| 560 | { | 560 | { |
| 561 | return m_assemblyInstance.FullName; | 561 | return m_assemblyInstance.FullName; |
| 562 | } | 562 | } |
| 563 | } | 563 | } |
| 564 | 564 | ||
| 565 | /// <summary>Gets the simple, unencrypted name of the assembly.</summary> | 565 | /// <summary>Gets the simple, unencrypted name of the assembly.</summary> |
| 566 | /// <returns>A string that is the simple, unencrypted name of the assembly.</returns> | 566 | /// <returns>A string that is the simple, unencrypted name of the assembly.</returns> |
| 567 | public string Name | 567 | public string Name |
| 568 | { | 568 | { |
| 569 | get | 569 | get |
| 570 | { | 570 | { |
| 571 | return m_assemblyInstance.GetName().Name; | 571 | return m_assemblyInstance.GetName().Name; |
| 572 | } | 572 | } |
| 573 | } | 573 | } |
| 574 | 574 | ||
| 575 | /// <summary>Gets the major, minor, revision, and build numbers of the assembly.</summary> | 575 | /// <summary>Gets the major, minor, revision, and build numbers of the assembly.</summary> |
| 576 | /// <returns>A System.Version object representing the major, minor, revision, and build numbers of the assembly.</returns> | 576 | /// <returns>A System.Version object representing the major, minor, revision, and build numbers of the assembly.</returns> |
| 577 | public Version Version | 577 | public Version Version |
| 578 | { | 578 | { |
| 579 | get | 579 | get |
| 580 | { | 580 | { |
| 581 | return m_assemblyInstance.GetName().Version; | 581 | return m_assemblyInstance.GetName().Version; |
| 582 | } | 582 | } |
| 583 | } | 583 | } |
| 584 | 584 | ||
| 585 | /// <summary>Gets the string representing the version of the common language runtime (CLR) saved in the file | 585 | /// <summary>Gets the string representing the version of the common language runtime (CLR) saved in the file |
| 586 | /// containing the manifest.</summary> | 586 | /// containing the manifest.</summary> |
| 587 | /// <returns>The string representing the CLR version folder name. This is not a full path.</returns> | 587 | /// <returns>The string representing the CLR version folder name. This is not a full path.</returns> |
| 588 | public string ImageRuntimeVersion | 588 | public string ImageRuntimeVersion |
| 589 | { | 589 | { |
| 590 | get | 590 | get |
| 591 | { | 591 | { |
| 592 | return m_assemblyInstance.ImageRuntimeVersion; | 592 | return m_assemblyInstance.ImageRuntimeVersion; |
| 593 | } | 593 | } |
| 594 | } | 594 | } |
| 595 | 595 | ||
| 596 | /// <summary>Gets a boolean value indicating whether the assembly was loaded from the global assembly cache.</summary> | 596 | /// <summary>Gets a boolean value indicating whether the assembly was loaded from the global assembly cache.</summary> |
| 597 | /// <returns>True, if the assembly was loaded from the global assembly cache; otherwise, False.</returns> | 597 | /// <returns>True, if the assembly was loaded from the global assembly cache; otherwise, False.</returns> |
| 598 | public bool GACLoaded | 598 | public bool GACLoaded |
| 599 | { | 599 | { |
| 600 | get | 600 | get |
| 601 | { | 601 | { |
| 602 | return m_assemblyInstance.GlobalAssemblyCache; | 602 | return m_assemblyInstance.GlobalAssemblyCache; |
| 603 | } | 603 | } |
| 604 | } | 604 | } |
| 605 | 605 | ||
| 606 | /// <summary>Gets the date and time when the assembly was last built.</summary> | 606 | /// <summary>Gets the date and time when the assembly was last built.</summary> |
| 607 | /// <returns>The date and time when the assembly was last built.</returns> | 607 | /// <returns>The date and time when the assembly was last built.</returns> |
| 608 | public DateTime BuildDate | 608 | public DateTime BuildDate |
| 609 | { | 609 | { |
| 610 | get | 610 | get |
| 611 | { | 611 | { |
| 612 | return File.GetLastWriteTime(m_assemblyInstance.Location); | 612 | return File.GetLastWriteTime(m_assemblyInstance.Location); |
| 613 | } | 613 | } |
| 614 | } | 614 | } |
| 615 | 615 | ||
| 616 | /// <summary>Gets the root namespace of the assembly.</summary> | 616 | /// <summary>Gets the root namespace of the assembly.</summary> |
| 617 | /// <returns>The root namespace of the assembly.</returns> | 617 | /// <returns>The root namespace of the assembly.</returns> |
| 618 | public string RootNamespace | 618 | public string RootNamespace |
| 619 | { | 619 | { |
| 620 | get | 620 | get |
| 621 | { | 621 | { |
| 622 | return m_assemblyInstance.GetExportedTypes()[0].Namespace; | 622 | return m_assemblyInstance.GetExportedTypes()[0].Namespace; |
| 623 | } | 623 | } |
| 624 | } | 624 | } |
| 625 | 625 | ||
| 626 | #endregion | 626 | #endregion |
| 627 | 627 | ||
| 628 | #region [ Methods ] | 628 | #region [ Methods ] |
| 629 | 629 | ||
| 630 | /// <summary>Gets a collection of assembly attributes exposed by the assembly.</summary> | 630 | /// <summary>Gets a collection of assembly attributes exposed by the assembly.</summary> |
| 631 | /// <returns>A System.Specialized.KeyValueCollection of assembly attributes.</returns> | 631 | /// <returns>A System.Specialized.KeyValueCollection of assembly attributes.</returns> |
| 632 | public NameValueCollection GetAttributes() | 632 | public NameValueCollection GetAttributes() |
| 633 | { | 633 | { |
| 634 | NameValueCollection assemblyAttributes = new NameValueCollection(); | 634 | NameValueCollection assemblyAttributes = new NameValueCollection(); |
| 635 | 635 | ||
| 636 | //Add some values that are not in AssemblyInfo. | 636 | //Add some values that are not in AssemblyInfo. |
| 637 | assemblyAttributes.Add("Full Name", FullName); | 637 | assemblyAttributes.Add("Full Name", FullName); |
| 638 | assemblyAttributes.Add("Name", Name); | 638 | assemblyAttributes.Add("Name", Name); |
| 639 | assemblyAttributes.Add("Version", Version.ToString()); | 639 | assemblyAttributes.Add("Version", Version.ToString()); |
| 640 | assemblyAttributes.Add("Image Runtime Version", ImageRuntimeVersion); | 640 | assemblyAttributes.Add("Image Runtime Version", ImageRuntimeVersion); |
| 641 | assemblyAttributes.Add("Build Date", BuildDate.ToString()); | 641 | assemblyAttributes.Add("Build Date", BuildDate.ToString()); |
| 642 | assemblyAttributes.Add("Location", Location); | 642 | assemblyAttributes.Add("Location", Location); |
| 643 | assemblyAttributes.Add("Code Base", CodeBase); | 643 | assemblyAttributes.Add("Code Base", CodeBase); |
| 644 | assemblyAttributes.Add("GAC Loaded", GACLoaded.ToString()); | 644 | assemblyAttributes.Add("GAC Loaded", GACLoaded.ToString()); |
| 645 | 645 | ||
| 646 | //Add all attributes available from AssemblyInfo. | 646 | //Add all attributes available from AssemblyInfo. |
| 647 | foreach (object assemblyAttribute in m_assemblyInstance.GetCustomAttributes(false)) | 647 | foreach (object assemblyAttribute in m_assemblyInstance.GetCustomAttributes(false)) |
| 648 | { | 648 | { |
| 649 | if (assemblyAttribute is AssemblyTitleAttribute) | 649 | if (assemblyAttribute is AssemblyTitleAttribute) |
| 650 | { | 650 | { |
| 651 | assemblyAttributes.Add("Title", Title); | 651 | assemblyAttributes.Add("Title", Title); |
| 652 | } | 652 | } |
| 653 | else if (assemblyAttribute is AssemblyDescriptionAttribute) | 653 | else if (assemblyAttribute is AssemblyDescriptionAttribute) |
| 654 | { | 654 | { |
| 655 | assemblyAttributes.Add("Description", Description); | 655 | assemblyAttributes.Add("Description", Description); |
| 656 | } | 656 | } |
| 657 | else if (assemblyAttribute is AssemblyCompanyAttribute) | 657 | else if (assemblyAttribute is AssemblyCompanyAttribute) |
| 658 | { | 658 | { |
| 659 | assemblyAttributes.Add("Company", Company); | 659 | assemblyAttributes.Add("Company", Company); |
| 660 | } | 660 | } |
| 661 | else if (assemblyAttribute is AssemblyProductAttribute) | 661 | else if (assemblyAttribute is AssemblyProductAttribute) |
| 662 | { | 662 | { |
| 663 | assemblyAttributes.Add("Product", Product); | 663 | assemblyAttributes.Add("Product", Product); |
| 664 | } | 664 | } |
| 665 | else if (assemblyAttribute is AssemblyCopyrightAttribute) | 665 | else if (assemblyAttribute is AssemblyCopyrightAttribute) |
| 666 | { | 666 | { |
| 667 | assemblyAttributes.Add("Copyright", Copyright); | 667 | assemblyAttributes.Add("Copyright", Copyright); |
| 668 | } | 668 | } |
| 669 | else if (assemblyAttribute is AssemblyTrademarkAttribute) | 669 | else if (assemblyAttribute is AssemblyTrademarkAttribute) |
| 670 | { | 670 | { |
| 671 | assemblyAttributes.Add("Trademark", Trademark); | 671 | assemblyAttributes.Add("Trademark", Trademark); |
| 672 | } | 672 | } |
| 673 | else if (assemblyAttribute is AssemblyConfigurationAttribute) | 673 | else if (assemblyAttribute is AssemblyConfigurationAttribute) |
| 674 | { | 674 | { |
| 675 | assemblyAttributes.Add("Configuration", Configuration); | 675 | assemblyAttributes.Add("Configuration", Configuration); |
| 676 | } | 676 | } |
| 677 | else if (assemblyAttribute is AssemblyDelaySignAttribute) | 677 | else if (assemblyAttribute is AssemblyDelaySignAttribute) |
| 678 | { | 678 | { |
| 679 | assemblyAttributes.Add("Delay Sign", DelaySign.ToString()); | 679 | assemblyAttributes.Add("Delay Sign", DelaySign.ToString()); |
| 680 | } | 680 | } |
| 681 | else if (assemblyAttribute is AssemblyInformationalVersionAttribute) | 681 | else if (assemblyAttribute is AssemblyInformationalVersionAttribute) |
| 682 | { | 682 | { |
| 683 | assemblyAttributes.Add("Informational Version", InformationalVersion); | 683 | assemblyAttributes.Add("Informational Version", InformationalVersion); |
| 684 | } | 684 | } |
| 685 | else if (assemblyAttribute is AssemblyKeyFileAttribute) | 685 | else if (assemblyAttribute is AssemblyKeyFileAttribute) |
| 686 | { | 686 | { |
| 687 | assemblyAttributes.Add("Key File", KeyFile); | 687 | assemblyAttributes.Add("Key File", KeyFile); |
| 688 | } | 688 | } |
| 689 | else if (assemblyAttribute is NeutralResourcesLanguageAttribute) | 689 | else if (assemblyAttribute is NeutralResourcesLanguageAttribute) |
| 690 | { | 690 | { |
| 691 | assemblyAttributes.Add("Culture Name", CultureName); | 691 | assemblyAttributes.Add("Culture Name", CultureName); |
| 692 | } | 692 | } |
| 693 | else if (assemblyAttribute is SatelliteContractVersionAttribute) | 693 | else if (assemblyAttribute is SatelliteContractVersionAttribute) |
| 694 | { | 694 | { |
| 695 | assemblyAttributes.Add("Satellite Contract Version", SatelliteContractVersion); | 695 | assemblyAttributes.Add("Satellite Contract Version", SatelliteContractVersion); |
| 696 | } | 696 | } |
| 697 | else if (assemblyAttribute is ComCompatibleVersionAttribute) | 697 | else if (assemblyAttribute is ComCompatibleVersionAttribute) |
| 698 | { | 698 | { |
| 699 | assemblyAttributes.Add("Com Compatible Version", ComCompatibleVersion); | 699 | assemblyAttributes.Add("Com Compatible Version", ComCompatibleVersion); |
| 700 | } | 700 | } |
| 701 | else if (assemblyAttribute is ComVisibleAttribute) | 701 | else if (assemblyAttribute is ComVisibleAttribute) |
| 702 | { | 702 | { |
| 703 | assemblyAttributes.Add("Com Visible", ComVisible.ToString()); | 703 | assemblyAttributes.Add("Com Visible", ComVisible.ToString()); |
| 704 | } | 704 | } |
| 705 | else if (assemblyAttribute is GuidAttribute) | 705 | else if (assemblyAttribute is GuidAttribute) |
| 706 | { | 706 | { |
| 707 | assemblyAttributes.Add("Guid", Guid); | 707 | assemblyAttributes.Add("Guid", Guid); |
| 708 | } | 708 | } |
| 709 | else if (assemblyAttribute is TypeLibVersionAttribute) | 709 | else if (assemblyAttribute is TypeLibVersionAttribute) |
| 710 | { | 710 | { |
| 711 | assemblyAttributes.Add("Type Lib Version", TypeLibVersion); | 711 | assemblyAttributes.Add("Type Lib Version", TypeLibVersion); |
| 712 | } | 712 | } |
| 713 | else if (assemblyAttribute is CLSCompliantAttribute) | 713 | else if (assemblyAttribute is CLSCompliantAttribute) |
| 714 | { | 714 | { |
| 715 | assemblyAttributes.Add("CLS Compliant", CLSCompliant.ToString()); | 715 | assemblyAttributes.Add("CLS Compliant", CLSCompliant.ToString()); |
| 716 | } | 716 | } |
| 717 | else if (assemblyAttribute is DebuggableAttribute) | 717 | else if (assemblyAttribute is DebuggableAttribute) |
| 718 | { | 718 | { |
| 719 | assemblyAttributes.Add("Debuggable", Debuggable.ToString()); | 719 | assemblyAttributes.Add("Debuggable", Debuggable.ToString()); |
| 720 | } | 720 | } |
| 721 | } | 721 | } |
| 722 | 722 | ||
| 723 | return assemblyAttributes; | 723 | return assemblyAttributes; |
| 724 | } | 724 | } |
| 725 | 725 | ||
| 726 | /// <summary>Gets the specified assembly attribute if it is exposed by the assembly.</summary> | 726 | /// <summary>Gets the specified assembly attribute if it is exposed by the assembly.</summary> |
| 727 | /// <param name="attributeType">Type of the attribute to get.</param> | 727 | /// <param name="attributeType">Type of the attribute to get.</param> |
| 728 | /// <returns>The requested assembly attribute if it exists; otherwise null.</returns> | 728 | /// <returns>The requested assembly attribute if it exists; otherwise null.</returns> |
| 729 | public object GetCustomAttribute(Type attributeType) | 729 | public object GetCustomAttribute(Type attributeType) |
| 730 | { | 730 | { |
| 731 | //Returns the requested assembly attribute. | 731 | //Returns the requested assembly attribute. |
| 732 | object[] assemblyAttributes = m_assemblyInstance.GetCustomAttributes(attributeType, false); | 732 | object[] assemblyAttributes = m_assemblyInstance.GetCustomAttributes(attributeType, false); |
| 733 | if (assemblyAttributes.Length <= 0) | 733 | if (assemblyAttributes.Length <= 0) |
| 734 | return null; | 734 | return null; |
| 735 | else | 735 | else |
| 736 | return assemblyAttributes[0]; | 736 | return assemblyAttributes[0]; |
| 737 | } | 737 | } |
| 738 | 738 | ||
| 739 | /// <summary>Gets the specified embedded resource from the assembly.</summary> | 739 | /// <summary>Gets the specified embedded resource from the assembly.</summary> |
| 740 | /// <param name="resourceName">The full name (including the namespace) of the embedded resource to get.</param> | 740 | /// <param name="resourceName">The full name (including the namespace) of the embedded resource to get.</param> |
| 741 | /// <returns>The embedded resource.</returns> | 741 | /// <returns>The embedded resource.</returns> |
| 742 | public Stream GetEmbeddedResource(string resourceName) | 742 | public Stream GetEmbeddedResource(string resourceName) |
| 743 | { | 743 | { |
| 744 | //Extracts and returns the requested embedded resource. | 744 | //Extracts and returns the requested embedded resource. |
| 745 | return m_assemblyInstance.GetEmbeddedResource(resourceName); | 745 | return m_assemblyInstance.GetEmbeddedResource(resourceName); |
| 746 | } | 746 | } |
| 747 | 747 | ||
| 748 | #endregion | 748 | #endregion |
| 749 | 749 | ||
| 750 | #region [ Static ] | 750 | #region [ Static ] |
| 751 | 751 | ||
| 752 | // Static Fields | 752 | // Static Fields |
| 753 | private static AssemblyInfo s_callingAssembly; | 753 | private static AssemblyInfo s_callingAssembly; |
| 754 | private static AssemblyInfo s_entryAssembly; | 754 | private static AssemblyInfo s_entryAssembly; |
| 755 | private static AssemblyInfo s_executingAssembly; | 755 | private static AssemblyInfo s_executingAssembly; |
| 756 | private static Dictionary<string, Assembly> s_assemblyCache; | 756 | private static Dictionary<string, Assembly> s_assemblyCache; |
| 757 | private static bool s_addedResolver; | 757 | private static bool s_addedResolver; |
| 758 | 758 | ||
| 759 | // Static Properties | 759 | // Static Properties |
| 760 | 760 | ||
| 761 | /// <summary>Gets the <see cref="AssemblyInfo"/> object of the assembly that invoked the currently executing method.</summary> | 761 | /// <summary>Gets the <see cref="AssemblyInfo"/> object of the assembly that invoked the currently executing method.</summary> |
| 762 | public static AssemblyInfo CallingAssembly | 762 | public static AssemblyInfo CallingAssembly |
| 763 | { | 763 | { |
| 764 | get | 764 | get |
| 765 | { | 765 | { |
| 766 | if (s_callingAssembly == null) | 766 | if (s_callingAssembly == null) |
| 767 | { | 767 | { |
| 768 | // We have to find the calling assembly of the caller. | 768 | // We have to find the calling assembly of the caller. |
| 769 | StackTrace trace = new StackTrace(); | 769 | StackTrace trace = new StackTrace(); |
| 770 | Assembly caller = Assembly.GetCallingAssembly(); | 770 | Assembly caller = Assembly.GetCallingAssembly(); |
| 771 | Assembly current = Assembly.GetExecutingAssembly(); | 771 | Assembly current = Assembly.GetExecutingAssembly(); |
| 772 | foreach (StackFrame frame in trace.GetFrames()) | 772 | foreach (StackFrame frame in trace.GetFrames()) |
| 773 | { | 773 | { |
| 774 | Assembly assembly = Assembly.GetAssembly(frame.GetMethod().DeclaringType); | 774 | Assembly assembly = Assembly.GetAssembly(frame.GetMethod().DeclaringType); |
| 775 | if (assembly != caller && assembly != current) | 775 | if (assembly != caller && assembly != current) |
| 776 | { | 776 | { |
| 777 | // Assembly is neither the current assembly or the calling assembly. | 777 | // Assembly is neither the current assembly or the calling assembly. |
| 778 | s_callingAssembly = new AssemblyInfo(assembly); | 778 | s_callingAssembly = new AssemblyInfo(assembly); |
| 779 | break; | 779 | break; |
| 780 | } | 780 | } |
| 781 | } | 781 | } |
| 782 | } | 782 | } |
| 783 | 783 | ||
| 784 | return s_callingAssembly; | 784 | return s_callingAssembly; |
| 785 | } | 785 | } |
| 786 | } | 786 | } |
| 787 | 787 | ||
| 788 | /// <summary>Gets the <see cref="AssemblyInfo"/> object of the process executable in the default application domain.</summary> | 788 | /// <summary>Gets the <see cref="AssemblyInfo"/> object of the process executable in the default application domain.</summary> |
| 789 | public static AssemblyInfo EntryAssembly | 789 | public static AssemblyInfo EntryAssembly |
| 790 | { | 790 | { |
| 791 | get | 791 | get |
| 792 | { | 792 | { |
| 793 | if (s_entryAssembly == null) | 793 | if (s_entryAssembly == null) |
| 794 | s_entryAssembly = new AssemblyInfo(Assembly.GetEntryAssembly()); | 794 | s_entryAssembly = new AssemblyInfo(Assembly.GetEntryAssembly()); |
| 795 | 795 | ||
| 796 | return s_entryAssembly; | 796 | return s_entryAssembly; |
| 797 | } | 797 | } |
| 798 | } | 798 | } |
| 799 | 799 | ||
| 800 | /// <summary>Gets the <see cref="AssemblyInfo"/> object of the assembly that contains the code that is currently executing.</summary> | 800 | /// <summary>Gets the <see cref="AssemblyInfo"/> object of the assembly that contains the code that is currently executing.</summary> |
| 801 | public static AssemblyInfo ExecutingAssembly | 801 | public static AssemblyInfo ExecutingAssembly |
| 802 | { | 802 | { |
| 803 | get | 803 | get |
| 804 | { | 804 | { |
| 805 | if (s_executingAssembly == null) | 805 | if (s_executingAssembly == null) |
| 806 | // Caller's assembly will be the executing assembly for the caller. | 806 | // Caller's assembly will be the executing assembly for the caller. |
| 807 | s_executingAssembly = new AssemblyInfo(Assembly.GetCallingAssembly()); | 807 | s_executingAssembly = new AssemblyInfo(Assembly.GetCallingAssembly()); |
| 808 | 808 | ||
| 809 | return s_executingAssembly; | 809 | return s_executingAssembly; |
| 810 | } | 810 | } |
| 811 | } | 811 | } |
| 812 | 812 | ||
| 813 | // Static Methods | 813 | // Static Methods |
| 814 | 814 | ||
| 815 | /// <summary>Loads the specified assembly that is embedded as a resource in the assembly.</summary> | 815 | /// <summary>Loads the specified assembly that is embedded as a resource in the assembly.</summary> |
| 816 | /// <param name="assemblyName">Name of the assembly to load.</param> | 816 | /// <param name="assemblyName">Name of the assembly to load.</param> |
| 817 | /// <remarks>This cannot be used to load TVA.Core itself.</remarks> | 817 | /// <remarks>This cannot be used to load TVA.Core itself.</remarks> |
| 818 | [SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.ControlAppDomain)] | 818 | [SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.ControlAppDomain)] |
| 819 | public static void LoadAssemblyFromResource(string assemblyName) | 819 | public static void LoadAssemblyFromResource(string assemblyName) |
| 820 | { | 820 | { |
| 821 | // Hooks into assembly resolve event for current domain so it can load assembly from embedded resource. | 821 | // Hooks into assembly resolve event for current domain so it can load assembly from embedded resource. |
| 822 | if (!s_addedResolver) | 822 | if (!s_addedResolver) |
| 823 | { | 823 | { |
| 824 | AppDomain.CurrentDomain.AssemblyResolve += ResolveAssemblyFromResource; | 824 | AppDomain.CurrentDomain.AssemblyResolve += ResolveAssemblyFromResource; |
| 825 | s_addedResolver = true; | 825 | s_addedResolver = true; |
| 826 | } | 826 | } |
| 827 | 827 | ||
| 828 | // Loads the assembly (This will invoke event that will resolve assembly from resource.). | 828 | // Loads the assembly (This will invoke event that will resolve assembly from resource.). |
| 829 | AppDomain.CurrentDomain.Load(assemblyName); | 829 | AppDomain.CurrentDomain.Load(assemblyName); |
| 830 | } | 830 | } |
| 831 | 831 | ||
| 832 | private static Assembly ResolveAssemblyFromResource(object sender, ResolveEventArgs e) | 832 | private static Assembly ResolveAssemblyFromResource(object sender, ResolveEventArgs e) |
| 833 | { | 833 | { |
| 834 | Assembly resourceAssembly; | 834 | Assembly resourceAssembly; |
| 835 | string shortName = e.Name.Split(',')[0]; | 835 | string shortName = e.Name.Split(',')[0]; |
| 836 | 836 | ||
| 837 | if (s_assemblyCache == null) s_assemblyCache = new Dictionary<string, Assembly>(); | 837 | if (s_assemblyCache == null) s_assemblyCache = new Dictionary<string, Assembly>(); |
| 838 | resourceAssembly = s_assemblyCache[shortName]; | 838 | resourceAssembly = s_assemblyCache[shortName]; |
| 839 | 839 | ||
| 840 | if (resourceAssembly == null) | 840 | if (resourceAssembly == null) |
| 841 | { | 841 | { |
| 842 | // Loops through all of the resources in the executing assembly. | 842 | // Loops through all of the resources in the executing assembly. |
| 843 | foreach (string name in Assembly.GetEntryAssembly().GetManifestResourceNames()) | 843 | foreach (string name in Assembly.GetEntryAssembly().GetManifestResourceNames()) |
| 844 | { | 844 | { |
| 845 | // Sees if the embedded resource name matches the assembly it is trying to load. | 845 | // Sees if the embedded resource name matches the assembly it is trying to load. |
| 846 | if (string.Compare(FilePath.GetFileNameWithoutExtension(name), EntryAssembly.RootNamespace + "." + shortName, true) == 0) | 846 | if (string.Compare(FilePath.GetFileNameWithoutExtension(name), EntryAssembly.RootNamespace + "." + shortName, true) == 0) |
| 847 | { | 847 | { |
| 848 | // If so, loads embedded resource assembly into a binary buffer. | 848 | // If so, loads embedded resource assembly into a binary buffer. |
| 849 | System.IO.Stream resourceStream = Assembly.GetEntryAssembly().GetManifestResourceStream(name); | 849 | System.IO.Stream resourceStream = Assembly.GetEntryAssembly().GetManifestResourceStream(name); |
| 850 | byte[] buffer = new byte[resourceStream.Length]; | 850 | byte[] buffer = new byte[resourceStream.Length]; |
| 851 | resourceStream.Read(buffer, 0, (int)resourceStream.Length); | 851 | resourceStream.Read(buffer, 0, (int)resourceStream.Length); |
| 852 | resourceStream.Close(); | 852 | resourceStream.Close(); |
| 853 | 853 | ||
| 854 | // Loads assembly from binary buffer. | 854 | // Loads assembly from binary buffer. |
| 855 | resourceAssembly = Assembly.Load(buffer); | 855 | resourceAssembly = Assembly.Load(buffer); |
| 856 | s_assemblyCache.Add(shortName, resourceAssembly); | 856 | s_assemblyCache.Add(shortName, resourceAssembly); |
| 857 | break; | 857 | break; |
| 858 | } | 858 | } |
| 859 | } | 859 | } |
| 860 | } | 860 | } |
| 861 | 861 | ||
| 862 | return resourceAssembly; | 862 | return resourceAssembly; |
| 863 | } | 863 | } |
| 864 | 864 | ||
| 865 | #endregion | 865 | #endregion |
| 866 | } | 866 | } |
| 867 | } | 867 | } |
| @@ -1,28 +1,28 @@ | |||
| 1 | using System; | 1 | using System; |
| 2 | using System.Reflection; | 2 | using System.Reflection; |
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | using System.Security.Permissions; | 4 | using System.Security.Permissions; |
| 5 | 5 | ||
| 6 | // Assembly identity attributes. | 6 | // Assembly identity attributes. |
| 7 | [assembly: AssemblyVersion("2.1.99.0")] | 7 | [assembly: AssemblyVersion("1.1.64.54531")] |
| 8 | 8 | ||
| 9 | // Informational attributes. | 9 | // Informational attributes. |
| 10 | [assembly: AssemblyCompany("TVA")] | 10 | [assembly: AssemblyCompany("TVA")] |
| 11 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] | 11 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] |
| 12 | [assembly: AssemblyProduct("openPDC Framework")] | 12 | [assembly: AssemblyProduct("openPDC Framework")] |
| 13 | 13 | ||
| 14 | // Assembly manifest attributes. | 14 | // Assembly manifest attributes. |
| 15 | #if DEBUG | 15 | #if DEBUG |
| 16 | [assembly: AssemblyConfiguration("Debug Build")] | 16 | [assembly: AssemblyConfiguration("Debug Build")] |
| 17 | #else | 17 | #else |
| 18 | [assembly: AssemblyConfiguration("Release Build")] | 18 | [assembly: AssemblyConfiguration("Release Build")] |
| 19 | #endif | 19 | #endif |
| 20 | [assembly: AssemblyDefaultAlias("TVA.Security")] | 20 | [assembly: AssemblyDefaultAlias("TVA.Security")] |
| 21 | [assembly: AssemblyDescription("Security components of the openPDC Framework.")] | 21 | [assembly: AssemblyDescription("Security components of the openPDC Framework.")] |
| 22 | [assembly: AssemblyTitle("TVA.Security")] | 22 | [assembly: AssemblyTitle("TVA.Security")] |
| 23 | 23 | ||
| 24 | // Other configuration attributes. | 24 | // Other configuration attributes. |
| 25 | [assembly: CLSCompliant(true)] | 25 | [assembly: CLSCompliant(true)] |
| 26 | [assembly: ComVisible(false)] | 26 | [assembly: ComVisible(false)] |
| 27 | [assembly: Guid("96b92296-6422-4f3c-8d30-72f6ecf6c558")] | 27 | [assembly: Guid("96b92296-6422-4f3c-8d30-72f6ecf6c558")] |
| 28 | [assembly: SecurityPermission(SecurityAction.RequestMinimum, Execution = true)] | 28 | [assembly: SecurityPermission(SecurityAction.RequestMinimum, Execution = true)] |
| @@ -1,28 +1,28 @@ | |||
| 1 | using System; | 1 | using System; |
| 2 | using System.Reflection; | 2 | using System.Reflection; |
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | using System.Security.Permissions; | 4 | using System.Security.Permissions; |
| 5 | 5 | ||
| 6 | // Assembly identity attributes. | 6 | // Assembly identity attributes. |
| 7 | [assembly: AssemblyVersion("2.1.99.0")] | 7 | [assembly: AssemblyVersion("1.1.64.54531")] |
| 8 | 8 | ||
| 9 | // Informational attributes. | 9 | // Informational attributes. |
| 10 | [assembly: AssemblyCompany("TVA")] | 10 | [assembly: AssemblyCompany("TVA")] |
| 11 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] | 11 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] |
| 12 | [assembly: AssemblyProduct("openPDC Framework")] | 12 | [assembly: AssemblyProduct("openPDC Framework")] |
| 13 | 13 | ||
| 14 | // Assembly manifest attributes. | 14 | // Assembly manifest attributes. |
| 15 | #if DEBUG | 15 | #if DEBUG |
| 16 | [assembly: AssemblyConfiguration("Debug Build")] | 16 | [assembly: AssemblyConfiguration("Debug Build")] |
| 17 | #else | 17 | #else |
| 18 | [assembly: AssemblyConfiguration("Release Build")] | 18 | [assembly: AssemblyConfiguration("Release Build")] |
| 19 | #endif | 19 | #endif |
| 20 | [assembly: AssemblyDefaultAlias("TVA.Services")] | 20 | [assembly: AssemblyDefaultAlias("TVA.Services")] |
| 21 | [assembly: AssemblyDescription("Windows service components of the openPDC Framework.")] | 21 | [assembly: AssemblyDescription("Windows service components of the openPDC Framework.")] |
| 22 | [assembly: AssemblyTitle("TVA.Services")] | 22 | [assembly: AssemblyTitle("TVA.Services")] |
| 23 | 23 | ||
| 24 | // Other configuration attributes. | 24 | // Other configuration attributes. |
| 25 | [assembly: CLSCompliant(true)] | 25 | [assembly: CLSCompliant(true)] |
| 26 | [assembly: ComVisible(false)] | 26 | [assembly: ComVisible(false)] |
| 27 | [assembly: Guid("8822ca22-cda5-4562-9a67-2adb084730e1")] | 27 | [assembly: Guid("8822ca22-cda5-4562-9a67-2adb084730e1")] |
| 28 | [assembly: SecurityPermission(SecurityAction.RequestMinimum, Execution = true)] | 28 | [assembly: SecurityPermission(SecurityAction.RequestMinimum, Execution = true)] |
| @@ -1,39 +1,39 @@ | |||
| 1 | using System; | 1 | using System; |
| 2 | using System.Reflection; | 2 | using System.Reflection; |
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | using System.Security.Permissions; | 4 | using System.Security.Permissions; |
| 5 | using System.Web.UI; | 5 | using System.Web.UI; |
| 6 | using TVA.Web.Hosting; | 6 | using TVA.Web.Hosting; |
| 7 | 7 | ||
| 8 | // Assembly identity attributes. | 8 | // Assembly identity attributes. |
| 9 | [assembly: AssemblyVersion("2.1.99.0")] | 9 | [assembly: AssemblyVersion("1.1.64.54531")] |
| 10 | 10 | ||
| 11 | // Informational attributes. | 11 | // Informational attributes. |
| 12 | [assembly: AssemblyCompany("TVA")] | 12 | [assembly: AssemblyCompany("TVA")] |
| 13 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] | 13 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] |
| 14 | [assembly: AssemblyProduct("openPDC Framework")] | 14 | [assembly: AssemblyProduct("openPDC Framework")] |
| 15 | 15 | ||
| 16 | // Assembly manifest attributes. | 16 | // Assembly manifest attributes. |
| 17 | #if DEBUG | 17 | #if DEBUG |
| 18 | [assembly: AssemblyConfiguration("Debug Build")] | 18 | [assembly: AssemblyConfiguration("Debug Build")] |
| 19 | #else | 19 | #else |
| 20 | [assembly: AssemblyConfiguration("Release Build")] | 20 | [assembly: AssemblyConfiguration("Release Build")] |
| 21 | #endif | 21 | #endif |
| 22 | [assembly: AssemblyDefaultAlias("TVA.Web")] | 22 | [assembly: AssemblyDefaultAlias("TVA.Web")] |
| 23 | [assembly: AssemblyDescription("Web application components of the openPDC Framework.")] | 23 | [assembly: AssemblyDescription("Web application components of the openPDC Framework.")] |
| 24 | [assembly: AssemblyTitle("TVA.Web")] | 24 | [assembly: AssemblyTitle("TVA.Web")] |
| 25 | 25 | ||
| 26 | // Other configuration attributes. | 26 | // Other configuration attributes. |
| 27 | [assembly: CLSCompliant(true)] | 27 | [assembly: CLSCompliant(true)] |
| 28 | [assembly: ComVisible(false)] | 28 | [assembly: ComVisible(false)] |
| 29 | [assembly: Guid("eebbee45-2987-4bbd-9cc1-ff6d4dcf55f7")] | 29 | [assembly: Guid("eebbee45-2987-4bbd-9cc1-ff6d4dcf55f7")] |
| 30 | [assembly: SecurityPermission(SecurityAction.RequestMinimum, Execution = true)] | 30 | [assembly: SecurityPermission(SecurityAction.RequestMinimum, Execution = true)] |
| 31 | 31 | ||
| 32 | // Embedd server-side controls. | 32 | // Embedd server-side controls. |
| 33 | [assembly: EmbeddedResourceFile("TVA.Web.Embedded.SecurityPortal.aspx", "TVA.Web.Embedded")] | 33 | [assembly: EmbeddedResourceFile("TVA.Web.Embedded.SecurityPortal.aspx", "TVA.Web.Embedded")] |
| 34 | [assembly: EmbeddedResourceFile("TVA.Web.Embedded.SecurityService.svc", "TVA.Web.Embedded")] | 34 | [assembly: EmbeddedResourceFile("TVA.Web.Embedded.SecurityService.svc", "TVA.Web.Embedded")] |
| 35 | 35 | ||
| 36 | // Embedd images used by embedded controls. | 36 | // Embedd images used by embedded controls. |
| 37 | [assembly: WebResource("TVA.Web.Embedded.Images.TVALogo.png", "img/png")] | 37 | [assembly: WebResource("TVA.Web.Embedded.Images.TVALogo.png", "img/png")] |
| 38 | [assembly: WebResource("TVA.Web.Embedded.Images.Help.png", "img/png")] | 38 | [assembly: WebResource("TVA.Web.Embedded.Images.Help.png", "img/png")] |
| 39 | [assembly: WebResource("TVA.Web.Embedded.Images.Warning.png", "img/png")] | 39 | [assembly: WebResource("TVA.Web.Embedded.Images.Warning.png", "img/png")] |
| @@ -4,7 +4,7 @@ using System.Runtime.InteropServices; · 3 unmodified lines | |||
| 4 | using System.Security.Permissions; | 4 | using System.Security.Permissions; |
| 5 | 5 | ||
| 6 | // Assembly identity attributes. | 6 | // Assembly identity attributes. |
| 7 | [assembly: AssemblyVersion("2.1.99.0")] | 7 | [assembly: AssemblyVersion("1.1.64.54531")] |
| 8 | 8 | ||
| 9 | // Informational attributes. | 9 | // Informational attributes. |
| 10 | [assembly: AssemblyCompany("TVA")] | 10 | [assembly: AssemblyCompany("TVA")] |
| @@ -3,7 +3,7 @@ using System.Reflection; · 2 unmodified lines | |||
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // Assembly identity attributes. | 5 | // Assembly identity attributes. |
| 6 | [assembly: AssemblyVersion("2.1.99.0")] | 6 | [assembly: AssemblyVersion("1.1.64.54531")] |
| 7 | 7 | ||
| 8 | // Informational attributes. | 8 | // Informational attributes. |
| 9 | [assembly: AssemblyCompany("TVA")] | 9 | [assembly: AssemblyCompany("TVA")] |
| @@ -3,7 +3,7 @@ using System.Reflection; · 2 unmodified lines | |||
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // Assembly identity attributes. | 5 | // Assembly identity attributes. |
| 6 | [assembly: AssemblyVersion("2.1.99.0")] | 6 | [assembly: AssemblyVersion("1.1.64.54531")] |
| 7 | 7 | ||
| 8 | // Informational attributes. | 8 | // Informational attributes. |
| 9 | [assembly: AssemblyCompany("TVA")] | 9 | [assembly: AssemblyCompany("TVA")] |
| @@ -3,7 +3,7 @@ using System.Reflection; · 2 unmodified lines | |||
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // Assembly identity attributes. | 5 | // Assembly identity attributes. |
| 6 | [assembly: AssemblyVersion("2.1.99.0")] | 6 | [assembly: AssemblyVersion("1.1.64.54531")] |
| 7 | 7 | ||
| 8 | // Informational attributes. | 8 | // Informational attributes. |
| 9 | [assembly: AssemblyCompany("TVA")] | 9 | [assembly: AssemblyCompany("TVA")] |
| @@ -3,7 +3,7 @@ using System.Reflection; · 2 unmodified lines | |||
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // Assembly identity attributes. | 5 | // Assembly identity attributes. |
| 6 | [assembly: AssemblyVersion("2.1.99.0")] | 6 | [assembly: AssemblyVersion("1.1.64.54531")] |
| 7 | 7 | ||
| 8 | // Informational attributes. | 8 | // Informational attributes. |
| 9 | [assembly: AssemblyCompany("TVA")] | 9 | [assembly: AssemblyCompany("TVA")] |
| @@ -3,7 +3,7 @@ using System.Reflection; · 2 unmodified lines | |||
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // Assembly identity attributes. | 5 | // Assembly identity attributes. |
| 6 | [assembly: AssemblyVersion("2.1.99.0")] | 6 | [assembly: AssemblyVersion("1.1.64.54531")] |
| 7 | 7 | ||
| 8 | // Informational attributes. | 8 | // Informational attributes. |
| 9 | [assembly: AssemblyCompany("TVA")] | 9 | [assembly: AssemblyCompany("TVA")] |
| @@ -3,7 +3,7 @@ using System.Reflection; · 2 unmodified lines | |||
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // Assembly identity attributes. | 5 | // Assembly identity attributes. |
| 6 | [assembly: AssemblyVersion("2.1.99.0")] | 6 | [assembly: AssemblyVersion("1.1.64.54531")] |
| 7 | 7 | ||
| 8 | // Informational attributes. | 8 | // Informational attributes. |
| 9 | [assembly: AssemblyCompany("TVA")] | 9 | [assembly: AssemblyCompany("TVA")] |
| @@ -26,5 +26,5 @@ using System.Runtime.InteropServices; · 25 unmodified lines | |||
| 26 | // You can specify all the values or you can default the Revision and Build Numbers | 26 | // You can specify all the values or you can default the Revision and Build Numbers |
| 27 | // by using the '*' as shown below: | 27 | // by using the '*' as shown below: |
| 28 | 28 | ||
| 29 | [assembly: AssemblyVersion("2.1.99.0")] | 29 | [assembly: AssemblyVersion("1.1.64.54531")] |
| 30 | [assembly: AssemblyFileVersion("2.1.99.0")] | 30 | [assembly: AssemblyFileVersion("2.0.0.0")] |
| @@ -29,7 +29,7 @@ Imports System.Runtime.InteropServices · 28 unmodified lines | |||
| 29 | ' | 29 | ' |
| 30 | ' You can specify all the values or you can default the Build and Revision Numbers | 30 | ' You can specify all the values or you can default the Build and Revision Numbers |
| 31 | ' by using the '*' as shown below: | 31 | ' by using the '*' as shown below: |
| 32 | ' <Assembly: AssemblyVersion("2.1.99.0")> | 32 | ' <Assembly: AssemblyVersion("1.1.64.54531")> |
| 33 | 33 | ||
| 34 | <Assembly: AssemblyVersion("2.1.99.0")> | 34 | <Assembly: AssemblyVersion("1.1.64.54531")> |
| 35 | <Assembly: AssemblyFileVersion("2.1.99.0")> | 35 | <Assembly: AssemblyFileVersion("1.0.0.0")> |
| @@ -2,7 +2,7 @@ · 1 unmodified line | |||
| 2 | using System.Runtime.InteropServices; | 2 | using System.Runtime.InteropServices; |
| 3 | 3 | ||
| 4 | // Assembly identity attributes. | 4 | // Assembly identity attributes. |
| 5 | [assembly: AssemblyVersion("2.1.99.0")] | 5 | [assembly: AssemblyVersion("1.1.64.54531")] |
| 6 | 6 | ||
| 7 | // Informational attributes. | 7 | // Informational attributes. |
| 8 | [assembly: AssemblyCompany("TVA")] | 8 | [assembly: AssemblyCompany("TVA")] |
| @@ -2,7 +2,7 @@ · 1 unmodified line | |||
| 2 | using System.Runtime.InteropServices; | 2 | using System.Runtime.InteropServices; |
| 3 | 3 | ||
| 4 | // Assembly identity attributes. | 4 | // Assembly identity attributes. |
| 5 | [assembly: AssemblyVersion("2.1.99.0")] | 5 | [assembly: AssemblyVersion("1.1.64.54531")] |
| 6 | 6 | ||
| 7 | // Informational attributes. | 7 | // Informational attributes. |
| 8 | [assembly: AssemblyCompany("TVA")] | 8 | [assembly: AssemblyCompany("TVA")] |
| @@ -24,4 +24,4 @@ Imports System.Runtime.InteropServices · 23 unmodified lines | |||
| 24 | ' You can specify all the values or you can default the Revision and Build Numbers | 24 | ' You can specify all the values or you can default the Revision and Build Numbers |
| 25 | ' by using the '*' as shown below | 25 | ' by using the '*' as shown below |
| 26 | 26 | ||
| 27 | <Assembly: AssemblyVersion("2.1.99.0")> | 27 | <Assembly: AssemblyVersion("1.1.64.54531")> |
| @@ -2,7 +2,7 @@ · 1 unmodified line | |||
| 2 | using System.Runtime.InteropServices; | 2 | using System.Runtime.InteropServices; |
| 3 | 3 | ||
| 4 | // Assembly identity attributes. | 4 | // Assembly identity attributes. |
| 5 | [assembly: AssemblyVersion("2.1.99.0")] | 5 | [assembly: AssemblyVersion("1.1.64.54531")] |
| 6 | 6 | ||
| 7 | // Informational attributes. | 7 | // Informational attributes. |
| 8 | [assembly: AssemblyCompany("TVA")] | 8 | [assembly: AssemblyCompany("TVA")] |
| @@ -2,7 +2,7 @@ · 1 unmodified line | |||
| 2 | using System.Runtime.InteropServices; | 2 | using System.Runtime.InteropServices; |
| 3 | 3 | ||
| 4 | // Assembly identity attributes. | 4 | // Assembly identity attributes. |
| 5 | [assembly: AssemblyVersion("2.1.99.0")] | 5 | [assembly: AssemblyVersion("1.1.64.54531")] |
| 6 | 6 | ||
| 7 | // Informational attributes. | 7 | // Informational attributes. |
| 8 | [assembly: AssemblyCompany("TVA")] | 8 | [assembly: AssemblyCompany("TVA")] |
| @@ -1,27 +1,27 @@ | |||
| 1 | using System; | 1 | using System; |
| 2 | using System.Reflection; | 2 | using System.Reflection; |
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | using System.Security.Permissions; | 4 | using System.Security.Permissions; |
| 5 | 5 | ||
| 6 | // Assembly identity attributes. | 6 | // Assembly identity attributes. |
| 7 | [assembly: AssemblyVersion("2.1.99.0")] | 7 | [assembly: AssemblyVersion("1.1.241.0")] |
| 8 | 8 | ||
| 9 | // Informational attributes. | 9 | // Informational attributes. |
| 10 | [assembly: AssemblyCompany("TVA")] | 10 | [assembly: AssemblyCompany("TVA")] |
| 11 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] | 11 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] |
| 12 | [assembly: AssemblyProduct("openPDC Historian")] | 12 | [assembly: AssemblyProduct("openPDC Historian")] |
| 13 | 13 | ||
| 14 | // Assembly manifest attributes. | 14 | // Assembly manifest attributes. |
| 15 | #if DEBUG | 15 | #if DEBUG |
| 16 | [assembly: AssemblyConfiguration("Debug Build")] | 16 | [assembly: AssemblyConfiguration("Debug Build")] |
| 17 | #else | 17 | #else |
| 18 | [assembly: AssemblyConfiguration("Release Build")] | 18 | [assembly: AssemblyConfiguration("Release Build")] |
| 19 | #endif | 19 | #endif |
| 20 | [assembly: AssemblyDefaultAlias("Hadoop.Replication")] | 20 | [assembly: AssemblyDefaultAlias("Hadoop.Replication")] |
| 21 | [assembly: AssemblyDescription("Historian replication component to Hadoop.")] | 21 | [assembly: AssemblyDescription("Historian replication component to Hadoop.")] |
| 22 | [assembly: AssemblyTitle("Hadoop.Replication")] | 22 | [assembly: AssemblyTitle("Hadoop.Replication")] |
| 23 | 23 | ||
| 24 | // Other configuration attributes. | 24 | // Other configuration attributes. |
| 25 | [assembly: CLSCompliant(true)] | 25 | [assembly: CLSCompliant(true)] |
| 26 | [assembly: ComVisible(false)] | 26 | [assembly: ComVisible(false)] |
| 27 | [assembly: Guid("fbb49f9b-954b-40a7-986f-460d12cb31e9")] | 27 | [assembly: Guid("fbb49f9b-954b-40a7-986f-460d12cb31e9")] |
| @@ -4,7 +4,7 @@ using System.Runtime.InteropServices; · 3 unmodified lines | |||
| 4 | using System.Security.Permissions; | 4 | using System.Security.Permissions; |
| 5 | 5 | ||
| 6 | // Assembly identity attributes. | 6 | // Assembly identity attributes. |
| 7 | [assembly: AssemblyVersion("2.1.99.0")] | 7 | [assembly: AssemblyVersion("1.1.241.0")] |
| 8 | 8 | ||
| 9 | // Informational attributes. | 9 | // Informational attributes. |
| 10 | [assembly: AssemblyCompany("TVA")] | 10 | [assembly: AssemblyCompany("TVA")] |
| @@ -3,7 +3,7 @@ using System.Reflection; · 2 unmodified lines | |||
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // Assembly identity attributes. | 5 | // Assembly identity attributes. |
| 6 | [assembly: AssemblyVersion("2.1.99.0")] | 6 | [assembly: AssemblyVersion("1.1.241.0")] |
| 7 | 7 | ||
| 8 | // Informational attributes. | 8 | // Informational attributes. |
| 9 | [assembly: AssemblyCompany("TVA")] | 9 | [assembly: AssemblyCompany("TVA")] |
| @@ -3,7 +3,7 @@ using System.Reflection; · 2 unmodified lines | |||
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // Assembly identity attributes. | 5 | // Assembly identity attributes. |
| 6 | [assembly: AssemblyVersion("2.1.99.0")] | 6 | [assembly: AssemblyVersion("1.1.241.0")] |
| 7 | 7 | ||
| 8 | // Informational attributes. | 8 | // Informational attributes. |
| 9 | [assembly: AssemblyTitle("HistorianPlaybackUtility")] | 9 | [assembly: AssemblyTitle("HistorianPlaybackUtility")] |
| @@ -52,6 +52,6 @@ using System.Windows; · 51 unmodified lines | |||
| 52 | // | 52 | // |
| 53 | // You can specify all the values or you can default the Build and Revision Numbers | 53 | // You can specify all the values or you can default the Build and Revision Numbers |
| 54 | // by using the '*' as shown below: | 54 | // by using the '*' as shown below: |
| 55 | // [assembly: AssemblyVersion("2.1.99.0")] | 55 | // [assembly: AssemblyVersion("1.1.241.0")] |
| 56 | [assembly: AssemblyVersion("2.1.99.0")] | 56 | [assembly: AssemblyVersion("1.1.241.0")] |
| 57 | [assembly: AssemblyFileVersion("2.1.99.0")] | 57 | [assembly: AssemblyFileVersion("1.0.0.0")] |
| @@ -1,26 +1,26 @@ | |||
| 1 | using System; | 1 | using System; |
| 2 | using System.Reflection; | 2 | using System.Reflection; |
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // Assembly identity attributes. | 5 | // Assembly identity attributes. |
| 6 | [assembly: AssemblyVersion("2.1.99.0")] | 6 | [assembly: AssemblyVersion("4.0.4.70")] |
| 7 | 7 | ||
| 8 | // Informational attributes. | 8 | // Informational attributes. |
| 9 | [assembly: AssemblyCompany("TVA")] | 9 | [assembly: AssemblyCompany("TVA")] |
| 10 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] | 10 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] |
| 11 | [assembly: AssemblyProduct("TVA Code Library")] | 11 | [assembly: AssemblyProduct("TVA Code Library")] |
| 12 | 12 | ||
| 13 | // Assembly manifest attributes. | 13 | // Assembly manifest attributes. |
| 14 | #if DEBUG | 14 | #if DEBUG |
| 15 | [assembly: AssemblyConfiguration("Debug Build")] | 15 | [assembly: AssemblyConfiguration("Debug Build")] |
| 16 | #else | 16 | #else |
| 17 | [assembly: AssemblyConfiguration("Release Build")] | 17 | [assembly: AssemblyConfiguration("Release Build")] |
| 18 | #endif | 18 | #endif |
| 19 | [assembly: AssemblyDefaultAlias("TVA.Communication")] | 19 | [assembly: AssemblyDefaultAlias("TVA.Communication")] |
| 20 | [assembly: AssemblyDescription("Library of components for TCP, UDP, serial and file-based communication in an abstract fashion.")] | 20 | [assembly: AssemblyDescription("Library of components for TCP, UDP, serial and file-based communication in an abstract fashion.")] |
| 21 | [assembly: AssemblyTitle("TVA.Communication")] | 21 | [assembly: AssemblyTitle("TVA.Communication")] |
| 22 | 22 | ||
| 23 | // Other configuration attributes. | 23 | // Other configuration attributes. |
| 24 | [assembly: CLSCompliant(true)] | 24 | [assembly: CLSCompliant(true)] |
| 25 | [assembly: ComVisible(false)] | 25 | [assembly: ComVisible(false)] |
| 26 | [assembly: Guid("fa2223ea-9782-49f1-8757-2a333a1633c2")] | 26 | [assembly: Guid("fa2223ea-9782-49f1-8757-2a333a1633c2")] |
| @@ -1,28 +1,28 @@ | |||
| 1 | using System; | 1 | using System; |
| 2 | using System.Reflection; | 2 | using System.Reflection; |
| 3 | using System.Resources; | 3 | using System.Resources; |
| 4 | using System.Runtime.InteropServices; | 4 | using System.Runtime.InteropServices; |
| 5 | 5 | ||
| 6 | // Assembly identity attributes. | 6 | // Assembly identity attributes. |
| 7 | [assembly: AssemblyVersion("2.1.99.0")] | 7 | [assembly: AssemblyVersion("4.0.4.70")] |
| 8 | 8 | ||
| 9 | // Informational attributes. | 9 | // Informational attributes. |
| 10 | [assembly: AssemblyCompany("TVA")] | 10 | [assembly: AssemblyCompany("TVA")] |
| 11 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] | 11 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] |
| 12 | [assembly: AssemblyProduct("TVA Code Library")] | 12 | [assembly: AssemblyProduct("TVA Code Library")] |
| 13 | 13 | ||
| 14 | // Assembly manifest attributes. | 14 | // Assembly manifest attributes. |
| 15 | #if DEBUG | 15 | #if DEBUG |
| 16 | [assembly: AssemblyConfiguration("Debug Build")] | 16 | [assembly: AssemblyConfiguration("Debug Build")] |
| 17 | #else | 17 | #else |
| 18 | [assembly: AssemblyConfiguration("Release Build")] | 18 | [assembly: AssemblyConfiguration("Release Build")] |
| 19 | #endif | 19 | #endif |
| 20 | [assembly: AssemblyDefaultAlias("TVA.Core")] | 20 | [assembly: AssemblyDefaultAlias("TVA.Core")] |
| 21 | [assembly: AssemblyDescription("Library of .NET extensions and components - adapter framework, process queue, configuration api, diagnostics, error handling, active directory, interop, checksums, ftp, mail, unit conversion, binary parsing, scheduler, ntp time, precision timer, int24, unit24, console extensions, database extensions, drawing extension, reflection extensions, xml extensions, bit extensions, buffer extensions, char extensions, data-time extensions, enum extensions, string extensions.")] | 21 | [assembly: AssemblyDescription("Library of .NET extensions and components - adapter framework, process queue, configuration api, diagnostics, error handling, active directory, interop, checksums, ftp, mail, unit conversion, binary parsing, scheduler, ntp time, precision timer, int24, unit24, console extensions, database extensions, drawing extension, reflection extensions, xml extensions, bit extensions, buffer extensions, char extensions, data-time extensions, enum extensions, string extensions.")] |
| 22 | [assembly: AssemblyTitle("TVA.Core")] | 22 | [assembly: AssemblyTitle("TVA.Core")] |
| 23 | 23 | ||
| 24 | // Other configuration attributes. | 24 | // Other configuration attributes. |
| 25 | [assembly: CLSCompliant(true)] | 25 | [assembly: CLSCompliant(true)] |
| 26 | [assembly: ComVisible(false)] | 26 | [assembly: ComVisible(false)] |
| 27 | [assembly: Guid("9448a8b5-35c1-4dc7-8c42-8712153ac08a")] | 27 | [assembly: Guid("9448a8b5-35c1-4dc7-8c42-8712153ac08a")] |
| 28 | [assembly: NeutralResourcesLanguage("en-US")] | 28 | [assembly: NeutralResourcesLanguage("en-US")] |
| @@ -1,873 +1,873 @@ | |||
| 1 | //******************************************************************************************************* | 1 | //******************************************************************************************************* |
| 2 | // AssemblyInfo.cs - Gbtc | 2 | // AssemblyInfo.cs - Gbtc |
| 3 | // | 3 | // |
| 4 | // Tennessee Valley Authority, 2009 | 4 | // Tennessee Valley Authority, 2009 |
| 5 | // No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved. | 5 | // No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved. |
| 6 | // | 6 | // |
| 7 | // This software is made freely available under the TVA Open Source Agreement (see below). | 7 | // This software is made freely available under the TVA Open Source Agreement (see below). |
| 8 | // Code in this file licensed to TVA under one or more contributor license agreements listed below. | 8 | // Code in this file licensed to TVA under one or more contributor license agreements listed below. |
| 9 | // | 9 | // |
| 10 | // Code Modification History: | 10 | // Code Modification History: |
| 11 | // ----------------------------------------------------------------------------------------------------- | 11 | // ----------------------------------------------------------------------------------------------------- |
| 12 | // 04/29/2005 - Pinal C. Patel | 12 | // 04/29/2005 - Pinal C. Patel |
| 13 | // Generated original version of source code. | 13 | // Generated original version of source code. |
| 14 | // 12/29/2005 - Pinal C. Patel | 14 | // 12/29/2005 - Pinal C. Patel |
| 15 | // Migrated 2.0 version of source code from 1.1 source (TVA.Shared.Assembly). | 15 | // Migrated 2.0 version of source code from 1.1 source (TVA.Shared.Assembly). |
| 16 | // 12/12/2007 - Darrell Zuercher | 16 | // 12/12/2007 - Darrell Zuercher |
| 17 | // Edited Code Comments. | 17 | // Edited Code Comments. |
| 18 | // 09/08/2008 - J. Ritchie Carroll | 18 | // 09/08/2008 - J. Ritchie Carroll |
| 19 | // Converted to C# as AssemblyInformation. | 19 | // Converted to C# as AssemblyInformation. |
| 20 | // 09/14/2009 - Stephen C. Wills | 20 | // 09/14/2009 - Stephen C. Wills |
| 21 | // Added new header and license agreement. | 21 | // Added new header and license agreement. |
| 22 | // 10/21/2009 - Pinal C. Patel | 22 | // 10/21/2009 - Pinal C. Patel |
| 23 | // Added error checking to assembly attribute properties. | 23 | // Added error checking to assembly attribute properties. |
| 24 | // 09/28/2010 - Pinal C. Patel | 24 | // 09/28/2010 - Pinal C. Patel |
| 25 | // Modified EntryAssembly to perform a reflection only load of the currently executing process | 25 | // Modified EntryAssembly to perform a reflection only load of the currently executing process |
| 26 | // to deal with entry assembly not being available in non-default application domains. | 26 | // to deal with entry assembly not being available in non-default application domains. |
| 27 | // Changed GetCustomAttribute() to return CustomAttributeData instead of Object to deal with | 27 | // Changed GetCustomAttribute() to return CustomAttributeData instead of Object to deal with |
| 28 | // possible reflection only load being performed in EntryAssembly. | 28 | // possible reflection only load being performed in EntryAssembly. |
| 29 | // Removed Debuggable property since it was not very useful and added complexity when extracting. | 29 | // Removed Debuggable property since it was not very useful and added complexity when extracting. |
| 30 | // 09/21/2011 - J. Ritchie Carroll | 30 | // 09/21/2011 - J. Ritchie Carroll |
| 31 | // Added Mono implementation exception regions. | 31 | // Added Mono implementation exception regions. |
| 32 | // | 32 | // |
| 33 | //******************************************************************************************************* | 33 | //******************************************************************************************************* |
| 34 | 34 | ||
| 35 | #region [ TVA Open Source Agreement ] | 35 | #region [ TVA Open Source Agreement ] |
| 36 | /* | 36 | /* |
| 37 | 37 | ||
| 38 | THIS OPEN SOURCE AGREEMENT ("AGREEMENT") DEFINES THE RIGHTS OF USE,REPRODUCTION, DISTRIBUTION, | 38 | THIS OPEN SOURCE AGREEMENT ("AGREEMENT") DEFINES THE RIGHTS OF USE,REPRODUCTION, DISTRIBUTION, |
| 39 | MODIFICATION AND REDISTRIBUTION OF CERTAIN COMPUTER SOFTWARE ORIGINALLY RELEASED BY THE | 39 | MODIFICATION AND REDISTRIBUTION OF CERTAIN COMPUTER SOFTWARE ORIGINALLY RELEASED BY THE |
| 40 | TENNESSEE VALLEY AUTHORITY, A CORPORATE AGENCY AND INSTRUMENTALITY OF THE UNITED STATES GOVERNMENT | 40 | TENNESSEE VALLEY AUTHORITY, A CORPORATE AGENCY AND INSTRUMENTALITY OF THE UNITED STATES GOVERNMENT |
| 41 | ("GOVERNMENT AGENCY"). GOVERNMENT AGENCY IS AN INTENDED THIRD-PARTY BENEFICIARY OF ALL SUBSEQUENT | 41 | ("GOVERNMENT AGENCY"). GOVERNMENT AGENCY IS AN INTENDED THIRD-PARTY BENEFICIARY OF ALL SUBSEQUENT |
| 42 | DISTRIBUTIONS OR REDISTRIBUTIONS OF THE SUBJECT SOFTWARE. ANYONE WHO USES, REPRODUCES, DISTRIBUTES, | 42 | DISTRIBUTIONS OR REDISTRIBUTIONS OF THE SUBJECT SOFTWARE. ANYONE WHO USES, REPRODUCES, DISTRIBUTES, |
| 43 | MODIFIES OR REDISTRIBUTES THE SUBJECT SOFTWARE, AS DEFINED HEREIN, OR ANY PART THEREOF, IS, BY THAT | 43 | MODIFIES OR REDISTRIBUTES THE SUBJECT SOFTWARE, AS DEFINED HEREIN, OR ANY PART THEREOF, IS, BY THAT |
| 44 | ACTION, ACCEPTING IN FULL THE RESPONSIBILITIES AND OBLIGATIONS CONTAINED IN THIS AGREEMENT. | 44 | ACTION, ACCEPTING IN FULL THE RESPONSIBILITIES AND OBLIGATIONS CONTAINED IN THIS AGREEMENT. |
| 45 | 45 | ||
| 46 | Original Software Designation: openPDC | 46 | Original Software Designation: openPDC |
| 47 | Original Software Title: The TVA Open Source Phasor Data Concentrator | 47 | Original Software Title: The TVA Open Source Phasor Data Concentrator |
| 48 | User Registration Requested. Please Visit https://naspi.tva.com/Registration/ | 48 | User Registration Requested. Please Visit https://naspi.tva.com/Registration/ |
| 49 | Point of Contact for Original Software: J. Ritchie Carroll <mailto:jrcarrol@tva.gov> | 49 | Point of Contact for Original Software: J. Ritchie Carroll <mailto:jrcarrol@tva.gov> |
| 50 | 50 | ||
| 51 | 1. DEFINITIONS | 51 | 1. DEFINITIONS |
| 52 | 52 | ||
| 53 | A. "Contributor" means Government Agency, as the developer of the Original Software, and any entity | 53 | A. "Contributor" means Government Agency, as the developer of the Original Software, and any entity |
| 54 | that makes a Modification. | 54 | that makes a Modification. |
| 55 | 55 | ||
| 56 | B. "Covered Patents" mean patent claims licensable by a Contributor that are necessarily infringed by | 56 | B. "Covered Patents" mean patent claims licensable by a Contributor that are necessarily infringed by |
| 57 | the use or sale of its Modification alone or when combined with the Subject Software. | 57 | the use or sale of its Modification alone or when combined with the Subject Software. |
| 58 | 58 | ||
| 59 | C. "Display" means the showing of a copy of the Subject Software, either directly or by means of an | 59 | C. "Display" means the showing of a copy of the Subject Software, either directly or by means of an |
| 60 | image, or any other device. | 60 | image, or any other device. |
| 61 | 61 | ||
| 62 | D. "Distribution" means conveyance or transfer of the Subject Software, regardless of means, to | 62 | D. "Distribution" means conveyance or transfer of the Subject Software, regardless of means, to |
| 63 | another. | 63 | another. |
| 64 | 64 | ||
| 65 | E. "Larger Work" means computer software that combines Subject Software, or portions thereof, with | 65 | E. "Larger Work" means computer software that combines Subject Software, or portions thereof, with |
| 66 | software separate from the Subject Software that is not governed by the terms of this Agreement. | 66 | software separate from the Subject Software that is not governed by the terms of this Agreement. |
| 67 | 67 | ||
| 68 | F. "Modification" means any alteration of, including addition to or deletion from, the substance or | 68 | F. "Modification" means any alteration of, including addition to or deletion from, the substance or |
| 69 | structure of either the Original Software or Subject Software, and includes derivative works, as that | 69 | structure of either the Original Software or Subject Software, and includes derivative works, as that |
| 70 | term is defined in the Copyright Statute, 17 USC § 101. However, the act of including Subject Software | 70 | term is defined in the Copyright Statute, 17 USC § 101. However, the act of including Subject Software |
| 71 | as part of a Larger Work does not in and of itself constitute a Modification. | 71 | as part of a Larger Work does not in and of itself constitute a Modification. |
| 72 | 72 | ||
| 73 | G. "Original Software" means the computer software first released under this Agreement by Government | 73 | G. "Original Software" means the computer software first released under this Agreement by Government |
| 74 | Agency entitled openPDC, including source code, object code and accompanying documentation, if any. | 74 | Agency entitled openPDC, including source code, object code and accompanying documentation, if any. |
| 75 | 75 | ||
| 76 | H. "Recipient" means anyone who acquires the Subject Software under this Agreement, including all | 76 | H. "Recipient" means anyone who acquires the Subject Software under this Agreement, including all |
| 77 | Contributors. | 77 | Contributors. |
| 78 | 78 | ||
| 79 | I. "Redistribution" means Distribution of the Subject Software after a Modification has been made. | 79 | I. "Redistribution" means Distribution of the Subject Software after a Modification has been made. |
| 80 | 80 | ||
| 81 | J. "Reproduction" means the making of a counterpart, image or copy of the Subject Software. | 81 | J. "Reproduction" means the making of a counterpart, image or copy of the Subject Software. |
| 82 | 82 | ||
| 83 | K. "Sale" means the exchange of the Subject Software for money or equivalent value. | 83 | K. "Sale" means the exchange of the Subject Software for money or equivalent value. |
| 84 | 84 | ||
| 85 | L. "Subject Software" means the Original Software, Modifications, or any respective parts thereof. | 85 | L. "Subject Software" means the Original Software, Modifications, or any respective parts thereof. |
| 86 | 86 | ||
| 87 | M. "Use" means the application or employment of the Subject Software for any purpose. | 87 | M. "Use" means the application or employment of the Subject Software for any purpose. |
| 88 | 88 | ||
| 89 | 2. GRANT OF RIGHTS | 89 | 2. GRANT OF RIGHTS |
| 90 | 90 | ||
| 91 | A. Under Non-Patent Rights: Subject to the terms and conditions of this Agreement, each Contributor, | 91 | A. Under Non-Patent Rights: Subject to the terms and conditions of this Agreement, each Contributor, |
| 92 | with respect to its own contribution to the Subject Software, hereby grants to each Recipient a | 92 | with respect to its own contribution to the Subject Software, hereby grants to each Recipient a |
| 93 | non-exclusive, world-wide, royalty-free license to engage in the following activities pertaining to | 93 | non-exclusive, world-wide, royalty-free license to engage in the following activities pertaining to |
| 94 | the Subject Software: | 94 | the Subject Software: |
| 95 | 95 | ||
| 96 | 1. Use | 96 | 1. Use |
| 97 | 97 | ||
| 98 | 2. Distribution | 98 | 2. Distribution |
| 99 | 99 | ||
| 100 | 3. Reproduction | 100 | 3. Reproduction |
| 101 | 101 | ||
| 102 | 4. Modification | 102 | 4. Modification |
| 103 | 103 | ||
| 104 | 5. Redistribution | 104 | 5. Redistribution |
| 105 | 105 | ||
| 106 | 6. Display | 106 | 6. Display |
| 107 | 107 | ||
| 108 | B. Under Patent Rights: Subject to the terms and conditions of this Agreement, each Contributor, with | 108 | B. Under Patent Rights: Subject to the terms and conditions of this Agreement, each Contributor, with |
| 109 | respect to its own contribution to the Subject Software, hereby grants to each Recipient under Covered | 109 | respect to its own contribution to the Subject Software, hereby grants to each Recipient under Covered |
| 110 | Patents a non-exclusive, world-wide, royalty-free license to engage in the following activities | 110 | Patents a non-exclusive, world-wide, royalty-free license to engage in the following activities |
| 111 | pertaining to the Subject Software: | 111 | pertaining to the Subject Software: |
| 112 | 112 | ||
| 113 | 1. Use | 113 | 1. Use |
| 114 | 114 | ||
| 115 | 2. Distribution | 115 | 2. Distribution |
| 116 | 116 | ||
| 117 | 3. Reproduction | 117 | 3. Reproduction |
| 118 | 118 | ||
| 119 | 4. Sale | 119 | 4. Sale |
| 120 | 120 | ||
| 121 | 5. Offer for Sale | 121 | 5. Offer for Sale |
| 122 | 122 | ||
| 123 | C. The rights granted under Paragraph B. also apply to the combination of a Contributor's Modification | 123 | C. The rights granted under Paragraph B. also apply to the combination of a Contributor's Modification |
| 124 | and the Subject Software if, at the time the Modification is added by the Contributor, the addition of | 124 | and the Subject Software if, at the time the Modification is added by the Contributor, the addition of |
| 125 | such Modification causes the combination to be covered by the Covered Patents. It does not apply to | 125 | such Modification causes the combination to be covered by the Covered Patents. It does not apply to |
| 126 | any other combinations that include a Modification. | 126 | any other combinations that include a Modification. |
| 127 | 127 | ||
| 128 | D. The rights granted in Paragraphs A. and B. allow the Recipient to sublicense those same rights. | 128 | D. The rights granted in Paragraphs A. and B. allow the Recipient to sublicense those same rights. |
| 129 | Such sublicense must be under the same terms and conditions of this Agreement. | 129 | Such sublicense must be under the same terms and conditions of this Agreement. |
| 130 | 130 | ||
| 131 | 3. OBLIGATIONS OF RECIPIENT | 131 | 3. OBLIGATIONS OF RECIPIENT |
| 132 | 132 | ||
| 133 | A. Distribution or Redistribution of the Subject Software must be made under this Agreement except for | 133 | A. Distribution or Redistribution of the Subject Software must be made under this Agreement except for |
| 134 | additions covered under paragraph 3H. | 134 | additions covered under paragraph 3H. |
| 135 | 135 | ||
| 136 | 1. Whenever a Recipient distributes or redistributes the Subject Software, a copy of this Agreement | 136 | 1. Whenever a Recipient distributes or redistributes the Subject Software, a copy of this Agreement |
| 137 | must be included with each copy of the Subject Software; and | 137 | must be included with each copy of the Subject Software; and |
| 138 | 138 | ||
| 139 | 2. If Recipient distributes or redistributes the Subject Software in any form other than source code, | 139 | 2. If Recipient distributes or redistributes the Subject Software in any form other than source code, |
| 140 | Recipient must also make the source code freely available, and must provide with each copy of the | 140 | Recipient must also make the source code freely available, and must provide with each copy of the |
| 141 | Subject Software information on how to obtain the source code in a reasonable manner on or through a | 141 | Subject Software information on how to obtain the source code in a reasonable manner on or through a |
| 142 | medium customarily used for software exchange. | 142 | medium customarily used for software exchange. |
| 143 | 143 | ||
| 144 | B. Each Recipient must ensure that the following copyright notice appears prominently in the Subject | 144 | B. Each Recipient must ensure that the following copyright notice appears prominently in the Subject |
| 145 | Software: | 145 | Software: |
| 146 | 146 | ||
| 147 | No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved. | 147 | No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved. |
| 148 | 148 | ||
| 149 | C. Each Contributor must characterize its alteration of the Subject Software as a Modification and | 149 | C. Each Contributor must characterize its alteration of the Subject Software as a Modification and |
| 150 | must identify itself as the originator of its Modification in a manner that reasonably allows | 150 | must identify itself as the originator of its Modification in a manner that reasonably allows |
| 151 | subsequent Recipients to identify the originator of the Modification. In fulfillment of these | 151 | subsequent Recipients to identify the originator of the Modification. In fulfillment of these |
| 152 | requirements, Contributor must include a file (e.g., a change log file) that describes the alterations | 152 | requirements, Contributor must include a file (e.g., a change log file) that describes the alterations |
| 153 | made and the date of the alterations, identifies Contributor as originator of the alterations, and | 153 | made and the date of the alterations, identifies Contributor as originator of the alterations, and |
| 154 | consents to characterization of the alterations as a Modification, for example, by including a | 154 | consents to characterization of the alterations as a Modification, for example, by including a |
| 155 | statement that the Modification is derived, directly or indirectly, from Original Software provided by | 155 | statement that the Modification is derived, directly or indirectly, from Original Software provided by |
| 156 | Government Agency. Once consent is granted, it may not thereafter be revoked. | 156 | Government Agency. Once consent is granted, it may not thereafter be revoked. |
| 157 | 157 | ||
| 158 | D. A Contributor may add its own copyright notice to the Subject Software. Once a copyright notice has | 158 | D. A Contributor may add its own copyright notice to the Subject Software. Once a copyright notice has |
| 159 | been added to the Subject Software, a Recipient may not remove it without the express permission of | 159 | been added to the Subject Software, a Recipient may not remove it without the express permission of |
| 160 | the Contributor who added the notice. | 160 | the Contributor who added the notice. |
| 161 | 161 | ||
| 162 | E. A Recipient may not make any representation in the Subject Software or in any promotional, | 162 | E. A Recipient may not make any representation in the Subject Software or in any promotional, |
| 163 | advertising or other material that may be construed as an endorsement by Government Agency or by any | 163 | advertising or other material that may be construed as an endorsement by Government Agency or by any |
| 164 | prior Recipient of any product or service provided by Recipient, or that may seek to obtain commercial | 164 | prior Recipient of any product or service provided by Recipient, or that may seek to obtain commercial |
| 165 | advantage by the fact of Government Agency's or a prior Recipient's participation in this Agreement. | 165 | advantage by the fact of Government Agency's or a prior Recipient's participation in this Agreement. |
| 166 | 166 | ||
| 167 | F. In an effort to track usage and maintain accurate records of the Subject Software, each Recipient, | 167 | F. In an effort to track usage and maintain accurate records of the Subject Software, each Recipient, |
| 168 | upon receipt of the Subject Software, is requested to register with Government Agency by visiting the | 168 | upon receipt of the Subject Software, is requested to register with Government Agency by visiting the |
| 169 | following website: https://naspi.tva.com/Registration/. Recipient's name and personal information | 169 | following website: https://naspi.tva.com/Registration/. Recipient's name and personal information |
| 170 | shall be used for statistical purposes only. Once a Recipient makes a Modification available, it is | 170 | shall be used for statistical purposes only. Once a Recipient makes a Modification available, it is |
| 171 | requested that the Recipient inform Government Agency at the web site provided above how to access the | 171 | requested that the Recipient inform Government Agency at the web site provided above how to access the |
| 172 | Modification. | 172 | Modification. |
| 173 | 173 | ||
| 174 | G. Each Contributor represents that that its Modification does not violate any existing agreements, | 174 | G. Each Contributor represents that that its Modification does not violate any existing agreements, |
| 175 | regulations, statutes or rules, and further that Contributor has sufficient rights to grant the rights | 175 | regulations, statutes or rules, and further that Contributor has sufficient rights to grant the rights |
| 176 | conveyed by this Agreement. | 176 | conveyed by this Agreement. |
| 177 | 177 | ||
| 178 | H. A Recipient may choose to offer, and to charge a fee for, warranty, support, indemnity and/or | 178 | H. A Recipient may choose to offer, and to charge a fee for, warranty, support, indemnity and/or |
| 179 | liability obligations to one or more other Recipients of the Subject Software. A Recipient may do so, | 179 | liability obligations to one or more other Recipients of the Subject Software. A Recipient may do so, |
| 180 | however, only on its own behalf and not on behalf of Government Agency or any other Recipient. Such a | 180 | however, only on its own behalf and not on behalf of Government Agency or any other Recipient. Such a |
| 181 | Recipient must make it absolutely clear that any such warranty, support, indemnity and/or liability | 181 | Recipient must make it absolutely clear that any such warranty, support, indemnity and/or liability |
| 182 | obligation is offered by that Recipient alone. Further, such Recipient agrees to indemnify Government | 182 | obligation is offered by that Recipient alone. Further, such Recipient agrees to indemnify Government |
| 183 | Agency and every other Recipient for any liability incurred by them as a result of warranty, support, | 183 | Agency and every other Recipient for any liability incurred by them as a result of warranty, support, |
| 184 | indemnity and/or liability offered by such Recipient. | 184 | indemnity and/or liability offered by such Recipient. |
| 185 | 185 | ||
| 186 | I. A Recipient may create a Larger Work by combining Subject Software with separate software not | 186 | I. A Recipient may create a Larger Work by combining Subject Software with separate software not |
| 187 | governed by the terms of this agreement and distribute the Larger Work as a single product. In such | 187 | governed by the terms of this agreement and distribute the Larger Work as a single product. In such |
| 188 | case, the Recipient must make sure Subject Software, or portions thereof, included in the Larger Work | 188 | case, the Recipient must make sure Subject Software, or portions thereof, included in the Larger Work |
| 189 | is subject to this Agreement. | 189 | is subject to this Agreement. |
| 190 | 190 | ||
| 191 | J. Notwithstanding any provisions contained herein, Recipient is hereby put on notice that export of | 191 | J. Notwithstanding any provisions contained herein, Recipient is hereby put on notice that export of |
| 192 | any goods or technical data from the United States may require some form of export license from the | 192 | any goods or technical data from the United States may require some form of export license from the |
| 193 | U.S. Government. Failure to obtain necessary export licenses may result in criminal liability under | 193 | U.S. Government. Failure to obtain necessary export licenses may result in criminal liability under |
| 194 | U.S. laws. Government Agency neither represents that a license shall not be required nor that, if | 194 | U.S. laws. Government Agency neither represents that a license shall not be required nor that, if |
| 195 | required, it shall be issued. Nothing granted herein provides any such export license. | 195 | required, it shall be issued. Nothing granted herein provides any such export license. |
| 196 | 196 | ||
| 197 | 4. DISCLAIMER OF WARRANTIES AND LIABILITIES; WAIVER AND INDEMNIFICATION | 197 | 4. DISCLAIMER OF WARRANTIES AND LIABILITIES; WAIVER AND INDEMNIFICATION |
| 198 | 198 | ||
| 199 | A. No Warranty: THE SUBJECT SOFTWARE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY OF ANY KIND, EITHER | 199 | A. No Warranty: THE SUBJECT SOFTWARE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY OF ANY KIND, EITHER |
| 200 | EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY THAT THE SUBJECT | 200 | EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY THAT THE SUBJECT |
| 201 | SOFTWARE WILL CONFORM TO SPECIFICATIONS, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A | 201 | SOFTWARE WILL CONFORM TO SPECIFICATIONS, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A |
| 202 | PARTICULAR PURPOSE, OR FREEDOM FROM INFRINGEMENT, ANY WARRANTY THAT THE SUBJECT SOFTWARE WILL BE ERROR | 202 | PARTICULAR PURPOSE, OR FREEDOM FROM INFRINGEMENT, ANY WARRANTY THAT THE SUBJECT SOFTWARE WILL BE ERROR |
| 203 | FREE, OR ANY WARRANTY THAT DOCUMENTATION, IF PROVIDED, WILL CONFORM TO THE SUBJECT SOFTWARE. THIS | 203 | FREE, OR ANY WARRANTY THAT DOCUMENTATION, IF PROVIDED, WILL CONFORM TO THE SUBJECT SOFTWARE. THIS |
| 204 | AGREEMENT DOES NOT, IN ANY MANNER, CONSTITUTE AN ENDORSEMENT BY GOVERNMENT AGENCY OR ANY PRIOR | 204 | AGREEMENT DOES NOT, IN ANY MANNER, CONSTITUTE AN ENDORSEMENT BY GOVERNMENT AGENCY OR ANY PRIOR |
| 205 | RECIPIENT OF ANY RESULTS, RESULTING DESIGNS, HARDWARE, SOFTWARE PRODUCTS OR ANY OTHER APPLICATIONS | 205 | RECIPIENT OF ANY RESULTS, RESULTING DESIGNS, HARDWARE, SOFTWARE PRODUCTS OR ANY OTHER APPLICATIONS |
| 206 | RESULTING FROM USE OF THE SUBJECT SOFTWARE. FURTHER, GOVERNMENT AGENCY DISCLAIMS ALL WARRANTIES AND | 206 | RESULTING FROM USE OF THE SUBJECT SOFTWARE. FURTHER, GOVERNMENT AGENCY DISCLAIMS ALL WARRANTIES AND |
| 207 | LIABILITIES REGARDING THIRD-PARTY SOFTWARE, IF PRESENT IN THE ORIGINAL SOFTWARE, AND DISTRIBUTES IT | 207 | LIABILITIES REGARDING THIRD-PARTY SOFTWARE, IF PRESENT IN THE ORIGINAL SOFTWARE, AND DISTRIBUTES IT |
| 208 | "AS IS." | 208 | "AS IS." |
| 209 | 209 | ||
| 210 | B. Waiver and Indemnity: RECIPIENT AGREES TO WAIVE ANY AND ALL CLAIMS AGAINST GOVERNMENT AGENCY, ITS | 210 | B. Waiver and Indemnity: RECIPIENT AGREES TO WAIVE ANY AND ALL CLAIMS AGAINST GOVERNMENT AGENCY, ITS |
| 211 | AGENTS, EMPLOYEES, CONTRACTORS AND SUBCONTRACTORS, AS WELL AS ANY PRIOR RECIPIENT. IF RECIPIENT'S USE | 211 | AGENTS, EMPLOYEES, CONTRACTORS AND SUBCONTRACTORS, AS WELL AS ANY PRIOR RECIPIENT. IF RECIPIENT'S USE |
| 212 | OF THE SUBJECT SOFTWARE RESULTS IN ANY LIABILITIES, DEMANDS, DAMAGES, EXPENSES OR LOSSES ARISING FROM | 212 | OF THE SUBJECT SOFTWARE RESULTS IN ANY LIABILITIES, DEMANDS, DAMAGES, EXPENSES OR LOSSES ARISING FROM |
| 213 | SUCH USE, INCLUDING ANY DAMAGES FROM PRODUCTS BASED ON, OR RESULTING FROM, RECIPIENT'S USE OF THE | 213 | SUCH USE, INCLUDING ANY DAMAGES FROM PRODUCTS BASED ON, OR RESULTING FROM, RECIPIENT'S USE OF THE |
| 214 | SUBJECT SOFTWARE, RECIPIENT SHALL INDEMNIFY AND HOLD HARMLESS GOVERNMENT AGENCY, ITS AGENTS, | 214 | SUBJECT SOFTWARE, RECIPIENT SHALL INDEMNIFY AND HOLD HARMLESS GOVERNMENT AGENCY, ITS AGENTS, |
| 215 | EMPLOYEES, CONTRACTORS AND SUBCONTRACTORS, AS WELL AS ANY PRIOR RECIPIENT, TO THE EXTENT PERMITTED BY | 215 | EMPLOYEES, CONTRACTORS AND SUBCONTRACTORS, AS WELL AS ANY PRIOR RECIPIENT, TO THE EXTENT PERMITTED BY |
| 216 | LAW. THE FOREGOING RELEASE AND INDEMNIFICATION SHALL APPLY EVEN IF THE LIABILITIES, DEMANDS, DAMAGES, | 216 | LAW. THE FOREGOING RELEASE AND INDEMNIFICATION SHALL APPLY EVEN IF THE LIABILITIES, DEMANDS, DAMAGES, |
| 217 | EXPENSES OR LOSSES ARE CAUSED, OCCASIONED, OR CONTRIBUTED TO BY THE NEGLIGENCE, SOLE OR CONCURRENT, OF | 217 | EXPENSES OR LOSSES ARE CAUSED, OCCASIONED, OR CONTRIBUTED TO BY THE NEGLIGENCE, SOLE OR CONCURRENT, OF |
| 218 | GOVERNMENT AGENCY OR ANY PRIOR RECIPIENT. RECIPIENT'S SOLE REMEDY FOR ANY SUCH MATTER SHALL BE THE | 218 | GOVERNMENT AGENCY OR ANY PRIOR RECIPIENT. RECIPIENT'S SOLE REMEDY FOR ANY SUCH MATTER SHALL BE THE |
| 219 | IMMEDIATE, UNILATERAL TERMINATION OF THIS AGREEMENT. | 219 | IMMEDIATE, UNILATERAL TERMINATION OF THIS AGREEMENT. |
| 220 | 220 | ||
| 221 | 5. GENERAL TERMS | 221 | 5. GENERAL TERMS |
| 222 | 222 | ||
| 223 | A. Termination: This Agreement and the rights granted hereunder will terminate automatically if a | 223 | A. Termination: This Agreement and the rights granted hereunder will terminate automatically if a |
| 224 | Recipient fails to comply with these terms and conditions, and fails to cure such noncompliance within | 224 | Recipient fails to comply with these terms and conditions, and fails to cure such noncompliance within |
| 225 | thirty (30) days of becoming aware of such noncompliance. Upon termination, a Recipient agrees to | 225 | thirty (30) days of becoming aware of such noncompliance. Upon termination, a Recipient agrees to |
| 226 | immediately cease use and distribution of the Subject Software. All sublicenses to the Subject | 226 | immediately cease use and distribution of the Subject Software. All sublicenses to the Subject |
| 227 | Software properly granted by the breaching Recipient shall survive any such termination of this | 227 | Software properly granted by the breaching Recipient shall survive any such termination of this |
| 228 | Agreement. | 228 | Agreement. |
| 229 | 229 | ||
| 230 | B. Severability: If any provision of this Agreement is invalid or unenforceable under applicable law, | 230 | B. Severability: If any provision of this Agreement is invalid or unenforceable under applicable law, |
| 231 | it shall not affect the validity or enforceability of the remainder of the terms of this Agreement. | 231 | it shall not affect the validity or enforceability of the remainder of the terms of this Agreement. |
| 232 | 232 | ||
| 233 | C. Applicable Law: This Agreement shall be subject to United States federal law only for all purposes, | 233 | C. Applicable Law: This Agreement shall be subject to United States federal law only for all purposes, |
| 234 | including, but not limited to, determining the validity of this Agreement, the meaning of its | 234 | including, but not limited to, determining the validity of this Agreement, the meaning of its |
| 235 | provisions and the rights, obligations and remedies of the parties. | 235 | provisions and the rights, obligations and remedies of the parties. |
| 236 | 236 | ||
| 237 | D. Entire Understanding: This Agreement constitutes the entire understanding and agreement of the | 237 | D. Entire Understanding: This Agreement constitutes the entire understanding and agreement of the |
| 238 | parties relating to release of the Subject Software and may not be superseded, modified or amended | 238 | parties relating to release of the Subject Software and may not be superseded, modified or amended |
| 239 | except by further written agreement duly executed by the parties. | 239 | except by further written agreement duly executed by the parties. |
| 240 | 240 | ||
| 241 | E. Binding Authority: By accepting and using the Subject Software under this Agreement, a Recipient | 241 | E. Binding Authority: By accepting and using the Subject Software under this Agreement, a Recipient |
| 242 | affirms its authority to bind the Recipient to all terms and conditions of this Agreement and that | 242 | affirms its authority to bind the Recipient to all terms and conditions of this Agreement and that |
| 243 | Recipient hereby agrees to all terms and conditions herein. | 243 | Recipient hereby agrees to all terms and conditions herein. |
| 244 | 244 | ||
| 245 | F. Point of Contact: Any Recipient contact with Government Agency is to be directed to the designated | 245 | F. Point of Contact: Any Recipient contact with Government Agency is to be directed to the designated |
| 246 | representative as follows: J. Ritchie Carroll <mailto:jrcarrol@tva.gov>. | 246 | representative as follows: J. Ritchie Carroll <mailto:jrcarrol@tva.gov>. |
| 247 | 247 | ||
| 248 | */ | 248 | */ |
| 249 | #endregion | 249 | #endregion |
| 250 | 250 | ||
| 251 | #region [ Contributor License Agreements ] | 251 | #region [ Contributor License Agreements ] |
| 252 | 252 | ||
| 253 | //****************************************************************************************************** | 253 | //****************************************************************************************************** |
| 254 | // | 254 | // |
| 255 | // Copyright © 2011, Grid Protection Alliance. All Rights Reserved. | 255 | // Copyright © 2011, Grid Protection Alliance. All Rights Reserved. |
| 256 | // | 256 | // |
| 257 | // The GPA licenses this file to you under the Eclipse Public License -v 1.0 (the "License"); you may | 257 | // The GPA licenses this file to you under the Eclipse Public License -v 1.0 (the "License"); you may |
| 258 | // not use this file except in compliance with the License. You may obtain a copy of the License at: | 258 | // not use this file except in compliance with the License. You may obtain a copy of the License at: |
| 259 | // | 259 | // |
| 260 | // http://www.opensource.org/licenses/eclipse-1.0.php | 260 | // http://www.opensource.org/licenses/eclipse-1.0.php |
| 261 | // | 261 | // |
| 262 | // Unless agreed to in writing, the subject software distributed under the License is distributed on an | 262 | // Unless agreed to in writing, the subject software distributed under the License is distributed on an |
| 263 | // "AS-IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. Refer to the | 263 | // "AS-IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. Refer to the |
| 264 | // License for the specific language governing permissions and limitations. | 264 | // License for the specific language governing permissions and limitations. |
| 265 | // | 265 | // |
| 266 | //****************************************************************************************************** | 266 | //****************************************************************************************************** |
| 267 | 267 | ||
| 268 | #endregion | 268 | #endregion |
| 269 | 269 | ||
| 270 | using System; | 270 | using System; |
| 271 | using System.Collections.Generic; | 271 | using System.Collections.Generic; |
| 272 | using System.Collections.Specialized; | 272 | using System.Collections.Specialized; |
| 273 | using System.Diagnostics; | 273 | using System.Diagnostics; |
| 274 | using System.IO; | 274 | using System.IO; |
| 275 | using System.Linq; | 275 | using System.Linq; |
| 276 | using System.Reflection; | 276 | using System.Reflection; |
| 277 | using System.Resources; | 277 | using System.Resources; |
| 278 | using System.Runtime.InteropServices; | 278 | using System.Runtime.InteropServices; |
| 279 | using System.Security.Permissions; | 279 | using System.Security.Permissions; |
| 280 | using TVA.IO; | 280 | using TVA.IO; |
| 281 | 281 | ||
| 282 | namespace TVA.Reflection | 282 | namespace TVA.Reflection |
| 283 | { | 283 | { |
| 284 | /// <summary>Assembly Information Class.</summary> | 284 | /// <summary>Assembly Information Class.</summary> |
| 285 | public class AssemblyInfo | 285 | public class AssemblyInfo |
| 286 | { | 286 | { |
| 287 | #region [ Members ] | 287 | #region [ Members ] |
| 288 | 288 | ||
| 289 | // Fields | 289 | // Fields |
| 290 | private Assembly m_assemblyInstance; | 290 | private Assembly m_assemblyInstance; |
| 291 | 291 | ||
| 292 | #endregion | 292 | #endregion |
| 293 | 293 | ||
| 294 | #region [ Constructors ] | 294 | #region [ Constructors ] |
| 295 | 295 | ||
| 296 | /// <summary>Initializes a new instance of the <see cref="AssemblyInfo"/> class.</summary> | 296 | /// <summary>Initializes a new instance of the <see cref="AssemblyInfo"/> class.</summary> |
| 297 | /// <param name="assemblyInstance">An <see cref="Assembly"/> object.</param> | 297 | /// <param name="assemblyInstance">An <see cref="Assembly"/> object.</param> |
| 298 | public AssemblyInfo(Assembly assemblyInstance) | 298 | public AssemblyInfo(Assembly assemblyInstance) |
| 299 | { | 299 | { |
| 300 | m_assemblyInstance = assemblyInstance; | 300 | m_assemblyInstance = assemblyInstance; |
| 301 | } | 301 | } |
| 302 | 302 | ||
| 303 | #endregion | 303 | #endregion |
| 304 | 304 | ||
| 305 | #region [ Properties ] | 305 | #region [ Properties ] |
| 306 | 306 | ||
| 307 | /// <summary> | 307 | /// <summary> |
| 308 | /// Gets the underlying <see cref="Assembly"/> being represented by this <see cref="AssemblyInfo"/> object. | 308 | /// Gets the underlying <see cref="Assembly"/> being represented by this <see cref="AssemblyInfo"/> object. |
| 309 | /// </summary> | 309 | /// </summary> |
| 310 | public Assembly Assembly | 310 | public Assembly Assembly |
| 311 | { | 311 | { |
| 312 | get | 312 | get |
| 313 | { | 313 | { |
| 314 | return m_assemblyInstance; | 314 | return m_assemblyInstance; |
| 315 | } | 315 | } |
| 316 | } | 316 | } |
| 317 | 317 | ||
| 318 | /// <summary> | 318 | /// <summary> |
| 319 | /// Gets the title information of the <see cref="Assembly"/>. | 319 | /// Gets the title information of the <see cref="Assembly"/>. |
| 320 | /// </summary> | 320 | /// </summary> |
| 321 | public string Title | 321 | public string Title |
| 322 | { | 322 | { |
| 323 | get | 323 | get |
| 324 | { | 324 | { |
| 325 | CustomAttributeData attribute = GetCustomAttribute(typeof(AssemblyTitleAttribute)); | 325 | CustomAttributeData attribute = GetCustomAttribute(typeof(AssemblyTitleAttribute)); |
| 326 | if ((object)attribute == null) | 326 | if ((object)attribute == null) |
| 327 | return string.Empty; | 327 | return string.Empty; |
| 328 | else | 328 | else |
| 329 | return (string)attribute.ConstructorArguments[0].Value; | 329 | return (string)attribute.ConstructorArguments[0].Value; |
| 330 | } | 330 | } |
| 331 | } | 331 | } |
| 332 | 332 | ||
| 333 | /// <summary> | 333 | /// <summary> |
| 334 | /// Gets the description information of the <see cref="Assembly"/>. | 334 | /// Gets the description information of the <see cref="Assembly"/>. |
| 335 | /// </summary> | 335 | /// </summary> |
| 336 | public string Description | 336 | public string Description |
| 337 | { | 337 | { |
| 338 | get | 338 | get |
| 339 | { | 339 | { |
| 340 | CustomAttributeData attribute = GetCustomAttribute(typeof(AssemblyDescriptionAttribute)); | 340 | CustomAttributeData attribute = GetCustomAttribute(typeof(AssemblyDescriptionAttribute)); |
| 341 | if ((object)attribute == null) | 341 | if ((object)attribute == null) |
| 342 | return string.Empty; | 342 | return string.Empty; |
| 343 | else | 343 | else |
| 344 | return (string)attribute.ConstructorArguments[0].Value; | 344 | return (string)attribute.ConstructorArguments[0].Value; |
| 345 | } | 345 | } |
| 346 | } | 346 | } |
| 347 | 347 | ||
| 348 | /// <summary> | 348 | /// <summary> |
| 349 | /// Gets the company name information of the <see cref="Assembly"/>. | 349 | /// Gets the company name information of the <see cref="Assembly"/>. |
| 350 | /// </summary> | 350 | /// </summary> |
| 351 | public string Company | 351 | public string Company |
| 352 | { | 352 | { |
| 353 | get | 353 | get |
| 354 | { | 354 | { |
| 355 | CustomAttributeData attribute = GetCustomAttribute(typeof(AssemblyCompanyAttribute)); | 355 | CustomAttributeData attribute = GetCustomAttribute(typeof(AssemblyCompanyAttribute)); |
| 356 | if ((object)attribute == null) | 356 | if ((object)attribute == null) |
| 357 | return string.Empty; | 357 | return string.Empty; |
| 358 | else | 358 | else |
| 359 | return (string)attribute.ConstructorArguments[0].Value; | 359 | return (string)attribute.ConstructorArguments[0].Value; |
| 360 | } | 360 | } |
| 361 | } | 361 | } |
| 362 | 362 | ||
| 363 | /// <summary> | 363 | /// <summary> |
| 364 | /// Gets the product name information of the <see cref="Assembly"/>. | 364 | /// Gets the product name information of the <see cref="Assembly"/>. |
| 365 | /// </summary> | 365 | /// </summary> |
| 366 | public string Product | 366 | public string Product |
| 367 | { | 367 | { |
| 368 | get | 368 | get |
| 369 | { | 369 | { |
| 370 | CustomAttributeData attribute = GetCustomAttribute(typeof(AssemblyProductAttribute)); | 370 | CustomAttributeData attribute = GetCustomAttribute(typeof(AssemblyProductAttribute)); |
| 371 | if ((object)attribute == null) | 371 | if ((object)attribute == null) |
| 372 | return string.Empty; | 372 | return string.Empty; |
| 373 | else | 373 | else |
| 374 | return (string)attribute.ConstructorArguments[0].Value; | 374 | return (string)attribute.ConstructorArguments[0].Value; |
| 375 | } | 375 | } |
| 376 | } | 376 | } |
| 377 | 377 | ||
| 378 | /// <summary> | 378 | /// <summary> |
| 379 | /// Gets the copyright information of the <see cref="Assembly"/>. | 379 | /// Gets the copyright information of the <see cref="Assembly"/>. |
| 380 | /// </summary> | 380 | /// </summary> |
| 381 | public string Copyright | 381 | public string Copyright |
| 382 | { | 382 | { |
| 383 | get | 383 | get |
| 384 | { | 384 | { |
| 385 | CustomAttributeData attribute = GetCustomAttribute(typeof(AssemblyCopyrightAttribute)); | 385 | CustomAttributeData attribute = GetCustomAttribute(typeof(AssemblyCopyrightAttribute)); |
| 386 | if ((object)attribute == null) | 386 | if ((object)attribute == null) |
| 387 | return string.Empty; | 387 | return string.Empty; |
| 388 | else | 388 | else |
| 389 | return (string)attribute.ConstructorArguments[0].Value; | 389 | return (string)attribute.ConstructorArguments[0].Value; |
| 390 | } | 390 | } |
| 391 | } | 391 | } |
| 392 | 392 | ||
| 393 | /// <summary> | 393 | /// <summary> |
| 394 | /// Gets the trademark information of the <see cref="Assembly"/>. | 394 | /// Gets the trademark information of the <see cref="Assembly"/>. |
| 395 | /// </summary> | 395 | /// </summary> |
| 396 | public string Trademark | 396 | public string Trademark |
| 397 | { | 397 | { |
| 398 | get | 398 | get |
| 399 | { | 399 | { |
| 400 | CustomAttributeData attribute = GetCustomAttribute(typeof(AssemblyTrademarkAttribute)); | 400 | CustomAttributeData attribute = GetCustomAttribute(typeof(AssemblyTrademarkAttribute)); |
| 401 | if ((object)attribute == null) | 401 | if ((object)attribute == null) |
| 402 | return string.Empty; | 402 | return string.Empty; |
| 403 | else | 403 | else |
| 404 | return (string)attribute.ConstructorArguments[0].Value; | 404 | return (string)attribute.ConstructorArguments[0].Value; |
| 405 | } | 405 | } |
| 406 | } | 406 | } |
| 407 | 407 | ||
| 408 | /// <summary> | 408 | /// <summary> |
| 409 | /// Gets the configuration information of the <see cref="Assembly"/>. | 409 | /// Gets the configuration information of the <see cref="Assembly"/>. |
| 410 | /// </summary> | 410 | /// </summary> |
| 411 | public string Configuration | 411 | public string Configuration |
| 412 | { | 412 | { |
| 413 | get | 413 | get |
| 414 | { | 414 | { |
| 415 | CustomAttributeData attribute = GetCustomAttribute(typeof(AssemblyConfigurationAttribute)); | 415 | CustomAttributeData attribute = GetCustomAttribute(typeof(AssemblyConfigurationAttribute)); |
| 416 | if ((object)attribute == null) | 416 | if ((object)attribute == null) |
| 417 | return string.Empty; | 417 | return string.Empty; |
| 418 | else | 418 | else |
| 419 | return (string)attribute.ConstructorArguments[0].Value; | 419 | return (string)attribute.ConstructorArguments[0].Value; |
| 420 | } | 420 | } |
| 421 | } | 421 | } |
| 422 | 422 | ||
| 423 | /// <summary> | 423 | /// <summary> |
| 424 | /// Gets a boolean value indicating if the <see cref="Assembly"/> has been built as delay-signed. | 424 | /// Gets a boolean value indicating if the <see cref="Assembly"/> has been built as delay-signed. |
| 425 | /// </summary> | 425 | /// </summary> |
| 426 | public bool DelaySign | 426 | public bool DelaySign |
| 427 | { | 427 | { |
| 428 | get | 428 | get |
| 429 | { | 429 | { |
| 430 | CustomAttributeData attribute = GetCustomAttribute(typeof(AssemblyDelaySignAttribute)); | 430 | CustomAttributeData attribute = GetCustomAttribute(typeof(AssemblyDelaySignAttribute)); |
| 431 | if ((object)attribute == null) | 431 | if ((object)attribute == null) |
| 432 | return false; | 432 | return false; |
| 433 | else | 433 | else |
| 434 | return (bool)attribute.ConstructorArguments[0].Value; | 434 | return (bool)attribute.ConstructorArguments[0].Value; |
| 435 | } | 435 | } |
| 436 | } | 436 | } |
| 437 | 437 | ||
| 438 | /// <summary> | 438 | /// <summary> |
| 439 | /// Gets the version information of the <see cref="Assembly"/>. | 439 | /// Gets the version information of the <see cref="Assembly"/>. |
| 440 | /// </summary> | 440 | /// </summary> |
| 441 | public string InformationalVersion | 441 | public string InformationalVersion |
| 442 | { | 442 | { |
| 443 | get | 443 | get |
| 444 | { | 444 | { |
| 445 | CustomAttributeData attribute = GetCustomAttribute(typeof(AssemblyInformationalVersionAttribute)); | 445 | CustomAttributeData attribute = GetCustomAttribute(typeof(AssemblyInformationalVersionAttribute)); |
| 446 | if ((object)attribute == null) | 446 | if ((object)attribute == null) |
| 447 | return string.Empty; | 447 | return string.Empty; |
| 448 | else | 448 | else |
| 449 | return (string)attribute.ConstructorArguments[0].Value; | 449 | return (string)attribute.ConstructorArguments[0].Value; |
| 450 | } | 450 | } |
| 451 | } | 451 | } |
| 452 | 452 | ||
| 453 | /// <summary> | 453 | /// <summary> |
| 454 | /// Gets the name of the file containing the key pair used to generate a strong name for the attributed <see cref="Assembly"/>. | 454 | /// Gets the name of the file containing the key pair used to generate a strong name for the attributed <see cref="Assembly"/>. |
| 455 | /// </summary> | 455 | /// </summary> |
| 456 | public string KeyFile | 456 | public string KeyFile |
| 457 | { | 457 | { |
| 458 | get | 458 | get |
| 459 | { | 459 | { |
| 460 | CustomAttributeData attribute = GetCustomAttribute(typeof(AssemblyKeyFileAttribute)); | 460 | CustomAttributeData attribute = GetCustomAttribute(typeof(AssemblyKeyFileAttribute)); |
| 461 | if ((object)attribute == null) | 461 | if ((object)attribute == null) |
| 462 | return string.Empty; | 462 | return string.Empty; |
| 463 | else | 463 | else |
| 464 | return (string)attribute.ConstructorArguments[0].Value; | 464 | return (string)attribute.ConstructorArguments[0].Value; |
| 465 | } | 465 | } |
| 466 | } | 466 | } |
| 467 | 467 | ||
| 468 | /// <summary> | 468 | /// <summary> |
| 469 | /// Gets the culture name of the <see cref="Assembly"/>. | 469 | /// Gets the culture name of the <see cref="Assembly"/>. |
| 470 | /// </summary> | 470 | /// </summary> |
| 471 | public string CultureName | 471 | public string CultureName |
| 472 | { | 472 | { |
| 473 | get | 473 | get |
| 474 | { | 474 | { |
| 475 | CustomAttributeData attribute = GetCustomAttribute(typeof(NeutralResourcesLanguageAttribute)); | 475 | CustomAttributeData attribute = GetCustomAttribute(typeof(NeutralResourcesLanguageAttribute)); |
| 476 | if ((object)attribute == null) | 476 | if ((object)attribute == null) |
| 477 | return string.Empty; | 477 | return string.Empty; |
| 478 | else | 478 | else |
| 479 | return (string)attribute.ConstructorArguments[0].Value; | 479 | return (string)attribute.ConstructorArguments[0].Value; |
| 480 | } | 480 | } |
| 481 | } | 481 | } |
| 482 | 482 | ||
| 483 | /// <summary> | 483 | /// <summary> |
| 484 | /// Gets the assembly version used to instruct the System.Resources.ResourceManager to ask for a particular | 484 | /// Gets the assembly version used to instruct the System.Resources.ResourceManager to ask for a particular |
| 485 | /// version of a satellite assembly to simplify updates of the main assembly of an application. | 485 | /// version of a satellite assembly to simplify updates of the main assembly of an application. |
| 486 | /// </summary> | 486 | /// </summary> |
| 487 | public string SatelliteContractVersion | 487 | public string SatelliteContractVersion |
| 488 | { | 488 | { |
| 489 | get | 489 | get |
| 490 | { | 490 | { |
| 491 | CustomAttributeData attribute = GetCustomAttribute(typeof(SatelliteContractVersionAttribute)); | 491 | CustomAttributeData attribute = GetCustomAttribute(typeof(SatelliteContractVersionAttribute)); |
| 492 | if ((object)attribute == null) | 492 | if ((object)attribute == null) |
| 493 | return string.Empty; | 493 | return string.Empty; |
| 494 | else | 494 | else |
| 495 | return (string)attribute.ConstructorArguments[0].Value; | 495 | return (string)attribute.ConstructorArguments[0].Value; |
| 496 | } | 496 | } |
| 497 | } | 497 | } |
| 498 | 498 | ||
| 499 | /// <summary> | 499 | /// <summary> |
| 500 | /// Gets the string representing the assembly version used to indicate to a COM client that all classes | 500 | /// Gets the string representing the assembly version used to indicate to a COM client that all classes |
| 501 | /// in the current version of the assembly are compatible with classes in an earlier version of the assembly. | 501 | /// in the current version of the assembly are compatible with classes in an earlier version of the assembly. |
| 502 | /// </summary> | 502 | /// </summary> |
| 503 | public string ComCompatibleVersion | 503 | public string ComCompatibleVersion |
| 504 | { | 504 | { |
| 505 | get | 505 | get |
| 506 | { | 506 | { |
| 507 | CustomAttributeData attribute = GetCustomAttribute(typeof(ComCompatibleVersionAttribute)); | 507 | CustomAttributeData attribute = GetCustomAttribute(typeof(ComCompatibleVersionAttribute)); |
| 508 | if ((object)attribute == null) | 508 | if ((object)attribute == null) |
| 509 | return string.Empty; | 509 | return string.Empty; |
| 510 | else | 510 | else |
| 511 | return attribute.ConstructorArguments[0].Value.ToString() + "." + | 511 | return attribute.ConstructorArguments[0].Value.ToString() + "." + |
| 512 | attribute.ConstructorArguments[1].Value.ToString() + "." + | 512 | attribute.ConstructorArguments[1].Value.ToString() + "." + |
| 513 | attribute.ConstructorArguments[2].Value.ToString() + "." + | 513 | attribute.ConstructorArguments[2].Value.ToString() + "." + |
| 514 | attribute.ConstructorArguments[3].Value.ToString(); | 514 | attribute.ConstructorArguments[3].Value.ToString(); |
| 515 | } | 515 | } |
| 516 | } | 516 | } |
| 517 | 517 | ||
| 518 | /// <summary> | 518 | /// <summary> |
| 519 | /// Gets a boolean value indicating if the <see cref="Assembly"/> is exposed to COM. | 519 | /// Gets a boolean value indicating if the <see cref="Assembly"/> is exposed to COM. |
| 520 | /// </summary> | 520 | /// </summary> |
| 521 | public bool ComVisible | 521 | public bool ComVisible |
| 522 | { | 522 | { |
| 523 | get | 523 | get |
| 524 | { | 524 | { |
| 525 | CustomAttributeData attribute = GetCustomAttribute(typeof(ComVisibleAttribute)); | 525 | CustomAttributeData attribute = GetCustomAttribute(typeof(ComVisibleAttribute)); |
| 526 | if ((object)attribute == null) | 526 | if ((object)attribute == null) |
| 527 | return false; | 527 | return false; |
| 528 | else | 528 | else |
| 529 | return (bool)attribute.ConstructorArguments[0].Value; | 529 | return (bool)attribute.ConstructorArguments[0].Value; |
| 530 | } | 530 | } |
| 531 | } | 531 | } |
| 532 | 532 | ||
| 533 | /// <summary> | 533 | /// <summary> |
| 534 | /// Gets the GUID that is used as an ID if the <see cref="Assembly"/> is exposed to COM. | 534 | /// Gets the GUID that is used as an ID if the <see cref="Assembly"/> is exposed to COM. |
| 535 | /// </summary> | 535 | /// </summary> |
| 536 | public string Guid | 536 | public string Guid |
| 537 | { | 537 | { |
| 538 | get | 538 | get |
| 539 | { | 539 | { |
| 540 | CustomAttributeData attribute = GetCustomAttribute(typeof(GuidAttribute)); | 540 | CustomAttributeData attribute = GetCustomAttribute(typeof(GuidAttribute)); |
| 541 | if ((object)attribute == null) | 541 | if ((object)attribute == null) |
| 542 | return string.Empty; | 542 | return string.Empty; |
| 543 | else | 543 | else |
| 544 | return (string)attribute.ConstructorArguments[0].Value; | 544 | return (string)attribute.ConstructorArguments[0].Value; |
| 545 | } | 545 | } |
| 546 | } | 546 | } |
| 547 | 547 | ||
| 548 | /// <summary> | 548 | /// <summary> |
| 549 | /// Gets the string representing the <see cref="Assembly"/> version number in MajorVersion.MinorVersion format. | 549 | /// Gets the string representing the <see cref="Assembly"/> version number in MajorVersion.MinorVersion format. |
| 550 | /// </summary> | 550 | /// </summary> |
| 551 | public string TypeLibVersion | 551 | public string TypeLibVersion |
| 552 | { | 552 | { |
| 553 | get | 553 | get |
| 554 | { | 554 | { |
| 555 | CustomAttributeData attribute = GetCustomAttribute(typeof(TypeLibVersionAttribute)); | 555 | CustomAttributeData attribute = GetCustomAttribute(typeof(TypeLibVersionAttribute)); |
| 556 | if ((object)attribute == null) | 556 | if ((object)attribute == null) |
| 557 | return string.Empty; | 557 | return string.Empty; |
| 558 | else | 558 | else |
| 559 | return attribute.ConstructorArguments[0].Value.ToString() + "." + | 559 | return attribute.ConstructorArguments[0].Value.ToString() + "." + |
| 560 | attribute.ConstructorArguments[1].Value.ToString(); | 560 | attribute.ConstructorArguments[1].Value.ToString(); |
| 561 | } | 561 | } |
| 562 | } | 562 | } |
| 563 | 563 | ||
| 564 | /// <summary> | 564 | /// <summary> |
| 565 | /// Gets a boolean value indicating whether the <see cref="Assembly"/> is CLS-compliant. | 565 | /// Gets a boolean value indicating whether the <see cref="Assembly"/> is CLS-compliant. |
| 566 | /// </summary> | 566 | /// </summary> |
| 567 | public bool CLSCompliant | 567 | public bool CLSCompliant |
| 568 | { | 568 | { |
| 569 | get | 569 | get |
| 570 | { | 570 | { |
| 571 | CustomAttributeData attribute = GetCustomAttribute(typeof(CLSCompliantAttribute)); | 571 | CustomAttributeData attribute = GetCustomAttribute(typeof(CLSCompliantAttribute)); |
| 572 | if ((object)attribute == null) | 572 | if ((object)attribute == null) |
| 573 | return false; | 573 | return false; |
| 574 | else | 574 | else |
| 575 | return (bool)attribute.ConstructorArguments[0].Value; | 575 | return (bool)attribute.ConstructorArguments[0].Value; |
| 576 | } | 576 | } |
| 577 | } | 577 | } |
| 578 | 578 | ||
| 579 | /// <summary> | 579 | /// <summary> |
| 580 | /// Gets the path or UNC location of the loaded file that contains the manifest. | 580 | /// Gets the path or UNC location of the loaded file that contains the manifest. |
| 581 | /// </summary> | 581 | /// </summary> |
| 582 | public string Location | 582 | public string Location |
| 583 | { | 583 | { |
| 584 | get | 584 | get |
| 585 | { | 585 | { |
| 586 | return m_assemblyInstance.Location.ToLower(); | 586 | return m_assemblyInstance.Location.ToLower(); |
| 587 | } | 587 | } |
| 588 | } | 588 | } |
| 589 | 589 | ||
| 590 | /// <summary> | 590 | /// <summary> |
| 591 | /// Gets the location of the <see cref="Assembly"/> as specified originally. | 591 | /// Gets the location of the <see cref="Assembly"/> as specified originally. |
| 592 | /// </summary> | 592 | /// </summary> |
| 593 | public string CodeBase | 593 | public string CodeBase |
| 594 | { | 594 | { |
| 595 | get | 595 | get |
| 596 | { | 596 | { |
| 597 | return m_assemblyInstance.CodeBase.Replace("file:///", "").ToLower(); | 597 | return m_assemblyInstance.CodeBase.Replace("file:///", "").ToLower(); |
| 598 | } | 598 | } |
| 599 | } | 599 | } |
| 600 | 600 | ||
| 601 | /// <summary> | 601 | /// <summary> |
| 602 | /// Gets the display name of the <see cref="Assembly"/>. | 602 | /// Gets the display name of the <see cref="Assembly"/>. |
| 603 | /// </summary> | 603 | /// </summary> |
| 604 | public string FullName | 604 | public string FullName |
| 605 | { | 605 | { |
| 606 | get | 606 | get |
| 607 | { | 607 | { |
| 608 | return m_assemblyInstance.FullName; | 608 | return m_assemblyInstance.FullName; |
| 609 | } | 609 | } |
| 610 | } | 610 | } |
| 611 | 611 | ||
| 612 | /// <summary> | 612 | /// <summary> |
| 613 | /// Gets the simple, unencrypted name of the <see cref="Assembly"/>. | 613 | /// Gets the simple, unencrypted name of the <see cref="Assembly"/>. |
| 614 | /// </summary> | 614 | /// </summary> |
| 615 | public string Name | 615 | public string Name |
| 616 | { | 616 | { |
| 617 | get | 617 | get |
| 618 | { | 618 | { |
| 619 | return m_assemblyInstance.GetName().Name; | 619 | return m_assemblyInstance.GetName().Name; |
| 620 | } | 620 | } |
| 621 | } | 621 | } |
| 622 | 622 | ||
| 623 | /// <summary> | 623 | /// <summary> |
| 624 | /// Gets the major, minor, revision, and build numbers of the <see cref="Assembly"/>. | 624 | /// Gets the major, minor, revision, and build numbers of the <see cref="Assembly"/>. |
| 625 | /// </summary> | 625 | /// </summary> |
| 626 | public Version Version | 626 | public Version Version |
| 627 | { | 627 | { |
| 628 | get | 628 | get |
| 629 | { | 629 | { |
| 630 | return m_assemblyInstance.GetName().Version; | 630 | return m_assemblyInstance.GetName().Version; |
| 631 | } | 631 | } |
| 632 | } | 632 | } |
| 633 | 633 | ||
| 634 | /// <summary> | 634 | /// <summary> |
| 635 | /// Gets the string representing the version of the common language runtime (CLR) saved in the file | 635 | /// Gets the string representing the version of the common language runtime (CLR) saved in the file |
| 636 | /// containing the manifest. | 636 | /// containing the manifest. |
| 637 | /// </summary> | 637 | /// </summary> |
| 638 | public string ImageRuntimeVersion | 638 | public string ImageRuntimeVersion |
| 639 | { | 639 | { |
| 640 | get | 640 | get |
| 641 | { | 641 | { |
| 642 | return m_assemblyInstance.ImageRuntimeVersion; | 642 | return m_assemblyInstance.ImageRuntimeVersion; |
| 643 | } | 643 | } |
| 644 | } | 644 | } |
| 645 | 645 | ||
| 646 | /// <summary> | 646 | /// <summary> |
| 647 | /// Gets a boolean value indicating whether the <see cref="Assembly"/> was loaded from the global assembly cache. | 647 | /// Gets a boolean value indicating whether the <see cref="Assembly"/> was loaded from the global assembly cache. |
| 648 | /// </summary> | 648 | /// </summary> |
| 649 | public bool GACLoaded | 649 | public bool GACLoaded |
| 650 | { | 650 | { |
| 651 | get | 651 | get |
| 652 | { | 652 | { |
| 653 | return m_assemblyInstance.GlobalAssemblyCache; | 653 | return m_assemblyInstance.GlobalAssemblyCache; |
| 654 | } | 654 | } |
| 655 | } | 655 | } |
| 656 | 656 | ||
| 657 | /// <summary> | 657 | /// <summary> |
| 658 | /// Gets the date and time when the <see cref="Assembly"/> was built. | 658 | /// Gets the date and time when the <see cref="Assembly"/> was built. |
| 659 | /// </summary> | 659 | /// </summary> |
| 660 | public DateTime BuildDate | 660 | public DateTime BuildDate |
| 661 | { | 661 | { |
| 662 | get | 662 | get |
| 663 | { | 663 | { |
| 664 | return File.GetLastWriteTime(m_assemblyInstance.Location); | 664 | return File.GetLastWriteTime(m_assemblyInstance.Location); |
| 665 | } | 665 | } |
| 666 | } | 666 | } |
| 667 | 667 | ||
| 668 | /// <summary> | 668 | /// <summary> |
| 669 | /// Gets the root namespace of the <see cref="Assembly"/>. | 669 | /// Gets the root namespace of the <see cref="Assembly"/>. |
| 670 | /// </summary> | 670 | /// </summary> |
| 671 | public string RootNamespace | 671 | public string RootNamespace |
| 672 | { | 672 | { |
| 673 | get | 673 | get |
| 674 | { | 674 | { |
| 675 | return m_assemblyInstance.GetExportedTypes()[0].Namespace; | 675 | return m_assemblyInstance.GetExportedTypes()[0].Namespace; |
| 676 | } | 676 | } |
| 677 | } | 677 | } |
| 678 | 678 | ||
| 679 | #endregion | 679 | #endregion |
| 680 | 680 | ||
| 681 | #region [ Methods ] | 681 | #region [ Methods ] |
| 682 | 682 | ||
| 683 | /// <summary>Gets a collection of assembly attributes exposed by the assembly.</summary> | 683 | /// <summary>Gets a collection of assembly attributes exposed by the assembly.</summary> |
| 684 | /// <returns>A System.Specialized.KeyValueCollection of assembly attributes.</returns> | 684 | /// <returns>A System.Specialized.KeyValueCollection of assembly attributes.</returns> |
| 685 | public NameValueCollection GetAttributes() | 685 | public NameValueCollection GetAttributes() |
| 686 | { | 686 | { |
| 687 | NameValueCollection assemblyAttributes = new NameValueCollection(); | 687 | NameValueCollection assemblyAttributes = new NameValueCollection(); |
| 688 | 688 | ||
| 689 | //Add some values that are not in AssemblyInfo. | 689 | //Add some values that are not in AssemblyInfo. |
| 690 | assemblyAttributes.Add("Full Name", FullName); | 690 | assemblyAttributes.Add("Full Name", FullName); |
| 691 | assemblyAttributes.Add("Name", Name); | 691 | assemblyAttributes.Add("Name", Name); |
| 692 | assemblyAttributes.Add("Version", Version.ToString()); | 692 | assemblyAttributes.Add("Version", Version.ToString()); |
| 693 | assemblyAttributes.Add("Image Runtime Version", ImageRuntimeVersion); | 693 | assemblyAttributes.Add("Image Runtime Version", ImageRuntimeVersion); |
| 694 | assemblyAttributes.Add("Build Date", BuildDate.ToString()); | 694 | assemblyAttributes.Add("Build Date", BuildDate.ToString()); |
| 695 | assemblyAttributes.Add("Location", Location); | 695 | assemblyAttributes.Add("Location", Location); |
| 696 | assemblyAttributes.Add("Code Base", CodeBase); | 696 | assemblyAttributes.Add("Code Base", CodeBase); |
| 697 | assemblyAttributes.Add("GAC Loaded", GACLoaded.ToString()); | 697 | assemblyAttributes.Add("GAC Loaded", GACLoaded.ToString()); |
| 698 | 698 | ||
| 699 | //Add all attributes available from AssemblyInfo. | 699 | //Add all attributes available from AssemblyInfo. |
| 700 | assemblyAttributes.Add("Title", Title); | 700 | assemblyAttributes.Add("Title", Title); |
| 701 | assemblyAttributes.Add("Description", Description); | 701 | assemblyAttributes.Add("Description", Description); |
| 702 | assemblyAttributes.Add("Company", Company); | 702 | assemblyAttributes.Add("Company", Company); |
| 703 | assemblyAttributes.Add("Product", Product); | 703 | assemblyAttributes.Add("Product", Product); |
| 704 | assemblyAttributes.Add("Copyright", Copyright); | 704 | assemblyAttributes.Add("Copyright", Copyright); |
| 705 | assemblyAttributes.Add("Trademark", Trademark); | 705 | assemblyAttributes.Add("Trademark", Trademark); |
| 706 | assemblyAttributes.Add("Configuration", Configuration); | 706 | assemblyAttributes.Add("Configuration", Configuration); |
| 707 | assemblyAttributes.Add("Delay Sign", DelaySign.ToString()); | 707 | assemblyAttributes.Add("Delay Sign", DelaySign.ToString()); |
| 708 | assemblyAttributes.Add("Informational Version", InformationalVersion); | 708 | assemblyAttributes.Add("Informational Version", InformationalVersion); |
| 709 | assemblyAttributes.Add("Key File", KeyFile); | 709 | assemblyAttributes.Add("Key File", KeyFile); |
| 710 | assemblyAttributes.Add("Culture Name", CultureName); | 710 | assemblyAttributes.Add("Culture Name", CultureName); |
| 711 | assemblyAttributes.Add("Satellite Contract Version", SatelliteContractVersion); | 711 | assemblyAttributes.Add("Satellite Contract Version", SatelliteContractVersion); |
| 712 | assemblyAttributes.Add("Com Compatible Version", ComCompatibleVersion); | 712 | assemblyAttributes.Add("Com Compatible Version", ComCompatibleVersion); |
| 713 | assemblyAttributes.Add("Com Visible", ComVisible.ToString()); | 713 | assemblyAttributes.Add("Com Visible", ComVisible.ToString()); |
| 714 | assemblyAttributes.Add("Guid", Guid); | 714 | assemblyAttributes.Add("Guid", Guid); |
| 715 | assemblyAttributes.Add("Type Lib Version", TypeLibVersion); | 715 | assemblyAttributes.Add("Type Lib Version", TypeLibVersion); |
| 716 | assemblyAttributes.Add("CLS Compliant", CLSCompliant.ToString()); | 716 | assemblyAttributes.Add("CLS Compliant", CLSCompliant.ToString()); |
| 717 | 717 | ||
| 718 | return assemblyAttributes; | 718 | return assemblyAttributes; |
| 719 | } | 719 | } |
| 720 | 720 | ||
| 721 | /// <summary>Gets the specified assembly attribute if it is exposed by the assembly.</summary> | 721 | /// <summary>Gets the specified assembly attribute if it is exposed by the assembly.</summary> |
| 722 | /// <param name="attributeType">Type of the attribute to get.</param> | 722 | /// <param name="attributeType">Type of the attribute to get.</param> |
| 723 | /// <returns>The requested assembly attribute if it exists; otherwise null.</returns> | 723 | /// <returns>The requested assembly attribute if it exists; otherwise null.</returns> |
| 724 | /// <remarks> | 724 | /// <remarks> |
| 725 | /// This method always returns <c>null</c> under Mono deployments. | 725 | /// This method always returns <c>null</c> under Mono deployments. |
| 726 | /// </remarks> | 726 | /// </remarks> |
| 727 | public CustomAttributeData GetCustomAttribute(Type attributeType) | 727 | public CustomAttributeData GetCustomAttribute(Type attributeType) |
| 728 | { | 728 | { |
| 729 | #if MONO | 729 | #if MONO |
| 730 | return null; | 730 | return null; |
| 731 | #else | 731 | #else |
| 732 | //Returns the requested assembly attribute. | 732 | //Returns the requested assembly attribute. |
| 733 | return m_assemblyInstance.GetCustomAttributesData().FirstOrDefault(assemblyAttribute => assemblyAttribute.Constructor.DeclaringType == attributeType); | 733 | return m_assemblyInstance.GetCustomAttributesData().FirstOrDefault(assemblyAttribute => assemblyAttribute.Constructor.DeclaringType == attributeType); |
| 734 | #endif | 734 | #endif |
| 735 | } | 735 | } |
| 736 | 736 | ||
| 737 | /// <summary>Gets the specified embedded resource from the assembly.</summary> | 737 | /// <summary>Gets the specified embedded resource from the assembly.</summary> |
| 738 | /// <param name="resourceName">The full name (including the namespace) of the embedded resource to get.</param> | 738 | /// <param name="resourceName">The full name (including the namespace) of the embedded resource to get.</param> |
| 739 | /// <returns>The embedded resource.</returns> | 739 | /// <returns>The embedded resource.</returns> |
| 740 | public Stream GetEmbeddedResource(string resourceName) | 740 | public Stream GetEmbeddedResource(string resourceName) |
| 741 | { | 741 | { |
| 742 | //Extracts and returns the requested embedded resource. | 742 | //Extracts and returns the requested embedded resource. |
| 743 | return m_assemblyInstance.GetEmbeddedResource(resourceName); | 743 | return m_assemblyInstance.GetEmbeddedResource(resourceName); |
| 744 | } | 744 | } |
| 745 | 745 | ||
| 746 | #endregion | 746 | #endregion |
| 747 | 747 | ||
| 748 | #region [ Static ] | 748 | #region [ Static ] |
| 749 | 749 | ||
| 750 | // Static Fields | 750 | // Static Fields |
| 751 | private static AssemblyInfo s_callingAssembly; | 751 | private static AssemblyInfo s_callingAssembly; |
| 752 | private static AssemblyInfo s_entryAssembly; | 752 | private static AssemblyInfo s_entryAssembly; |
| 753 | private static AssemblyInfo s_executingAssembly; | 753 | private static AssemblyInfo s_executingAssembly; |
| 754 | private static Dictionary<string, Assembly> s_assemblyCache; | 754 | private static Dictionary<string, Assembly> s_assemblyCache; |
| 755 | private static bool s_addedResolver; | 755 | private static bool s_addedResolver; |
| 756 | 756 | ||
| 757 | // Static Properties | 757 | // Static Properties |
| 758 | 758 | ||
| 759 | /// <summary>Gets the <see cref="AssemblyInfo"/> object of the assembly that invoked the currently executing method.</summary> | 759 | /// <summary>Gets the <see cref="AssemblyInfo"/> object of the assembly that invoked the currently executing method.</summary> |
| 760 | public static AssemblyInfo CallingAssembly | 760 | public static AssemblyInfo CallingAssembly |
| 761 | { | 761 | { |
| 762 | get | 762 | get |
| 763 | { | 763 | { |
| 764 | if ((object)s_callingAssembly == null) | 764 | if ((object)s_callingAssembly == null) |
| 765 | { | 765 | { |
| 766 | // We have to find the calling assembly of the caller. | 766 | // We have to find the calling assembly of the caller. |
| 767 | StackTrace trace = new StackTrace(); | 767 | StackTrace trace = new StackTrace(); |
| 768 | Assembly caller = Assembly.GetCallingAssembly(); | 768 | Assembly caller = Assembly.GetCallingAssembly(); |
| 769 | Assembly current = Assembly.GetExecutingAssembly(); | 769 | Assembly current = Assembly.GetExecutingAssembly(); |
| 770 | foreach (StackFrame frame in trace.GetFrames()) | 770 | foreach (StackFrame frame in trace.GetFrames()) |
| 771 | { | 771 | { |
| 772 | Assembly assembly = Assembly.GetAssembly(frame.GetMethod().DeclaringType); | 772 | Assembly assembly = Assembly.GetAssembly(frame.GetMethod().DeclaringType); |
| 773 | if (assembly != caller && assembly != current) | 773 | if (assembly != caller && assembly != current) |
| 774 | { | 774 | { |
| 775 | // Assembly is neither the current assembly or the calling assembly. | 775 | // Assembly is neither the current assembly or the calling assembly. |
| 776 | s_callingAssembly = new AssemblyInfo(assembly); | 776 | s_callingAssembly = new AssemblyInfo(assembly); |
| 777 | break; | 777 | break; |
| 778 | } | 778 | } |
| 779 | } | 779 | } |
| 780 | } | 780 | } |
| 781 | 781 | ||
| 782 | return s_callingAssembly; | 782 | return s_callingAssembly; |
| 783 | } | 783 | } |
| 784 | } | 784 | } |
| 785 | 785 | ||
| 786 | /// <summary>Gets the <see cref="AssemblyInfo"/> object of the process executable in the default application domain.</summary> | 786 | /// <summary>Gets the <see cref="AssemblyInfo"/> object of the process executable in the default application domain.</summary> |
| 787 | public static AssemblyInfo EntryAssembly | 787 | public static AssemblyInfo EntryAssembly |
| 788 | { | 788 | { |
| 789 | get | 789 | get |
| 790 | { | 790 | { |
| 791 | if ((object)s_entryAssembly == null) | 791 | if ((object)s_entryAssembly == null) |
| 792 | { | 792 | { |
| 793 | Assembly entryAssembly = Assembly.GetEntryAssembly(); | 793 | Assembly entryAssembly = Assembly.GetEntryAssembly(); |
| 794 | if ((object)entryAssembly == null) | 794 | if ((object)entryAssembly == null) |
| 795 | entryAssembly = Assembly.ReflectionOnlyLoadFrom(Process.GetCurrentProcess().MainModule.FileName); | 795 | entryAssembly = Assembly.ReflectionOnlyLoadFrom(Process.GetCurrentProcess().MainModule.FileName); |
| 796 | 796 | ||
| 797 | s_entryAssembly = new AssemblyInfo(entryAssembly); | 797 | s_entryAssembly = new AssemblyInfo(entryAssembly); |
| 798 | } | 798 | } |
| 799 | 799 | ||
| 800 | return s_entryAssembly; | 800 | return s_entryAssembly; |
| 801 | } | 801 | } |
| 802 | } | 802 | } |
| 803 | 803 | ||
| 804 | /// <summary>Gets the <see cref="AssemblyInfo"/> object of the assembly that contains the code that is currently executing.</summary> | 804 | /// <summary>Gets the <see cref="AssemblyInfo"/> object of the assembly that contains the code that is currently executing.</summary> |
| 805 | public static AssemblyInfo ExecutingAssembly | 805 | public static AssemblyInfo ExecutingAssembly |
| 806 | { | 806 | { |
| 807 | get | 807 | get |
| 808 | { | 808 | { |
| 809 | if ((object)s_executingAssembly == null) | 809 | if ((object)s_executingAssembly == null) |
| 810 | // Caller's assembly will be the executing assembly for the caller. | 810 | // Caller's assembly will be the executing assembly for the caller. |
| 811 | s_executingAssembly = new AssemblyInfo(Assembly.GetCallingAssembly()); | 811 | s_executingAssembly = new AssemblyInfo(Assembly.GetCallingAssembly()); |
| 812 | 812 | ||
| 813 | return s_executingAssembly; | 813 | return s_executingAssembly; |
| 814 | } | 814 | } |
| 815 | } | 815 | } |
| 816 | 816 | ||
| 817 | // Static Methods | 817 | // Static Methods |
| 818 | 818 | ||
| 819 | /// <summary>Loads the specified assembly that is embedded as a resource in the assembly.</summary> | 819 | /// <summary>Loads the specified assembly that is embedded as a resource in the assembly.</summary> |
| 820 | /// <param name="assemblyName">Name of the assembly to load.</param> | 820 | /// <param name="assemblyName">Name of the assembly to load.</param> |
| 821 | /// <remarks>This cannot be used to load TVA.Core itself.</remarks> | 821 | /// <remarks>This cannot be used to load TVA.Core itself.</remarks> |
| 822 | [SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.ControlAppDomain)] | 822 | [SecurityPermission(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.ControlAppDomain)] |
| 823 | public static void LoadAssemblyFromResource(string assemblyName) | 823 | public static void LoadAssemblyFromResource(string assemblyName) |
| 824 | { | 824 | { |
| 825 | // Hooks into assembly resolve event for current domain so it can load assembly from embedded resource. | 825 | // Hooks into assembly resolve event for current domain so it can load assembly from embedded resource. |
| 826 | if (!s_addedResolver) | 826 | if (!s_addedResolver) |
| 827 | { | 827 | { |
| 828 | AppDomain.CurrentDomain.AssemblyResolve += ResolveAssemblyFromResource; | 828 | AppDomain.CurrentDomain.AssemblyResolve += ResolveAssemblyFromResource; |
| 829 | s_addedResolver = true; | 829 | s_addedResolver = true; |
| 830 | } | 830 | } |
| 831 | 831 | ||
| 832 | // Loads the assembly (This will invoke event that will resolve assembly from resource.). | 832 | // Loads the assembly (This will invoke event that will resolve assembly from resource.). |
| 833 | AppDomain.CurrentDomain.Load(assemblyName); | 833 | AppDomain.CurrentDomain.Load(assemblyName); |
| 834 | } | 834 | } |
| 835 | 835 | ||
| 836 | private static Assembly ResolveAssemblyFromResource(object sender, ResolveEventArgs e) | 836 | private static Assembly ResolveAssemblyFromResource(object sender, ResolveEventArgs e) |
| 837 | { | 837 | { |
| 838 | Assembly resourceAssembly; | 838 | Assembly resourceAssembly; |
| 839 | string shortName = e.Name.Split(',')[0]; | 839 | string shortName = e.Name.Split(',')[0]; |
| 840 | 840 | ||
| 841 | if ((object)s_assemblyCache == null) | 841 | if ((object)s_assemblyCache == null) |
| 842 | s_assemblyCache = new Dictionary<string, Assembly>(); | 842 | s_assemblyCache = new Dictionary<string, Assembly>(); |
| 843 | 843 | ||
| 844 | resourceAssembly = s_assemblyCache[shortName]; | 844 | resourceAssembly = s_assemblyCache[shortName]; |
| 845 | 845 | ||
| 846 | if ((object)resourceAssembly == null) | 846 | if ((object)resourceAssembly == null) |
| 847 | { | 847 | { |
| 848 | // Loops through all of the resources in the executing assembly. | 848 | // Loops through all of the resources in the executing assembly. |
| 849 | foreach (string name in Assembly.GetEntryAssembly().GetManifestResourceNames()) | 849 | foreach (string name in Assembly.GetEntryAssembly().GetManifestResourceNames()) |
| 850 | { | 850 | { |
| 851 | // Sees if the embedded resource name matches the assembly it is trying to load. | 851 | // Sees if the embedded resource name matches the assembly it is trying to load. |
| 852 | if (string.Compare(FilePath.GetFileNameWithoutExtension(name), EntryAssembly.RootNamespace + "." + shortName, true) == 0) | 852 | if (string.Compare(FilePath.GetFileNameWithoutExtension(name), EntryAssembly.RootNamespace + "." + shortName, true) == 0) |
| 853 | { | 853 | { |
| 854 | // If so, loads embedded resource assembly into a binary buffer. | 854 | // If so, loads embedded resource assembly into a binary buffer. |
| 855 | System.IO.Stream resourceStream = Assembly.GetEntryAssembly().GetManifestResourceStream(name); | 855 | System.IO.Stream resourceStream = Assembly.GetEntryAssembly().GetManifestResourceStream(name); |
| 856 | byte[] buffer = new byte[resourceStream.Length]; | 856 | byte[] buffer = new byte[resourceStream.Length]; |
| 857 | resourceStream.Read(buffer, 0, (int)resourceStream.Length); | 857 | resourceStream.Read(buffer, 0, (int)resourceStream.Length); |
| 858 | resourceStream.Close(); | 858 | resourceStream.Close(); |
| 859 | 859 | ||
| 860 | // Loads assembly from binary buffer. | 860 | // Loads assembly from binary buffer. |
| 861 | resourceAssembly = Assembly.Load(buffer); | 861 | resourceAssembly = Assembly.Load(buffer); |
| 862 | s_assemblyCache.Add(shortName, resourceAssembly); | 862 | s_assemblyCache.Add(shortName, resourceAssembly); |
| 863 | break; | 863 | break; |
| 864 | } | 864 | } |
| 865 | } | 865 | } |
| 866 | } | 866 | } |
| 867 | 867 | ||
| 868 | return resourceAssembly; | 868 | return resourceAssembly; |
| 869 | } | 869 | } |
| 870 | 870 | ||
| 871 | #endregion | 871 | #endregion |
| 872 | } | 872 | } |
| 873 | } | 873 | } |
| @@ -1,26 +1,26 @@ | |||
| 1 | using System; | 1 | using System; |
| 2 | using System.Reflection; | 2 | using System.Reflection; |
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // Assembly identity attributes. | 5 | // Assembly identity attributes. |
| 6 | [assembly: AssemblyVersion("2.1.99.0")] | 6 | [assembly: AssemblyVersion("4.0.4.70")] |
| 7 | 7 | ||
| 8 | // Informational attributes. | 8 | // Informational attributes. |
| 9 | [assembly: AssemblyCompany("TVA")] | 9 | [assembly: AssemblyCompany("TVA")] |
| 10 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] | 10 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] |
| 11 | [assembly: AssemblyProduct("TVA Code Library")] | 11 | [assembly: AssemblyProduct("TVA Code Library")] |
| 12 | 12 | ||
| 13 | // Assembly manifest attributes. | 13 | // Assembly manifest attributes. |
| 14 | #if DEBUG | 14 | #if DEBUG |
| 15 | [assembly: AssemblyConfiguration("Debug Build")] | 15 | [assembly: AssemblyConfiguration("Debug Build")] |
| 16 | #else | 16 | #else |
| 17 | [assembly: AssemblyConfiguration("Release Build")] | 17 | [assembly: AssemblyConfiguration("Release Build")] |
| 18 | #endif | 18 | #endif |
| 19 | [assembly: AssemblyDefaultAlias("TVA.Security")] | 19 | [assembly: AssemblyDefaultAlias("TVA.Security")] |
| 20 | [assembly: AssemblyDescription("Library of core security framework for implementing role-based security across various .NET application types.")] | 20 | [assembly: AssemblyDescription("Library of core security framework for implementing role-based security across various .NET application types.")] |
| 21 | [assembly: AssemblyTitle("TVA.Security")] | 21 | [assembly: AssemblyTitle("TVA.Security")] |
| 22 | 22 | ||
| 23 | // Other configuration attributes. | 23 | // Other configuration attributes. |
| 24 | [assembly: CLSCompliant(true)] | 24 | [assembly: CLSCompliant(true)] |
| 25 | [assembly: ComVisible(false)] | 25 | [assembly: ComVisible(false)] |
| 26 | [assembly: Guid("96b92296-6422-4f3c-8d30-72f6ecf6c558")] | 26 | [assembly: Guid("96b92296-6422-4f3c-8d30-72f6ecf6c558")] |
| @@ -1,26 +1,26 @@ | |||
| 1 | using System; | 1 | using System; |
| 2 | using System.Reflection; | 2 | using System.Reflection; |
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // Assembly identity attributes. | 5 | // Assembly identity attributes. |
| 6 | [assembly: AssemblyVersion("2.1.99.0")] | 6 | [assembly: AssemblyVersion("4.0.4.70")] |
| 7 | 7 | ||
| 8 | // Informational attributes. | 8 | // Informational attributes. |
| 9 | [assembly: AssemblyCompany("TVA")] | 9 | [assembly: AssemblyCompany("TVA")] |
| 10 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] | 10 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] |
| 11 | [assembly: AssemblyProduct("TVA Code Library")] | 11 | [assembly: AssemblyProduct("TVA Code Library")] |
| 12 | 12 | ||
| 13 | // Assembly manifest attributes. | 13 | // Assembly manifest attributes. |
| 14 | #if DEBUG | 14 | #if DEBUG |
| 15 | [assembly: AssemblyConfiguration("Debug Build")] | 15 | [assembly: AssemblyConfiguration("Debug Build")] |
| 16 | #else | 16 | #else |
| 17 | [assembly: AssemblyConfiguration("Release Build")] | 17 | [assembly: AssemblyConfiguration("Release Build")] |
| 18 | #endif | 18 | #endif |
| 19 | [assembly: AssemblyDefaultAlias("TVA.ServiceBus")] | 19 | [assembly: AssemblyDefaultAlias("TVA.ServiceBus")] |
| 20 | [assembly: AssemblyDescription("Library of lightweight WCF-based Service Bus with queue and topic support for secure event-driven messaging between disjoint systems.")] | 20 | [assembly: AssemblyDescription("Library of lightweight WCF-based Service Bus with queue and topic support for secure event-driven messaging between disjoint systems.")] |
| 21 | [assembly: AssemblyTitle("TVA.ServiceBus")] | 21 | [assembly: AssemblyTitle("TVA.ServiceBus")] |
| 22 | 22 | ||
| 23 | // Other configuration attributes. | 23 | // Other configuration attributes. |
| 24 | [assembly: CLSCompliant(true)] | 24 | [assembly: CLSCompliant(true)] |
| 25 | [assembly: ComVisible(false)] | 25 | [assembly: ComVisible(false)] |
| 26 | [assembly: Guid("055544a1-be9e-4727-9946-173e3548d2e0")] | 26 | [assembly: Guid("055544a1-be9e-4727-9946-173e3548d2e0")] |
| @@ -1,26 +1,26 @@ | |||
| 1 | using System; | 1 | using System; |
| 2 | using System.Reflection; | 2 | using System.Reflection; |
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // Assembly identity attributes. | 5 | // Assembly identity attributes. |
| 6 | [assembly: AssemblyVersion("2.1.99.0")] | 6 | [assembly: AssemblyVersion("4.0.4.70")] |
| 7 | 7 | ||
| 8 | // Informational attributes. | 8 | // Informational attributes. |
| 9 | [assembly: AssemblyCompany("TVA")] | 9 | [assembly: AssemblyCompany("TVA")] |
| 10 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] | 10 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] |
| 11 | [assembly: AssemblyProduct("TVA Code Library")] | 11 | [assembly: AssemblyProduct("TVA Code Library")] |
| 12 | 12 | ||
| 13 | // Assembly manifest attributes. | 13 | // Assembly manifest attributes. |
| 14 | #if DEBUG | 14 | #if DEBUG |
| 15 | [assembly: AssemblyConfiguration("Debug Build")] | 15 | [assembly: AssemblyConfiguration("Debug Build")] |
| 16 | #else | 16 | #else |
| 17 | [assembly: AssemblyConfiguration("Release Build")] | 17 | [assembly: AssemblyConfiguration("Release Build")] |
| 18 | #endif | 18 | #endif |
| 19 | [assembly: AssemblyDefaultAlias("TVA.ServiceModel")] | 19 | [assembly: AssemblyDefaultAlias("TVA.ServiceModel")] |
| 20 | [assembly: AssemblyDescription("Library of base WCF service with self-hosting capability, and WCF Authorization Policy and Host Factories for implementing role-based security.")] | 20 | [assembly: AssemblyDescription("Library of base WCF service with self-hosting capability, and WCF Authorization Policy and Host Factories for implementing role-based security.")] |
| 21 | [assembly: AssemblyTitle("TVA.ServiceModel")] | 21 | [assembly: AssemblyTitle("TVA.ServiceModel")] |
| 22 | 22 | ||
| 23 | // Other configuration attributes. | 23 | // Other configuration attributes. |
| 24 | [assembly: CLSCompliant(true)] | 24 | [assembly: CLSCompliant(true)] |
| 25 | [assembly: ComVisible(false)] | 25 | [assembly: ComVisible(false)] |
| 26 | [assembly: Guid("57b04fab-3c0f-4d28-ad88-47e4222ebbe0")] | 26 | [assembly: Guid("57b04fab-3c0f-4d28-ad88-47e4222ebbe0")] |
| @@ -1,26 +1,26 @@ | |||
| 1 | using System; | 1 | using System; |
| 2 | using System.Reflection; | 2 | using System.Reflection; |
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // Assembly identity attributes. | 5 | // Assembly identity attributes. |
| 6 | [assembly: AssemblyVersion("2.1.99.0")] | 6 | [assembly: AssemblyVersion("4.0.4.70")] |
| 7 | 7 | ||
| 8 | // Informational attributes. | 8 | // Informational attributes. |
| 9 | [assembly: AssemblyCompany("TVA")] | 9 | [assembly: AssemblyCompany("TVA")] |
| 10 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] | 10 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] |
| 11 | [assembly: AssemblyProduct("TVA Code Library")] | 11 | [assembly: AssemblyProduct("TVA Code Library")] |
| 12 | 12 | ||
| 13 | // Assembly manifest attributes. | 13 | // Assembly manifest attributes. |
| 14 | #if DEBUG | 14 | #if DEBUG |
| 15 | [assembly: AssemblyConfiguration("Debug Build")] | 15 | [assembly: AssemblyConfiguration("Debug Build")] |
| 16 | #else | 16 | #else |
| 17 | [assembly: AssemblyConfiguration("Release Build")] | 17 | [assembly: AssemblyConfiguration("Release Build")] |
| 18 | #endif | 18 | #endif |
| 19 | [assembly: AssemblyDefaultAlias("TVA.ServiceProcess")] | 19 | [assembly: AssemblyDefaultAlias("TVA.ServiceProcess")] |
| 20 | [assembly: AssemblyDescription("Library of components that facilitate remote interaction with a Windows Service from Console, Windows and Web application.")] | 20 | [assembly: AssemblyDescription("Library of components that facilitate remote interaction with a Windows Service from Console, Windows and Web application.")] |
| 21 | [assembly: AssemblyTitle("TVA.ServiceProcess")] | 21 | [assembly: AssemblyTitle("TVA.ServiceProcess")] |
| 22 | 22 | ||
| 23 | // Other configuration attributes. | 23 | // Other configuration attributes. |
| 24 | [assembly: CLSCompliant(true)] | 24 | [assembly: CLSCompliant(true)] |
| 25 | [assembly: ComVisible(false)] | 25 | [assembly: ComVisible(false)] |
| 26 | [assembly: Guid("eebbee45-2987-4bbd-9cc1-ff6d4dcf55f7")] | 26 | [assembly: Guid("eebbee45-2987-4bbd-9cc1-ff6d4dcf55f7")] |
| @@ -1,39 +1,39 @@ | |||
| 1 | using System; | 1 | using System; |
| 2 | using System.Reflection; | 2 | using System.Reflection; |
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | using System.Web.UI; | 4 | using System.Web.UI; |
| 5 | using TVA.Web.Hosting; | 5 | using TVA.Web.Hosting; |
| 6 | 6 | ||
| 7 | // Assembly identity attributes. | 7 | // Assembly identity attributes. |
| 8 | [assembly: AssemblyVersion("2.1.99.0")] | 8 | [assembly: AssemblyVersion("4.0.4.70")] |
| 9 | 9 | ||
| 10 | // Informational attributes. | 10 | // Informational attributes. |
| 11 | [assembly: AssemblyCompany("TVA")] | 11 | [assembly: AssemblyCompany("TVA")] |
| 12 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] | 12 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] |
| 13 | [assembly: AssemblyProduct("TVA Code Library")] | 13 | [assembly: AssemblyProduct("TVA Code Library")] |
| 14 | 14 | ||
| 15 | // Assembly manifest attributes. | 15 | // Assembly manifest attributes. |
| 16 | #if DEBUG | 16 | #if DEBUG |
| 17 | [assembly: AssemblyConfiguration("Debug Build")] | 17 | [assembly: AssemblyConfiguration("Debug Build")] |
| 18 | #else | 18 | #else |
| 19 | [assembly: AssemblyConfiguration("Release Build")] | 19 | [assembly: AssemblyConfiguration("Release Build")] |
| 20 | #endif | 20 | #endif |
| 21 | [assembly: AssemblyDefaultAlias("TVA.Web")] | 21 | [assembly: AssemblyDefaultAlias("TVA.Web")] |
| 22 | [assembly: AssemblyDescription("Library of ASP.NET web forms extensions, embedded resource hosting and HTTP Module for implementing role-based security.")] | 22 | [assembly: AssemblyDescription("Library of ASP.NET web forms extensions, embedded resource hosting and HTTP Module for implementing role-based security.")] |
| 23 | [assembly: AssemblyTitle("TVA.Web")] | 23 | [assembly: AssemblyTitle("TVA.Web")] |
| 24 | 24 | ||
| 25 | // Other configuration attributes. | 25 | // Other configuration attributes. |
| 26 | [assembly: CLSCompliant(true)] | 26 | [assembly: CLSCompliant(true)] |
| 27 | [assembly: ComVisible(false)] | 27 | [assembly: ComVisible(false)] |
| 28 | [assembly: Guid("eebbee45-2987-4bbd-9cc1-ff6d4dcf55f7")] | 28 | [assembly: Guid("eebbee45-2987-4bbd-9cc1-ff6d4dcf55f7")] |
| 29 | 29 | ||
| 30 | // Embedd server-side controls. | 30 | // Embedd server-side controls. |
| 31 | [assembly: EmbeddedResourceFile("TVA.Web.Embedded.SecurityPortal.aspx", "TVA.Web.Embedded")] | 31 | [assembly: EmbeddedResourceFile("TVA.Web.Embedded.SecurityPortal.aspx", "TVA.Web.Embedded")] |
| 32 | [assembly: EmbeddedResourceFile("TVA.Web.Embedded.SecurityService.svc", "TVA.Web.Embedded")] | 32 | [assembly: EmbeddedResourceFile("TVA.Web.Embedded.SecurityService.svc", "TVA.Web.Embedded")] |
| 33 | 33 | ||
| 34 | // Embedd resources used by embedded controls. | 34 | // Embedd resources used by embedded controls. |
| 35 | [assembly: WebResource("TVA.Web.Embedded.Files.Help.pdf", "application/pdf")] | 35 | [assembly: WebResource("TVA.Web.Embedded.Files.Help.pdf", "application/pdf")] |
| 36 | [assembly: WebResource("TVA.Web.Embedded.Images.TVALogo.png", "img/png")] | 36 | [assembly: WebResource("TVA.Web.Embedded.Images.TVALogo.png", "img/png")] |
| 37 | [assembly: WebResource("TVA.Web.Embedded.Images.Help.png", "img/png")] | 37 | [assembly: WebResource("TVA.Web.Embedded.Images.Help.png", "img/png")] |
| 38 | [assembly: WebResource("TVA.Web.Embedded.Images.Warning.png", "img/png")] | 38 | [assembly: WebResource("TVA.Web.Embedded.Images.Warning.png", "img/png")] |
| 39 | [assembly: WebResource("TVA.Web.Embedded.Styles.SecurityPortal.css", "text/css")] | 39 | [assembly: WebResource("TVA.Web.Embedded.Styles.SecurityPortal.css", "text/css")] |
| @@ -1,26 +1,26 @@ | |||
| 1 | using System; | 1 | using System; |
| 2 | using System.Reflection; | 2 | using System.Reflection; |
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // Assembly identity attributes. | 5 | // Assembly identity attributes. |
| 6 | [assembly: AssemblyVersion("2.1.99.0")] | 6 | [assembly: AssemblyVersion("4.0.4.70")] |
| 7 | 7 | ||
| 8 | // Informational attributes. | 8 | // Informational attributes. |
| 9 | [assembly: AssemblyCompany("TVA")] | 9 | [assembly: AssemblyCompany("TVA")] |
| 10 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] | 10 | [assembly: AssemblyCopyright("No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.")] |
| 11 | [assembly: AssemblyProduct("TVA Code Library")] | 11 | [assembly: AssemblyProduct("TVA Code Library")] |
| 12 | 12 | ||
| 13 | // Assembly manifest attributes. | 13 | // Assembly manifest attributes. |
| 14 | #if DEBUG | 14 | #if DEBUG |
| 15 | [assembly: AssemblyConfiguration("Debug Build")] | 15 | [assembly: AssemblyConfiguration("Debug Build")] |
| 16 | #else | 16 | #else |
| 17 | [assembly: AssemblyConfiguration("Release Build")] | 17 | [assembly: AssemblyConfiguration("Release Build")] |
| 18 | #endif | 18 | #endif |
| 19 | [assembly: AssemblyDefaultAlias("TVA.Windows")] | 19 | [assembly: AssemblyDefaultAlias("TVA.Windows")] |
| 20 | [assembly: AssemblyDescription("Library of property grid extensions, about dialog and base Windows Form and WPF Window for implementing role-based security.")] | 20 | [assembly: AssemblyDescription("Library of property grid extensions, about dialog and base Windows Form and WPF Window for implementing role-based security.")] |
| 21 | [assembly: AssemblyTitle("TVA.Windows")] | 21 | [assembly: AssemblyTitle("TVA.Windows")] |
| 22 | 22 | ||
| 23 | // Other configuration attributes. | 23 | // Other configuration attributes. |
| 24 | [assembly: CLSCompliant(true)] | 24 | [assembly: CLSCompliant(true)] |
| 25 | [assembly: ComVisible(false)] | 25 | [assembly: ComVisible(false)] |
| 26 | [assembly: Guid("85dfc906-a5f5-41ff-9a40-230ded5cd69d")] | 26 | [assembly: Guid("85dfc906-a5f5-41ff-9a40-230ded5cd69d")] |
| @@ -1,35 +1,35 @@ | |||
| 1 | using System.Reflection; | 1 | using System.Reflection; |
| 2 | using System.Runtime.CompilerServices; | 2 | using System.Runtime.CompilerServices; |
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // General Information about an assembly is controlled through the following | 5 | // General Information about an assembly is controlled through the following |
| 6 | // set of attributes. Change these attribute values to modify the information | 6 | // set of attributes. Change these attribute values to modify the information |
| 7 | // associated with an assembly. | 7 | // associated with an assembly. |
| 8 | [assembly: AssemblyTitle("TVA.Communication.Tests")] | 8 | [assembly: AssemblyTitle("TVA.Communication.Tests")] |
| 9 | [assembly: AssemblyDescription("")] | 9 | [assembly: AssemblyDescription("")] |
| 10 | [assembly: AssemblyConfiguration("")] | 10 | [assembly: AssemblyConfiguration("")] |
| 11 | [assembly: AssemblyCompany("TVA")] | 11 | [assembly: AssemblyCompany("TVA")] |
| 12 | [assembly: AssemblyProduct("TVA.Communication.Tests")] | 12 | [assembly: AssemblyProduct("TVA.Communication.Tests")] |
| 13 | [assembly: AssemblyCopyright("Copyright © TVA 2010")] | 13 | [assembly: AssemblyCopyright("Copyright © TVA 2010")] |
| 14 | [assembly: AssemblyTrademark("")] | 14 | [assembly: AssemblyTrademark("")] |
| 15 | [assembly: AssemblyCulture("")] | 15 | [assembly: AssemblyCulture("")] |
| 16 | 16 | ||
| 17 | // Setting ComVisible to false makes the types in this assembly not visible | 17 | // Setting ComVisible to false makes the types in this assembly not visible |
| 18 | // to COM components. If you need to access a type in this assembly from | 18 | // to COM components. If you need to access a type in this assembly from |
| 19 | // COM, set the ComVisible attribute to true on that type. | 19 | // COM, set the ComVisible attribute to true on that type. |
| 20 | [assembly: ComVisible(false)] | 20 | [assembly: ComVisible(false)] |
| 21 | 21 | ||
| 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM |
| 23 | [assembly: Guid("4e9721ed-bd90-4e2e-9c0b-e47b03c3dbee")] | 23 | [assembly: Guid("4e9721ed-bd90-4e2e-9c0b-e47b03c3dbee")] |
| 24 | 24 | ||
| 25 | // Version information for an assembly consists of the following four values: | 25 | // Version information for an assembly consists of the following four values: |
| 26 | // | 26 | // |
| 27 | // Major Version | 27 | // Major Version |
| 28 | // Minor Version | 28 | // Minor Version |
| 29 | // Build Number | 29 | // Build Number |
| 30 | // Revision | 30 | // Revision |
| 31 | // | 31 | // |
| 32 | // You can specify all the values or you can default the Build and Revision Numbers | 32 | // You can specify all the values or you can default the Build and Revision Numbers |
| 33 | // by using the '*' as shown below: | 33 | // by using the '*' as shown below: |
| 34 | [assembly: AssemblyVersion("2.1.99.0")] | 34 | [assembly: AssemblyVersion("4.0.4.70")] |
| 35 | [assembly: AssemblyFileVersion("2.1.99.0")] | 35 | [assembly: AssemblyFileVersion("4.0.4.70")] |
| @@ -1,35 +1,35 @@ | |||
| 1 | using System.Reflection; | 1 | using System.Reflection; |
| 2 | using System.Runtime.CompilerServices; | 2 | using System.Runtime.CompilerServices; |
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // General Information about an assembly is controlled through the following | 5 | // General Information about an assembly is controlled through the following |
| 6 | // set of attributes. Change these attribute values to modify the information | 6 | // set of attributes. Change these attribute values to modify the information |
| 7 | // associated with an assembly. | 7 | // associated with an assembly. |
| 8 | [assembly: AssemblyTitle("TVA.Core.Tests")] | 8 | [assembly: AssemblyTitle("TVA.Core.Tests")] |
| 9 | [assembly: AssemblyDescription("")] | 9 | [assembly: AssemblyDescription("")] |
| 10 | [assembly: AssemblyConfiguration("")] | 10 | [assembly: AssemblyConfiguration("")] |
| 11 | [assembly: AssemblyCompany("TVA")] | 11 | [assembly: AssemblyCompany("TVA")] |
| 12 | [assembly: AssemblyProduct("TVA.Core.Tests")] | 12 | [assembly: AssemblyProduct("TVA.Core.Tests")] |
| 13 | [assembly: AssemblyCopyright("Copyright © TVA 2010")] | 13 | [assembly: AssemblyCopyright("Copyright © TVA 2010")] |
| 14 | [assembly: AssemblyTrademark("")] | 14 | [assembly: AssemblyTrademark("")] |
| 15 | [assembly: AssemblyCulture("")] | 15 | [assembly: AssemblyCulture("")] |
| 16 | 16 | ||
| 17 | // Setting ComVisible to false makes the types in this assembly not visible | 17 | // Setting ComVisible to false makes the types in this assembly not visible |
| 18 | // to COM components. If you need to access a type in this assembly from | 18 | // to COM components. If you need to access a type in this assembly from |
| 19 | // COM, set the ComVisible attribute to true on that type. | 19 | // COM, set the ComVisible attribute to true on that type. |
| 20 | [assembly: ComVisible(false)] | 20 | [assembly: ComVisible(false)] |
| 21 | 21 | ||
| 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM |
| 23 | [assembly: Guid("8cbc9ff6-34ef-4b01-a42b-ff59d741f4c5")] | 23 | [assembly: Guid("8cbc9ff6-34ef-4b01-a42b-ff59d741f4c5")] |
| 24 | 24 | ||
| 25 | // Version information for an assembly consists of the following four values: | 25 | // Version information for an assembly consists of the following four values: |
| 26 | // | 26 | // |
| 27 | // Major Version | 27 | // Major Version |
| 28 | // Minor Version | 28 | // Minor Version |
| 29 | // Build Number | 29 | // Build Number |
| 30 | // Revision | 30 | // Revision |
| 31 | // | 31 | // |
| 32 | // You can specify all the values or you can default the Build and Revision Numbers | 32 | // You can specify all the values or you can default the Build and Revision Numbers |
| 33 | // by using the '*' as shown below: | 33 | // by using the '*' as shown below: |
| 34 | [assembly: AssemblyVersion("2.1.99.0")] | 34 | [assembly: AssemblyVersion("4.0.4.70")] |
| 35 | [assembly: AssemblyFileVersion("2.1.99.0")] | 35 | [assembly: AssemblyFileVersion("4.0.4.70")] |
| @@ -31,5 +31,5 @@ using System.Runtime.InteropServices; · 30 unmodified lines | |||
| 31 | // | 31 | // |
| 32 | // You can specify all the values or you can default the Build and Revision Numbers | 32 | // You can specify all the values or you can default the Build and Revision Numbers |
| 33 | // by using the '*' as shown below: | 33 | // by using the '*' as shown below: |
| 34 | [assembly: AssemblyVersion("2.1.99.0")] | 34 | [assembly: AssemblyVersion("4.0.4.70")] |
| 35 | [assembly: AssemblyFileVersion("2.1.99.0")] | 35 | [assembly: AssemblyFileVersion("4.0.4.70")] |
| @@ -31,5 +31,5 @@ using System.Runtime.InteropServices; · 30 unmodified lines | |||
| 31 | // | 31 | // |
| 32 | // You can specify all the values or you can default the Build and Revision Numbers | 32 | // You can specify all the values or you can default the Build and Revision Numbers |
| 33 | // by using the '*' as shown below: | 33 | // by using the '*' as shown below: |
| 34 | [assembly: AssemblyVersion("2.1.99.0")] | 34 | [assembly: AssemblyVersion("4.0.4.70")] |
| 35 | [assembly: AssemblyFileVersion("2.1.99.0")] | 35 | [assembly: AssemblyFileVersion("4.0.4.70")] |
| @@ -31,5 +31,5 @@ using System.Runtime.InteropServices; · 30 unmodified lines | |||
| 31 | // | 31 | // |
| 32 | // You can specify all the values or you can default the Build and Revision Numbers | 32 | // You can specify all the values or you can default the Build and Revision Numbers |
| 33 | // by using the '*' as shown below: | 33 | // by using the '*' as shown below: |
| 34 | [assembly: AssemblyVersion("2.1.99.0")] | 34 | [assembly: AssemblyVersion("4.0.4.70")] |
| 35 | [assembly: AssemblyFileVersion("2.1.99.0")] | 35 | [assembly: AssemblyFileVersion("4.0.4.70")] |
| @@ -31,5 +31,5 @@ using System.Runtime.InteropServices; · 30 unmodified lines | |||
| 31 | // | 31 | // |
| 32 | // You can specify all the values or you can default the Build and Revision Numbers | 32 | // You can specify all the values or you can default the Build and Revision Numbers |
| 33 | // by using the '*' as shown below: | 33 | // by using the '*' as shown below: |
| 34 | [assembly: AssemblyVersion("2.1.99.0")] | 34 | [assembly: AssemblyVersion("4.0.4.70")] |
| 35 | [assembly: AssemblyFileVersion("2.1.99.0")] | 35 | [assembly: AssemblyFileVersion("4.0.4.70")] |
| @@ -31,5 +31,5 @@ using System.Runtime.InteropServices; · 30 unmodified lines | |||
| 31 | // | 31 | // |
| 32 | // You can specify all the values or you can default the Build and Revision Numbers | 32 | // You can specify all the values or you can default the Build and Revision Numbers |
| 33 | // by using the '*' as shown below: | 33 | // by using the '*' as shown below: |
| 34 | [assembly: AssemblyVersion("2.1.99.0")] | 34 | [assembly: AssemblyVersion("4.0.4.70")] |
| 35 | [assembly: AssemblyFileVersion("2.1.99.0")] | 35 | [assembly: AssemblyFileVersion("4.0.4.70")] |
| @@ -31,5 +31,5 @@ using System.Runtime.InteropServices; · 30 unmodified lines | |||
| 31 | // | 31 | // |
| 32 | // You can specify all the values or you can default the Build and Revision Numbers | 32 | // You can specify all the values or you can default the Build and Revision Numbers |
| 33 | // by using the '*' as shown below: | 33 | // by using the '*' as shown below: |
| 34 | [assembly: AssemblyVersion("2.1.99.0")] | 34 | [assembly: AssemblyVersion("4.0.4.70")] |
| 35 | [assembly: AssemblyFileVersion("2.1.99.0")] | 35 | [assembly: AssemblyFileVersion("4.0.4.70")] |
| @@ -2,7 +2,7 @@ · 1 unmodified line | |||
| 2 | using System.Runtime.InteropServices; | 2 | using System.Runtime.InteropServices; |
| 3 | 3 | ||
| 4 | // Assembly identity attributes. | 4 | // Assembly identity attributes. |
| 5 | [assembly: AssemblyVersion("2.1.99.0")] | 5 | [assembly: AssemblyVersion("4.0.4.70")] |
| 6 | 6 | ||
| 7 | // Informational attributes. | 7 | // Informational attributes. |
| 8 | [assembly: AssemblyCompany("TVA")] | 8 | [assembly: AssemblyCompany("TVA")] |
| @@ -2,7 +2,7 @@ · 1 unmodified line | |||
| 2 | using System.Runtime.InteropServices; | 2 | using System.Runtime.InteropServices; |
| 3 | 3 | ||
| 4 | // Assembly identity attributes. | 4 | // Assembly identity attributes. |
| 5 | [assembly: AssemblyVersion("2.1.99.0")] | 5 | [assembly: AssemblyVersion("4.0.4.70")] |
| 6 | 6 | ||
| 7 | // Informational attributes. | 7 | // Informational attributes. |
| 8 | [assembly: AssemblyCompany("TVA")] | 8 | [assembly: AssemblyCompany("TVA")] |
| @@ -31,6 +31,6 @@ using System.Runtime.InteropServices; · 30 unmodified lines | |||
| 31 | // | 31 | // |
| 32 | // You can specify all the values or you can default the Build and Revision Numbers | 32 | // You can specify all the values or you can default the Build and Revision Numbers |
| 33 | // by using the '*' as shown below: | 33 | // by using the '*' as shown below: |
| 34 | // [assembly: AssemblyVersion("2.1.99.0")] | 34 | // [assembly: AssemblyVersion("4.0.4.70")] |
| 35 | [assembly: AssemblyVersion("2.1.99.0")] | 35 | [assembly: AssemblyVersion("4.0.4.70")] |
| 36 | [assembly: AssemblyFileVersion("2.1.99.0")] | 36 | [assembly: AssemblyFileVersion("4.0.4.70")] |
| @@ -30,6 +30,6 @@ using System.Runtime.InteropServices; · 29 unmodified lines | |||
| 30 | // | 30 | // |
| 31 | // You can specify all the values or you can default the Build and Revision Numbers | 31 | // You can specify all the values or you can default the Build and Revision Numbers |
| 32 | // by using the '*' as shown below: | 32 | // by using the '*' as shown below: |
| 33 | // [assembly: AssemblyVersion("2.1.99.0")] | 33 | // [assembly: AssemblyVersion("4.0.4.70")] |
| 34 | [assembly: AssemblyVersion("2.1.99.0")] | 34 | [assembly: AssemblyVersion("4.0.4.70")] |
| 35 | [assembly: AssemblyFileVersion("2.1.99.0")] | 35 | [assembly: AssemblyFileVersion("4.0.4.70")] |
| @@ -30,6 +30,6 @@ using System.Runtime.InteropServices; · 29 unmodified lines | |||
| 30 | // | 30 | // |
| 31 | // You can specify all the values or you can default the Build and Revision Numbers | 31 | // You can specify all the values or you can default the Build and Revision Numbers |
| 32 | // by using the '*' as shown below: | 32 | // by using the '*' as shown below: |
| 33 | // [assembly: AssemblyVersion("2.1.99.0")] | 33 | // [assembly: AssemblyVersion("4.0.4.70")] |
| 34 | [assembly: AssemblyVersion("2.1.99.0")] | 34 | [assembly: AssemblyVersion("4.0.4.70")] |
| 35 | [assembly: AssemblyFileVersion("2.1.99.0")] | 35 | [assembly: AssemblyFileVersion("4.0.4.70")] |
| @@ -2,7 +2,7 @@ · 1 unmodified line | |||
| 2 | using System.Runtime.InteropServices; | 2 | using System.Runtime.InteropServices; |
| 3 | 3 | ||
| 4 | // Assembly identity attributes. | 4 | // Assembly identity attributes. |
| 5 | [assembly: AssemblyVersion("2.1.99.0")] | 5 | [assembly: AssemblyVersion("4.0.4.70")] |
| 6 | 6 | ||
| 7 | // Informational attributes. | 7 | // Informational attributes. |
| 8 | [assembly: AssemblyCompany("TVA")] | 8 | [assembly: AssemblyCompany("TVA")] |
| @@ -2,7 +2,7 @@ · 1 unmodified line | |||
| 2 | using System.Runtime.InteropServices; | 2 | using System.Runtime.InteropServices; |
| 3 | 3 | ||
| 4 | // Assembly identity attributes. | 4 | // Assembly identity attributes. |
| 5 | [assembly: AssemblyVersion("2.1.99.0")] | 5 | [assembly: AssemblyVersion("4.0.4.70")] |
| 6 | 6 | ||
| 7 | // Informational attributes. | 7 | // Informational attributes. |
| 8 | [assembly: AssemblyCompany("TVA")] | 8 | [assembly: AssemblyCompany("TVA")] |
| @@ -1,39 +1,39 @@ | |||
| 1 | using System.Reflection; | 1 | using System.Reflection; |
| 2 | using System.Runtime.InteropServices; | 2 | using System.Runtime.InteropServices; |
| 3 | 3 | ||
| 4 | // General Information about an assembly is controlled through the following | 4 | // General Information about an assembly is controlled through the following |
| 5 | // set of attributes. Change these attribute values to modify the information | 5 | // set of attributes. Change these attribute values to modify the information |
| 6 | // associated with an assembly. | 6 | // associated with an assembly. |
| 7 | [assembly: AssemblyTitle("Data Publisher Test")] | 7 | [assembly: AssemblyTitle("Data Publisher Test")] |
| 8 | [assembly: AssemblyDescription("Data Publisher Test Application")] | 8 | [assembly: AssemblyDescription("Data Publisher Test Application")] |
| 9 | [assembly: AssemblyCompany("Grid Protection Alliance")] | 9 | [assembly: AssemblyCompany("Grid Protection Alliance")] |
| 10 | [assembly: AssemblyProduct("Time-series Data Processing Framework")] | 10 | [assembly: AssemblyProduct("Time-series Data Processing Framework")] |
| 11 | [assembly: AssemblyCopyright("Copyright © GPA, 2011. All Rights Reserved.")] | 11 | [assembly: AssemblyCopyright("Copyright © GPA, 2011. All Rights Reserved.")] |
| 12 | [assembly: AssemblyTrademark("")] | 12 | [assembly: AssemblyTrademark("")] |
| 13 | [assembly: AssemblyCulture("")] | 13 | [assembly: AssemblyCulture("")] |
| 14 | 14 | ||
| 15 | #if DEBUG | 15 | #if DEBUG |
| 16 | [assembly: AssemblyConfiguration("Debug Build")] | 16 | [assembly: AssemblyConfiguration("Debug Build")] |
| 17 | #else | 17 | #else |
| 18 | [assembly: AssemblyConfiguration("Release Build")] | 18 | [assembly: AssemblyConfiguration("Release Build")] |
| 19 | #endif | 19 | #endif |
| 20 | 20 | ||
| 21 | // Setting ComVisible to false makes the types in this assembly not visible | 21 | // Setting ComVisible to false makes the types in this assembly not visible |
| 22 | // to COM components. If you need to access a type in this assembly from | 22 | // to COM components. If you need to access a type in this assembly from |
| 23 | // COM, set the ComVisible attribute to true on that type. | 23 | // COM, set the ComVisible attribute to true on that type. |
| 24 | [assembly: ComVisible(false)] | 24 | [assembly: ComVisible(false)] |
| 25 | 25 | ||
| 26 | // The following GUID is for the ID of the typelib if this project is exposed to COM | 26 | // The following GUID is for the ID of the typelib if this project is exposed to COM |
| 27 | [assembly: Guid("13f856b7-395b-478c-aae2-fd6880a18969")] | 27 | [assembly: Guid("13f856b7-395b-478c-aae2-fd6880a18969")] |
| 28 | 28 | ||
| 29 | // Version information for an assembly consists of the following four values: | 29 | // Version information for an assembly consists of the following four values: |
| 30 | // | 30 | // |
| 31 | // Major Version | 31 | // Major Version |
| 32 | // Minor Version | 32 | // Minor Version |
| 33 | // Build Number | 33 | // Build Number |
| 34 | // Revision | 34 | // Revision |
| 35 | // | 35 | // |
| 36 | // You can specify all the values or you can default the Build and Revision Numbers | 36 | // You can specify all the values or you can default the Build and Revision Numbers |
| 37 | // by using the '*' as shown below: | 37 | // by using the '*' as shown below: |
| 38 | // [assembly: AssemblyVersion("2.1.99.0")] | 38 | // [assembly: AssemblyVersion("1.1.141.0")] |
| 39 | [assembly: AssemblyVersion("2.1.99.0")] | 39 | [assembly: AssemblyVersion("1.1.141.0")] |
| @@ -1,40 +1,40 @@ | |||
| 1 | using System.Reflection; | 1 | using System.Reflection; |
| 2 | using System.Runtime.InteropServices; | 2 | using System.Runtime.InteropServices; |
| 3 | 3 | ||
| 4 | // General Information about an assembly is controlled through the following | 4 | // General Information about an assembly is controlled through the following |
| 5 | // set of attributes. Change these attribute values to modify the information | 5 | // set of attributes. Change these attribute values to modify the information |
| 6 | // associated with an assembly. | 6 | // associated with an assembly. |
| 7 | [assembly: AssemblyTitle("Data Subscriber Test")] | 7 | [assembly: AssemblyTitle("Data Subscriber Test")] |
| 8 | [assembly: AssemblyDescription("Data Subscriber Test Application")] | 8 | [assembly: AssemblyDescription("Data Subscriber Test Application")] |
| 9 | [assembly: AssemblyCompany("Grid Protection Alliance")] | 9 | [assembly: AssemblyCompany("Grid Protection Alliance")] |
| 10 | [assembly: AssemblyProduct("Time-series Data Processing Framework")] | 10 | [assembly: AssemblyProduct("Time-series Data Processing Framework")] |
| 11 | [assembly: AssemblyCopyright("Copyright © GPA, 2011. All Rights Reserved.")] | 11 | [assembly: AssemblyCopyright("Copyright © GPA, 2011. All Rights Reserved.")] |
| 12 | [assembly: AssemblyTrademark("")] | 12 | [assembly: AssemblyTrademark("")] |
| 13 | [assembly: AssemblyCulture("")] | 13 | [assembly: AssemblyCulture("")] |
| 14 | 14 | ||
| 15 | #if DEBUG | 15 | #if DEBUG |
| 16 | [assembly: AssemblyConfiguration("Debug Build")] | 16 | [assembly: AssemblyConfiguration("Debug Build")] |
| 17 | #else | 17 | #else |
| 18 | [assembly: AssemblyConfiguration("Release Build")] | 18 | [assembly: AssemblyConfiguration("Release Build")] |
| 19 | #endif | 19 | #endif |
| 20 | 20 | ||
| 21 | // Setting ComVisible to false makes the types in this assembly not visible | 21 | // Setting ComVisible to false makes the types in this assembly not visible |
| 22 | // to COM components. If you need to access a type in this assembly from | 22 | // to COM components. If you need to access a type in this assembly from |
| 23 | // COM, set the ComVisible attribute to true on that type. | 23 | // COM, set the ComVisible attribute to true on that type. |
| 24 | [assembly: ComVisible(false)] | 24 | [assembly: ComVisible(false)] |
| 25 | 25 | ||
| 26 | // The following GUID is for the ID of the typelib if this project is exposed to COM | 26 | // The following GUID is for the ID of the typelib if this project is exposed to COM |
| 27 | [assembly: Guid("58040511-5b2b-4a40-aa82-0278737f1ca2")] | 27 | [assembly: Guid("58040511-5b2b-4a40-aa82-0278737f1ca2")] |
| 28 | 28 | ||
| 29 | // Version information for an assembly consists of the following four values: | 29 | // Version information for an assembly consists of the following four values: |
| 30 | // | 30 | // |
| 31 | // Major Version | 31 | // Major Version |
| 32 | // Minor Version | 32 | // Minor Version |
| 33 | // Build Number | 33 | // Build Number |
| 34 | // Revision | 34 | // Revision |
| 35 | // | 35 | // |
| 36 | // You can specify all the values or you can default the Build and Revision Numbers | 36 | // You can specify all the values or you can default the Build and Revision Numbers |
| 37 | // by using the '*' as shown below: | 37 | // by using the '*' as shown below: |
| 38 | // [assembly: AssemblyVersion("2.1.99.0")] | 38 | // [assembly: AssemblyVersion("1.1.141.0")] |
| 39 | [assembly: AssemblyVersion("2.1.99.0")] | 39 | [assembly: AssemblyVersion("1.1.141.0")] |
| 40 | 40 | ||
| @@ -1,58 +1,58 @@ | |||
| 1 | using System.Reflection; | 1 | using System.Reflection; |
| 2 | using System.Runtime.InteropServices; | 2 | using System.Runtime.InteropServices; |
| 3 | using System.Windows; | 3 | using System.Windows; |
| 4 | 4 | ||
| 5 | // General Information about an assembly is controlled through the following | 5 | // General Information about an assembly is controlled through the following |
| 6 | // set of attributes. Change these attribute values to modify the information | 6 | // set of attributes. Change these attribute values to modify the information |
| 7 | // associated with an assembly. | 7 | // associated with an assembly. |
| 8 | [assembly: AssemblyTitle("TSF Manager")] | 8 | [assembly: AssemblyTitle("TSF Manager")] |
| 9 | [assembly: AssemblyDescription("Time-series Framework UI Management Application")] | 9 | [assembly: AssemblyDescription("Time-series Framework UI Management Application")] |
| 10 | [assembly: AssemblyCompany("Grid Protection Alliance")] | 10 | [assembly: AssemblyCompany("Grid Protection Alliance")] |
| 11 | [assembly: AssemblyProduct("Time-series Data Processing Framework")] | 11 | [assembly: AssemblyProduct("Time-series Data Processing Framework")] |
| 12 | [assembly: AssemblyCopyright("Copyright © GPA, 2011. All Rights Reserved.")] | 12 | [assembly: AssemblyCopyright("Copyright © GPA, 2011. All Rights Reserved.")] |
| 13 | [assembly: AssemblyTrademark("")] | 13 | [assembly: AssemblyTrademark("")] |
| 14 | [assembly: AssemblyCulture("")] | 14 | [assembly: AssemblyCulture("")] |
| 15 | 15 | ||
| 16 | #if DEBUG | 16 | #if DEBUG |
| 17 | [assembly: AssemblyConfiguration("Debug Build")] | 17 | [assembly: AssemblyConfiguration("Debug Build")] |
| 18 | #else | 18 | #else |
| 19 | [assembly: AssemblyConfiguration("Release Build")] | 19 | [assembly: AssemblyConfiguration("Release Build")] |
| 20 | #endif | 20 | #endif |
| 21 | 21 | ||
| 22 | // Setting ComVisible to false makes the types in this assembly not visible | 22 | // Setting ComVisible to false makes the types in this assembly not visible |
| 23 | // to COM components. If you need to access a type in this assembly from | 23 | // to COM components. If you need to access a type in this assembly from |
| 24 | // COM, set the ComVisible attribute to true on that type. | 24 | // COM, set the ComVisible attribute to true on that type. |
| 25 | [assembly: ComVisible(false)] | 25 | [assembly: ComVisible(false)] |
| 26 | 26 | ||
| 27 | //In order to begin building localizable applications, set | 27 | //In order to begin building localizable applications, set |
| 28 | //<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file | 28 | //<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file |
| 29 | //inside a <PropertyGroup>. For example, if you are using US english | 29 | //inside a <PropertyGroup>. For example, if you are using US english |
| 30 | //in your source files, set the <UICulture> to en-US. Then uncomment | 30 | //in your source files, set the <UICulture> to en-US. Then uncomment |
| 31 | //the NeutralResourceLanguage attribute below. Update the "en-US" in | 31 | //the NeutralResourceLanguage attribute below. Update the "en-US" in |
| 32 | //the line below to match the UICulture setting in the project file. | 32 | //the line below to match the UICulture setting in the project file. |
| 33 | 33 | ||
| 34 | //[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] | 34 | //[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] |
| 35 | 35 | ||
| 36 | 36 | ||
| 37 | [assembly: ThemeInfo( | 37 | [assembly: ThemeInfo( |
| 38 | ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located | 38 | ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located |
| 39 | //(used if a resource is not found in the page, | 39 | //(used if a resource is not found in the page, |
| 40 | // or application resource dictionaries) | 40 | // or application resource dictionaries) |
| 41 | ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located | 41 | ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located |
| 42 | //(used if a resource is not found in the page, | 42 | //(used if a resource is not found in the page, |
| 43 | // app, or any theme specific resource dictionaries) | 43 | // app, or any theme specific resource dictionaries) |
| 44 | )] | 44 | )] |
| 45 | 45 | ||
| 46 | 46 | ||
| 47 | // Version information for an assembly consists of the following four values: | 47 | // Version information for an assembly consists of the following four values: |
| 48 | // | 48 | // |
| 49 | // Major Version | 49 | // Major Version |
| 50 | // Minor Version | 50 | // Minor Version |
| 51 | // Build Number | 51 | // Build Number |
| 52 | // Revision | 52 | // Revision |
| 53 | // | 53 | // |
| 54 | // You can specify all the values or you can default the Build and Revision Numbers | 54 | // You can specify all the values or you can default the Build and Revision Numbers |
| 55 | // by using the '*' as shown below: | 55 | // by using the '*' as shown below: |
| 56 | // [assembly: AssemblyVersion("2.1.99.0")] | 56 | // [assembly: AssemblyVersion("1.1.141.0")] |
| 57 | [assembly: AssemblyVersion("2.1.99.0")] | 57 | [assembly: AssemblyVersion("1.1.141.0")] |
| 58 | [assembly: AssemblyFileVersion("2.1.99.0")] | 58 | [assembly: AssemblyFileVersion("1.1.141.0")] |
| @@ -1,36 +1,36 @@ | |||
| 1 | using System.Reflection; | 1 | using System.Reflection; |
| 2 | using System.Runtime.CompilerServices; | 2 | using System.Runtime.CompilerServices; |
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // General Information about an assembly is controlled through the following | 5 | // General Information about an assembly is controlled through the following |
| 6 | // set of attributes. Change these attribute values to modify the information | 6 | // set of attributes. Change these attribute values to modify the information |
| 7 | // associated with an assembly. | 7 | // associated with an assembly. |
| 8 | [assembly: AssemblyTitle("UpdateWAVMetaData")] | 8 | [assembly: AssemblyTitle("UpdateWAVMetaData")] |
| 9 | [assembly: AssemblyDescription("")] | 9 | [assembly: AssemblyDescription("")] |
| 10 | [assembly: AssemblyConfiguration("")] | 10 | [assembly: AssemblyConfiguration("")] |
| 11 | [assembly: AssemblyCompany("Microsoft")] | 11 | [assembly: AssemblyCompany("Microsoft")] |
| 12 | [assembly: AssemblyProduct("UpdateWAVMetaData")] | 12 | [assembly: AssemblyProduct("UpdateWAVMetaData")] |
| 13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2011")] | 13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2011")] |
| 14 | [assembly: AssemblyTrademark("")] | 14 | [assembly: AssemblyTrademark("")] |
| 15 | [assembly: AssemblyCulture("")] | 15 | [assembly: AssemblyCulture("")] |
| 16 | 16 | ||
| 17 | // Setting ComVisible to false makes the types in this assembly not visible | 17 | // Setting ComVisible to false makes the types in this assembly not visible |
| 18 | // to COM components. If you need to access a type in this assembly from | 18 | // to COM components. If you need to access a type in this assembly from |
| 19 | // COM, set the ComVisible attribute to true on that type. | 19 | // COM, set the ComVisible attribute to true on that type. |
| 20 | [assembly: ComVisible(false)] | 20 | [assembly: ComVisible(false)] |
| 21 | 21 | ||
| 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM |
| 23 | [assembly: Guid("2640ae25-08fa-4837-9140-ff6e2778a225")] | 23 | [assembly: Guid("2640ae25-08fa-4837-9140-ff6e2778a225")] |
| 24 | 24 | ||
| 25 | // Version information for an assembly consists of the following four values: | 25 | // Version information for an assembly consists of the following four values: |
| 26 | // | 26 | // |
| 27 | // Major Version | 27 | // Major Version |
| 28 | // Minor Version | 28 | // Minor Version |
| 29 | // Build Number | 29 | // Build Number |
| 30 | // Revision | 30 | // Revision |
| 31 | // | 31 | // |
| 32 | // You can specify all the values or you can default the Build and Revision Numbers | 32 | // You can specify all the values or you can default the Build and Revision Numbers |
| 33 | // by using the '*' as shown below: | 33 | // by using the '*' as shown below: |
| 34 | // [assembly: AssemblyVersion("2.1.99.0")] | 34 | // [assembly: AssemblyVersion("1.1.141.0")] |
| 35 | [assembly: AssemblyVersion("2.1.99.0")] | 35 | [assembly: AssemblyVersion("1.1.141.0")] |
| 36 | [assembly: AssemblyFileVersion("2.1.99.0")] | 36 | [assembly: AssemblyFileVersion("1.1.141.0")] |
| @@ -1,55 +1,55 @@ | |||
| 1 | using System.Reflection; | 1 | using System.Reflection; |
| 2 | using System.Resources; | 2 | using System.Resources; |
| 3 | using System.Runtime.CompilerServices; | 3 | using System.Runtime.CompilerServices; |
| 4 | using System.Runtime.InteropServices; | 4 | using System.Runtime.InteropServices; |
| 5 | using System.Windows; | 5 | using System.Windows; |
| 6 | 6 | ||
| 7 | // General Information about an assembly is controlled through the following | 7 | // General Information about an assembly is controlled through the following |
| 8 | // set of attributes. Change these attribute values to modify the information | 8 | // set of attributes. Change these attribute values to modify the information |
| 9 | // associated with an assembly. | 9 | // associated with an assembly. |
| 10 | [assembly: AssemblyTitle("WavSubscriptionDemo")] | 10 | [assembly: AssemblyTitle("WavSubscriptionDemo")] |
| 11 | [assembly: AssemblyDescription("")] | 11 | [assembly: AssemblyDescription("")] |
| 12 | [assembly: AssemblyConfiguration("")] | 12 | [assembly: AssemblyConfiguration("")] |
| 13 | [assembly: AssemblyCompany("Microsoft")] | 13 | [assembly: AssemblyCompany("Microsoft")] |
| 14 | [assembly: AssemblyProduct("WavSubscriptionDemo")] | 14 | [assembly: AssemblyProduct("WavSubscriptionDemo")] |
| 15 | [assembly: AssemblyCopyright("Copyright © Microsoft 2011")] | 15 | [assembly: AssemblyCopyright("Copyright © Microsoft 2011")] |
| 16 | [assembly: AssemblyTrademark("")] | 16 | [assembly: AssemblyTrademark("")] |
| 17 | [assembly: AssemblyCulture("")] | 17 | [assembly: AssemblyCulture("")] |
| 18 | 18 | ||
| 19 | // Setting ComVisible to false makes the types in this assembly not visible | 19 | // Setting ComVisible to false makes the types in this assembly not visible |
| 20 | // to COM components. If you need to access a type in this assembly from | 20 | // to COM components. If you need to access a type in this assembly from |
| 21 | // COM, set the ComVisible attribute to true on that type. | 21 | // COM, set the ComVisible attribute to true on that type. |
| 22 | [assembly: ComVisible(false)] | 22 | [assembly: ComVisible(false)] |
| 23 | 23 | ||
| 24 | //In order to begin building localizable applications, set | 24 | //In order to begin building localizable applications, set |
| 25 | //<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file | 25 | //<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file |
| 26 | //inside a <PropertyGroup>. For example, if you are using US english | 26 | //inside a <PropertyGroup>. For example, if you are using US english |
| 27 | //in your source files, set the <UICulture> to en-US. Then uncomment | 27 | //in your source files, set the <UICulture> to en-US. Then uncomment |
| 28 | //the NeutralResourceLanguage attribute below. Update the "en-US" in | 28 | //the NeutralResourceLanguage attribute below. Update the "en-US" in |
| 29 | //the line below to match the UICulture setting in the project file. | 29 | //the line below to match the UICulture setting in the project file. |
| 30 | 30 | ||
| 31 | //[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] | 31 | //[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] |
| 32 | 32 | ||
| 33 | 33 | ||
| 34 | [assembly: ThemeInfo( | 34 | [assembly: ThemeInfo( |
| 35 | ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located | 35 | ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located |
| 36 | //(used if a resource is not found in the page, | 36 | //(used if a resource is not found in the page, |
| 37 | // or application resource dictionaries) | 37 | // or application resource dictionaries) |
| 38 | ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located | 38 | ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located |
| 39 | //(used if a resource is not found in the page, | 39 | //(used if a resource is not found in the page, |
| 40 | // app, or any theme specific resource dictionaries) | 40 | // app, or any theme specific resource dictionaries) |
| 41 | )] | 41 | )] |
| 42 | 42 | ||
| 43 | 43 | ||
| 44 | // Version information for an assembly consists of the following four values: | 44 | // Version information for an assembly consists of the following four values: |
| 45 | // | 45 | // |
| 46 | // Major Version | 46 | // Major Version |
| 47 | // Minor Version | 47 | // Minor Version |
| 48 | // Build Number | 48 | // Build Number |
| 49 | // Revision | 49 | // Revision |
| 50 | // | 50 | // |
| 51 | // You can specify all the values or you can default the Build and Revision Numbers | 51 | // You can specify all the values or you can default the Build and Revision Numbers |
| 52 | // by using the '*' as shown below: | 52 | // by using the '*' as shown below: |
| 53 | // [assembly: AssemblyVersion("2.1.99.0")] | 53 | // [assembly: AssemblyVersion("1.1.141.0")] |
| 54 | [assembly: AssemblyVersion("2.1.99.0")] | 54 | [assembly: AssemblyVersion("1.1.141.0")] |
| 55 | [assembly: AssemblyFileVersion("2.1.99.0")] | 55 | [assembly: AssemblyFileVersion("1.1.141.0")] |
| @@ -1,36 +1,36 @@ | |||
| 1 | using System.Reflection; | 1 | using System.Reflection; |
| 2 | using System.Runtime.CompilerServices; | 2 | using System.Runtime.CompilerServices; |
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // General Information about an assembly is controlled through the following | 5 | // General Information about an assembly is controlled through the following |
| 6 | // set of attributes. Change these attribute values to modify the information | 6 | // set of attributes. Change these attribute values to modify the information |
| 7 | // associated with an assembly. | 7 | // associated with an assembly. |
| 8 | [assembly: AssemblyTitle("AdoAdapters")] | 8 | [assembly: AssemblyTitle("AdoAdapters")] |
| 9 | [assembly: AssemblyDescription("")] | 9 | [assembly: AssemblyDescription("")] |
| 10 | [assembly: AssemblyConfiguration("")] | 10 | [assembly: AssemblyConfiguration("")] |
| 11 | [assembly: AssemblyCompany("Grid Protection Alliance")] | 11 | [assembly: AssemblyCompany("Grid Protection Alliance")] |
| 12 | [assembly: AssemblyProduct("AdoAdapters")] | 12 | [assembly: AssemblyProduct("AdoAdapters")] |
| 13 | [assembly: AssemblyCopyright("Copyright © 2010. All Rights Reserved.")] | 13 | [assembly: AssemblyCopyright("Copyright © 2010. All Rights Reserved.")] |
| 14 | [assembly: AssemblyTrademark("")] | 14 | [assembly: AssemblyTrademark("")] |
| 15 | [assembly: AssemblyCulture("")] | 15 | [assembly: AssemblyCulture("")] |
| 16 | 16 | ||
| 17 | // Setting ComVisible to false makes the types in this assembly not visible | 17 | // Setting ComVisible to false makes the types in this assembly not visible |
| 18 | // to COM components. If you need to access a type in this assembly from | 18 | // to COM components. If you need to access a type in this assembly from |
| 19 | // COM, set the ComVisible attribute to true on that type. | 19 | // COM, set the ComVisible attribute to true on that type. |
| 20 | [assembly: ComVisible(false)] | 20 | [assembly: ComVisible(false)] |
| 21 | 21 | ||
| 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM |
| 23 | [assembly: Guid("45748fd5-d59a-4cec-9888-9d0ab9828944")] | 23 | [assembly: Guid("45748fd5-d59a-4cec-9888-9d0ab9828944")] |
| 24 | 24 | ||
| 25 | // Version information for an assembly consists of the following four values: | 25 | // Version information for an assembly consists of the following four values: |
| 26 | // | 26 | // |
| 27 | // Major Version | 27 | // Major Version |
| 28 | // Minor Version | 28 | // Minor Version |
| 29 | // Build Number | 29 | // Build Number |
| 30 | // Revision | 30 | // Revision |
| 31 | // | 31 | // |
| 32 | // You can specify all the values or you can default the Build and Revision Numbers | 32 | // You can specify all the values or you can default the Build and Revision Numbers |
| 33 | // by using the '*' as shown below: | 33 | // by using the '*' as shown below: |
| 34 | // [assembly: AssemblyVersion("2.1.99.0")] | 34 | // [assembly: AssemblyVersion("1.1.141.0")] |
| 35 | [assembly: AssemblyVersion("2.1.99.0")] | 35 | [assembly: AssemblyVersion("1.1.141.0")] |
| 36 | [assembly: AssemblyFileVersion("2.1.99.0")] | 36 | [assembly: AssemblyFileVersion("1.1.141.0")] |
| @@ -1,38 +1,38 @@ | |||
| 1 | #include "stdafx.h" | 1 | #include "stdafx.h" |
| 2 | 2 | ||
| 3 | using namespace System; | 3 | using namespace System; |
| 4 | using namespace System::Reflection; | 4 | using namespace System::Reflection; |
| 5 | using namespace System::Runtime::CompilerServices; | 5 | using namespace System::Runtime::CompilerServices; |
| 6 | using namespace System::Runtime::InteropServices; | 6 | using namespace System::Runtime::InteropServices; |
| 7 | using namespace System::Security::Permissions; | 7 | using namespace System::Security::Permissions; |
| 8 | 8 | ||
| 9 | // | 9 | // |
| 10 | // General Information about an assembly is controlled through the following | 10 | // General Information about an assembly is controlled through the following |
| 11 | // set of attributes. Change these attribute values to modify the information | 11 | // set of attributes. Change these attribute values to modify the information |
| 12 | // associated with an assembly. | 12 | // associated with an assembly. |
| 13 | // | 13 | // |
| 14 | [assembly:AssemblyTitleAttribute("CSampleAdapter")]; | 14 | [assembly:AssemblyTitleAttribute("CSampleAdapter")]; |
| 15 | [assembly:AssemblyDescriptionAttribute("")]; | 15 | [assembly:AssemblyDescriptionAttribute("")]; |
| 16 | [assembly:AssemblyConfigurationAttribute("")]; | 16 | [assembly:AssemblyConfigurationAttribute("")]; |
| 17 | [assembly:AssemblyCompanyAttribute("Grid Protection Alliance")]; | 17 | [assembly:AssemblyCompanyAttribute("Grid Protection Alliance")]; |
| 18 | [assembly:AssemblyProductAttribute("CSampleAdapter")]; | 18 | [assembly:AssemblyProductAttribute("CSampleAdapter")]; |
| 19 | [assembly:AssemblyCopyrightAttribute("Copyright � 2012. All Rights Reserved.")]; | 19 | [assembly:AssemblyCopyrightAttribute("Copyright � 2012. All Rights Reserved.")]; |
| 20 | [assembly:AssemblyTrademarkAttribute("")]; | 20 | [assembly:AssemblyTrademarkAttribute("")]; |
| 21 | [assembly:AssemblyCultureAttribute("")]; | 21 | [assembly:AssemblyCultureAttribute("")]; |
| 22 | 22 | ||
| 23 | // | 23 | // |
| 24 | // Version information for an assembly consists of the following four values: | 24 | // Version information for an assembly consists of the following four values: |
| 25 | // | 25 | // |
| 26 | // Major Version | 26 | // Major Version |
| 27 | // Minor Version | 27 | // Minor Version |
| 28 | // Build Number | 28 | // Build Number |
| 29 | // Revision | 29 | // Revision |
| 30 | // | 30 | // |
| 31 | // You can specify all the value or you can default the Revision and Build Numbers | 31 | // You can specify all the value or you can default the Revision and Build Numbers |
| 32 | // by using the '*' as shown below: | 32 | // by using the '*' as shown below: |
| 33 | [assembly:AssemblyVersionAttribute("1.1.25.0")] | 33 | [assembly:AssemblyVersionAttribute("1.1.25.0")] |
| 34 | [assembly:AssemblyFileVersionAttribute("1.1.25.0")] | 34 | [assembly:AssemblyFileVersionAttribute("1.1.25.0")] |
| 35 | 35 | ||
| 36 | [assembly:ComVisible(false)]; | 36 | [assembly:ComVisible(false)]; |
| 37 | [assembly:CLSCompliantAttribute(true)]; | 37 | [assembly:CLSCompliantAttribute(true)]; |
| 38 | [assembly:SecurityPermission(SecurityAction::RequestMinimum, UnmanagedCode = true)]; | 38 | [assembly:SecurityPermission(SecurityAction::RequestMinimum, UnmanagedCode = true)]; |
| @@ -1,36 +1,36 @@ | |||
| 1 | using System.Reflection; | 1 | using System.Reflection; |
| 2 | using System.Runtime.CompilerServices; | 2 | using System.Runtime.CompilerServices; |
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // General Information about an assembly is controlled through the following | 5 | // General Information about an assembly is controlled through the following |
| 6 | // set of attributes. Change these attribute values to modify the information | 6 | // set of attributes. Change these attribute values to modify the information |
| 7 | // associated with an assembly. | 7 | // associated with an assembly. |
| 8 | [assembly: AssemblyTitle("CsvAdapters")] | 8 | [assembly: AssemblyTitle("CsvAdapters")] |
| 9 | [assembly: AssemblyDescription("")] | 9 | [assembly: AssemblyDescription("")] |
| 10 | [assembly: AssemblyConfiguration("")] | 10 | [assembly: AssemblyConfiguration("")] |
| 11 | [assembly: AssemblyCompany("Grid Protection Alliance")] | 11 | [assembly: AssemblyCompany("Grid Protection Alliance")] |
| 12 | [assembly: AssemblyProduct("CsvAdapters")] | 12 | [assembly: AssemblyProduct("CsvAdapters")] |
| 13 | [assembly: AssemblyCopyright("Copyright © 2010. All Rights Reserved.")] | 13 | [assembly: AssemblyCopyright("Copyright © 2010. All Rights Reserved.")] |
| 14 | [assembly: AssemblyTrademark("")] | 14 | [assembly: AssemblyTrademark("")] |
| 15 | [assembly: AssemblyCulture("")] | 15 | [assembly: AssemblyCulture("")] |
| 16 | 16 | ||
| 17 | // Setting ComVisible to false makes the types in this assembly not visible | 17 | // Setting ComVisible to false makes the types in this assembly not visible |
| 18 | // to COM components. If you need to access a type in this assembly from | 18 | // to COM components. If you need to access a type in this assembly from |
| 19 | // COM, set the ComVisible attribute to true on that type. | 19 | // COM, set the ComVisible attribute to true on that type. |
| 20 | [assembly: ComVisible(false)] | 20 | [assembly: ComVisible(false)] |
| 21 | 21 | ||
| 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM |
| 23 | [assembly: Guid("a7798a9f-469e-4c93-be88-b897211417fd")] | 23 | [assembly: Guid("a7798a9f-469e-4c93-be88-b897211417fd")] |
| 24 | 24 | ||
| 25 | // Version information for an assembly consists of the following four values: | 25 | // Version information for an assembly consists of the following four values: |
| 26 | // | 26 | // |
| 27 | // Major Version | 27 | // Major Version |
| 28 | // Minor Version | 28 | // Minor Version |
| 29 | // Build Number | 29 | // Build Number |
| 30 | // Revision | 30 | // Revision |
| 31 | // | 31 | // |
| 32 | // You can specify all the values or you can default the Build and Revision Numbers | 32 | // You can specify all the values or you can default the Build and Revision Numbers |
| 33 | // by using the '*' as shown below: | 33 | // by using the '*' as shown below: |
| 34 | // [assembly: AssemblyVersion("2.1.99.0")] | 34 | // [assembly: AssemblyVersion("1.1.141.0")] |
| 35 | [assembly: AssemblyVersion("2.1.99.0")] | 35 | [assembly: AssemblyVersion("1.1.141.0")] |
| 36 | [assembly: AssemblyFileVersion("2.1.99.0")] | 36 | [assembly: AssemblyFileVersion("1.1.141.0")] |
| @@ -1,36 +1,36 @@ | |||
| 1 | using System.Reflection; | 1 | using System.Reflection; |
| 2 | using System.Runtime.CompilerServices; | 2 | using System.Runtime.CompilerServices; |
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // General Information about an assembly is controlled through the following | 5 | // General Information about an assembly is controlled through the following |
| 6 | // set of attributes. Change these attribute values to modify the information | 6 | // set of attributes. Change these attribute values to modify the information |
| 7 | // associated with an assembly. | 7 | // associated with an assembly. |
| 8 | [assembly: AssemblyTitle("DataQualityMonitoring")] | 8 | [assembly: AssemblyTitle("DataQualityMonitoring")] |
| 9 | [assembly: AssemblyDescription("")] | 9 | [assembly: AssemblyDescription("")] |
| 10 | [assembly: AssemblyConfiguration("")] | 10 | [assembly: AssemblyConfiguration("")] |
| 11 | [assembly: AssemblyCompany("Grid Protection Alliance")] | 11 | [assembly: AssemblyCompany("Grid Protection Alliance")] |
| 12 | [assembly: AssemblyProduct("DataQualityMonitoring")] | 12 | [assembly: AssemblyProduct("DataQualityMonitoring")] |
| 13 | [assembly: AssemblyCopyright("Copyright © 2010. All Rights Reserved.")] | 13 | [assembly: AssemblyCopyright("Copyright © 2010. All Rights Reserved.")] |
| 14 | [assembly: AssemblyTrademark("")] | 14 | [assembly: AssemblyTrademark("")] |
| 15 | [assembly: AssemblyCulture("")] | 15 | [assembly: AssemblyCulture("")] |
| 16 | 16 | ||
| 17 | // Setting ComVisible to false makes the types in this assembly not visible | 17 | // Setting ComVisible to false makes the types in this assembly not visible |
| 18 | // to COM components. If you need to access a type in this assembly from | 18 | // to COM components. If you need to access a type in this assembly from |
| 19 | // COM, set the ComVisible attribute to true on that type. | 19 | // COM, set the ComVisible attribute to true on that type. |
| 20 | [assembly: ComVisible(false)] | 20 | [assembly: ComVisible(false)] |
| 21 | 21 | ||
| 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM |
| 23 | [assembly: Guid("0a0fd702-d54c-4625-92f6-11b78ea0ba10")] | 23 | [assembly: Guid("0a0fd702-d54c-4625-92f6-11b78ea0ba10")] |
| 24 | 24 | ||
| 25 | // Version information for an assembly consists of the following four values: | 25 | // Version information for an assembly consists of the following four values: |
| 26 | // | 26 | // |
| 27 | // Major Version | 27 | // Major Version |
| 28 | // Minor Version | 28 | // Minor Version |
| 29 | // Build Number | 29 | // Build Number |
| 30 | // Revision | 30 | // Revision |
| 31 | // | 31 | // |
| 32 | // You can specify all the values or you can default the Build and Revision Numbers | 32 | // You can specify all the values or you can default the Build and Revision Numbers |
| 33 | // by using the '*' as shown below: | 33 | // by using the '*' as shown below: |
| 34 | // [assembly: AssemblyVersion("2.1.99.0")] | 34 | // [assembly: AssemblyVersion("1.1.141.0")] |
| 35 | [assembly: AssemblyVersion("2.1.99.0")] | 35 | [assembly: AssemblyVersion("1.1.141.0")] |
| 36 | [assembly: AssemblyFileVersion("2.1.99.0")] | 36 | [assembly: AssemblyFileVersion("1.1.141.0")] |
| @@ -1,36 +1,36 @@ | |||
| 1 | using System.Reflection; | 1 | using System.Reflection; |
| 2 | using System.Runtime.CompilerServices; | 2 | using System.Runtime.CompilerServices; |
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // General Information about an assembly is controlled through the following | 5 | // General Information about an assembly is controlled through the following |
| 6 | // set of attributes. Change these attribute values to modify the information | 6 | // set of attributes. Change these attribute values to modify the information |
| 7 | // associated with an assembly. | 7 | // associated with an assembly. |
| 8 | [assembly: AssemblyTitle("Dnp3Adapters")] | 8 | [assembly: AssemblyTitle("Dnp3Adapters")] |
| 9 | [assembly: AssemblyDescription("")] | 9 | [assembly: AssemblyDescription("")] |
| 10 | [assembly: AssemblyConfiguration("")] | 10 | [assembly: AssemblyConfiguration("")] |
| 11 | [assembly: AssemblyCompany("Grid Protection Alliance")] | 11 | [assembly: AssemblyCompany("Grid Protection Alliance")] |
| 12 | [assembly: AssemblyProduct("TimeSeriesFramework")] | 12 | [assembly: AssemblyProduct("TimeSeriesFramework")] |
| 13 | [assembly: AssemblyCopyright("Copyright © 2012. All Rights Reserved.")] | 13 | [assembly: AssemblyCopyright("Copyright © 2012. All Rights Reserved.")] |
| 14 | [assembly: AssemblyTrademark("")] | 14 | [assembly: AssemblyTrademark("")] |
| 15 | [assembly: AssemblyCulture("")] | 15 | [assembly: AssemblyCulture("")] |
| 16 | 16 | ||
| 17 | // Setting ComVisible to false makes the types in this assembly not visible | 17 | // Setting ComVisible to false makes the types in this assembly not visible |
| 18 | // to COM components. If you need to access a type in this assembly from | 18 | // to COM components. If you need to access a type in this assembly from |
| 19 | // COM, set the ComVisible attribute to true on that type. | 19 | // COM, set the ComVisible attribute to true on that type. |
| 20 | [assembly: ComVisible(false)] | 20 | [assembly: ComVisible(false)] |
| 21 | 21 | ||
| 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM |
| 23 | [assembly: Guid("0FAF31ED-CF1C-498A-9F4D-0AE3651140CE")] | 23 | [assembly: Guid("0FAF31ED-CF1C-498A-9F4D-0AE3651140CE")] |
| 24 | 24 | ||
| 25 | // Version information for an assembly consists of the following four values: | 25 | // Version information for an assembly consists of the following four values: |
| 26 | // | 26 | // |
| 27 | // Major Version | 27 | // Major Version |
| 28 | // Minor Version | 28 | // Minor Version |
| 29 | // Build Number | 29 | // Build Number |
| 30 | // Revision | 30 | // Revision |
| 31 | // | 31 | // |
| 32 | // You can specify all the values or you can default the Build and Revision Numbers | 32 | // You can specify all the values or you can default the Build and Revision Numbers |
| 33 | // by using the '*' as shown below: | 33 | // by using the '*' as shown below: |
| 34 | // [assembly: AssemblyVersion("2.1.99.0")] | 34 | // [assembly: AssemblyVersion("1.1.141.0")] |
| 35 | [assembly: AssemblyVersion("2.1.99.0")] | 35 | [assembly: AssemblyVersion("1.1.141.0")] |
| 36 | [assembly: AssemblyFileVersion("2.1.99.0")] | 36 | [assembly: AssemblyFileVersion("1.1.141.0")] |
| @@ -1,36 +1,36 @@ | |||
| 1 | using System.Reflection; | 1 | using System.Reflection; |
| 2 | using System.Runtime.CompilerServices; | 2 | using System.Runtime.CompilerServices; |
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // General Information about an assembly is controlled through the following | 5 | // General Information about an assembly is controlled through the following |
| 6 | // set of attributes. Change these attribute values to modify the information | 6 | // set of attributes. Change these attribute values to modify the information |
| 7 | // associated with an assembly. | 7 | // associated with an assembly. |
| 8 | [assembly: AssemblyTitle("DynamicCalculator")] | 8 | [assembly: AssemblyTitle("DynamicCalculator")] |
| 9 | [assembly: AssemblyDescription("")] | 9 | [assembly: AssemblyDescription("")] |
| 10 | [assembly: AssemblyConfiguration("")] | 10 | [assembly: AssemblyConfiguration("")] |
| 11 | [assembly: AssemblyCompany("Grid Protection Alliance")] | 11 | [assembly: AssemblyCompany("Grid Protection Alliance")] |
| 12 | [assembly: AssemblyProduct("DynamicCalculator")] | 12 | [assembly: AssemblyProduct("DynamicCalculator")] |
| 13 | [assembly: AssemblyCopyright("Copyright © 2012. All Rights Reserved.")] | 13 | [assembly: AssemblyCopyright("Copyright © 2012. All Rights Reserved.")] |
| 14 | [assembly: AssemblyTrademark("")] | 14 | [assembly: AssemblyTrademark("")] |
| 15 | [assembly: AssemblyCulture("")] | 15 | [assembly: AssemblyCulture("")] |
| 16 | 16 | ||
| 17 | // Setting ComVisible to false makes the types in this assembly not visible | 17 | // Setting ComVisible to false makes the types in this assembly not visible |
| 18 | // to COM components. If you need to access a type in this assembly from | 18 | // to COM components. If you need to access a type in this assembly from |
| 19 | // COM, set the ComVisible attribute to true on that type. | 19 | // COM, set the ComVisible attribute to true on that type. |
| 20 | [assembly: ComVisible(false)] | 20 | [assembly: ComVisible(false)] |
| 21 | 21 | ||
| 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM |
| 23 | [assembly: Guid("e710ca66-2222-464b-99f9-cbb5b7f0ecd9")] | 23 | [assembly: Guid("e710ca66-2222-464b-99f9-cbb5b7f0ecd9")] |
| 24 | 24 | ||
| 25 | // Version information for an assembly consists of the following four values: | 25 | // Version information for an assembly consists of the following four values: |
| 26 | // | 26 | // |
| 27 | // Major Version | 27 | // Major Version |
| 28 | // Minor Version | 28 | // Minor Version |
| 29 | // Build Number | 29 | // Build Number |
| 30 | // Revision | 30 | // Revision |
| 31 | // | 31 | // |
| 32 | // You can specify all the values or you can default the Build and Revision Numbers | 32 | // You can specify all the values or you can default the Build and Revision Numbers |
| 33 | // by using the '*' as shown below: | 33 | // by using the '*' as shown below: |
| 34 | // [assembly: AssemblyVersion("2.1.99.0")] | 34 | // [assembly: AssemblyVersion("1.1.141.0")] |
| 35 | [assembly: AssemblyVersion("2.1.99.0")] | 35 | [assembly: AssemblyVersion("1.1.141.0")] |
| 36 | [assembly: AssemblyFileVersion("2.1.99.0")] | 36 | [assembly: AssemblyFileVersion("1.1.141.0")] |
| @@ -1,36 +1,36 @@ | |||
| 1 | using System.Reflection; | 1 | using System.Reflection; |
| 2 | using System.Runtime.CompilerServices; | 2 | using System.Runtime.CompilerServices; |
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // General Information about an assembly is controlled through the following | 5 | // General Information about an assembly is controlled through the following |
| 6 | // set of attributes. Change these attribute values to modify the information | 6 | // set of attributes. Change these attribute values to modify the information |
| 7 | // associated with an assembly. | 7 | // associated with an assembly. |
| 8 | [assembly: AssemblyTitle("FrequencyAverager")] | 8 | [assembly: AssemblyTitle("FrequencyAverager")] |
| 9 | [assembly: AssemblyDescription("")] | 9 | [assembly: AssemblyDescription("")] |
| 10 | [assembly: AssemblyConfiguration("")] | 10 | [assembly: AssemblyConfiguration("")] |
| 11 | [assembly: AssemblyCompany("")] | 11 | [assembly: AssemblyCompany("")] |
| 12 | [assembly: AssemblyProduct("FrequencyAverager")] | 12 | [assembly: AssemblyProduct("FrequencyAverager")] |
| 13 | [assembly: AssemblyCopyright("Copyright © 2012")] | 13 | [assembly: AssemblyCopyright("Copyright © 2012")] |
| 14 | [assembly: AssemblyTrademark("")] | 14 | [assembly: AssemblyTrademark("")] |
| 15 | [assembly: AssemblyCulture("")] | 15 | [assembly: AssemblyCulture("")] |
| 16 | 16 | ||
| 17 | // Setting ComVisible to false makes the types in this assembly not visible | 17 | // Setting ComVisible to false makes the types in this assembly not visible |
| 18 | // to COM components. If you need to access a type in this assembly from | 18 | // to COM components. If you need to access a type in this assembly from |
| 19 | // COM, set the ComVisible attribute to true on that type. | 19 | // COM, set the ComVisible attribute to true on that type. |
| 20 | [assembly: ComVisible(false)] | 20 | [assembly: ComVisible(false)] |
| 21 | 21 | ||
| 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM |
| 23 | [assembly: Guid("1295cf91-b1ca-45c4-8baf-14b6e270d694")] | 23 | [assembly: Guid("1295cf91-b1ca-45c4-8baf-14b6e270d694")] |
| 24 | 24 | ||
| 25 | // Version information for an assembly consists of the following four values: | 25 | // Version information for an assembly consists of the following four values: |
| 26 | // | 26 | // |
| 27 | // Major Version | 27 | // Major Version |
| 28 | // Minor Version | 28 | // Minor Version |
| 29 | // Build Number | 29 | // Build Number |
| 30 | // Revision | 30 | // Revision |
| 31 | // | 31 | // |
| 32 | // You can specify all the values or you can default the Build and Revision Numbers | 32 | // You can specify all the values or you can default the Build and Revision Numbers |
| 33 | // by using the '*' as shown below: | 33 | // by using the '*' as shown below: |
| 34 | // [assembly: AssemblyVersion("2.1.99.0")] | 34 | // [assembly: AssemblyVersion("1.1.141.0")] |
| 35 | [assembly: AssemblyVersion("2.1.99.0")] | 35 | [assembly: AssemblyVersion("1.1.141.0")] |
| 36 | [assembly: AssemblyFileVersion("2.1.99.0")] | 36 | [assembly: AssemblyFileVersion("1.1.141.0")] |
| @@ -1,36 +1,36 @@ | |||
| 1 | using System.Reflection; | 1 | using System.Reflection; |
| 2 | using System.Runtime.CompilerServices; | 2 | using System.Runtime.CompilerServices; |
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // General Information about an assembly is controlled through the following | 5 | // General Information about an assembly is controlled through the following |
| 6 | // set of attributes. Change these attribute values to modify the information | 6 | // set of attributes. Change these attribute values to modify the information |
| 7 | // associated with an assembly. | 7 | // associated with an assembly. |
| 8 | [assembly: AssemblyTitle("MongoAdapters")] | 8 | [assembly: AssemblyTitle("MongoAdapters")] |
| 9 | [assembly: AssemblyDescription("")] | 9 | [assembly: AssemblyDescription("")] |
| 10 | [assembly: AssemblyConfiguration("")] | 10 | [assembly: AssemblyConfiguration("")] |
| 11 | [assembly: AssemblyCompany("Grid Protection Alliance")] | 11 | [assembly: AssemblyCompany("Grid Protection Alliance")] |
| 12 | [assembly: AssemblyProduct("MongoAdapters")] | 12 | [assembly: AssemblyProduct("MongoAdapters")] |
| 13 | [assembly: AssemblyCopyright("Copyright © 2010, Grid Protection Alliance. All Rights Reserved.")] | 13 | [assembly: AssemblyCopyright("Copyright © 2010, Grid Protection Alliance. All Rights Reserved.")] |
| 14 | [assembly: AssemblyTrademark("")] | 14 | [assembly: AssemblyTrademark("")] |
| 15 | [assembly: AssemblyCulture("")] | 15 | [assembly: AssemblyCulture("")] |
| 16 | 16 | ||
| 17 | // Setting ComVisible to false makes the types in this assembly not visible | 17 | // Setting ComVisible to false makes the types in this assembly not visible |
| 18 | // to COM components. If you need to access a type in this assembly from | 18 | // to COM components. If you need to access a type in this assembly from |
| 19 | // COM, set the ComVisible attribute to true on that type. | 19 | // COM, set the ComVisible attribute to true on that type. |
| 20 | [assembly: ComVisible(false)] | 20 | [assembly: ComVisible(false)] |
| 21 | 21 | ||
| 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM |
| 23 | [assembly: Guid("fabb9169-9c25-49e5-80da-3d1215bf7ab4")] | 23 | [assembly: Guid("fabb9169-9c25-49e5-80da-3d1215bf7ab4")] |
| 24 | 24 | ||
| 25 | // Version information for an assembly consists of the following four values: | 25 | // Version information for an assembly consists of the following four values: |
| 26 | // | 26 | // |
| 27 | // Major Version | 27 | // Major Version |
| 28 | // Minor Version | 28 | // Minor Version |
| 29 | // Build Number | 29 | // Build Number |
| 30 | // Revision | 30 | // Revision |
| 31 | // | 31 | // |
| 32 | // You can specify all the values or you can default the Build and Revision Numbers | 32 | // You can specify all the values or you can default the Build and Revision Numbers |
| 33 | // by using the '*' as shown below: | 33 | // by using the '*' as shown below: |
| 34 | // [assembly: AssemblyVersion("2.1.99.0")] | 34 | // [assembly: AssemblyVersion("1.1.141.0")] |
| 35 | [assembly: AssemblyVersion("2.1.99.0")] | 35 | [assembly: AssemblyVersion("1.1.141.0")] |
| 36 | [assembly: AssemblyFileVersion("2.1.99.0")] | 36 | [assembly: AssemblyFileVersion("1.1.141.0")] |
| @@ -1,36 +1,36 @@ | |||
| 1 | using System.Reflection; | 1 | using System.Reflection; |
| 2 | using System.Runtime.CompilerServices; | 2 | using System.Runtime.CompilerServices; |
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // General Information about an assembly is controlled through the following | 5 | // General Information about an assembly is controlled through the following |
| 6 | // set of attributes. Change these attribute values to modify the information | 6 | // set of attributes. Change these attribute values to modify the information |
| 7 | // associated with an assembly. | 7 | // associated with an assembly. |
| 8 | [assembly: AssemblyTitle("MySqlAdapters")] | 8 | [assembly: AssemblyTitle("MySqlAdapters")] |
| 9 | [assembly: AssemblyDescription("")] | 9 | [assembly: AssemblyDescription("")] |
| 10 | [assembly: AssemblyConfiguration("")] | 10 | [assembly: AssemblyConfiguration("")] |
| 11 | [assembly: AssemblyCompany("Grid Protection Alliance")] | 11 | [assembly: AssemblyCompany("Grid Protection Alliance")] |
| 12 | [assembly: AssemblyProduct("MySqlAdapters")] | 12 | [assembly: AssemblyProduct("MySqlAdapters")] |
| 13 | [assembly: AssemblyCopyright("Copyright © 2010. All Rights Reserved.")] | 13 | [assembly: AssemblyCopyright("Copyright © 2010. All Rights Reserved.")] |
| 14 | [assembly: AssemblyTrademark("")] | 14 | [assembly: AssemblyTrademark("")] |
| 15 | [assembly: AssemblyCulture("")] | 15 | [assembly: AssemblyCulture("")] |
| 16 | 16 | ||
| 17 | // Setting ComVisible to false makes the types in this assembly not visible | 17 | // Setting ComVisible to false makes the types in this assembly not visible |
| 18 | // to COM components. If you need to access a type in this assembly from | 18 | // to COM components. If you need to access a type in this assembly from |
| 19 | // COM, set the ComVisible attribute to true on that type. | 19 | // COM, set the ComVisible attribute to true on that type. |
| 20 | [assembly: ComVisible(false)] | 20 | [assembly: ComVisible(false)] |
| 21 | 21 | ||
| 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM |
| 23 | [assembly: Guid("2329a9a1-33e5-4fc3-8a0a-0d843792ffa6")] | 23 | [assembly: Guid("2329a9a1-33e5-4fc3-8a0a-0d843792ffa6")] |
| 24 | 24 | ||
| 25 | // Version information for an assembly consists of the following four values: | 25 | // Version information for an assembly consists of the following four values: |
| 26 | // | 26 | // |
| 27 | // Major Version | 27 | // Major Version |
| 28 | // Minor Version | 28 | // Minor Version |
| 29 | // Build Number | 29 | // Build Number |
| 30 | // Revision | 30 | // Revision |
| 31 | // | 31 | // |
| 32 | // You can specify all the values or you can default the Build and Revision Numbers | 32 | // You can specify all the values or you can default the Build and Revision Numbers |
| 33 | // by using the '*' as shown below: | 33 | // by using the '*' as shown below: |
| 34 | // [assembly: AssemblyVersion("2.1.99.0")] | 34 | // [assembly: AssemblyVersion("1.1.141.0")] |
| 35 | [assembly: AssemblyVersion("2.1.99.0")] | 35 | [assembly: AssemblyVersion("1.1.141.0")] |
| 36 | [assembly: AssemblyFileVersion("2.1.99.0")] | 36 | [assembly: AssemblyFileVersion("1.1.141.0")] |
| @@ -1,27 +1,27 @@ | |||
| 1 | using System; | 1 | using System; |
| 2 | using System.Reflection; | 2 | using System.Reflection; |
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // Assembly identity attributes. | 5 | // Assembly identity attributes. |
| 6 | [assembly: AssemblyVersion("2.1.99.0")] | 6 | [assembly: AssemblyVersion("1.1.141.0")] |
| 7 | 7 | ||
| 8 | // Informational attributes. | 8 | // Informational attributes. |
| 9 | [assembly: AssemblyCompany("Grid Protection Alliance")] | 9 | [assembly: AssemblyCompany("Grid Protection Alliance")] |
| 10 | [assembly: AssemblyCopyright("Copyright © 2013. All Rights Reserved.")] | 10 | [assembly: AssemblyCopyright("Copyright © 2013. All Rights Reserved.")] |
| 11 | [assembly: AssemblyProduct("openPDC")] | 11 | [assembly: AssemblyProduct("openPDC")] |
| 12 | 12 | ||
| 13 | // Assembly manifest attributes. | 13 | // Assembly manifest attributes. |
| 14 | #if DEBUG | 14 | #if DEBUG |
| 15 | [assembly: AssemblyConfiguration("Debug Build")] | 15 | [assembly: AssemblyConfiguration("Debug Build")] |
| 16 | #else | 16 | #else |
| 17 | [assembly: AssemblyConfiguration("Release Build")] | 17 | [assembly: AssemblyConfiguration("Release Build")] |
| 18 | #endif | 18 | #endif |
| 19 | 19 | ||
| 20 | [assembly: AssemblyDefaultAlias("PIAdapters")] | 20 | [assembly: AssemblyDefaultAlias("PIAdapters")] |
| 21 | [assembly: AssemblyDescription("OSI-PI Adapters for openPDC.")] | 21 | [assembly: AssemblyDescription("OSI-PI Adapters for openPDC.")] |
| 22 | [assembly: AssemblyTitle("PIAdapters")] | 22 | [assembly: AssemblyTitle("PIAdapters")] |
| 23 | 23 | ||
| 24 | // Other configuration attributes. | 24 | // Other configuration attributes. |
| 25 | [assembly: CLSCompliant(false)] | 25 | [assembly: CLSCompliant(false)] |
| 26 | [assembly: ComVisible(false)] | 26 | [assembly: ComVisible(false)] |
| 27 | [assembly: Guid("D8064F6E-0B5D-4CBB-884E-75A2E11CA779")] | 27 | [assembly: Guid("D8064F6E-0B5D-4CBB-884E-75A2E11CA779")] |
| @@ -1,36 +1,36 @@ | |||
| 1 | using System.Reflection; | 1 | using System.Reflection; |
| 2 | using System.Runtime.CompilerServices; | 2 | using System.Runtime.CompilerServices; |
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // General Information about an assembly is controlled through the following | 5 | // General Information about an assembly is controlled through the following |
| 6 | // set of attributes. Change these attribute values to modify the information | 6 | // set of attributes. Change these attribute values to modify the information |
| 7 | // associated with an assembly. | 7 | // associated with an assembly. |
| 8 | [assembly: AssemblyTitle("TestingAdapters")] | 8 | [assembly: AssemblyTitle("TestingAdapters")] |
| 9 | [assembly: AssemblyDescription("Time-series framework testing input and output adapters.")] | 9 | [assembly: AssemblyDescription("Time-series framework testing input and output adapters.")] |
| 10 | [assembly: AssemblyConfiguration("")] | 10 | [assembly: AssemblyConfiguration("")] |
| 11 | [assembly: AssemblyCompany("Grid Protection Alliance")] | 11 | [assembly: AssemblyCompany("Grid Protection Alliance")] |
| 12 | [assembly: AssemblyProduct("TestingAdapters")] | 12 | [assembly: AssemblyProduct("TestingAdapters")] |
| 13 | [assembly: AssemblyCopyright("Copyright © 2010. All Rights Reserved.")] | 13 | [assembly: AssemblyCopyright("Copyright © 2010. All Rights Reserved.")] |
| 14 | [assembly: AssemblyTrademark("")] | 14 | [assembly: AssemblyTrademark("")] |
| 15 | [assembly: AssemblyCulture("")] | 15 | [assembly: AssemblyCulture("")] |
| 16 | 16 | ||
| 17 | // Setting ComVisible to false makes the types in this assembly not visible | 17 | // Setting ComVisible to false makes the types in this assembly not visible |
| 18 | // to COM components. If you need to access a type in this assembly from | 18 | // to COM components. If you need to access a type in this assembly from |
| 19 | // COM, set the ComVisible attribute to true on that type. | 19 | // COM, set the ComVisible attribute to true on that type. |
| 20 | [assembly: ComVisible(false)] | 20 | [assembly: ComVisible(false)] |
| 21 | 21 | ||
| 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM |
| 23 | [assembly: Guid("12075b30-0228-4a8d-ba77-448999424e8e")] | 23 | [assembly: Guid("12075b30-0228-4a8d-ba77-448999424e8e")] |
| 24 | 24 | ||
| 25 | // Version information for an assembly consists of the following four values: | 25 | // Version information for an assembly consists of the following four values: |
| 26 | // | 26 | // |
| 27 | // Major Version | 27 | // Major Version |
| 28 | // Minor Version | 28 | // Minor Version |
| 29 | // Build Number | 29 | // Build Number |
| 30 | // Revision | 30 | // Revision |
| 31 | // | 31 | // |
| 32 | // You can specify all the values or you can default the Build and Revision Numbers | 32 | // You can specify all the values or you can default the Build and Revision Numbers |
| 33 | // by using the '*' as shown below: | 33 | // by using the '*' as shown below: |
| 34 | // [assembly: AssemblyVersion("2.1.99.0")] | 34 | // [assembly: AssemblyVersion("1.1.141.0")] |
| 35 | [assembly: AssemblyVersion("2.1.99.0")] | 35 | [assembly: AssemblyVersion("1.1.141.0")] |
| 36 | [assembly: AssemblyFileVersion("2.1.99.0")] | 36 | [assembly: AssemblyFileVersion("1.1.141.0")] |
| @@ -1,36 +1,36 @@ | |||
| 1 | using System.Reflection; | 1 | using System.Reflection; |
| 2 | using System.Runtime.CompilerServices; | 2 | using System.Runtime.CompilerServices; |
| 3 | using System.Runtime.InteropServices; | 3 | using System.Runtime.InteropServices; |
| 4 | 4 | ||
| 5 | // General Information about an assembly is controlled through the following | 5 | // General Information about an assembly is controlled through the following |
| 6 | // set of attributes. Change these attribute values to modify the information | 6 | // set of attributes. Change these attribute values to modify the information |
| 7 | // associated with an assembly. | 7 | // associated with an assembly. |
| 8 | [assembly: AssemblyTitle("WavInputAdapter")] | 8 | [assembly: AssemblyTitle("WavInputAdapter")] |
| 9 | [assembly: AssemblyDescription("")] | 9 | [assembly: AssemblyDescription("")] |
| 10 | [assembly: AssemblyConfiguration("")] | 10 | [assembly: AssemblyConfiguration("")] |
| 11 | [assembly: AssemblyCompany("Grid Protection Alliance")] | 11 | [assembly: AssemblyCompany("Grid Protection Alliance")] |
| 12 | [assembly: AssemblyProduct("WavInputAdapter")] | 12 | [assembly: AssemblyProduct("WavInputAdapter")] |
| 13 | [assembly: AssemblyCopyright("Copyright © 2010. All Rights Reserved.")] | 13 | [assembly: AssemblyCopyright("Copyright © 2010. All Rights Reserved.")] |
| 14 | [assembly: AssemblyTrademark("")] | 14 | [assembly: AssemblyTrademark("")] |
| 15 | [assembly: AssemblyCulture("")] | 15 | [assembly: AssemblyCulture("")] |
| 16 | 16 | ||
| 17 | // Setting ComVisible to false makes the types in this assembly not visible | 17 | // Setting ComVisible to false makes the types in this assembly not visible |
| 18 | // to COM components. If you need to access a type in this assembly from | 18 | // to COM components. If you need to access a type in this assembly from |
| 19 | // COM, set the ComVisible attribute to true on that type. | 19 | // COM, set the ComVisible attribute to true on that type. |
| 20 | [assembly: ComVisible(false)] | 20 | [assembly: ComVisible(false)] |
| 21 | 21 | ||
| 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM |
| 23 | [assembly: Guid("93473f68-f36d-480a-abc5-117ff4ead419")] | 23 | [assembly: Guid("93473f68-f36d-480a-abc5-117ff4ead419")] |
| 24 | 24 | ||
| 25 | // Version information for an assembly consists of the following four values: | 25 | // Version information for an assembly consists of the following four values: |
| 26 | // | 26 | // |
| 27 | // Major Version | 27 | // Major Version |
| 28 | // Minor Version | 28 | // Minor Version |
| 29 | // Build Number | 29 | // Build Number |
| 30 | // Revision | 30 | // Revision |
| 31 | // | 31 | // |
| 32 | // You can specify all the values or you can default the Build and Revision Numbers | 32 | // You can specify all the values or you can default the Build and Revision Numbers |
| 33 | // by using the '*' as shown below: | 33 | // by using the '*' as shown below: |
| 34 | // [assembly: AssemblyVersion("2.1.99.0")] | 34 | // [assembly: AssemblyVersion("1.1.141.0")] |
| 35 | [assembly: AssemblyVersion("2.1.99.0")] | 35 | [assembly: AssemblyVersion("1.1.141.0")] |
| 36 | [assembly: AssemblyFileVersion("2.1.99.0")] | 36 | [assembly: AssemblyFileVersion("1.1.141.0")] |
| @@ -1,40 +1,40 @@ | |||
| 1 | using System.Reflection; | 1 | using System.Reflection; |
| 2 | using System.Runtime.InteropServices; | 2 | using System.Runtime.InteropServices; |
| 3 | 3 | ||
| 4 | // General Information about an assembly is controlled through the following | 4 | // General Information about an assembly is controlled through the following |
| 5 | // set of attributes. Change these attribute values to modify the information | 5 | // set of attributes. Change these attribute values to modify the information |
| 6 | // associated with an assembly. | 6 | // associated with an assembly. |
| 7 | [assembly: AssemblyTitle("TimeSeriesFramework")] | 7 | [assembly: AssemblyTitle("TimeSeriesFramework")] |
| 8 | [assembly: AssemblyDescription("Time-series Data Processing Framework")] | 8 | [assembly: AssemblyDescription("Time-series Data Processing Framework")] |
| 9 | [assembly: AssemblyCompany("Grid Protection Alliance")] | 9 | [assembly: AssemblyCompany("Grid Protection Alliance")] |
| 10 | [assembly: AssemblyProduct("Time-series Data Processing Framework")] | 10 | [assembly: AssemblyProduct("Time-series Data Processing Framework")] |
| 11 | [assembly: AssemblyCopyright("Copyright © GPA, 2011. All Rights Reserved.")] | 11 | [assembly: AssemblyCopyright("Copyright © GPA, 2011. All Rights Reserved.")] |
| 12 | [assembly: AssemblyTrademark("")] | 12 | [assembly: AssemblyTrademark("")] |
| 13 | [assembly: AssemblyCulture("")] | 13 | [assembly: AssemblyCulture("")] |
| 14 | 14 | ||
| 15 | #if DEBUG | 15 | #if DEBUG |
| 16 | [assembly: AssemblyConfiguration("Debug Build")] | 16 | [assembly: AssemblyConfiguration("Debug Build")] |
| 17 | #else | 17 | #else |
| 18 | [assembly: AssemblyConfiguration("Release Build")] | 18 | [assembly: AssemblyConfiguration("Release Build")] |
| 19 | #endif | 19 | #endif |
| 20 | 20 | ||
| 21 | // Setting ComVisible to false makes the types in this assembly not visible | 21 | // Setting ComVisible to false makes the types in this assembly not visible |
| 22 | // to COM components. If you need to access a type in this assembly from | 22 | // to COM components. If you need to access a type in this assembly from |
| 23 | // COM, set the ComVisible attribute to true on that type. | 23 | // COM, set the ComVisible attribute to true on that type. |
| 24 | [assembly: ComVisible(false)] | 24 | [assembly: ComVisible(false)] |
| 25 | 25 | ||
| 26 | // The following GUID is for the ID of the typelib if this project is exposed to COM | 26 | // The following GUID is for the ID of the typelib if this project is exposed to COM |
| 27 | [assembly: Guid("7cd3cb89-6610-4b64-b27a-d47fdae4bfe9")] | 27 | [assembly: Guid("7cd3cb89-6610-4b64-b27a-d47fdae4bfe9")] |
| 28 | 28 | ||
| 29 | // Version information for an assembly consists of the following four values: | 29 | // Version information for an assembly consists of the following four values: |
| 30 | // | 30 | // |
| 31 | // Major Version | 31 | // Major Version |
| 32 | // Minor Version | 32 | // Minor Version |
| 33 | // Build Number | 33 | // Build Number |
| 34 | // Revision | 34 | // Revision |
| 35 | // | 35 | // |
| 36 | // You can specify all the values or you can default the Build and Revision Numbers | 36 | // You can specify all the values or you can default the Build and Revision Numbers |
| 37 | // by using the '*' as shown below: | 37 | // by using the '*' as shown below: |
| 38 | // [assembly: AssemblyVersion("2.1.99.0")] | 38 | // [assembly: AssemblyVersion("1.1.141.0")] |
| 39 | [assembly: AssemblyVersion("2.1.99.0")] | 39 | [assembly: AssemblyVersion("1.1.141.0")] |
| 40 | 40 | ||
| @@ -35,6 +35,6 @@ using System.Runtime.InteropServices; · 34 unmodified lines | |||
| 35 | // | 35 | // |
| 36 | // You can specify all the values or you can default the Build and Revision Numbers | 36 | // You can specify all the values or you can default the Build and Revision Numbers |
| 37 | // by using the '*' as shown below: | 37 | // by using the '*' as shown below: |
| 38 | // [assembly: AssemblyVersion("2.1.99.0")] | 38 | // [assembly: AssemblyVersion("1.1.141.0")] |
| 39 | [assembly: AssemblyVersion("2.1.99.0")] | 39 | [assembly: AssemblyVersion("1.1.141.0")] |
| 40 | [assembly: AssemblyFileVersion("2.1.99.0")] | 40 | [assembly: AssemblyFileVersion("1.1.141.0")] |
| @@ -53,6 +53,6 @@ using System.Windows; · 52 unmodified lines | |||
| 53 | // | 53 | // |
| 54 | // You can specify all the values or you can default the Build and Revision Numbers | 54 | // You can specify all the values or you can default the Build and Revision Numbers |
| 55 | // by using the '*' as shown below: | 55 | // by using the '*' as shown below: |
| 56 | // [assembly: AssemblyVersion("2.1.99.0")] | 56 | // [assembly: AssemblyVersion("1.1.141.0")] |
| 57 | [assembly: AssemblyVersion("2.1.99.0")] | 57 | [assembly: AssemblyVersion("1.1.141.0")] |
| 58 | [assembly: AssemblyFileVersion("2.1.99.0")] | 58 | [assembly: AssemblyFileVersion("1.1.141.0")] |
| @@ -31,6 +31,6 @@ using System.Runtime.InteropServices; · 30 unmodified lines | |||
| 31 | // | 31 | // |
| 32 | // You can specify all the values or you can default the Build and Revision Numbers | 32 | // You can specify all the values or you can default the Build and Revision Numbers |
| 33 | // by using the '*' as shown below: | 33 | // by using the '*' as shown below: |
| 34 | // [assembly: AssemblyVersion("2.1.99.0")] | 34 | // [assembly: AssemblyVersion("1.1.141.0")] |
| 35 | [assembly: AssemblyVersion("2.1.99.0")] | 35 | [assembly: AssemblyVersion("1.1.141.0")] |
| 36 | [assembly: AssemblyFileVersion("2.1.99.0")] | 36 | [assembly: AssemblyFileVersion("1.1.141.0")] |