C# Class Tp.Mercurial.MercurialPluginProfile

Inheritance: Tp.SourceControl.Settings.ConnectionSettings, ISynchronizableProfile, IValidatable
显示文件 Open project: TargetProcess/Target-Process-Plugins Class Usage Examples

Private Properties

Property Type Description
IsCommonUri bool
IsFileUri bool
IsFileshareUri bool
IsSshUri bool
StartRevisionShouldBeNotLessThanMin bool
StartRevisionShouldBeValidDate bool
StartRevisionShouldNotExceedTheMax bool
UriContainsCreditials bool
UriContainsLoginOnly bool
ValidateCredentialsInUri void
ValidateUriFormat void
ValidateUriIsNotEmpty void
ValidateUserMapping void

Public Methods

Method Description
MercurialPluginProfile ( ) : System
Validate ( PluginProfileErrorCollection errors ) : void
ValidateStartRevision ( PluginProfileErrorCollection errors ) : bool
ValidateUri ( PluginProfileErrorCollection errors ) : void

Private Methods

Method Description
IsCommonUri ( ) : bool
IsFileUri ( ) : bool
IsFileshareUri ( ) : bool
IsSshUri ( ) : bool
StartRevisionShouldBeNotLessThanMin ( PluginProfileErrorCollection errors ) : bool
StartRevisionShouldBeValidDate ( PluginProfileErrorCollection errors ) : bool
StartRevisionShouldNotExceedTheMax ( PluginProfileErrorCollection errors ) : bool
UriContainsCreditials ( ) : bool
UriContainsLoginOnly ( ) : bool
ValidateCredentialsInUri ( PluginProfileErrorCollection errors ) : void
ValidateUriFormat ( PluginProfileErrorCollection errors ) : void
ValidateUriIsNotEmpty ( PluginProfileErrorCollection errors ) : void
ValidateUserMapping ( PluginProfileErrorCollection errors ) : void

Method Details

MercurialPluginProfile() public method

public MercurialPluginProfile ( ) : System
return System

Validate() public method

public Validate ( PluginProfileErrorCollection errors ) : void
errors PluginProfileErrorCollection
return void

ValidateStartRevision() public method

public ValidateStartRevision ( PluginProfileErrorCollection errors ) : bool
errors PluginProfileErrorCollection
return bool

ValidateUri() public method

public ValidateUri ( PluginProfileErrorCollection errors ) : void
errors PluginProfileErrorCollection
return void