ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 293
نمايش فراداده

ServiceDescriptionBaseCollection

System.Web.Services.Description (system.web.services.dll)abstract class

This is the base class for many of the strongly typed collection classes in this namespace. Classes that derive from ServiceDescriptionBaseCollection end with the word "Collection," as in PortCollection. These classes are strongly typed, but not named. This differs from the classes that represent WSDL language elements. For example, the PortType class represents a WSDL language element, contains other elements as Operation objects, and does not inherit from ServiceDescriptionBaseCollection.

public abstract class 

ServiceDescriptionBaseCollection : CollectionBase { // Protected Instance Properties protected virtual IDictionary

Table {get; } // Protected Instance Methods protected virtual string

GetKey (object

value ); protected override void

OnClear ( ); // overrides System.Collections.CollectionBase protected override void

OnInsertComplete (int

index , object

value ); // overrides System.Collections.CollectionBase protected override void

OnRemove (int

index , object

value ); // overrides System.Collections.CollectionBase protected override void

OnSet (int

index , object

oldValue , object

newValue );// overrides System.Collections.CollectionBase protected virtual void

SetParent (object

value , object

parent ); }

Hierarchy

System.Object System.Collections.CollectionBase(System.Collections.IList, System.Collections.ICollection, System.Collections.IEnumerable) ServiceDescriptionBaseCollection

Subclasses

Multiple types