Пример #1
0
        public static void Configure(PclExport instance)
        {
            Instance = instance ?? Instance;

            if (Instance != null && Instance.EmptyTask == null)
            {
                var tcs = new TaskCompletionSource <object>();
                tcs.SetResult(null);
                Instance.EmptyTask = tcs.Task;
            }
        }
Пример #2
0
 public static void Configure(PclExport instance)
 {
     Instance = instance ?? Instance;
 }