C# Класс System.Security.Authentication.ExtendedProtection.ServiceNameCollection

Наследование: System.Collections.ReadOnlyCollectionBase
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Contains ( string searchServiceName ) : bool
Merge ( IEnumerable serviceNames ) : ServiceNameCollection
Merge ( string serviceName ) : ServiceNameCollection
Merge ( System serviceNames ) : System.Security.Authentication.ExtendedProtection.ServiceNameCollection
Merge ( string serviceName ) : System.Security.Authentication.ExtendedProtection.ServiceNameCollection
ServiceNameCollection ( System items )
ServiceNameCollection ( ICollection items ) : System.Collections

Приватные методы

Метод Описание
AddIfNew ( IEnumerable serviceNames, bool expectStrings ) : void

Normalize, check for duplicates, and add each unique value.

AddIfNew ( IList serviceNames ) : void

Normalize, check for duplicates, and add each unique value.

AddIfNew ( List serviceNames ) : void

Normalize, check for duplicates, and add each unique value.

AddIfNew ( string serviceName ) : void

Normalize, check for duplicates, and add if the value is unique.

GetCountOrOne ( IEnumerable collection ) : int

Gets the collection Count, if available, otherwise 1.

NormalizeServiceName ( string inputServiceName ) : string
ServiceNameCollection ( IList list, IEnumerable serviceNames ) : System.Collections

Merges list and serviceNames into a new collection.

ServiceNameCollection ( IList list, int additionalCapacity ) : System.Collections
ServiceNameCollection ( IList list, string serviceName ) : System.Collections

Merges list and serviceName into a new collection.

Описание методов

Contains() публичный Метод

public Contains ( string searchServiceName ) : bool
searchServiceName string
Результат bool

Merge() публичный Метод

public Merge ( IEnumerable serviceNames ) : ServiceNameCollection
serviceNames IEnumerable
Результат ServiceNameCollection

Merge() публичный Метод

public Merge ( string serviceName ) : ServiceNameCollection
serviceName string
Результат ServiceNameCollection

Merge() публичный Метод

public Merge ( System serviceNames ) : System.Security.Authentication.ExtendedProtection.ServiceNameCollection
serviceNames System
Результат System.Security.Authentication.ExtendedProtection.ServiceNameCollection

Merge() публичный Метод

public Merge ( string serviceName ) : System.Security.Authentication.ExtendedProtection.ServiceNameCollection
serviceName string
Результат System.Security.Authentication.ExtendedProtection.ServiceNameCollection

ServiceNameCollection() публичный Метод

public ServiceNameCollection ( System items )
items System

ServiceNameCollection() публичный Метод

public ServiceNameCollection ( ICollection items ) : System.Collections
items ICollection
Результат System.Collections