Example #1
0
        protected override void CacheMetadata(NativeActivityMetadata metadata)
        {
            var collection = new Collection <RuntimeArgument>();

            ActivityHelper.AddCacheMetadata(collection, metadata, Title, "Title");
            ActivityHelper.AddCacheMetadata(collection, metadata, Message, "Message");
            ActivityHelper.AddCacheMetadata(collection, metadata, Actions, "Actions");
            ActivityHelper.AddCacheMetadata(collection, metadata, ActionCode, "ActionCode");

            metadata.SetArgumentsCollection(collection);
        }