Last active
January 6, 2017 02:26
-
-
Save bradbrowne/46ed483943801f20f855728a41062386 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<ClipboardData xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation" xmlns:gwa="clr-namespace:Geocortex.Workflow.Activities;assembly=Geocortex.Workflow.Activities" xmlns:p="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:sap2010="http://schemas.microsoft.com/netfx/2010/xaml/activities/presentation" xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Version="1.0"> | |
<ClipboardData.Data> | |
<scg:List x:TypeArguments="x:Object" Capacity="1"> | |
<gwa:ReferenceWorkflow x:Name="__ReferenceID0" DisplayName="QueryArray COMPLETED_DATE" VirtualizedContainerService.HintSize="1392,82" WorkflowXamlUri="&quot;gcxfile:///Templates/Workflows/Asset/Shared/QueryArray.xaml&quot;"> | |
<gwa:ReferenceWorkflow.Arguments> | |
<p:InArgument x:TypeArguments="scg:Dictionary(x:String, x:Object)" x:Key="QueryDictionary">[assetFormResult.Where(Function (x) x.Key = "COMPLETED_DATE").ToDictionary(Function(t) t.Key, Function(v) cobj(DateTime.SpecifyKind(new DateTime(1970, 1, 1), DateTimeKind.Utc).AddMilliseconds(completedDate)))]</p:InArgument> | |
<p:OutArgument x:TypeArguments="s:String[]" x:Key="QueryArray">[observationCompletedDateQueryArray]</p:OutArgument> | |
</gwa:ReferenceWorkflow.Arguments> | |
</gwa:ReferenceWorkflow> | |
</scg:List> | |
</ClipboardData.Data> | |
<ClipboardData.Metadata> | |
<scg:List x:TypeArguments="x:Object" Capacity="4"> | |
<scg:List x:TypeArguments="x:Object" Capacity="4"> | |
<x:Reference>__ReferenceID0</x:Reference> | |
</scg:List> | |
</scg:List> | |
</ClipboardData.Metadata> | |
</ClipboardData> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Getting the UTC DateTime from the Milliseconds:
assetFormResult.Where(Function (x) x.Key = "COMPLETED_DATE").ToDictionary(Function(t) t.Key, Function(v) cobj(DateTime.SpecifyKind(new DateTime(1970, 1, 1), DateTimeKind.Utc).AddMilliseconds(completedDate)))