- JSDoc整備
- md充実
- 複数プロパティバリデータ
- Map To Property 実装
- Map To Property 時にプロパティ名をデコレーター指定対応
- (AutoMapper暗黙変換(XxxToString, StringToNumber))
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
export default class Repository<E> { | |
user: User; | |
entityClass: ObjectType<E>; | |
entityManager: EntityManager; | |
constructor(user: User, entityClass: ObjectType<E>) { | |
this.user = user; | |
this.entityClass = entityClass; | |
this.entityManager = getManager(); | |
} |
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
{ | |
"manifest_version": 3, | |
"name": "ScreenCapture Test", | |
"version": "1.0", | |
"description": "ScreenCapture Test", | |
"permissions": ["activeTab", "debugger"], | |
"action": { | |
"default_popup": "popup.html" | |
} | |
} |
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
import { Component } from '@angular/core'; | |
@Component({ | |
selector: 'app-root', | |
templateUrl: './app.component.html', | |
styleUrls: ['./app.component.css'] | |
}) | |
export class AppComponent { | |
// #region fields |
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> | |
/// Anyサンプル | |
/// </summary> | |
private void Any() | |
{ | |
var arr = new int[] { 1, 5, 3, 8, 9 }; | |
bool result = false; | |
// LINQなし:配列に7を超える数値があればTrue | |
foreach (var num in arr) |
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
<div class="container-fluid" style="height: 100vh;"> | |
<div class="row" style="height: 10%; background-color: yellow;"> | |
10 | |
</div> | |
<div class="row" style="height: 80%; background-color: greenyellow;"> | |
<ul class="list-group" style="max-height: 100%; overflow-y:scroll; "> | |
<li class="list-group-item">item1</li> | |
<li class="list-group-item">item2</li> | |
<li class="list-group-item">item3</li> | |
<li class="list-group-item">item4</li> |
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
<div class="container-fluid" style="height: 100vh;"> | |
<div class="row" style="height: 100%;"> | |
<div class="col-xs-6 col-md-4" style="height: 100%; background-color: yellow;"> | |
.col-xs-6 .col-md-4 | |
</div> | |
<div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div> | |
<div class="col-xs-6 col-md-4"> | |
.col-xs-6 .col-md-4 | |
</div> | |
</div> |
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
// Place your settings in this file to overwrite the default settings | |
{ | |
// エディター | |
// 1 つのタブに相当するスペースの数。`editor.detectIndentation` がオンの場合、この設定はファイル コンテンツに基づいて上書きされます。 | |
"editor.tabSize": 4, | |
// 垂直ルーラーを表示する列 | |
"editor.rulers": [120], | |
// ファイルを開くと、そのファイルの内容に基づいて `editor.tabSize` と `editor.insertSpaces` が検出されます。 | |
"editor.detectIndentation": false, | |
// Ctrl キーを押しながらマウス ホイールを使用してエディターのフォントをズームします |
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> | |
/// ActiveTask完了まで待つ処理 | |
/// async void されてしまったTaskの完了を待つ | |
/// </summary> | |
public static void WaitActiveTasks() | |
{ | |
var m = typeof(Task).GetMethod("GetActiveTasks", BindingFlags.NonPublic | BindingFlags.Static); | |
while (true) | |
{ |
NewerOlder