C# Class SonarLint.VisualStudio.Integration.UnitTests.ConfigurableWritableSettingsStore

Inheritance: WritableSettingsStore
ファイルを表示 Open project: SonarSource-VisualStudio/sonarlint-visualstudio

Public Methods

Method Description
AssertBoolean ( string collectionPath, string key, bool value ) : void
AssertCollectionDoesNotExist ( string collectionPath ) : void
AssertCollectionExists ( string collectionPath ) : void
AssertCollectionPropertyCount ( string collectionPath, int numProperties ) : void
CollectionExists ( string collectionPath ) : bool
CreateCollection ( string collectionPath ) : void
DeleteCollection ( string collectionPath ) : bool
DeleteProperty ( string collectionPath, string propertyName ) : bool
GetBoolean ( string collectionPath, string propertyName ) : bool
GetBoolean ( string collectionPath, string propertyName, bool defaultValue ) : bool
GetInt32 ( string collectionPath, string propertyName ) : int
GetInt32 ( string collectionPath, string propertyName, int defaultValue ) : int
GetInt64 ( string collectionPath, string propertyName ) : long
GetInt64 ( string collectionPath, string propertyName, long defaultValue ) : long
GetLastWriteTime ( string collectionPath ) : System.DateTime
GetMemoryStream ( string collectionPath, string propertyName ) : MemoryStream
GetPropertyCount ( string collectionPath ) : int
GetPropertyNames ( string collectionPath ) : IEnumerable
GetPropertyType ( string collectionPath, string propertyName ) : SettingsType
GetString ( string collectionPath, string propertyName ) : string
GetString ( string collectionPath, string propertyName, string defaultValue ) : string
GetSubCollectionCount ( string collectionPath ) : int
GetSubCollectionNames ( string collectionPath ) : IEnumerable
GetUInt32 ( string collectionPath, string propertyName ) : uint
GetUInt32 ( string collectionPath, string propertyName, uint defaultValue ) : uint
GetUInt64 ( string collectionPath, string propertyName ) : ulong
GetUInt64 ( string collectionPath, string propertyName, ulong defaultValue ) : ulong
PropertyExists ( string collectionPath, string propertyName ) : bool
SetBoolean ( string collectionPath, string propertyName, bool value ) : void
SetInt32 ( string collectionPath, string propertyName, int value ) : void
SetInt64 ( string collectionPath, string propertyName, long value ) : void
SetMemoryStream ( string collectionPath, string propertyName, MemoryStream value ) : void
SetString ( string collectionPath, string propertyName, string value ) : void
SetUInt32 ( string collectionPath, string propertyName, uint value ) : void
SetUInt64 ( string collectionPath, string propertyName, ulong value ) : void

Method Details

AssertBoolean() public method

public AssertBoolean ( string collectionPath, string key, bool value ) : void
collectionPath string
key string
value bool
return void

AssertCollectionDoesNotExist() public method

public AssertCollectionDoesNotExist ( string collectionPath ) : void
collectionPath string
return void

AssertCollectionExists() public method

public AssertCollectionExists ( string collectionPath ) : void
collectionPath string
return void

AssertCollectionPropertyCount() public method

public AssertCollectionPropertyCount ( string collectionPath, int numProperties ) : void
collectionPath string
numProperties int
return void

CollectionExists() public method

public CollectionExists ( string collectionPath ) : bool
collectionPath string
return bool

CreateCollection() public method

public CreateCollection ( string collectionPath ) : void
collectionPath string
return void

DeleteCollection() public method

public DeleteCollection ( string collectionPath ) : bool
collectionPath string
return bool

DeleteProperty() public method

public DeleteProperty ( string collectionPath, string propertyName ) : bool
collectionPath string
propertyName string
return bool

GetBoolean() public method

public GetBoolean ( string collectionPath, string propertyName ) : bool
collectionPath string
propertyName string
return bool

