Ejemplo n.º 1
0
        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());
        }
Ejemplo n.º 2
0
 public void SetPipeServerConfigVal(IPipeServerConfig value)
 {
     _pipeServerConfig = value;
 }