This file contains 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
using System.Linq; | |
using Newtonsoft.Json; | |
using System; | |
using System.Collections.Generic; | |
namespace AdaptiveCards.Cloning | |
{ | |
public class MemberwiseCloneFactory : ICloneFactory | |
{ | |
public IClone ToClone(AdaptiveTypedElement element) |
This file contains 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
// for more info see https://stackoverflow.com/a/60019880/1830814 | |
// this is a fix for Xamarin.Forms v4.4.0-sr3 and prior versions | |
using System; | |
using System.ComponentModel; | |
using Windows.UI.Core; | |
using Windows.UI.Xaml.Controls; | |
using Xamarin.Forms.Internals; | |
using static System.String; | |
using Xamarin.Forms.PlatformConfiguration.WindowsSpecific; | |
using System.Threading.Tasks; |
This file contains 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
#region MIT License | |
//Copyright(c) 2020 Artemious | |
// https://gist.github.com/artemious7/c7d9856e128a8b2e9e92d096ca0e69ee/ | |
// https://stackoverflow.com/questions/61816775/c-sharp-serilog-how-to-log-with-string-interpolation-and-keep-argument-names-in/61816776#61816776 | |
//Permission is hereby granted, free of charge, to any person obtaining a copy | |
//of this software and associated documentation files (the "Software"), to deal | |
//in the Software without restriction, including without limitation the rights | |
//to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
//copies of the Software, and to permit persons to whom the Software is |