public static NetworkWrapper Wrap(this Net net) { if (wrapperCache == null) { wrapperCache = new NetworkWrapper(net); } return(wrapperCache); }
public static NetworkWrapper Wrap(this Net net) { if (wrapperCache == null) { var w = new NetworkWrapper(net); wrapperCache = w; return w; } return wrapperCache; }