/// <summary> /// Constructor /// </summary> /// <param name="className">Window classname that the proxy is for. If null is used, the proxy will be called for all /// windows if no other proxy has been found for that window.</param> /// <param name="clientSideProviderFactoryCallback">Delegate that PAW will call to request the creation of a proxy</param> /// <param name="flags">Enum ProxyMatchFlags /// otherwise the parameter classname can be contained in the window class name</param> /// <param name="imageName">Name of the executable for the process where this window resides. For example outllib.dll or calc.exe</param> public ClientSideProviderDescription(ClientSideProviderFactoryCallback clientSideProviderFactoryCallback, string className, string imageName, ClientSideProviderMatchIndicator flags) { // Null and Empty string mean different things here #pragma warning suppress 6507 if (className != null) { _className = className.ToLower(System.Globalization.CultureInfo.InvariantCulture); } else { _className = null; } _flags = flags; // Null and Empty string mean different things here #pragma warning suppress 6507 if (imageName != null) { _imageName = imageName.ToLower(System.Globalization.CultureInfo.InvariantCulture); } else { _imageName = null; } _proxyFactoryCallback = clientSideProviderFactoryCallback; }
public ClientSideProviderDescription(ClientSideProviderFactoryCallback clientSideProviderFactoryCallback, string className, string imageName, ClientSideProviderMatchIndicator flags) { this._className = (className != null) ? className.ToLower(CultureInfo.InvariantCulture) : null; this._imageName = (imageName != null) ? imageName.ToLower(CultureInfo.InvariantCulture) : null; this._flags = flags; this._proxyFactoryCallback = clientSideProviderFactoryCallback; }
public ClientSideProviderDescription(ClientSideProviderFactoryCallback clientSideProviderFactoryCallback, string className, string imageName, ClientSideProviderMatchIndicator flags) { this._className = (className != null) ? className.ToLower(CultureInfo.InvariantCulture) : null; this._imageName = (imageName != null) ? imageName.ToLower(CultureInfo.InvariantCulture) : null; this._flags = flags; this._proxyFactoryCallback = clientSideProviderFactoryCallback; }
public ClientSideProviderDescription ( ClientSideProviderFactoryCallback clientSideProviderFactoryCallback, string className, string imageName, ClientSideProviderMatchIndicator flags) { this.clientSideProviderFactoryCallback = clientSideProviderFactoryCallback; this.className = className; this.imageName = imageName; this.flags = flags; }
public ClientSideProviderDescription( ClientSideProviderFactoryCallback clientSideProviderFactoryCallback, string className, string imageName, ClientSideProviderMatchIndicator flags) { this.clientSideProviderFactoryCallback = clientSideProviderFactoryCallback; this.className = className; this.imageName = imageName; this.flags = flags; }
public ClientSideProviderDescription( ClientSideProviderFactoryCallback clientSideProviderFactoryCallback, string className, string imageName, ClientSideProviderMatchIndicator flags, IEnumerable <EventMapping> eventMappings) { this.ClientSideProviderFactoryCallback = clientSideProviderFactoryCallback; this.ClassName = className; this.ImageName = imageName; this.Flags = flags; this._eventMappings = eventMappings != null ? new List <EventMapping>(collection: eventMappings) : new List <EventMapping>(); }
/// <summary> /// Constructor /// </summary> /// <param name="className">Window classname that the proxy is for. If null is used, the proxy will be called for all /// windows if no other proxy has been found for that window.</param> /// <param name="clientSideProviderFactoryCallback">Delegate that PAW will call to request the creation of a proxy</param> public ClientSideProviderDescription(ClientSideProviderFactoryCallback clientSideProviderFactoryCallback, string className) { // Null and Empty string mean different things here. #pragma warning suppress 6507 if (className != null) _className = className.ToLower( System.Globalization.CultureInfo.InvariantCulture ); else _className = null; _flags = 0; _imageName = null; _proxyFactoryCallback = clientSideProviderFactoryCallback; }