Skip to content
Snippets Groups Projects
Commit 8fc6ad41 authored by Bensong Liu's avatar Bensong Liu
Browse files

adjust align

parent 4ce0fde9
No related branches found
No related tags found
No related merge requests found
...@@ -189,8 +189,8 @@ namespace CIS { ...@@ -189,8 +189,8 @@ namespace CIS {
auto generateXamlHead() const { auto generateXamlHead() const {
rlib::string result = templates::STD_XAML_HEAD; rlib::string result = templates::STD_XAML_HEAD;
result.replace_once("__TEMPLATE_ARG_XtraShorthands", ""_rs.join(doTransform(" {}\n", xtraShorthands))); result.replace_once("__TEMPLATE_ARG_XtraShorthands", ""_rs.join(doTransform(" {}\n", xtraShorthands)));
result.replace_once("__TEMPLATE_ARG_XtraNamespaces", ""_rs.join(doTransform(" <x:String>{}</x:String>\n", xtraNamespaces))); result.replace_once("__TEMPLATE_ARG_XtraNamespaces", ""_rs.join(doTransform(" <x:String>{}</x:String>\n", xtraNamespaces)));
result.replace_once("__TEMPLATE_ARG_XtraAssemblies", ""_rs.join(doTransform(" <AssemblyReference>{}</AssemblyReference>\n", xtraAssemblies))); result.replace_once("__TEMPLATE_ARG_XtraAssemblies", ""_rs.join(doTransform(" <AssemblyReference>{}</AssemblyReference>\n", xtraAssemblies)));
result.replace_once("__TEMPLATE_ARG_WorkflowClassName", className); result.replace_once("__TEMPLATE_ARG_WorkflowClassName", className);
return result; return result;
} }
......
...@@ -58,39 +58,39 @@ constexpr auto STD_XAML_HEAD = R"XAML(<?xml version='1.0' encoding='utf-8' stand ...@@ -58,39 +58,39 @@ constexpr auto STD_XAML_HEAD = R"XAML(<?xml version='1.0' encoding='utf-8' stand
sap2010:ExpressionActivityEditor.ExpressionActivityEditor="C#" sap2010:ExpressionActivityEditor.ExpressionActivityEditor="C#"
x:Class="__TEMPLATE_ARG_WorkflowClassName" x:Class="__TEMPLATE_ARG_WorkflowClassName"
__TEMPLATE_ARG_XtraShorthands mc:Ignorable="sap sap2010 sads"> __TEMPLATE_ARG_XtraShorthands mc:Ignorable="sap sap2010 sads">
<TextExpression.NamespacesForImplementation> <TextExpression.NamespacesForImplementation>
<sco:Collection x:TypeArguments="x:String"> <sco:Collection x:TypeArguments="x:String">
<x:String>System</x:String> <x:String>System</x:String>
<x:String>System.Collections.Generic</x:String> <x:String>System.Collections.Generic</x:String>
<x:String>System.Data</x:String> <x:String>System.Data</x:String>
<x:String>System.Linq</x:String> <x:String>System.Linq</x:String>
<x:String>System.Text</x:String> <x:String>System.Text</x:String>
__TEMPLATE_ARG_XtraNamespaces </sco:Collection> __TEMPLATE_ARG_XtraNamespaces </sco:Collection>
</TextExpression.NamespacesForImplementation> </TextExpression.NamespacesForImplementation>
<TextExpression.ReferencesForImplementation> <TextExpression.ReferencesForImplementation>
<sco:Collection x:TypeArguments="AssemblyReference"> <sco:Collection x:TypeArguments="AssemblyReference">
<AssemblyReference>Microsoft.CSharp</AssemblyReference> <AssemblyReference>Microsoft.CSharp</AssemblyReference>
<AssemblyReference>Microsoft.WindowsAzure.Bootstrap.Common</AssemblyReference> <AssemblyReference>Microsoft.WindowsAzure.Bootstrap.Common</AssemblyReference>
<AssemblyReference>Microsoft.WindowsAzure.Bootstrap.ComponentBootstrap.Activities</AssemblyReference> <AssemblyReference>Microsoft.WindowsAzure.Bootstrap.ComponentBootstrap.Activities</AssemblyReference>
<AssemblyReference>Microsoft.WindowsAzure.Bootstrap.ComponentBootstrap.Contracts</AssemblyReference> <AssemblyReference>Microsoft.WindowsAzure.Bootstrap.ComponentBootstrap.Contracts</AssemblyReference>
<AssemblyReference>Microsoft.WindowsAzure.Cis.Workflow.Activities</AssemblyReference> <AssemblyReference>Microsoft.WindowsAzure.Cis.Workflow.Activities</AssemblyReference>
<AssemblyReference>Microsoft.WindowsAzure.Cis.Workflow.Activities.Design</AssemblyReference> <AssemblyReference>Microsoft.WindowsAzure.Cis.Workflow.Activities.Design</AssemblyReference>
<AssemblyReference>Microsoft.WindowsAzure.Cis.Workflow.Common</AssemblyReference> <AssemblyReference>Microsoft.WindowsAzure.Cis.Workflow.Common</AssemblyReference>
<AssemblyReference>Microsoft.WindowsAzure.Cis.Workflow.Contracts</AssemblyReference> <AssemblyReference>Microsoft.WindowsAzure.Cis.Workflow.Contracts</AssemblyReference>
<AssemblyReference>System</AssemblyReference> <AssemblyReference>System</AssemblyReference>
<AssemblyReference>System.Activities</AssemblyReference> <AssemblyReference>System.Activities</AssemblyReference>
<AssemblyReference>System.Core</AssemblyReference> <AssemblyReference>System.Core</AssemblyReference>
<AssemblyReference>System.Data</AssemblyReference> <AssemblyReference>System.Data</AssemblyReference>
<AssemblyReference>System.Runtime.Serialization</AssemblyReference> <AssemblyReference>System.Runtime.Serialization</AssemblyReference>
<AssemblyReference>System.ServiceModel</AssemblyReference> <AssemblyReference>System.ServiceModel</AssemblyReference>
<AssemblyReference>System.ServiceModel.Activities</AssemblyReference> <AssemblyReference>System.ServiceModel.Activities</AssemblyReference>
<AssemblyReference>System.Xaml</AssemblyReference> <AssemblyReference>System.Xaml</AssemblyReference>
<AssemblyReference>System.Xml</AssemblyReference> <AssemblyReference>System.Xml</AssemblyReference>
<AssemblyReference>System.Xml.Linq</AssemblyReference> <AssemblyReference>System.Xml.Linq</AssemblyReference>
<AssemblyReference>mscorlib</AssemblyReference> <AssemblyReference>mscorlib</AssemblyReference>
<AssemblyReference>FleetAGC.Activities</AssemblyReference> <AssemblyReference>FleetAGC.Activities</AssemblyReference>
__TEMPLATE_ARG_XtraAssemblies </sco:Collection> __TEMPLATE_ARG_XtraAssemblies </sco:Collection>
</TextExpression.ReferencesForImplementation> </TextExpression.ReferencesForImplementation>
)XAML"; )XAML";
constexpr auto STD_XAML_TAIL = "</Activity>"; constexpr auto STD_XAML_TAIL = "</Activity>";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment