C# 클래스 Microsoft.Protocols.TestManager.Detector.FileServerValueDetector

상속: IValueDetector
파일 보기 프로젝트 열기: Microsoft/WindowsProtocolTestSuites

공개 메소드들

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