public override void Configure(ApplicationServer server, DirectoryInfo BaseDir, XmlDocument ConfigFile) { base.Configure(server, BaseDir, ConfigFile); _port = int.Parse(ReadAppSetting(ConfigFile, "FTPApplication.Port", "21")); _BaseDirectory = ReadAppSetting(ConfigFile, "FTPApplication.Path", BaseDir.FullName); _Clients = new FTPClientCollection(); }
/// <summary> /// <para> /// Adds the contents of another <see cref='.FTPClientCollection'/> to the end of the collection. /// </para> /// </summary> /// <param name='value'> /// A <see cref='.FTPClientCollection'/> containing the objects to add to the collection. /// </param> /// <returns> /// <para>None.</para> /// </returns> /// <seealso cref='.FTPClientCollection.Add'/> public void AddRange(FTPClientCollection value) { for (int i = 0; (i < value.Count); i = (i + 1)) { this.Add(value[i]); } }
/// <summary> /// <para> /// Initializes a new instance of <see cref='.FTPClientCollection'/> based on another <see cref='.FTPClientCollection'/>. /// </para> /// </summary> /// <param name='value'> /// A <see cref='.FTPClientCollection'/> from which the contents are copied /// </param> public FTPClientCollection(FTPClientCollection value) { this.AddRange(value); }
public FTPClientEnumerator(FTPClientCollection mappings) { this.temp = ((IEnumerable)(mappings)); this.baseEnumerator = temp.GetEnumerator(); }
/// <summary> /// <para> /// Adds the contents of another <see cref='.FTPClientCollection'/> to the end of the collection. /// </para> /// </summary> /// <param name='value'> /// A <see cref='.FTPClientCollection'/> containing the objects to add to the collection. /// </param> /// <returns> /// <para>None.</para> /// </returns> /// <seealso cref='.FTPClientCollection.Add'/> public void AddRange(FTPClientCollection value) { for (int i = 0; (i < value.Count); i = (i + 1)) { this.Add(value[i]); } }
public override void Configure(ApplicationServer server, DirectoryInfo BaseDir, XmlDocument ConfigFile) { base.Configure(server,BaseDir,ConfigFile); _port=int.Parse(ReadAppSetting(ConfigFile,"FTPApplication.Port","21")); _BaseDirectory=ReadAppSetting(ConfigFile,"FTPApplication.Path",BaseDir.FullName); _Clients=new FTPClientCollection(); }
/// <summary> /// <para> /// Initializes a new instance of <see cref='.FTPClientCollection'/> based on another <see cref='.FTPClientCollection'/>. /// </para> /// </summary> /// <param name='value'> /// A <see cref='.FTPClientCollection'/> from which the contents are copied /// </param> public FTPClientCollection(FTPClientCollection value) { this.AddRange(value); }
public FTPClientEnumerator(FTPClientCollection mappings) { this.temp = ((IEnumerable)(mappings)); this.baseEnumerator = temp.GetEnumerator(); }