2014年1月26日日曜日

PostSharp Expressは使えるか2

お試しビルドしようと思ったら、アクチ方法がわからない
と思ったら、visual studio expressでは、使えなかった(ノω・、)・・・

Is it possible to use PostSharp 3 with Visual Studio Express?

早くProfessional Editionに戻りたいよぉ

2014年1月25日土曜日

PostSharp Expressは使えるか1

とりあえず機能一覧を並べてみた。例によってgoogle先生の翻訳だが。
(http://www.postsharp.net/purchase)

ライセンスは、商用利用可能、再配布可能、仕様期限なし、なので問題ない。

E: Express (Free) 使える機能を青文字にした
P: Professional (€329)
U: Ultimate (€589)

CORE ASPECT FRAMEWOR
  1. (E/P/U) Exception Handling
    Catch exceptions before they get passed to the client code with OnExceptionAspect.
    これらはOnExceptionAspectとクライアントコードに渡される前に、例外をキャッチ。
  2. (E/P/U) Method Interception
    Intercept method executions and execute your own logic.
    インターセプト法の実行と独自のロジックを実行します。
  3. (E/P/U) Method Decorator
    Add instructions before and after method execution.
    メソッドの実行前と後の命令を追加します。
  4. (E/P/U) Property & Field Interception
    Automate code execution when a field or a property is get or set.
    フィールドまたはプロパティを取得または設定されている場合は、コードの実行を自動化する。
  5. (E/P/U) Build-Time Validation
    Ensure that your aspect is being used where expected.
    予想される所で、あなたのアスペクトが使われていることを確認してください。
  6. (E/P/U) Attribute Multicasting
    Apply aspects to large codebases declaratively using custom attributes.
    宣言的にカスタム属性を使用して大規模なコードベースにアスペクトを適用します。
ADVANCED ASPECT FRAMEWORK
  1. (P/U) Support for Async and Iterator Methods
    Add aspects to async methods and automatic iterators. Intercept OnYield and OnResume semantics.
    非同期メソッドおよび自動イテレータにアスペクトを追加します。 OnYieldとOnResumeセマンティクスを傍受。
  2. (P/U) Aspect Inheritance
    Add aspects to a class/interface or abstract/virtual/interface method, and have the aspect automatically applied to implementations.
    クラス/インタフェースまたは抽象/仮想/インターフェイスメソッドにアスペクトを追加し、アスペクトは、自動的な実装に適用されている
  3. (P/U) Event Interception
    Override Add, Remove and Raise methods in events with the EventInterceptionAspect.
    取り外し、EventInterceptionAspectでイベントのメソッドを上げ、追加オーバーライドします。
  4. (P/U) Composite Aspects
    Develop aspects composed of several primitive transformations and use advanced concepts such as pointcuts and advices.
    いくつかの原始的な変換で構成されるアスペクトを開発し、このようなポイントカットやアドバイスなどの高度な概念を使用しています。
  5. (P/U) Dynamic Aspect Providers
    Add aspects to large codebases programmatically using LINQ and System.Reflection.
    プログラムでLINQとするSystem.Reflectionを使用して大規模なコードベースにアスペクトを追加します。
  6. (P/U) Aspect Optimizer
    Have PostSharp analyze your aspects and just generate instructions that are necessary to support the features the aspects actually use.
    PostSharpはあなたのアスペクトを分析し、アスペクトは、実際に使用する機能をサポートするために必要な命令を生成している。
DIAGNOSTICS PATTERN LIBRARY (€74)
  1. (E/P/U) Detailed Tracing
    Add logging to your codebase and keep it in sync, automatically, with support for NLog, Log4Net, and Enterprise Library. (E:50 methods per project)
    あなたのコードベースへのロギングを追加し、NLOG、log4netの、およびエンタープライズライブラリのサポートにより、自動で同期に保管してください。
MODEL PATTERN LIBRARY (€109)
  1. (E/P/U) INotifyPropertyChanged
    Implement the right property change notifications at the right time, automatically.
    自動的に、適切なタイミングで適切なプロパティ変更通知を実装します。
    (E:10 classes per project)
  2. (U) Code Contracts
    Add precondition checking to your codebase using custom attributes.
    カスタム属性を使用して、コードベースにチェックする前提条件を追加します。
THREADING PATTERN LIBRARY (€109)
  1. (U) Thread Dispatching
    Simplify dispatching execution back and forth between background and foreground threads.
    前後に、背景と前景のスレッド間の実行をディスパッチ簡素化します。
  2. (U) Exclusive Threading Model
    Prohibit multiple threads from concurrently accessing an object. Throws an exception instead of allowing data corruption.
    同時にオブジェクトにアクセスする複数のスレッドを禁止。代わりに、データの破損を許可するので例外をスローします。
  3. (U) Reader/Writer Synchronized Threading Model
    Safely share objects between several threads and declare lock level semantically, using custom attributes.
    安全に複数のスレッド間でオブジェクトを共有し、カスタム属性を使用して、意味的にロック·レベルを宣言します。
  4. (U) Actor Threading Model
    Use Erlang-like actor-based multithreading in C# 5.0.
    C#5.0にErlangのようなアクターベースのマルチスレッドを使用しています。
  5. (U) Deadlock Detection
    Simplify the diagnosis of deadlocks in your project and never allow your application to freeze without an error message.
    プロジェクト内のデッドロックの診断を簡素化し、アプリケーションがエラーメッセージなしで凍結することができませんでした。
ARCHITECTURE FRAMEWORK
  1. (U) Extended Reflection API
    Get what System.Reflection does not give to you: programmatically browse used-using, parent-child, or member-type relationships at high speed using PostSharp's internal indexes.
    するSystem.Reflectionがあなたに何を与えていない情報:プログラム的に閲覧し使用 - 使用して、親子で、あるいは高速でのメンバー型の関係はPostSharpの内部インデックスを使用。
  2. (U) Syntax Tree Decompiler
    Decompile methods to Abstract Syntax Trees and perform finer analysis.
    抽象構文木にメソッドをコンパイルし、より細かい分析を行う。
  3. (U) Built-In Architecture Constraints
    Have a finer control over visibility of types and members.
    型とメンバの可視性をより細かく制御できます。
  4. (U) Custom Architecture Constraints
    Enforce your own design rules.
    独自の設計ルールを適用します。
PLATFORMS
  1. (E/P/U) .NET Framework
    Build applications targetting .NET Framework 2.0, 3.5, 4.0, or 4.5.
  2. (P/U) Silverlight
    Build applications targetting Silverlight 4.0 or 5.0.
  3. (P/U) Windows Phone
    Build applications targetting Windows Phone 7.5 or 8.0.
  4. (P/U) Windows Store
    Build applications targetting Windows Store 8 or 8.1.
  5. (P/U) Portable Class Libraries
    Build portable class libraries 4.0, 4.5 or 4.6.
VISUAL STUDIO INTEGRATION
  1. (P/U) Code Editor Enhancements
    Immediately see which aspects are applied to the code you're editing thanks to code adornments and enhanced tooltips.
    すぐに側面は、コードの装飾品や強化されたツールチップのおかげで、編集しているコードに適用されているかを確認。
  2. (P/U) Aspect Browser
    See all aspects present in your solution and which declarations have been affected.
    あなたのソリューションとその宣言が影響を受けている中に存在するすべての側面を見る。
  3. (P/U) File and Line Number of Error Messages
    Simply double-click on an error message to get to the relevant line of source code.
    単純に、ソースコードの該当する行を取得するエラーメッセージをダブルクリックします。
LICENSING
  1. (E/P/U) Commercial Use
    Use PostSharp for development of production/commercial software.
    生産/商用ソフトウェアの開発のためPostSharpを使用してください。
  2. (E/P/U) Royalty-Free Redistribution of Runtimes
    Distribute PostSharp.dll and runtime libraries that need to run on end-user devices.
    PostSharp.dllとエンドユーザデバイス上で実行する必要がランタイムライブラリを配布します。
  3. (E/P/U) Perpetual License
    No time bomb. If you can use a specific version of PostSharp one day,
    you can use it every day.
    いいえ時限爆弾ません。あなたは1日PostSharpの特定のバージョンを使用できる場合は、 あなたは毎日それを使用することができます。
SUPPORT
  1. (P/U) 1 Year of Free Updates
    Get bug fixes and major releases during the duration of the subscription.
    サブスクリプション期間中のバグ修正とメジャーリリースを入手してください。
  2. (P/U) Premium Support
    Have your issues addressed with priority, use phone and desktop sharing (limited number of premium support cases available).
    あなたの問題は、優先使用の携帯電話やデスクトップの共有(利用可能なプレミアムサポートケースの数が限ら)で対処してきた。