public IDecorationCheckImplementation Get(IDecorationCheck check) { if (check is IWindowsServiceCheck) { return new WindowsServiceCheckFactory().Get(check as IWindowsServiceCheck); } throw new ArgumentException(); }
public IDecorationCheckImplementation Get(IDecorationCheck check) { if (check is IWindowsServiceCheck) { return(new WindowsServiceCheckFactory().Get(check as IWindowsServiceCheck)); } throw new ArgumentException(); }