Пример #1
0
        public string PUT_ToBinaryStackSummaryTest([PexAssumeUnderTest] StackClient clientStack, int n)
        {
            //var clientStack = new StackClient();

            string output = clientStack.ToBinaryStackSummary(n);

            return(output);
        }
Пример #2
0
        public UploadForm(AssemblyConfig config, string[] paths)
        {
            InitializeComponent();
            Icon = Resources.icon;

            _friendlyShareName = paths.Length > 1 ? Path.GetFileName(Path.GetDirectoryName(paths[0])) : Path.GetFileName(paths[0]);
            Text = string.Format(Text, _friendlyShareName);
            _cancelationTokenSource = new CancellationTokenSource();
            _client = new StackClient(config, _cancelationTokenSource.Token);
            _paths  = paths;

            Load += (sender, e) => StartWork();
        }
Пример #3
0
 public StackFacade()
 {
     _client = new StackClient();
 }