/// <summary> /// Initializes IPC on the server side. /// </summary> /// <typeparam name="T"></typeparam> /// <param name="pipeName"></param> /// <returns></returns> public static void ServerInitialize <T>(T instance, string pipeName) where T : class { PipeDream.BuildServerImplementationFromInterface <T>(instance, pipeName); }
/// <summary> /// Initializes IPC on the client side. /// </summary> /// <typeparam name="T"></typeparam> /// <param name="pipeName"></param> /// <returns></returns> public static T ClientInitialize <T>(string pipeName) where T : class { return(PipeDream.BuildClientImplementationFromInterface <T>(pipeName)); }