This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CharacterData MakeAllTheViewModels( | |
const std::string& fileName, const std::string& username, const std::string& password) | |
{ | |
auto characterFile = CharacterFile::From(fileName); | |
auto configFile = ConfigFile::Matching(characterFile); | |
auto partialCards = characterFile.ParseCards(); | |
auto localCards = configFile.ParseCards(); | |
auto compendiumService = CompendiumService::Authenticate(username, password); | |
auto cardService = CardService::Authenticate(username, password); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var pipeline = new Pipeline(CharacterFile.From) | |
{ | |
new ResultCollector<CharacterFile>(), | |
new Pipeline(ConfigFile.Matching) | |
{ | |
new ResultCollector<ConfigFile>(), | |
}, | |
new Pipeline(_ => _.ParseCards()) | |
{ | |
new ResultCollector<List<CardData>>(), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def main(): | |
return (MergeDownProcess(_WORKSPACE_DIR) | |
.get_user_intent() | |
.ensure_on_sparse_branch() | |
.ensure_no_files_opened() | |
.ensure_something_to_integrate() | |
.merge() | |
.create_changelist_for_any_changes() | |
.ensure_resolved() | |
.submit_any_changes() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def main(): | |
return (MergeDownProcess(_WORKSPACE_DIR) | |
.get_user_intent() | |
.ensure_on_sparse_branch() | |
.ensure_no_files_opened() | |
.ensure_something_to_integrate() | |
.merge() | |
.create_changelist_for_any_changes() | |
.ensure_resolved() | |
.submit_any_changes() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def main(): | |
return (MergeDownProcess(_WORKSPACE_DIR) | |
.get_user_intent() | |
.ensure_on_sparse_branch() | |
.ensure_no_files_opened() | |
.ensure_something_to_integrate() | |
.merge() | |
.create_changelist_for_any_changes() | |
.ensure_resolved() | |
.submit_any_changes() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using FluentAssertions; | |
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
namespace UnitTestProject1 | |
{ | |
[TestClass] | |
public class UnitTest1 | |
{ | |
[TestMethod] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-08-28T19:24:37.953Z","extensionVersion":"v3.4.3"} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class HtmlRequestMessageData | |
{ | |
public readonly string Content; | |
public readonly HttpMethod Method; | |
public readonly Uri RequestUri; | |
[JsonConstructor] | |
HtmlRequestMessageData(HttpMethod method, Uri requestUri, string content) | |
{ | |
this.Method = method; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Net; | |
using System.Net.Http; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using FluentAssertions; | |
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
class PlaybackHtmlMessageHandler : HttpClientHandler |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Size | |
{ | |
int m_width; | |
int m_height; | |
public: | |
Size(int width, int height) | |
: m_width(width) | |
, m_height(height) | |
{} |