AForge.Math.Complex.GetObjectData C# (CSharp) Method

GetObjectData() public method

Populates a SerializationInfo with the data needed to serialize the target object.
public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo The to populate with data.
context System.Runtime.Serialization.StreamingContext The destination (see ) for this serialization.
return void
        public void GetObjectData(SerializationInfo info, StreamingContext context)
        {
            info.AddValue("Real", Re);
            info.AddValue("Imaginary", Im);
        }