C# Класс Dev2.Activities.Specs.Scheduler.SchedulerSteps

Показать файл Открыть проект

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

Метод Описание
AccountExists ( string name ) : bool
AddUserToGroup ( string groupName, System.DirectoryServices.AccountManagement.PrincipalContext context, System.DirectoryServices.AccountManagement.UserPrincipal user ) : void
CreateLocalWindowsAccount ( string username, string password, string groupName ) : bool
GetUserSecurityIdentifier ( string name ) : System.Security.Principal.SecurityIdentifier
UpdateTrigger ( IScheduledResource task, TechTalk.SpecFlow.Table table ) : void

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

Метод Описание
CreateScheduleTrigger ( TechTalk.SpecFlow.Table table ) : Microsoft.Win32.TaskScheduler.Trigger
GetDays ( string split ) : DaysOfTheWeek
GivenExecutesAnWorkflow ( string scheduleName, string workFlow ) : void
GivenHasAScheduleOf ( string scheduleName, TechTalk.SpecFlow.Table table ) : void
GivenHasAUsernameOfAndAPasswordOf ( string scheduleName, string userName, string password ) : void
GivenIHaveASchedule ( string scheduleName ) : void
GivenTaskHistoryIs ( string scheduleName, int history ) : void
GivenTheTaskStatusIs ( string schedule, string status ) : void
ThenHasRowOfHistory ( string scheduleName, int history ) : void
ThenTheHistoryDebugOutputForForRowIs ( string p0, int p1, TechTalk.SpecFlow.Table table ) : void
ThenTheScheduleStatusIs ( string status ) : void
ThenTheScheduleTaskHasError ( string error ) : void
WhenTheIsExecutedTimes ( string scheduleName, int times ) : void

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

AccountExists() публичный статический Метод

public static AccountExists ( string name ) : bool
name string
Результат bool

AddUserToGroup() публичный статический Метод

public static AddUserToGroup ( string groupName, System.DirectoryServices.AccountManagement.PrincipalContext context, System.DirectoryServices.AccountManagement.UserPrincipal user ) : void
groupName string
context System.DirectoryServices.AccountManagement.PrincipalContext
user System.DirectoryServices.AccountManagement.UserPrincipal
Результат void

CreateLocalWindowsAccount() публичный статический Метод

public static CreateLocalWindowsAccount ( string username, string password, string groupName ) : bool
username string
password string
groupName string
Результат bool

GetUserSecurityIdentifier() публичный статический Метод

public static GetUserSecurityIdentifier ( string name ) : System.Security.Principal.SecurityIdentifier
name string
Результат System.Security.Principal.SecurityIdentifier

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

public UpdateTrigger ( IScheduledResource task, TechTalk.SpecFlow.Table table ) : void
task IScheduledResource
table TechTalk.SpecFlow.Table
Результат void