C# Класс InfoPathScraper.Utilities.BucketCounter

Utility class that keeps a count of how many occurences of a particular key there were. This can be generalized by making the BucketCounter be templated to the keyType.
Показать файл Открыть проект

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

Метод Описание
BucketCounter ( ) : System
DefineKey ( string key ) : void

Creates a key and initializes it to a count of zero.

IncrementKey ( string key ) : void

Make sure we have a counter for the key and increment it. Note that this is why I use Int32 objects instead of int

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

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

public BucketCounter ( ) : System
Результат System

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

Creates a key and initializes it to a count of zero.
public DefineKey ( string key ) : void
key string
Результат void

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

Make sure we have a counter for the key and increment it. Note that this is why I use Int32 objects instead of int
public IncrementKey ( string key ) : void
key string
Результат void