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.
파일 보기 프로젝트 열기: OfficeDev/PnP-Transformation

공개 메소드들

메소드 설명
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