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 |
|---|---|---|---|---|
content/blog/ucode3/algo/_toptal/C#_Algorithms/Toptal/WindowsFormsApplicationTest/Form1.cs | cg79/blog | 0 | 7043404 | 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 Toptal;
using Toptal2;
namespace WindowsFormsApplicationTest
{
public partial class Form1 : Fo... |
src/GovUk.Education.ExploreEducationStatistics.Common/Extensions/StreamExtensions.cs | luke-h1/explore-education-statistics | 8 | 7043405 | #nullable enable
using System;
using System.IO;
using System.Security.Cryptography;
namespace GovUk.Education.ExploreEducationStatistics.Common.Extensions
{
public static class StreamExtensions
{
public static void WriteText(this Stream stream, string text)
{
using var writer = new ... |
Assets/Scripts/OpenChatsApp.cs | trajkd/FindingHomeClone | 2 | 7043406 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OpenChatsApp : MonoBehaviour
{
[SerializeField]GameObject ChatsMainPanel;
void Start()
{
if (GameObject.Find("app (4)").GetComponent<GoToChatsListFromHome>().activateFromHome) {
if (ChatsMainPan... |
Commencement.Tests/Controllers/PetitionControllerTests/PetitionControllerWithServiceTests.cs | ucdavis/Commencement | 0 | 7043407 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using Commencement.Controllers;
using Commencement.Controllers.Filters;
using Commencement.Controllers.Helpers;
using Commencement.Controllers.Services;
using Commencement.Controllers.ViewModels;
using Commenc... |
HexMaster.Core/DomainModels/DomainModelBase.cs | BexterNL/microservices-tryout | 0 | 7043408 | <reponame>BexterNL/microservices-tryout
using HexMaster.Core.Infrastructure.Enums;
namespace HexMaster.Core.DomainModels
{
public class DomainModelBase<T>
{
public T Id { get; }
public TrackingState State { get; private set; }
public DomainModelBase(T id, TrackingState state = Trackin... |
src/DemoApp/DemoApp/ViewModel/AnotherViewModel.cs | mrbrl/SpecFlow.Xamarin.Forms | 9 | 7043409 | using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Windows.Input;
using SpecFlow.XForms.IViewModel;
using Xamarin.Forms;
namespace SpecFlow.XForms.DemoApp
{
public class AnotherViewModel : INotifyPropertyChanged, IViewModel.IViewModel
{
public event PropertyChangedEventHa... |
src/FluffySpoon.AspNet.LetsEncrypt/Persistence/MemoryPersistenceStrategy.cs | sjuranek/FluffySpoon.AspNet.LetsEncrypt | 0 | 7043410 | using System.Collections.Generic;
using System.Threading.Tasks;
namespace FluffySpoon.AspNet.LetsEncrypt.Persistence
{
class MemoryPersistenceStrategy : ICertificatePersistenceStrategy, IChallengePersistenceStrategy
{
private IDictionary<PersistenceType, byte[]> bytes;
public MemoryPersistenceStrategy()
{
... |
run-server/RunUI.Core/Helpers/TreeNodeHelper.cs | sdwdjzhy/run-admin | 0 | 7043411 | <reponame>sdwdjzhy/run-admin
namespace RunUI
{
public class TreeNodeHelper
{
private static void GetTree(List<TreeNodeItem> treeNodes, string parentId, List<TreeNode> nodes)
{
List<TreeNodeItem> filterNodes;
if (parentId.IsNullOrWhiteSpace())
{
... |
GAMMA/Windows/ObjectSelectionDialog.xaml.cs | samsmithnz/GAMMA | 0 | 7043412 | <filename>GAMMA/Windows/ObjectSelectionDialog.xaml.cs<gh_stars>0
using GAMMA.Models;
using GAMMA.Toolbox;
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Input;
namespace GAMMA.Windows
{
public partial class ObjectSelectionDialog : Window
{
// Constructors
... |
src/Cake.Deploy.Bot.LUIS/CakeLuisExtension.cs | ObjectivityLtd/Cake.Deploy.Bot.LUIS | 0 | 7043413 | <filename>src/Cake.Deploy.Bot.LUIS/CakeLuisExtension.cs
using System;
using System.IO;
using System.Threading;
using Cake.Core;
using Cake.Core.Annotations;
using Newtonsoft.Json.Linq;
namespace Cake.Deploy.Bot.LUIS
{
public static class CakeLuisExtension
{
//[CakeMethodAlias]
//[C... |
src/Sudoku.Solving/Solving/Manual/Steps/DeadlyPatterns/Rectangles/UniqueRectangle2DOr3XStep.cs | XiaoXin1900/Sudoku | 12 | 7043414 | <reponame>XiaoXin1900/Sudoku
namespace Sudoku.Solving.Manual.Steps.DeadlyPatterns.Rectangles;
/// <summary>
/// Provides with a step that is a <b>Unique Rectangle 2D (or 3X)</b> technique.
/// </summary>
/// <param name="Conclusions"><inheritdoc/></param>
/// <param name="Views"><inheritdoc/></param>
/// <param name=... |
src/SilentHunter.Core/Controllers/AnimationController.cs | skwasjer/SilentHunter | 1 | 7043415 | namespace SilentHunter.Controllers
{
/// <summary>
/// Represents the base animation controller.
/// </summary>
public abstract class AnimationController : Controller
{
}
} |
RT.Models/MGCL/MediusServerSessionBeginRequest.cs | kiwidoggie/deadlocked-server | 14 | 7043416 | <filename>RT.Models/MGCL/MediusServerSessionBeginRequest.cs
using RT.Common;
using Server.Common;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace RT.Models
{
[MediusMessage(NetMessageTypes.MessageClassLobbyReport, MediusMGCLMessageIds.ServerSessionBeginRequest)]
publi... |
Yoga.Net.Tests/Typed/YogaRoundingMeasureFuncTest.cs | NZMob/Yoga.Net | 4 | 7043418 | using NUnit.Framework;
using static Yoga.Net.YogaBuild;
namespace Yoga.Net.Tests.Typed
{
[TestFixture]
public class YogaRoundingMeasureFuncTest
{
static MeasureFunc _measureFloor = (node, width, widthMode, height, heightMode, context) => new YogaSize(10.2f, 10.2f);
static MeasureFunc _mea... |
src/Talegen.Storage.Net.Tests/DiskStorageTests.cs | Talegen/Talegen.Storage.Net | 1 | 7043419 | /*
*
* (c) Copyright Talegen, LLC.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in wr... |
testcases/ooxml/XSSF/UserModel/TestXSSFFormulaParser.cs | lucadecamillis/npoi | 1,012 | 7043420 | /* ====================================================================
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for Additional information regarding copyright ownership.
The ASF licenses this file to Y... |
src/Database/ESFA.DC.ILR2021.DataStore.EF/AEC_LearningDelivery_PeriodisedTextValue.cs | SkillsFundingAgency/DC-ILR-2021-DataStore | 0 | 7043421 | <filename>src/Database/ESFA.DC.ILR2021.DataStore.EF/AEC_LearningDelivery_PeriodisedTextValue.cs
using System;
using System.Collections.Generic;
namespace ESFA.DC.ILR2021.DataStore.EF
{
public partial class AEC_LearningDelivery_PeriodisedTextValue
{
public int UKPRN { get; set; }
public string ... |
src/Estates/Cry/GameEstate.Cry/Formats/Core/Chunks/ChunkCompiledIntSkinVertices.cs | bclnet/GameEstate | 0 | 7043422 | <reponame>bclnet/GameEstate
using static OpenStack.Debug;
namespace GameEstate.Cry.Formats.Core.Chunks
{
public abstract class ChunkCompiledIntSkinVertices : Chunk
{
public int Reserved;
public int NumIntVertices; // Calculate by size of data div by size of IntSkinVertex structure.
... |
EM.GIS.Symbology/ILineSymbolizer.cs | chiraylu/EMap | 1 | 7043423 | using System.Drawing;
using System.Drawing.Drawing2D;
namespace EM.GIS.Symbology
{
public interface ILineSymbolizer:IFeatureSymbolizer
{
Color Color { get; set; }
float Width { get; set; }
new ILineSymbolCollection Symbols { get; set; }
void DrawLine(Graphics context, float sca... |
src/SchemaExplorer.SqlAzureSchemaProvider/Constants.cs | Maydear/MaydearSqlAzureProvider | 0 | 7043424 | <filename>src/SchemaExplorer.SqlAzureSchemaProvider/Constants.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SchemaExplorer
{
internal static class Constants
{
internal const string SQL_GetAllCommandParameters= @"SELECT
... |
src/StructureMap/PluginGraphBuilder.cs | forki/structuremap | 0 | 7043425 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using StructureMap.Configuration;
using StructureMap.Graph;
using StructureMap.Pipeline.Lazy;
namespace StructureMap
{
/// <summary>
/// Reads configuration XML documents and builds the structures necess... |
WA-2554_PaymentMethodsUpdater/WA-2554_PaymentMethodsUpdater/FileDao.cs | Polikutkin/Test | 0 | 7043426 | <filename>WA-2554_PaymentMethodsUpdater/WA-2554_PaymentMethodsUpdater/FileDao.cs
using OfficeOpenXml;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace WA_2554_PaymentMethodsUpdater
{
class FileDao
{
public IEnumerable<string> G... |
test/Stove.Demo.ConsoleApp.Nh/Mappings/Dapper/CategoryMap.cs | mehrdad-shokri/Stove | 157 | 7043427 | <reponame>mehrdad-shokri/Stove
using DapperExtensions.Mapper;
using Stove.Demo.ConsoleApp.Nh.Entities;
namespace Stove.Demo.ConsoleApp.Nh.Mappings.Dapper
{
public sealed class CategoryMap : ClassMapper<Category>
{
public CategoryMap()
{
Table("Products");
Map(x => x.Id... |
src/PowerForensicsCore/src/PowerForensics.FileSystems/VolumeBootRecord.cs | larrycameron80/PowerForensics | 1,259 | 7043428 | using System;
using System.IO;
using System.Text;
using PowerForensics.FileSystems.ExFat;
using PowerForensics.FileSystems.Fat;
using PowerForensics.FileSystems.Ntfs;
namespace PowerForensics.FileSystems
{
/// <summary>
///
/// </summary>
public class VolumeBootRecord
{
#region Enums
... |
IT-Career-V3/Module 10 - ASD/ExamPreparation/Headhunt/Headhunt/Entities/Workers/Worker.cs | aalishov/School | 2 | 7043429 | using Headhunt.Entities.Workers.Contracts;
using System;
using System.Collections.Generic;
using System.Text;
namespace Headhunt.Entities.Workers
{
public class Worker : IWorker
{
private string name;
private int salary;
public Worker(string name, int experience, string description, i... |
Utils/DMXrecorder/DMXrecorder/OutputProcessor.cs | HakanL/animatroller | 8 | 7043430 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.NetworkInformation;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Animatroller.DMXrecorder
{
pu... |
CommonStandard/PageInfo.cs | tianma100/CommonStand | 0 | 7043431 | using System;
using System.Collections.Generic;
using System.Text;
namespace System
{
/// <summary>
/// 分页信息处理
/// </summary>
public class PageInfo
{
/// <summary>
/// 空处理
/// </summary>
public PageInfo() { }
/// <summary>
/// 初始化
/// </summa... |
src/Battleships.Game/ShootResult.cs | meeron/battleships | 0 | 7043432 | <gh_stars>0
namespace Battleships.Game
{
public class ShootResult
{
public bool IsHit { get; set; }
public string SankedShip { get; set; }
}
}
|
ZangAPI/ConnectionManager/HttpManager.cs | akshayshahce/cpaas-dotnet | 1 | 7043433 | <reponame>akshayshahce/cpaas-dotnet
using System;
using System.Net;
using RestSharp;
using RestSharp.Authenticators;
using AvayaCPaaS.Configuration;
namespace AvayaCPaaS.ConnectionManager
{
/// <summary>
/// Http manager
/// </summary>
/// <seealso cref="IHttpManager" />
public class HttpManager :... |
src/CharityAction/Data/CharityAction.Data/CharityDbContext.cs | stefanMinch3v/MiniWebShops | 0 | 7043434 | <reponame>stefanMinch3v/MiniWebShops<filename>src/CharityAction/Data/CharityAction.Data/CharityDbContext.cs
namespace CharityAction.Data
{
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Models;
public class CharityDbContext : IdentityDbContext<Appli... |
cards/DALARAN/DALA/Sim_DALA_BOSS_44px.cs | chi-rei-den/Silverfish | 1 | 7043435 | /* _BEGIN_TEMPLATE_
{
"id": "DALA_BOSS_44px",
"name": [
"黑暗潮涌",
"Dark Tidings"
],
"text": [
"<b>英雄技能</b>\n揭示你牌库中的一张随从牌,使其获得+4/+4并将其置于牌库顶。",
"[x]<b>Hero Power</b>\nReveal a minion from your\ndeck. Give it +4/+4 and\nput it on top."
],
"cardClass": "NEUTRAL",
"type": "HERO_POWER",
"cost": ... |
src/ArangoDB.Client/ChangeTracking/DocumentTracker.cs | aviadmini/arangoclient.net | 114 | 7043436 | <filename>src/ArangoDB.Client/ChangeTracking/DocumentTracker.cs<gh_stars>100-1000
using Newtonsoft.Json.Linq;
using ArangoDB.Client.Data;
using ArangoDB.Client.Serialization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ArangoDB.Client.C... |
NWaves/Effects/AudioEffect.cs | RachamimYaakobov/NWaves | 1 | 7043437 | using NWaves.Filters.Base;
using NWaves.Signals;
using System.Linq;
namespace NWaves.Effects
{
/// <summary>
/// Audio effect
/// </summary>
public abstract class AudioEffect : IFilter, IOnlineFilter, IMixable
{
/// <summary>
/// Wet mix
/// </summary>
public virtua... |
src/Requests/sWeInOut/frmSelectTovar.cs | nonenane/requests | 0 | 7043438 | 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 Requests.sWeInOut
{
public partial class frmSelectTovar : Form
{
private int id_tovar, idTReq, id_deps;
... |
src/Fluidity/Models/BeforeAndAfter`T.cs | skttl/umbraco-fluidity | 21 | 7043439 | // <copyright file="BeforeAndAfter`T.cs" company="<NAME>">
// Copyright (c) 2019 <NAME> and contributors.
// Licensed under the Apache License, Version 2.0.
// </copyright>
namespace Fluidity.Models
{
public class BeforeAndAfter<TEntityType>
{
public TEntityType Before { get; set; }
public TEn... |
TencentCloud/Cdb/V20170320/Models/InitDBInstancesRequest.cs | Darkfaker/tencentcloud-sdk-dotnet | 1 | 7043440 | /*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... |
GWS/Main/Image.cs | MnMInfoTech/GWS | 8 | 7043441 | /* Licensed under the MIT/X11 license.
* Copyright (c) 2016-2018 jointly owned by eBestow Technocracy India Pvt. Ltd. & M&M Info-Tech UK Ltd.
* This notice may not be removed from any source distribution.
* See license.txt for detailed licensing details. */
#if !Advanced && (GWS || Window)
using System;
using System.... |
DoctrineShips.Web/Views/KnowledgeBase/List.cshtml | carlgevans/doctrineships | 3 | 7043442 | @using DoctrineShips.Web.ViewModels
@using DoctrineShips.Entities
@using GridMvc.Html
@model KnowledgeBaseListViewModel
@{
ViewBag.Title = "Knowledge Base";
}
<div id="ds-main" role="main">
<div id="ds-header">
<h1>
Knowledge Base<br />
<small>Information on how to use the Do... |
src/KendoGridBinder/KendoGridQueryableHelper.cs | StefH/KendoGridBinderEx | 46 | 7043444 | using System;
using System.Collections.Generic;
using System.Linq;
using AutoMapper;
using AutoMapper.QueryableExtensions;
using JetBrains.Annotations;
using KendoGridBinder.AutoMapperExtensions;
namespace KendoGridBinder
{
public class KendoGridQueryableHelper
{
private readonly AutoMapperUtils _auto... |
Models/EntitiesListHelperResponse.cs | jamalabo1/ApiTools | 1 | 7043445 | using System.Collections.Generic;
namespace ApiTools.Models
{
public class EntitiesListHelperResponse<T>
{
public IEnumerable<T> Create { get; set; }
public IEnumerable<T> Delete { get; set; }
public IEnumerable<T> Update { get; set; }
}
} |
Attendance System/LoginFrm.cs | BlackPhinix/Student-Attendance-System | 0 | 7043446 | 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 Attendance_System
{
public partial class LoginFrm : Form
{
publi... |
prometheus-console-dashboard/BusinessLogic/MetricsParser.cs | koepalex/console-prometheus-dashboard | 0 | 7043447 | <reponame>koepalex/console-prometheus-dashboard
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using prometheus_console_dashboard.Model;
namespace prometheus_console_dashboard.BusinessLogic
{
public class MetricsParser
{
private const string SpecialLineTy... |
MagiRogue/Utils/JsonUtils.cs | Sofistico/MagiRogue | 3 | 7043448 | <reponame>Sofistico/MagiRogue<gh_stars>1-10
using Newtonsoft.Json;
using System.Collections.Generic;
using System.IO;
namespace MagiRogue.Utils
{
public static class JsonUtils
{
public static T JsonDeseralize<T>(string stream) => JsonConvert.DeserializeObject<T>(File.ReadAllText(stream));
pub... |
src/Feature/Login/website/Templates.cs | digitalParkour/SitecoreSYM-AzureB2C | 2 | 7043449 | <reponame>digitalParkour/SitecoreSYM-AzureB2C<gh_stars>1-10
using Sitecore.Data;
namespace SYMB2C.Feature.Login
{
public struct Templates
{
public struct LoginBox
{
public struct WelcomeText
{
public static readonly string FieldName = "WelcomeText";
... |
src/core/Akka.Discovery.Tests/DiscoveryConfigurationSpec.cs | vilinski/akka.net | 0 | 7043450 | <gh_stars>0
//-----------------------------------------------------------------------
// <copyright file="DiscoveryConfigurationSpec.cs" company="Akka.NET Project">
// Copyright (C) 2009-2021 Lightbend Inc. <http://www.lightbend.com>
// Copyright (C) 2013-2021 .NET Foundation <https://github.com/akkadotnet/akk... |
Sdl.Web.DataModel/RegionModelData.cs | willprice76/dxa-content-management | 6 | 7043452 | <filename>Sdl.Web.DataModel/RegionModelData.cs
using System.Collections.Generic;
namespace Sdl.Web.DataModel
{
/// <summary>
/// Represents the data for a Region Model.
/// </summary>
public class RegionModelData : ViewModelData
{
/// <summary>
/// Gets or sets the name of the Regi... |
Services/VerseParsing/Models/ParseContext/HierarchyParseContext.cs | AlexanderDemko/BibleNote | 11 | 7043453 | <reponame>AlexanderDemko/BibleNote<gh_stars>10-100
using System.Collections.Generic;
using System.Linq;
using BibleNote.Common.Extensions;
using BibleNote.Services.VerseParsing.Contracts.ParseContext;
using BibleNote.Services.VerseParsing.Models.ParseResult;
namespace BibleNote.Services.VerseParsing.Models.ParseConte... |
Device/NodeMCU/Device.cs | yashen97/IOT | 0 | 7043454 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Google.Cloud.Firestore;
namespace NodeMCU
{
[FirestoreData]
public class Device
{
[FirestoreProperty]
public double pmax { get; set; }
[FirestoreProperty]
public double pmin { get; se... |
Src/SAEA.Audio.Net/Base/NAudio/Wave/WaveOutCapabilities.cs | dsfop/SAEA | 0 | 7043455 | using System;
using System.Runtime.InteropServices;
namespace SAEA.Audio.Base.NAudio.Wave
{
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
public struct WaveOutCapabilities
{
private short manufacturerId;
private short productId;
private int driverVersion;
[MarshalAs(UnmanagedType.ByValTSt... |
DEM.Net.xUnit.Test/Fixtures/DemNetFixture.cs | cjacquelin/DEM.Net | 0 | 7043456 | using DEM.Net.Core;
using DEM.Net.Core.Configuration;
using DEM.Net.glTF;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Console;
using Microsoft.Extensions.Logging.Debug;
using System.IO;
namespace DEM.N... |
Orm/Xtensive.Orm.Tests/Issues/IssueJira0425_DateTimeOperationError.cs | alex-kulakov/dataobjects-net | 0 | 7043457 | // Copyright (C) 2013 Xtensive LLC.
// All rights reserved.
// For conditions of distribution and use, see license.
// Created by: <NAME>
// Created: 2013.01.31
using System;
using System.Linq;
using NUnit.Framework;
using Xtensive.Orm.Configuration;
using Xtensive.Orm.Tests.Issues.IssueJira0425_DateTime... |
Storm/Logger/Logger.cs | fedtes/storm | 0 | 7043458 | <filename>Storm/Logger/Logger.cs<gh_stars>0
using Storm.Plugin;
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace Storm
{
public enum LogLevel
{
Trace = 0,
Debug = 1,
Info = 2,
Error = 3
}
public class LogEvent
{
... |
bindings/cs/MongoDB.Libmongocrypt/CryptClientFactory.cs | DavidKorczynski/libmongocrypt | 51 | 7043459 | /*
* Copyright 2019–present MongoDB, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... |
Assets/Scripts/Scene/Metier/Competitions/IClassable.cs | nicolasLepy/Quidditch_Simuation | 0 | 7043460 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
/// <summary>
/// Permet à un tour de posséder un classement (exemple pour les championnats ou les poules)
/// </summary>
public interface IClassable
{
int Points(Club c);
} |
Source/Bogus.Tests/DataSetTests/ImageTest.cs | danij/Bogus | 0 | 7043461 | <reponame>danij/Bogus
using System.Net;
using Bogus.DataSets;
using FluentAssertions;
using Xunit;
namespace Bogus.Tests.DataSetTests
{
public class ImageTest : SeededTest
{
public ImageTest()
{
image = new Images();
}
private readonly Images image;
[Fact(Skip = "Explicit... |
Breeze.Sharp/EntityManager.cs | alyzenmed/breeze.sharp | 67 | 7043462 | using Breeze.Sharp.Core;
using Newtonsoft.Json;
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using System.Threading;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Converters;
using System.Text.Reg... |
src/Boo.Lang.Compiler/TypeSystem/Reflection/ExternalType.cs | lafar6502/boo | 155 | 7043463 | #region license
// Copyright (c) 2004, <NAME> (<EMAIL>)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,... |
eawx-build/Configuration/Xml/v1/eaw-ci.cs | SvenMarcus/eaw-ci | 1 | 7043464 | //------------------------------------------------------------------------------
// <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 regenerated.
// </auto-generated>
//--... |
source/Src/Infra.Security/Model/Responses/AuthenticateClientResponse.cs | moein-shafiei/test | 0 | 7043465 | <gh_stars>0
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace DotFramework.Infra.Security.Model
{
public class AuthenticateClientResponse : IClientIdentity
{
[JsonProperty("access_token")]
public string AccessToken { get; set; }
[JsonProperty("token_type"... |
Model/LcdsGameMap.cs | wildbook/LeagueClientApi | 1 | 7043466 | /*
* LeagueClient
*
* 7.23.209.3517
*
* OpenAPI spec version: 1.0.0
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Text;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations... |
Magnesium.Vulkan/Structs/VkSparseMemoryBind.cs | tgsstdio/Mg | 20 | 7043467 | using Magnesium;
using System;
using System.Runtime.InteropServices;
namespace Magnesium.Vulkan
{
[StructLayout(LayoutKind.Sequential)]
internal struct VkSparseMemoryBind
{
public UInt64 resourceOffset { get; set; }
public UInt64 size { get; set; }
public UInt64 memory { get; set; }
public UInt64 memoryOffs... |
SSSBLayer/TaskBroker/Core/SettingsType.cs | BBGONE/TaskBroker | 4 | 7043468 | <reponame>BBGONE/TaskBroker
namespace TaskBroker.SSSB.Core
{
public enum SettingsType : int
{
None = 0,
OnDemandTaskSettings = 3,
Shedule = 4
}
}
|
src/Messages/BaseMessageReceiver.cs | Kezzo/reliable-udp | 0 | 7043469 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using ReliableUdp.MessageFactory;
using ReliableUdp.Packets;
using ReliableUdp.SequenceBuffer;
namespace ReliableUdp.Messages
{
public abstract class BaseMessageReceiver
{
private readonly PacketReceiver packetReceiver;
... |
2014-04-NOI-Preparation/Problem 3/TestsGenerator.cs | jsdelivrbot/AlgoAcademy | 10 | 7043470 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TestGenerator
{
class Program
{
static readonly Random Rand = new Random();
const string logFile = "win-lose.txt";
static void Main(string[] args)
{
int gamesCount = Ran... |
Code/0_Domain/WebForLink.Domain/Services/Process/SolicitacaoModificacaoDadosGeraisSequenciaBP.cs | nelson1987/ProjetoPadraoTDD | 0 | 7043471 | using System;
using WebForLink.Domain.Infrastructure.Exceptions;
using WebForLink.Domain.Interfaces.UnitOfWork;
namespace WebForLink.Domain.Services.Process
{
public interface ISolicitacaoModificacaoDadosGeraisSequenciaService
{
}
public class SolicitacaoDadosGeraisSequenciaService : WebForLink.Domain... |
Scripts/ExtensionMethods/ListExtensionMethods.cs | eric-vgastel/UtilityCollection | 0 | 7043472 | using System;
using System.Collections.Generic;
/// <summary> Static class containing some static functions for list shuffling & selection </summary>
public static class ListExtensionMethods {
/// <summary> Shuffle the list in place using the Fisher-Yates method. </summary>
/// <typeparam name="T"> Type of List </t... |
harunadev/harunatab/Essential/Basic/Event Receiver/Udon/EventRev.cs | github-harunadev/harunatab | 7 | 7043473 | <gh_stars>1-10
using UdonSharp;
using UnityEngine;
using VRC.SDKBase;
using VRC.Udon;
public class EventRev : UdonSharpBehaviour
{
public UdonBehaviour MainBehaviour;
public void harudon_verify()
{
MainBehaviour.SendCustomEvent("harudon_verify");
}
public void harudon_init()
{
... |
src/Kjetil.Demo.Api/Infrastructure/OpenApiConfig.cs | skarnes20/Kjetil.Demo.Api | 2 | 7043474 | <gh_stars>1-10
namespace Kjetil.Demo.Api.Infrastructure
{
public class OpenApiConfig
{
public string Title { get; set; }
public string Version { get; set; }
}
} |
SW.CqApi.UnitTests/TestStartup.cs | SohaibO/CqApi | 2 | 7043475 | <reponame>SohaibO/CqApi<filename>SW.CqApi.UnitTests/TestStartup.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspN... |
Source/Agents/Players/SidPlay/LibSidPlayFp/C64/C64.cs | neumatho/lfs_copy | 0 | 7043477 | <reponame>neumatho/lfs_copy
/******************************************************************************/
/* This source, or parts thereof, may be used in any software as long the */
/* license of NostalgicPlayer is keep. See the LICENSE file for more */
/* information. ... |
src/USchedule.Persistence/Configurations/UniversityConfiguration.cs | stenvix/uschedule-api | 2 | 7043478 | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using USchedule.Core.Entities.Implementations;
namespace USchedule.Persistence.Configurations
{
public class UniversityConfiguration : IEntityTypeConfiguration<University>
{
public void Configure(EntityTypeBuil... |
Assets/Scripts/Common/Utils/YxTools.cs | da1fanshu/1234ewsd | 2 | 7043479 | /**
*文件名称: YxTools.cs
*作者: AndeLee
*版本: 1.0
*Unity版本: 5.4.0f3
*创建时间: 2018-02-05
*描述: 简单扩展类
*历史记录:
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using com.yxixia.utile.Utiles;
u... |
EosSharp/EosSharp.UnitTests.Unity3D/UnityTester/Assets/Scenes/Scripts/UnitTestsScript.cs | BlockForks/eos-sharp | 66 | 7043480 | using EosSharp.UnitTests.Unity3D;
using Newtonsoft.Json;
using System;
using UnityEngine;
public class UnitTestsScript : MonoBehaviour
{
public async void UnitTestAll()
{
try
{
ApiUnitTests autc = new ApiUnitTests();
await autc.TestAll();
EosUnitTests eut =... |
DanfeSharp/Elementos/CFeSat/MensagemConsumidor.cs | faironsp/DanfeSharp | 0 | 7043481 | <filename>DanfeSharp/Elementos/CFeSat/MensagemConsumidor.cs
using DanfeSharp.Enumeracoes;
using DanfeSharp.Graphics;
using DanfeSharp.Modelo;
namespace DanfeSharp.Elementos.CFeSat
{
internal class MensagemConsumidor : ElementoBase
{
public DanfeViewModel ViewModel { get; private set; }
public... |
ERP/app/ErpApp/ErpApp.Android/MainActivity.cs | crisper91/xamarin_telerik | 0 | 7043482 | <filename>ERP/app/ErpApp/ErpApp.Android/MainActivity.cs
using Android.App;
using Android.Content.PM;
using Android.OS;
using MvvmCross.Forms.Platforms.Android.Core;
using MvvmCross.Forms.Platforms.Android.Views;
using MvvmCross.Forms.Presenters;
namespace ErpApp.Droid
{
[Activity(Label = "Telerik ERP", Theme = "... |
src/Umbraco.Web/Install/Steps/FilePermissions.cs | wtct/Umbraco-CMS | 0 | 7043483 | <reponame>wtct/Umbraco-CMS<filename>src/Umbraco.Web/Install/Steps/FilePermissions.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Umbraco.Core.IO;
namespace Umbraco.Web.Install.Steps
{
internal class FilePermissions : InstallerStep
{
public overr... |
MilaORGApp/Controllers/AuthenticationController.cs | bojandamchevski/Mila-Org-group-project | 0 | 7043484 | <gh_stars>0
using DTOs.LoginDto;
using DTOs.RegisterDto;
using DTOs.RoleDto;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Services.Interfaces;
using Shared.CustomExceptions;
using System;
using System.Collections.Generic;
using System.Linq;
using Syste... |
C#/Design/Design/Form1.cs | XiaoYuQin/AutoSavePackageDesign | 4 | 7043485 | <reponame>XiaoYuQin/AutoSavePackageDesign<filename>C#/Design/Design/Form1.cs
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.IO;
using System.IO.Ports;
using System.Thr... |
server/Widgets/Html/Lists/ArrowPager.cs | bennidhamma/EmergeTk | 1 | 7043486 | <filename>server/Widgets/Html/Lists/ArrowPager.cs
// ArrowPager.cs
//
//
using System;
using EmergeTk;
using EmergeTk.Model;
namespace EmergeTk.Widgets.Html
{
public enum PagerDirection
{
Next,
Previous
}
public class ArrowPager : Pager
{
PagerDirection direction;
public PagerDirection Direction {
... |
WorkShop3(OOPPrinciplesPart2)/Skeleton/Agency/Models/Vehicles/Classes/Airplane.cs | albozhinov/TelerikTasks | 0 | 7043487 | <reponame>albozhinov/TelerikTasks
using Agency.Models.Vehicles.Contracts;
using System.Text;
namespace Agency.Models.Vehicles.Classes
{
public class Airplane : Vehicle, IAirplane
{
// Field
private bool hasFreeFood;
// Constructor
public Airplane(int passangerCapacity, Vehicle... |
src/Utils/XrmFramework.Common/Attributes/AttributeMetadataAttribute.cs | papayet974/XrmFramework | 0 | 7043488 | // Copyright (c) <NAME> (CGO Conseils). All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Model.Sdk;
using System;
namespace Model
{
[AttributeUsage(AttributeTargets.Field)]
public class AttributeMetadataAttribute : Attribute
{
... |
src/CourseProject.Data/Migrations/20220407130029_Init.cs | AKS2044/TMS-DotNet02-Online-Aksenchik | 0 | 7043489 | <reponame>AKS2044/TMS-DotNet02-Online-Aksenchik<filename>src/CourseProject.Data/Migrations/20220407130029_Init.cs<gh_stars>0
using Microsoft.EntityFrameworkCore.Migrations;
using System;
namespace Course_Project.Data.Migrations
{
public partial class Init : Migration
{
protected override void Up(Migra... |
HelperActions/SelectDatabaseConnection.cs | SebastianCramer/SqlObjectCopy | 0 | 7043490 | <filename>HelperActions/SelectDatabaseConnection.cs
using Microsoft.Extensions.Logging;
using SqlObjectCopy.Configuration;
using SqlObjectCopy.DBActions;
using System;
using System.Collections.Generic;
using System.Text;
namespace SqlObjectCopy.HelperActions
{
class SelectDatabaseConnection : IDbAction
{
... |
src/libraries/System.Private.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/Runtime.JS.Owned.cs | JimmyCushnie/runtime | 1 | 7043491 | <filename>src/libraries/System.Private.Runtime.InteropServices.JavaScript/src/System/Runtime/InteropServices/JavaScript/Runtime.JS.Owned.cs<gh_stars>1-10
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Ge... |
src/Smellyriver.TankInspector.Pro/UserInterface/ViewModels/MainMenuVM.cs | smellyriver/tank-inspector-pro | 22 | 7043492 | <reponame>smellyriver/tank-inspector-pro
using System;
using System.Collections.ObjectModel;
using System.Linq;
using System.Linq.Expressions;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Input;
using System.Windows.Media;
using Smellyriver.Collections;
using Sme... |
src/Core/Application/Products/Query/ReadProductFromRedis/ReadProductFromRedisQuery.cs | omid-ahmadpour/CleanArchitecture-Template | 50 | 7043493 | <reponame>omid-ahmadpour/CleanArchitecture-Template
using MediatR;
namespace CleanTemplate.Application.Products.Query.ReadProductFromRedis
{
public class ReadProductFromRedisQuery : IRequest<ReadProductFromRedisResponse>
{
public ReadProductFromRedisQuery(int productId)
{
ProductId... |
ShimDBA/Extensions.cs | omgtehlion/ShimDBA | 0 | 7043494 | <filename>ShimDBA/Extensions.cs<gh_stars>0
using SDB;
using SDB.EntryTypes;
using System;
using System.Collections.Generic;
using System.Linq;
namespace ShimDBA
{
static class Extensions
{
public static T Child<T>(this SdbEntryList list, SdbFile.TagValue tag) where T : ISdbEntry => (T)list.Children.Fi... |
Packages/com.stansassets.google-doc-connector-pro/Runtime/Models/GridRange.cs | StansAssets/com.stansassets.running-dinosaur-clone | 2 | 7043495 | <filename>Packages/com.stansassets.google-doc-connector-pro/Runtime/Models/GridRange.cs
using System;
using Newtonsoft.Json;
namespace StansAssets.GoogleDoc
{
public class GridRange
{
/// <summary>
/// The end column of the range, property are zero-based or null if unbounded.
/// </sum... |
src/Sqlite/SqliteBatchExtensions.cs | yang-er/efcore-ext | 28 | 7043496 | using Microsoft.EntityFrameworkCore.Bulk;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.EntityFrameworkCore.Query.Internal;
using Microsoft.EntityFrameworkCore.Sqlite.Query;
using Microsoft.EntityFrameworkCore.Storage.Internal;
namespace Microsoft.Entit... |
src/Tests/PlaywrightFixture.cs | VerifyTests/Verify.Selenium | 2 | 7043497 | using Microsoft.Playwright;
using Xunit;
public class PlaywrightFixture :
IAsyncLifetime
{
IPlaywright? playwright;
IBrowser? browser;
public IBrowser Browser { get => browser!; }
public async Task InitializeAsync()
{
#region PlaywrightBuild
playwright = await Playwright.Cre... |
src/DataStore/test/StackReloaded.DataStore.StorageEngine.UnitTests/Collections/SimpleInMemoryBPlusTreeTests/BPlusTreeConstructor.cs | experimental-hive/StackReloaded | 0 | 7043499 | <reponame>experimental-hive/StackReloaded
using System;
using System.Collections.Generic;
using System.Globalization;
using StackReloaded.DataStore.StorageEngine.Collections;
namespace StackReloaded.DataStore.StorageEngine.UnitTests.Collections.SimpleInMemoryBPlusTreeTests
{
public static class BPlusTreeConstruct... |
Assets/Physics/BroadpaseHelper.cs | voledyhil/MiniEcsPhysics | 15 | 7043500 | <filename>Assets/Physics/BroadpaseHelper.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using MiniEcs.Core;
using Unity.Mathematics;
namespace Physics
{
public class SAPChunk
{
public readonly int Id;
public int Length;
public in... |
Hazel/UPnP/ILogger.cs | GerardSmit/Hazel-Networking | 2 | 7043501 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hazel
{
public interface ILogger
{
void WriteError(string msg);
void WriteInfo(string msg);
}
public class NullLogger : ILogger
{
public static rea... |
Project/Test/CaptureTest/MainForm_Driver.cs | Codeer-Software/Friendly.FarPoint | 2 | 7043502 | <filename>Project/Test/CaptureTest/MainForm_Driver.cs
using Codeer.Friendly.Dynamic;
using Codeer.Friendly.Windows;
using Codeer.Friendly.Windows.Grasp;
using Codeer.TestAssistant.GeneratorToolKit;
using Friendly.FarPoint;
namespace Test.CaptureTest
{
[WindowDriver(TypeFullName = "Target.MainForm")]
public cl... |
libraries/Bot.Builder.Community.Dialogs.DataTypeDisambiguation/RecognizerExtensions.cs | brazierdavid/botbuilder-community-dotnet | 240 | 7043503 | <gh_stars>100-1000
using Microsoft.Recognizers.Text;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Bot.Builder.Community.Dialogs.DataTypeDisambiguation
{
internal static class RecognizerExtensions
{
internal static ResolutionList ParseRecognizer(this List<ModelResult> va... |
Arrays/Condense Array to Number/Program.cs | mmivanova/Programming-Fundamentals-With-CSharp | 0 | 7043504 | using System;
using System.Linq;
namespace Condense_Array_to_Number
{
class Program
{
static void Main(string[] args)
{
int[] input =
Console.ReadLine()
.Split(' ')
.Select(int.Parse)
.ToArray();
int[] con... |
src/Commons.Pool/GenericObjectPool.cs | yanggujun/commonsfornet | 12 | 7043505 | // Copyright CommonsForNET.
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to You under the Apache License, Version 2.0
// ... |
src/Nanomite.Core.Server/Startup.cs | andre-laskawy/nanomite-server | 0 | 7043506 | <reponame>andre-laskawy/nanomite-server<gh_stars>0
///-----------------------------------------------------------------
/// File: Startup.cs
/// Author: <NAME>
/// Date: 30.09.2018 16:59:48
///-----------------------------------------------------------------
namespace Nanomit... |
Assets/Scripts/Game/UserInterfaceWindows/DaggerfallLoadClassicGameWindow.cs | TheExceptionist/daggerfall-unity | 1 | 7043507 | <reponame>TheExceptionist/daggerfall-unity
// Project: Daggerfall Tools For Unity
// Copyright: Copyright (C) 2009-2018 Daggerfall Workshop
// Web Site: http://www.dfworkshop.net
// License: MIT License (http://www.opensource.org/licenses/mit-license.php)
// Source Code: https://github... |
TrAIngle Unmodified/Assets/Scripts/ArtificialIntelligence/MachineLearning.cs | ERGeorgiev/TrAIngle | 0 | 7043508 | <filename>TrAIngle Unmodified/Assets/Scripts/ArtificialIntelligence/MachineLearning.cs
using System.Collections.Generic;
using UnityEngine;
using Artificialintelligence.Genetic;
using Artificialintelligence.Neural;
namespace Artificialintelligence
{
public class MachineLearning : MonoBehaviour
{
[Head... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.