Пример #1
0
 /// <summary>
 /// Calls <see cref="IFTPComponent.LinkComponent"/> on all other 
 /// FTP components in the container of the given site.
 /// </summary>
 /// <param name="site">Site in the container whose FTP components are to be linked.</param>
 /// <param name="component">New components added to the containiner.</param>
 public static void Link(ISite site, IFTPComponent component)
 {
     if (site==null || !site.DesignMode || site.Container == null)
         return;
     foreach (object c in site.Container.Components)
         if (c!=component && c is IFTPComponent)
             ((IFTPComponent)c).LinkComponent(component);
 }
Пример #2
0
 public static void Link(ISite site, IFTPComponent component)
 {
     if (((site != null) && site.DesignMode) && (site.Container != null))
     {
         foreach (object obj2 in site.Container.Components)
         {
             if ((obj2 != component) && (obj2 is IFTPComponent))
             {
                 ((IFTPComponent)obj2).LinkComponent(component);
             }
         }
     }
 }
Пример #3
0
 public static void Link(ISite site, IFTPComponent component)
 {
     if (((site != null) && site.DesignMode) && (site.Container != null))
     {
         foreach (object obj2 in site.Container.Components)
         {
             if ((obj2 != component) && (obj2 is IFTPComponent))
             {
                 ((IFTPComponent) obj2).LinkComponent(component);
             }
         }
     }
 }
Пример #4
0
 /// <summary>
 /// Calls <see cref="IFTPComponent.LinkComponent"/> on all other
 /// FTP components in the container of the given site.
 /// </summary>
 /// <param name="site">Site in the container whose FTP components are to be linked.</param>
 /// <param name="component">New components added to the containiner.</param>
 public static void Link(ISite site, IFTPComponent component)
 {
     if (site == null || !site.DesignMode || site.Container == null)
     {
         return;
     }
     foreach (object c in site.Container.Components)
     {
         if (c != component && c is IFTPComponent)
         {
             ((IFTPComponent)c).LinkComponent(component);
         }
     }
 }
Пример #5
0
 public void LinkComponent(IFTPComponent component)
 {
 }