<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ladybug</author_name>
  <author_url>https://blog.hatena.ne.jp/ladybug/</author_url>
  <blog_title>is BUG Ready ?</blog_title>
  <blog_url>https://ladybug.hatenadiary.org/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>.NET</anon>
  </categories>
  <description>ConditionalAttribute が class に対して適用できるようになりました。 とはいっても、そのクラスが特定コンディションに依存して存在変化するわけではなく、Attribute の派生クラスに対して設定することで、その属性の付与を制御できます。 [Conditinal(&quot;NUNIT&quot;)] public class MyTestAttribute : Attribute {} [MyTest] public class Xxx {} とすると、NUNIT が定義された場合のみ Xxx クラスに対して MyTestAttribute が付与されます。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fladybug.hatenadiary.org%2Fentry%2F20040824%2Fp2&quot; title=&quot; Attribute and ConditionalAttribute - is BUG Ready ?&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2004-08-24 00:00:02</published>
  <title> Attribute and ConditionalAttribute</title>
  <type>rich</type>
  <url>https://ladybug.hatenadiary.org/entry/20040824/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
