public static IPipeServerConfig CopyInh(IPipeServerConfig src) { if (src == null) { return(null); } if (src.GetType() == typeof(PipeServerConfigImplement)) { return(((PipeServerConfigImplement)src).Copy()); } if (src.GetType() == typeof(PipeServerConfigImplement)) { return(((PipeServerConfigImplement)src).Copy()); } throw new Exception("Unknown type: " + src.GetType().ToString()); }
public void SetPipeServerConfigVal(IPipeServerConfig value) { _pipeServerConfig = value; }