Skip to content
Snippets Groups Projects
Commit 57366e59 authored by Recolic K's avatar Recolic K
Browse files

.

parent 60efeb9b
No related branches found
No related tags found
No related merge requests found
...@@ -35,9 +35,13 @@ namespace CIS { ...@@ -35,9 +35,13 @@ namespace CIS {
// All `Name` should not contain QuotationMark(") // All `Name` should not contain QuotationMark(")
Activity(string displayName, string className, string entityName = "") Activity(string displayName, string className, string entityName = "")
: displayName(Utility::HtmlEscapeString(displayName)), className(className), entityName(entityName), taskId(Utility::GenUUID()) {} : displayName(Utility::HtmlEscapeString(displayName)), className(className), entityName(entityName), taskId(Utility::GenUUID()) {}
Activity(const Activity &another)
: displayName(another.displayName), className(another.className), entityName(another.entityName), taskId(Utility::GenUUID()), inputSettings(another.inputSettings) {}
Activity(Activity &&) = default;
void addInputSetting(string k, string v) { Activity &addInputSetting(string k, string v) {
inputSettings[k] = v; inputSettings[k] = v;
return *this;
} }
void explicitSetRawArgument(string argTypeInXaml, string argValueInCSharp) { void explicitSetRawArgument(string argTypeInXaml, string argValueInCSharp) {
throw std::runtime_error("NotSupported! Activity seems doesn't support custom type inputSettings at all. Refer to commit 7fd539d6d5f6b102337da9591217b781cb71ced9 if we get new info and want to support it again. "); throw std::runtime_error("NotSupported! Activity seems doesn't support custom type inputSettings at all. Refer to commit 7fd539d6d5f6b102337da9591217b781cb71ced9 if we get new info and want to support it again. ");
......
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