max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
CP/Games/ConnectFourCP/Logic/ConnectFourMainGameClass.cs | musictopia2/GamingPackXV3 | 0 | 7064114 | namespace ConnectFourCP.Logic;
[SingletonGame]
public class ConnectFourMainGameClass
: SimpleBoardGameClass<ConnectFourPlayerItem, ConnectFourSaveInfo, EnumColorChoice, int>, ISerializable,
IBeginningColors<EnumColorChoice, ConnectFourPlayerItem, ConnectFourSaveInfo>
{
public ConnectFourMainGameClass(IGameP... |
InExRecordApp/Helper.cs | khoinmdIT99/InExRecordApp | 3 | 7064115 | <filename>InExRecordApp/Helper.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using InExRecordApp.Models;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace InExRecordApp
{
public static class Helper
{
public static ... |
cds/Metadata-Visualizer/frmMain.cs | ghurlman/PowerApps-Samples | 714 | 7064116 | using System;
using System.Windows.Forms;
using System.IO;
using System.Configuration;
namespace MetaViz
{
public partial class frmMain : Form
{
private const string DOWNLOAD = "Download Metadata";
private const string CANCEL = "Cancel";
private const string SAMPLE_URL_ONLINE = "https... |
C# OOP - February 2019/07. Reflection and Attributes - Exercises/P07-InfernoInfinity/StartUp.cs | MertYumer/C-Fundamentals---January-2019 | 9 | 7064117 | <reponame>MertYumer/C-Fundamentals---January-2019
namespace P07_InfernoInfinity
{
using Contracts;
using Core;
using Data;
public class StartUp
{
public static void Main()
{
IRepository repository = new WeaponRepository();
Engine engine = new Engine();
... |
Controller/Heroes/DocHavoc/Cards/SearchAndRescueCardController.cs | qoala/CauldronMods | 12 | 7064118 | <filename>Controller/Heroes/DocHavoc/Cards/SearchAndRescueCardController.cs
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Handelabra.Sentinels.Engine.Controller;
using Handelabra.Sentinels.Engine.Model;
namespace Cauldron.DocHavoc
{
public class Se... |
Resources/JumpListHelper.cs | ahnv/Symphonia | 0 | 7064119 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Globalization.Collation;
using Symphonia;
public static class JumpListHelper
{
public static List<JumpListGroup<TSource>> ToGroups<TSource,TSort,TGroup>(
this IEnumerable<TSou... |
Matrix - Exercise/Squares in Matrix/Program.cs | vasilchavdarov/SoftUniHomework | 0 | 7064120 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Squares_in_Matrix
{
class Program
{
static void Main(string[] args)
{
var matrixsize = Console.ReadLine().Split(new char[] { ' ' }, StringSplitOptions.Remov... |
src/Bottlecap.Net.Notifications/Transporters/INotificationTransportManager.cs | BottlecapDave/Bottlecap.Net.Notifications | 0 | 7064121 | using System.Collections.Generic;
namespace Bottlecap.Net.Notifications.Transporters
{
/// <summary>
/// Manages all registered notification transporters.
/// </summary>
/// <typeparam name="TRecipient">The type of recipient the notifications are being sent to.</typeparam>
public interface INotifi... |
Source/EasyNetQ.Management.Client.Tests/Model/PublishInfoTests.cs | mdrgeniebelt/EasyNetQ.Management.Client | 59 | 7064122 | // ReSharper disable InconsistentNaming
using System;
using System.Collections.Generic;
using EasyNetQ.Management.Client.Model;
using Xunit;
namespace EasyNetQ.Management.Client.Tests.Model
{
public class PublishInfoTests
{
[Fact]
public void Should_throw_when_payload_encoding_is_incorrect()
... |
top down shooter/Assets/Scripts/ClientReceiveBuffer.cs | 1ZouLTReX1/FP-MOG | 21 | 7064123 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
public class ClientReceiveBuffer : MyStopWatch
{
// The desierd gap between the last received snapshot to the frame that we interpolate towards
// that means the if the gap is 2 we try to be 2 tick... |
samples/Wpf/04-Dialogs/AppDialogs/ViewModels/Dialogs/DialogBViewModel.cs | suxrobGM/MagicMvvm | 9 | 7064124 | <reponame>suxrobGM/MagicMvvm
using MagicMvvm;
namespace AppDialogs.ViewModels.Dialogs
{
public class DialogBViewModel : DialogViewModelBase
{
public DialogBViewModel()
{
Title = "Dialog B";
}
public override string Title { get; }
}
}
|
src/EC_Website.Infrastructure/Data/SeedData.cs | suxrobGM/EC_WebSite | 2 | 7064125 | <reponame>suxrobGM/EC_WebSite
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Configuration;
using EC_Website.Core.Entities.UserModel;
namespace EC_Website.Infrastructure.Data
{
public class SeedData
{
... |
aspnet-core/src/U_StudyingCommunity_Dream.Core/Enums/Enums.cs | heartlessZ/U_StudyingComunity_Dream | 1 | 7064126 | <gh_stars>1-10
/****************************************************************
* MACHINE: KANGCHEN-ZHAO
* NAME: boomclub
* CREATEDATE: 2019/10/6 16:26:03
* DESC: <DESCRIPTION>
* **************************************************************/
using System;
using System.Collections.Generic;
using System.Text;
namespa... |
Tech Module/Programming Fundamentals/20. Objects and Classes - Exercises/04. Average Grades/AverageGrades.cs | MihailDobrev/SoftUni | 10 | 7064128 | <reponame>MihailDobrev/SoftUni<filename>Tech Module/Programming Fundamentals/20. Objects and Classes - Exercises/04. Average Grades/AverageGrades.cs
namespace _4.Average_Grades
{
using System;
using System.Linq;
public class AverageGrades
{
static void Main()
{
int numberO... |
cscs/Functions.OS.cs | liulinboyi/lang-template | 0 | 7064129 | <reponame>liulinboyi/lang-template<filename>cscs/Functions.OS.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
namespace SplitAndMerge
{
// Prints passed list of ... |
Code/WebGrease/Css/Ast/MediaQuery/MediaNode.cs | TrevorDArcyEvans/EllieWare | 0 | 7064131 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="MediaNode.cs" company="Microsoft">
// Copyright Microsoft Corporation, all rights reserved
// </copyright>
// <summary>
// media
// : MEDIA_SYM S* media_query_list '{' S* rul... |
src/BaristaLabs.BaristaCore.Common/Extensions/TypeExtensions.cs | BaristaLabs/BaristaCore | 27 | 7064132 | <reponame>BaristaLabs/BaristaCore<filename>src/BaristaLabs.BaristaCore.Common/Extensions/TypeExtensions.cs<gh_stars>10-100
namespace BaristaLabs.BaristaCore.Extensions
{
using System;
using System.Collections.Generic;
using System.Numerics;
public static class TypeExtensions
{
private stat... |
Portal.CMS.Entities/Seed/ThemeSeed.cs | mesh42/PortalCMS | 0 | 7064133 | <filename>Portal.CMS.Entities/Seed/ThemeSeed.cs
using Portal.CMS.Entities.Entities.Themes;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Portal.CMS.Entities.Seed
{
public static class ThemeSeed
{
public static void Seed(PortalEntityModel context)
{
va... |
src/Beef.Events/NewtonsoftJsonCloudEventSerializer.cs | ciaranodonnell/Beef | 104 | 7064134 | <filename>src/Beef.Events/NewtonsoftJsonCloudEventSerializer.cs<gh_stars>100-1000
// Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef
using CloudNative.CloudEvents;
using CloudNative.CloudEvents.NewtonsoftJson;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
... |
dotnet/G3SharpBridge/G3SharpGeometryAdapter.cs | ara3d/ara3d-dev | 8 | 7064135 | <reponame>ara3d/ara3d-dev
using g3;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ara3D
{
public class G3SharpGeometryAdapter
{
public IGeometry Source { get; private set; }
public IGeometry Result { get; private ... |
src/Loader/ModLoader.cs | Cyral/Alloy | 1 | 7064136 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using Alloy.API;
namespace Alloy.Loader
{
public class ModLoader
{
/// <summary>
/// List of loaded mods.
/// </summary>
internal List<Mod> M... |
cli/KMS_Client_UC.Designer.cs | TeamProjectAplha/ClientCode | 0 | 7064137 | namespace OpenSSL.CLI
{
partial class KMS_Client_UC
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary... |
src/Voat.Business/Domain/Models/FriendlyEnumNames.cs | sala91/voat | 0 | 7064138 | <filename>src/Voat.Business/Domain/Models/FriendlyEnumNames.cs
#region LICENSE
/*
Copyright(c) Voat, Inc.
This file is part of Voat.
This source file is subject to version 3 of the GPL license,
that is bundled with this package in the file LICENSE, and is
available online at http://www.gnu.o... |
PassData.ServerSide/StampWriter.cs | mgaffigan/passdata | 3 | 7064139 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
namespace PassData
{
public static class StampWriter
{
public static void StampFile(string targetPath, stri... |
Reg/RegistryClass.cs | Borck/CB-PowerTools | 0 | 7064140 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using CB.System;
using CB.Win32;
using JetBrains.Annotations;
using Microsoft.Win32;
namespace CBT.Reg {
public class RegistryClass {
private static readonly ResourceStrings ResStringsCache = ResourceStrings.Default;
... |
LittleLeagueUParser/LittleLeagueUParser/Controllers/ParseController.cs | ExeterLionsLittleLeague/LittleLeagueUParser | 0 | 7064141 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using System.Net.Http;
using LittleLeagueUParser.Core;
using LittleLeagueUParser.Data;
namespace LittleLeagueUParser.Controllers
{
public class ParseController : Controller
{
... |
src/Integrated Tourism Management System/Integrated Tourism Management System/attractionprice.cs | alvinau0427/ITP4915M-Assignment | 0 | 7064142 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
//... |
src/MakeLemonadeBot/Communication/SerialSelection.cs | pepelev/FunBot | 0 | 7064143 | <filename>src/MakeLemonadeBot/Communication/SerialSelection.cs
using System;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
namespace MakeLemonadeBot.Communication
{
public sealed class SerialSelection : Conversation
{
private readonly Content.Collection @long;
private read... |
src/KioskClient/Pages/Actions/WebsitePage.xaml.cs | CityOfStanton/ConcessionStand | 3 | 7064144 | <reponame>CityOfStanton/ConcessionStand
/*
* Copyright 2021
* City of Stanton
* Stanton, Kentucky
* www.stantonky.gov
* github.com/CityOfStanton
*/
using KioskClient.Dialogs;
using KioskClient.Pages.PageArguments;
using KioskLibrary.Actions;
using KioskLibrary.Helpers;
using KioskLibrary.ViewModels;
using Seril... |
Src/AjGo.WinForm/AjGoForm.cs | ajlopez/AjGo | 1 | 7064145 | <reponame>ajlopez/AjGo
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
using AjGo.Agents;
using AjGo.Evaluators;
namespace AjGo.WinForm
{
public partial class AjGoFor... |
Mappa.Generator/Helpers/DebugHelper.cs | sanelli/Mappa | 0 | 7064146 | <filename>Mappa.Generator/Helpers/DebugHelper.cs
namespace Mappa.Generator.Helpers;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Mappa.Generator.Consts;
using Microsoft.CodeAnalysis;
/// <summary>
/// Helper for providing debug information.
/// </summary>
inter... |
src/TransPick/Selectors/AreaEventArgs.cs | handbros/TransPick | 1 | 7064147 | <filename>src/TransPick/Selectors/AreaEventArgs.cs
using System;
using System.Drawing;
namespace TransPick.Selectors
{
/// <summary>
/// An event arguments that organizes information about the capture area.
/// </summary>
internal class AreaEventArgs : EventArgs
{
/// <summary>
///... |
PM.BLL/Communication/ResponseReader.cs | addixon/ErgCompetePM | 3 | 7064148 | using PM.BO;
using PM.BO.Interfaces;
using System;
using System.Collections.Generic;
namespace BLL.Communication
{
/// <summary>
/// A response reader
/// </summary>
public class ResponseReader : CommunicationBuffer<uint>, IResponseReader
{
/// <inheritdoc />
protected override Buf... |
samples/WebApplicationSample/Controllers/LcswPayController.cs | Kevin163/Payment | 0 | 7064149 | using System;
using System.Threading.Tasks;
using Essensoft.AspNetCore.Payment.LcswPay;
using Essensoft.AspNetCore.Payment.LcswPay.Request;
using Microsoft.AspNetCore.Mvc;
using WebApplicationSample.Models;
namespace WebApplicationSample.Controllers
{
public class LcswPayController : Controller
{
priv... |
src/RavenBot.Core/Net/IGameCommand.cs | AbbyTheRat/RavenBot | 0 | 7064150 | namespace RavenBot.Core.Net
{
public interface IGameCommand
{
string Receiver { get; }
string Identifier { get; }
string Format { get; }
string[] Args { get; }
}
} |
StoreApplication/StoreApplication.DatabaseAccess/Repositories/ProductRepository.cs | 2006-jun15-net/luis-project1 | 0 | 7064151 | <reponame>2006-jun15-net/luis-project1
using Microsoft.EntityFrameworkCore;
using StoreApplication.DatabaseAccess.Models;
using StoreApplication.Domain.Interfaces;
using StoreApplication.Domain.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace StoreApplication.Dat... |
source/Services/WebRequestService.cs | NathanBaulch/FitBot | 6 | 7064152 | using System;
using System.Collections.Specialized;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Mime;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using ServiceStack.Text;
namespace FitBot.Services
{
public class WebRequestService : IWebRe... |
tests/Scrubfu.Tests/Tag_Tests/ReplaceTag_Tests.cs | fossabot/scrubfu | 0 | 7064153 | <reponame>fossabot/scrubfu
/**
* *************************************************
* Copyright (c) 2019, Grindrod Bank Limited
* License MIT: https://opensource.org/licenses/MIT
* **************************************************
*/
using System;
using Scrubfu.Exceptions;
using Scrubfu.Tags;
using Xunit;
... |
Test/Caravan.Ribbon.Test/DefaultServerSourceMonitorTest.cs | ctripcorp/caravan.net | 10 | 7064154 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Com.Ctrip.Soa.Caravan.Configuration;
using Com.Ctrip.Soa.Caravan.Ribbon.LoadBalancer;
using System.Threading;
using System.Threading.Tasks;
using Com.Ctrip.Soa.Caravan.Ribbon.... |
Application/BaustManagementSys/BaustManagementSys/Views/UserTables/Index.cshtml | Abed0711/Lockdown-BAUST-Management-System--MVC- | 0 | 7064155 | @model IEnumerable<Database.UserTable>
@{
ViewBag.Title = "User";
}
<h2>All Users</h2>
<p>
@Html.ActionLink("Create New", "Create",null,new {@class="btn btn-success" })
</p>
<div class="card shadow mb-4">
<div class="card-header py-3">
<h6 class="m-0 font-weight-bold text-primary">All User</h6... |
C5.UserGuideExamples/IndexedObjects.cs | sestoft/C5 | 708 | 7064156 | // This file is part of the C5 Generic Collection Library for C# and CLI
// See https://github.com/sestoft/C5/blob/master/LICENSE for licensing details.
// IndexedObjects.cs sketch 2007-07-26
// Other approaches: Define an Indexed<T> class to which indexers can
// be attached. An object can add (or remove) itself to... |
CourseManagement_BE/CourseManagement.Api/Authorization/CustomAuthorizeFilter.cs | ewgeni-dinew/Course-Management | 0 | 7064157 | namespace CourseManagement.Api.Authorization
{
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
public class CustomAuthorizeFilter : IAuthorizationFilter
{
... |
Source/EncryptionHelper/CryptoTransform.cs | hendrilee/QBot | 73 | 7064158 | <gh_stars>10-100
using System;
using System.Security.Cryptography;
using System.Text;
namespace EncryptionHelper
{
public class CryptoTransform
{
#region Private members
// If hashing algorithm is not specified, use SHA-1.
private static string DEFAULT_HASH_ALGORITHM = "SHA256";
... |
Tarrahaan/DAL/Repository/PropertyActionLangMappingRepository.cs | babakjahangiri/Tarrahaan | 0 | 7064159 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Itanc.DbManager.DbData;
namespace Tarrahaan.DAL.Repository
{
public class PropertyActionLangMappingRepository:IPropertyActionLangMappingRepository
{
public string GetSellerActionName(string langId, b... |
WgWall.Data/Model/Setting.cs | famoser/wg-wall | 1 | 7064160 | <filename>WgWall.Data/Model/Setting.cs
using WgWall.Data.Model.Base;
namespace WgWall.Data.Model
{
public class Setting : BaseEntity
{
public string Key { get; set; }
public string Value { get; set; }
}
}
|
Assets/Scripts/GameTimer.cs | damjanh/GlitchGarden | 0 | 7064161 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GameTimer : MonoBehaviour {
private Slider slider;
public float levelTimeSeconds = 60;
private AudioSource audioSource;
private LevelManager levelManager;
private GameObject winText;... |
a20201226/Confused_03/tmpsol/Elsa20200001/AvoidDynamicCeriumAllocation.cs | soleil-taruto/Hatena | 0 | 7064162 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Charlotte
{
/// <summary>
/// Confused by ConfuserElsa
/// </summary>
public struct ConfigureInnerRheniumTab
{
/// <summary>
/// Confused by ConfuserElsa
/// </summary>
public static int UseDynamicMarineIssue;... |
HaloScriptPreprocessor.Tests/Interpreter/ValueTests.cs | num0005/haloscript-extended | 4 | 7064163 | /*
Copyright (c) num0005. Some rights reserved
Released under the MIT License, see LICENSE.md for more information.
*/
using HaloScriptPreprocessor.Interpreter;
using System;
using Xunit;
namespace HaloScriptPreprocessor.Tests.Interpreter
{
public class ValueTests
{
public ValueTests()
{
... |
ScrubBot.Modules/Results/EmptyResult.cs | DevCas1/SoundBot | 1 | 7064164 | using Discord.Commands;
namespace ScrubBot.Modules
{
public class EmptyResult : RuntimeResult
{
public EmptyResult(CommandError? error, string reason) : base(error, reason)
{
}
public EmptyResult() : this(null, null)
{
}
}
}
|
Src/SourceLink.VisualSVN/GetSourceLinkUrlTaskVisualSVN.cs | WenningQiu/SourceLink.Subversion | 4 | 7064165 | <reponame>WenningQiu/SourceLink.Subversion
using Microsoft.Build.Utilities;
using SourceLink.Common;
namespace SourceLink.SVN
{
public sealed partial class GetSourceLinkUrlTask : Task
{
private static string GetSourceLinkUrl(SvnInfo svnInfo)
{
return $"{svnInfo.SvnRootUrl}/*?p={svn... |
UnityNet/Tcp/TcpSocket.cs | DennisCorvers/UnityNet | 0 | 7064166 | <reponame>DennisCorvers/UnityNet<gh_stars>0
using System;
using System.Net;
using System.Net.Sockets;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using UnityNet.Serialization;
using UnityNet.Utils;
namespace UnityNet.Tcp
{
public sealed class TcpSocket : UNetSocket
{
private c... |
Apocalypse.Any.GameServer.States/Sector/Factories/BuildFactoriesState.cs | inidibininging/apocalypse_netcore | 0 | 7064167 | <reponame>inidibininging/apocalypse_netcore
using Apocalypse.Any.Core.Drawing;
using Apocalypse.Any.Domain.Common.Model;
using Apocalypse.Any.Domain.Common.Model.Network;
using Apocalypse.Any.Domain.Common.Model.RPG;
using Apocalypse.Any.Domain.Server.Model.Interfaces;
using Apocalypse.Any.Infrastructure.Server.Service... |
MACHINA/Assets/Scripts/Aim.cs | kurokurogamer/MAKINAS | 0 | 7064169 | <filename>MACHINA/Assets/Scripts/Aim.cs
using UnityEngine;
public class Aim : MonoBehaviour
{
[SerializeField, Tooltip("メイン標準オブジェクト")]
private GameObject _mainAim = null;
[SerializeField, Tooltip("サブ標準オブジェクト")]
private GameObject _subAim = null;
[SerializeField]
private float _followSpeed = 1... |
src/SRDP/SRDP.WebApp/ModelViews/HistoricoIndividualModelView.cs | guidoblado/declaraciones-patrimoniales | 2 | 7064170 | <filename>src/SRDP/SRDP.WebApp/ModelViews/HistoricoIndividualModelView.cs
using SRDP.WebApp.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SRDP.WebApp.ModelViews
{
public class HistoricoIndividualModelView
{
public SearchParametersMod... |
Emulator/Main/Peripherals/UART/UARTHub.cs | AntonKrug/emul8-modded | 108 | 7064171 | <filename>Emulator/Main/Peripherals/UART/UARTHub.cs
//
// Copyright (c) Antmicro
// Copyright (c) Realtime Embedded
//
// This file is part of the Emul8 project.
// Full license details are defined in the 'LICENSE' file.
//
using System;
using Emul8.Core;
using System.Linq;
using Emul8.Time;
using System.Collections.Co... |
ZonartUsers/Services/Candidates/ICandidatesService.cs | Iva-Yorgova/Zonart-Recruitment | 0 | 7064173 | <reponame>Iva-Yorgova/Zonart-Recruitment<gh_stars>0
using System.Collections.Generic;
using ZonartUsers.Data.Models;
using ZonartUsers.Models.Candidates;
namespace ZonartUsers.Services.Candidates
{
public interface ICandidatesService
{
List<CandidateListingViewModel> GetCandidates();
Candidat... |
WindowsFormsApp/KI.cs | Amelish/connect4 | 0 | 7064174 | <reponame>Amelish/connect4
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WindowsFormsApp
{
class KI
{
Level level;
enum Level
{
leicht,
mittel,
schwer
}
... |
Resim/Logic/Weapon.cs | fonsp/resim | 6 | 7064175 | <filename>Resim/Logic/Weapon.cs<gh_stars>1-10
namespace Resim.Logic
{
public class MeleeWeapon:Weapon
{
public float Range;
public float Damage;
public MeleeWeapon(
string name,
int price,
float damage,
float range,
float fireRate
)
: base(WeaponType.Melee, name, price, fireRate)
{
R... |
EscapeFromTheCastle/EscapeFromTheCastle/Objects/Encounter.cs | Drasdor/EscapeFromTheCastle | 0 | 7064176 | <reponame>Drasdor/EscapeFromTheCastle<filename>EscapeFromTheCastle/EscapeFromTheCastle/Objects/Encounter.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace EscapeFromTheCastle
{
class Encounter
{
private readonly Room CurrentRoom;
private readonly Team Enemies = ne... |
src/WPFDevelopers/Controls/ChatEmoji/EmojiHelper.cs | aheng2/WPFDevelopers | 143 | 7064177 | <reponame>aheng2/WPFDevelopers
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Media;
using System.Windows.Media.Imaging;
namespace WPFDevelopers.Controls
{
public class ... |
capnpc-csharp/Model/Enumerant.cs | lostinplace/capnproto-dotnetcore | 0 | 7064178 | <gh_stars>0
namespace CapnpC.Model
{
class Enumerant
{
public TypeDefinition TypeDefinition { get; set; }
public string Literal { get; set; }
public ushort? Ordinal { get; set; }
public int CodeOrder { get; set; }
}
}
|
samples/ZE1Sharp.Universal/MainPage.xaml.cs | digitalcreations/ZE1Sharp | 3 | 7064179 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xam... |
GPVP/Properties/Settings.Designer.cs | matebalogh11/GPVP | 0 | 7064180 | <reponame>matebalogh11/GPVP
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerate... |
DontCrash/Util.cs | thale5/DontCrash | 1 | 7064181 | using System;
using UnityEngine;
using System.Linq;
using System.Reflection;
using ColossalFramework.IO;
using System.IO;
using ColossalFramework;
using System.Threading;
namespace DontCrash
{
public static class Util
{
public static void DebugPrint(params object[] args)
{
string s... |
src/Motorsports.Scaffolding.Core/Models/Validators/Update/UpdateSeasonValidator.cs | devlead/Motorsports | 0 | 7064182 | using System;
using System.Linq;
using FluentValidation;
namespace Motorsports.Scaffolding.Core.Models.Validators.Update {
public class UpdateSeasonValidator : MotorsportsValidator<Season, int>, IUpdateValidator<Season, int> {
readonly MotorsportsContext _context;
public UpdateSeasonValidator(MotorsportsCo... |
src/BeFaster.Core/Services/IProductService.cs | DPNT-Sourcecode/CHK-fvdt01 | 0 | 7064183 | using BeFaster.Core.Data;
using BeFaster.Core.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace BeFaster.Core.Services
{
public interface IProductService
{
Task<IEnumerable<IProduct>> GetProducts();
IProduct Lookup(string sku);
}
} |
ConfigurationDemo/JsonFileDemos.cs | capybara1/ConfigurationAndOptionsDemo | 0 | 7064184 | <filename>ConfigurationDemo/JsonFileDemos.cs
using Microsoft.Extensions.Configuration;
using System.IO;
using Xunit;
namespace ConfigurationDemo
{
[Trait("Category", "Configuration / JSON File")]
public class JsonFileDemos
{
[Fact(DisplayName = "Process existing JSON File")]
public void Pr... |
FluentValidationWithWPF/ViewModel.cs | danielplawgo/FluentValidationWithWPF | 1 | 7064185 | using FluentValidation.Results;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace FluentValidationWithWPF
{
public class View... |
PayrollTests.US/ApiWrapperTest.cs | prajapatichintan/Xero-Net-With-oAuth2.0-Support | 2 | 7064186 | <gh_stars>1-10
using Xero.Api.Payroll;
namespace PayrollTests.US
{
public class ApiWrapperTest
{
private AmericanPayroll _api;
protected AmericanPayroll Api
{
get { return _api ?? (_api = CreateApi()); }
}
private static AmericanPayroll CreateApi()
... |
Decorator.IO.Parser/DecoratorIOParser.cs | TheDecoratorProject/Decorator.IO | 0 | 7064187 | using Decorator.IO.Core;
using Sprache;
namespace Decorator.IO.Parser
{
public class DecoratorIOParser : IParser
{
public Core.DecoratorFile Parse(string file)
=> DecoratorFileParser.FileParser
.Parse(file)
.Proess();
}
} |
src/CSharpTestBedAdapter/Configuration.cs | DRIVER-EU/csharp-test-bed-adapter- | 0 | 7064188 | <filename>src/CSharpTestBedAdapter/Configuration.cs
/*************************************************************
* Copyright (C) 2017-2018
* XVR Simulation B.V., Delft, The Netherlands
* <NAME> <<EMAIL>>
*
* This file is part of "DRIVER+ WP923 Test-bed infrastructure" project.
*
... |
Command Pattern/Assets/Scripts/InputManager.cs | bevanator/Command-Pattern-in-unity | 0 | 7064189 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class InputManager : MonoBehaviour
{
public PlayerMove character;
[SerializeField]
private float distance = 1f;
// Update is called once per frame
void Update()
{
GetInput();
}
void GetInp... |
TheUKTories.Dashboard/Dialogs/AusterityWindows/AusterityWindow.xaml.cs | jordansrowles/TheUKTories | 1 | 7064190 | <filename>TheUKTories.Dashboard/Dialogs/AusterityWindows/AusterityWindow.xaml.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
u... |
src/dotnet/xlf/Microsoft.DotNet.Cli.commands.dotnet_test.LocalizableStrings.cs | akrisiun/dotnet-cli | 0 | 7064191 | <reponame>akrisiun/dotnet-cli<filename>src/dotnet/xlf/Microsoft.DotNet.Cli.commands.dotnet_test.LocalizableStrings.cs
using System;
using System.Globalization;
using System.Reflection;
using System.Resources;
namespace Microsoft.DotNet.Tools.Test // .Cli.commands.dotnet_test
{
internal static class LocalizableStri... |
C#/_Demos C# OOP/04. OOP Principles - Part 1/Interfaces-and-Implementation/IResizable.cs | petyakostova/Telerik-Academy | 15 | 7064192 | public interface IResizable // possible variants for resize
{
//void Resize(int weight); // this is not implemented and will give build error => resize by given value
void Resize(int weightX, int weightY); // by x and by y
void ResizeByX(int weightX);
void ResizeByY(int weightY);
}
|
NewLife.Cube/Areas/Admin/Views/File/Index.generated.cs | NewLifeX/X_NET40 | 21 | 7064193 | #pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//-----------------------------------------------------... |
src/Module/Dashboards/JudgehostsController.cs | namofun/polygon | 1 | 7064194 | using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Caching.Memory;
using Polygon.Storages;
using System;
using System.Threading.Tasks;
namespace SatelliteSite.PolygonModule.Dashboards
{
[Area("Dashboard")]
[Authorize(Roles = "Administrator")]
[Route("[area... |
Assets/Scripts/GameManager.cs | brnielsen/Redemtion | 1 | 7064195 | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameManager : MonoBehaviour
{
ObjectSpawner objectSpawner;
// Start is called before the first frame update
Countdown countdownTimer;
PlayerController player;
public AudioClip levelMusic;
... |
PixiEditor/Views/SizeInput.xaml.cs | chamindujs/PixiEditor | 0 | 7064196 | <filename>PixiEditor/Views/SizeInput.xaml.cs
using System;
using System.Windows;
using System.Windows.Controls;
namespace PixiEditor.Views
{
/// <summary>
/// Interaction logic for SizeInput.xaml
/// </summary>
public partial class SizeInput : UserControl
{
// Using a DependencyPropert... |
HyperTooltips/ToolTipPopup.cs | vlastimil-construsoft/TeklaApplicationLibrary | 25 | 7064197 | namespace Tekla.UI.HyperToolTips
{
using System.Windows.Forms;
/// <summary>
/// Class to show popups similar to standard tooltips
/// </summary>
public class ToolTipPopup : Popup
{
#region Constructors and Destructors
/// <summary>Initializes a new instance of the <see cref="T... |
src/FileService/Plugin.FileService.Shared/FileServiceImplementation.cs | BiT21/FileServicePlugin | 0 | 7064198 | using Plugin.FileService.Abstractions;
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Text;
//FileServiceImplementation
namespace Plugin.FileService
{
/// <summary>
/// Implementation for Feature
/// </summary>
public class FileServiceImpleme... |
Sources/TimeTable/MyStik.TimeTable.Web/Views/Messaging/Index.cshtml | AccelerateX-org/NINE | 4 | 7064199 | <filename>Sources/TimeTable/MyStik.TimeTable.Web/Views/Messaging/Index.cshtml
@model MyStik.TimeTable.Web.Models.MessagingOverviewModel
@{
ViewBag.Title = "Nachrichten";
}
<div class="container-fluid">
<div class="row" style="margin-top: 20px">
<div class="col-md-12">
<div class="panel pa... |
Decon2LS.UI/UnitTesting/ParameterLoaderTests.cs | PNNL-Comp-Mass-Spec/DeconTools | 10 | 7064200 | <filename>Decon2LS.UI/UnitTesting/ParameterLoaderTests.cs<gh_stars>1-10
using System;
namespace Decon2LS.UnitTesting
{
/// <summary>
/// Summary description for ParameterLoaderTests.
/// </summary>
public class ParameterLoaderTests
{
public ParameterLoaderTests()
{
... |
src/hihapi/Controllers/PhotoFileController.cs | alvachien/achihapi | 5 | 7064201 | <reponame>alvachien/achihapi
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using hihapi.Models;
using hihapi.Utilities;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace hihapi.Contro... |
Ornek6/Program.cs | tahaasann/CSharpDotNet | 0 | 7064202 | <filename>Ornek6/Program.cs<gh_stars>0
using System; //Pozitif sayılarda çarpma işlemini toplama kullanarak bulan uygulamayı yazınız.
namespace Ornek6
{
class Program
{
static void Main(string[] args)
{
/*
Console.WriteLine("Hello World!");
Console.WriteLine... |
eDriven.Networking/Rpc/Core/WebRequestEvent.cs | darktable/eDriven | 1 | 7064203 | <filename>eDriven.Networking/Rpc/Core/WebRequestEvent.cs
#region License
/*
Copyright (c) 2012 <NAME>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limi... |
DevFreelaV2.API/DevFreela.Domain/Exceptions/UserIsInactiveException.cs | VictorMello1993/DevFreelaV2 | 0 | 7064204 | <reponame>VictorMello1993/DevFreelaV2<filename>DevFreelaV2.API/DevFreela.Domain/Exceptions/UserIsInactiveException.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace DevFreela.Domain.Exceptions
{
public class UserIsInactiveException : Exception
{
public UserIsInactiveExcep... |
Assets/UnityBible/Scripts/DataService.cs | AdbC99/UnityBible | 1 | 7064205 | <gh_stars>1-10
using SQLite4Unity3d;
using UnityEngine;
#if !UNITY_EDITOR
using System.Collections;
using System.IO;
#endif
using System.Collections.Generic;
public class DataService {
private SQLiteConnection _connection;
public DataService(string DatabaseName)
{
#if UNITY_EDITOR
var dbPath = string.Format(... |
PasswordVault.Services/EncryptionService/Factory/EncryptionServiceFactory.cs | willem445/PasswordVault | 0 | 7064206 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
namespace PasswordVault.Services
{
public class EncryptionServiceFactory : IEncryptionServiceFactory
{
public IEncryptionService GetEncryptionService(EncryptionParameters parameters)
{
... |
TwaijaComposite.Modules.Common/Interfaces/AuthenticationMethods/IAuthenticateMethod.cs | chidionuekwusi/Twaija | 0 | 7064207 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TwaijaComposite.Modules.Common
{
public interface IPinAuthenticateMethod
{
bool Authenticate(string consumerkey,string consumerSecret,string requestToken,string oop,out object token);
}
}
|
test/AzureDevOpsKats.Test/Repository/CatRepositoryTest.cs | chiplonton/AzureDevOpsKats | 4 | 7064208 | using AzureDevOpsKats.Data.Entities;
using AzureDevOpsKats.Data.Repository;
using AzureDevOpsKats.Test.Fixture;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
namespace AzureDevOpsKats.Test.Repository
{
public class CatReposi... |
src/Webshop.UnitSpecs/Helpers/ObjectMother.cs | JorgeGamba/Webshop | 0 | 7064209 | using System;
using Webshop.Features.ProductRegistration;
using Webshop.Features.ProductSearch;
namespace Webshop.UnitSpecs.Helpers
{
public class ObjectMother
{
private static int _counter;
internal static FoundProduct CreateFoundProductWith(int number) =>
new FoundPro... |
IndexOfLetters.cs | BorislavD/Arrays-and-Lists-CSharp | 0 | 7064210 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IndexOfLetters
{
class Program
{
static void Main(string[] args)
{
string input = Console.ReadLine();
char[] charArray ... |
UnityUtilities/Commands.cs | guusw/MonoDevelop.Debugger.Soft.Unity | 45 | 7064211 | //
// Commands.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) 2010 Unity Technologies
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, includi... |
Workshop/Forum.App/Menus/AddPostMenu.cs | AscenKeeprov/CSharp-OOP-Advanced | 0 | 7064212 | <filename>Workshop/Forum.App/Menus/AddPostMenu.cs
namespace Forum.App.Menus
{
using Forum.App.Contracts.MenuContracts;
using Forum.App.Contracts.FactoryContracts;
using Forum.App.Contracts.ModelContracts;
using Forum.App.Models;
using System;
public class AddPostMenu : Menu, ITextAreaMenu
... |
Duracellko.WindowsAzureVmManager.Web/Views/VirtualMachines/Index.cshtml | duracellko/azure-vm-manager | 9 | 7064213 | <reponame>duracellko/azure-vm-manager
@{
ViewBag.Title = "Virtual Machines";
}
<div class="panel panel-default">
<div class="panel-heading">
<h1>Virtual machines</h1>
</div>
<div id="azureManagerContainer" data-serviceurl="@Url.Content("~/api/VmManagement")">
<div id="errorPanel" clas... |
Middle/Entity/EntitySys/EsManageType.cs | coojee2012/pm3 | 0 | 7064214 | <reponame>coojee2012/pm3<filename>Middle/Entity/EntitySys/EsManageType.cs
using System;
using System.Collections;
using Approve.EntityBase;
using System.Data;
namespace Approve.EntitySys
{
public class EsManageType : EBase
{
public EsManageType()
: base()
{
m_EntityType =... |
StripeAsync/Payment/ChargeInputForCustomer.cs | b9chris/StripeAsync | 0 | 7064215 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Brass9.Clients.Stripe.Payment
{
public class ChargeInputForCustomer : BaseChargeInput
{
/// <summary>
/// Required. A Customer to charge.
/// </summ... |
Views/Roles/Index.cshtml | sadiasweety/Restaurent-Management-System | 0 | 7064216 | <filename>Views/Roles/Index.cshtml
<div class="panel-heading">
<h1 style="text-align:center">Role Controller</h1>
</div>
<div class="panel-body">
<div>
@Html.ActionLink("Create Role", "Create", "Roles")
</div>
<table class="table table-condensed table-hover col-sm-6 col-lg-6 col-md-6... |
aspnet-core/modules/file-management/LINGYUN.Abp.FileManagement.Domain.Shared/LINGYUN/Abp/FileManagement/AbpFileManagementDomainSharedModule.cs | mysharp/abp-vue-admin-element-typescript | 1 | 7064217 | <gh_stars>1-10
using LINGYUN.Abp.FileManagement.Localization;
using Volo.Abp.Localization;
using Volo.Abp.Modularity;
using Volo.Abp.Validation;
using Volo.Abp.Validation.Localization;
using Volo.Abp.VirtualFileSystem;
namespace LINGYUN.Abp.FileManagement
{
[DependsOn(typeof(AbpValidationModule))]
public clas... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.