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
Source/Glass.Mapper.Sc/SitecoreService.cs
smithc/Glass.Mapper
0
7036766
/* Copyright 2012 <NAME> 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 i...
src/ChannelAdvisorAccess/REST/Services/Orders/OrdersService.cs
skuvault-integrations/channelAdvisorAccess
1
7036767
using ChannelAdvisorAccess.Exceptions; using ChannelAdvisorAccess.Misc; using ChannelAdvisorAccess.OrderService; using ChannelAdvisorAccess.Services.Orders; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using ChannelAdvisorAccess.REST.Models.Configuration; us...
BricklinkSharp.Client/BricklinkPartOutRequestErrorException.cs
gebirgslok/BricklinkSharp
17
7036768
<gh_stars>10-100 #region License // Copyright (c) 2020 <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 limitation the rights to use, //...
WPFDesigner_XML/WPFDesigner_XML/IViewModel.cs
IAmShivnathGupta/VisualStudioExtension
801
7036769
<reponame>IAmShivnathGupta/VisualStudioExtension<filename>WPFDesigner_XML/WPFDesigner_XML/IViewModel.cs /*************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR I...
sources/Lua/LuaValueType.cs
kodebach/LuaByteSharp
0
7036770
namespace LuaByteSharp.Lua { internal enum LuaValueType { Nil = 0, Boolean = 1, Number = 3, Float = Number | (0 << 4), Integer = Number | (1 << 4), String = 4, ShortString = String | (0 << 4), LongString = String | (1 << 4), Table = 5, ...
WhatBackend.EmailRenderService/WhatBackend.EmailRenderService/IntegrationEvents/EventHandling/ForgotPasswordHandler.cs
anmorgul/WhatBackend
14
7036771
using EasyNetQ; using Serilog.Context; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using CharlieBackend.Core.DTO.EmailData; using CharlieBackend.Core.IntegrationEvents.Events; using WhatBackend.EmailRenderService.Services.Interfaces; namespace WhatBackend.EmailRenderService.IntegrationEvents.Eve...
pinNote1/pinNote/CryptoTool/HumbleCryptoTool.cs
rh1269/SecretScrambler
1
7036772
using SecretScrambler.Enums; using SecretScrambler.Logic; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SecretScrambler.CryptoTool { /// <summary> /// HumbleCrypt - Quick, Simple, Basic Encryption strategy. Significantly less secure than the other CryptoTools...
src/Libs/Christofel.CommandsLib/ContextedParsers/ContextualUserParser.cs
ctu-fee-group/Christofel
2
7036773
<gh_stars>1-10 // // ContextualUserParser.cs // // Copyright (c) <NAME>. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using Remo...
itext/itext.layout/itext/layout/element/Text.cs
Excalib88/itext7-dotnet
0
7036774
/* This file is part of the iText (R) project. Copyright (c) 1998-2019 iText Group NV Authors: <NAME>, <NAME>, et al. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation with the additio...
src/Stump.Server.WorldServer/game/fights/Challenges/Custom/SightseeingChallenge.cs
Daymortel/Stump
2
7036775
<filename>src/Stump.Server.WorldServer/game/fights/Challenges/Custom/SightseeingChallenge.cs using System.Linq; using Stump.DofusProtocol.Enums; using Stump.DofusProtocol.Enums.Custom; using Stump.Server.WorldServer.Game.Actors.Fight; using Stump.Server.WorldServer.Game.Actors.Stats; using Stump.Server.WorldServer.Gam...
CleanArchitectureExample.Domain/Base/BaseEntity.cs
andresantarosa/CleanArchitectureExample
66
7036776
using System; using System.Collections.Generic; using System.Text; namespace CleanArchitectureExample.Domain.Base { public abstract class BaseEntity { public BaseEntity() { } public DateTime DateCreated { get; private set; } = DateTime.Now; public bool IsActive { get;...
StreamsFilesAndDirectories/Practice/Program.cs
DiyanPalov/C-SHARP-Advanced-Problems
3
7036777
using System; using System.IO; using System.Linq; namespace Practice { class Program { static void Main(string[] args) { //FileStream stream = new FileStream(@"text.txt", FileMode.Open); ////relative path - search where the program starts //StreamWriter wri...
Utilities/UIUtilities.cs
chrislee0419/EnhancedSearchAndFilters
27
7036778
using System; using System.Collections; using System.Linq; using System.Reflection; using UnityEngine; using UnityEngine.UI; using TMPro; using SongCore; using BeatSaberMarkupLanguage; using BeatSaberMarkupLanguage.Parser; using BSMLUtilities = BeatSaberMarkupLanguage.Utilities; using BSUtilsUtilities = BS_Utils.Utili...
src/Simplic.AdaptiveTesting/Configuration/TestCaseConfiguration.cs
simplicbe/Simplic.AdaptiveTesting
0
7036779
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Simplic.AdaptiveTesting.Configuration { /// <summary> /// Contains the configuration of a single test case /// </summary> public class TestCaseConfiguration { /// <...
BlazorBook/BlazorBook.cs
aeagle/blazor-spaces
2
7036780
<reponame>aeagle/blazor-spaces<filename>BlazorBook/BlazorBook.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Reflection; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.WebAssembly.Ho...
src/OrchardCore.Modules/OrchardCore.Twitter/Services/TwitterClient.cs
SvanBoxel/OrchardCore
5,234
7036781
<filename>src/OrchardCore.Modules/OrchardCore.Twitter/Services/TwitterClient.cs using System; using System.Collections.Generic; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; using Microsoft.Extensions.Logging; namespace OrchardCore.Twitter.Services { public class TwitterClient...
Semantics/Entities/Compound.cs
marijngoedegebure/NarrativeWorldCreator
0
7036782
<reponame>marijngoedegebure/NarrativeWorldCreator<gh_stars>0 /************************************************************************** * * Compound.cs * * <NAME> * Computer Graphics & CAD/CAM Group * TU Delft * 2010-2011 * * This program is free software; you can redistribute it and/or modify it. * ***...
Components/Base/VCircle.cshtml
tezine/Tazor
0
7036784
<gh_stars>0 @inherits VItem <span id="@ID" class="@cssClass" style="@Style"> @ChildContent </span> <style> #@ID:hover { background-color: @HoverColor; } #@ID { height: @(Width + "px"); border-radius: 50%; display: inline-block; width: @(Width + "px"); ...
server/source/ProjektTestowySerwer/ProjektTestowySerwer/Models/Categories.cs
Sarvaruis/Gadinator
0
7036785
<gh_stars>0 using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace ProjektTestowySerwer.Models { [Table("Categories")] public class Categories { [Key] [Column("CategoriesId")] public int Id { get;...
src/Nest/XPack/MachineLearning/ForecastJob/ForecastJobResponse.cs
iSatishYadav/elasticsearch-net
0
7036786
<filename>src/Nest/XPack/MachineLearning/ForecastJob/ForecastJobResponse.cs using Newtonsoft.Json; namespace Nest { public interface IForecastJobResponse : IAcknowledgedResponse { [JsonProperty("forecast_id")] string ForecastId { get; } } public class ForecastJobResponse : AcknowledgedResponseBase, IForecast...
FitnessApp/Controllers/WorkoutController.cs
1337Motya/FitnessApp
0
7036788
<filename>FitnessApp/Controllers/WorkoutController.cs using FitnessApp.Core.Services.WorkoutService.Commands; using FitnessApp.Core.Services.WorkoutService.Queries; using FitnessApp.Domain.Entitties.Workout; using MediatR; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System.Thr...
old/wf_demo/KpkWorkflow.WPF/MainWindow.xaml.cs
maxole/project_core
0
7036789
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Threading; using System.Windows; using KpkWorkflow.Model; using KpkWorkflow.WPF.Components; using Sparc.Kpk12.Domain; namespace KpkWorkflow.WPF { /// <summary> /// Interaction logic for MainWindow.xaml...
src/API/CompanyName.MyMeetings.API/Modules/Meetings/MeetingsAutofacModule.cs
mdczaplicki/modular-monolith-with-ddd
6,859
7036790
<reponame>mdczaplicki/modular-monolith-with-ddd using Autofac; using CompanyName.MyMeetings.Modules.Meetings.Application.Contracts; using CompanyName.MyMeetings.Modules.Meetings.Infrastructure; namespace CompanyName.MyMeetings.API.Modules.Meetings { public class MeetingsAutofacModule : Module { protec...
tests/monotouch-test/ObjCRuntime/TrampolineTest.cs
akoeplinger/xamarin-macios
1
7036791
<filename>tests/monotouch-test/ObjCRuntime/TrampolineTest.cs using System; using System.Drawing; using System.Globalization; using System.Runtime.InteropServices; #if XAMCORE_2_0 using Foundation; using ObjCRuntime; #if !__TVOS__ using MapKit; #endif #if !__WATCHOS__ using CoreAnimation; #endif using CoreLocation; #if ...
src/Umbraco.RestApi/Routing/WriteableRoute.cs
DecisionTechnologies/UmbracoRestApi
1
7036792
<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using System.Net.Http; using System.Web.Http.Routing; namespace Umbraco.RestApi.Routing { /// <summary> /// A custom route that wraps any other route but makes it writeable: DataTokens and Handler /// </summary> public class Wr...
SentiCheck.xaml.cs
madhura0110/SentimentAnalysis
1
7036795
<gh_stars>1-10 using System; using System.Text; using System.Windows; using System.Net.Http; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace SentimentAnalysis { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> class Info { public string text...
Gu.Analyzers.Analyzers/GU0051XmlSerializerNotCached.cs
forki/Gu.Analyzers
0
7036796
namespace Gu.Analyzers { using System.Collections.Immutable; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; [DiagnosticAnalyzer(LanguageNames.CSharp)] internal class GU0051XmlSerializer...
NLogger/NLogger/EventLogWriter.cs
Lethrir/NLogger
2
7036797
using System.Diagnostics; namespace NLogger { /// <summary> /// Implements an ILogWriter which writes entries to the Windows Event Log /// </summary> public class EventLogWriter : ILogWriter { private readonly string _source; /// <summary> /// Implements an ILogWriter whic...
net45/webapi/WebApiWithReferences/WebApiWithReferences/Repositories/HouseRepository.cs
kanikaul-amazon/TestProjects
3
7036798
using System.Collections.Generic; using System.Linq; using WebApiWithReferences.Models; namespace WebApiWithReferences.Repositories { public class HouseRepository : IHouseRepository { readonly Dictionary<int, HouseEntity> _houses = new Dictionary<int, HouseEntity>(); public HouseRepository() ...
MadWorld/MadWorld.Shared.Client/Manager/Running/Interfaces/IRunningBuilder.cs
oveldman/AzureMadWorld
2
7036799
<filename>MadWorld/MadWorld.Shared.Client/Manager/Running/Interfaces/IRunningBuilder.cs<gh_stars>1-10 using System; using System.Collections.Generic; using MadWorld.Shared.Client.Models.Tools.Running; namespace MadWorld.Shared.Client.Manager.Running.Interfaces { public interface IRunningBuilder { void ...
ReleaseStats.Tests/Reports/Recent_releases.cs
andreasohlund/ReleaseStats
0
7036800
namespace ReleaseStats.Tests.Reports { using System; using System.Linq; using NUnit.Framework; using ReleaseStats.ReleaseProperties; [TestFixture, Explicit("Long running")] public class Recent_releases : ReportFixture { [Test] public void DisplayReport() { ...
TicketDesk-1/TicketDesk/NewTicket.aspx.cs
ilkerhalil/TicketDesk-1
1
7036801
<filename>TicketDesk-1/TicketDesk/NewTicket.aspx.cs // TicketDesk - Attribution notice // Contributor(s): // // <NAME> (<EMAIL>, http://www.reddnet.net) // // This file is distributed under the terms of the Microsoft Public // License (Ms-PL). See http://www.codeplex.com/TicketDesk/Project/License.aspx // for th...
TY.Services.Bank/TY.Services.Bank/Cqrs/Authentication/Commands/SignOutCommand.cs
daidorian09/TY.Kong
3
7036802
<filename>TY.Services.Bank/TY.Services.Bank/Cqrs/Authentication/Commands/SignOutCommand.cs using TY.Services.Bank.Models.Response; namespace TY.Services.Bank.Cqrs.Authentication.Commands { public class SignOutCommand : ICommand<BaseResponse<bool>> { public string Token { get; set; } } }
src/System.Web.Mvc/RegularExpressionAttributeAdapter.cs
akrisiun/Mvc5
793
7036803
<filename>src/System.Web.Mvc/RegularExpressionAttributeAdapter.cs // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Collections.Generic; using System.ComponentModel.DataAnnotations; names...
SoundByte.Core/API/Endpoints/StreamItem.cs
Mom-Assistance/SoundBytee
11
7036804
<filename>SoundByte.Core/API/Endpoints/StreamItem.cs //********************************************************* // Copyright (c) <NAME>. All rights reserved. // This code is licensed under the MIT License (MIT). // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY...
CSharp OOP Basics/CSharp OOP Exams/CSharp OOP Basics Exam - 16 July 2017/Minedraft/Entities/Minedraft.cs
stoyanovmiroslav/CSharp-Fundamentals
0
7036805
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; public abstract class Minedraft { private string id; protected Minedraft(string id) { this.Id = id; } public string Id { get { return id; } protected se...
RTSGame/Assets/Scripts/AI/Character_Manager.cs
VictorTirado/RTSGame
0
7036806
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AI; public class Character_Manager : MonoBehaviour { public enum Character { None, Soldier, WoodCutter, Minner, Mage, Farmer,Dying,Commader }; public enum Gender { Male, Female, None }; public Character work_t...
PromoCodeAPI/Domain/Entities/Ticket.cs
RamonMDS/PromoCodeAPI
0
7036807
using System; namespace PromoCodeAPI.Domain.Entities { public class Ticket { public int Id { get; set; } public string Name { get; set; } public decimal Price { get; set; } public Guid ShoppingCartId { get; set; } public ShoppingCart Cart { get; set; } ...
DestinationViews.Company/DestinationViews.Company/Models/ViewModel.cs
MuhammadMouradG/Company-Vacation-System
0
7036808
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace DestinationViews.Company.Models { public class ViewModel { public Employee employee { get; set; } public User user { get; set; } public Request request { get; set; } publi...
EveLib.Tests/EveCrest_Singularity_Tests.cs
mrurb/evelib
76
7036809
using System.Threading.Tasks; using eZet.EveLib.Core.RequestHandlers; using eZet.EveLib.EveCrestModule; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace eZet.EveLib.Test { [TestClass] public class EveCrest_Singularity_Tests { private readonly string encodedKey = "<KEY>; ...
backend/ltsa/Models/LandTitleDistrict.cs
FuriousLlama/PSP
0
7036810
<filename>backend/ltsa/Models/LandTitleDistrict.cs /* * Title Direct Search Services * * Title Direct Search Services * * OpenAPI spec version: 4.0.1 * * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System.Runtime.Serialization; using System.Text.Json.Serialization; namespace Pi...
src/EntityFramework/Core/Common/internal/materialization/recordstate.cs
run1206/EntityFramework6
1,209
7036811
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. namespace System.Data.Entity.Core.Common.Internal.Materialization { using System.Data.Entity.Core.Metadata.Edm; using System.Text; // <summary> // The RecordState class ...
Tests/cocos2d-mono.Tests/Box2DTestBet(Box2D)/Tests/Gears.cs
brandmooffin/cocos2d-mono
13
7036812
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Box2D.Collision.Shapes; using Box2D.Common; using Box2D.Dynamics; using Box2D.Dynamics.Joints; namespace Box2D.TestBed.Tests { public class Gears : Test { public Gears() { b2Body ground = nul...
windows/pw6e.official/CSharp/Chapter12/NativeUp/NativeUp/MainPage.xaml.cs
nnaabbcc/exercise
1
7036813
<reponame>nnaabbcc/exercise using Windows.Graphics.Display; using Windows.UI.Xaml.Controls; namespace NativeUp { public sealed partial class MainPage : Page { public MainPage() { this.InitializeComponent(); SetRotation(); DisplayProperties.Orien...
src/Client/Core/SFDXOptions.cs
coveo/sfdx4csharp
4
7036814
<reponame>coveo/sfdx4csharp // Copyright (c) 2005-2020, Coveo Solutions Inc. using sfdx4csharpClient.Core.Attributes; namespace sfdx4csharpClient.Core { /// <summary> /// SFDX CLI command options's wrapper. /// </summary> public abstract class SFDXOptions { /// <summary> ...
UNicoAPI2/APIs/download_comment/Parser.cs
cocop/UNicoAPI2
0
7036815
<reponame>cocop/UNicoAPI2<gh_stars>0 using System.IO; using System.Xml.Serialization; namespace UNicoAPI2.APIs.download_comment { public class Parser : IParser<Response.packet> { public Response.packet Parse(byte[] Value) { var serialize = new XmlSerializer(typeof(Response...
src/AdminPanel/Models/ServerInfo.cs
catontheway/OpenMU
0
7036816
// <copyright file="ServerInfo.cs" company="MUnique"> // Licensed under the MIT License. See LICENSE file in the project root for full license information. // </copyright> namespace MUnique.OpenMU.AdminPanel.Models { using MUnique.OpenMU.Interfaces; /// <summary> /// A wrapper class for the game server i...
GraphX.PCL.Logic/Algorithms/LayoutAlgorithms/FDP/LinLogLayoutAlgorithm.QuadTree.cs
anh123minh/MyWPFApp
3
7036817
<filename>GraphX.PCL.Logic/Algorithms/LayoutAlgorithms/FDP/LinLogLayoutAlgorithm.QuadTree.cs using System; using GraphX.Measure; using QuickGraph; namespace GraphX.PCL.Logic.Algorithms.LayoutAlgorithms { public partial class LinLogLayoutAlgorithm<TVertex, TEdge, TGraph> where TVertex : class where TEdge : IEdge...
LuwAdmin.Web/Models/EmailTemplateViewModels/EditViewModel.cs
craigber/LUWAdmin
0
7036818
<filename>LuwAdmin.Web/Models/EmailTemplateViewModels/EditViewModel.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Rendering; namespace LuwAdmin.Web.Models.Emai...
tests/src/JIT/Directed/forceinlining/NoMetaData.cs
elinor-fung/coreclr
159
7036819
<filename>tests/src/JIT/Directed/forceinlining/NoMetaData.cs // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; public class P { public static int M...
Sample/Content/simple/simple.cs
OctoAwesome/engenious
8
7036820
<gh_stars>1-10 layout(local_size_x = 1, local_size_y = 1,local_size_z = 1) in; layout(rgba8, binding = 0) uniform image2D img_output; void main() { // base pixel colour for image vec4 pixel = vec4(0.0, 0.0, 0.0, 1.0); // get index in global work group i.e x,y position ivec2 pixel_coords = ivec2(gl_GlobalInvoca...
Gorilla Warfare/Assets/TopDown/Enemies/Scripts/EnemyAnimation.cs
MickeySuperS/GGJ_2022
0
7036821
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace TopDown { public class EnemyAnimation : MonoBehaviour { SpriteRenderer rend; public Animator anim; private void Start() { anim = GetComponent<Animator>(); rend = Get...
problems/cs/344.cs
tarunbatta/leetcodeScraper
1
7036822
// Url:https://leetcode.com/problems/reverse-string /* 344. Reverse String Easy Write a function that reverses a string. The input string is given as an array of characters char[]. Do not allocate extra space for another array, you must do this by modifying the input array&#xA0;in-place with O(1) extra memory. You ...
ApartmentManagement/ApartmentManagement.Application/Features/Commands/Apartments/Update/UpdateApartmentCommandHandler.cs
ahmtsenlik/ApartmentManagementSystem
0
7036823
using ApartmentManagement.Application.Contracts.Persistence.Repositories.Apartments; using ApartmentManagement.Application.Services; using ApartmentManagement.Domain.Entities; using AutoMapper; using MediatR; using System.Threading; using System.Threading.Tasks; namespace ApartmentManagement.Application.Features.Comm...
src/API/Generator/IGenerator.cs
awseward/SqlCeToolbox
0
7036824
<reponame>awseward/SqlCeToolbox<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; namespace ErikEJ.SqlCeScripting { public interface IGenerator { void ExcludeTables(IList<string> tablesToExclude); string ScriptDatabaseToFile(Sco...
NetExtender.WindowsPresentation/Utilities/Win.cs
Rain0Ash/NetExtender
0
7036825
<filename>NetExtender.WindowsPresentation/Utilities/Win.cs // This is an independent project of an individual developer. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++, C#, and Java: http://www.viva64.com using System; using System.Windows.Input; namespace NetExtender.Utilities.Window...
Echo.Process/ActorSys/Reg.cs
meddbase/echo-process
0
7036826
using System.Linq; using static LanguageExt.Prelude; using static Echo.Process; using LanguageExt; namespace Echo { /// <summary> /// /// Build registered Process paths /// /// </summary> public static class Reg { internal static Unit init() { // Triggers ...
Assets/Scripts/Ground/Map/Block.cs
Alistair401/VIPs
0
7036827
<gh_stars>0 namespace Ground.Map { public class Block { public int MinX { get; set; } public int MinY { get; set; } public int MaxX { get; set; } public int MaxY { get; set; } public int Probability { get { return Size ^ 2; } } publi...
src/SFA.DAS.EmployerIncentives.Api/Controllers/EmailCommandController.cs
uk-gov-mirror/SkillsFundingAgency.das-employer-incentives
4
7036828
using Microsoft.AspNetCore.Mvc; using SFA.DAS.EmployerIncentives.Abstractions.Commands; using SFA.DAS.EmployerIncentives.Api.Types; using SFA.DAS.EmployerIncentives.Commands.AccountVrfCaseStatus; using SFA.DAS.EmployerIncentives.Commands.SendEmail; using System.Threading.Tasks; namespace SFA.DAS.EmployerIncentives.Ap...
examples/Program.cs
deviousasti/netshell
3
7036829
<gh_stars>1-10 using NetShell; using System; using System.Text; using System.Threading.Tasks; namespace example { static class Program { static int Main(string[] args) { var shell = new RpcShell(new DOS()) { Prompt = Environment.CurrentDirectory }; return shell.Run(); ...
src/simulator/Protocol/Protocols/ORAM/Protocol.cs
dbogatov/ore-benchmark
10
7036830
<reponame>dbogatov/ore-benchmark<gh_stars>1-10 using System.Runtime.CompilerServices; using Crypto.Shared; using Crypto.Shared.Primitives.PRG; [assembly: InternalsVisibleTo("test")] namespace Simulation.Protocol.ORAM { public class Protocol : AbsProtocol { public Protocol(byte[] entropy, int elementsPerPage, int ...
sample/Tracker.PostgreSQL/Tracker.PostgreSQL.Core/Domain/Validation/UserRoleCreateModelValidator.cs
MiamiB/EntityFrameworkCore.Generator
269
7036831
using System; using FluentValidation; using Tracker.PostgreSQL.Core.Domain.Models; namespace Tracker.PostgreSQL.Core.Domain.Validation { public partial class UserRoleCreateModelValidator : AbstractValidator<UserRoleCreateModel> { public UserRoleCreateModelValidator() { #regi...
src/SFA.DAS.Reservations.Web.UnitTests/Providers/WhenConfirmingAnEmployer.cs
uk-gov-mirror/SkillsFundingAgency.das-reservations
1
7036832
<filename>src/SFA.DAS.Reservations.Web.UnitTests/Providers/WhenConfirmingAnEmployer.cs using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Threading; using System.Threading.Tasks; using AutoFixture.NUnit3; using MediatR; using Microsoft.AspNetCore.Mvc; using Moq; using NUnit.Fra...
Assets/Scripts/Audio/MusicManager.cs
hsandt/scavenger-dogs
1
7036833
using UnityEngine; using System.Collections; using System.Collections.Generic; using CommonsHelper; using CommonsPattern; public class MusicManager : SingletonManager<MusicManager> { protected MusicManager () {} // guarantee this will be always a singleton only - can't use the constructor! /* Sibling compo...
src/Umbraco.Web/UI/Bundles/JsUmbracoTree.cs
tompipe/Umbraco-CMS
3
7036834
<filename>src/Umbraco.Web/UI/Bundles/JsUmbracoTree.cs using System.Web.UI; using ClientDependency.Core; namespace Umbraco.Web.UI.Bundles { /// <summary> /// The umb tree libs /// </summary> [ClientDependency(ClientDependencyType.Javascript, "Tree/jquery.tree.js", "UmbracoClient", Priority = 0, Group ...
src/SFA.DAS.Reservations.Domain/Employers/AccountLegalEntity.cs
SkillsFundingAgency/das-reservations
1
7036835
using SFA.DAS.Common.Domain.Types; namespace SFA.DAS.Reservations.Domain.Employers { public class AccountLegalEntity { public long AccountId { get; set; } public long LegalEntityId { get; set; } public string AccountLegalEntityName { get; set; } public long AccountLegalEntityId...
src/TupleGeo.General/src/TupleGeo/General/Linq/IEnumerableExtensions_NoCompile.cs
TupleGeo/base
0
7036836
<reponame>TupleGeo/base  #region Header // Title Name : IEnumerableExtentions // Member of : TupleGeo.General.dll // Description : Provides extension methods for IEnumerable<T>. // Created by : 13/05/2009, 20:39, <NAME>. // Updated by : // Version : 1.0.0 // Contact Details : T...
Source/ModelGroups/Mesh_PrimitiveAttribute.cs
cx20/glTF-Asset-Generator
79
7036837
using AssetGenerator.Runtime; using System; using System.Collections.Generic; using System.Numerics; namespace AssetGenerator.ModelGroups { internal class Mesh_PrimitiveAttribute : ModelGroup { public override ModelGroupId Id => ModelGroupId.Mesh_PrimitiveAttribute; public Mesh_PrimitiveAttri...
2D-Problems/Paint-Fill/Paint-Fill.cs
adriano-arce/Interview-Problems
1
7036838
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; public class PaintFillSolution { public enum Colour { Black = 'k', Red = 'r', Blue = 'b', Green = 'g', White = 'w' } public static void PaintFill(Colour[][] grid, int x...
Arduino UNO Key Mapping Host Software/Form1.Designer.cs
YeoSJ116/Simple_Arduino_UNO_Key_Mapping-EN
0
7036839
<filename>Arduino UNO Key Mapping Host Software/Form1.Designer.cs namespace Arduino_UNO_Key_Mapping_Host_Software { partial class Form1 { /// <summary> /// 필수 디자이너 변수입니다. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> //...
BlazorShop.WebClient/Services/OrderService.cs
JBeni/BlazorShop
0
7036840
<filename>BlazorShop.WebClient/Services/OrderService.cs namespace BlazorShop.WebClient.Services { public class OrderService : IOrderService { private readonly HttpClient _httpClient; private readonly IToastService _toastService; private readonly JsonSerializerOptions _options; ...
SF/Migrations/20210402200637_ShopSetIdProp.Designer.cs
ConnorBurgess/SFHype.Solution
0
7036841
<reponame>ConnorBurgess/SFHype.Solution<filename>SF/Migrations/20210402200637_ShopSetIdProp.Designer.cs // <auto-generated /> using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storag...
FixClient/History/HistoryPanel.cs
VirtuFinancial/FixClient
1
7036842
///////////////////////////////////////////////// // // FIX Client // // Copyright @ 2021 VIRTU Financial Inc. // All rights reserved. // // Filename: HistoryPanel.cs // Author: <NAME> // ///////////////////////////////////////////////// using System; using System.ComponentModel; using System.Data; us...
ExpressionToCodeTest/AnnotatedToCodeTest.cs
EamonNerbonne/ExpressionToCode
130
7036843
<gh_stars>100-1000 using System; using ExpressionToCodeLib; using Xunit; namespace ExpressionToCodeTest { public class AnnotatedToCodeTest { [Fact] public void A1PlusB2() { var a = 1; var b = a + 1; var code = ExpressionToCode.AnnotatedToCode(() => ...
sources/RegulatedNoise/Enums and Utility Classes/Controls_ext.cs
zericco/Elite-Insight
0
7036844
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Drawing; using System.Windows.Forms; namespace System.Windows.Forms { class ComboBox_ro : ComboBox { public ComboBox_ro() { TextBox_ro = new ...
MagicMarbles/MagicMarbles/ViewModels/MainViewModel.cs
ChristopherFH/MagicMarbles
0
7036845
using System; using System.ComponentModel; using System.Windows.Input; using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using GalaSoft.MvvmLight.Messaging; using MagicMarbles.Model; using MagicMarbles.Utils; namespace MagicMarbles.ViewModels { public class MainViewModel : ViewModelBase { pr...
HabrCacheQuery.DeepEqualsReferenceTypes/DeepHash.cs
brager17/Cached-Query
1
7036846
<filename>HabrCacheQuery.DeepEqualsReferenceTypes/DeepHash.cs using System; using System.Collections; using System.Collections.Generic; using System.Linq; namespace HabrCacheQuery.ServiceCollectionExtensions { public static class DeepHash { public static int DeepGetHashCode(object obj) => MatchAndActio...
Sonatype/InedoExtension/VulnerabilitySources/Vulnerability.cs
Inedo/inedox-sonatype
2
7036847
<filename>Sonatype/InedoExtension/VulnerabilitySources/Vulnerability.cs<gh_stars>1-10 using Newtonsoft.Json; namespace Inedo.Extensions.Sonatype.VulnerabilitySources { [JsonObject] internal sealed class Vulnerability { [JsonProperty("id")] public string Id { get; set; } [JsonProper...
src/Servers/Kestrel/Core/src/Internal/ConfigurationReader.cs
johnri/aspnetcore
1
7036848
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using System.Security.Authentication; using Microsoft.AspNetCore.Server.Kestrel.Https; using Microsoft.Extensions.Configuration; namespace Microsoft.AspNetCore.Se...
DapperLike.SqlBulkCopy.Tests/ServiceTypes/ByteArrayComparer.cs
Inurias/DapperLike
10
7036849
<filename>DapperLike.SqlBulkCopy.Tests/ServiceTypes/ByteArrayComparer.cs using System.Collections.Generic; using System.Linq; namespace DapperLike.SqlBulkCopy.Tests { public class ByteArrayComparer : IEqualityComparer<byte[]> { public bool Equals(byte[] x, byte[] y) { if (Reference...
ServerSentEvent/WebRequester.cs
s1impled/IoT
0
7036850
using System; using System.Net; using System.Threading.Tasks; namespace ServerSentEvent { class WebRequester : IWebRequester { public Task<IServerResponse> Get(Uri url, string authToken) { HttpWebRequest wreq = (HttpWebRequest)WebRequest.Create(url); wreq.Method = "GET"...
SamplePrism.Infrastructure/Cron/CronObjectDataContext.cs
chengming0916/SimplePrism
0
7036851
<reponame>chengming0916/SimplePrism using System; using System.Collections.Generic; namespace SamplePrism.Infrastructure.Cron { public class CronObjectDataContext { public object Object { get; set; } public DateTime LastTrigger { get; set; } private readonly List<CronSchedule> _cronSchedules; pu...
PizzaBox.Domain/Models/ATopping.cs
mplurad/P1_Miles_Plurad
0
7036852
<reponame>mplurad/P1_Miles_Plurad using System.Collections.Generic; namespace PizzaBox.Domain.Models { public partial class ATopping { public ATopping() { //PizzaToppings = new HashSet<APizzaTopping>(); } public int ToppingId { get; set; } public string Topp...
Assets/Gito/Scripts/CameraMover.cs
BushCloversHigh/Backwards
0
7036853
<reponame>BushCloversHigh/Backwards<gh_stars>0 using UnityEngine; using System.Collections; using DG.Tweening; // カメラ移動のスクリプト public class CameraMover : MonoBehaviour { // 後ろに下がっていく時間 [SerializeField] private float backTime = 1.5f; // 止まって配置を確認する時間 [SerializeField] private float checkTime = 3.0f; ...
src/Entities/Guild/Suggestion.cs
BoredManCodes/Volte
0
7036854
using System; namespace Volte.Entities { public sealed class Suggestion { public Guid Uuid { get; set; } public string ShortSummary { get; set; } public string LongDescription { get; set; } public ulong CreatorId { get; set; } } }
StocktakingOnline.Web/Services/RoleStore.cs
qiang19890912/stock-taking-online
0
7036855
using System; using System.Threading; using System.Threading.Tasks; using Microsoft.AspNetCore.Identity; using StocktakingOnline.Web.Models.Database; using StocktakingOnline.Web.Services.Declaration; using Dapper; using System.Linq; namespace StocktakingOnline.Web.Services { public class RoleStore : IRoleStore<DbRol...
Protocol/Packet/RakNet/IncompatibleProtocolVersion.cs
AlphaSound/Protocol
1
7036856
using AlphaSound.Protocol.Stream; using System; using System.Collections.Generic; using System.Text; namespace AlphaSound.Protocol.Packet.RakNet { public class IncompatibleProtocolVersion : Packet<IncompatibleProtocolVersion> { public byte Protocol { get; set; } public Guid Magic { get; set; ...
src/System.Windows.Forms/src/System/Windows/Forms/PropertyGridInternal/PropertyGridView.Flags.cs
Balkoth/winforms
0
7036858
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. namespace System.Windows.Forms.PropertyGridInternal { internal sealed partial class PropertyGridView { ...
WPFHexaEditor.Control/Core/KeyValidator.cs
dathlin/WpfHexEditorControl
3
7036859
<filename>WPFHexaEditor.Control/Core/KeyValidator.cs ////////////////////////////////////////////// // Apache 2.0 - 2016-2018 // Author : <NAME> (<EMAIL>) ////////////////////////////////////////////// using System; using System.Text; using System.Windows.Input; using WpfHexaEditor.Core.Native; namespace ...
ElasticSearch7Template.Utility/MessageFactory.cs
xubb1988/ElasticSearch7Template
3
7036860
using System; using System.Collections.Generic; using System.Text; namespace ElasticSearch7Template.Utility { public static class MessageFactory { public static string CreateNotFoundMessage(string entityName, string id) { return $"Cannot find {entityName} with id {id}."; } ...
SampleWebApi.Core/Services/AuthService.cs
mwellborn/sample-webapi
0
7036862
using System; using System.IdentityModel.Tokens.Jwt; using System.Security.Claims; using System.Text; using InnerApiCloud.Core.Helpers; using InnerApiCloud.Core.Interfaces.Services; using InnerApiCloud.Core.Interfaces.SqlRepositories; using InnerApiCloud.Core.Models; using Microsoft.Extensions.Logging; using Microsoft...
Data/CpqContext.cs
olegbruev/Mtd.Cpq.Manager
1
7036863
<reponame>olegbruev/Mtd.Cpq.Manager using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; namespace Mtd.Cpq.Manager.Data { public partial class CpqContext : DbContext { public CpqContext() { } public CpqContext(DbContextOptions<CpqCon...
packets/NullPacket.cs
legend-plus/LegendSharp
1
7036864
<gh_stars>1-10 namespace Packets { public class NullPacket : Packet { public override short id { get{ return 0;} } public override string name { get{ return "Null";} } public byte[] data; public NullPacket() { data = new byte[] {}; } public NullP...
Packaging/WiX/p4exp-installer/Bundle/WixWPFWizardBA/Views/Pages/SelectApplicationsPage/SelectApplicationsPageView.xaml.cs
perforce/p4exp
4
7036865
// // Copyright (c) <NAME> and <NAME>. All rights reserved. // Licensed under the MIT License. See LICENSE file in the solution root for full license information. // using System.Windows; // RoutedEventArgs using WixWPFWizardBA.Utilities; // WixVariableHelper using WixWPFWizardBA.Dialogs.FolderBrowser; namespa...
BlockDodger/Assets/Scripts/Buttons/FullscreenButton.cs
Sockrocker/BlockDodger
0
7036866
<reponame>Sockrocker/BlockDodger<filename>BlockDodger/Assets/Scripts/Buttons/FullscreenButton.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class FullscreenButton : MonoBehaviour { GlobalGameManager globalGameManager; // Start is called before the first frame update ...
StatBot/Program.cs
MJHeijster/LoggerBot
0
7036867
<filename>StatBot/Program.cs // *********************************************************************** // Assembly : StatBot // Author : <NAME> // Created : 12-11-2017 // // Last Modified By : <NAME> // Last Modified On : 18-05-2022 // *******************************************************...
Defs/Yui/Y_/StackedSplineSeries.cs
SharpKit/SharpKit-SDK
12
7036868
<filename>Defs/Yui/Y_/StackedSplineSeries.cs //*************************************************** //* This file was generated by tool //* SharpKit //*************************************************** using System; using System.Collections.Generic; using SharpKit.JavaScript; namespace Y_ { /// <summary> /// St...
Abp.Genisys/Application/CRUD/CrudAppService.cs
YannTru/TicTacToeWeb
0
7036869
<filename>Abp.Genisys/Application/CRUD/CrudAppService.cs<gh_stars>0 using System.Linq; using Abp.Application.Services; using Abp.Application.Services.Dto; using Abp.AutoMapper; using Abp.Domain.Entities; using Abp.Domain.Repositories; using Abp.Utils.Extensions; using Kendo.DynamicLinq; namespace Abp.Application.CRUD...
Joey/UI/Fragments/ChangeDateTimeDialogFragment.cs
opensourceios/toggle-mobile
2
7036870
using System; using Android.App; using Android.Content; using Android.OS; using Android.Text.Format; using Android.Util; using Android.Views; using Android.Widget; using Toggl.Joey.UI.Utils; using Toggl.Joey.UI.Views; using Toggl.Phoebe.Net; using XPlatUtils; namespace Toggl.Joey.UI.Fragments { public class Chang...
OncorDev/Pnnl.Oncor.Rest.Security/UserAuthorizations.cs
OSRS/Oncor_Base
0
7036871
<reponame>OSRS/Oncor_Base using Newtonsoft.Json.Linq; using Osrs.Net.Http; using Osrs.Net.Http.Handlers; using Osrs.Security; using Osrs.Security.Authorization; using Osrs.Threading; using System.Collections.Generic; namespace Pnnl.Oncor.Rest.Security { public class UserAuthorizations : HttpHandlerBase, IServiceH...