blob_id large_stringlengths 40 40 | language large_stringclasses 1
value | repo_name large_stringlengths 5 119 | path large_stringlengths 4 271 | score float64 2.52 4.84 | int_score int64 3 5 | text stringlengths 26 4.09M |
|---|---|---|---|---|---|---|
9fba9687afd83faf8ca89e2afc536952f4a5e872 | C# | eksotama/QueryBuilder-9 | /QueryBuilder/Core/Utils/LogException.cs | 2.953125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Core.Utils
{
public class LogException
{
private String logFile;
private String message;
private Exception innerException;
private String functionName;
... |
5dd76f6a43401667e1c5853154d440afde0d38c5 | C# | Total1880/OlavCrypto | /OlavCrypto.Repositories/CryptocurrenyHistoryRepository.cs | 2.546875 | 3 | using OlavCrypto.Models;
using OlavCrypto.Repositories.RestClient;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OlavCrypto.Repositories
{
class CryptocurrenyHistoryRepository : IRepository<CryptocurrencyHistory>
{
private... |
31e389e4cb58fea3831e5931b8d6b25198757e0a | C# | sextondjc/Drapper | /Drapper/IDbCommander.Query.cs | 2.796875 | 3 | // =============================================================================================================================
// author : david sexton (@sextondjc | sextondjc.com)
// date : 2015.12.23 (23:44)
// modified : 2017-02-19 (22:30)
// licence : This file is subject to the terms and... |
e86f1983884bde61a18cd2082e82df31fe9405a8 | C# | khartoum-cyber/OsmanskiQueryEngine | /QueryEngine.cs | 3.0625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace OsmanskiQueryEngine
{
public class QueryEngine
{
List<User> Users { get; set; } = new List<User>();
private void DisplayContactDetails(User user)
{
Console.Wr... |
31e413e6c82c4d7d4ff616221cca6ea976ccbea3 | C# | Demiez/hv_warehouse | /hv_warehouse/Controllers/PartController.cs | 2.609375 | 3 | using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using hv_warehouse.Models;
using Microsoft.EntityFrameworkCore;
namespace hv_warehouse.Controllers
{
[Route("[controller]")]
[ApiController]
public class PartController : ControllerBase
{
private readonly warehouse_dbContext _contex... |
edaeffc2be70df4f02c86d6902a886d904882690 | C# | berkekurnaz/Passku | /Passku.Generator/Generate.cs | 2.984375 | 3 | using Passku.Generator.Abstract;
using Passku.Generator.Helpers;
using System;
using System.Collections.Generic;
using System.Text;
namespace Passku.Generator
{
public class Generate : IGenerate
{
GetWord getWord = new GetWord();
GetNumber getNumber = new GetNumber();
GetSymbol getSym... |
8630ea19712a7e124788931deac983ac12097949 | C# | grapek9/Learning | /CSharp/ProjectEuler/ProjectEuler/Problem15.cs | 3.46875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;
namespace ProjectEuler
{
class Problem15
{
public void run()
{
int numberOfMoves = 20;
int gridSize = 40;
Console.WriteLi... |
be1c5dbfa37934480e3facc46de09214d848d2dd | C# | MPrzybolewski/dotNetTests | /DotNetTests/MatrixLib/MyMatrix.cs | 2.734375 | 3 | using MatrixLib.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MatrixLib
{
public class MyMatrix<T> where T : new()
{
public int Rows => Matrix.GetLength(0);
public int Columns => Matrix.GetLength(1);
... |
550c18e36720105ae3dcbbca8677ce0b613d71b7 | C# | parthiban-arthanari/datastructure | /Sample/Sample/BackTracking/DependentSubject.cs | 3.28125 | 3 | using System;
using System.Collections.Generic;
namespace Sample.BackTracking
{
public class DependentSubject
{
public static DependentSubject Instance = new DependentSubject();
int numofcourse;
int[][] dependencies;
private void Read()
{
numofcourse = 3;
... |
01fd24ff68c5515ad3761f4556b27e032d203db8 | C# | boubad/StatDataStoreSolution | /StatApp/ModelView/Hierar.cs | 2.5625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using StatData;
namespace StatApp.ModelView
{
public enum TreeLinkType
{
linkmean, linkmin, linkmax
}
public class TreeItem
{
#region Instance... |
27d0c6617c986bc99cb7b99a7624684ede937b38 | C# | MantasPtr/Software-design | /lab3/GenericBasedMap/extention/PSP3-extention/extections/ImageBrighnessAdjustor.cs | 3.046875 | 3 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PSI_extention.extections
{
class ImageBrighnessAdjustor: IImageExtention
{
private int _brightness;
public int Brightness
{
ge... |
64cf77b53ddc431a717f2a6608a2850d079d9b1f | C# | Lbgomes/conexao-vagas | /Conexao Vagas Backend/Interfaces/IEmpresaRepository.cs | 2.625 | 3 | using ConexaoVagasAPI.Domains;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ConexaoVagasAPI.Interfaces
{
interface IEmpresaRepository
{
/// <summary>
/// //Lista todos as empresas
/// </summary>
/// <returns>Uma list... |
aa37e2fe3e47d295cf1829a07e752d53d00c95e6 | C# | Ch3shireDev/WIT-Zajecia | /semestr-8/Jezyk C#/alexander/PCS/2023s/ID06IO1/SimpleCalculator/SimpleCalculator/SimpleCalculatorMainForm.cs | 2.703125 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SimpleCalculator
{
public partial class SimpleCalculatorMainForm : Form
{
Inpu... |
7f7909d5606db67e3d7d960729574a7d6a30d698 | C# | pnemi/2048-CS | /src/Board.cs | 3.375 | 3 | using System;
using System.IO;
using System.Collections.Generic;
public class Board {
public Board (int size) {
Size = size;
Score = 0;
EmptyTiles = Size * Size;
InitTiles = 2;
GameOver = false;
GenNewTile = false;
Tiles = new List<List<Tile>>();
Start();
}
private readonly string FILEPATH = @"h... |
0d6363a059ae826430d9858dec24b9c0e33c911b | C# | ViveportSoftware/vita_shell_csharp | /source/Htc.Vita.Shell/LinkManager.cs | 2.59375 | 3 | using System;
using Htc.Vita.Core.Log;
using Htc.Vita.Core.Util;
namespace Htc.Vita.Shell
{
/// <summary>
/// Class LinkManager.
/// </summary>
public abstract partial class LinkManager
{
/// <summary>
/// Initializes static members of the <see cref="LinkManager" /> class.
/... |
31500c17b21b376255bb50a8406214ac1bfea126 | C# | Random-94/Lea_Mathilde_Marwane_2D | /Assets/Script/Notre_Scene_Loading.cs | 2.578125 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement; // on rajoute le namespace scenemanagement pour gérer le changement de scene
public class Notre_Scene_Loading : MonoBehaviour
{
[SerializeField] private GameObject Loading_Screen; // on referen... |
e8e4e1329e595376629cbe75efa424510a01c0c8 | C# | Hippukki/SportClubDB | /SportClubDB/ViewModel/ViewModelAddTrainer.cs | 2.75 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace SportClubDB
{
public class ViewModelAddTrainer
{
Trainer trainer;
public string Name { get; set; }
public string Surname { get; set; }
... |
90fd40cd5889277756f50acf023c4065cd1bc32f | C# | jwelsch/DealerOnProblemOne | /Test/ApplicationTests/EstablishGridCommandTest.cs | 2.984375 | 3 | using DealerOnProblemOne;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
namespace ApplicationTests
{
[TestClass]
public class EstablishGridCommandTest
{
[TestMethod]
public void CorrectInstructionsShouldCreateObjectSuccessfully()
{
var instructions =... |
2c4ff5fd8203be7aa0bbda99066bd7e1855830ef | C# | hikipuro/SharpGlyph | /SharpGlyph/SharpGlyph/Tables/CFF/CFFCharset2.cs | 2.90625 | 3 | using System;
using System.Text;
namespace SharpGlyph {
public class CFFCharset2 : CFFCharset {
public CFFRange2[] Range2;
public static new CFFCharset2 Read(BinaryReaderFont reader, int count) {
CFFCharset2 value = new CFFCharset2 {
format = reader.ReadByte()
};
value.Range2 = CFFRange2.ReadArray(... |
ad9ebfca9f3f6d77631de6889a4925cfc03d32e7 | C# | Filipedguy/RestfulExampleFR | /src/Library.API/Services/PropertyMappingService.cs | 2.75 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Library.API.Entities;
using Library.API.Models;
namespace Library.API.Services
{
public class PropertyMappingService : IPropertyMappingService
{
private Dictionary<string, PropertyMappingValue> _auth... |
7f6d65792538ac25bbf895a95f3b668e8edfb722 | C# | EnjiRouz/2D-Fantasy-Game | /Assets/Characters/MainCharactersScripts/CameraFollow.cs | 2.75 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraFollow : MonoBehaviour {
/// настройки размеров камеры (используется для настройки
/// сцен разных размеров, чтобы не выходить за рамки карты)
public float xMax=32;
public float xMin=-32;
public fl... |
dad4b664f1e41139c23c06f2559e4452746ce095 | C# | A-G-K/devteam-prototype2 | /Assets/Scripts/Services/PlayersManager.cs | 2.5625 | 3 | /*using System.Collections.Generic;
using Player;
using UnityEngine;
public class PlayersManager : IGameService
{
private readonly List<PlayerScript> _players = new List<PlayerScript>();
public int AddPlayer(PlayerScript playerScript)
{
// // Checks if player exists already and if not add to ... |
ff8d996e5d8e929ff310d094e44aee6bdd60dfaa | C# | idursun/StateMachines | /src/EventMachine.Core/Nodes/Consts/ConstValueFunction.cs | 2.546875 | 3 | namespace EventMachine.Core.Nodes.Consts
{
public class ConstValueFunction<T> : WorkflowFunction
{
private readonly T m_value;
public ConstValueFunction(T value)
{
m_value = value;
}
[Output]
public T Value { get; set; }
public override voi... |
b4725d43f067a38caa1bd60ae889f05d6e1e1943 | C# | MattPaul25/Database_Error_Reporting | /DB_DailyErrorReporting/GenerateEmail.cs | 2.703125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Configuration;
using System.IO;
namespace DB_DailyErrorReporting
{
class GenerateEmail
{
private string sqlString;
private string users;
private string excelFolder;
... |
be1dfe814e22aab830e284aad3d0e5eec79c7737 | C# | elerq0/ProADAdminClient | /ADAdmin/Models/Users.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Net;
using System.Net.Http;
using System.Timers;
using Newtonsoft.Json;
namespace ADAdmin.Models
{
public class Users
{
public List<Objects.User> List;
private System.Timers.Timer Timer;
private... |
9055f351ca87f83a226c8a4fe18b14ae62227ee3 | C# | CopperTeam/Copper | /Libraries/Copper.Data/Repositories/Customers/ICustomerRepository.cs | 2.640625 | 3 | using System.Collections.Generic;
using Copper.Core.Domain.Customers;
namespace Copper.Data.Repositories.Customers
{
public interface ICustomerRepository
{
/// <summary>
/// Get customer by identifier
/// </summary>
/// <param name="id">Identifier</param>
/// <returns>c... |
eb0dc61d0653dde7d053635ce3d883399d6a6b37 | C# | maydinunlu/CSharp-DesignPatterns | /DesignPatterns/Builder/Pattern/Director.cs | 2.609375 | 3 | namespace DesignPatterns.Builder
{
public class Director
{
private IBuilder _builder;
public Director(IBuilder builder)
{
_builder = builder;
}
public void BuildSportCar()
{
_builder.Reset();
_builder.SetSeats(2);
... |
d368d12fbc94d47e3c543749a6db2b1b69ba4795 | C# | giokeyboard/CodingBat | /CSharp/Map-2/allSwap/allSwap/Program.cs | 3.734375 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace allSwap
{
class Program
{
static void Main(string[] args)
{
/*
* We'll say that 2 strings "match" if they are non-empty and their first chars a... |
0f73ba89608e6dc9a1f857cc6032bbc0f0fca0db | C# | gvaduha/neural-bench | /DataProvider.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Drawing;
using Microsoft.ML.OnnxRuntime;
using Microsoft.ML.OnnxRuntime.Tensors;
namespace gvaduha
{
class InDataProvider
{
Size _size;
readonly byte[] _etalon;
const int Channels = 3;
int _datalen;
... |
09615420d4d5006964c53f0ea7637b6235ed5fe9 | C# | BorislavVladimirov/CSharp-Software-University | /C# TechModule January 2019/AssociativeArrays/Orders/Program.cs | 3.515625 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
namespace Orders
{
class Program
{
static void Main(string[] args)
{
var products = new Dictionary<string, Dictionary<double,double>>();
string input = Console.ReadLine();
while (input != ... |
f3ddad50395faaab8dcb89c1b7246d2ed80d2154 | C# | WIlliamGitHub2018/Cp.Web | /Cp.Model/Attributes/RequiredAttribute.cs | 2.890625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cp.Model.Attributes
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
public class RequiredAttribute : ValidateAttribute
{
public RequiredAttribute(str... |
acae453e627c70db8b1af385d873e23ac02eaf62 | C# | cmagoun/RealmSharp | /RealmSharpTests/HexMapTests.cs | 2.734375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using RealmSharp.GameObjects;
namespace RealmSharpTests
{
public class HexMapTests
{
[Test]
public void CanFindClearingsAtDistance()
{
var hm = new HexMap();
... |
4c7815fd55d23c4dadcb249a3e27d40c38c6087a | C# | AndreZila01/Projects-C-sharp | /GamesForGood/Library/PackageCache/com.unity.visualscripting@1.8.0/Runtime/VisualScripting.Core/Collections/NonNullableCollection.cs | 2.890625 | 3 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace Unity.VisualScripting
{
public abstract class NonNullableCollection<T> : Collection<T>
{
protected override void InsertItem(int index, T item)
{
if (item == null)
{
... |
1e37663980e8de38345c5b3eeff780a0b739095f | C# | NoobDevGame/GameJam2017 | /GameJam2017/NoobFight.Core/Network/Messages/WorldListResponseMessage.cs | 2.953125 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NoobFight.Core.Network.Messages
{
public class WorldListResponseMessage : NetworkMessage
{
public string[] Worlds { get; set; }
public override Message... |
4404bc75cece6b919112b219bce8f93bcb3ca379 | C# | bkelley361/APIs-Project-Class | /PokeApi.NET-v2/PokeApi.NET/HttpBackend.cs | 3.015625 | 3 | using System;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
namespace PokeAPI
{
public class HttpBackend : IDataBackend
{
public readonly static string
DefaultSiteURL = "https://pokeapi.co",
DefaultBaseURL = DefaultSiteURL + "/api/v2/",
Defau... |
ba6aa96388f9ed4973abff7b8aa48d9ff7312361 | C# | zulaldogan/unity-csharp-advanced | /Structs & Classes v2/Assets/Player.cs | 2.703125 | 3 | using UnityEngine;
[System.Serializable]
public class Book
{
public int price;
public string title;
public string author;
public Book(int p, string t, string a)
{
this.price = p;
this.title = t;
this.author = a;
}
}
[System.Serializable]
public struct Game
{
publi... |
043a2b953dcc4bba3abdb1c28c6982fff662cd13 | C# | OsvaldoMartini/BDD_Projects | /BSC_Code_Tests/BSC.Code.Test/PrintMultipleOfInArraySteps.cs | 3.21875 | 3 | using System;
using System.Collections.Generic;
using BSC.Code.Library.Utils;
using NUnit.Framework;
using TechTalk.SpecFlow;
using TechTalk.SpecFlow.Assist;
namespace BSC.Code.Test
{
class InputClass
{
public int item { get; set; }
public string message { get; set; }
public int multip... |
486a445f0dcd9e3d46cbce72247fe2679ac2dbec | C# | shendongnian/download4 | /code3/469243-10657520-24575813-4.cs | 3.265625 | 3 | // Write our new data to a temp file and read the old file On The Fly
var temp = Path.GetTempFileName();
try
{
File.WriteAllLines(
temp,
File.ReadLines(path)
.Where(
ll => ll.StartsWith(user, StringComparison.OrdinalIgnoreCase)));
... |
6705ffe17e5be686d62b2aae8fe8d19bd509c7a2 | C# | ethanjaredlee/tsuro | /TsuroTheSecondTests/ToXmlTest.cs | 2.828125 | 3 | using System;
using System.Xml;
using System.Xml.Linq;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TsuroTheSecond;
namespace TsuroTheSecondTests
{
[TestClass]
public class ToXmlTest
{
ToXml converter;
string name;
Tile testTile1;
... |
fcc24fa5d75eaa3e7e79e7d012e51115a6788d6a | C# | yonglehou/Linq2Couchbase | /Src/Couchbase.Linq/BucketQueryExecuter.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Couchbase.Core;
using Couchbase.Linq.QueryGeneration;
using Couchbase.N1QL;
using Newtonsoft.Json;
using Remotion.Linq;
using Remotion.Linq.Clauses.ResultOperators;
namespace Couchbase.Linq
{
public class BucketQueryExecut... |
6650b9f09008f736523bf9472ea0ce8d0743c1bd | C# | Marcelo-Zometa/UnitCalculator | /Calculator/Unit.cs | 3.40625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace Calculator
{
public abstract class Unit
{
//private string ToUnit = null;
//private string ThisUnit = null;
private double ToInch = 0;
private double ToFeet = 0;
private double ToMile = 0;
... |
6b07f432bcbdfa9d6fb00a67efda565360011318 | C# | bernardobrezende/NSquare | /tests/NSquare.Tests/API/UserTests.cs | 3.09375 | 3 | using System;
using NSquare.API;
using NUnit.Framework;
namespace NSquare.Tests.API
{
public class UserTests
{
#region User ID, Equality and HashCode
[Test]
public void User_Has_Id_And_It_Must_Be_Readonly()
{
string userId = "156745487";
User user = new... |
da8a81d2e1e7e65945948760c0815b0dbbb596a7 | C# | s103n/FairyTale-Console-FoxAndCrate | /EpamHometask2/FairyTales/FoxAndCrane/Entities/Animals/Fox.cs | 2.59375 | 3 | namespace EpamHometask2
{
sealed class Fox : FoxAndCraneAnimal
{
public Fox() : base()
{
Type = AnimalType.Fox;
Name = "Лис";
}
public override DishType GoodDish => DishType.BananaInFlatPlate;
public override DishType NormalDish => DishType.Veg... |
7dd8e4a2db87f6878b3e9155403789d02791abf6 | C# | ugurcanyksl/MVChomework | /MVCProject/MODEL/Entities/AppUser.cs | 2.5625 | 3 | using CORE.CoreEntity;
using System;
using System.ComponentModel.DataAnnotations;
namespace MODEL.Entities
{
public class AppUser: EntityRepository
{
//[MaxLength(50,ErrorMessage ="50 karakterden fazla giriş yapılamaz")]
public string Name { get; set; }
//[MaxLength(50, ErrorMessage =... |
1bbf2dcea5fcea520e3be8199c1183ffdf1e784f | C# | jvujcic/Boolean-Model-Checker | /src/BMC/BooleanModelChecker/ControlFlowGraph/CFGNode.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using CommonAST = antlr.CommonAST;
namespace BooleanModelChecker.ControlFlowGraph
{
public abstract class CFGNode
{
private static int CFGNodeHashIndex = 0;
private int HashCode;
protected int StartSourceLine;
... |
9cafa4b7ba5df7821c20ae42ac3c44a7b7a541a1 | C# | Master-MiShutka/TMPApps | /src/LIBRARY/WpfMouseWheel/Windows/MotionFlow/MotionSource.cs | 2.578125 | 3 | namespace WpfMouseWheel.Windows.MotionFlow
{
using System;
using System.Diagnostics;
public interface INativeMotionSourceInput : INativeMotionInput
{
void Transmit(int timeStamp, int nativeDelta);
}
public interface INativeMotionConverter
{
int NativeResolutionFrequency
... |
b002df7c90d9f0026ae5b24cb7812b13df5704ec | C# | charanpasham/Pokemon | /PokemonAPI/Controllers/PokemonController.cs | 2.609375 | 3 | using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using PokemonAPI.Module;
using PokemonAPI.Models;
namespace PokemonAPI.Controllers
{
[ApiController]
[Route("[controller]")]
public class PokemonController : ControllerBase
{
private r... |
4fba148ef501e93c0e2b1090a3a4dd3db2d352a1 | C# | ProfessionalCSharp/ProfessionalCSharp7 | /StringsAndRegularExpressions/RegularExpressionPlayground/Program.cs | 3.125 | 3 | using System;
using System.Text.RegularExpressions;
namespace RegularExpressionPlayground
{
class Program
{
const string text =
"Professional C# 6 and .NET Core 1.0 provides complete coverage " +
"of the latest updates, features, and capabilities, giving you " +
"ev... |
8312d7f6ec772bafbfb473ead637a567820c1f14 | C# | reb0ot1/MoneySaver.App | /MoneySaver.App/Services/BudgetService.cs | 2.5625 | 3 | using MoneySaver.App.Models;
using MoneySaver.App.Models.Configurations;
using System;
using System.Net.Http;
using System.Net.Http.Json;
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
namespace MoneySaver.App.Services
{
public class BudgetService : IBudgetService
{
private H... |
7b720a086c31876d1c450e0a12091cb0311f0a12 | C# | TomatOrg/TomatOS | /TomatOS/Tomato.Hal/Tomato/Hal/Region.cs | 2.671875 | 3 | using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Tomato.Hal;
public class Field<T>
where T : unmanaged
{
// keep reference to the region
private Region _region;
private readonly ulong _fieldPtr;
public ref T Value => ref MemoryServices.UnsafeP... |
4d72d3a7a0b0f62e52e918201074f2697fb79a73 | C# | shendongnian/download4 | /code1/176883-3346413-6956823-2.cs | 3.078125 | 3 | public class KeyedObject
{
public string Key { get; set; }
public object Value { get; set; }
}
public class ObservableMappedCollection : ObservableCollection<KeyedObject>
{
private Dictionary<string, KeyedObject> _Map;
public ObservableMappedCollection(Dictionary<stri... |
375775e1a005f526b90ca8ef692b3e3a0d0224d5 | C# | jaspervm/EindopdrachtC | /ConsoleApplication1/ConsoleApplication1/Card.cs | 3.171875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PokerConsole
{
public enum soort { ruiten, klaveren, harten, schoppen }
public enum waarde { twee = 2, drie = 3, vier = 4, vijf = 5, zes = 6, zeven = 7, acht = 8, negen = 9, tien = 10... |
eba99451cd6edb0dee9e7cdec0bd3fb3f496da9e | C# | Omeda1002/rts-game | /Assets/AI/AIUnitHandler.cs | 2.578125 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AIUnitHandler : AIBaseHandler, PlayerBuildableObjects.OnBuildableObjectChange{
private int advancementLevel = 0;
private int unitsPerLevel = 5;
private Player player;
private bool hasBuiltFactory = false;
... |
ad193cc0c710f0f410f63ccf456e68743b97d7b8 | C# | Joze01/caprisMinsal | /NextLevelSeven-master/NextLevelSeven-master/NextLevelSeven-master/NextLevelSeven/Building/Elements/DescendantBuilder.cs | 2.875 | 3 | using System.Collections.Generic;
using NextLevelSeven.Core;
using NextLevelSeven.Core.Encoding;
namespace NextLevelSeven.Building.Elements
{
/// <summary>Base class for builders that are not root level.</summary>
internal abstract class DescendantBuilder : Builder
{
/// <summary>Get the ancestor ... |
3aeafbeb447816bdba78f81e25c743c4d149b8fe | C# | shendongnian/download4 | /code11/1903412-57142244-202000009-2.cs | 2.65625 | 3 | using System;
using Newtonsoft.Json;
using System.Collections.Generic;
public class Program
{
public static void Main()
{
string json=@"[{'faceId':'f7eda569-4603-44b4-8add-cd73c6dec644','faceRectangle':{'top':131,'left':177,'width':162,'height':162},'faceAttributes':{'smile'... |
9309923a5a6a63807b78c7cf8776bc9269027573 | C# | mandreko/TimeSheetCreator | /TimeSheetCreator/Form1.cs | 2.96875 | 3 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using OfficeOpenXml;
using OfficeOpenXml.Style;
namespace TimeSheetCreator
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponen... |
3348bce4d42809c16bead0297105a336630b063a | C# | Azure/azure-cosmos-dotnet-v3 | /Microsoft.Azure.Cosmos.Encryption.Custom/src/DecryptionResult.cs | 2.578125 | 3 | //------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Azure.Cosmos.Encryption.Custom
{
using System;
/// <summary>
/// Represents the details of failur... |
ce35580bc80ee1c1f861dce488415d61898518a9 | C# | n873/WebSockets | /WebSockets/WebSockets.Api.ExampleClient/WebSocketHandler/OrderStatusMessageHandler.cs | 2.515625 | 3 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Net.WebSockets;
using System.Text;
using System.Threading.Tasks;
using WebSockets.Common;
using WebSockets.Domain.Order;
namespace WebSockets.Api.ExampleClient.WebSocketHandler
{
public class OrderStatusMessageHandler... |
b24875ae3c5ac8e0c24f5fb5704b6c7e16619129 | C# | canzalon/.NET-CLI-process-library-assemblies | /canzalon_problem1dll/set.cs | 2.78125 | 3 | /*
* Solution: .NET-CLI-process-library-assemblies (assig2.doc)
* Project: canzalon_problem1dll
* File/Module: set.cs
* Author: Christopher Anzalone
*
*/
using System;
using System.Collections.Generic;
namespace canzalon_problem1dll
{
public class Set<K, E> where E : SetEle<K>
{
protected List... |
81e1de5cca8915c3a2d17e3a722184e61ad0f8d4 | C# | MeadowSuite/Meadow | /src/Meadow.Core/Utils/ArrayExtensions.cs | 3.65625 | 4 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Numerics;
using System.Text;
public static class ArrayExtensions
{
#region Functions
/// <summary>
/// Concatenates one array with another.
/// </summary>
/// <typeparam name="T">The type of arrays we'd like t... |
c25750e584353f30452e7150f3a6f1c3fb57f105 | C# | bitzhuwei/CSharpGL | /CSharpGL/GLObjects/Framebuffer/Framebuffer.Attach.Renderbuffer.cs | 2.875 | 3 | using System;
using System.Collections.Generic;
namespace CSharpGL
{
public partial class Framebuffer
{
/// <summary>
/// Attach a <see cref="Renderbuffer"/> object as a color attachment to the currently bound framebuffer object.
/// </summary>
/// <param name="target"></param>... |
9b729f042aa419b3bd553d99cbfe8ef20b3054ee | C# | VladimirRybalko/lazy-developer | /algorithms/tests/Data/SearchTestData.cs | 2.671875 | 3 | using System.Collections;
using System.Collections.Generic;
namespace Algorithms.Tests.Data
{
public class SearchTestData : IEnumerable<object[]>
{
public IEnumerator<object[]> GetEnumerator()
{
yield return new object[] {new[] {1, 2, 4, 5, 6, 7, 8, 9, 0}, 7, 5};
yield r... |
d958ea8ecda31de3120410ff1f9ee412659ceada | C# | BKCHIRANTH/My_Coding_Exercises | /GetClassMethodVariableNames/GetClassMethodVariableNames/Call.cs | 2.578125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Reflection;
using System.Reflection.Emit;
namespace GetClassMethodVariableNames
{
class Call
{
static void Main(string[] args)
{
Operations op = new Ope... |
2dac9acef94319b83257c14dc76ef30afee39451 | C# | jbosh/calculator | /Calculator 3/Calitha/GoldParser/SymbolFactory.cs | 2.8125 | 3 | using Calitha.GoldParser.content;
namespace Calitha.GoldParser
{
/// <summary>
/// The SymbolFactory is for creating a symbol identified by a record in
/// the fil content.
/// </summary>
public static class SymbolFactory
{
/// <summary>
/// Creates a new symbol or gives a reference to a symbol that is
///... |
114fe03d29312251bd917743f5ba5d661b61eef0 | C# | prinnotamago/SlowGames | /SlowGames/Assets/Works/Takumi/swordTest/SwordEnemyInfos.cs | 2.53125 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SwordEnemyInfos : MonoBehaviour {
static SwordEnemyInfos _instance;
static public SwordEnemyInfos instace
{
get{return _instance;}
}
[SerializeField]
List<SwordEnemyMover.SwordEnemyData> _ea... |
d190eeecb0d667d8be52f894aefd6b2f6dc9fe82 | C# | GustavoUrbina96/UnitTest | /Operations/Program.cs | 3.171875 | 3 | using System;
namespace Operations
{
public class Program
{
//Suma de solo numeros positivos
public static int Addition(int num1, int num2)
{
return num1 + num2;
}
public static void Main()
{
Console.WriteLine("Hello World!")... |
d32945b9c587029df1316b52cdd0e5cbad82b62a | C# | KaLuKaLuSoft/Estructura-de-Datos | /Tres.cs | 2.65625 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Estructura_de_Datos
{
public partial class Tres : Form
{
public Tres()
... |
5817fc1517cfd84f2578741907b64486904ede9a | C# | nandainacio/ApiCovid | /Service/PessoaService.cs | 2.765625 | 3 | using CovidDados.Entity;
using CovidDados.Interface;
using CovidDados.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CovidDados.Service
{
public class PessoaService : IPessoaService
{
private IPessoaRepository _pessoaRepository;
... |
ee7584034e0616e70da823c7906cffd0e45c6aea | C# | t00/Dapper.SqlGenerator | /Dapper.SqlGenerator.Tests/TestClasses/ProductOrderInit.cs | 2.65625 | 3 | using Dapper.SqlGenerator.Adapters;
using Dapper.SqlGenerator.Extensions;
using Dapper.SqlGenerator.Extensions.Dummy;
namespace Dapper.SqlGenerator.Tests.TestClasses
{
public static class ProductOrderInit
{
public static void Init(string connectionString = null)
{
OnModelCreating(Da... |
91601b22d6054f2a1b994fd7a5241bf84d4a804e | C# | yacekmm/pobicossim | /POBICOS/SimLogic/SimObject.cs | 2.640625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using POBICOS.SimBase.Cameras;
using POBICOS.SimBase;
using POBICOS.SimLogic.Scenarios;
namespace POBICOS.SimLogic
{
/// <summary>
/// Class managing all objects in s... |
0832768759b713ea85edb64e77365f709e40b1b8 | C# | tof31320/GenerationsV2 | /Assets/Scripts/Utils/RandomFamily.cs | 2.625 | 3 | using UnityEngine;
using System.Collections;
/// <summary>
/// Classe utilitaire pour la génération automatique d'une famille
/// </summary>
public class RandomFamily : MonoBehaviour {
public static string[] maleNames = { "Louis", "Martin", "Jean", "Albert", "Franck", "Joseph", "Emile", "Paul", "Léon", "Pasc... |
9898dd78a8e7f6793699114ffd64f650cd299588 | C# | tomaskanok/TournamentApp | /TournamentApp/Models/IdentityModels.cs | 2.5625 | 3 | using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;
using System.Data.Entity.Validation;
namespace TournamentApp.Models
{
// You can add profile data for the user ... |
3bd71f8b09adcd66f179de9a0e3555334be9e057 | C# | simonec73/threatsmanager | /Sources/Extensions/ThreatsManager.Extensions.Client/Reporting/TextRow.cs | 3.265625 | 3 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
namespace ThreatsManager.Extensions.Reporting
{
/// <summary>
/// A row for an List Item containing simple text.
/// </summary>
public class TextRow : ItemRow
{
/// <summary>
/// Constructor.
... |
c94e0e60fea010a7cd23a8a65e31958307ab66c7 | C# | TransformingAudiences/pi | /src/Tapi.Core/Model/OptionType.cs | 3.015625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
namespace tapi
{
public class OptionType : IValueType
{
public Dictionary<string,OptionValue> Options { get; set; }
public bool IsMultipleChoice { get; set; }
private OptionType(bool isMultipleChoi... |
359b6e8268feeaa37e4ef4af46694b2f697af0fd | C# | NacsaPeter/Onlab | /Lynn/Lynn.Client/Models/TestPresenter.cs | 2.609375 | 3 | using Lynn.DTO;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lynn.Client.Models
{
public class TestPresenter
{
private Test _test;
public string CategoryName { get { return _t... |
810a2b2493f48e8266a94b82f583c3728c99d712 | C# | mfakane/Keystone | /Keystone.IO/MikuMikuDance/Xx/XxVertex.cs | 2.6875 | 3 | using System.IO;
namespace Linearstar.Keystone.IO.MikuMikuDance
{
public class XxVertex
{
public float[] Position
{
get;
set;
}
public float[] Normal
{
get;
set;
}
public float[] UV
{
get;
set;
}
public XxVertex()
{
this.Position = new[] { 0f, 0, 0 };
this.Normal = n... |
363271baca152c44e519694afb76e6a280a2b74c | C# | micro-shoppy/sales | /Microshoppy.Sales/Microshoppy.Sales/src/Repositories/InMemoryOrdersRepository.cs | 2.90625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microshoppy.Sales.Entities;
namespace Microshoppy.Sales.Repositories
{
public class InMemoryOrdersRepository : IRepository<Order>
{
private static readonly List<Order> Repo = new();
public Task<Order> CreateI... |
fc851e218421d2c12c98bac51ef5f7c11a83473d | C# | rebwar/Step8.Delegates | /Step8.Delegates/MyEvent.cs | 2.6875 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace Step8.Delegates
{
public class MyEvent
{
public delegate void MyEventhandler(int n);
public event MyEventhandler SomeEvent;
public void OnSomeEvent(int n)
{
if (SomeEvent != null)
... |
6d638647f72d993f5c39aea83a494dfec5074a0f | C# | wbarret1/Traci3 | /Traci3/ImpactFactorCollection.cs | 3.078125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Spreadsheet;
namespace Traci3
{
/// <summary>
/// This class represents a geographical location in the TRACI project.
/// </summary>
/// <remarks>
... |
0aa5707865bb2181ac295cb8e5b91d4bcc4b3bf7 | C# | TGNkwane/ProjectAlpha | /PremierSolutions/PremierSolutions/DataAccess/JobDataAccess.cs | 2.765625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
using System.Windows.Forms;
using PremierSolutions.BussinesLogic;
namespace PremierSolutions.DataAccess
{
class JobDataAccess
{
//Constuctor
public J... |
d9ae160c602858109f4006c73701f06549199f60 | C# | ajlopez/AjCoRe | /Src/AjCoRe.Tests/PropertyTests.cs | 2.546875 | 3 | using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AjCoRe.Tests
{
[TestClass]
public class PropertyTests
{
[TestMethod]
public void CreateProperty()
{
Property... |
7a798a61701f43158019c3b6c6cb344c34848474 | C# | AndreasSummer/lokad-shared-libraries | /Source/Lokad.Shared/Settings/PrefixTruncatingKeyFilter.cs | 2.734375 | 3 | #region (c)2009 Lokad - New BSD license
// Copyright (c) Lokad 2009
// Company: http://www.lokad.com
// This code is released under the terms of the new BSD licence
#endregion
using System;
namespace Lokad.Settings
{
/// <summary>
/// Simple prefix-based path acceptor, that removes prefix from the... |
1b92e860815849349fccae1ec613dd413b7fdfd7 | C# | gconnis/WPF_Examples | /DesignPatternDemo/Mediator/Mediator_RealWorld.cs | 3.53125 | 4 |
using System;
using System.Collections;
// "Mediator"
interface IChatroom
{
// Methods
void Register( Participant participant );
void Send( string from, string to, string message );
}
// "ConcreteMediator"
class Chatroom : IChatroom
{
// Fields
private Hashtable participants = new Hashtable();
// Met... |
b4028173cb6e32c6237f98b1e5be76051795db70 | C# | tudway/Codge | /Src/Codge.ModelProcessor.Console/Program.cs | 2.5625 | 3 | using Codge.DataModel.Descriptors;
using Codge.Generator.Presentations;
using CommandLine;
using Microsoft.Extensions.Logging;
using Serilog;
using System.IO;
using System.Linq;
using ILogger = Microsoft.Extensions.Logging.ILogger;
namespace Codge.ModelProcessor.Console
{
class Options
{
[Option('i', ... |
c46a1744acc4c5186040c6f5607407d567a8ac7d | C# | MStabryla/MySQLApp | /Migrations/Configuration.cs | 2.75 | 3 | namespace MySQLApp.Migrations
{
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
using MySQLApp.Models;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.AspNet.Identity;
internal sealed class Configuration : DbMigrationsConf... |
1662f5a47bbdf0d3744112f66ec902ecbc6df601 | C# | NakovaJ/C-Basic | /VehicleInheritance/VehiclesApp/VehiclesApp/Program.cs | 2.921875 | 3 | using System;
using ClassLibrary.ClassModels;
using ClassLibrary.Enums;
namespace VehiclesApp
{
class Program
{
static void Main(string[] args)
{
Vehicle myCar = new Vehicle(1234, "Porsche", "IDontCareAboutTheModel");
myCar.PrintInfo();
WheeledVe... |
44a4a9050f09aa370907735ebadaddc6f75eafae | C# | Ingovd/small-shogi | /code/csharp/small-shogi/small-shogi/ply/IPly.cs | 2.96875 | 3 | using System;
namespace smallshogi
{
using Bits = System.UInt16;
public abstract class Ply
{
/// <summary>
/// The colour of the player associated with this ply.
/// </summary>
protected int c;
/// <summary>
/// Apply this ply to the <para>position</para> according to game <para>g</pa... |
d8ae594364ed7c67da44c331e2f5ec4a23d2766e | C# | akembrar7795/ConsoleApplication-Gold-Badge-Challeneg- | /05_Gold_Badge_Challenge_01/Program.cs | 3.40625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _05_Gold_Badge_Challenge_01
{
class Program
{
static void Main(string[] args)
{
Menu item1 = new Menu("Smash Burger", 01, "California famous burger", "Buns... |
e872320b404edc5e063f1830dceaa38acd81502a | C# | harrisonstatham/CheezLang | /CheezCompiler/Compiler/IR/IRInstruction.cs | 2.71875 | 3 | using System.Numerics;
namespace Cheez.Compiler.IR
{
public class IRInstruction
{
public IRValue Value { get; set; }
public IRInstruction()
{
Value = new IRValue();
}
}
// temp
public class IRInstPrint : IRInstruction
{
public override stri... |
6440c5263cf49c7f687332b0aa78f1eacb7b3b3a | C# | gamificationvn/cstoas3 | /flash/CoreLib/System/Attributes/ObsoleteAttribute.cs | 2.53125 | 3 | namespace System {
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct |
AttributeTargets.Enum | AttributeTargets.Constructor |
AttributeTargets.Method | AttributeTargets.Property |
AttributeTargets.Field | AttributeTargets.Event |
AttributeTargets.Interface | AttributeTargets.Delegate)]
i... |
db2e265802daddc24425dcdef57800ddca1b38ff | C# | h2oboi89/doxydocgenTest | /UnitTests/HelloLibTests/HelloTestFixture.cs | 2.546875 | 3 | using HelloLib;
using NUnit.Framework;
namespace UnitTests.HelloLibTests
{
[TestFixture]
class HelloTestFixture
{
[Test]
public void NameShouldDefaultToWorld()
{
Assert.That(new Hello().ToString(), Is.EqualTo("Hello, World!"));
}
[Test]
public v... |
614c400ddb8df875a0d92dca2441966aea643c2e | C# | YanlongLi/GrpcInterceptorExample | /Server/ServerInterceptor.cs | 2.546875 | 3 | namespace ExampleServer
{
using Grpc.Core;
using Grpc.Core.Interceptors;
using System;
using System.Diagnostics;
using System.Threading.Tasks;
class ServerInterceptor : Interceptor
{
public override Task<TResponse> UnaryServerHandler<TRequest, TResponse>(TRequest request, ServerCal... |
82dc9768cbb64e6d9782466ddc2980f6b01efd3d | C# | VDGone/Homework---OOPPrinciples---PartTwo | /02.BankАccounts/Account.cs | 3.71875 | 4 | namespace _02.BankАccounts
{
using System;
public abstract class Account : IDepositable
{
private Customers customer;
private decimal balance;
private decimal interestRate;
public Account(Customers customer, decimal balance, decimal interest)
{
this.Cus... |
2c2bae059e219443b14182637ba07d5008dd3247 | C# | esteban127/FinalDestiny | /Assets/TileMap/Tiles.cs | 2.53125 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Tilemaps;
public class Tiles : MonoBehaviour {
//Privados:
private TileMapGen GenRef;
void Start()
{
GenRef = GetComponent<TileMapGen>();
print(IsSurrounded("Layer 0", new Vecto... |
c161ac41c6b927c3d9f22f3fb7d99cbbd9dd6676 | C# | arnojin/ProfessionalCSharp6 | /AdvancedWindowsApps/SharingSamples/SharingSource/Models/BooksRepository.cs | 2.65625 | 3 | using System.Collections.Generic;
namespace SharingSource.Models
{
public class BooksRepository
{
public IEnumerable<Book> GetSampleBooks() =>
new List<Book>()
{
new Book
{
Title = "Professional C# 6 and .NET 5 Core",
... |
acf6bb0507f118a97b3c9e9df03f27fd34d6f234 | C# | TommyBlasta/Dungeon-Crawl | /DungeonCrawl/Program.cs | 2.671875 | 3 | using DungeonCrawl.Controls;
using DungeonCrawl.UI;
using System;
using System.Collections.Generic;
namespace DungeonCrawl
{
class Program
{
static void Main(string[] args)
{
//tvorba menu
var menu = new Menu();
menu.Polozky = new List<PolozkaMenu>();
... |
852a23ab9294252d8a579abb2dd883f50b610915 | C# | johnnynguyen2104/WebWorkflow | /Demo_WorkFlow/WorkFlow/FlowBuilder.cs | 2.75 | 3 | using Microsoft.Extensions.Caching.Distributed;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Formatters.Binary;
using System.Threading.Tasks;
namespace Demo_WorkFlow.WorkFlow
{
public class FlowBuilder
{
public delegate object ... |
6a25a6682c0a8495cc5df7047a462df3f9608154 | C# | robin1392/robin | /Assets/Mirage/Scripts/MatchData.cs | 2.546875 | 3 | using System.Collections.Generic;
using System.Linq;
using ED;
using Mirage;
using Mirage.Logging;
using UnityEngine;
namespace MirageTest.Scripts
{
public class MatchData
{
static readonly ILogger logger = LogFactory.GetLogger(typeof(PlayerProxy));
public List<MatchPlayer> PlayerInfos... |
73405d5f6393e9ecd8de7313a125a95f88e2e532 | C# | MarciaAndrea/api_restful | /GestaoCondominio/GestaoCondominio/Controllers/ApartamentoCondominioController.cs | 2.609375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Entidades.Models;
namespace GestaoCondominio.Controllers
{
[Route("api/[controller]")]
public class ApartamentoCondominioController : Controller
{
private readonly ApiContext _context;
... |
2c3a81dbb9ea3f5d5eb21569db2272ef7a704a58 | C# | zeychen/les-mis | /Assets/Scripts/LoadData.cs | 2.640625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
namespace Lesmis
{
public class LoadData : MonoBehaviour
{
[SerializeField] private string jsonFile = "lesmis-3d.json";
[SerializeField] private GameObject characterNode;
[SerializeField] pr... |