Esempio n. 1
0
 public async static Task <object> CopyByBinarySerializationAsync(this object obj) => await Task.Run(() => Deserialize <object> .Binary(Serialize.Binary(obj)));
Esempio n. 2
0
#pragma warning disable CS0618 // Type or member is obsolete; this does not involve any form of user input. Any possible threats presented here already exist in the object being copied
        public static object CopyByBinarySerialization(this object obj) => Deserialize <object> .Binary(Serialize.Binary(obj));