Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cis-workflow-gen
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
msc
cis-workflow-gen
Commits
8fc6ad41
There was an error fetching the commit references. Please try again later.
Commit
8fc6ad41
authored
4 years ago
by
Bensong Liu
Browse files
Options
Downloads
Patches
Plain Diff
adjust align
parent
4ce0fde9
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
activity.hpp
+2
-2
2 additions, 2 deletions
activity.hpp
xaml-template.hpp
+31
-31
31 additions, 31 deletions
xaml-template.hpp
with
33 additions
and
33 deletions
activity.hpp
+
2
−
2
View file @
8fc6ad41
...
...
@@ -189,8 +189,8 @@ namespace CIS {
auto
generateXamlHead
()
const
{
rlib
::
string
result
=
templates
::
STD_XAML_HEAD
;
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_XtraAssemblies"
,
""
_rs
.
join
(
doTransform
(
" <AssemblyReference>{}</AssemblyReference>
\n
"
,
xtraAssemblies
)));
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_WorkflowClassName"
,
className
);
return
result
;
}
...
...
This diff is collapsed.
Click to expand it.
xaml-template.hpp
+
31
−
31
View file @
8fc6ad41
...
...
@@ -58,39 +58,39 @@ constexpr auto STD_XAML_HEAD = R"XAML(<?xml version='1.0' encoding='utf-8' stand
sap2010:ExpressionActivityEditor.ExpressionActivityEditor="C#"
x:Class="__TEMPLATE_ARG_WorkflowClassName"
__TEMPLATE_ARG_XtraShorthands mc:Ignorable="sap sap2010 sads">
<TextExpression.NamespacesForImplementation>
<sco:Collection x:TypeArguments="x:String">
<x:String>System</x:String>
<x:String>System.Collections.Generic</x:String>
<x:String>System.Data</x:String>
<x:String>System.Linq</x:String>
<x:String>System.Text</x:String>
<TextExpression.NamespacesForImplementation>
<sco:Collection x:TypeArguments="x:String">
<x:String>System</x:String>
<x:String>System.Collections.Generic</x:String>
<x:String>System.Data</x:String>
<x:String>System.Linq</x:String>
<x:String>System.Text</x:String>
__TEMPLATE_ARG_XtraNamespaces </sco:Collection>
</TextExpression.NamespacesForImplementation>
<TextExpression.ReferencesForImplementation>
<sco:Collection x:TypeArguments="AssemblyReference">
<AssemblyReference>Microsoft.CSharp</AssemblyReference>
<AssemblyReference>Microsoft.WindowsAzure.Bootstrap.Common</AssemblyReference>
<AssemblyReference>Microsoft.WindowsAzure.Bootstrap.ComponentBootstrap.Activities</AssemblyReference>
<AssemblyReference>Microsoft.WindowsAzure.Bootstrap.ComponentBootstrap.Contracts</AssemblyReference>
<AssemblyReference>Microsoft.WindowsAzure.Cis.Workflow.Activities</AssemblyReference>
<AssemblyReference>Microsoft.WindowsAzure.Cis.Workflow.Activities.Design</AssemblyReference>
<AssemblyReference>Microsoft.WindowsAzure.Cis.Workflow.Common</AssemblyReference>
<AssemblyReference>Microsoft.WindowsAzure.Cis.Workflow.Contracts</AssemblyReference>
<AssemblyReference>System</AssemblyReference>
<AssemblyReference>System.Activities</AssemblyReference>
<AssemblyReference>System.Core</AssemblyReference>
<AssemblyReference>System.Data</AssemblyReference>
<AssemblyReference>System.Runtime.Serialization</AssemblyReference>
<AssemblyReference>System.ServiceModel</AssemblyReference>
<AssemblyReference>System.ServiceModel.Activities</AssemblyReference>
<AssemblyReference>System.Xaml</AssemblyReference>
<AssemblyReference>System.Xml</AssemblyReference>
<AssemblyReference>System.Xml.Linq</AssemblyReference>
<AssemblyReference>mscorlib</AssemblyReference>
<AssemblyReference>FleetAGC.Activities</AssemblyReference>
</TextExpression.NamespacesForImplementation>
<TextExpression.ReferencesForImplementation>
<sco:Collection x:TypeArguments="AssemblyReference">
<AssemblyReference>Microsoft.CSharp</AssemblyReference>
<AssemblyReference>Microsoft.WindowsAzure.Bootstrap.Common</AssemblyReference>
<AssemblyReference>Microsoft.WindowsAzure.Bootstrap.ComponentBootstrap.Activities</AssemblyReference>
<AssemblyReference>Microsoft.WindowsAzure.Bootstrap.ComponentBootstrap.Contracts</AssemblyReference>
<AssemblyReference>Microsoft.WindowsAzure.Cis.Workflow.Activities</AssemblyReference>
<AssemblyReference>Microsoft.WindowsAzure.Cis.Workflow.Activities.Design</AssemblyReference>
<AssemblyReference>Microsoft.WindowsAzure.Cis.Workflow.Common</AssemblyReference>
<AssemblyReference>Microsoft.WindowsAzure.Cis.Workflow.Contracts</AssemblyReference>
<AssemblyReference>System</AssemblyReference>
<AssemblyReference>System.Activities</AssemblyReference>
<AssemblyReference>System.Core</AssemblyReference>
<AssemblyReference>System.Data</AssemblyReference>
<AssemblyReference>System.Runtime.Serialization</AssemblyReference>
<AssemblyReference>System.ServiceModel</AssemblyReference>
<AssemblyReference>System.ServiceModel.Activities</AssemblyReference>
<AssemblyReference>System.Xaml</AssemblyReference>
<AssemblyReference>System.Xml</AssemblyReference>
<AssemblyReference>System.Xml.Linq</AssemblyReference>
<AssemblyReference>mscorlib</AssemblyReference>
<AssemblyReference>FleetAGC.Activities</AssemblyReference>
__TEMPLATE_ARG_XtraAssemblies </sco:Collection>
</TextExpression.ReferencesForImplementation>
</TextExpression.ReferencesForImplementation>
)XAML"
;
constexpr
auto
STD_XAML_TAIL
=
"</Activity>"
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment