public DdemlServer(string service, DdemlContext context) { if (service == null) throw new ArgumentNullException(nameof(service)); if (service.Length > Ddeml.MAX_STRING_SIZE) throw new ArgumentException(Resources.StringParameterInvalidMessage, nameof(service)); _Service = service; _Context = context ?? throw new ArgumentNullException(nameof(context)); }
public DdemlServer(string service, DdemlContext context) { if (service == null) { throw new ArgumentNullException("service"); } if (service.Length > Ddeml.MAX_STRING_SIZE) { throw new ArgumentException(Resources.StringParameterInvalidMessage, "service"); } if (context == null) { throw new ArgumentNullException("context"); } _Service = service; _Context = context; }
public DdemlServer(string service) : this(service, DdemlContext.GetDefault()) { }
public DdemlMonitor(DdemlContext context) { _Context = context; }
public MyDdemlServer(string service, DdemlContext context, DdeServer parent) : base(service, context) { _Parent = parent; }
public DdemlMonitor() : this(DdemlContext.GetDefault()) { }