C# Class System.CodeDom.Tests.TempFileCollectionTests

显示文件 Open project: dotnet/corefx

Public Methods

Method Description
BasePath_TestData ( ) : IEnumerable
ICollection_NonGeneric_CopyTo_NonZeroLowerBound ( int count ) : void

Protected Methods

Method Description
AddToCollection ( ICollection collection, int numberOfItemsToAdd ) : void
NonGenericICollectionFactory ( ) : ICollection

Private Methods

Method 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 method

protected AddToCollection ( ICollection collection, int numberOfItemsToAdd ) : void
collection ICollection
numberOfItemsToAdd int
return void

BasePath_TestData() public static method

public static BasePath_TestData ( ) : IEnumerable
return IEnumerable

ICollection_NonGeneric_CopyTo_NonZeroLowerBound() public method

public ICollection_NonGeneric_CopyTo_NonZeroLowerBound ( int count ) : void
count int
return void

NonGenericICollectionFactory() protected method

protected NonGenericICollectionFactory ( ) : ICollection
return ICollection