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 ConstrainedRequestPostProcessor<TRequest, TResponse> | |
: IRequestPostProcessor<TRequest, TResponse> | |
where TRequest : class | |
{ | |
public ConstrainedRequestPostProcessor() | |
{ | |
} | |
public Task Process(TRequest request, TResponse response, CancellationToken cancellationToken) | |
{ |
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
@echo OFF | |
cd Game.Auth | |
echo starting auth server | |
start godot -d --no-window | |
cd .. | |
cd Game.Gateway | |
echo starting gateway | |
start godot -d --no-window |
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; | |
namespace Project.Repository | |
{ | |
public interface IRepository<TEntity> where TEntity : class | |
{ | |
IEnumerable<TEntity> GetAll(); | |
IEnumerable<TEntity> GetAllByExpression(Func<TEntity, bool> expression); |
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 Microsoft.AspNetCore.Mvc; | |
using Microsoft.AspNetCore.Mvc.Filters; | |
using Microsoft.AspNetCore.Mvc.Formatters; | |
using Newtonsoft.Json; | |
using Newtonsoft.Json.Serialization; | |
using System; | |
using System.Buffers; | |
namespace MyProject.Filters | |
{ |