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 |
|---|---|---|---|---|---|---|
949531396d36e9c03119893d4c0b90ea7ba7a436 | C# | ChristinaGislason/Lab05-OOPPrinciples | /Lab05-OOPPrinciples/Lab05-OOPPrinciples/Classes/Jaguar.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace Lab05_OOPPrinciples.Classes
{
// Inheriting Feline class
public class Jaguar : Feline
{
public bool SpotsOnCoat { get; set; }
public string JungleHabitat { get; set; }
public override string Bites()
... |
738b97fabb888586b526bcf0bececf7e8fa76380 | C# | mantvydasBra/OOP_homework | /skirtaUzduotis/loginScreen.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;
using System.Data.SqlClient;
namespace skirtaUzduotis
{
public partial class loginScreen : Form
... |
425e2df09a6c89e55aacd72cc7f17631a7269a7e | C# | shendongnian/download4 | /code4/740559-17988332-44650886-6.cs | 3.28125 | 3 | public static class Program
{
static void Main(string[] args)
{
List<int> numList=new List<int>(){1,2,2,2,4,5,3,2};
numList = numList.RemoveSequentialRepeats();
}
publ... |
bd5b86e7f347db5614af747252214d6cf969a6f1 | C# | Igorium/Leetcode | /hard/465. Optimal Account Balancing.txt.cs | 3.21875 | 3 | public class Solution {
public int MinTransfers(int[][] transactions) {
var balance = new Dictionary<int, int>();
foreach(var t in transactions){
if(!balance.ContainsKey(t[0]))
balance[t[0]] = 0;
if(!balance.ContainsKey(t[1]))
balance[t[1]] = 0... |
6cf043a66967a95db5af39802addf232593112b5 | C# | vosonhiep/QuanLyQuanCF | /QuanLyQuanCafe/DAO/TableDAO.cs | 2.828125 | 3 | using QuanLyQuanCafe.DTO;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace QuanLyQuanCafe.DAO
{
public class TableDAO
{
private static TableDAO instance;
public static TableDAO Instance
{
... |
dafb84eee95a429de1ddc22b3bbc2953e0d720ab | C# | safaintegrated/asm | /DataAccess/Models/PuDeliveryAddressModel.cs | 2.65625 | 3 | using DataAccess.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataAccess.Models
{
public class PuDeliveryAddressModel : BaseModel<PuDeliveryAddressModel>
{
public static IEnumerable<PuDeliveryAddress> FindAll()
... |
ee62e0a109c894d346f6927f76ab896274842587 | C# | hakimoss/Rocket_Elevators_REST_API | /Controllers/UsersController.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using FactInterventionApi.Models;
namespace FactIntervention.Controllers
{
[Route("api/[controller]")]
[ApiContr... |
1a332457635687c78fffe7c1cd62bcb4d09d95e1 | C# | Aegz/Turing | /SQLValidator/Parser/DataObjects/SQLQuery.cs | 3 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SQLValidator.Lexer.DataObjects
{
public class SQLQuery
{
protected List<SQLStatement> aoStatements;
public List<SQLStatement> Statements
{
get
{
if (... |
961cf76306340603d2375c7114ec6d7062acc061 | C# | guojianbin/SugiBpm | /SugiBpm.Delegation/SugiBpm.Delegation.Interface/Evaluation.cs | 3.015625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SugiBpm.Delegation.Interface
{
public sealed class Evaluation
{
public static readonly Evaluation APPROVE = new Evaluation("approve");
public static readonly Evaluation... |
f051eaadcaec2843bd77838e0cb55e475652dfe6 | C# | S-Oktay-Bicici/C-SHARP-PROGRAMMING | /2-Veri-Tipleri-ve-Değişkenler/tür-dönüşümü.cs | 3.40625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace tür_dönüşümü
{
class Program
{
static void Main(string[] args)
{
//bilinçli ve bilinçsiz tür dönüşümleri vardır.
//Inplicit ve Exp... |
8c58c08480d43a1b0e51a9fbe67644ee9df389d1 | C# | vgdagpin/Multi-Tenant-Sample | /MultiTenantSample.Application/Personnels/Commands/CreatePersonnelCommand.cs | 2.546875 | 3 | using System;
using System.Threading;
using System.Threading.Tasks;
using FluentValidation;
using MediatR;
using MultiTenantSample.Application.Personnels.Queries.Models;
using MultiTenantSample.Domain.Entities;
namespace MultiTenantSample.Application.Personnels.Commands
{
public class CreatePersonnelCommand : IRe... |
0dd21b9d1e090fead7b1c0902de0fc6bfd0c33c3 | C# | pjanotti/signalfx-dotnet-tracing | /tracer/test/test-applications/integrations/Samples.NUnitTests/TestSuite.cs | 2.8125 | 3 | using System;
using System.Collections;
using System.Diagnostics;
using NUnit.Framework;
namespace Samples.NUnitTests
{
public class TestSuite
{
[OneTimeSetUp]
public void Setup()
{
var writer = TestContext.Progress;
writer.WriteLine($"Pid: {Process.GetCurrentPro... |
df72374cf49be03ef533914a721d3cde7dcdd293 | C# | patnir/TimeCardCloudServer | /ServerSide/clsQueryResults.cs | 3.109375 | 3 | using System;
using System.Data.SqlClient;
// This class works with clsDatabase to encapsulate the ADO.NET OleDb provider
// to create a layer of abstraction between our application code and ADO.NET. This
// allows us to change ADO.NET providers without affecting our application code.
public class clsQueryResults :... |
8b8c385b1f3ef41420e430277059f907ef4f7c02 | C# | Ivan-Proskurin/Cashed | /DataAccess.Db/NamedModelQueryRepository.cs | 2.75 | 3 | using Cashed.DataAccess.Contract;
using System;
using System.Data.Entity;
using System.Threading.Tasks;
using Cashed.DataAccess.Contract.Base;
namespace Cashed.DataAccess.Db
{
public class NamedModelQueryRepository<T> : QueryRepository<T>, INamedModelQueryRepository<T>
where T : class, IHasId, IHasName
... |
7e589d84f847d1920635c6de6a25ad591ec4a1b4 | C# | darianbenito/doppler-currency | /Doppler.Currency/Services/TrmHandler.cs | 2.59375 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using CrossCutting;
using CrossCutting.SlackHooksService;
using Doppler.Currency.Dtos;
using Doppler.Currency.Enums;
using Doppler.Currency.Settings;
using Microsoft.Extensi... |
b5818948571b816a8cb173bdac7cd74f496616cd | C# | artgl42/Algorithms | /SortingLibrary/SortingLibrary/SortingMethod/MergeSort.cs | 3.546875 | 4 | using System;
using System.Linq;
namespace SortingLibrary
{
public class MergeSort : ISortingMethod
{
public ulong Sort<T>(T[] arrayForSort) where T : IComparable<T>
{
MergeSorting(arrayForSort).CopyTo(arrayForSort, 0);
return 0;
}
private T[] MergeSort... |
ff457b971cfd080713887f9b5f2455ee4fd2688a | C# | taglia90/Swimmy | /DB/Annuncio.cs | 2.734375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MySql.Data.MySqlClient;
namespace Swimmy.DB
{
public class Annuncio
{
private int idAnnuncio;
private int idUtente;
private string titolo;
private string descrizione;
private st... |
0430684e7b78b43dbad66ce96452d82fe9a17b3b | C# | szefo09/YgoProPatcher | /YgoProPatcher/LocalData.cs | 2.640625 | 3 | using Octokit;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YgoProPatcher
{
public class LocalData
{
private readonly static string saveLocation = Path.Combine(Environment.GetFolderPath(Environment.Speci... |
3b825f1d00d8d0185d51c24da18fbb25795a7193 | C# | VKeCRM/V2 | /Framework/VKeCRM.Common/NamedPipe/ClientNamedPipe.cs | 2.578125 | 3 | using System;
using System.Threading;
using System.IO.Pipes;
using VKeCRM.Common.Logging;
namespace VKeCRM.Common.NamedPipe
{
public class ClientNamedPipe : NamedPipeBase<NamedPipeClientStream>, IDisposable
{
#region Fields
private const int OneSecond = 1000;
private const int connectionTimeout = 60 * OneSeco... |
3ae4c1602171db78a947bfef8152d03837a4018f | C# | Derian37/SistemaOpticaSantaMarta | /CapaLogica/LogicaNegocio/Producto.cs | 2.625 | 3 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CapaLogica.LogicaNegocio
{
/// <summary>
/// Description of Producto.
/// </summary>
public class Producto
{
#region ATRIBUTOS
private int Monto;
... |
b7bc5d52c08bac4afd86170dc9f0e58e7cb207bb | C# | todo-it/philadelphia | /Philadelphia.Web/Mvp/LocalValueFieldBuilder.cs | 2.671875 | 3 | using System;
using System.Text.RegularExpressions;
using Bridge;
using Philadelphia.Common;
namespace Philadelphia.Web {
public static class LocalValueFieldBuilder {
public static LocalValue<T> Build<WidgetT,T>(
IReadWriteValueView<WidgetT,T> view, params Validate<T>[] validators) {
... |
204a476b29ffff16e4ff4f8b3cbd490ebaebd98d | C# | sh1ch/Samples | /DisposableTest/DisposableTest/Program.cs | 3.25 | 3 | using System;
namespace DisposableTest
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
var program = new Program();
program.Run();
}
public DisposableEventHandler<int> Sample = new DisposableEventHand... |
c0953a37d26e63b546cc0408eff741e2c7b17fd3 | C# | pipecaniza/OneCore.Demo | /OneCore.Demo/Models/ManageViewModels/IndexViewModel.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace OneCore.Demo.Models.ManageViewModels
{
public class IndexViewModel
{
public string Id { get; set; }
[Required(ErrorMessage = "El campo... |
ad04c0aaa8742f453b64ff5610aa99e060f9ab90 | C# | StyleSilviu/TimeCounter | /TimeCounter/TimeCount/Methods/MySqlDataBase.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//thread library
using System.Threading;
//mysql
using MySql.Data.MySqlClient;
//for the thread
using TimeCount.Pages;
using System.Reflection;
//reg key namespace
using Microsoft.Win32;
using TimeCount.ViewModels;
//cryptogr... |
c1a513185f839ceb0fdaceaefd5d89a9e13eebed | C# | rikes/Guia-De-Estudos-Certificacao | /Exam-70-783/3.1 Data Annotation/Program.cs | 3.046875 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace _3._1_Data_Annotation
{
class Program
{
static void Main(string[] args)
{
Cliente cliente = new Cliente();
Address endereco = new Address();
... |
ded8ca14ee06944fc4425b00c17ff408df31b027 | C# | MIlky92way/_rupor | /Rupor/Rupor.Rss/Core/Readers/FeedReader.cs | 2.515625 | 3 | using System;
using Rupor.Feed.Core.Parsers;
using Rupor.Feed.Core.Parsers.Versions;
using Rupor.Feed.Core.Types;
using Rupor.Feed.Feeds;
using Rupor.Feed.Feeds.Versions;
using Rupor.Feed.Feeds.Versions.RSS2;
using Rupor.Feed.Utility;
namespace Rupor.Feed.Core.Readers
{
public class FeedReader:IFeedReader<RSS2Fee... |
bee22d223ccd5c66a7c0f830ea73150896d4ef7a | C# | marsscotia/ArtCat | /ArtCat/ViewModels/MasterDetailViewModel.cs | 2.671875 | 3 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Input;
using ArtCat.Helpers;
using ArtCat.Models;
using ArtCat.Services;
using Microsoft.Toolkit.Uwp.UI.Controls;
namespace ArtCat.ViewModels
{
public class ... |
82d71994faeb002c027010a05b77592eb1dc397e | C# | dhlopez/XamarinMVCapi | /ArtHistoryWebAPI - MVC/Test3_ArtHistoryWebAPI - MVC/Test3_ArtHistoryWebAPI/Models/Artist.cs | 2.796875 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Test3_ArtHistory.Models
{
public class Artist
{
public int ID { get; set; }
... |
e1508247278659e9b1f65a0bcda69a9be6ca2b6b | C# | rainer13/TrofeulNational | /TrofeulNational/Concurent/Jucator.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using MySql.Data.MySqlClient;
using System.Data.Common;
using TrofeulNational.DAL;
namespace TrofeulNational.Concurent
{
//[Serializable]
public class Jucator
{
private string nume;
private string prenume;
private... |
f983d9d56d461efdfc30df187ed73cc7d161ed57 | C# | danielefongo/Playground | /Master v.1.1/GestoreGiocatori.cs | 2.796875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
namespace Utility
{
public class GestoreGiocatori
{
private Dictionary<String, Giocatore> _giocatori;
public GestoreGiocatori()
{
_giocat... |
ed428138a39e782180b527d727dec0c9a0d90ee4 | C# | Rockleeking/PRJ_ResearcherViewSystem | /Wpf_assignment_kit206/Wpf_assignment_kit206/Entity/Researher.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//KIT506_Hbt_F1500_7
namespace Wpf_assignment_kit206.Entity
{
public enum EmploymentLevel {student,A, B, C, D, E, Any };
public enum type { Staff, Student };
class Researher
... |
0994c5c8ac3f0ff68e393dd781dcdbf834ccfce7 | C# | superactive/RuleOfFirewall | /RuleOfFirewall/Extensions.cs | 2.875 | 3 | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
namespace RuleOfFirewall
{
public static class Extensions
{
#region DataTable
public static void AddColumn<T>(this DataTable dt, string ColumnName)
{
dt.Columns.Add(ColumnName, typeof(T));
}
public ... |
6a4b070702bda384b532b831bdf400ae7b58ecac | C# | Kyronomix/idleclicker | /GameManager.cs | 2.625 | 3 | using UnityEngine;
using UnityEngine.UI;
public class GameManager : MonoBehaviour
{
// Text
public Text cashText;
public Text cashPerSecText;
public Text clickCashText;
public Text clickUpgrade1Text;
public Text clickUpgrade1MaxText;
public Text clickUpgrade2Text;
public Te... |
0e331adac4dfb0c48593d58a6ba3ea812c1ab58c | C# | Lastonedown/RockPaperScissor | /RockPaperScissor.cs | 3.46875 | 3 | using System;
namespace PracticeCode
{
class Program
{
static void Main(string[] args)
{
string[] rps = new string[] { "rock", "paper", "scissor" };
Random rand = new Random();
string randomRps;
int randNum;
randNu... |
f72ca2460d587df62bba1483ccef531b31eb55b8 | C# | arifahmed411/70-483 | /ThreadLocalVariable/Program.cs | 3.609375 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
class Test
{
static void Main()
{
int[] nums = Enumerable.Range(0, 5).ToArray();
long total = 0;
// Use type parameter to make subtotal a long, not an int
... |
0f073b8dbf197c803eef7c819c6c84481a61fcff | C# | tuandnvn/ecat | /Annotator/depth/IDepthReader.cs | 2.90625 | 3 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Annotator
{
public interface IDepthReader : IDisposable
{
/// <summary>
///
/// </summary>
/// <param name="milisecondFromStart">... |
806f68c45d3cdabef3d9e08dcf71d3fb2db0b0ff | C# | Dana-Ferguson/WeakAuraAutomationTool | /WeakAuraAutomationTool/Automation/AuraScale.cs | 2.5625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using WeakAuraAutomationTool.WeakAuras;
using WeakAuraAutomationTool.WeakAuras.Data;
namespace WeakAuraAutomationTool.Automation
{
internal static class AuraScale
{
public static Aura SetSize(this Aura aura, int width, int height)
... |
11e00e7907a5f86f604fbcd3a9eed1fb868bfd28 | C# | SaarPeleg/DataCrea | /Unity - only scripts and scenes/TacticsMove.cs | 2.515625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
//general character definition and actions
public class TacticsMove : MonoBehaviour
{
public bool turn = false;//is it the unit's turn
List<Tile> selectableTiles = new List<Tile>();//list of slectable t... |
38385d06421282c601910a81bafe760716cbd2b7 | C# | acmercyj/Framework | /Assets/Scripts/Base/Utils/FileUtil.cs | 3.015625 | 3 | /**
* 文件工具类
*/
using System;
using System.IO;
namespace Base.Utils
{
using Debug;
public class FileUtil
{
/// <summary>
/// 读取文件
/// </summary>
public static byte[] ReadFile(string fullpath)
{
byte[] buffer = null;
if (File.Exists(fullpat... |
48c53f7157b2f68d6f1c25e46a44b89c1d2c71f5 | C# | ahmedshuhel/NUnitEX | /NUnitEx/ExtensionsImpl/AssertionInfo.cs | 2.8125 | 3 | using System;
namespace NUnit.Framework.ExtensionsImpl
{
public interface INegable
{
void Nagate();
}
public class AssertionInfo<T> : IAssertionInfo<T>, INegable
{
private readonly Func<string> messageBuilder;
public AssertionInfo(T actual)
{
Actual = actual;
}
public AssertionInfo(T actual, Func... |
9cc1cffe1e744c2adfec52e0998872706d35c314 | C# | Valryia/calc | /SuperCalculator/Presenter/CalculatorPresenter.cs | 2.671875 | 3 | using System.Collections.Generic;
using System.Numerics;
using SuperCalculator.Model;
using SuperCalculator.Service;
namespace SuperCalculator.Presenter
{
public class CalculatorPresenter
{
private readonly CalculatorView calculatorView;
private readonly CalculatorService calculatorService;
... |
046fc155dcca35913752fc406e9ba63f972f4a90 | C# | visweswarpenti/ArticlesDemo | /ArticlesProject/Controllers/CommentController.cs | 2.5625 | 3 | using ArticlesProject.DatabaseEntities;
using ArticlesProject.Repository;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=39786... |
3b05c4e06983ff878bb3848cb4d84df256b99893 | C# | AlexCernov/cms-new | /CMS/CMS/Repositories/Entities/ConferenceRepository.cs | 2.875 | 3 | using CMS.Exceptions;
using CMS.Models;
using System;
using System.Collections.Generic;
using System.Linq;
namespace CMS.Repositories.Entities
{
public class ConferenceRepository : IEntityRepository<Conference>
{
public Conference Add(Conference entity)
{
try
{
... |
f29891fb52be4ef6c08c35324a2b9df1f3250a4b | C# | mansiadoshi/CodingClass1 | /CodingClass_7_3_2019/CodingClassContext.cs | 2.53125 | 3 | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
namespace CodingClass_7_3_2019
{
public class CodingClassContext : DbContext
{
public DbSet<StudentAccount> StudentAccounts { get; set; }
public DbSet<StudentCourseHistory> StudentHistory { ... |
ddcbd7e9dbeb03509a9d3d9841fd0696f23f44d3 | C# | piksel/ConLib | /src/ConLib/PrettyConsole.Public.cs | 2.640625 | 3 | using System;
using System.Collections.Generic;
using ConLib.Console;
namespace ConLib
{
public static partial class PrettyConsole
{
public static List<IConsoleFormatter> PrettyFormatters => Fmts;
public static void Write(FormattableString fs, params ConCol?[] conCols)
{
f... |
fc4fc7f84282b0face36130a4d23861b43d9c709 | C# | bezourokq/RobotFashion | /Assets/Scripts/Controllers/PlayerControl.cs | 2.515625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlayerControl : MonoBehaviour
{
float inputX;
float inputY;
string lastKey;//last key pressed, w or s
float vel = 1f;
public GameObject upperG, downG;
public Sprite upperSide1, upp... |
d4b4d0773cf1f899d3686235fa90c2ed337ec95a | C# | MansurKurtov/NumberSystems | /DecimalNumberSystem/DecimalNumber.cs | 3.546875 | 4 | using CoreNumberSystem;
using System;
namespace DecimalNumberSystem
{
public class DecimalNumber : INumberSystem
{
public string Add(string a, string b)
{
int number_one = Convert.ToInt32(a, 10);
int number_two = Convert.ToInt32(b, 10);
return Convert.ToStr... |
238b785f52ea146afdcfad887ebeaaddb71f052e | C# | TeamOrg/WorkPackRestructured | /WorkpackCore/BusinessLibrary/BLDesignationRepository.cs | 2.609375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DataAccessLibrary;
using DomainModelLibrary;
namespace BusinessLibrary
{
public class BLDesignationRepository : IBLDesignationRepository
{
private readonly WorkpackDBContext _context;
private... |
3669c1fd6a5685f5ff4451fe83c7640c575536cb | C# | AnshukAggarwal/HTTP5204Assignment2 | /PetGrooming/Controllers/SpeciesController.cs | 2.859375 | 3 | using System;
using System.Collections.Generic;
using System.Data;
//required for SqlParameter class
using System.Data.SqlClient;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using PetGrooming.Data;
using PetGrooming.Models;
using System.Diagnostics;
namespace... |
e9af7f5ba95d82ae6ff2b033dbfcb09c10c72eef | C# | iamprovidence/My_Little_Programs | /EFCore.MongoDB/EFCore.MongoDB/MongoDbContext.cs | 2.515625 | 3 | using EFCore.MongoDB.Migrations;
using Microsoft.Extensions.Options;
using MongoDB.Driver;
using SimpleMigrations;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Reflection;
namespace EFCore.MongoDB
{
public abstract class MongoDbCo... |
b73637857ecb4138b6489aebd1c4ecf51f80d7fa | C# | thesparrow/egreetingcore | /halloween/Pages/Read.cshtml.cs | 2.609375 | 3 | using egreeting.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace egreeting.Pages
{
public class ReadModel: PageModel
{
//Database related - connect to our model
[BindProperty]
public Greetings Greetings { get; set; }
//Connection t... |
78ef3b9d7b052d123ffaafa3f5cfbc384fbcd3f7 | C# | ninerats/Launcher | /SampleApp/Launcher/Lancher.cs | 2.671875 | 3 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Craftsmaneer.Lang;
namespace SampleApp.Launcher
{
public class Lancher
{
/// <summary>
/// bath to the base directory for the lau... |
1892afd097e433206164511f96ef50fe89956cd3 | C# | ChoiHyeonHo/CHH_PJT2 | /CHH_PJT2/Util/Util/CommonUtil.cs | 2.515625 | 3 | using Microsoft.Office.Interop.Excel;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CHH_PJT2
{
class CommonUtil
{
public static void SetInitGridView(DataGridView dgv)
{... |
b342f67b06d20972e015459f895750ad512d4b8a | C# | syberside/DynamicIsNotMagic | /DynamicIsNotMagic/DefaultAndOptionalParameters.cs | 3.40625 | 3 | using System;
using NUnit.Framework;
namespace DynamicIsNotMagic
{
[TestFixture]
public class DefaultAndOptionalParameters
{
public void SomeMethodWithDefaultParameters(string message=null)
{
Console.WriteLine(message??"Default messsage here");
}
public void Som... |
fb131d4ebbcee11e833a903f634d06498e7118ca | C# | Jorka7a13/SoftUni_CSharpBasics | /04. Console-Input-Output-Homework/Problem 12. FallingRocks/FallingRocks.cs | 3.125 | 3 | // Implement the "Falling Rocks" game
using System;
using System.Diagnostics;
using System.Threading;
namespace FallingRocks
{
class FallingRocks
{
static Stone[,] array = new Stone[25, 80];
static int difficulty = 4;
static Random rnd = new Random();
static int x, y;
... |
eff1aa3fcbc12da5759784e481aa06b4ae450dfc | C# | bcorder/ProjectEuler | /Problem19.linq | 3.265625 | 3 | <Query Kind="Program" />
void Main()
{
DateTime day = new DateTime(1901, 1, 1);
int numSundays = 0;
while (day <= DateTime.Parse("12/31/2000"))
{
if (day.DayOfWeek.ToString() == "Sunday" && day.Date.ToString().Contains("/1/"))
{
numSundays++;
}
day = day.Add... |
75a24bbfc75c039441b61a032724e547cc24faeb | C# | uludagsercan/MvcBlogApplication | /BusinessLayer/ValidationRules/MessageValidator.cs | 2.828125 | 3 | using EntityLayer.Concrete;
using FluentValidation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BusinessLayer.ValidationRules
{
public class MessageValidator : AbstractValidator<Message>
{
public MessageValidator()
... |
20f70ba44b370b509c01ae70906c516799f4381a | C# | cvakarna/test-project | /DeliveryServiceApp/Customers/CustomerServiceApi.cs | 2.734375 | 3 | using DeliveryServiceApp.Model;
using DeliveryServiceApp.Persistence;
using Microsoft.EntityFrameworkCore;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
namespace DeliveryServiceApp.Custo... |
6f533a655fe1302316dab01a1858b229da797b9a | C# | dragomanov/telerikacademy | /CSharp1/Homework/2. Primitive Data Types and Variables/10. Employee Record Declaration/EmployeeRecordDeclaration.cs | 2.90625 | 3 | using System;
class EmployeeRecordDeclaration
{
static void Main()
{
string firstName = "Antoni";
string lastName = "Dragomanov";
byte age = 26;
char gender = 'M'; // or bool isMale; for smaller size
uint id = 27560000;
Console.WriteLine("{0}\n{1}\n{2}\n{3}\n{4}... |
3a07157fa4efba7e64f87ba6f58e5eea9609020d | C# | qclijun/MyShocksocks | /MyShadowsocks-UI/ServerConverter.cs | 2.640625 | 3 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
namespace MyShadowsocks_UI {
public class ServerConverter : IMultiValueConverter {
public object Convert(object[] values, Type targetTy... |
38fa80f3a8df11c085e0287ee463509e3bd6eb65 | C# | tomsius/LeetCodeRepo | /LeetCode/1394. Find Lucky Integer in an Array/Program.cs | 3.78125 | 4 | using System;
namespace _1394._Find_Lucky_Integer_in_an_Array
{
class Program
{
static void Main(string[] args)
{
int[] arr1 = { 2, 2, 3, 4 };
Console.WriteLine(FindLucky(arr1));
int[] arr2 = { 1, 2, 2, 3, 3, 3 };
Console.WriteLine(FindLucky(arr... |
ce88c9218e7723c25948230bc85368739c3ab7ca | C# | benadaephondelat/TicTacToe | /TicTacToeGame/TicTacToe.ComputerMinMax.Tests/MinMaxComputerTests.cs | 2.59375 | 3 | namespace TicTacToe.ComputerMinMax.Tests
{
using System;
using System.Linq;
using System.Reflection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ComputerTests.DataMockHelper;
using Computer.Models;
using ComputerMinMax;
using TicTacToeCommon.Exceptions.Computer;
[Test... |
3cda56b26bf288e7307804f3f7aa325018795b41 | C# | kevivm/Finance | /Finance/User.cs | 3.03125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
namespace Finance
{
public class User
{
public Dictionary<string, string> Myinfo = new Dictionary<string, string>();
private List<string> _billsPrivat24 = new List<string>();
private List<string> _billsPumb = new List<... |
c8a160f09146653418cb41901e1acb3e0ed677bc | C# | Broghain/GTO7 | /Assets/Scripts/Finite State Machines/FiniteStateMachine.cs | 2.515625 | 3 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public enum StateID
{
None,
ReachedScreenEdge,
AttackingPlayer,
MovingToPosition,
InFormation,
Dead
}
[RequireComponent(typeof(Animator))]
public class FiniteStateMachine : MonoBehaviour {
private Animator sta... |
a6e2b24e96a5c961a41f2da30b3fb8625d66ff5d | C# | jdd817/TankSim | /Tank/Talents/TalentAttribute.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tank.Talents
{
public class TalentAttribute:Attribute
{
public TalentAttribute() { }
public TalentAttribute(Type characterClass, int tier, int possition)
{
... |
99955be0088067b9ecd67a6bcffe3a5704fe59d7 | C# | joshball/astrogrep | /AstroGrep/libAstroGrep/EncodingDetection/EncodingDetector.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace libAstroGrep.EncodingDetection
{
/// <summary>
/// Detect file encodings.
/// </summary>
/// <remarks>
/// AstroGrep File Searching Utility. Written by Theodore L. Ward
/// Copyright (C) 2002 ... |
c4856d795b3845213e6bf8534ef695b1c0833b2e | C# | etienne-p/UnityVolumetric | /Assets/Scripts/Volumetric/Util.cs | 2.875 | 3 | using UnityEngine;
using System.Collections;
namespace Volumetric
{
public class Util
{
public static bool IsPowerOfTwo (int x)
{
return x > 0 && (x & (x - 1)) == 0;
}
// Returns the bounding box (axis aligned) of a points set
public static Bounds PointCloudBounds(Vector3[] points)
{
Vector3 minV... |
805cd84372510f0cce7f205983df3cc467af46d4 | C# | bankin/TelerikAcademy | /C#II Homework/ExceptionHandling/03.FilePath/FilePath.cs | 3.453125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace _03.FilePath
{
class FilePath
{
static void Main(string[] args)
{
Console.Write("Enter file path: ");
string path = Console.ReadLine();
try
... |
948c66c9d85731c7f2f8fbe07bb9d63fb7e4af7d | C# | brohand/Occulta-Solemnis | /Cultist WIP/Assets/Scripts/Inventory.cs | 2.578125 | 3 | using UnityEngine;
using System.Collections;
public class Inventory : MonoBehaviour {
// Use this for initialization
public bool holding;
public bool itemFound;
public GameObject heldItem;
public GameObject currItem;
void Start () {
holding = false;
}
// Update is called once per fr... |
e5f041c563b0079a11182c763a1248435bbf7bb7 | C# | isel-leic-pc/s1819i-li51n | /dotnet/Aula-2018-10-24/Semaphore.cs | 3.140625 | 3 |
/*
* A simple semaphore implemented as a monitor
* Jorge Martins, september 2019
*/
using SynchUtils;
using System;
using System.Threading;
namespace Aula_2018_10_24 {
public class Semaphore {
private Object monitor;
private volatile int permits;
private volatile int waiters;
... |
72ce0aee3679f858b1f0ad66ab4c4752be5b8efe | C# | pebblecode/pc-common | /src/PC.Framework/PC.Framework/Threading/RepeatingTask.cs | 3.140625 | 3 | using PebbleCode.Framework.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace PebbleCode.Framework.Threading
{
/// <summary>
/// Base class for classes requiring repeated callbacks
/// </summary>
public abstract class Repeat... |
98114f2b4f88331fc81b7a835054fddaca2041f3 | C# | theonej/N-Dexed.Deployment | /N-Dexed.Deployment.Security/Encryptors/RijndaelManagedEncryptor.cs | 3.046875 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace N_Dexed.Deployment.Security.Encryptors
{
public class RijndaelManagedEncryptor: IEncryptor
{
private const string CRYPTO_KEY = "N-Dexed.Deploy... |
7f93c82302efa68e6a935e1572fb0c972215e8d6 | C# | uwfl/RandomCoding | /RandomUtilities/RandomUtilities/InputFile.cs | 3.234375 | 3 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RandomUtilities
{
public class InputFile
{
public string FilePath { get; set; }
public string Filename { get; set; }
public string Extension { ... |
4f06ccef57888d5ec77b16f662ea7a0ee6d3db84 | C# | TehCheat/PoEHUD | /src/Models/Attributes/StaticOffsetFieldDebugAttribute.cs | 2.765625 | 3 | namespace PoeHUD.Models.Attributes
{
using System;
/// <summary>
/// Used by ImguiDebug plugin. Adds a slider to static field to fix some offset by dragging it
/// Implements the <see cref="System.Attribute" />
/// </summary>
/// <seealso cref="System.Attribute" />
public class StaticOffse... |
57dfb5fd9d4b0cdd029d1a97e54865ef94692ac9 | C# | sevimlikedicik/Introduction-to-Competitive-Programming | /IntroCompetitiveProgrammingCodes/Other/FindTheTownJudge.cs | 3.609375 | 4 | using System;
namespace IntroCompetitiveProgrammingCodes.Other
{
class FindTheTownJudge
{
static void Main(string[] args)
{
int[][] mtr = new int[][] { new int[] { 1, 3 }, new int[] { 2, 3 } };
Console.WriteLine(FindJudge(3, mtr));
Console.Read... |
97fc65655c544e88880d6e3d3528c8589de81a62 | C# | madragonse/MAKARON_Client | /client_app/client_lib/Game.cs | 2.65625 | 3 | using packages;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace client_lib
{
public abstract class Game
{
public Bitmap bitmap;
protected Grap... |
bd42ba61e05b0811b7276b4f0651849298e6b8cc | C# | beatrizcardc/API_Emprestimos | /Repository/UsuarioRepository.cs | 2.671875 | 3 | using API_Emprestimos.Models;
using System.Collections.Generic;
using System.Linq;
namespace API_Emprestimos.Repository
{
public class UsuarioRepository : AbstractRepository<Usuario>
{
public UsuarioRepository(BaseDbContext context, ContextoExecucao contexto) : base(context, contexto)
{
... |
bd1dffb21247426ce833c49c7edaa78c9d87cae2 | C# | Daakw/ITHSLab2 | /ShapesLibrary/Circle.cs | 3.234375 | 3 | using System;
using System.Numerics;
namespace ShapesLibrary
{
public class Circle : Shape2D
{
public override float Circumference { get; }
public override Vector3 Center { get; }
public override float Area { get; }
public Circle(Vector2 center, float radius)
{
... |
d1a9abbab5723a89864775692439847e995b77d9 | C# | sonali-thakur/ContactRepo | /ContactMicroService/ContactMicroService/Model/Contact.cs | 2.671875 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace ContactMicroService.Model
{
/// <summary>
/// COntact Model class
/// </summary>
public class Contact
{
/// <summary>
/// class property
/// </summary>
[... |
2b7637e07a1a18e83ba21e869c70afe3d694d1ed | C# | cjlpowers/Inaugura | /Inaugura/Backup/2/App_Code/VolumeGraph.cs | 2.78125 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using ZedGraph;
namespace Inaugura.RealLeads.Graphing
{
public class VolumeGraph
{
#region Variables
private string mTitle = "Volume";
private string mXAxisTitle = "Date/Time";
private string mY1AxisTitle = "Number o... |
f8984f58dbbf9f5da4ed4b74dd435af14b635dde | C# | dolittle/Bifrost | /Source/Bifrost/Security/AuthorizeTargetResult.cs | 2.875 | 3 | /*---------------------------------------------------------------------------------------------
* Copyright (c) 2008-2017 Dolittle. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*---------------------------------------------------------------------... |
f0480f6bbb793d843390acaf3c503747152dfcab | C# | GuilhermeMatheus/BasicSharp | /src/BasicSharp.Compiler/ILEmitter/Emitters/ModuleEmitter.cs | 2.5625 | 3 | using BasicSharp.Compiler.Analyzer;
using BasicSharp.Compiler.Parser.Extensions;
using BasicSharp.Compiler.Parser.Syntaxes;
using BasicSharp.Compiler.ILEmitter.Extensions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection.Emit;
namespace BasicSharp.Compiler.... |
2c3fd9231d82dfb7466a0989d489e98d575be6dc | C# | AdmiralSnyder/VRUnityAudioRemoteControl | /VRProject/Tools/NugetLib/Packages.cs | 2.5625 | 3 | using System;
using System.Linq;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Net;
using System.Xml;
namespace NugetLib
{
public class Packages
{
public Dictionary<(string, string), Package> PackageByNameVersion = new Dictionary<(string, string), Package... |
a450a6231a2cbb4d3b77f8f76d12e4a5099b819a | C# | YurkoUA/DesignPatterns | /src/DesignPatterns/DesignPatterns/RemoteControlCommand/Commands/MacroCommand.cs | 2.765625 | 3 | using RemoteControlCommand.Interfaces;
namespace RemoteControlCommand.Commands
{
public class MacroCommand : ICommand
{
private readonly ICommand[] commands;
public MacroCommand(params ICommand[] commands)
{
this.commands = commands;
}
public void Execute(... |
c7a5036dc9977a5d4a3cb0576223c09f7f5f924a | C# | SaiAvishkarSreerama/Preperations | /AviPreperation/Data Structures/HashTable/FindDuplicateTree.cs | 3.53125 | 4 | using System;
using System.Collections.Generic;
using System.Text;
/*
* Given a binary tree, return all duplicate subtrees. For each kind of duplicate subtrees, you only need to return the root node of any one of them.
*
*Two trees are duplicate if they have the same structure with same node values.
*
*Example 1:
*
*... |
53216b2135c07f34df19a5434d7295491a9a9285 | C# | olaitanade/salesmanagerWPF | /SalesManager/Model/Admin.cs | 2.625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SalesManager.Model
{
[Serializable]
class Admin
{
public String Name { get; set; }
public string Password { get; set; }
public string Rights { get; set; }/... |
33c120bd91d7c7eec9042d392414323badf91a4b | C# | aaronallen8455/PronomeMacOs | /Pronome/Visualizer/Bounce/BounceHelper.cs | 2.828125 | 3 | using System;
namespace Pronome.Mac.Visualizer.Bounce
{
public class BounceHelper
{
#region Static Public fields
/// <summary>
/// Number of bpms that have elapsed since last frame was drawn.
/// </summary>
static public double ElapsedBpm;
/// <summary>
... |
65afefb5b60aa4928a4d327ee9881e34dc363965 | C# | iceto77/CSharp-Fundamentals-in-SoftUni | /Objects and Classes - Lab/03. Songs/Program.cs | 3.296875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
namespace _03._Songs
{
class Program
{
static void Main(string[] args)
{
int numberOfSongs = int.Parse(Console.ReadLine());
List<Song> SongData = new List<Song>();
for (int i = 0;... |
5a7c36bd91d731a7ec102a115a9fe3abb5fade18 | C# | Godsown06/brothers_motors | /Stock Management System/Login.cs | 2.53125 | 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 Brothers_Motors
{
public partial class Login : Form
{
public Login()
{... |
61b9afccfb6b2dfbdd9e925ce6502f17e852463a | C# | rpwjanzen/blinken | /Blinken/Clock/Program.cs | 2.875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
namespace Clock
{
class Program
{
private static Timer m_clockTimer;
static void Main(string[] args)
{
Render... |
841ae75f50208d7a8026aae99e886c126078491e | C# | alp78/csharp | /Exercises/Ex_s4_e1.cs | 3.703125 | 4 | /*
Series 4: Polymorphism
Exercise 1: Design a database connection
To access a database, we need to open a connection to it first and close it once our job is done.
Connecting to a database depends on the type of the target database and the database
management system (DBMS). For example, connecting to a SQL Server dat... |
2b8fecadcf7233acda449b075f3c30f581b609e8 | C# | nishi1999/c-sharpp | /interface calculator/interface calculator/BasicCalculator.cs | 3.921875 | 4 | using System;
using System.Collections.Generic;
using System.Text;
namespace interface_calculator
{
class BasicCalculator:BasicCalculatorInterface
{
public int division(int x, int y)
{
Console.WriteLine("Division of {0} and {1} is: ", x, y);
int div = x / y... |
6db8db86a7a1adece279bc0a24204e11e83b472a | C# | tcrane-oulu/tron-clone-client | /Assets/Scripts/Packets/LoadGamePacket.cs | 2.71875 | 3 | namespace Packets
{
public class LoadGamePacket : IServerPacket
{
public PacketType Id
{
get { return PacketType.LoadGame; }
}
public int ClientId { get; set; }
public short MapSize { get; set; }
public void Read(PacketReader reader)
{
... |
3fc8e65f4082dff8e719a4ac61dd5c088a44bdc5 | C# | knarf7112/SocketServer | /WebSocketServer/Client/StateObject.cs | 2.984375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//
using System.Net.Sockets;
namespace WebSocketServer.Client
{
public class StateObject : ISateObject
{
private byte[] _buffer;
private Socket _client;
private AsyncCall... |
91d723dadb58bb62e79a09a6787c37d01e724833 | C# | Alkasai/Ditch | /Sources/Ditch.Core/Models/UInt128.cs | 2.84375 | 3 | using System;
using System.IO;
using System.Numerics;
using Ditch.Core.Converters;
using Ditch.Core.Interfaces;
using Newtonsoft.Json;
namespace Ditch.Core.Models
{
[JsonConverter(typeof(CustomJsonConverter))]
public class UInt128 : ICustomJson, ICustomSerializer
{
public string Value { get; set; ... |
fcf4bb998e26aab90e48c6e0b1dab06683f984e9 | C# | punker76/Markdown-Edit | /src/MarkdownEdit/Models/StringExtensions.cs | 3.015625 | 3 | using System;
using System.Text;
using System.Text.RegularExpressions;
namespace MarkdownEdit.Models
{
public static class StringExtensions
{
public static string SurroundWith(this string text, string quote) => $"{quote}{text}{quote}";
public static string UnsurroundWith(this string text, str... |
7ff9683e8f00ddabcae46d21326213c08bb6f77c | C# | XINCGer/Unity3DTraining | /DesignPatterns/TemplatePattern/TemplatePattern/NewMobilePhone.cs | 2.984375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TemplatePattern
{
abstract class NewMobilePhone
{
public virtual void PowerOn()
{
Console.WriteLine(User() + "手机开机了!");
}
public virtual vo... |
a09b6a8065dd305e96bfbca323d615b5df0aea61 | C# | mikerandrup/cs2php | /Lang.Php.Compiler/Source/_Definitions/PhpClassFieldDefinition.cs | 2.53125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lang.Php.Compiler.Source
{
/*
smartClass
option NoAdditionalFile
property Name string nazwa pola lub stałej
property IsStatic bool
property IsConst bo... |
5c94d6fb7cbf1ea0e3c5230c5ba7586d41b157fc | C# | IsaVerdiyev/WeatherApplication | /WeatherApplication/Services/WeatherInfoGetter/OpenWeatherMapWeatherInfoGetter.cs | 2.53125 | 3 | using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using WeatherApplication.Model;
using WeatherApplication.Services.WeatherInfoGetter.Exceptions;
namespace Weath... |
296aec8661afbd07804ecabd6a3349493b610c20 | C# | Jacob0421/DB-System-Implementation | /MovieStore/Models/DirectorRepository.cs | 3.09375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MovieStore.Models
{
public class DirectorRepository : IDirectorRepository
{
private readonly AppDbContext _context;
public DirectorRepository(AppDbContext context)
{
... |