6 instantiations of XamlDirective
PresentationFramework (1)
System\Windows\Markup\XamlReaderConstants.cs (1)
95
_freezeDirective = new System.Xaml.
XamlDirective
(XamlReaderHelper.PresentationOptionsNamespaceURI, XamlReaderHelper.PresentationOptionsFreeze);
System.Xaml (5)
System\Xaml\Context\XamlContext.cs (2)
189
directive = new
XamlDirective
(propUsageNamespace, propName.Name);
204
property = new
XamlDirective
(propUsageNamespace, propName.Name);
System\Xaml\XamlLanguage.cs (3)
441
XamlDirective result = new
XamlDirective
(s_xamlNamespaces, name, allowedLocation, reflector);
448
XamlDirective result = new
XamlDirective
(s_xamlNamespaces, name, allowedLocation, new MemberReflector(xamlType, typeConverter));
454
XamlDirective result = new
XamlDirective
(s_xmlNamespaces, name, AllowedMemberLocations.Attribute, new MemberReflector(String, BuiltInValueConverter.String));
109 references to XamlDirective
PresentationFramework (6)
System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (1)
32
public override
XamlDirective
GetXamlDirective(string xamlNamespace, string name)
System\Windows\Markup\Baml2006\WpfKnownType.cs (1)
118
protected override XamlMember LookupAliasedProperty(
XamlDirective
directive)
System\Windows\Markup\RestrictiveXamlXmlReader.cs (2)
106
(NodeType == System.Xaml.XamlNodeType.StartMember && Member is
XamlDirective
directive && !IsAllowedDirective(directive)))
139
private bool IsAllowedDirective(
XamlDirective
directive)
System\Windows\Markup\XamlReaderConstants.cs (2)
89
internal static System.Xaml.
XamlDirective
Freeze
101
private static System.Xaml.
XamlDirective
_freezeDirective;
System.Xaml (103)
System\Xaml\Context\XamlContext.cs (1)
182
XamlDirective
directive = SchemaContext.GetXamlDirective(propUsageNamespace, propName.Name);
System\Xaml\InfosetObjects\XamlObjectWriter.cs (1)
1585
XamlMember propertyForDirective = xamlType.GetAliasedProperty(prop as
XamlDirective
);
System\Xaml\Parser\XamlPullParser.cs (1)
866
var
initProperty = XamlLanguage.Initialization;
System\Xaml\Schema\TypeReflector.cs (4)
41
private ConcurrentDictionary<
XamlDirective
, XamlMember> _aliasedProperties;
308
internal bool TryGetAliasedProperty(
XamlDirective
directive, out XamlMember member)
343
internal void TryAddAliasedProperty(
XamlDirective
directive, XamlMember member)
366
var dict = XamlSchemaContext.CreateDictionary<
XamlDirective
, XamlMember>();
System\Xaml\Schema\XamlDirective.cs (2)
98
internal static bool NamespacesAreEqual(
XamlDirective
directive1,
XamlDirective
directive2)
System\Xaml\XamlLanguage.cs (88)
123
private static Lazy<
XamlDirective
> s_asyncRecords =
124
new Lazy<
XamlDirective
>(() => GetXamlDirective(x_AsyncRecords,
126
private static Lazy<
XamlDirective
> s_arguments =
127
new Lazy<
XamlDirective
>(() => GetXamlDirective(x_Arguments,
129
private static Lazy<
XamlDirective
> s_class =
130
new Lazy<
XamlDirective
>(() => GetXamlDirective(x_Class));
131
private static Lazy<
XamlDirective
> s_classModifier =
132
new Lazy<
XamlDirective
>(() => GetXamlDirective(x_ClassModifier));
133
private static Lazy<
XamlDirective
> s_code =
134
new Lazy<
XamlDirective
>(() => GetXamlDirective(x_Code));
135
private static Lazy<
XamlDirective
> s_connectionId =
136
new Lazy<
XamlDirective
>(() => GetXamlDirective(x_ConnectionId,
138
private static Lazy<
XamlDirective
> s_factoryMethod =
139
new Lazy<
XamlDirective
>(() => GetXamlDirective(x_FactoryMethod,
141
private static Lazy<
XamlDirective
> s_fieldModifier =
142
new Lazy<
XamlDirective
>(() => GetXamlDirective(x_FieldModifier));
143
private static Lazy<
XamlDirective
> s_items =
144
new Lazy<
XamlDirective
>(() => GetXamlDirective(x_Items,
146
private static Lazy<
XamlDirective
> s_initialization =
147
new Lazy<
XamlDirective
>(() => GetXamlDirective(x_Initialization,
149
private static Lazy<
XamlDirective
> s_key =
150
new Lazy<
XamlDirective
>(() => GetXamlDirective(x_Key,
152
private static Lazy<
XamlDirective
> s_members =
153
new Lazy<
XamlDirective
>(() => GetXamlDirective(x_Members,
155
private static Lazy<
XamlDirective
> s_classAttributes =
156
new Lazy<
XamlDirective
>(() => GetXamlDirective(x_ClassAttributes,
158
private static Lazy<
XamlDirective
> s_name =
159
new Lazy<
XamlDirective
>(() => GetXamlDirective(x_Name));
160
private static Lazy<
XamlDirective
> s_positionalParameters =
161
new Lazy<
XamlDirective
>(() => GetXamlDirective(x_PositionalParameters,
163
private static Lazy<
XamlDirective
> s_shared =
164
new Lazy<
XamlDirective
>(() => GetXamlDirective(x_Shared), true);
165
private static Lazy<
XamlDirective
> s_subclass =
166
new Lazy<
XamlDirective
>(() => GetXamlDirective(x_Subclass), true);
167
private static Lazy<
XamlDirective
> s_synchronousMode =
168
new Lazy<
XamlDirective
>(() => GetXamlDirective(x_SynchronousMode));
169
private static Lazy<
XamlDirective
> s_typeArguments =
170
new Lazy<
XamlDirective
>(() => GetXamlDirective(x_TypeArguments));
171
private static Lazy<
XamlDirective
> s_uid =
172
new Lazy<
XamlDirective
>(() => GetXamlDirective(x_Uid));
173
private static Lazy<
XamlDirective
> s_unknownContent =
174
new Lazy<
XamlDirective
>(() => GetXamlDirective(x_UnknownContent, AllowedMemberLocations.MemberElement, MemberReflector.UnknownReflector), true);
176
private static Lazy<
XamlDirective
> s_base =
177
new Lazy<
XamlDirective
>(() => GetXmlDirective(xml_Base));
178
private static Lazy<
XamlDirective
> s_lang =
179
new Lazy<
XamlDirective
>(() => GetXmlDirective(xml_Lang));
180
private static Lazy<
XamlDirective
> s_space =
181
new Lazy<
XamlDirective
>(() => GetXmlDirective(xml_Space));
183
private static Lazy<ReadOnlyCollection<
XamlDirective
>> s_allDirectives =
184
new Lazy<ReadOnlyCollection<
XamlDirective
>>(GetAllDirectives);
214
public static
XamlDirective
Arguments { get { return s_arguments.Value; } }
215
public static
XamlDirective
AsyncRecords { get { return s_asyncRecords.Value; } }
216
public static
XamlDirective
Class { get { return s_class.Value; } }
217
public static
XamlDirective
ClassModifier { get { return s_classModifier.Value; } }
218
public static
XamlDirective
Code { get { return s_code.Value; } }
219
public static
XamlDirective
ConnectionId { get { return s_connectionId.Value; } }
220
public static
XamlDirective
FactoryMethod { get { return s_factoryMethod.Value; } }
221
public static
XamlDirective
FieldModifier { get { return s_fieldModifier.Value; } }
222
public static
XamlDirective
Items { get { return s_items.Value; } }
223
public static
XamlDirective
Initialization { get { return s_initialization.Value; } }
224
public static
XamlDirective
Key { get { return s_key.Value; } }
225
public static
XamlDirective
Members { get { return s_members.Value; } }
226
public static
XamlDirective
ClassAttributes { get { return s_classAttributes.Value; } }
227
public static
XamlDirective
Name { get { return s_name.Value; } }
228
public static
XamlDirective
PositionalParameters { get { return s_positionalParameters.Value; } }
229
public static
XamlDirective
Shared { get { return s_shared.Value; } }
230
public static
XamlDirective
Subclass { get { return s_subclass.Value; } }
231
public static
XamlDirective
SynchronousMode { get { return s_synchronousMode.Value; } }
232
public static
XamlDirective
TypeArguments { get { return s_typeArguments.Value; } }
233
public static
XamlDirective
Uid { get { return s_uid.Value; } }
234
public static
XamlDirective
UnknownContent { get { return s_unknownContent.Value; } }
236
public static
XamlDirective
Base { get { return s_base.Value; } }
237
public static
XamlDirective
Lang { get { return s_lang.Value; } }
239
public static
XamlDirective
Space { get { return s_space.Value; } }
241
public static ReadOnlyCollection<
XamlDirective
> AllDirectives { get { return s_allDirectives.Value; } }
262
internal static
XamlDirective
LookupXamlDirective(string name)
393
internal static
XamlDirective
LookupXmlDirective(string name)
414
private static ReadOnlyCollection<
XamlDirective
> GetAllDirectives()
416
XamlDirective
[] result = new
XamlDirective
[]
420
return new ReadOnlyCollection<
XamlDirective
>(result);
434
private static
XamlDirective
GetXamlDirective(string name)
439
private static
XamlDirective
GetXamlDirective(string name, AllowedMemberLocations allowedLocation, MemberReflector reflector)
441
XamlDirective
result = new XamlDirective(s_xamlNamespaces, name, allowedLocation, reflector);
445
private static
XamlDirective
GetXamlDirective(string name, XamlType xamlType,
448
XamlDirective
result = new XamlDirective(s_xamlNamespaces, name, allowedLocation, new MemberReflector(xamlType, typeConverter));
452
private static
XamlDirective
GetXmlDirective(string name)
454
XamlDirective
result = new XamlDirective(s_xmlNamespaces, name, AllowedMemberLocations.Attribute, new MemberReflector(String, BuiltInValueConverter.String));
System\Xaml\XamlMember.cs (3)
1018
return
XamlDirective
.NamespacesAreEqual((
XamlDirective
)xamlMember1, (
XamlDirective
)xamlMember2);
System\Xaml\XamlSchemaContext.cs (1)
246
public virtual
XamlDirective
GetXamlDirective(string xamlNamespace, string name)
System\Xaml\XamlType.cs (2)
363
public XamlMember GetAliasedProperty(
XamlDirective
directive)
638
protected virtual XamlMember LookupAliasedProperty(
XamlDirective
directive)