Skip to content
This repository
Browse code

- updated header to 2011

  • Loading branch information...
commit 2312ad9b4bb189069818eb6cf5bed0b855c0df2b 1 parent 110131a
Krzysztof Koźmic authored January 02, 2011
2  Castle.Windsor.5.1.ReSharper
@@ -307,7 +307,7 @@ II.2.12 <HandlesEvent />
307 307
     <XML>
308 308
       <FormatSettings />
309 309
     </XML>
310  
-    <FileHeader><![CDATA[Copyright 2004-2010 Castle Project - http://www.castleproject.org/
  310
+    <FileHeader><![CDATA[Copyright 2004-2011 Castle Project - http://www.castleproject.org/
311 311
 
312 312
 Licensed under the Apache License, Version 2.0 (the "License");
313 313
 you may not use this file except in compliance with the License.
367  Castle.Windsor.6.0.ReSharper
... ...
@@ -0,0 +1,367 @@
  1
+<Configuration>
  2
+  <CodeStyleSettings>
  3
+    <ExternalPath IsNull="False">
  4
+    </ExternalPath>
  5
+    <Sharing>SOLUTION</Sharing>
  6
+    <CSharp>
  7
+      <FormatSettings>
  8
+        <ANONYMOUS_METHOD_DECLARATION_BRACES>NEXT_LINE</ANONYMOUS_METHOD_DECLARATION_BRACES>
  9
+        <BLANK_LINES_AROUND_SINGLE_LINE_INVOCABLE>1</BLANK_LINES_AROUND_SINGLE_LINE_INVOCABLE>
  10
+        <BLANK_LINES_BETWEEN_USING_GROUPS>1</BLANK_LINES_BETWEEN_USING_GROUPS>
  11
+        <CASE_BLOCK_BRACES>NEXT_LINE</CASE_BLOCK_BRACES>
  12
+        <FORCE_ATTRIBUTE_STYLE>SEPARATE</FORCE_ATTRIBUTE_STYLE>
  13
+        <FORCE_FIXED_BRACES_STYLE>ALWAYS_ADD</FORCE_FIXED_BRACES_STYLE>
  14
+        <FORCE_FOR_BRACES_STYLE>ALWAYS_ADD</FORCE_FOR_BRACES_STYLE>
  15
+        <FORCE_FOREACH_BRACES_STYLE>ALWAYS_ADD</FORCE_FOREACH_BRACES_STYLE>
  16
+        <FORCE_IFELSE_BRACES_STYLE>ALWAYS_ADD</FORCE_IFELSE_BRACES_STYLE>
  17
+        <FORCE_USING_BRACES_STYLE>ALWAYS_ADD</FORCE_USING_BRACES_STYLE>
  18
+        <FORCE_WHILE_BRACES_STYLE>ALWAYS_ADD</FORCE_WHILE_BRACES_STYLE>
  19
+        <INDENT_ANONYMOUS_METHOD_BLOCK>False</INDENT_ANONYMOUS_METHOD_BLOCK>
  20
+        <INDENT_EMBRACED_INITIALIZER_BLOCK>False</INDENT_EMBRACED_INITIALIZER_BLOCK>
  21
+        <INITIALIZER_BRACES>NEXT_LINE</INITIALIZER_BRACES>
  22
+        <KEEP_BLANK_LINES_IN_CODE>1</KEEP_BLANK_LINES_IN_CODE>
  23
+        <KEEP_BLANK_LINES_IN_DECLARATIONS>1</KEEP_BLANK_LINES_IN_DECLARATIONS>
  24
+        <MODIFIERS_ORDER IsNull="False">
  25
+          <Item>public</Item>
  26
+          <Item>protected</Item>
  27
+          <Item>internal</Item>
  28
+          <Item>private</Item>
  29
+          <Item>static</Item>
  30
+          <Item>new</Item>
  31
+          <Item>abstract</Item>
  32
+          <Item>virtual</Item>
  33
+          <Item>override</Item>
  34
+          <Item>sealed</Item>
  35
+          <Item>readonly</Item>
  36
+          <Item>extern</Item>
  37
+          <Item>unsafe</Item>
  38
+          <Item>volatile</Item>
  39
+        </MODIFIERS_ORDER>
  40
+        <PLACE_FIELD_ATTRIBUTE_ON_SAME_LINE>False</PLACE_FIELD_ATTRIBUTE_ON_SAME_LINE>
  41
+        <SPACE_AFTER_TYPECAST_PARENTHESES>False</SPACE_AFTER_TYPECAST_PARENTHESES>
  42
+        <SPACE_BEFORE_SIZEOF_PARENTHESES>False</SPACE_BEFORE_SIZEOF_PARENTHESES>
  43
+        <SPACE_BEFORE_TYPEOF_PARENTHESES>False</SPACE_BEFORE_TYPEOF_PARENTHESES>
  44
+        <SPACE_WITHIN_SINGLE_LINE_ARRAY_INITIALIZER_BRACES>True</SPACE_WITHIN_SINGLE_LINE_ARRAY_INITIALIZER_BRACES>
  45
+        <STICK_COMMENT>False</STICK_COMMENT>
  46
+        <WRAP_LIMIT>160</WRAP_LIMIT>
  47
+      </FormatSettings>
  48
+      <UsingsSettings>
  49
+        <AddImportsToDeepestScope>True</AddImportsToDeepestScope>
  50
+        <QualifiedUsingAtNestedScope>True</QualifiedUsingAtNestedScope>
  51
+      </UsingsSettings>
  52
+      <Naming2>
  53
+        <EventHandlerPatternLong>$object$_On$event$</EventHandlerPatternLong>
  54
+        <EventHandlerPatternShort>$event$Handler</EventHandlerPatternShort>
  55
+        <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementKind="TypesAndNamespaces" />
  56
+        <PredefinedRule Inspect="True" Prefix="I" Suffix="" Style="AaBb" ElementKind="Interfaces" />
  57
+        <PredefinedRule Inspect="True" Prefix="T" Suffix="" Style="AaBb" ElementKind="TypeParameters" />
  58
+        <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementKind="MethodPropertyEvent" />
  59
+        <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="aaBb" ElementKind="Locals" />
  60
+        <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="aaBb" ElementKind="LocalConstants" />
  61
+        <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="aaBb" ElementKind="Parameters" />
  62
+        <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementKind="PublicFields" />
  63
+        <PredefinedRule Inspect="True" Prefix="_" Suffix="" Style="aaBb" ElementKind="PrivateInstanceFields" />
  64
+        <PredefinedRule Inspect="True" Prefix="_" Suffix="" Style="aaBb" ElementKind="PrivateStaticFields" />
  65
+        <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementKind="Constants" />
  66
+        <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementKind="PrivateConstants" />
  67
+        <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementKind="StaticReadonly" />
  68
+        <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementKind="PrivateStaticReadonly" />
  69
+        <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementKind="EnumMember" />
  70
+        <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementKind="Other" />
  71
+      </Naming2>
  72
+      <CustomMemberReorderingPatterns><![CDATA[<?xml version="1.0" encoding="utf-8" ?>
  73
+
  74
+<!--
  75
+I. Overall
  76
+
  77
+I.1 Each pattern can have <Match>....</Match> element. For the given type declaration, the pattern with the match, evaluated to 'true' with the largest weight, will be used 
  78
+I.2 Each pattern consists of the sequence of <Entry>...</Entry> elements. Type member declarations are distributed between entries
  79
+I.3 If pattern has RemoveAllRegions="true" attribute, then all regions will be cleared prior to reordering. Otherwise, only auto-generated regions will be cleared
  80
+I.4 The contents of each entry is sorted by given keys (First key is primary,  next key is secondary, etc). Then the declarations are grouped and en-regioned by given property
  81
+
  82
+II. Available match operands
  83
+
  84
+Each operand may have Weight="..." attribute. This weight will be added to the match weight if the operand is evaluated to 'true'.
  85
+The default weight is 1
  86
+
  87
+II.1 Boolean functions:
  88
+II.1.1 <And>....</And>
  89
+II.1.2 <Or>....</Or>
  90
+II.1.3 <Not>....</Not>
  91
+
  92
+II.2 Operands
  93
+II.2.1 <Kind Is="..."/>. Kinds are: class, struct, interface, enum, delegate, type, constructor, destructor, property, indexer, method, operator, field, constant, event, member
  94
+II.2.2 <Name Is="..." [IgnoreCase="true/false"] />. The 'Is' attribute contains regular expression
  95
+II.2.3 <HasAttribute CLRName="..." [Inherit="true/false"] />. The 'CLRName' attribute contains regular expression
  96
+II.2.4 <Access Is="..."/>. The 'Is' values are: public, protected, internal, protected internal, private
  97
+II.2.5 <Static/>
  98
+II.2.6 <Abstract/>
  99
+II.2.7 <Virtual/>
  100
+II.2.8 <Override/>
  101
+II.2.9 <Sealed/>
  102
+II.2.10 <Readonly/>
  103
+II.2.11 <ImplementsInterface CLRName="..."/>. The 'CLRName' attribute contains regular expression
  104
+II.2.12 <HandlesEvent />
  105
+-->
  106
+
  107
+<Patterns xmlns="urn:shemas-jetbrains-com:member-reordering-patterns">
  108
+
  109
+  <!--Do not reorder COM interfaces and structs marked by StructLayout attribute-->
  110
+  <Pattern>
  111
+    <Match>
  112
+      <Or Weight="100">
  113
+        <And>
  114
+          <Kind Is="interface"/>
  115
+          <Or>
  116
+            <HasAttribute CLRName="System.Runtime.InteropServices.InterfaceTypeAttribute"/>
  117
+            <HasAttribute CLRName="System.Runtime.InteropServices.ComImport"/>
  118
+          </Or>
  119
+        </And>
  120
+        <HasAttribute CLRName="System.Runtime.InteropServices.StructLayoutAttribute"/>
  121
+      </Or>
  122
+    </Match>
  123
+  </Pattern>
  124
+
  125
+  <!--Special formatting of NUnit test fixture-->
  126
+  <Pattern RemoveAllRegions="true">
  127
+    <Match>
  128
+      <And Weight="100">
  129
+        <Kind Is="class"/>
  130
+        <HasAttribute CLRName="NUnit.Framework.TestFixtureAttribute" Inherit="true"/>
  131
+      </And>
  132
+    </Match>
  133
+
  134
+    <!--Setup/Teardow-->
  135
+    <Entry>
  136
+      <Match>
  137
+        <And>
  138
+          <Kind Is="method"/>
  139
+          <Or>
  140
+            <HasAttribute CLRName="NUnit.Framework.SetUpAttribute" Inherit="true"/>
  141
+            <HasAttribute CLRName="NUnit.Framework.TearDownAttribute" Inherit="true"/>
  142
+            <HasAttribute CLRName="NUnit.Framework.FixtureSetUpAttribute" Inherit="true"/>
  143
+            <HasAttribute CLRName="NUnit.Framework.FixtureTearDownAttribute" Inherit="true"/>
  144
+          </Or>
  145
+        </And>
  146
+      </Match>
  147
+    </Entry>
  148
+
  149
+    <!--All other members-->
  150
+    <Entry/>
  151
+
  152
+    <!--Test methods-->
  153
+    <Entry>
  154
+      <Match>
  155
+        <And Weight="100">
  156
+          <Kind Is="method"/>
  157
+          <HasAttribute CLRName="NUnit.Framework.TestAttribute" Inherit="false"/>
  158
+        </And>
  159
+      </Match>
  160
+      <Sort>
  161
+        <Name/>
  162
+      </Sort>
  163
+    </Entry>
  164
+  </Pattern>
  165
+
  166
+  <!--Default pattern-->
  167
+  <Pattern RemoveAllRegions="true">
  168
+    <!--according to http://castleproject.org/community/codingstandards.html-->
  169
+    <!--constants-->
  170
+    <Entry>
  171
+      <Match>
  172
+        <Kind Is="constant"/>
  173
+      </Match>
  174
+      <Sort>
  175
+        <Access/>
  176
+        <Name/>
  177
+      </Sort>
  178
+    </Entry>
  179
+    <!--fields (static readonly / static / instance readonly / instance )-->
  180
+    <Entry>
  181
+      <Match>
  182
+        <Kind Is="field"/>
  183
+      </Match>
  184
+      <Sort>
  185
+        <Static/>
  186
+        <Access/>
  187
+        <Readonly/>
  188
+        <Name/>
  189
+      </Sort>
  190
+    </Entry>
  191
+
  192
+    <!--Constructors. Place static one first-->
  193
+    <Entry>
  194
+      <Match>
  195
+        <Kind Is="constructor"/>
  196
+      </Match>
  197
+      <Sort>
  198
+        <Static/>
  199
+        <Access/>
  200
+      </Sort>
  201
+    </Entry>
  202
+
  203
+    <!--instance properties, indexers and methods-->
  204
+    <Entry>
  205
+      <Match>
  206
+        <And>
  207
+          <Or>
  208
+            <Kind Is="property"/>
  209
+            <Kind Is="indexer"/>
  210
+            <Kind Is="method"/>
  211
+          </Or>
  212
+          <Not>
  213
+            <Static/>
  214
+          </Not>
  215
+        </And>
  216
+      </Match>
  217
+      <Sort>
  218
+        <Kind Order="property indexer method"/>
  219
+        <Abstract/>
  220
+        <Access/>
  221
+        <ImplementsInterface/>
  222
+        <Readonly/>
  223
+        <Name/>
  224
+      </Sort>
  225
+    </Entry>
  226
+
  227
+    <!--static properties, indexers and methods-->
  228
+    <Entry>
  229
+      <Match>
  230
+        <And>
  231
+          <Static/>
  232
+          <Or>
  233
+            <Kind Is="property"/>
  234
+            <Kind Is="indexer"/>
  235
+            <Kind Is="method"/>
  236
+          </Or>
  237
+        </And>
  238
+      </Match>
  239
+      <Sort>
  240
+        <Kind Order="property indexer method"/>
  241
+        <Abstract/>
  242
+        <Access/>
  243
+        <ImplementsInterface/>
  244
+        <Readonly/>
  245
+        <Name/>
  246
+      </Sort>
  247
+    </Entry>
  248
+
  249
+    <!--all other members-->
  250
+    <Entry/>
  251
+
  252
+    <!--public delegate-->
  253
+    <Entry>
  254
+      <Match>
  255
+        <And Weight="100">
  256
+          <Access Is="public"/>
  257
+          <Kind Is="delegate"/>
  258
+        </And>
  259
+      </Match>
  260
+      <Sort>
  261
+        <Name/>
  262
+      </Sort>
  263
+    </Entry>
  264
+
  265
+    <!--public enum-->
  266
+    <Entry>
  267
+      <Match>
  268
+        <And Weight="100">
  269
+          <Access Is="public"/>
  270
+          <Kind Is="enum"/>
  271
+        </And>
  272
+      </Match>
  273
+      <Sort>
  274
+        <Name/>
  275
+      </Sort>
  276
+    </Entry>
  277
+
  278
+
  279
+    <!--nested types-->
  280
+    <Entry>
  281
+      <Match>
  282
+        <Kind Is="type"/>
  283
+      </Match>
  284
+      <Sort>
  285
+        <Name/>
  286
+      </Sort>
  287
+    </Entry>
  288
+  </Pattern>
  289
+
  290
+</Patterns>
  291
+]]></CustomMemberReorderingPatterns>
  292
+    </CSharp>
  293
+    <JavaScript>
  294
+      <FormatSettings />
  295
+      <Naming2 />
  296
+    </JavaScript>
  297
+    <VB>
  298
+      <FormatSettings />
  299
+      <ImportsSettings />
  300
+      <Naming2>
  301
+        <EventHandlerPatternLong>$object$_On$event$</EventHandlerPatternLong>
  302
+        <EventHandlerPatternShort>$event$Handler</EventHandlerPatternShort>
  303
+      </Naming2>
  304
+    </VB>
  305
+    <Web>
  306
+      <Naming2 />
  307
+    </Web>
  308
+    <Xaml>
  309
+      <Naming2 />
  310
+    </Xaml>
  311
+    <XML>
  312
+      <FormatSettings />
  313
+    </XML>
  314
+    <FileHeader><![CDATA[Copyright 2004-2011 Castle Project - http://www.castleproject.org/
  315
+
  316
+Licensed under the Apache License, Version 2.0 (the "License");
  317
+you may not use this file except in compliance with the License.
  318
+You may obtain a copy of the License at
  319
+
  320
+    http://www.apache.org/licenses/LICENSE-2.0
  321
+
  322
+Unless required by applicable law or agreed to in writing, software
  323
+distributed under the License is distributed on an "AS IS" BASIS,
  324
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  325
+See the License for the specific language governing permissions and
  326
+limitations under the License.
  327
+]]></FileHeader>
  328
+    <GenerateMemberBody />
  329
+    <Naming2>
  330
+      <EventHandlerPatternLong>$object$_On$event$</EventHandlerPatternLong>
  331
+      <EventHandlerPatternShort>$event$Handler</EventHandlerPatternShort>
  332
+      <ExceptionName IsNull="False">
  333
+      </ExceptionName>
  334
+      <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="aaBb" ElementKind="Locals" />
  335
+      <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="aaBb" ElementKind="Parameters" />
  336
+      <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementKind="TypesAndNamespaces" />
  337
+      <PredefinedRule Inspect="True" Prefix="I" Suffix="" Style="AaBb" ElementKind="Interfaces" />
  338
+      <PredefinedRule Inspect="True" Prefix="T" Suffix="" Style="AaBb" ElementKind="TypeParameters" />
  339
+      <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementKind="MethodPropertyEvent" />
  340
+      <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="aaBb" ElementKind="LocalConstants" />
  341
+      <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="aaBb" ElementKind="PublicFields" />
  342
+      <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementKind="Constants" />
  343
+      <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementKind="StaticReadonly" />
  344
+      <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementKind="EnumMember" />
  345
+      <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementKind="Other" />
  346
+      <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="aaBb" ElementKind="PrivateInstanceFields" />
  347
+      <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="aaBb" ElementKind="PrivateStaticFields" />
  348
+      <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="AaBb" ElementKind="PrivateConstants" />
  349
+      <PredefinedRule Inspect="True" Prefix="" Suffix="" Style="aaBb" ElementKind="PrivateStaticReadonly" />
  350
+      <Abbreviation Text="NH" />
  351
+    </Naming2>
  352
+  </CodeStyleSettings>
  353
+  <SharedSolutionTemplateManager>
  354
+    <LiveTemplates>
  355
+      <Template uid="23b01823-0695-4cc8-9dad-7e352945de81" shortcut="test" description="NUnit unit test" text="[NUnit.Framework.Test]&#xD;&#xA;public void $member_should_action$()&#xD;&#xA;{&#xD;&#xA;	$END$&#xD;&#xA;}" reformat="True" shortenQualifiedReferences="True">
  356
+        <Context>
  357
+          <CSharpContext context="TypeMember" minimumLanguageVersion="2.0" />
  358
+        </Context>
  359
+        <Categories />
  360
+        <Variables>
  361
+          <Variable name="member_should_action" expression="" initialRange="0" />
  362
+        </Variables>
  363
+        <CustomProperties />
  364
+      </Template>
  365
+    </LiveTemplates>
  366
+  </SharedSolutionTemplateManager>
  367
+</Configuration>
2  License.txt
... ...
@@ -1,4 +1,4 @@
1  
-Copyright 2004-2010 Castle Project - http://www.castleproject.org/
  1
+Copyright 2004-2011 Castle Project - http://www.castleproject.org/
2 2
  
3 3
 Licensed under the Apache License, Version 2.0 (the "License");
4 4
 you may not use this file except in compliance with the License.

0 notes on commit 2312ad9

Please sign in to comment.
Something went wrong with that request. Please try again.