This file contains 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.Linq; | |
using System.Text; | |
namespace VenderMachine.Controllers | |
{ | |
/// <summary> | |
/// 自動販売機クラス | |
/// </summary> |
This file contains 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
/// <summary> | |
/// ジュースの在庫情報 | |
/// </summary> | |
public class StockOfJuiceInfo | |
{ | |
/// <summary> | |
/// 値段 | |
/// </summary> | |
public int Price { get; set; } |
This file contains 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
# language: ja | |
フィーチャ: 入力値によってFizzBuzzの文字列を返すことが出来る | |
(省略) | |
シナリオ: デシジョンテーブルの入力値によってFizzBuzzの文字列を返す | |
前提 以下のデシジョンテーブルによって入力値と動作を定義する | |
| 入力値 | 三の倍数 | 五の倍数 | 結果 | | |
| 3 | true | false | Fizz | | |
| 5 | false | true | Buzz | | |
| 15 | true | true | FizzBuzz | |
This file contains 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.Diagnostics; | |
using System.Globalization; | |
using TechTalk.SpecFlow; | |
using TechTalk.SpecFlow.Assist; | |
using Microsoft.VisualStudio.TestTools.UnitTesting; | |
namespace FizzBuzz.Specs | |
{ | |
public class Decision | |
{ |
This file contains 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.Globalization; | |
namespace FizzBuzz | |
{ | |
public class FizzBuzz | |
{ | |
private readonly int _inputNumber; | |
/// <summary> | |
/// コンストラクタ |
This file contains 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 Microsoft.VisualStudio.TestTools.UnitTesting; | |
namespace FizzBuzzTest | |
{ | |
[TestClass] | |
public class FizzBuzzTest | |
{ | |
public TestContext TestContext { get; set; } |
This file contains 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
# coding: UTF-8 | |
require "csv" | |
options = {:headers => true, | |
:return_headers => true, :write_headers => true} | |
delete_columns = %w{Path FileName} | |
CSV.filter(options) do |row| | |
if row.header_row? |
This file contains 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
型 'System.IO.FileNotFoundException' のハンドルされていない例外が azuremanagement.exe で発生しました | |
追加情報:ファイルまたはアセンブリ 'Microsoft.Threading.Tasks, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'、またはその依存関係の 1 つが読み込めませんでした。指定されたファイルが見つかりません。 |
This file contains 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
エラーメッセージ | |
System.Security.Cryptography.CryptographicException はユーザー コードによってハンドルされませんでした。 | |
HResult=-2147024894 | |
Message=The system cannot find the file specified. | |
Source=mscorlib | |
StackTrace: | |
at System.Security.Cryptography.CryptographicException.ThrowCryptographicException(Int32 hr) | |
at System.Security.Cryptography.X509Certificates.X509Utils._LoadCertFromBlob(Byte[] rawData, IntPtr password, UInt32 dwFlags, Boolean persistKeySet, SafeCertContextHandle& pCertCtx) | |
at System.Security.Cryptography.X509Certificates.X509Certificate.LoadCertificateFromBlob(Byte[] rawData, Object password, X509KeyStorageFlags keyStorageFlags) |
This file contains 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
// ---------------------------------------------------------------------------- | |
// Copyright (c) Microsoft Corporation. All rights reserved. | |
// ---------------------------------------------------------------------------- | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// http://www.apache.org/licenses/LICENSE-2.0 | |
// | |
// Unless required by applicable law or agreed to in writing, software |
OlderNewer