- public delegate void ServiceTypeInfoHandler (object o, ServiceTypeInfo info);
-
- public class ServiceTypeBrowser : IDisposable
+ public class ServiceTypeInfoArgs : EventArgs
+ {
+ private ServiceTypeInfo type;
+
+ public ServiceTypeInfo ServiceType
+ {
+ get { return type; }
+ }
+
+ public ServiceTypeInfoArgs (ServiceTypeInfo type)
+ {
+ this.type = type;
+ }
+ }
+
+ public delegate void ServiceTypeInfoHandler (object o, ServiceTypeInfoArgs args);
+
+ public class ServiceTypeBrowser : BrowserBase, IDisposable