72 references to StandardXomlKeys
System.Workflow.ComponentModel (72)
AuthoringOM\AssemblyInfo.cs (8)
12
[assembly: XmlnsDefinition(
StandardXomlKeys
.WorkflowXmlNs, "System.Workflow.ComponentModel")]
13
[assembly: XmlnsDefinition(
StandardXomlKeys
.WorkflowXmlNs, "System.Workflow.ComponentModel.Compiler")]
14
[assembly: XmlnsDefinition(
StandardXomlKeys
.Definitions_XmlNs, "System.Workflow.ComponentModel.Serialization")]
15
[assembly: XmlnsDefinition(
StandardXomlKeys
.WorkflowXmlNs, "System.Workflow.ComponentModel.Design")]
17
[assembly: XmlnsPrefix(
StandardXomlKeys
.WorkflowXmlNs,
StandardXomlKeys
.WorkflowPrefix)]
18
[assembly: XmlnsPrefix(
StandardXomlKeys
.Definitions_XmlNs,
StandardXomlKeys
.Definitions_XmlNs_Prefix)]
AuthoringOM\Compiler\CompileXomlTask.cs (1)
1149
if (reader.MoveToAttribute("Class",
StandardXomlKeys
.Definitions_XmlNs))
AuthoringOM\Design\ComponentSerializationService.cs (1)
205
if (eventArgs.XmlReader.LookupNamespace(eventArgs.XmlReader.Prefix) ==
StandardXomlKeys
.Definitions_XmlNs &&
AuthoringOM\Serializer\ActivityMarkupSerializer.cs (6)
89
writer.WriteAttributeString(
StandardXomlKeys
.Definitions_XmlNs_Prefix,
StandardXomlKeys
.Definitions_Class_LocalName,
StandardXomlKeys
.Definitions_XmlNs, className);
187
writer.WriteStartElement(
StandardXomlKeys
.Definitions_XmlNs_Prefix,
StandardXomlKeys
.Definitions_Code_LocalName,
StandardXomlKeys
.Definitions_XmlNs);
AuthoringOM\Serializer\DictionaryMarkupSerializer.cs (2)
176
prefix =
StandardXomlKeys
.Definitions_XmlNs_Prefix;
177
return new XmlQualifiedName(extendedProperty.Name,
StandardXomlKeys
.Definitions_XmlNs);
AuthoringOM\Serializer\WorkflowMarkupSerializationManager.cs (1)
171
prefix = (mappingForType.Prefix.Equals(
StandardXomlKeys
.WorkflowPrefix, StringComparison.Ordinal)) ? String.Empty : mappingForType.Prefix;
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (9)
83
if (eventArgs.XmlReader.LookupNamespace(eventArgs.XmlReader.Prefix) ==
StandardXomlKeys
.Definitions_XmlNs)
228
if (xmlQualifiedName.Namespace.Equals(
StandardXomlKeys
.Definitions_XmlNs, StringComparison.Ordinal) &&
333
if (xmlQualifiedName.Namespace.Equals(
StandardXomlKeys
.Definitions_XmlNs, StringComparison.Ordinal) &&
1442
prefix =
StandardXomlKeys
.Definitions_XmlNs_Prefix;
1443
return new XmlQualifiedName(extendedProperty.Name,
StandardXomlKeys
.Definitions_XmlNs);
3124
if (extensionName.EndsWith(
StandardXomlKeys
.MarkupExtensionSuffix, StringComparison.OrdinalIgnoreCase))
3125
extensionName = extensionName.Substring(0, extensionName.Length -
StandardXomlKeys
.MarkupExtensionSuffix.Length);
3132
if (xmlQualifiedName.Namespace.Equals(
StandardXomlKeys
.Definitions_XmlNs, StringComparison.Ordinal))
3150
if (xmlQualifiedName.Namespace.Equals(
StandardXomlKeys
.Definitions_XmlNs, StringComparison.Ordinal))
AuthoringOM\Serializer\WorkflowMarkupSerializerMapping.cs (38)
74
WorkflowMarkupSerializerMapping.Activities = new WorkflowMarkupSerializerMapping(
StandardXomlKeys
.WorkflowPrefix,
StandardXomlKeys
.WorkflowXmlNs, "System.Workflow.Activities", AssemblyRef.ActivitiesAssemblyRef);
77
WorkflowMarkupSerializerMapping.ComponentModel = new WorkflowMarkupSerializerMapping(
StandardXomlKeys
.WorkflowPrefix,
StandardXomlKeys
.WorkflowXmlNs, "System.Workflow.ComponentModel", Assembly.GetExecutingAssembly().FullName);
80
WorkflowMarkupSerializerMapping.Serialization = new WorkflowMarkupSerializerMapping(
StandardXomlKeys
.Definitions_XmlNs_Prefix,
StandardXomlKeys
.Definitions_XmlNs, "System.Workflow.ComponentModel.Serialization", Assembly.GetExecutingAssembly().FullName);
83
WorkflowMarkupSerializerMapping.Rules = new WorkflowMarkupSerializerMapping(
StandardXomlKeys
.WorkflowPrefix,
StandardXomlKeys
.WorkflowXmlNs, "System.Workflow.Activities.Rules", AssemblyRef.ActivitiesAssemblyRef);
86
WorkflowMarkupSerializerMapping.ComponentModelDesign = new WorkflowMarkupSerializerMapping(
StandardXomlKeys
.WorkflowPrefix,
StandardXomlKeys
.WorkflowXmlNs, "System.Workflow.ComponentModel.Design", Assembly.GetExecutingAssembly().FullName);
89
WorkflowMarkupSerializerMapping.wellKnownMappings.Add(new WorkflowMarkupSerializerMapping(
StandardXomlKeys
.WorkflowPrefix,
StandardXomlKeys
.WorkflowXmlNs, "System.Workflow.Runtime", AssemblyRef.RuntimeAssemblyRef));
90
WorkflowMarkupSerializerMapping.wellKnownMappings.Add(new WorkflowMarkupSerializerMapping(
StandardXomlKeys
.WorkflowPrefix,
StandardXomlKeys
.WorkflowXmlNs, "System.Workflow.ComponentModel.Compiler", Assembly.GetExecutingAssembly().FullName));
92
WorkflowMarkupSerializerMapping.wellKnownMappings.Add(new WorkflowMarkupSerializerMapping(
StandardXomlKeys
.WorkflowPrefix,
StandardXomlKeys
.WorkflowXmlNs, "System.Workflow.Activities.Rules.Design", AssemblyRef.ActivitiesAssemblyRef));
93
WorkflowMarkupSerializerMapping.wellKnownMappings.Add(new WorkflowMarkupSerializerMapping(
StandardXomlKeys
.WorkflowPrefix,
StandardXomlKeys
.WorkflowXmlNs, "System.Workflow.Runtime.Configuration", AssemblyRef.RuntimeAssemblyRef));
94
WorkflowMarkupSerializerMapping.wellKnownMappings.Add(new WorkflowMarkupSerializerMapping(
StandardXomlKeys
.WorkflowPrefix,
StandardXomlKeys
.WorkflowXmlNs, "System.Workflow.Runtime.Hosting", AssemblyRef.RuntimeAssemblyRef));
95
WorkflowMarkupSerializerMapping.wellKnownMappings.Add(new WorkflowMarkupSerializerMapping(
StandardXomlKeys
.WorkflowPrefix,
StandardXomlKeys
.WorkflowXmlNs, "System.Workflow.Runtime.Tracking", AssemblyRef.RuntimeAssemblyRef));
208
if (xmlns.Equals(
StandardXomlKeys
.WorkflowXmlNs, StringComparison.Ordinal))
235
else if (xmlns.Equals(
StandardXomlKeys
.Definitions_XmlNs, StringComparison.Ordinal))
262
if (xmlNamespace.StartsWith(
StandardXomlKeys
.CLRNamespaceQualifier, StringComparison.OrdinalIgnoreCase))
266
string clrNamespace = xmlNamespace.Substring(
StandardXomlKeys
.CLRNamespaceQualifier.Length).Trim();
274
if (!assemblyName.StartsWith(
StandardXomlKeys
.AssemblyNameQualifier, StringComparison.OrdinalIgnoreCase))
277
assemblyName = assemblyName.Substring(
StandardXomlKeys
.AssemblyNameQualifier.Length);
282
if (clrNamespace.Equals(
StandardXomlKeys
.GlobalNamespace, StringComparison.OrdinalIgnoreCase))
338
xmlNamespace =
StandardXomlKeys
.WorkflowXmlNs;
339
prefix =
StandardXomlKeys
.WorkflowPrefix;
343
xmlNamespace =
StandardXomlKeys
.WorkflowXmlNs;
344
prefix =
StandardXomlKeys
.WorkflowPrefix;
348
xmlNamespace =
StandardXomlKeys
.WorkflowXmlNs;
349
prefix =
StandardXomlKeys
.WorkflowPrefix;
418
string xmlNamespace =
StandardXomlKeys
.CLRNamespaceQualifier;
419
xmlNamespace += (String.IsNullOrEmpty(clrNamespace)) ?
StandardXomlKeys
.GlobalNamespace : clrNamespace;
421
xmlNamespace += ";" +
StandardXomlKeys
.AssemblyNameQualifier + assemblyName;
Shared\XomlSerializationHelpers.cs (6)
115
case
StandardXomlKeys
.Definitions_Class_LocalName:
119
serializationManager.ReportError(new WorkflowMarkupSerializationException(string.Format(CultureInfo.CurrentCulture, resourceManager.GetString("UnknownDefinitionTag"), new object[] {
StandardXomlKeys
.Definitions_XmlNs_Prefix, reader.LocalName,
StandardXomlKeys
.Definitions_XmlNs }), (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LineNumber : 1, (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LinePosition : 1));
145
case
StandardXomlKeys
.Definitions_Code_LocalName:
150
serializationManager.ReportError(new WorkflowMarkupSerializationException(string.Format(CultureInfo.CurrentCulture, resourceManager.GetString("UnknownDefinitionTag"),
StandardXomlKeys
.Definitions_XmlNs_Prefix, reader.LocalName,
StandardXomlKeys
.Definitions_XmlNs), (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LineNumber : 1, (reader is IXmlLineInfo) ? ((IXmlLineInfo)reader).LinePosition : 1));