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 |
|---|---|---|---|---|---|---|
259f7961ed4613cc190c185ec1279e84fcea9401 | C# | streamlinetech/ScannersSecurityClient | /SecurityClient/SecurityClient.Core/JsonResourceRequestExtensions.cs | 2.578125 | 3 | using System;
using System.IO;
using System.Net;
using System.Reflection;
using System.Runtime.Serialization.Json;
using System.Text;
namespace Streamline.Security.Scanners.Core
{
public static class JsonResourceRequestExtensions
{
const string DefaultAcceptHeader = "application/json, text/json;q=0.9";
public s... |
836248677f2faa6737ee4138a1acca69fb7c24c8 | C# | tanakablog/BirdProject | /Assets/Scripts/Editor/ClassInfo.cs | 3.15625 | 3 | using System.Linq;
using System.Text;
/// <summary>
/// クラス情報
/// </summary>
public class ClassInfo : StructuralInfoBase {
/// <summary>
/// 抽象クラスフラグ
/// </summary>
public bool isAbstract = false;
public override string GetDeclarationName()
{
var declaration = string.Empty;
... |
1ee2663fbfc3e19a10e34793eb9fc0908f667678 | C# | oddlittlebird/samples | /snippets/csharp/VS_Snippets_VBCSharp/VbPowerPacksSimpleShapeBottom/CS/SimpleShapeBottom.cs | 2.609375 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace VbPowerPacksSimpleShapeBottomCS
{
public partial class SimpleShapeBottom : Form
{
public SimpleShapeBottom()... |
c3fa290c0921492ff2666034fe202d74c324f6d6 | C# | ICT60/CGM118-Labsheet1_02 | /Labsheet1_02/Labsheet1_02/Square.cs | 3.21875 | 3 | namespace Labsheet1_02
{
class Square
{
public double Width { get; set; }
public double Height { get; set; }
public double Area { get { return Width * Height; } }
public Square(double width = 0, double height = 0)
{
Width = width;
Height = heig... |
88291fa3b37efe011852d8a99ef0508478ce79fe | C# | will11600/Elements | /Assets/Scripts/FileManager.cs | 2.53125 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
using System.Linq;
using System;
public class FileManager : MonoBehaviour {
public int selected = 0;
private string dirPath;
public void UpdateAll(string path, params string[] validExtensions)
{
... |
1b8f62ae52fe84abfa22fa2142529a8a66fa2dd2 | C# | unpano/hospital | /HCI_wpf_Andjela_Paunovic/Model/Medication.cs | 2.625 | 3 | using System;
namespace Model
{
public class Medication
{
private int id;
private String name;
private String ingridients;
private String uses;
private Boolean approved = false;
private int approvingConuter;
private int quantity = 1;
private int d... |
136ca168baffde4e5f7d0cefedd349e6c9ce472b | C# | nocoli/HackerRank | /Algorithims/Birthday Chocolate.cs | 3.671875 | 4 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
class Solution {
static int solve(int n, int[] s, int d, int m){
// Complete this function
// n = length of the chocolate bar 1
// s = array of the numbers on each piece in t... |
3e5cc79b33bb307098112207fc3e2936b044a34e | C# | wilari932/Curso-de-C-1 | /MyFirstProgram/Program.cs | 3.546875 | 4 | using System;
using System.Net;
using System.Threading.Tasks;
namespace MyFirstProgram
{
class Program
{
// Caules son los tipos de datos primitivos en C#
// como declarar una variable con ellos
// Como se usan
// los operados logicos || && !
// los operadores aritmetic... |
cbd0317b08596e642eac0c63a580f2abb0c6f3b0 | C# | yuriypts/sorted-list-dot-net | /SortList/SortedList.cs | 3.578125 | 4 | using System;
using System.Collections.Generic;
namespace SortList
{
public class SortedList
{
private int[] customArr;
public int[] SortedListByAsc(int[] arr)
{
if (arr == null || arr.Length < 1)
return arr;
int[] sortedArr = new int[arr.Lengt... |
e9c4425ad074044716641394abbdb5bc6914e06f | C# | UmutCB/software | /02_BitmapPlayground/02_BitmapPlayground/IFilter.cs | 3.34375 | 3 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _02_BitmapPlayground
{
/// <summary>
/// Contains a filter.
/// </summary>
public interface IFilter
{
/// <summary>
/// Applies the fi... |
2a563db110d6e4be9b6d329c171e8b0fcf8145bf | C# | YoanMoskov/SoftUni-Software-Engineering | /C#-Fundamentals/09.ArraysAdvanced_Lab/02.SumAdjacentEqualNumbers/Program.cs | 3.90625 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
namespace _02.SumAdjacentEqualNumbers
{
class Program
{
static void Main()
{
List<double> numbers = Console.ReadLine()
.Split()
.Select(double.Parse)
.ToList();
... |
5f8e5e76843c8f2bb1fad7d2489f9f95c99cc69a | C# | shizzerr/Zaawansowane_programowanie_obiektowe_zadania_zaliczeniowe | /Program.cs | 3.234375 | 3 | using System;
namespace Zaawansowane_programowanie_obiektowe_zadania_zaliczeniowe
{
class Program
{
static void Main(string[] args)
{
Employee employee1 = new Employee("Adrian","Adriański",1);
employee1.DodajOperacje(new Operation(1500.20, 1, 60, new DateTime(2020, 05, ... |
2b28816754d38bc282a945bcd0aba3a1865762fb | C# | Forevka/PokemonApi | /PokemonApi/Repositories/PokemonRepository.cs | 2.828125 | 3 | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PokemonApi.Repositories
{
public class PokemonRepository : IPokemonRepository
{
private readonly PokemonDbContext _pokemonDbContext;
public PokemonRep... |
da0c55bd2e2fbfa2f6716c76dc1b4529aa4132b9 | C# | youngformoza/service_test | /DB_Connections/Entities/customer.cs | 3.015625 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace DB_Connections.Entities
{
public class Customer
{
[DisplayName("ID")]
public int id_cus { get; }
[DisplayName("ФИО")]
public string name { get; set; }
[DisplayNam... |
c503e1b220fe00fbbac1b85b7aa9c63a93eb4204 | C# | hnjm/POS-2 | /Forms/FrmOrdersSummary.cs | 2.640625 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace POCS
{
public partial class FrmOrdersSummary : Form
{
private BindingSource bindingSource1 = new BindingSource();
public... |
845ff036c6a72191769fc55bf54e635469d50069 | C# | comfyneet/BachelorThesis | /Source/C#/RiceDoctor/RiceDoctor.RuleManager/Facts/FuzzyFact.cs | 2.96875 | 3 | using System.Globalization;
using JetBrains.Annotations;
using Newtonsoft.Json;
using RiceDoctor.Shared;
namespace RiceDoctor.RuleManager
{
public class FuzzyFact : Fact
{
private bool _canGetLabel;
[CanBeNull] private string _label;
public FuzzyFact([NotNull] string variableName, dou... |
40c4b6577336711e3c75fcb78617d297589627f8 | C# | MrLiauw/PointOfSale | /UnitTestProject1/Sale.cs | 3.09375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
namespace UnitTestProject1
{
internal class Sale
{
private Display display;
private Catalog catalog;
private IList<int> pendingPurchaseItemPrices = new List<int>();
public Sale(Catalog catalog, Display display... |
0e58b7041090fff88501aedc1a088e0587cfc499 | C# | Misza13/SharpWiki | /SharpWiki/API/Queries/LinksQuery.cs | 2.53125 | 3 | namespace SharpWiki.API.Queries
{
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Model;
using SharpWiki.Model.Queries;
internal class LinksQuery : PaginatingQuery<LinksQueryRequest, LinksQueryResult, Page>, ILinksQuery
{
private readonly Page pag... |
63cb3a519718df2b664df12a45f995f1675a77f7 | C# | polando/OStimingAlgorithmsSim | /lamport - Copy/lamport/lamport.cs | 2.90625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace lamport
{
public class lamport
{
public void lam(int pid,float time) // thread ID
{
Program.entered[pid] = true;
int ma... |
47feb409bb5692db29e431dc29a3fdd10c99f137 | C# | zhanghao-esrichina/DataAccessForArcGISEngine | /GIS_catalog/LSArcCatalog/Geometry/HistoryObjectCache.cs | 3.078125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;
namespace LSArcCatalog
{
/// <summary>
/// HistoryObjectCache 是一个缓存列表。
/// 在这个列表中记录了对象的变化状态。
/// </summary>
public class HistoryObjectCache
{
public HistoryOb... |
bee6c6572612b28c8a7e8cfec3f1a45ede603d6c | C# | coders-vechai/SamSamStringDecrypter | /SamSamStringDecrypter/SetPasswordForm.cs | 2.9375 | 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 SamSamStringDecrypter
{
public partial class SetPasswordForm : Form
{
// Flag ... |
f91ce3ead77c4be46b067cc40350117267ffe877 | C# | hostent/EntFrame | /Ent.Model/Untility/DataPage.cs | 2.703125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ent.Model.Untility
{
public class DataPage<T>
{
private int totalCounts;
private List<T> currentPage;
/// <summary>
/// 页数(从1开始)
/// </summary>
... |
5a37e9a62e0cc78a1aa83d90928b02060f41f616 | C# | wannasaynone/KahaGameCore | /InGame/Combat/ValueObject.cs | 3.09375 | 3 | namespace KahaGameCore.Combat
{
public class ValueObject
{
public string UID { get; private set; }
public string Tag { get; private set; }
public int Value { get; private set; }
public ValueObject(string tag, int value)
{
UID = System.Guid.NewGuid().ToString... |
beef64f602e9a39baf30672772b18d86d7012722 | C# | papyr/bus_system | /TrackAChild/TrackAChild/Services/DriverService.cs | 3.078125 | 3 | using System;
using System.Collections.ObjectModel;
using System.Linq;
using TrackAChild.Interfaces;
using TrackAChild.Models;
namespace TrackAChild.Services
{
public class DriverService : IDriverService
{
public ObservableCollection<DriverModel> Drivers { get; set; }
private DriverModel driv... |
75551c5357e17cec0d86cde1cf61e3155dfb151f | C# | alexander-rykov/dotnetbasics | /StructsAndClasses/BoxingAndUnboxing/StructImplementsInterface.cs | 3.75 | 4 | using System;
namespace BoxingAndUnboxing
{
public class StructImplementsInterface
{
interface IHasValue
{
int Value { get; set; }
}
struct MyStruct : IHasValue
{
int _value;
public int Value
{
get
... |
5814f2c3c82cb384d0e4e2c5f76e74fbefb2d313 | C# | rinavin/RCJS | /CefSharp.MinimalExample-master/magic/Sources/RichClientDotNet/RichClient/src/com/magicsoftware/richclient/security/UserRights.cs | 2.765625 | 3 | using System;
using System.Collections;
using util.com.magicsoftware.util;
namespace com.magicsoftware.richclient.security
{
// This class is used to manage the user rights on the client side. It is updated with
// data from the server, and can be used to get the user rights without calling the server
intern... |
fd350cc133d1bb623b3a2b608c91344ca6ed7f86 | C# | MageFox-UdefinedDev/TheBugBoxRepo | /BugBox/BugBox/Pages/TrapDetail.xaml.cs | 2.546875 | 3 | using System;
using BugBox.Models;
using BugBox.ViewModels;
using Xamarin.Forms;
using Xamarin.Forms.Maps;
using Xamarin.Forms.Xaml;
namespace BugBox.Pages
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class TrapDetail : ContentPage
{
private Map _map;
private Trap _tr... |
d0851499d70fd704b389db3267fa137260dbbb98 | C# | kepocnhh/staninitiative | /StanInitiative/trunk/GoogleAPIs/Query/Results/Interfaces/IGoogleNewsResult.cs | 2.578125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GoogleSearchAPI.Query
{
interface IGoogleNewsResult : IGoogleResult
{
/// <summary>
/// Supplies the raw URL of the result.
/// </summary>
string UnescapedUrl { get; set; }
/... |
a823529e278b23efa6fad7a318e7758a774f4ab4 | C# | rmjahangeer/TeacherFacilitationSystem | /TeacherFacilitationSystem/AddQuestion.xaml.cs | 2.84375 | 3 | using System.Windows;
using System.Windows.Documents;
using BusinessLogicLayer;
using BusinessObjects;
using MessageBox = System.Windows.MessageBox;
using OpenFileDialog = System.Windows.Forms.OpenFileDialog;
namespace TeacherFacilitationSystem
{
/// <summary>
/// Interaction logic for AddQuestion.xaml
//... |
d7469abacd3458db4e67b647f78a591ab3835e11 | C# | shendongnian/download4 | /code5/856454-21175784-55836598-2.cs | 3.0625 | 3 | public partial class Form1 : Form
{
private void Form1_Load(object sender, EventArgs e)
{
var btnns = new List<Button>();
btnns.Add(button1);
btnns.Add(button2);
btnns.Add(button3);
btnns.Add(button4);
//Shuffle the list
... |
737a6a998e20d96937cd0a323fc805c1c96519aa | C# | Somnacin7/LD37 | /Assets/Scripts/InputHandler.cs | 2.609375 | 3 | using UnityEngine;
using System.Collections;
public class InputHandler : MonoBehaviour {
public delegate void JumpDown();
public event JumpDown OnJumpDown;
public delegate void JumpUp();
public event JumpUp OnJumpUp;
private bool jump;
public float horizontalAxis { get; set; }
... |
c00701be57e537a4c8ce5ffce3b80da00f6da5f3 | C# | MattRickS/Convolve | /Program.cs | 3.640625 | 4 | using System;
using System.Drawing;
namespace Gaussian
{
class Program
{
static void Main(string[] args)
{
if (args.Length < 4)
{
throw new System.ArgumentException(
"Invalid usage, requires 4 args: src dst sigma radius"
... |
0ef545750da8171b1e7b157c375353ae4bfd48b8 | C# | JayTee42/tubaf-swe-2021 | /06 - Abstrakte Klassen, Interfaces/pet/Program.cs | 3.9375 | 4 | using System;
using System.Collections.Generic;
class Program
{
static void Main(string[] args)
{
// `List` is a generic data type.
// "Collection initializer": Initialize a collection via { ... }.
var fishtank = new List<Fish>
{
new Goldfish("Hans-Joachim"),
... |
7508dc1250012454d3cabc36a31467768d3c2498 | C# | jimmybanegas/proyectocolegio | /Colegio/Models/IdentityModels.cs | 2.515625 | 3 | using System;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using System.Data.Entity;
using System.Security.Claims;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
namespace IdentitySample.Models
{
public enum Sexo
{
Masculino, Femenino
... |
e22e6e558e47e3cadd0c5f7efc51767e62f18a1f | C# | levonaramyan/CodeFights_Tasks | /Arcade/The Core/12. List Backwoods/AreIsomorphic/Program.cs | 3.71875 | 4 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
// Two two-dimensional arrays are isomorphic if they have the same number of rows
// and each pair of respective rows contains the same number of elements.
// PROBLEM: Given two two-dimensional arrays, ... |
7cda3ce01a34832210c80c49715bf756c24d2a84 | C# | Andes107/FYPAPI | /FYPAPI.Infrastructure/GenericConverter/Converter.cs | 3.09375 | 3 | using System;
using System.Linq;
using System.ComponentModel;
using System.Globalization;
using System.Reflection;
namespace FYPAPI.Infrastructure.GenericConverter
{
public class Converter<T> : TypeConverter where T : new()
{
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sou... |
575672ba098f409fbfca72ce2b9b238d68d91f8e | C# | chwazy/Woopsa | /Sources/DotNet/Woopsa/Implementation/WoopsaJsonData.cs | 2.859375 | 3 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Woopsa
{
public class WoopsaJsonData
{
public static WoopsaJsonData CreateFromText(string jsonText)
{
object deserializedData = ... |
98e3b5b10659ee2439ca64d8ded3f90190c910c8 | C# | jsnells1/AdventOfCode2020 | /Helpers/Day20/Tile.cs | 3.140625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
namespace AdventOfCode.Helpers.Day20
{
class Tile
{
#region Properties
private bool Oriented { get; set; }
public int Number { get; set; }
public List<List<bool>> Pixels { get; set; } = new();
// Top, B... |
bdedcd331970ccf2202e5ce04e347c070ebcbfae | C# | rasw/IEEE754_WordToFloat | /WordToFloat/Form1.cs | 3.140625 | 3 | using System;
using System.Windows.Forms;
namespace WordToFloat
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
int keyPressCount = 0;
private void Form1_Load(object sender, EventArgs e)
{
}... |
321c9612e6c75818c101fc0507b71bb3684530fe | C# | typocrypha/typocrypha-ii | /Typocrypha II/Assets/Scripts/Utility/AdhocAnimations/Fade.cs | 2.921875 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace AdhocAnim
{
/// <summary>
/// Fades in/out all listed sprite renderers/images.
/// </summary>
public class Fade : AdhocAnimation
{
public bool fadeIn; // True: fade in. False: fad... |
70af5217d67751e5fb74913ca8c60fae8ab57933 | C# | eyalsolomon10/MenuesProject | /B16 Ex04 Idan 305342768 Eyal 200651669/Ex04.Menus.Interfaces/MenuItem.cs | 3.4375 | 3 | using System;
using System.Collections.Generic;
using System.Text;
namespace Ex04.Menus.Interfaces
{
public class MenuItem
{
private List<MenuItem> m_Menues;
private string m_Title;
private bool m_IsAction;
private IActionable Action;
private bool m_IsFirstMenu;
... |
88cd59f6878981efa8990f24341c1821692878f6 | C# | Andrewwojownik/MuOnlineCSharpConnectServer | /ConnectServer/ServerConnector/Server.cs | 2.71875 | 3 | using ConnectServer.Packets.GameServerToClient;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Xml.Linq;
namespace ConnectServer.ServerConnector
{
public class Server
{
public List<ServerObject> Servers { pr... |
8a4a765c15f1097e79877824d9f1093f71442773 | C# | git-yulia/HoloTest | /ps_tests/PerceptionSimulationTests/Program.cs | 2.859375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.PerceptionSimulation;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
RestSimu... |
bef7dd5cf47f2ca5ccf00c2b71d2d57b4e9541d4 | C# | JohnLeeErg/TrailMix | /Puzz for Two/Assets/Scripts/GlowModulation.cs | 2.578125 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GlowModulation : MonoBehaviour {
SpriteRenderer mySR;
float startingAlpha;
bool goingDown;
// Use this for initialization
void Start () {
mySR = GetComponent<SpriteRenderer>();
startingAlpha = m... |
1441d4ef49e838cfc828955fdcf9246fcd54cb6f | C# | lkurylo/Chat | /FPChat.MvcClient/IoC/IServiceLocator.cs | 2.875 | 3 | using System;
namespace FPChat
{
/// <summary>
/// Interface for service locator.
/// </summary>
public interface IServiceLocator
{
/// <summary>
/// Returns specific service.
/// </summary>
/// <typeparam name="T">Service to resolve.</typeparam>
/// <return... |
991357454cc7c463d3750dea316736ba1314d5ad | C# | Raj63/RocketLauncher_Prowareness | /src/Nasa.RocketLauncher.Business/Src/Implementations/NextGenCargoRocketWarehouse.cs | 2.546875 | 3 | using System.Collections.Generic;
using Nasa.RocketLauncher.Business.Src.Interfaces;
using Nasa.RocketLauncher.Contract.DataContracts;
using Nasa.RocketLauncher.Inventory.Src.Interfaces;
namespace Nasa.RocketLauncher.Business.Src.Implementations
{
public class NextGenCargoRocketWarehouse : CargoRocketWarehouse, I... |
6d3fa8915cce88943505763a33a2f12adb898227 | C# | acgonzo20/RubysAdventure2D-UnityTutorial | /RubysTutorial/Assets/Scripts/RubyController.cs | 2.546875 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RubyController : MonoBehaviour
{
//public allows you to change/access outside of the script (in editor or other script)
public int maxHealth = 5;
//This first statement is a property which allows you to only acces... |
a6b9284daeb723ff9b37adda235b7ecfe784752b | C# | GrzegorzMazela/AuditElasticSearch | /AuditElasticSearch.Domain/Entities/ChangeValueEntity.cs | 2.75 | 3 | using System;
namespace AuditElasticSearch.Domain.Entities
{
public class ChangeValueEntity
{
protected ChangeValueEntity()
{
}
public static ChangeValueEntity CreateChangeValue(string fieldName, string fieldType, string oldValue, string newValue, int order,
string... |
48ab90242e907a62454e7246890a9acc96255968 | C# | 042020-dotnet-uta/davidSawyer-repo1 | /Not Projects/ProjectOneV2/ProjectOneV2/Controllers/StoreController.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using Microsoft.AspNetCore.Mvc;
using ProjectOneV2.Models;
// For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace ProjectOneV2.Control... |
01417d705a6bacdb0ef016fe06d23c5974c2ccb5 | C# | siemensapigeejam/widgets | /DESPortal.Widgets.Infrastructure/Services/WidgetService.cs | 2.5625 | 3 | using DESPortal.Widgets.Core.Models;
using DESPortal.Widgets.Core.Services;
using DESPortal.Widgets.Infrastructure.DataAccess.DESPortal;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DESPortal.Widgets.Infrastructure.Services
{
... |
0ed2e82bdc723fc3b60c0f4d5e1494807caa0ed1 | C# | henriquelouz/AED-Search-Analysis | /Program.cs | 3.046875 | 3 | using System;
using System.IO;
using System.Linq;
using System.Collections.Generic;
using System.Globalization;
namespace AED_Search_Analysis
{
class Program
{
static void Main(string[] args)
{
Pesquisa pesquisa = new Pesquisa(extrair("dados_airbnb.txt"));
... |
9b2a25bf4a8d0e604bbafef429253c74d31338d3 | C# | chiptunecafe/CC-SnoozeTracker | /Assets/Core/FiniteStack.cs | 3.3125 | 3 | using UnityEngine;
using System.Collections;
public class FiniteStack<T> {
public FiniteStack(int size){
m_Items = new T[size];
}
public int count { get { return m_Count; } }
private T[] m_Items;
private int m_Top = 0;
private int m_Count = 0;
public void Push(T item)
{
... |
00967f09ba6eec0f488afdf3766ed473b338aed4 | C# | 3DI70R/Unity-XmlUI | /Runtime/Utils/AttributeType.cs | 2.609375 | 3 | using System;
using System.Globalization;
using Facebook.Yoga;
using UnityEngine;
using Object = UnityEngine.Object;
namespace ThreeDISevenZeroR.XmlUI
{
public static class AttributeType
{
public static readonly TypeInfo<string> String = new TypeInfo<string>
{
typeName = "String",... |
f08069e8cde53499914cd041ead4e8a86b08c5c9 | C# | NguyenHuuHaiLinh/Chat-Multi-Client-Server | /Client/FormDangky/Form1.cs | 2.609375 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Data.OleDb;
namespace FormDangky
{
public partial class Dangky : Form
{
string connectionString =
... |
63816fede1ec2e936d8af609bba8aac92eba2463 | C# | SharonSkyChen/MoneySkillTreeHW | /MoneySkillTreeHW/MoneySkillTreeHW/Controllers/MoneyController.cs | 2.515625 | 3 | using MoneySkillTreeHW.Models;
using MoneySkillTreeHW.Models.ViewModels;
using MoneySkillTreeHW.Service;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace MoneySkillTreeHW.Controllers
{
public class MoneyController : Controller
{
priva... |
e65d6c3d27595d2433a6c5f104fe0e06796566f3 | C# | SuperLin10/PBaseDefense_Unity3D | /Assets/P-BaseDefenseAssets/GameCode/GameAttr/CharacterAttr/AttrStrategy/SoldierAttrStrategy.cs | 2.734375 | 3 | using UnityEngine;
using System.Collections;
// 玩家单位(士兵)的数值计算策略
public class SoldierAttrStrategy : IAttrStrategy
{
// 初始的数值
public override void InitAttr( ICharacterAttr CharacterAttr )
{
// 是否为士兵类别
SoldierAttr theSoldierAttr = CharacterAttr as SoldierAttr;
if(theSoldierAttr==null)
return ;
// 最大生命力有等... |
9ef70c91315e1d898ab73d56307d54a9dcf39444 | C# | g1235/OCE | /OfficeCoreExer/OfficeCoreExer/OfficeCoreExer/ItunesService.cs | 3.046875 | 3 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Text;
namespace OfficeCoreExer
{
public class ItunesService : ISongsFetchingService
{
public itunesSong[] Fetch10RndSongs(string artist)
{
... |
7c4d675567767119a7398883e5851c8814052a2a | C# | kuligowski/PlugApp | /PluginLog/Logger.cs | 2.796875 | 3 | using System;
using System.Text;
using Microsoft.Extensions.Logging;
using System.Collections;
using System.Collections.Generic;
using MongoDB.Driver;
namespace PluginLog
{
public class Logger : ILogger
{
protected IMongoCollection<ActivityLog> DbLog
{
get
{
... |
6c102d454adc84831e24423e96bb9ff339695b74 | C# | TomSBohn/TomBohnPublicRepo | /BohnMastery/FlooringProgram.UI/Workflows/EditOrderWorkflow.cs | 2.96875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FlooringProgram.BLL;
using FlooringProgram.Data;
using FlooringProgram.Models;
namespace FlooringProgram.UI.Workflows
{
public class EditOrderWorkflow
{
private OrderInfo _currentO... |
9d70ee1daf975921fcb70ddaf1653eafe12e87b7 | C# | TheBigPancake/LabWork4GitHubRepository | /LabWork4GitHubRepository/Program.cs | 3.203125 | 3 | using LabWork4GitHubRepository.TestClass;
using LabWork4GitHubRepository.Gorodensky;
using System;
using System.Collections.Generic;
namespace LabWork4GitHubRepository
{
class Program
{
private static List<RunebleClass> classes = new List<RunebleClass>();
static void Main(string[] args)
... |
ebbff9faab35e7f01de08fd451cc804e953d89be | C# | Firebie/FirmwareConverter | /FirmwareConverter/BusinessLogic/NcsDummy.Classes.Nfs.Lines/KeywordLine.cs | 2.8125 | 3 | using NcsDummy.Classes.Checksums;
using System;
using System.Globalization;
using System.Reflection;
using System.Text;
namespace NcsDummy.Classes.Nfs.Lines
{
public class KeywordLine : NfsLine
{
private bool _checksumchanged;
private string _keyword;
private string _value;
private int _va... |
438c8d46a09ad720efda283931834fc2e68e928f | C# | olehrechukh/Devblogs.AzureFunctions | /Devblogs.AzureFunctions/TelegramService/TelegramSender.cs | 2.609375 | 3 | using System.Net.Http;
using System.Threading.Tasks;
using Devblogs.AzureFunctions.Configurations;
namespace Devblogs.AzureFunctions.TelegramService
{
public class TelegramSender
{
private readonly string _chatId;
private readonly string _token;
private readonly HttpClient _client;
... |
3ffa76baad07397cb855f32853452e350e25bc35 | C# | bsimser/treesurgeon | /src/Core/Utils/ProcessExecutor.cs | 2.953125 | 3 | using System;
using System.Diagnostics;
namespace TreeSurgeon.Core.Utils
{
/// <summary>
/// The ProcessExecutor executes a new <see cref="Process"/> using the properties specified in the input <see cref="ProcessInfo" />.
/// ProcessExecutor is designed specifically to deal with processes that redirect the... |
22a5689506923d1ff0d19e124ecf8528f6e7f161 | C# | Adilbi23/WeatherForecast | /ConsoleApp1/Program.cs | 3.078125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace ConsoleApp1
{
class Program
{
static void Main(string[] args)
{
using (WebClient client = new WebClient... |
8641a93a04c2438a900213ed4e709e49256b8d8d | C# | tylerCarter/C_Sharp | /C Sharp Complete Reference/Chapter 1-8/ControlStatements94/Program.cs | 2.734375 | 3 | using System;
namespace ControlStatements94
{
class Program
{
static void Main()
{
int x;
for(x = 100; x > -100; x -= 5)
Console.WriteLine(x);
}
}
}
|
ea22a8cc86f17e37333a5aa587451fcd4eb22e82 | C# | JacobaPeng/PraticeWithCode | /Algorthms/Algorthms/ConCurrencyProgram/TaskResult.cs | 2.703125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Algorthms.ConCurrencyProgram
{
public class TaskResult : IMyAsyncInterface
{
public Task<int> GetValueAsync(CancellationToken cancellationToken)
{
try
... |
3e262366b149247f6f4c9272465777e7a3210710 | C# | yeffry056/PreoyectoFinal_Aplicada1_Eladio_Mario | /ProyectoFinalAplicada1/BLL/Utilidades.cs | 3.015625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using System.Windows.Controls;
namespace ProyectoFinalAplicada1.BLL
{
public class Utilidades
{
public static int ToInt(string valor)
... |
96e0f4ce81f1ee9ad7bf11f9b3137ea80b7f4cdb | C# | BrianSturgis/JanMadLIbs | /Startup.cs | 2.78125 | 3 | // These import built-in .NET namespaces that are required for creating a web application. They can help us construct HTTP requests, configure our project, and ensure necessary built-in functionality is present in the correct areas.
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft... |
21ee05544a51f6af42f6e12f00e87b8f4ee7c9bb | C# | Mazepin/Selfstudy | /TestPr8.1 Key Pressed detection/Program.cs | 3.40625 | 3 | using System;
namespace TestPr8._1_Key_Pressed_detection
{
class Program
{
// Key pressed detected
static void Main(string[] args)
{
// Determining the type of key pressed
Console.WriteLine("\t===Determining the type of key pressed===");
Console.Wr... |
9cabb55efdf237883912e1392659c85c1ca8366c | C# | GianiWVL/VUYLSTEKE | /TIS/TIS.Client/File.cs | 2.546875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualBasic;
using System.IO;
using Ionic.Zip;
using System.Collections;
namespace TIS.Client
{
public class ZipFile
{
// Fields
private byte[] BIN;
public Collection Files = new Colle... |
b29cb22448d0c695d7569f9d04c42d0acfe1e1b6 | C# | M4th3m4tic4l/wow-emulator-archive | /WowwoW - Version 8.0 - 07.2006/Scripts/Engines/Commands/ToStartLocation.cs | 2.65625 | 3 | using System;
using System.Collections;
using Server;
// Created by TUM 04.07.05
namespace Server.Scripts.Commands
{
public class ToStartLocation : IInitialize
{
public static void Initialize()
{
Commands.Register( "ToStartLocation", AccessLevels.GM, new CommandEventHan... |
0fcb31494b854ed283ae7fa72319a7dd32dd00e5 | C# | roshangrg364/InventoryManagement | /InventoryLibrary/Source/Services/Implementation/UnitService.cs | 2.5625 | 3 | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using InventoryLibrary.Entity;
using InventoryLibrary.Source.Dto.Unit;
using InventoryLibrary.Source.Entity;
using InventoryLibrary.Source.Extension;
using InventoryLibrary.Source.Repository.Interface;
using InventoryLibra... |
afdff6b45887c9ed2af9e74efa51b071293e569a | C# | MickeyMuis007/RealDigital | /RealDigital.UI/Middleware/ExceptionMiddleware.cs | 2.6875 | 3 | using Microsoft.AspNetCore.Http;
using RealDigital.Application.Errors;
using RealDigital.Application.Models.ErrorModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace RealDigital.UI.Middleware
{
public class Exceptio... |
6e450a2d80dedb83d2629561684feac2f638f0fa | C# | winkmichael/SdpGenerator | /SdpGenerator/CodeGen/CodeGenHelper.cs | 3 | 3 | using System.IO;
using System.Text;
namespace CodeGen
{
public static class CodeGenHelper
{
public static StringBuilder AppendTable(this StringBuilder sb, int tableNum)
{
for (int i = 0; i < tableNum; ++i)
sb.Append('\t');
return sb;
}
p... |
318f2bc3be04a271a72cf622800a52cc8b0121e5 | C# | descention/TheNoobBot | /The Noob Bot/nManager/Helpful/Others.cs | 2.578125 | 3 | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Management;
using System.Net;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
using System.Text;
using S... |
7535be3956b9bd13ced26e47c4aa4606e7c63227 | C# | dotnet/dotnet-api-docs | /snippets/csharp/System.Data.Services.Client/DataServiceCollectionT/Overview/source.cs | 2.71875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Services.Client;
using NorthwindClient.Northwind;
//<snippetUsingForAttributes>
using System.Data.Services.Common;
//</snippetUsingForAttributes>
namespace NorthwindClient
{
public class Source
{
p... |
e58ddbdda587a4a3e95ec62071091745c818f976 | C# | jardelnovaes/hackerrank | /tests/stockMaximize.cs | 3.71875 | 4 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
class Solution {
static long calculateProfit(long n, long[] prices)
{
bool[] sellIdx = new bool[n];
long profit = 0;
long stock = 0;
long stockQty = 0;
... |
0019ed81285b7c85453b4ab25b8fa85b333ec82d | C# | TajanaP/TRXpense | /TRXpense.Bll.Model/Models/TravelReport.cs | 2.6875 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace TRXpense.Bll.Model
{
public class TravelReport
{
public TravelReport()
{
Expenses = new List<Expense>();
}
public int Id { get; set; }
[Required]
... |
67b6fdffcda14fc9893db86a9feaceff05078068 | C# | brminnick/MvvmCross | /CrossUI/CrossUI.iOS/Dialog/Elements/ElementBadge.cs | 2.640625 | 3 | // ElementBadge.cs
// MvvmCross is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in readme.md and license.txt
//
// Project Lead - Stuart Lodge, @slodge, me@slodge.com
using CoreGraphics;
using Foundation;
using System;
using UIKit;
namespace CrossUI.iOS.Dialog.Elements
{
... |
532a50d285e118c08d939a25c0057a9a3b659cd8 | C# | isaacdvid1596/TheatreAPI | /Theatre.ShoppingCart/Controllers/CartLinesController.cs | 2.59375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using Theatre.ShoppingCart.Models;
namespace Theatre.ShoppingCart.Controllers
{
[ApiController]
[Route("[controller]")]
public cla... |
37e5ce8050e2540d3bdf8ad541bc61126268dd23 | C# | wu-xian/Galaxies | /src/Model/LogicModel/LoginResult.cs | 2.734375 | 3 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace Model.LogicModel
{
public class LoginResult
{
public string Result { set; get; }
public object Data { set; get; }
public sta... |
f8261b3e2647d4bf7a6dc3070024c7e0d2b786ef | C# | aakamenov/Rila-Lang | /RilaLang/Runtime/Binding/Utils/RangeIterator.cs | 3.15625 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RilaLang.Runtime.Binding.Utils
{
public class RangeIterator<T> where T : struct, IComparable, IComparable<T>, IConvertible, IEquatable<T>, IFormattable
{
... |
56c19af06cc2459d288faec2b81538ab1323bec2 | C# | hrdevs/erni-sample-app | /UnitTestProject/UnitTest1.cs | 2.65625 | 3 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using ernisampleapp;
using ernisampleapp.ViewModels;
using System.Threading.Tasks;
using ernisampleapp.Models;
using System.Collections.ObjectModel;
using System.Linq;
using System;
using ernisampleapp.Services;
namespace UnitTestProject
{
[TestClass]
public... |
9a84dee840a4a04161c9bef99fa51a19c29e2f49 | C# | ALMikhai/Graph-Editor_2.0 | /Graph-Editor/Tools/MoveAllVertex.cs | 2.515625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using Graph_Editor.Objects;
using Graph_Editor.UndoRedo;
namespace Graph_Editor
{
class MoveAllVertex : Tool
{
Point startPoint;
Point finishPoint;
... |
574cc96ec923e1ace4a31f3ad76db1d997af4aa4 | C# | joemon/game-antreas | /unity/game/Assets/Scripts/LevelsManager.cs | 2.609375 | 3 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class LevelsManager : MonoBehaviour {
public Button[] levels;
int levelsState;
int lev;
int firstLevelScene = 2, lastLevelScene = 11;
// Use... |
e2043b8dfbc7637edc39e822f7e34414309fa54d | C# | Ethriel/Coursework-Entity-Framework | /DAL/Interface/Admin/HotelAdmin.cs | 2.96875 | 3 | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using DAL.Helpers;
using DAL.Interface.Interfaces;
using DAL.Model;
namespace DAL.Interface.Admin
{
public class HotelAdmin : IEntityAdmin<Hotel>
{
TravelAgencyContext tac;
... |
95f9138372d5dc53911f75ef2528ee9c2f756b98 | C# | evasilevsky/mtgcard | /MtgCard/MtgCard.Domain/Pack.cs | 3.0625 | 3 | using System;
using System.Collections.Generic;
namespace MtgCard.Domain
{
public class Pack : Product
{
private Guid _id = Guid.NewGuid();
public Guid Id
{
get { return _id; }
set { _id = value; }
}
public List<Card> Cards { get; set; }
public string SetName { get; set; }
public void RemoveC... |
a506e8dca90a64861b9f369bfebe1ca6af5c7e13 | C# | Rffrench/BeLife | /BeLife/Cliente.cs | 3.046875 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BeLife
{
class Cliente
{
private string nombre;
private string apellidos;
private string rut;
private DateTime fechaNacimiento;
private byte idS... |
b5a2ffcae257041a07cc2c44ef31534ed4d43265 | C# | reneschulte/arcore-depth-lab | /Assets/ARRealismDemos/Common/Scripts/PointClouds/ColorRampGenerator.cs | 2.515625 | 3 | //-----------------------------------------------------------------------
// <copyright file="ColorRampGenerator.cs" company="Google LLC">
//
// Copyright 2020 Google LLC. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with th... |
d2c303452fc295d1ba6f1cc5d293d875f899e392 | C# | FelipeJuchem/ProjetoRh | /RhDomain/Services/TecnologiaServices/TecnologiaConsulta.cs | 2.578125 | 3 | using AutoMapper;
using RhDomain.Dto;
using RhDomain.Interfaces.Repositories;
using RhDomain.Interfaces.Services;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace RhDomain.Services.TecnologiaServices
{
public class TecnologiaConsulta : ITecnologiaConsulta
... |
e74fbebf81933b49778b99c32da9c758808c6975 | C# | OlenaKos/.NetCourses_DevEducation | /UnitTest1.cs | 3.15625 | 3 | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Calculator3;
namespace UnitTestProject1
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void math1X_entered_8_returned0_125()
{
double num = 8;
double expected = ... |
cd2a665aca79994deed0e6ed6835c3fe23ddfc54 | C# | gushwell/CSharpAlgorithmCollection2 | /DragonCurve/Dragon.cs | 3.390625 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DragonCurve
{
public class Point
{
public float X { get; set; }
public float Y { get; set; }
public Point(float x, float y)
{
X = x;
... |
cc3d90501c9fe70bd48b104a7b6b0d4e37305ea3 | C# | KunoNoOni/LittleRobotRun | /Assets/Scripts/FloatingEnemy.cs | 2.5625 | 3 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FloatingEnemy : MonoBehaviour
{
private float speed;
void Start()
{
speed = 3f;
}
void Update()
{
transform.Translate(this.transform.localScale.x * (speed * Time.deltaTime), 0, 0);
... |
0b285dd53032bab33cf35d9e3e5d70b3e8b9140f | C# | NGWeb/VkApi | /Vk.SDK/Converters/AttachmentConverter.cs | 2.8125 | 3 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Vk.SDK.Model;
using Vk.SDK.Model.AttachmentWarpers;
namespace Vk.SDK.Converters
{
public abstract class JsonCreati... |
2695b72ec155cac29b0ad76bd402c86f27a50c70 | C# | Amen2142/BMI-TruckRental-PaySlip-CSharp-.Net- | /ZineddinAS3/PaySlip.cs | 2.625 | 3 | /* Project: Assignment Set 3 - Program 8
* Date created: September 29, 2020
* Date modified: October 8, 2020
* Developed by: Ahmad Zineddin
* Class name: PaySlip
* Description: Business Logic class for calculating pay slip for an employee
*/
using System;
using System.Collections... |
3c73b8cc37d96636e099dc1df8a7bccd8efc23e5 | C# | genveir/Advent | /Advent2021/Advent18/Parser.cs | 3.3125 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Advent2021.Advent18
{
public static class Parser
{
public static string inputString;
public static int cursor;
public static WholeValue ParseLine(string line)
... |
3822c1c24ec59a48653679b812f9f91d89502ebd | C# | httplab/sotv-video-uploader | /S3Uploader.cs | 2.84375 | 3 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Amazon.Runtime;
using Amazon.S3;
using System.Configuration;
using System.IO;
using System.Windows.Forms;
using System.Threading;
namespace SOTVVideoUploader
{
/// <summary>
/// Класс для загрузки данных ... |
ebd1f9da011d6e164ba832ed182af94edda52ac3 | C# | rywem/CryptoMon | /CryptoMon/CryptoLib/Sockets/BitmexSockets.cs | 2.6875 | 3 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace CryptoLib.Sockets
{
public class BitmexSockets
{
static SocketModels.BitmexQuote hourStart = new SocketModels.BitmexQuote { bidP... |
0b853903396b5947cd4068de770d4e41c369138a | C# | Odin0chka/LabKirill | /Lab1_Кирилл/C#/Lab1b/Lab1b/Pokupatel.cs | 3.0625 | 3 | using System;
namespace Lab1b
{
class Pokupatel
{
private String _fio;
private int _kol1;
private Tovar _tovar1;
private int _kol2;
private Tovar _tovar2;
private int _kol3;
private Tovar _tovar3;
private float _skidon;
public Pokupatel(... |
cf61b2ad74ddda8ca587cbc4174c976ee4a5b101 | C# | Gerberson/ProjetoQuiver | /ProjetoQuiver.Api/Data/Seeding.cs | 2.78125 | 3 | using ProjetoQuiver.Api.Models;
using System.Collections.Generic;
using System.Linq;
namespace ProjetoQuiver.Api.Data
{
public class Seeding
{
private DataContext _context;
public Seeding(DataContext context)
{
_context = context;
}
public void Seed()
... |