この記事は機械翻訳のミラー記事です。元の記事にジャンプするにはこちらをクリックしてください。

眺める: 19988|答える: 0

[出典] AssemblyInfo.csファイルのパラメータの具体的な説明

[リンクをコピー]
掲載地 2016/01/12 14:29:07 | | |

asp.net AssemblyInfo.csには主にアセンブリdllファイルに関する生成される一般的な情報のパラメータを設定するための構成ファイルがあり、以下はデフォルトのAssemblyInfo.csファイルの内容の詳細な説明です

//是否符合公共语言规范(CLS)
[集会:CLSCompliant(true)]
//控制程序集中所有类型对COM的可访问性
[アセンブリー:ComVisible(false)]
//代码的作者和这些代码的的开发人员之间的可靠协定
[集会:信頼性契約(一貫性。腐敗しない、国家、CER.失敗の可能性)]

//标题:
[アセンブリ: AssemblyTitle(".NET ペットショップモデル")]
//备注:
[アセンブリ: AssemblyDescrip{filtering}tion(".NET ペットショップ中間層コンポーネント")]
//配置文件:
[アセンブリ:AssemblyConfiguration("")]
//公司:
[アセンブリー:AssemblyCompany("Microsoft Corporation")]
//产品名称:
[アセンブリ:AssemblyProduct(".NET ペットショップ4.0")]
//版权:
[アセンブリ:AssemblyCopyright("Property ?2005 Microsoft Corporation")]
//商标声明:
[アセンブリ:AssemblyTrademark("")]
//内部名称
[アセンブリー:AssemblyCulture("")]


具体的な説明は以下の通りです。

1. [アセンブリー:AssemblyTitle("")]
[assembly: AssemblyTitle("")]code":"良い。前のアセンブリはこのプロパティがアセンブリ全体であることを示します。
タイプ名:System.Reflection.AssemblyTitleAttribute
[AttributeUsage(AttributeTargets.Assembly)]
パブリックシールドクラス AssemblyTitleAttribute : Attribute

この属性はアセンブリーの名前を表すもので、例えば○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○○


2. [アセンブリ: AssemblyDescrip{filter}tion("")]
タイプネーム:
System.Reflection.AssemblyDescrip{filter}tionAttribute
属性宣言:
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyDescrip{filter}tionAttribute : Attribute

機能:
関数や言語などのアセンブリの簡単な記述

3. [アセンブリ: AssemblyDescrip{filter}tion("")]
タイプネーム:
System.Reflection.AssemblyDescrip{filter}tionAttribute


属性宣言:
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyDescrip{filter}tionAttribute : Attribute
機能:
組立の機能、特性、制約などを記述した組立体の簡単な記述
4. [アセンブリ:AssemblyConfiguration("")]
タイプネーム:
System.Reflection.AssemblyConfigurationAttribute
属性宣言:
[AttributeUsage(AttributeTargets.Assembly)]
公開封印クラス AssemblyConfigurationAttribute : Attribute
機能:
アセンブリ構成情報(小売、リリース、デバッグなど)は、 .NETランタイムはこのプロパティを使用しません
5. [アセンブリー:AssemblyCompany("")]
タイプネーム:
System.Reflection.AssemblyCompanyAttribute
属性宣言:
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyCompanyAttribute : Attribute
機能:
議会が属する会社名
6. [アセンブリ:AssemblyProduct("")]
タイプネーム:
System.Reflection.AssemblyProductAttribute
属性宣言:
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class AssemblyProductAttribute : Attribute
機能:
アセンブリで記載されている製品名

7. [アセンブリ:AssemblyCopyright("")]
タイプネーム:
System.Reflection.Assembly著作権属性
属性宣言:
[AttributeUsage(AttributeTargets.Assembly)]
公開封印クラス AssemblyCopyrightAttribute : Attribute
機能:
アセンブリーの著作権情報

8. [アセンブリ:AssemblyTrademark("")]
タイプネーム:
System.Reflection.AssemblyTrademarkAttribute
属性宣言:
[AttributeUsage(AttributeTargets.Assembly)]
公開封印クラス AssemblyTrademarkAttribute : Attribute
機能:
アセンブリーの商標情報

9. [アセンブリ:AssemblyCulture("")]
タイプネーム:
System.Reflection.AssemblyCultureAttribute
属性宣言:
[AttributeUsage(AttributeTargets.Assembly)]
公開密封クラス AssemblyCultureAttribute : Attribute
機能:
列挙されたフィールドは、総会が支持する地域性を示しています。 アセンブリはゾーン独立性を指定することもでき、これはデフォルトのゾーンのリソースを含むことを示します。 Runライブラリは、地域属性が空に設定されていないアセンブリをサブアセンブリとして扱います。 このようなアセンブリはサブアセンブリーの拘束規則の対象となります。 詳細については、「ライブラリーの運営方法」をご覧ください。




先の:ASP.NET におけるURLエンコードとデコード
次に:SendCloud Sohu C#版メール送信ツール
免責事項:
Code Farmer Networkが発行するすべてのソフトウェア、プログラミング資料、記事は学習および研究目的のみを目的としています。 上記の内容は商業的または違法な目的で使用されてはならず、そうでなければ利用者はすべての結果を負うことになります。 このサイトの情報はインターネットからのものであり、著作権紛争はこのサイトとは関係ありません。 ダウンロード後24時間以内に上記の内容を完全にパソコンから削除してください。 もしこのプログラムを気に入ったら、正規のソフトウェアを支持し、登録を購入し、より良い本物のサービスを受けてください。 もし侵害があれば、メールでご連絡ください。

Mail To:help@itsvse.com