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.Runtime.CompilerServices; | |
namespace Nandemoii | |
{ | |
/// <summary> | |
/// 各要素にランダムアクセス可能なリングバッファで実装されたQueue | |
/// </summary> | |
public class RandomAccessQueue<T> : IReadOnlyList<T> |
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
public class ConnectionStringResolver : IConnectionStringResolver<MyDbContext, long> | |
{ | |
public string GetConnectionStringForKey(long key) | |
{ | |
return "connection-string"; | |
} | |
} |
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.Runtime.ExceptionServices; | |
using System.Threading.Tasks; | |
using UnityEngine; | |
namespace Core.Concurrent | |
{ | |
public class CoroutineRunner | |
{ |
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
#Requires -Version 7.0 | |
Set-StrictMode -Version Latest | |
function CreateSubCommand { | |
param ( | |
$prof, | |
[bool]$admin | |
) | |
$regKeyName = $prof.guid |
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.Runtime.CompilerServices; | |
namespace Nandemoii | |
{ | |
public struct ListCore<T> | |
{ | |
public Memory<T> Memory; | |
public int Count; |