annotate src/packages/Unity.3.0.1304.1/UnityConfiguration30.xsd @ 0:5bca2d201ad8

initial commit
author cin
date Sun, 24 Aug 2014 11:14:55 +0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5bca2d201ad8 initial commit
cin
parents:
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
5bca2d201ad8 initial commit
cin
parents:
diff changeset
3 xmlns="http://schemas.microsoft.com/practices/2010/unity"
5bca2d201ad8 initial commit
cin
parents:
diff changeset
4 targetNamespace="http://schemas.microsoft.com/practices/2010/unity"
5bca2d201ad8 initial commit
cin
parents:
diff changeset
5 elementFormDefault="qualified"
5bca2d201ad8 initial commit
cin
parents:
diff changeset
6 attributeFormDefault="unqualified">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
7
5bca2d201ad8 initial commit
cin
parents:
diff changeset
8 <!-- Core unity config -->
5bca2d201ad8 initial commit
cin
parents:
diff changeset
9
5bca2d201ad8 initial commit
cin
parents:
diff changeset
10 <xs:element name="unity" type="UnityConfigurationSection" />
5bca2d201ad8 initial commit
cin
parents:
diff changeset
11
5bca2d201ad8 initial commit
cin
parents:
diff changeset
12 <xs:complexType name="UnityConfigurationSection">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
13 <xs:sequence>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
14 <xs:choice minOccurs="0" maxOccurs="unbounded">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
15 <xs:element name="container" type="ContainerElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
16 <xs:element name="alias" type="AliasElement" />
5bca2d201ad8 initial commit
cin
parents:
diff changeset
17 <xs:element name="sectionExtension" type="SectionExtensionElement" />
5bca2d201ad8 initial commit
cin
parents:
diff changeset
18 <xs:element name="namespace" type="NamedElement" />
5bca2d201ad8 initial commit
cin
parents:
diff changeset
19 <xs:element name="assembly" type="NamedElement" />
5bca2d201ad8 initial commit
cin
parents:
diff changeset
20 </xs:choice>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
21 </xs:sequence>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
22 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
23
5bca2d201ad8 initial commit
cin
parents:
diff changeset
24 <xs:complexType name="Containers">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
25 <xs:sequence>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
26 <xs:element name="container" minOccurs="0" maxOccurs="unbounded" type="ContainerElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
27 </xs:sequence>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
28 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
29
5bca2d201ad8 initial commit
cin
parents:
diff changeset
30 <xs:complexType name="ContainerElement">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
31 <xs:sequence>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
32 <xs:choice minOccurs="0" maxOccurs="unbounded">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
33 <xs:element name="instance" type="InstanceElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
34 <xs:element name="register" type="RegisterElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
35 <xs:element name="extension" type="ContainerExtensionElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
36 <xs:element name="interception" type="InterceptionElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
37 <xs:element name="interceptors" type="InterceptorsElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
38 </xs:choice>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
39 </xs:sequence>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
40 <xs:attribute name="name" type="IdentifierName_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
41 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
42
5bca2d201ad8 initial commit
cin
parents:
diff changeset
43 <xs:complexType name="InstanceElement">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
44 <xs:attribute name="name" type="IdentifierName_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
45 <xs:attribute name="type" type="TypeName_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
46 <xs:attribute name="value" type="LiteralValue_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
47 <xs:attribute name="typeConverter" type="TypeName_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
48 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
49
5bca2d201ad8 initial commit
cin
parents:
diff changeset
50 <xs:complexType name="ContainerExtensionElement">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
51 <xs:attribute name="type" type="ContainerExtensionTypeName_Type" use="required"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
52 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
53
5bca2d201ad8 initial commit
cin
parents:
diff changeset
54 <xs:complexType name="RegisterElement">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
55 <xs:group ref="InjectionGroup"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
56 <xs:attribute name="type" type="TypeName_Type" use="required" />
5bca2d201ad8 initial commit
cin
parents:
diff changeset
57 <xs:attribute name="name" type="IdentifierName_Type" />
5bca2d201ad8 initial commit
cin
parents:
diff changeset
58 <xs:attribute name="mapTo" type="TypeName_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
59 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
60
5bca2d201ad8 initial commit
cin
parents:
diff changeset
61 <xs:complexType name="LifetimeElement">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
62 <xs:attribute name="type" type="LifetimeTypeName_Type" use="required"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
63 <xs:attribute name="value" type="LiteralValue_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
64 <xs:attribute name="typeConverter" type="TypeName_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
65 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
66
5bca2d201ad8 initial commit
cin
parents:
diff changeset
67 <xs:complexType name="ConstructorElement">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
68 <xs:sequence minOccurs="0" maxOccurs="unbounded">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
69 <xs:element name="param" type="ParameterElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
70 </xs:sequence>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
71 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
72
5bca2d201ad8 initial commit
cin
parents:
diff changeset
73 <xs:complexType name="MethodElement">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
74 <xs:sequence minOccurs="0" maxOccurs="unbounded">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
75 <xs:element name="param" type="ParameterElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
76 </xs:sequence>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
77 <xs:attribute name="name" type="IdentifierName_Type" use="required"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
78 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
79
5bca2d201ad8 initial commit
cin
parents:
diff changeset
80 <xs:complexType name="PropertyElement">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
81 <xs:group ref="ValueResolutionGroup" minOccurs="0"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
82 <xs:attribute name="name" type="IdentifierName_Type" use="required"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
83 <xs:attributeGroup ref="ValueOptimizationAttributes"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
84 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
85
5bca2d201ad8 initial commit
cin
parents:
diff changeset
86 <xs:complexType name="ParameterElement">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
87 <xs:group ref="ValueResolutionGroup" minOccurs="0"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
88 <xs:attribute name="name" type="IdentifierName_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
89 <xs:attribute name="type" type="TypeName_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
90 <xs:attributeGroup ref="ValueOptimizationAttributes"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
91 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
92
5bca2d201ad8 initial commit
cin
parents:
diff changeset
93 <xs:complexType name="DependencyElement">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
94 <xs:attribute name="name" type="IdentifierName_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
95 <xs:attribute name="type" type="TypeName_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
96 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
97
5bca2d201ad8 initial commit
cin
parents:
diff changeset
98 <xs:complexType name="ValueElement">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
99 <xs:attribute name="value" type="LiteralValue_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
100 <xs:attribute name="typeConverter" type="TypeName_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
101 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
102
5bca2d201ad8 initial commit
cin
parents:
diff changeset
103 <xs:complexType name="ArrayElement">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
104 <xs:group ref="ValueResolutionGroup" minOccurs="0" maxOccurs="unbounded"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
105 <xs:attribute name="type" type="TypeName_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
106 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
107
5bca2d201ad8 initial commit
cin
parents:
diff changeset
108 <xs:complexType name="OptionalElement">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
109 <xs:attribute name="name" type="IdentifierName_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
110 <xs:attribute name="type" type="TypeName_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
111 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
112
5bca2d201ad8 initial commit
cin
parents:
diff changeset
113
5bca2d201ad8 initial commit
cin
parents:
diff changeset
114 <xs:complexType name="AliasElement">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
115 <xs:attribute name="alias" type="IdentifierName_Type" use="required"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
116 <xs:attribute name="type" type="TypeName_Type" use="required"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
117 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
118
5bca2d201ad8 initial commit
cin
parents:
diff changeset
119
5bca2d201ad8 initial commit
cin
parents:
diff changeset
120 <xs:complexType name="SectionExtensionElement">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
121 <xs:attribute name="prefix" type="IdentifierName_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
122 <xs:attribute name="type" type="SectionExtensionTypeName_Type" use="required"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
123 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
124
5bca2d201ad8 initial commit
cin
parents:
diff changeset
125
5bca2d201ad8 initial commit
cin
parents:
diff changeset
126 <xs:attributeGroup name="ValueOptimizationAttributes">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
127 <xs:attribute name="value" type="LiteralValue_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
128 <xs:attribute name="dependencyName" type="IdentifierName_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
129 <xs:attribute name="dependencyType" type="TypeName_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
130 </xs:attributeGroup>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
131
5bca2d201ad8 initial commit
cin
parents:
diff changeset
132 <xs:group name="ValueResolutionGroup">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
133 <xs:choice>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
134 <xs:element name="value" type="ValueElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
135 <xs:element name="dependency" type="DependencyElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
136 <xs:element name="array" type="ArrayElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
137 <xs:element name="optional" type="OptionalElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
138 </xs:choice>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
139 </xs:group>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
140
5bca2d201ad8 initial commit
cin
parents:
diff changeset
141 <xs:group name="InjectionGroup">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
142 <xs:sequence>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
143 <xs:element minOccurs="0" name="lifetime" type="LifetimeElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
144 <xs:element minOccurs="0" name="constructor" type="ConstructorElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
145 <xs:choice minOccurs="0" maxOccurs="unbounded">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
146 <xs:element name="method" type="MethodElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
147 <xs:element name="property" type="PropertyElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
148 <xs:element name="interceptor" type="InterceptorElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
149 <xs:element name="interceptionBehavior" type="InterceptionBehaviorElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
150 <xs:element name="addInterface" type="AddInterfaceElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
151 <xs:element name="policyInjection" type="PolicyInjectionElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
152 </xs:choice>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
153 </xs:sequence>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
154 </xs:group>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
155
5bca2d201ad8 initial commit
cin
parents:
diff changeset
156 <!-- Interception config -->
5bca2d201ad8 initial commit
cin
parents:
diff changeset
157
5bca2d201ad8 initial commit
cin
parents:
diff changeset
158 <xs:complexType name="InterceptionElement">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
159 <xs:choice minOccurs="0" maxOccurs="unbounded">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
160 <xs:element name="policy" type="PolicyElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
161 </xs:choice>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
162 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
163
5bca2d201ad8 initial commit
cin
parents:
diff changeset
164 <xs:complexType name="PolicyElement">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
165 <xs:choice minOccurs="0" maxOccurs="unbounded">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
166 <xs:element name="callHandler" type="CallHandlerElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
167 <xs:element name="matchingRule" type="MatchingRuleElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
168 </xs:choice>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
169 <xs:attribute name="name" type="IdentifierName_Type" use="required"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
170 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
171
5bca2d201ad8 initial commit
cin
parents:
diff changeset
172 <xs:complexType name="CallHandlerElement">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
173 <xs:group ref="InjectionGroup"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
174 <xs:attribute name="type" type="TypeName_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
175 <xs:attribute name="name" type="IdentifierName_Type" use="required"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
176 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
177
5bca2d201ad8 initial commit
cin
parents:
diff changeset
178 <xs:complexType name="MatchingRuleElement">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
179 <xs:group ref="InjectionGroup"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
180 <xs:attribute name="type" type="MatchingRuleTypeName_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
181 <xs:attribute name="name" type="IdentifierName_Type" use="required"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
182 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
183
5bca2d201ad8 initial commit
cin
parents:
diff changeset
184 <xs:complexType name="InterceptorElement">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
185 <xs:attribute name="name" type="IdentifierName_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
186 <xs:attribute name="type" type="InterceptorTypeName_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
187 <xs:attribute name="isDefaultForType" type="boolean_Type2"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
188 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
189
5bca2d201ad8 initial commit
cin
parents:
diff changeset
190 <xs:complexType name="InterceptionBehaviorElement">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
191 <xs:attribute name="name" type="IdentifierName_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
192 <xs:attribute name="type" type="TypeName_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
193 <xs:attribute name="isDefaultForType" type="boolean_Type2"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
194 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
195
5bca2d201ad8 initial commit
cin
parents:
diff changeset
196 <xs:complexType name="AddInterfaceElement">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
197 <xs:attribute name="type" type="TypeName_Type" use="required"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
198 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
199
5bca2d201ad8 initial commit
cin
parents:
diff changeset
200 <xs:complexType name="PolicyInjectionElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
201
5bca2d201ad8 initial commit
cin
parents:
diff changeset
202 <xs:complexType name="InterceptorsElement">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
203 <xs:sequence minOccurs="0" maxOccurs="unbounded">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
204 <xs:element name="interceptor" type="InterceptorsInterceptorElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
205 </xs:sequence>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
206 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
207
5bca2d201ad8 initial commit
cin
parents:
diff changeset
208 <xs:complexType name="InterceptorsInterceptorElement">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
209 <xs:choice minOccurs="0" maxOccurs="unbounded">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
210 <xs:element name="key" type="KeyElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
211 <xs:element name="default" type="DefaultElement"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
212 </xs:choice>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
213 <xs:attribute name="type" type="InterceptorTypeName_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
214 <xs:attribute name="value" type="LiteralValue_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
215 <xs:attribute name="typeConverter" type="TypeName_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
216 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
217
5bca2d201ad8 initial commit
cin
parents:
diff changeset
218 <xs:complexType name="KeyElement">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
219 <xs:attribute name="type" type="TypeName_Type" use="required"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
220 <xs:attribute name="name" type="IdentifierName_Type"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
221 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
222
5bca2d201ad8 initial commit
cin
parents:
diff changeset
223 <xs:complexType name="DefaultElement">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
224 <xs:attribute name="type" type="TypeName_Type" use="required"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
225 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
226
5bca2d201ad8 initial commit
cin
parents:
diff changeset
227 <!-- common types -->
5bca2d201ad8 initial commit
cin
parents:
diff changeset
228
5bca2d201ad8 initial commit
cin
parents:
diff changeset
229 <xs:simpleType name="LiteralValue_Type">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
230 <xs:restriction base="xs:string"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
231 </xs:simpleType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
232
5bca2d201ad8 initial commit
cin
parents:
diff changeset
233 <xs:simpleType name="TypeName_Type">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
234 <xs:restriction base="xs:string"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
235 </xs:simpleType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
236
5bca2d201ad8 initial commit
cin
parents:
diff changeset
237 <xs:simpleType name="LifetimeTypeName_Type">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
238 <xs:union memberTypes="TypeName_Type">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
239 <xs:simpleType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
240 <xs:restriction base="xs:NMTOKEN">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
241 <xs:enumeration value="singleton"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
242 <xs:enumeration value="transient"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
243 <xs:enumeration value="perthread"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
244 <xs:enumeration value="external"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
245 <xs:enumeration value="hierarchical"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
246 <xs:enumeration value="resolve"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
247 <xs:enumeration value="perresolve"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
248 </xs:restriction>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
249 </xs:simpleType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
250 </xs:union>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
251 </xs:simpleType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
252
5bca2d201ad8 initial commit
cin
parents:
diff changeset
253 <xs:simpleType name="ContainerExtensionTypeName_Type">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
254 <xs:union memberTypes="TypeName_Type">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
255 <xs:simpleType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
256 <xs:restriction base="xs:NMTOKEN">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
257 <xs:enumeration value="Interception"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
258 </xs:restriction>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
259 </xs:simpleType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
260 </xs:union>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
261 </xs:simpleType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
262
5bca2d201ad8 initial commit
cin
parents:
diff changeset
263 <xs:simpleType name="SectionExtensionTypeName_Type">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
264 <xs:union memberTypes="TypeName_Type">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
265 <xs:simpleType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
266 <xs:restriction base="xs:string">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
267 <xs:enumeration value="Microsoft.Practices.Unity.InterceptionExtension.Configuration.InterceptionConfigurationExtension, Microsoft.Practices.Unity.Interception.Configuration"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
268 </xs:restriction>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
269 </xs:simpleType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
270 </xs:union>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
271 </xs:simpleType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
272
5bca2d201ad8 initial commit
cin
parents:
diff changeset
273 <xs:simpleType name="InterceptorTypeName_Type">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
274 <xs:union memberTypes="TypeName_Type">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
275 <xs:simpleType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
276 <xs:restriction base="xs:NMTOKEN">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
277 <xs:enumeration value="VirtualMethodInterceptor"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
278 <xs:enumeration value="InterfaceInterceptor"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
279 <xs:enumeration value="TransparentProxyInterceptor"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
280 </xs:restriction>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
281 </xs:simpleType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
282 </xs:union>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
283 </xs:simpleType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
284
5bca2d201ad8 initial commit
cin
parents:
diff changeset
285 <xs:simpleType name="MatchingRuleTypeName_Type">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
286 <xs:union memberTypes="TypeName_Type">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
287 <xs:simpleType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
288 <xs:restriction base="xs:NMTOKEN">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
289 <xs:enumeration value="AssemblyMatchingRule"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
290 <xs:enumeration value="CustomAttributeMatchingRule"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
291 <xs:enumeration value="MemberNameMatchingRule"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
292 <xs:enumeration value="NamespaceMatchingRule"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
293 <xs:enumeration value="ParameterTypeMatchingRule"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
294 <xs:enumeration value="PropertyMatchingRule"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
295 <xs:enumeration value="TagAttributeMatchingRule"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
296 <xs:enumeration value="TypeMatchingRule"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
297 </xs:restriction>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
298 </xs:simpleType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
299 </xs:union>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
300 </xs:simpleType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
301
5bca2d201ad8 initial commit
cin
parents:
diff changeset
302 <xs:simpleType name="IdentifierName_Type">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
303 <xs:restriction base="xs:string"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
304 </xs:simpleType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
305
5bca2d201ad8 initial commit
cin
parents:
diff changeset
306 <xs:simpleType name="boolean_Type2">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
307 <xs:restriction base="xs:boolean">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
308 <xs:pattern value="true" />
5bca2d201ad8 initial commit
cin
parents:
diff changeset
309 <xs:pattern value="false" />
5bca2d201ad8 initial commit
cin
parents:
diff changeset
310 </xs:restriction>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
311 </xs:simpleType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
312
5bca2d201ad8 initial commit
cin
parents:
diff changeset
313 <xs:complexType name="Empty"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
314
5bca2d201ad8 initial commit
cin
parents:
diff changeset
315 <xs:complexType name="NamedElement">
5bca2d201ad8 initial commit
cin
parents:
diff changeset
316 <xs:attribute name="name" type="IdentifierName_Type" use="required"/>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
317 </xs:complexType>
5bca2d201ad8 initial commit
cin
parents:
diff changeset
318
5bca2d201ad8 initial commit
cin
parents:
diff changeset
319 </xs:schema>