/// <summary> /// /// </summary> public IISWebServer this[int Identify] { get { for (int i = 0; i < this.List.Count; i++) { IISWebServer server = (IISWebServer)this.List[i]; if (server.Identify == Identify) { return(server); } } return(null); } }
/// <summary> /// /// </summary> public IISWebServer this[string ServerComment] { get { ServerComment = ServerComment.Trim(); for (int i = 0; i < this.List.Count; i++) { IISWebServer server = (IISWebServer)this.List[i]; if (String.Compare(server.ServerComment.Trim(), ServerComment, true) == 0) { return(server); } } return(null); } }
/// <summary> /// /// </summary> /// <param name="Parent"></param> public IISWebVirtualDirCollection(IISWebServer Parent) { this.Parent = Parent; }
internal void Add(IISWebServer WebServer) { this.List.Add(WebServer); }