Datasets:

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
2c9a1c93202425697fe3ec38625023d069a3fb34
C#
seiya886s/kudryavkaDiscordBot
/src/discordClinet/Config/Configuration.cs
2.703125
3
using kudryavkaDiscordBot.discondClinet.Utility; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Text; namespace kudryavkaDiscordBot.discondClinet.Config { /// <summary> /// Class for stroing global set...
61bffb18b989ed5dc675c41faf637a0e89b85c8b
C#
Karrazyne/Past
/Past.Protocol/Types/game/character/CharacterMinimalInformations.cs
2.921875
3
using Past.Protocol.IO; using System; namespace Past.Protocol.Types { public class CharacterMinimalInformations { public int id; public string name; public byte level; public const short Id = 110; public virtual short TypeId { get { return Id; } ...
8a072e198bf3919ea4543a638949288c4fd0ba10
C#
rsakshay/HangryDrago
/Assets/Code/InputMan.cs
2.515625
3
using UnityEngine; public static class InputMan { private const string LHorizontal = "LHorizontal"; private static bool allowControls = true; public static bool GetButtonDown(string key) { if (!allowControls) return false; return Input.GetButtonDown(key); } publi...
1a8b5321670d93fadb1b04e8d030d181650779cd
C#
avinash0161/OrleansExperiments
/Program.cs
2.6875
3
using Microsoft.Extensions.Logging; using Orleans; using Orleans.Configuration; using Orleans.Hosting; using System; using System.Net; using System.Threading.Tasks; namespace Orleans2StatelessWorkers { class Program { private const string chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz01...
76252cbd867975845635db6e350d0c378072842a
C#
nightmare40000/DMInS
/Lab1-DMInS/MainForm.cs
2.578125
3
using System; using System.Collections.Generic; using System.Drawing; using System.IO; using System.Linq; using System.Windows.Forms; using Shared; namespace Lab1_DMInS { public partial class MainForm : Form { private readonly IDisplayer _displayer; private readonly IClusterizer _clusterizer; ...
edbd9074dd9cd5a826fb1d1cd0bcc5a7bb896dcf
C#
Jrdiazs/Prueba.Servicios
/Prueba.Servicios/ExecuteJobs.cs
2.5625
3
using Prueba.Servicios.StringTools; using Quartz; using Quartz.Impl; using System; using System.Collections.Specialized; namespace Prueba.Servicios { public class ExecuteJobs : IExecuteJobs, IDisposable { /// <summary> /// Sheduler Time /// </summary> private static IScheduler ...
656d3ac085023edd904538c1c5cf714993cec276
C#
tmatuszewski97/university-projects
/ai-programming/KnnWindowsForms/KnnWindowsForms/OknoZParametrem.cs
2.765625
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Windows.Forms.VisualStyles; using static KnnWindowsForms.Testy; namespace KnnWindowsForms { public static class OknoZParametrem { public static d...
81e6ac7e10c0443e443b974ea9926ddccc9f9e0d
C#
leandrotquinelato/SOP
/CORE.Auth/TratamentoLog.cs
3.171875
3
using System; using System.Collections.Generic; using System.Text; using System.IO; namespace MRS.Automacao.Uteis { public class TratamentoLog { public enum NivelLog { Info, Erro, Acao }; private static String pathPastaLog = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "log"); ...
ef5e7d3e5e3f906cc8251cb5394338afbd92e074
C#
TeodorPenev/SoftUni
/Level 0/C#_Basics/PreparationForExam/Exercises/4.Console-Input-Output-HW/15. NewHouse/NewHouse.cs
3.5625
4
//Problem 15. * – New House //This problem is from Variant 4 of C# Basics exam from 11-04-2014 Evening. using System; class NewHouse { static void Main() { int n = int.Parse(Console.ReadLine()); int starIncrease = 0; int linesDecrease =0; for (int i = 0; i < n/2+1; i++) ...
526cec87770f8ba55ed070556d28cb38f3a32906
C#
SobekCM/SobekCM-Web-Application
/SobekCM_Library/ItemViewer/HtmlHeadWriters/iItemHtmlHeadWriter.cs
2.59375
3
using System.IO; using SobekCM.Core.BriefItem; using SobekCM.Library.ItemViewer.Viewers; namespace SobekCM.Library.ItemViewer.HtmlHeadWriters { /// <summary> Defines the interface for the objects that can write into the HTML head during item display </summary> /// <remarks> This object should be thread safe a...
359a83444d7a1befb782bfec2b34064756effa12
C#
CCurl/StockAnalyzer
/trader1/MainWindowViewModel.cs
2.75
3
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; namespace trader1 { public class MainWindowViewModel : INotifyPropertyChanged { public event PropertyChangedEventHandl...
46639a54a868348fa1e02147a8c33f08fec13e18
C#
abubakarirfan/ShapeDrawer
/Shape.cs
3.140625
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SplashKitSDK; using System.IO; namespace ShapeDrawer { public abstract class Shape { private static Dictionary<string, Type> _ShapeClassRegistry = new Dictionary<string, Type>(); ...
a6cb992f31d40107b107c162cf64a5bb592059ce
C#
Bhaskers-Blu-Org2/CromwellOnAzure
/src/deploy-cromwell-on-azure/Program.cs
2.59375
3
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; using System.Threading.Tasks; namespace CromwellOnAzureDeployer { internal class Program { public static async Task Main(string[] args) { await InitializeAndDeployAsync(args); } ...
97e3341df285a44a6292953a410defb1ba0658c2
C#
shendongnian/download4
/first_version_download2/548322-51750900-179354552-2.cs
3.078125
3
public static void FindElement(this IWebDriver driver, By by, int timeout) { if(timeout >0) { return new WebDriverWait(driver, TimeSpan.FromSeconds(timeout)).Until(ExpectedConditions.ElementToBeClickable(by)); } return driver.FindElement(by); } public s...
6a815e4a4026ee356c047bfcc4004c9949077af4
C#
Skeletonware/Fog-Eater
/Assets/_Scripts/BulletUI.cs
2.65625
3
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BulletUI : MonoBehaviour { public List<GameObject> uiBullets = new List<GameObject>(); public GameObject bulletPrefab; public static BulletUI instance; void Awake() { instance = this; }...
e3d69e9e4e5ab45503f672025883cc14cbd21ae6
C#
WeiWei-Haung/asp.net-class
/asp.net-class-2018-4-19/WebApplication1/Models/Service/OrderService.cs
2.671875
3
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Web; using WebApplication1.Models.Daos; namespace WebApplication1.Models.Service { public class OrderService { /// <summary> /// 進行Order的查詢 /// </summa...
53fbff297ffc5eb28aa2725ff4a662166e2f94f6
C#
local-minimum/emotihunt
/Assets/scripts/ImageAnalysis/Filters/Gaussian5x5S1.cs
3.25
3
namespace ImageAnalysis.Filters { public class Gaussian5x5S1 : Gaussian { double[,] kernel = new double[5,5]; public Gaussian5x5S1() { for (int y=0;y<5;y++) { for (int x=0; x<5;x++) { kernel[y, x] =...
710cd8a70cb5365923d958aca01ddd5edc419c5a
C#
bulentmericli/abc-bank-c-sharp
/AbcBank.Test/CustomerTest.cs
2.875
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using NUnit.Framework; namespace AbcBank.Test { [TestFixture, Description("Tests for Customer class")] public class CustomerTest { [Test] public void Should_Set_Customer_Name...
651121677500c0e7f04f8b745745f6e60348daff
C#
JDosX/Functal
/Source/FunctionScript/FunctionScript/FnFunctionPointer.cs
3.015625
3
using System; using System.Collections.Generic; namespace Functal { /// <summary> /// The generic interface for a function pointer. /// </summary> internal interface FnFunctionPointer { /// <summary> /// Gets the return type of the contained function reference /// </summary> /// <returns></retu...
e95495643a7def57e118853f1dab50d594792c9a
C#
profjordanov/CSharp-Web-Development-Basics
/Store/SoftStore/Views/Home/Index.cs
2.515625
3
using System.Collections.Generic; using System.IO; using System.Text; using SimpleMVC.Interfaces.Generic; using SoftStore.ViewModels; namespace SoftStore.Views.Home { public class Index : IRenderable<IEnumerable<HomeGameVm>> { public string Render() { string header = File.ReadAllTe...
b1c3ad5571e5abee2c7835a7fb1c80a73d3fb065
C#
kudsu/CnBlogSubscribeTool
/src/CnBlogSubscribeTool/MailUtil.cs
2.734375
3
using System.Collections.Generic; using CnBlogSubscribeTool.Config; using MailKit.Net.Smtp; using MimeKit; namespace CnBlogSubscribeTool { /// <summary> /// send email /// </summary> public class MailUtil { private static bool SendMail(MimeMessage mailMessage,MailConfig config) { ...
7619fb8b218c0dc18f36a3f87bf3cfd6eafdf60b
C#
15831944/autodesk-inventor-powertools
/StevenVolckaert.Libraries/StevenVolckaert.Web.Mvc/Extensions/HtmlHelperExtensions.cs
2.734375
3
using System; using System.Collections.Generic; using System.Web.Mvc; using System.Web.Mvc.Html; using System.Web.Routing; using StevenVolckaert.Globalization; namespace StevenVolckaert.Web.Mvc { /// <summary> /// Provides extension methods for System.Web.Mvc.HtmlHelper objects. /// </summary> public ...
37a3d52d074e59ca26e0a25b9b2c5e2776fc22c4
C#
sand-foam/MiniGame
/Assets/Scripts/MonoSingleton.cs
2.625
3
using System.Collections; using System.Collections.Generic; using UnityEngine; public abstract class MonoSingleton<T> : MonoBehaviour where T : MonoSingleton<T> { #region 单例 protected static T s_Instance; public static T Instance { get { if (s_Instance != null) ...
f15e6ea60d56e09fbbe3838120b7d5aa5ca080cd
C#
proniphy/abstraction
/Abstract-Classes/Biplane.cs
3
3
using System; using System.Collections.Generic; using System.Text; namespace Abstract_Classes { public class Biplane : Plane { public override string Type { get { return "Bilane"; } } public override int Speed { ...
b078291ddb1013bb1069d5c932cea97b40fe8365
C#
sama-network/Sama.Api
/src/Sama.Services/Ngos/ChildService.cs
2.734375
3
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Sama.Core.Domain.Ngos; using Sama.Core.Domain.Ngos.Repositories; using Sama.Services.Ngos.Dtos; namespace Sama.Services.Ngos { public class ChildService : IChildService { private readonly INgoReposito...
541c3028dec7815ab69ada6e8701a65038ef7e5b
C#
ZhiyueZhao/NetZhiyueZhao
/DataTier/Data.cs
3.28125
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.OleDb; using System.Data; namespace DataTier { public abstract class Data { #region Attributes private OleDbConnection _connection; private OleDbDataAdapter _adapter; privat...
7f89d00fb669b5f2abc712c26b57a74807d829d2
C#
PlumpMath/DesignPatterns-234
/Adapter/TextView.cs
2.8125
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DesignPatterns { public class TextView { public TextView() { } public void GetOrigin(Coord x, Coord y) { } public void GetExtent(Coord width, Coord ...
006ad2223e0c3c981e42f172fd3b7a5b4bbdabd0
C#
maxBlaze101/csharp-exercises
/CountingCharacters/Program.cs
3.859375
4
using System; using System.Collections.Generic; namespace CountingCharacters { class Program { static void Main(string[] args) { Dictionary<char, int> Counts = new Dictionary<char, int>(); Console.WriteLine("Please enter a phrase:"); string babel = Console.R...
ac51c1b74d7b2e0af9425f0746aa8cf45aa9c29f
C#
mamun-131/COMP123-S2016-AbstractPlanet
/AbstractPlanets/Program.cs
3.328125
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; /* *Author: Md Mamunur Rahman * Student ID: 300872772 * * Date: July 07, 2016 * Description: This program demonstrates a game named 'Abstract Planet', * * Version: 0.0.4...
ca4b787baa0d1b0431e6d62e4932a7d9be96cbc1
C#
indra-ipd/Element-Placement-on-PCB-using-Genetic-Algorithms
/Assets/Scripts/GA/Generation.cs
3.09375
3
using System; namespace GeneticAlgorithm { public class Generation { public Person[] p; public static double SumFitness = 0; public Generation(int n) { p = new Person[n]; for (int i = 0; i < n; i++) { p[i] = new Person(); //о...
63b4664a6737d51224ce82442a5eccab3e7ca484
C#
fintyara/Animals
/Foods/Scripts/TreeHaveFood.cs
2.671875
3
using System.Collections.Generic; using UnityEngine; namespace CollectCreatures { public class TreeHaveFood : HaveFood { #region VAR [SerializeField] private List<AppleFood> _appleFoods = new List<AppleFood>(); private List<int> _selected = new List<int>(); #endregion ...
3a58211b9b8977ccd239f21e0a507dbb4f17c0f5
C#
Jaco-van-Stryp/BIDataHack
/BiDataHack 2020/VotingFormMainUI.cs
2.625
3
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace BiDataHack_2020 { public partial class VotingFormMainUI : Form { ...
19bc15e9ec968464160208a4c407a4957b4c1e53
C#
Ziagl/DevBlogProjects-CSharp
/RaspberryPiGPIO/Program.cs
2.625
3
using System; namespace RaspberryPiGPIO { class Program { static void Main(string[] args) { int pinId = 14; GPIOControl control = new GPIOControl(); while(true) { Console.WriteLine("Pin Status: " + control.GetPinStatus(pinId)); ...
5252a5ac489c933d0171fb425cf2642f9c5e8e2a
C#
davyraes/CSharpPF
/TussentijdseOefening/boek.cs
2.90625
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TussentijdseOefening { public abstract class boek:IVoorwerpen,IAankoop { public boek(string titel,string auteur,decimal aankoopprijs,Genre genre) { this.Tit...
25bbd8d0cfa9b7c0ef3fdb880afb3e891987bda3
C#
awekisa/ProgrammingBasics
/03. Console Input Output/03. Circle Perimeter and Area/CirclePerimeterAndArea.cs
3.8125
4
using System; class CirclePerimeterAndArea { static void Main() { double radius = double.Parse(Console.ReadLine()); double pi = 3.1415926; double perimeter = pi * 2 * radius; double area = pi * (radius * radius); Console.WriteLine("Perimeter is {0:F2...
56bed18d434b923091f0968c10d3fe0e46e7c257
C#
gradusina/FA2
/FA2/Ftp/FtpClient.cs
2.515625
3
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Net; using System.Text.RegularExpressions; namespace FA2.Ftp { internal class FtpClient : WebClient { //protected override WebRequest GetWebRequest(Uri address) //{ ...
bf647db57153b8ad8da3f05ea10933df1a0461a0
C#
shendongnian/download4
/first_version_download2/22454-1155121-2257226-2.cs
2.90625
3
[DataContract] public class Person { [DataMember] private int id; public int Id {get {return id;}} // immutable public Person(int id) { this.id = id; } [DataMember] public string Name {get;set;} // mutable }
f86358b4620a178f9e4cd6d115117ffff2bc22d1
C#
a-severin/ttut
/Commons/Configuration.cs
2.9375
3
 using System; namespace Commons { public class Configuration { public const string DefaultHost = "127.0.0.1"; public const int DefaultPort = 50001; public Configuration(string[] args) { for (int i = 0; i < args.Length; i++) { var param = args[i]; ...
87f40b1fd3fde6b8947db98bff81462ee349744e
C#
reilley/LeetCode
/219-Contains-Duplicate-II/solution.cs
3.28125
3
public class Solution { public bool ContainsNearbyDuplicate(int[] nums, int k) { if(nums==null || nums.Length ==0) return false; var dict = new Dictionary<int, int>(); for(int i=0; i<nums.Length; i++){ if(!dict.ContainsKey(nums[i])){ dict[nums[i]] = i; ...
fdd52a9c5983bce92f71474e3bbe02b79e367ba8
C#
RoziPetkova/SoftUni-Homework
/1.4 High-Quality Code/Exams/BuhtigIssueTracker/BuhtigIssueTracker/Execution/IssueTrackerEngine.cs
2.8125
3
namespace BuhtigIssueTracker.Execution { using System; using System.Text; using Interfaces; using UserInterface; public class IssueTrackerEngine : IEngine { private readonly CommandExecutor commandExecutor; private readonly IUserInterface userInterface; public IssueTra...
fcd69944e05a92818c4aa1477c63f52b2591c8a5
C#
Dreami/PIDS_Actividad5
/Actividad5/Actividad5/Program.cs
3.125
3
using FileOutputs; using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace Actividad5 { class Program { static void Main(string[] args) { DirectoryInfo d = new DirectoryInfo(Outputs.getAllFiles()); FileInfo[] Files = d....
96c7dd84dde3da14c942adf7991dc13bb0d3f63e
C#
zdougherty18/Aspose_Email_NET
/Examples/ProgrammersGuide/ProgrammingEmail/ManagingEmailMessagesPOP3/ReceivingAndSavingToDisk/RecipientInformation/CSharp/Program.cs
2.734375
3
////////////////////////////////////////////////////////////////////////// // Copyright 2001-2013 Aspose Pty Ltd. All Rights Reserved. // // This file is part of Aspose.Email. The source code in this file // is only intended as a supplement to the documentation, and is provided // "as is", without warranty of any kind,...
314dba769d3fe9050f784ef16888408b1a2b45de
C#
dimass2580/organizer
/orgainizer/Data/ContactsRequests.cs
2.703125
3
using orgainizer.Data.Add; using orgainizer.Data.Deleate; using orgainizer.Data.Get; using orgainizer.DataModels; using System.Collections.Generic; using System.Data.OleDb; namespace orgainizer.Data { class ContactsRequests : Reqester { public ContactsRequests() { addRequest = new ...
e33743456198ab701a637a594fc9318f957cf9fd
C#
beerseeker0/TesteEsquinaLab
/TesteEsquinaLab/Controllers/ComprasController.cs
2.625
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 EsquinaLabApi.Data; using EsquinaLabApi.Models; namespace EsquinaLabApi.Controllers { [Route("api/[controller...
09f5a38b808057cfbebe782d62b08648191a986d
C#
PavithraSSE/Shopping_Service
/Projects/ShoppingProcessor/ShoppingModel.cs
2.609375
3
using ShoppingProcessor.Interface; using System; using System.Collections.Generic; using System.Data; using System.Threading.Tasks; using ShoppingDAL; using System.Data.SqlClient; namespace ShoppingProcessor { public class ShoppingModel: IShoppingModel { public async Task<dynamic> GetItemsDetailsByNam...
04c7826ff7d23ad4b85038b8c8e2052c2f6e7183
C#
TAHK518/tdd
/cs/TagsCloudVisualization/PointExtension.cs
2.890625
3
using System; using System.Collections.Generic; using System.Drawing; using System.Text; namespace TagsCloudVisualization { public static class PointExtension { public static double GetDistance(this Point currentPoint, Point otherPoint) { return Math.Sqrt(Math.Pow(currentPoint.X - ...
fbc478da3d88ce1f5484976039448d734f44ea21
C#
KasperSK/TripleA
/Software/TripleA/CashRegister.WebApi/Controllers/OrderLinesController.cs
2.609375
3
using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Data.Entity.Infrastructure; using System.Linq; using System.Net; using System.Net.Http; using System.Threading.Tasks; using System.Web.Http; using System.Web.Http.Description; using CashRegister.WebApi.Models; na...
92b38256d697e2da438048627f0dcf1623583232
C#
Jivitesh13/CardGameScoreCalculator
/CardGameScoreCalculator.Web/Controllers/CardGameController.cs
2.625
3
using CardGameScoreCalculator.Web.Models; using CardGameScoreCalculator.Web.Models.Builders; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; namespace CardGameScoreCalculator.Web.Controllers { public class CardGameController : Controller { private readonly ILogger<CardGameControlle...
c839caec80f3a7b6990b8abc56327349e2883495
C#
NathanHoln/Cyberarms
/Cyberarms.IntrusionDetection.Shared/Db/DbUpgrader.cs
2.515625
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Cyberarms.IntrusionDetection.Shared.Db { public class DbUpgrader { public void RunUpgradeScripts(System.Data.IDbConnection connection) { System.Data.IDbCommand cmd = connection.C...
09b1bea9517ff8e8a449bfa37b02ba52a465ff0d
C#
abbasbordbar/Shop
/Shop/Models/Services/UserService.cs
2.59375
3
using Shop.Data; using Shop.Models.Interfaces; using Shop.ViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Shop.Models.Services { public class UserService : IUserService { DBShop dB; public UserService(DBShop dBShop) ...
be5bc4ebd095b1d2adf4526e6398c3446c851376
C#
KleinclausFlorent/ContactsAPI-For-OpenWt
/MyContacts.API/Validation/SaveUserResourceValidation.cs
2.625
3
using FluentValidation; using MyContacts.API.Resources; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MyContacts.API.Validation { /// <summary> /// Class used to make some data validation before sending data to the database /// Fluent Validatio...
430b46c53597116d7c7b24522407e29dff9e83a3
C#
isdaniel/Asp.net-MVC-Debuger
/src/aspnetwebstack/OData/src/System.Web.Http.OData/OData/Routing/CastPathSegment.cs
2.5625
3
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. using System.Web.Http.OData.Formatter; using System.Web.Http.OData.Properties; using Microsoft.Data.Edm; namespace System.Web.Http.OData.Routing { /// <summary> /// An <see cre...
b29d369533579508bd5558d8d7e20837fb5286e7
C#
celery94/EntPhysicalTableTree
/EntPhysicalTableTree/GetTable.cs
2.734375
3
using System; using System.Net; using System.Text; using System.Collections.Generic; using SnmpSharpNet; namespace EntPhysicalTableTree { class MainClass { public static void GetTable() { Dictionary<String, Dictionary<uint, AsnType>> result = new Dictionary<String, Dic...
7f3330beaae1110e57bb600ab777da1991644e4f
C#
jelacicedin/AVMS-sensor
/LIDAR-app/packages/0.9.0.9 OpenGL Sources/OpenTKLib/Triangulation/Cell2D.cs
2.84375
3
/************************************************************************* * This file & class is part of the MIConvexHull Library Project. * Copyright 2010 Matthew Ira Campbell, PhD. * * MIConvexHull is free software: you can redistribute it and/or modify * it under the terms of the GNU General ...
acacaa8fff723f1279c829b1737190eaf6a7e4bb
C#
Kamleeonau/Intel-Unite-Video-Plugin
/UniteVideoBrowserExtensionHelper/Program.cs
2.734375
3
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Threading; using System.Web.Script.Serialization; using System.IO; using System.Text; using System.Net; using System.Net.Sockets; namespace UniteVideoBrowserExtensionHelper { class Program { ...
9205e47b9da9d82aa7285738d4208703cca5def5
C#
ajurkic/Songs-and-playlists
/SandP/Migrations/201707160926442_InsertDataIntoSongsAndPlaylistsTables.cs
2.609375
3
namespace SandP.Migrations { using System; using System.Data.Entity.Migrations; public partial class InsertDataIntoSongsAndPlaylistsTables : DbMigration { public override void Up() { Sql("INSERT INTO Songs(Name, Author, Length) VALUES ('Something like this', 'Coldplay', ...
e3a1d35cce4c85332cfec08f528904ad01da8780
C#
jackyyang09/Simple-Unity-Audio-Manager
/Runtime/Scripts/JSAMSettings.cs
2.703125
3
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; using UnityEngine.Audio; namespace JSAM { public class JSAMSettings : ScriptableObject { [Tooltip("If true, enables 3D spatialized audio for all sound effects, does not effect music")] [SerializeF...
ee75c0e29b4398d829e2fff5c5c02bc7ad030970
C#
Gokinha/RPG
/Aula09.Servico/Equipamento_Servico.cs
2.671875
3
using System; using System.Collections.Generic; using Aula09.Comum.NotificationPattern; using Aula09.Dados; using Aula09.Dominio; namespace Aula09.Servico { public class Equipamento_Servico { private readonly Equipamento_Repositorio _equipamento_Repositorio; public Equipamento_Servico() ...
2c42bd14e3740e5139cb38c5a445ad414f497b35
C#
akav/pbrt
/pbrt/core/GeometricPrimitive.cs
2.671875
3
using pbrt.core.geometry; using pbrt.lights; namespace pbrt.core { public class GeometricPrimitive : Primitive { public readonly Shape Shape; public readonly Material Material; public readonly AreaLight AreaLight; public override Bounds3<float> WorldBounds => Shape.WorldBound(...
69c7c30357e9c8c486a7f9fb9d639283d07a70b4
C#
Juliana090694/Aluninho
/ProjetinhoAluninho/View/Projeto.cs
2.546875
3
using ProjetinhoAluninho.DAO; using ProjetinhoAluninho.Model; 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 ProjetinhoAluninho.View { pu...
ad46866c09519e9e16afcc18648ecad958f4f9dc
C#
riceman0000/loadoftheoilmagnate
/loadoftheoilmagnate/Assets/Scripts/Systems/General/SavableBase.cs
2.625
3
using UnityEngine; using System; using System.IO; using System.Security.Cryptography; using UniRx; using UniRx.Async; namespace OilMagnate { public class SavableBase<T> : ISavable where T : SavableBase<T>, new() { /// <summary> /// json text. /// </summary> static string _...
de9c21c0fbd98e8000bee18317866b5909b73a0c
C#
MJKruszewski/Mod-Bannerlord-SettlersForVillages
/SettlersForVillages/Logger.cs
2.84375
3
using System; using System.IO; using TaleWorlds.Core; namespace SettlersForVillages { public static class Logger { private static string LOGGING_PATH = "./../../Modules/SettlersForVillages/Logs/"; private static string FILE_ERROR_PATH = "./../../Modules/SettlersForVillages/Logs/Errors.log"; ...
0492d76a230f3c156a0d22d3a2bc5c29b5dd8353
C#
Moiraines/Blackcurrant-team
/MonopolyGame/MonopolyGame/Model/Classes/Tiles/StartTile.cs
2.53125
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MonopolyGame.Model.Classes { public class StartTile : Tile { private const string START_TILE_NAME = "Start"; public StartTile() : base(START_TILE_NAME) ...
d5dca79d2bafac4695f7a2a9d864aabba9101164
C#
ryanlewis94/ContactsApi
/Contacts.API/Services/ContactRepo.cs
2.671875
3
using Contacts.API.DB; using Contacts.API.Entities; using Contacts.API.Helpers; using Contacts.API.Models; using Contacts.API.ResourceParameters; using System; using System.Collections.Generic; using System.Linq; namespace Contacts.API.Services { public class ContactRepo : IContactRepo { ...
35c162f032dfa75b63767a5818bceb7ba5c9bdf9
C#
teshiba/DockingManager
/DockingManager/MultiDockContent.cs
2.859375
3
using WeifenLuo.WinFormsUI.Docking; namespace DockingManager { /// <summary> /// Manages multiple instance which is created from one class derived <see cref="DockContent"/>. /// </summary> public class MultiDockContent : DockContent { /// <summary> /// Initializes a new instance of...
3bcc7718f0dd5b9be7fc807272343d175b069c7e
C#
PressmanMatthew/Console-Based-Roguelike-Game
/PressmanM-HW1/MovementHandler.cs
2.796875
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Threading; namespace PressmanM_HW1 { class MovementHandler { OutsideLevel outsidelvl = new OutsideLevel(); static GrassTile grass = new GrassTile(); static P...
afd9d2ec9cc729c73aaa7723dc951e0ab47a4bb5
C#
flpsno/kasolution-20487
/Mod. 10/backend/FN.Store/FN.Store.Data/EF/Maps/ProdutoMap.cs
2.640625
3
using FN.Store.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace FN.Store.Data.EF.Maps { public class ProdutoMap : IEntityTypeConfiguration<Produto> { public void Configure(EntityTypeBuilder<Produto> builder) { /...
30b6bda86abbe3cebc4f4cbb113d790b69cb3cf5
C#
ShaifulSolehan/C-project
/Form4.cs
2.984375
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.IO; namespace SE_project { public partial class Form4 : Form { ...
036d89d8839d0d8e6cc62696b9e68d66652b015b
C#
louwangzhiyuY/Presentation.ETW
/Counter/ThreadSyncTester.cs
3.28125
3
using System.IO; using System.Runtime.CompilerServices; using System.Threading; namespace Counter { internal class ThreadSyncTester { private readonly CancellationToken _token; private volatile int _aCounter; private volatile int _bCounter; public ThreadSyncTester(Cancellation...
3a2f5eedd8cfbf0e717f43e3b25055bcb7bbfb09
C#
sagerioz/MyTripTracker
/MyTripTracker.UI/Services/IApiClient.cs
3.21875
3
using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using MyTripTracker.BackService.Models; namespace MyTripTracker.UI.Services { public interface IApiClient { // These extension methods here are used // for encapsulating util...
987f771d9a7284cf37ab90cc2776b99ee63ebc93
C#
Hengle/SboxDiscordBot
/SboxDiscordBot/Commands/HelpCommand.cs
2.6875
3
using System; using System.Reflection; using Disco; namespace SboxDiscordBot.Commands { public class Help : Command { public override string[] Aliases => new[] {"help", "h"}; public override string[] Syntax => new string[] { }; public override string Description => "Get a list of bot c...
24b10b03ea69efba90946f06225ed6c193b44c9d
C#
Ian-Meadows/ResourceCollection
/Resource Collection/Assets/Scripts/ItemStuff/Item.cs
2.671875
3
using UnityEngine; using System.Collections; using System; [Serializable] public class Item { public int worth; public string name; public int ItemType; public int ImageLocation; public enum ItemBase {Coal, Ore, Plate, Wire, Processor, Computer}; public ItemBase itemBase = new ItemBase()...
f019be9b7904b2442cf179e353cd4d130378d8ac
C#
RaqG/SearchExtensions
/ExtensionsSearch/ExtensionsSearch/FolderSearch.cs
3.546875
4
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SearchExtensions { public class FolderSearch { /* Lista todos os arquivos de um tipo de extensão informada, dentro de um caminho especificado */ ...
8fb12c5448162034bb3c5cc06fe529f057c3960e
C#
epicwebgame/dragdrop
/DotNet/Building a Simple LINQ Provider/CSVToSQL/CSVToSQL/BooleanExtensions.cs
3.109375
3
using System; namespace CSVToSQL.Extensions { public static class BooleanExtensions { public static void ThrowIfTrue(this bool b) { if (b) throw new Exception(); } public static void ThrowIfTrue(this bool b, Exception exception) { if (b) throw e...
ffe187f7899c2bf48a800b843a793984517e0bcf
C#
beejones/ZonePlayer
/ZonePlayer/PlayerChangedEventArgs.cs
2.796875
3
//--------------------------------------------------------------- // The MIT License. Beejones //--------------------------------------------------------------- using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; /// <summary> /// Implementation of <see...
544a02b0c23e031d64948e3652bd8709544b216d
C#
RafalH4/Clinic.API
/Repositories/ReferralRepository.cs
2.671875
3
using Clinic.API.Data; using Clinic.API.IRepositories; using Clinic.API.Models; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Clinic.API.Repositories { public class ReferralRepository : IReferralRepository { private readonly DataContext _con...
5bc99b79e7222e4fcc9f136ea594f6e0b72f1a0b
C#
xianyu8866/Restaurant-Management-System--C-sharp-project
/HungerGames.V2.0/Presentation Layer/Order_Dashboard.cs
2.53125
3
using HungerGames.V2._0.Business_Logic_Layer; using HungerGames.V2._0.DataAccessLayer; using HungerGames.V2._0.DataAccessLayer.Entities; using System; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Drawing; using S...
a67ecda8348139f5d4e0fa72789033acdd62c042
C#
cnc-kvsr/Algorithms
/VARS1/VARS05.cs
3.15625
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace VARS1 { public static class VARS05 { public static void AnaKod() { string[] meyveler = { "elma", "armut", "muz", "üzüm", "şeftali" }; var meyve = from m in meyveler ...
30d5e85e06e6c1827c88e8adefaa274a7460416f
C#
AnthonyRyck/SuiviFormation
/src/FormationApp/Composants/RechercheFormation.razor.cs
2.65625
3
using AccessData; using AccessData.Models; using Microsoft.AspNetCore.Components; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace FormationApp.Composants { public partial class RechercheFormation : ComponentBase { #region Properties [Inject] public ...
761a376a83309c33b1d6166d325519aa7990184f
C#
bmaulana/lone-worker-poc
/LoneWorkerPoC/LoneWorkerPoC/BandManager.cs
2.578125
3
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Windows.Storage; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media.Imaging; using Microsoft.Band; using Microsoft.Band.Notifications; using Microsoft.Band.Tiles; namespace LoneWorkerPoC { public class ...
f359a557e0d7e6571795876777f03dee68f1eb08
C#
trpakov/ComputerPartsApp
/ComputerParts/Parts/RAM.cs
3.078125
3
using System; namespace ComputerPartsLibrary { [Serializable()] public class RAM : Part { public int CapacityGB { get; set; } public string Type { get; set; } public int SpeedMHz { get; set; } public RAM( string manufacturer, string name, ...
a264a53f16a3716559fb861b7695aacd00d44ab5
C#
ReznichenkoSergey/ThePackage
/ThePackage/Services/StaffToPointService.cs
2.6875
3
using System.Collections.Generic; using System.Linq; using ThePackage.Models.Abstract; using ThePackage.Models.Database; using ThePackage.Models.Entities; using ThePackage.Services.Interfaces; namespace ThePackage.Services { public class StaffToPointService : IService<StaffToPoint> { public BaseReposi...
07e7ad3557fa1eeb44baff80e6b6e16f12029a2e
C#
homer-zhang/hydra-BAPI
/src/Lonsid.MES.Core/MesManager/MesManager.cs
2.828125
3
using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; namespace Lonsid.MES.MesManager { public class MesManager : IMesManager { public MesManager() { } public string CallBapi(string parm) { string output =...
3f438a7997d804d7d7e59f2077d4e6905b5d5e0f
C#
AmrElshenawy/Automated-Maintenance-Reminder
/Automated Maintenance Reminder/FixturesChecker.cs
2.875
3
using System; using System.Linq; using Excel = Microsoft.Office.Interop.Excel; namespace Automated_Maintenance_Reminder { class FixturesChecker : Program { private bool yellowFlag = false; private bool redFlag = false; //Flags getter public string getFlag() { ...
6ee14efc0a8067601ec7923311dfd1cd00164c3a
C#
Ilo-ILD/CSharpBasic
/OperatorsExpressionsStatements/FourDigitNumber/FourDigitNumber.cs
3.90625
4
using System; namespace FourDigitNumber { class FourDigitNumber { static void Main() { int number = 0; Console.Write("Enter a integer between 1000 and 9999: "); if (int.TryParse(Console.ReadLine(), out number) && number >= 1000 && number <= 9999) ...
29b69d404b0f97468e1f996c5fdd745a34e122b9
C#
wanlitao/FCP.FluentData
/FluentData/Core/PropertyExpressionParser.cs
3.03125
3
using System; using System.Linq.Expressions; using System.Reflection; namespace FluentData { public class PropertyExpressionParser<T> { private readonly object _item; private readonly PropertyInfo _property; public PropertyExpressionParser(object item, Expression<Func<T, object>> propertyExpression) { _...
dd3a6a9e312ab714ec6e56223f0205b21a58bcf5
C#
oluwasege/Lab5WorkingWithAbstractClasses
/BankC.cs
3.65625
4
using System; using System.Collections.Generic; using System.Text; namespace Lab5WorkingWithAbstractClasses { class BankC : Bank { int balance = 200; public override void getBalance() { int input; Console.WriteLine("Welcome to Bank C\nWe are glad to have you wit...
b1a34b43e5505e6657b90b2da4f78f823d45c4e2
C#
ChpNick/3dPerson
/Assets/Script/CollectibleItem.cs
2.640625
3
using UnityEngine; using System.Collections; public class CollectibleItem : MonoBehaviour { // Введите имя этого элемента на панели Inspector. [SerializeField] private string itemName; void OnTriggerEnter(Collider other) { Debug.Log("Item collected: " + itemName); Managers.Inv...
de0242ea3d11506a19e0e794491d94442a8ba7c9
C#
trcruse/dino-diner
/Menu/Drinks/Sodasaurus.cs
3.21875
3
using System; using System.Collections.Generic; using System.Text; /// <summary> /// Inherits from base class Drink /// </summary> namespace DinoDiner.Menu { /// <summary> /// Inherits from base class Drink /// </summary> public class Sodasaurus : Drink { /// <summary> /// prot...
b97fbfb38786ca7f589c9a7aa45e37684d60fa78
C#
csnemes/shapeshifter
/Shapeshifter.Tests.Unit/RoundtripTests/ComplexStructure/Product.cs
2.609375
3
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; namespace Shapeshifter.Tests.Unit.RoundtripTests.ComplexStructure { [DataContract] public class Product { public Product(string name, string description, double price) ...
0658b8d0f46e8c296203fb68bcf47f3661d5ebf0
C#
kxnaylorCLE216/LibraryAPISolution
/LibraryAPI/Controllers/DemoController.cs
2.8125
3
using LibraryAPI.Models.Employees; using LibraryAPI.Models.Status; using LibraryAPI.Services; using Microsoft.AspNetCore.Mvc; using System; namespace LibraryAPI.Controllers { public class DemoController : ControllerBase { private readonly IProvideServerStatusInformation _statusService; public...
034f0f40b95af862a25376cd635fdfa23e66182a
C#
sluski/DumbKnightAdventure
/Assets/Scripts/CoinBehavior.cs
2.625
3
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class CoinBehavior : MonoBehaviour { private static int score = 0; public Text countText; void Start() { updateScoreText(score); } void Update() { } void OnTrigge...
9e9a08e2955dc9c09bd3d15b1b95ccee7afda691
C#
sweko/SEDC-Euler
/EulerSolutions/SWeko/Problem005.cs
2.828125
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using EulerEngine; namespace EulerSolutions.SWeko { class Problem005 : IProblemSolution { public int ProblemID { get { return 5; } } public long Exec...
c5328cdfd54ab6b2738fd561a67370f649c935ca
C#
braianb92/Progr_Labo_2
/Integrador/Repaso/Repaso/Estante.cs
3.453125
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Repaso { class Estante { private Producto[] productos; private int ubicacionEstante; public Estante(int capacidad,int ubicacion):this(capacidad) { ...
1f70ecfadd3b49acc93c6b639e52308577be73fd
C#
jaranvil/C-Sharp
/Assign4/WindowsFormsApplication11/Biz/Test.cs
3.171875
3
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Biz { public class Test { public delegate void FireHandler(String txt); public FireHandler handler; //method deep down //metods already doesn't return ...
4381c5e2e922e953118aa1be005a64a241ca0642
C#
CityChainFoundation/city-chain
/src/Stratis.SmartContracts.CLR/AddressGenerator.cs
2.953125
3
using System.Linq; using NBitcoin; using Stratis.SmartContracts.Core.Hashing; namespace Stratis.SmartContracts.CLR { public class AddressGenerator : IAddressGenerator { /// <summary> /// Deterministically generates a new contract address using the given seed and nonce. /// </summary> ...
bb8370511a0f065f6c740524b8369b39d0ce694e
C#
wunmao/LinqFasterer
/LinqFasterer/Aggregate.cs
3.140625
3
using LinqFasterer.Utils; using System; using System.Collections.Generic; using System.Runtime.CompilerServices; namespace LinqFasterer { public static partial class EnumerableF { /// <summary> /// Applies an accumulator function over a sequence. /// </summary> /// <param name=...
5a4b6f553405b80f856eb594a19f887da281fb9a
C#
EpsteinRoss-FS/ADF_2012_EpsteinRoss
/App.cs
3.140625
3
/** * Ross Epstein * 12/10/2020 * ADF119-O - APPLICATION DEVELOPMENT FUNDAMENTALS * 3.6 - Data Integration 2 * **/ using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; namespace ADF_2011_EpsteinRoss { class App { private static Menu _appMenu { g...
1e7b400126c8068393a80f63f216b03d47fb301b
C#
BooLeet/Mansion-Warrior
/Mansion Warrior Mobile/Assets/Player/HUD/Scripts/HUD_Healthbar.cs
2.5625
3
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class HUD_Healthbar : MonoBehaviour { public Image healthFill; public Image damageEffectFill; public Text[] healthCounters; public RawImage lowHealthIndicator; public float lowHealthIndicato...
329247062aeab7964756c00959c0585204fd9eab
C#
DoctorSoft/fbkBot
/facebookQuery/DataBase/QueriesAndCommands/Commands/Friends/RemoveAnalyzedFriendCommand/RemoveAnalyzedFriendCommandHandler.cs
2.640625
3
using System.Linq; using Constants.FriendTypesEnum; using DataBase.Context; using DataBase.Models; namespace DataBase.QueriesAndCommands.Commands.Friends.RemoveAnalyzedFriendCommand { public class RemoveAnalyzedFriendCommandHandler : ICommandHandler<RemoveAnalyzedFriendCommand, VoidCommandResponse> { ...