C# Class System.CodeDom.Tests.TempFileCollectionTests

Afficher le fichier Open project: dotnet/corefx

Méthodes publiques

Méthode Description
BasePath_TestData ( ) : IEnumerable
ICollection_NonGeneric_CopyTo_NonZeroLowerBound ( int count ) : void

Méthodes protégées

Méthode Description
AddToCollection ( ICollection collection, int numberOfItemsToAdd ) : void
NonGenericICollectionFactory ( ) : ICollection

Private Methods

Méthode Description
AddExtension_InvalidFileExtension_ThrowsArgumentException ( string fileExtension ) : void
AddFile ( bool fileExists, bool keepFile ) : void
AddFileExtension ( ) : void
AddFile_DuplicateFileName_ThrowsArgumentException ( ) : void
AddFile_InvalidFileName_ThrowsArgumentException ( string fileName ) : void
AddFile_MultipleFiles_DeletesAllIfKeepFilesFalse ( bool keepFiles ) : void
BasePath_Get ( string tempDir ) : void
CopyTo ( ) : void
Ctor_Empty ( ) : void
Ctor_String ( string tempDir ) : void
Ctor_String_Bool ( string tempDir, bool keepFiles ) : void
GetEnumerator_Empty_ReturnsFalse ( ) : void
TempDirectory ( ) : string

Method Details

AddToCollection() protected méthode

protected AddToCollection ( ICollection collection, int numberOfItemsToAdd ) : void
collection ICollection
numberOfItemsToAdd int
Résultat void

BasePath_TestData() public static méthode

public static BasePath_TestData ( ) : IEnumerable
Résultat IEnumerable

ICollection_NonGeneric_CopyTo_NonZeroLowerBound() public méthode

public ICollection_NonGeneric_CopyTo_NonZeroLowerBound ( int count ) : void
count int
Résultat void

NonGenericICollectionFactory() protected méthode

protected NonGenericICollectionFactory ( ) : ICollection
Résultat ICollection