GetBoolean() public method

public GetBoolean ( string collectionPath, string propertyName, bool defaultValue ) : bool
collectionPath string
propertyName string
defaultValue bool
return bool

GetInt32() public method

public GetInt32 ( string collectionPath, string propertyName ) : int
collectionPath string
propertyName string
return int

GetInt32() public method

public GetInt32 ( string collectionPath, string propertyName, int defaultValue ) : int
collectionPath string
propertyName string
defaultValue int
return int

GetInt64() public method

public GetInt64 ( string collectionPath, string propertyName ) : long
collectionPath string
propertyName string
return long

GetInt64() public method

public GetInt64 ( string collectionPath, string propertyName, long defaultValue ) : long
collectionPath string
propertyName string
defaultValue long
return long

GetLastWriteTime() public method

public GetLastWriteTime ( string collectionPath ) : System.DateTime
collectionPath string
return System.DateTime

GetMemoryStream() public method

public GetMemoryStream ( string collectionPath, string propertyName ) : MemoryStream
collectionPath string
propertyName string
return System.IO.MemoryStream

GetPropertyCount() public method

public GetPropertyCount ( string collectionPath ) : int
collectionPath string
return int

GetPropertyNames() public method

public GetPropertyNames ( string collectionPath ) : IEnumerable
collectionPath string
return IEnumerable

GetPropertyType() public method

public GetPropertyType ( string collectionPath, string propertyName ) : SettingsType
collectionPath string
propertyName string
return SettingsType

GetString() public method

public GetString ( string collectionPath, string propertyName ) : string
collectionPath string
propertyName string
return string

GetString() public method

public GetString ( string collectionPath, string propertyName, string defaultValue ) : string
collectionPath string
propertyName string
defaultValue string
return string

GetSubCollectionCount() public method

public GetSubCollectionCount ( string collectionPath ) : int
collectionPath string
return int

GetSubCollectionNames() public method

public GetSubCollectionNames ( string collectionPath ) : IEnumerable
collectionPath string
return IEnumerable

GetUInt32() public method

public GetUInt32 ( string collectionPath, string propertyName ) : uint
collectionPath string
propertyName string
return uint

GetUInt32() public method

public GetUInt32 ( string collectionPath, string propertyName, uint defaultValue ) : uint
collectionPath string
propertyName string
defaultValue uint
return uint

GetUInt64() public method

public GetUInt64 ( string collectionPath, string propertyName ) : ulong
collectionPath string
propertyName string
return ulong

GetUInt64() public method

public GetUInt64 ( string collectionPath, string propertyName, ulong defaultValue ) : ulong
collectionPath string
propertyName string
defaultValue ulong
return ulong

PropertyExists() public method

public PropertyExists ( string collectionPath, string propertyName ) : bool
collectionPath string
propertyName string
return bool

SetBoolean() public method

public SetBoolean ( string collectionPath, string propertyName, bool value ) : void
collectionPath string
propertyName string
value bool
return void

SetInt32() public method

public SetInt32 ( string collectionPath, string propertyName, int value ) : void
collectionPath string
propertyName string
value int
return void

SetInt64() public method

public SetInt64 ( string collectionPath, string propertyName, long value ) : void
collectionPath string
propertyName string
value long
return void

SetMemoryStream() public method

public SetMemoryStream ( string collectionPath, string propertyName, MemoryStream value ) : void
collectionPath string
propertyName string
value System.IO.MemoryStream
return void

SetString() public method

public SetString ( string collectionPath, string propertyName, string value ) : void
collectionPath string
propertyName string
value string
return void

SetUInt32() public method

public SetUInt32 ( string collectionPath, string propertyName, uint value ) : void
collectionPath string
propertyName string
value uint
return void

SetUInt64() public method

public SetUInt64 ( string collectionPath, string propertyName, ulong value ) : void
collectionPath string
propertyName string
value ulong
return void