C# Класс Microsoft.Protocols.TestManager.Detector.FileServerValueDetector

Наследование: IValueDetector
Показать файл Открыть проект

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

Метод Описание
CheckConfigrationSettings ( string>.Dictionary properties ) : bool

return false if check failed and set failed property in dictionary

Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetDetectedProperty ( Dictionary &propertiesDic ) : bool

Get the detect result.

GetDetectionSteps ( ) : List

Add Detection steps to the log shown when detecting

GetHiddenProperties ( List rules ) : List

Get the list of properties that will be hidden in the configure page.

GetPrerequisites ( ) : Microsoft.Protocols.TestManager.Detector.Prerequisites

Get the prerequisites for auto-detection.

GetSUTSummary ( ) : object

Get a summary of the detect result.

GetSelectedRules ( ) : List

Get rules status

RunDetection ( ) : bool

Run property autodetection.

SelectEnvironment ( string environment ) : void

Set selected test environment.

SetPrerequisiteProperties ( string>.Dictionary properties ) : bool

Set the values for the required properties.

Приватные методы

Метод Описание
CheckUsernamePassword ( FSDetector detector ) : bool
CreateRule ( string ruleCategoryName, bool hasFlag = true, DetectResult detectResult = DetectResult.Supported ) : Microsoft.Protocols.TestManager.Detector.CaseSelectRule
CreateShareList ( ) : List
DetectCreateContexts ( FSDetector detector ) : void
DetectIoctlCodes ( FSDetector detector ) : bool
DetectLocalNetworkInfo ( FSDetector detector ) : bool
DetectPlatformAndUserAccount ( FSDetector detector ) : void
DetectRSVD ( FSDetector detector ) : bool
DetectSMB2Info ( FSDetector detector ) : bool
DetectSQOS ( FSDetector detector ) : bool
DetectShareInfo ( FSDetector detector ) : bool
DetermineSymboliclink ( ) : void
GetAsymmetricShare ( ) : List
GetBottomLayerRuleName ( string fullName ) : string
GetShare ( ShareFlags_Values shareFlags, Share_Capabilities_Values shareCap = Share_Capabilities_Values.NONE ) : string
GetSpecialShare ( ) : string
GetUnsupportedItems ( List itemList ) : string
HasShare ( string shareName ) : bool
IsSymboliclink ( string path ) : bool
ParseShareFullPath ( ) : void
PingSUT ( FSDetector detector ) : bool

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

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

return false if check failed and set failed property in dictionary
public CheckConfigrationSettings ( string>.Dictionary properties ) : bool
properties string>.Dictionary
Результат bool

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

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

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

Get the detect result.
public GetDetectedProperty ( Dictionary &propertiesDic ) : bool
propertiesDic Dictionary
Результат bool

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

Add Detection steps to the log shown when detecting
public GetDetectionSteps ( ) : List
Результат List

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

Get the list of properties that will be hidden in the configure page.
public GetHiddenProperties ( List rules ) : List
rules List All rules with status: Selected, NotSupported, Unknown or Default
Результат List

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

Get the prerequisites for auto-detection.
public GetPrerequisites ( ) : Microsoft.Protocols.TestManager.Detector.Prerequisites
Результат Microsoft.Protocols.TestManager.Detector.Prerequisites

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

Get a summary of the detect result.
public GetSUTSummary ( ) : object
Результат object

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

Get rules status
public GetSelectedRules ( ) : List
Результат List

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

Run property autodetection.
public RunDetection ( ) : bool
Результат bool

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

Set selected test environment.
public SelectEnvironment ( string environment ) : void
environment string
Результат void

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

Set the values for the required properties.
public SetPrerequisiteProperties ( string>.Dictionary properties ) : bool
properties string>.Dictionary Property name and values.
Результат bool