public StreamRef(SerializationInfo info, StreamingContext context) { var value = (string)info.GetValue("path", typeof(string)); Path = StreamPath.Deserialize(value); }
public static StreamRef Deserialize(string path) => Deserialize(StreamPath.Deserialize(path));