示例#1
0
 /// <summary>
 /// Fires the GroupOnline event
 /// </summary>
 /// <param name="serverAddress">address of server that is now available</param>
 protected void FireGroupOnline(SourceDiscoveryGroup group)
 {
     if (GroupOnline != null)
     {
         GroupOnline.Invoke(this, new GroupEventArgs(group));
     }
 }
示例#2
0
 /// <summary>
 /// Fires the ServerInfoChanged event
 /// </summary>
 /// <param name="serverAddress"></param>
 protected void FireGroupChanged(SourceDiscoveryGroup group)
 {
     if (GroupChanged != null)
     {
         GroupChanged.Invoke(this, new GroupEventArgs(group));
     }
 }
示例#3
0
 /// <summary>
 /// Creates a new instance, referring to a source group by name
 /// </summary>
 /// <param name="address">server that is being referred to.</param>
 public GroupEventArgs(SourceDiscoveryGroup group)
 {
     this.Group = group;
 }