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
CryptographyProject/CryptographyProject/Common/FileNameCreator.cs
nemanjapetrovic/cryptography-course-elfak
1
7038018
using CryptographyProject.Helper; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CryptographyProject.Common { /// <summary> /// Used to manage file names for output files /// </summary> public class FileNam...
Xamarin-MVP/Xamarin-MVP.Common/Login/LoginModule.cs
jbtamaresgit/xamarin-mvp
1
7038019
<filename>Xamarin-MVP/Xamarin-MVP.Common/Login/LoginModule.cs using System; using Xamarin_MVP.Common.APIService; using Xamarin_MVP.Common.Manager; using Xamarin_MVP.Ioc; using Xamarin_MVP.Ioc.Modules; namespace Xamarin_MVP.Common.Login { public class LoginModule : IModule { public void OnInitialized(I...
Assets/Scripts/Game/Structures/ArterialRoad.cs
AlvianPrasetya/TrafficPlanner
0
7038020
<gh_stars>0 public class ArterialRoad : Road, ICollectible { public override Grid EndGrid { get { return base.EndGrid; } set { base.EndGrid = value; Enlist(); } } public override void Demolish() { Delist(); base.Demolish(); } public void Enlist() { SiteManager.Instance.roadManager.Add...
7 Days to Die Config Editor/Services/Extensions/StringExtensions.cs
nlreynolds80/7DtDEditor
0
7038021
using System; using System.Collections.Generic; using System.IO; using System.Text; namespace Services.Extensions { public static class StringExtensions { public static Stream GetStream(this string source) { var memoryStream = new MemoryStream(); var streamWriter = new ...
sdk/src/Services/WAFV2/Generated/Model/WAFInvalidPermissionPolicyException.cs
SammyEnigma/aws-sdk-net
2
7038023
/* * Copyright 2010-2014 Amazon.com, Inc. or its affiliates. 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. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
src/02-services/Gateway/Controllers/SandwichController.cs
rockfordlhotka/xplat-netcore-webassembly
11
7038024
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Configuration; using Newtonsoft.Json; using RabbitQueue; namespace Gateway.Controllers { [Route("api/[controller]")] [ApiCont...
TagShop.Repository/Interfaces/ICategoryRepository.cs
DegasEd/TagPauloEdgardAspNetCore
0
7038025
<reponame>DegasEd/TagPauloEdgardAspNetCore using Dapper; using System; using System.Collections.Generic; using System.Text; using TagShop.Domain.Models; namespace TagShop.Repository.Interfaces { public interface ICategoryRepository { Category Insert(Category obj); Category Update(Category obj...
JetBat.MetadataEditor/Editors/MultiversionDocumentSettingsEditor.Designer.cs
shestakov/jetbat
0
7038026
namespace JetBat.MetadataEditor.Editors { partial class MultiversionDocumentSettingsEditor { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// ...
ElmahCore/ElmahLogMessageEntry.cs
ElmahCore/www
222
7038027
<reponame>ElmahCore/www using System; using System.Collections.Generic; using System.Xml.Serialization; using Microsoft.Extensions.Logging; namespace ElmahCore { public struct ElmahLogMessageEntry { public DateTime TimeStamp { get; set; } public string Message { get; set; } public stri...
mdoc/Mono.Documentation/Updater/Formatters/AttributeFormatters/CppWinRtAttributeFormatter.cs
jeffreyxrh/api-doc-tools
57
7038028
using Mono.Cecil; namespace Mono.Documentation.Updater.Formatters { class CppWinRtAttributeFormatter : AttributeFormatter { public override string PrefixBrackets { get; } = "/// ["; public override string SurfixBrackets { get; } = "]"; public override string Language => Consts.CppWinRt;...
src/RMWorkflowMigrator.CmdLine/Options.cs
ALM-Rangers/Migrate-assets-from-RM-server-to-TFS
1
7038029
// -------------------------------------------------------------------------------------------------------------------- // <copyright file="Options.cs" company="Microsoft Corporation"> // Copyright Microsoft Corporation. All Rights Reserved. This code released under the terms of the MIT License (MIT, https://github....
Common/Core/Infrastructure/INetfoxSettings.cs
mvondracek/NetfoxDetective
35
7038030
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Netfox.Core.Infrastructure { public interface INetfoxSettings { [global::System.Configuration.UserScopedSettingAttribute()] [global::System.Diagnostics...
examples/unity/http/HttpSettingsEditor.cs
MiniOffical/steam-microtransaction-api
8
7038031
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Jazz.http { [CreateAssetMenu(fileName = "HttpSettings", menuName = "JazzHttp/CreateHttpSettings", order = 1)] public class HttpSettingsEditor : ScriptableObject { public string ApiUrl = "http://127.0.0.1/"; ...
mGitHub.SampleApp/Views/Repository/RepositoryContributorsView.xaml.cs
Alfian878787/mGitHub.SampleApp
4
7038032
<reponame>Alfian878787/mGitHub.SampleApp using System.Windows.Controls; namespace mGitHub.SampleApp.Views.Repository { public partial class RepositoryContributorsView : UserControl { public RepositoryContributorsView() { InitializeComponent(); } } }
Project/DeckAPI/DeckAPI.Infra/Db/ApplicationDbContext.cs
thiagocbechara/deck_cards_api
0
7038033
using DeckAPI.Domain.Entities; using Microsoft.EntityFrameworkCore; using System.Diagnostics.CodeAnalysis; namespace DeckAPI.Infra.Db { public class ApplicationDbContext : DbContext { public ApplicationDbContext([NotNull] DbContextOptions<ApplicationDbContext> options) : base(options) { ...
Content.Server/Database/ServerBanDef.cs
c-johnson/space-station-14
0
7038034
<reponame>c-johnson/space-station-14 using System; using System.Net; using Robust.Shared.Network; #nullable enable namespace Content.Server.Database { public sealed class ServerBanDef { public int? Id { get; } public NetUserId? UserId { get; } public (IPAddress address, int cidrMask)?...
test/UnitTest/Components/TabLinkTest.cs
First-Coder/BootstrapBlazor
1
7038035
<gh_stars>1-10 // Copyright (c) <NAME> (<EMAIL>). All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Website: https://www.blazor.zone or https://argozhang.github.io/ namespace UnitTest.Components; public class TabLinkTest : Bootstra...
Assets/EntitasSources/Systems/BattleSystem/PokemonDeathReactiveSystem.cs
rocksdanister/Pokemon_Unity3D_Entitas
0
7038036
<filename>Assets/EntitasSources/Systems/BattleSystem/PokemonDeathReactiveSystem.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using Entitas; using MyUnityEventDispatcher; class PokemonDeathReactiveSystem : ReactiveSystem<GameEntity> { readonly GameContext context; pu...
Tests/AssemblyBytesTests.cs
darthwalsh/dotNetBytes
5
7038037
<filename>Tests/AssemblyBytesTests.cs using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Threading; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using Newtonsoft.J...
GeometricAlgebraFulcrumLib/GeometricAlgebraFulcrumLib/Utilities/Extensions/LinVectorGradedStorageUtils.cs
ga-explorer/GeometricAlgebraLib
6
7038038
<filename>GeometricAlgebraFulcrumLib/GeometricAlgebraFulcrumLib/Utilities/Extensions/LinVectorGradedStorageUtils.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using DataStructuresLib.BitManipulation; using GeometricAlgebraFulcrumLib.Storage.L...
src/Phantom.Tests/AutoRunnableTester.cs
markembling/Phantom
20
7038039
<reponame>markembling/Phantom<gh_stars>10-100 #region License // Copyright <NAME> (http://www.jeremyskinner.co.uk) and Contributors // // Licensed under the Microsoft Public License. You may // obtain a copy of the license at: // // http://www.microsoft.com/opensource/licenses.mspx // // By using this source code i...
src/NuGet.Services.Operations/Secrets/SecretStoreMetadata.cs
NuGet/NuGet.Operations
7
7038040
<filename>src/NuGet.Services.Operations/Secrets/SecretStoreMetadata.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; using System.Collections.Generic; using System.Linq; using System.T...
SimpleGameImport.cs
joyrider3774/Playnite_Simple_Game_Importer
2
7038041
<gh_stars>1-10 using Playnite.SDK; using Playnite.SDK.Events; using Playnite.SDK.Models; using Playnite.SDK.Plugins; using System; using System.Collections.Generic; using System.IO; using System.Reflection; using System.Windows; using System.Windows.Controls; namespace SimpleGameImport { public class SimpleGameIm...
UnityWithLua/Assets/Scripts/Lua/LuaTypeDefine.cs
RayStudio36/UnityWithLua
0
7038042
using System; using System.Collections.Generic; using XLua; namespace Lua { public class LuaTypeDefine { [CSharpCallLua] public delegate void LuaUpdate(float f); [CSharpCallLua] public static List<Type> CSharpCallLuaTypes = new List<Type>() { }; ...
Scarlet.IO.ContainerFormats/NISPACK.cs
Liquid-S/Scarlet
78
7038043
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace Scarlet.IO.ContainerFormats { public class NISPACKFile : ContainerElement { public string Filename { get; private set; } public uint Offset { get; private set; } public uint...
Haushaltsbuch/Dialogs/CommonDialogs/ConfirmationDialogControl.xaml.cs
Fateblade/Haushaltsbuch
0
7038044
using System.Windows.Controls; namespace Fateblade.Haushaltsbuch.UI.Haushaltsbuch.Dialogs.CommonDialogs { /// <summary> /// Interaction logic for ConfirmationDialogControl.xaml /// </summary> public partial class ConfirmationDialogControl : UserControl { public ConfirmationDialogControl() ...
src/ProxyFramework/IProxyFramework.cs
withsalt/ProxyFramework
3
7038045
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Titanium.Web.Proxy.EventArguments; namespace ProxyFramework { public abstract class IProxyFramework { public SessionEventArgs EventArgs { get; set; } public abstract Task<bool...
VideoPlayerSample/VideoPlayerSample/VideoPlayerSample/Controls/FullscreenVideoPlayer.xaml.cs
gagikkyurkchyan/xamarin-samples
20
7038046
using System; using Xamarin.Forms; namespace VideoPlayerSample.Controls { public partial class FullscreenVideoPlayer : ContentPage { private readonly string _path; public FullscreenVideoPlayer (string path) { InitializeComponent (); videoPlayer.VideoPath = path; videoPl...
CommandLineTools/CommandLine/ParseResultExtensions.cs
trmcnealy/CommandLineTools
0
7038048
<filename>CommandLineTools/CommandLine/ParseResultExtensions.cs // Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Linq; using System.T...
build/src/StateMachine/GameState.cs
jogood/Kill-counter-mod
1
7038049
<reponame>jogood/Kill-counter-mod<filename>build/src/StateMachine/GameState.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using DuckGame; using System.IO; namespace DuckGame.KillCounterMod { public enum GameState { newMatchStarting, inMatch, ...
Source/Services/Axiverse.Services.IdentityService/Identity.cs
AxiverseCode/wiki
6
7038050
<filename>Source/Services/Axiverse.Services.IdentityService/Identity.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Security.Cryptography; using System.Threading.Tasks; using Konscious.Security.Cryptography; namespace Axiverse.Services.IdentityService { publ...
CilJs/2.Analysis/Ast/OpExpression.cs
markusjohnsson/Braille
6
7038052
using System.Collections.Generic; using System.Linq; using CilJs.Loading; namespace CilJs.Ast { class OpExpression : Node { public OpInstruction Instruction; public List<OpInstruction> Prefixes; public List<OpExpression> Targets = new List<OpExpression>(); public List<OpExpress...
Assets/Scripts/GameManager.cs
ben-and-sam/RPC
0
7038053
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; //(name) indicate who was responciple for that block of code since didn't set up GitHub until after project was complete public class GameManager : MonoBehaviour { //options passed to player from the weapon class ...
Dependencies/AgateLib/Agate031/Source/AgateLib/ImplementationBase/IDisplayCaps.cs
dtsudo/DT-Danmaku-2
1
7038054
// The contents of this file are subject to the Mozilla Public License // Version 1.1 (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.mozilla.org/MPL/ // // Software distributed under the License is distr...
osu.Game/Online/API/Requests/Responses/APIUserScoreAggregate.cs
peppy/osu-new
1
7038055
// Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using System; using Newtonsoft.Json; using osu.Game.Rulesets.Mods; using osu.Game.Scoring; namespace osu.Game.Online.API.Requests.Responses { pub...
src/OctoPoC.CloudRegion/CloudRegionEndpointActor.cs
mayuanyang/OctoPoC
0
7038056
<reponame>mayuanyang/OctoPoC using System; using Akka.Actor; using Akka.DI.Core; using OctoPoC.Core.DeploymentTargets; using OctoPoC.Messages.Commands; namespace OctoPoC.CloudRegion { class CloudRegionEndpointActor : ReceiveActor { public CloudRegionEndpointActor() { Receive<string...
Clouseau-pc-inspector/ClouseauForm_DxDiag.cs
timeplayinc/clouseau-pc-inspector
3
7038057
<gh_stars>1-10 using Microsoft.Win32; 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 Newtonsoft.Json; using System.IO; using System.Diagnostics; u...
TaleSpireReplicatorPlugin/ReplicatorPlugin.cs
LordAshes/TaleSpire-ReplicatorPlugin
0
7038058
using UnityEngine; using BepInEx; using BepInEx.Configuration; using Bounce.Unmanaged; using System.Collections.Generic; using System.Linq; using System; using DataModel; using Newtonsoft.Json; namespace LordAshes { [BepInPlugin(Guid, Name, Version)] [BepInDependency(FileAccessPlugin.Guid)] ...
tests/Glader.Essentials.EventBus.Tests/EventBusTests.cs
HelloKitty/Glader.Essentials
4
7038059
using Microsoft.VisualStudio.TestTools.UnitTesting; using System; using System.Collections.Generic; using System.Threading; namespace Glader.Essentials { //Based on: https://github.com/mxjones/RedBus/blob/master/src/Redbus/Redbus.Tests/EventBusTests.cs [TestClass] public class EventBusTests { private bool _meth...
WumpusWorld/WumpusWorldForm.cs
Aiden-p77/Wumpus-world
0
7038060
 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.Threading; namespace WumpusWorld { public partial class WumpusWorldForm : Form { #region ...
ConectMaze/Assets/Script/GameControl.cs
cassianasoares/2D-Game-Unity-Android
0
7038061
<reponame>cassianasoares/2D-Game-Unity-Android<filename>ConectMaze/Assets/Script/GameControl.cs<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; public class GameControl : MonoBehaviour { [SerializeField] privat...
Vision/Services/API/WorldAPI/RegistrationAPI.cs
VisionSim/Vision-Sim
1
7038062
/* * Copyright (c) Contributors, http://vision-sim.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * For an explanation of the license of each contributor and the content it * covers please see the Licenses directory. * * Redistribution and use in source and binary forms, with or without...
DigitalLearningSolutions.Data.Tests/DataServices/CentresDataServiceTests.cs
TechnologyEnhancedLearning/DLSV2
2
7038063
<reponame>TechnologyEnhancedLearning/DLSV2<filename>DigitalLearningSolutions.Data.Tests/DataServices/CentresDataServiceTests.cs<gh_stars>1-10 namespace DigitalLearningSolutions.Data.Tests.DataServices { using System; using System.Linq; using System.Transactions; using DigitalLearningSolutions.Data...
02.Extented Fundamentals/33.STRINGS AND TEXT PROCESSING - MORE EXERCISES/08.01 Nilapdromes/Program.cs
Tuscann/Programming-Fundamentals-1
20
7038064
using System; public class Program { public static void Main() // 100/100 { string word = Console.ReadLine().ToLower(); while (word != "end") { string frontBorder = string.Empty; string backBorder = string.Empty; string border = string.Empty; ...
LNF.Impl/Repository/Billing/MiscBillingCharge.cs
lurienanofab/lnf
1
7038065
using LNF.Billing; using LNF.DataAccess; using System; namespace LNF.Impl.Repository.Billing { public class MiscBillingCharge : IMiscBillingCharge, IDataItem { public virtual int ExpID { get; set; } public virtual int ClientID { get; set; } public virtual int AccountID { get; set; } ...
DaocClientLib/Craft/CraftDataRecipe.cs
firesgc/DaocClientLib
3
7038066
/* * DaocClientLib - Dark Age of Camelot Setup Ressources Wrapper * * The MIT License (MIT) * * Copyright (c) 2015 dol-leodagan * * 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 ...
Framework/Adxstudio.Xrm/Category/IRelatedArticle.cs
hhnguyen/xRM-Portals-Community-Edition
117
7038067
/* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. */ namespace Adxstudio.Xrm.Category { /// <summary> /// Related Article Interface /// </summary> public interface IRelatedArticle { /...
aliyun-net-sdk-emr/Emr/Transform/V20160408/ListClusterOperationHostResponseUnmarshaller.cs
awei1688/aliyun-openapi-net-sdk
572
7038069
/* * 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 (the * "License"); you ...
ModernHistory/Fhr.ModernHistory.Services/IHistoryEventService.cs
FanHuaRan/ModernHistory.Refactor
0
7038070
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Fhr.ModernHistory.Dtos; using Fhr.ModernHistory.Dtos.SearchModels; namespace Fhr.ModernHistory.Services { /// <summary> /// HistoryEvent服务借口 /// 2017/07/02 fhr ...
taglib-sharp/tests/fixtures/TagLib.Tests.Images/InvalidIFDEntryTypeTest.cs
Hadryan/Qabuze
2
7038071
<filename>taglib-sharp/tests/fixtures/TagLib.Tests.Images/InvalidIFDEntryTypeTest.cs using System; using NUnit.Framework; using TagLib.IFD; using TagLib.IFD.Entries; using TagLib.IFD.Tags; using TagLib.Xmp; using TagLib.Tests.Images.Validators; namespace TagLib.Tests.Images { [TestFixture] public class InvalidIFDEnt...
Samples/GameOfDeath/Tests/ItemTests.cs
HLSW/DeltaEngine
81
7038072
using DeltaEngine.Datatypes; using DeltaEngine.Input; using DeltaEngine.Input.Mocks; using DeltaEngine.Platforms; using GameOfDeath.Items; using NUnit.Framework; namespace GameOfDeath.Tests { internal class ItemTests : TestWithMocksOrVisually { [SetUp] public void PrepareUI() { userInterface ...
Views/Home/Index.cshtml
jeffsky/MediMatch
0
7038073
@{ ViewData["Title"] = "Home Page"; } <div id="myCarousel" class="carousel slide" data-ride="carousel" data-interval="6000"> <ol class="carousel-indicators"> <li data-target="#myCarousel" data-slide-to="0" class="active"></li> <li data-target="#myCarousel" data-slide-to="1"></li> <li d...
Samples/WebSocketSample/MessageFunction/Function.cs
spencerkittleson/LambdaSharpTool
0
7038074
<gh_stars>0 /* * LambdaSharp (λ#) * Copyright (C) 2018-2019 * lambdasharp.net * * 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 * *...
Gaming/Game/DataViewGraph.cs
gregory-diaz/agg-sharp
0
7038075
<gh_stars>0 using Gaming.Core; using MatterHackers.Agg; using MatterHackers.Agg.VertexSource; using MatterHackers.VectorMath; using System; using System.Collections.Generic; namespace Gaming.Game { public class DataViewGraph { private RGBA_Floats SentDataLineColor = new RGBA_Floats(200, 200, 0); private RGBA_Flo...
Component1.cs
c-anoop/cafemanager
0
7038076
<filename>Component1.cs using System; using System.ComponentModel; using System.Collections; using System.Diagnostics; namespace CafeManager { /// <summary> /// Summary description for Component1. /// </summary> public class Component1 : System.ComponentModel.Component { /// <summary> /// Required designer va...
SimpleRSSLiveTile/FeedReader.xaml.cs
Difegue/SimpleRSSLiveTile
10
7038077
<filename>SimpleRSSLiveTile/FeedReader.xaml.cs using HtmlAgilityPack; using RSSDataTypes.Data; using SimpleRSSLiveTile.ViewModels; using System; using System.Collections.Generic; using System.Linq; using Windows.ApplicationModel.Core; using Windows.UI; using Windows.UI.ViewManagement; using Windows.UI.Xaml; using Wind...
src/Stump.DofusProtocol/Messages/Messages/Connection/IdentificationMessage.cs
Daymortel/Stump
2
7038078
namespace Stump.DofusProtocol.Messages { using System; using System.Linq; using System.Text; using Stump.DofusProtocol.Types; using System.Collections.Generic; using Stump.Core.IO; [Serializable] public class IdentificationMessage : Message { public const uint Id = 4; ...
src/NHSD.BuyingCatalogue.Solutions.API/ViewModels/ClientApplications/NativeMobile/UpdateNativeMobileConnectionDetailsViewModel.cs
nhs-digital-gp-it-futures/BuyingCatalogueService
2
7038079
<filename>src/NHSD.BuyingCatalogue.Solutions.API/ViewModels/ClientApplications/NativeMobile/UpdateNativeMobileConnectionDetailsViewModel.cs using System.Collections.Generic; using Newtonsoft.Json; using NHSD.BuyingCatalogue.Solutions.Contracts.Commands.NativeMobile; namespace NHSD.BuyingCatalogue.Solutions.API.ViewMod...
src/Zsharp.Elysium.Tests/PropertyIdTests.cs
firoorg/zsharp
2
7038080
using System; using Xunit; namespace Zsharp.Elysium.Tests { public sealed class PropertyIdTests { readonly PropertyId subject; public PropertyIdTests() { this.subject = new PropertyId(1); } [Theory] [InlineData(-1L)] [InlineData(0L)] ...
src/DotNetCore/ChloeDemo/MySqlConnectionFactory.cs
netcore-jroger/Chloe
86
7038081
using Chloe.Infrastructure; using MySql.Data.MySqlClient; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ChloeDemo { public class MySqlConnectionFactory : IDbConnectionFactory { string _connString = null;...
csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.AspNetCore.Antiforgery.cs
timoles/codeql
4,036
7038082
// This file contains auto-generated code. namespace Microsoft { namespace AspNetCore { namespace Antiforgery { // Generated from `Microsoft.AspNetCore.Antiforgery.AntiforgeryOptions` in `Microsoft.AspNetCore.Antiforgery, Version=5.0.0.0, Culture=neutral, PublicKeyToken=<KEY>` ...
test/Benchmarks/Serialization/Models/Orleans/GrainIdKeyExtensions.cs
linluxiang/orleans
228
7038083
using System; using System.Buffers.Text; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Text; namespace FakeFx.Runtime { /// <summary> /// Extensions for <see cref="GrainId"/> keys. /// </summary> public static class GrainIdKeyExtensions { /// <summary> ...
src/Microsoft.TemplateEngine.TemplateLocalizer/Commands/Export/ExportCommandArgs.cs
isabella232/templating-2
1,247
7038084
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.TemplateEngine.TemplateLocalizer.Commands.Export { /// <summary> /// Model class representing the arguments of <see cref="ExportCommand"/>. /// </sum...
Assets/UnityCloudData/Utilities/WWWUtility.cs
psht410/SmashGMS
1
7038086
<gh_stars>1-10 using UnityEngine; using System.Collections; using System.Collections.Generic; namespace UnityCloudData { public class WWWUtility : MonoBehaviour { public delegate void WWWCallback(WWWUtility utility); protected WWW m_Request; protected WWWCallback m_Callback; prot...
archive/Changesets/mbf-76446/V1/MBF/MBF/Algorithms/Assembly/PaDeNA/ILowCoverageContigPurger.cs
jdm7dv/Microsoft-Biology-Foundation
0
7038087
<gh_stars>0 // ***************************************************************** // Copyright (c) Microsoft. All rights reserved. // This code is licensed under the Microsoft Public License. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMP...
LiczbyNaSlowaNET_Testy/PolishDictionary/MergeTests.cs
przemekwa/LiczbyNaSlowaNET
12
7038088
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Text; using LiczbyNaSlowaNET; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace LiczbyNaSlowaNET_Testy.PolishDictionary { [TestClass] public class MergeTests { [TestMethod] public v...
Projects/Aero.Cake/AeroCakeBindings.cs
devlead/Aero
0
7038089
<gh_stars>0 using Aero.Cake.CupCakes; using Aero.Cake.Services; using Microsoft.Extensions.DependencyInjection; namespace Aero.Cake { public static class AeroCommonCakeBindings { public static void Bind(IServiceCollection services) { //Logging is the decision of the consumer ...
ProductSellingWorkflow.Common/Core/Roles.cs
ysopila/ProductSellingWorkflow
1
7038090
<filename>ProductSellingWorkflow.Common/Core/Roles.cs namespace ProductSellingWorkflow.Common.Core { public class Roles { public const string Admin = "Admin"; public const string Seller = "Seller"; public const string Buyer = "Buyer"; } }
PhysicsObject.cs
HaKDMoDz/XnaGameLib
1
7038091
<reponame>HaKDMoDz/XnaGameLib<filename>PhysicsObject.cs using System; using System.Diagnostics; using Microsoft.Xna.Framework; namespace XnaGameLib { public class PhysicsObject : IUpdatable { private Vector2 _position; private Vector2 _acceleration; private float _angularAcceleration; ...
src/Protocol/Models/HoverParams.cs
kamit9171/csharp-language-server-protocol
0
7038092
<gh_stars>0 using MediatR; using OmniSharp.Extensions.JsonRpc; namespace OmniSharp.Extensions.LanguageServer.Protocol.Models { [Method(TextDocumentNames.Hover, Direction.ClientToServer)] public class HoverParams : WorkDoneTextDocumentPositionParams, IRequest<Hover>, IWorkDoneProgressParams { } }
src/GlobalExceptionHandler/WebApi/HandlerContext.cs
devbrsa/GlobalExceptionHandlerDotNet
0
7038093
using System.Net; namespace GlobalExceptionHandler.WebApi { public class HandlerContext { public string ContentType { get; set; } public HttpStatusCode StatusCode { get; set; } } }
Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla30651.cs
om2804/Xamarin.Forms
1
7038094
<filename>Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Bugzilla30651.cs<gh_stars>1-10 using System; using Xamarin.Forms.CustomAttributes; using System.Collections.ObjectModel; using System.Linq; using Xamarin.Forms.Internals; namespace Xamarin.Forms.Controls { [Preserve (AllMembers = true)] [I...
src/BAYSOFT.Core.Application/StockWallet/Samples/Commands/DeleteSample/DeleteSampleCommandHandler.cs
BAYSOFT-001/baysoft-stockwallet
0
7038095
<reponame>BAYSOFT-001/baysoft-stockwallet<filename>src/BAYSOFT.Core.Application/StockWallet/Samples/Commands/DeleteSample/DeleteSampleCommandHandler.cs using MediatR; using Microsoft.EntityFrameworkCore; using BAYSOFT.Core.Domain.Interfaces.Infrastructures.Data.Contexts; using System; using System.Threading; using Syst...
Sharit/Sharit/Extensions/EntityBaseExtension.cs
toni90acg/Sharit
0
7038096
using Sharit.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sharit.Extensions { public static class EntityBaseExtension { public static string GetUrl(this EntityBase entity) { return ""; ...
spec/csharp/kaitai_struct_csharp_tests/tests/SpecExprIoEof.cs
cherue/kaitai_struct_tests
0
7038097
<reponame>cherue/kaitai_struct_tests<filename>spec/csharp/kaitai_struct_csharp_tests/tests/SpecExprIoEof.cs using NUnit.Framework; namespace Kaitai { [TestFixture] public class SpecExprIoEof : CommonSpec { [Test] public void TestExprIoEof() { var r = ExprIoEof.FromFile(S...
source/Classes/Exceptions/UnhandledMySqlTypeException.cs
mysql/mysql-for-excel
40
7038098
// Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License as // published by the Free Software Foundation; version 2 of the // License. // // This program is distrib...
src/Umbraco.Core/Cache/CacheKeys.cs
ismailmayat/Umbraco-CMS
0
7038099
using System; using System.ComponentModel; using Umbraco.Core.CodeAnnotations; namespace Umbraco.Core.Cache { /// <summary> /// Constants storing cache keys used in caching /// </summary> public static class CacheKeys { public const string ApplicationTreeCacheKey = "ApplicationT...
Generics - Exercise/08. Threeuple/Threeuple.cs
A-Manev/SoftUni-Courses-2019-2020
3
7038100
<reponame>A-Manev/SoftUni-Courses-2019-2020 namespace Threeuple { public class Threeuple<TFirst, TSecond, TThird> { public Threeuple(TFirst firstItem, TSecond secondItem, TThird thirdItem) { this.FirstItem = firstItem; this.SecondItem = secondItem; this.Third...
AppMo/AppMo/auxiliary/alldb.cs
nushtosh/nazachet
0
7038101
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Data.SqlClient; namespace AppMo { public class alldb { public dictionaries Dict = new dictionaries(); public void CreateDB() { Dict.CreateAll(); ...
Application/EdFi.Ods.Common/Serialization/Iso8601UtcDateOnlyConverter.cs
AxelMarquez/Ed-Fi-ODS
13
7038102
<reponame>AxelMarquez/Ed-Fi-ODS // SPDX-License-Identifier: Apache-2.0 // Licensed to the Ed-Fi Alliance under one or more agreements. // The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0. // See the LICENSE and NOTICES files in the project root for more information. using System; usi...
unity-sample-app/Assets/MoPub/Sample/Delight/Content/Views/UI/ExpanderContent.cs
JunGroupProductions/mopub-unity-sdk
69
7038103
#region Using Statements using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; #endregion namespace Delight { /// <summary> /// Defines the content of an expander. /// </summary> publ...
src/Tello.Simulator/Messaging/Transmitter.cs
marklauter/TelloAPI-SDK-2.0
19
7038104
<gh_stars>10-100 // <copyright file="Transmitter.cs" company="<NAME>"> // Copyright (c) <NAME>. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // </copyright> using System; using System.Threading.Tasks; using Messenger.Simulator; namespace T...
Asterisk.2013/Asterisk.NET/Manager/Event/DialEvent.cs
timapple/AsterNET
127
7038105
namespace AsterNET.Manager.Event { /// <summary> /// A dial event is triggered whenever a phone attempts to dial someone.<br/> /// This event is implemented in apps/app_dial.c.<br/> /// Available since Asterisk 1.2. /// </summary> public class DialEvent : ManagerEvent { private string subEvent; pri...
CrmSystem.Domain/Models/Employee.cs
eabasquliyev/CRMSystem
1
7038106
using System; using System.Collections.Generic; namespace CrmSystem.Domain.Models { public class Employee : BaseEmployee { public string Password { get; set; } public override void Update(BaseEmployee employee) { base.Update(employee); var e = employee as Empl...
scripts/Grid/GridManager.cs
ThomasGITH/Tower-Defense-Game
0
7038107
using System.Collections; using System.Collections.Generic; using UnityEngine; public class GridManager : MonoBehaviour { public Grid grid; public GameObject tile, waypointGO; public Sprite path, grass; public Vector2[] waypointList; void Start () { tile.GetComponent<SpriteR...
src/Postgres/PostgreSqlOrderedQuerableProvider.cs
GeirGrusom/daemos
3
7038108
<filename>src/Postgres/PostgreSqlOrderedQuerableProvider.cs // This file is licensed under the MIT open source license // https://opensource.org/licenses/MIT namespace Daemos.Postgres { using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Linq.E...
Service/PrismaWEB.MVC/Controllers/LogradourosController.cs
LeonardoVanelli/ControleMesadaServer
0
7038109
using System.Collections.Generic; using System.Web.Mvc; using AutoMapper; using ProjetoModeloDDD.Application.Interface; using ProjetoModeloDDD.Domain.Entities; using ProjetoModeloDDD.MVC.ViewModels; namespace ProjetoModeloDDD.MVC.Controllers { public class LogradourosController : Controller { ...
Urchin.Server.Shared/Rules/ClientCredentialsDto.cs
rastignacc/Urchin
4
7038110
using System; using Newtonsoft.Json; using Urchin.Server.Shared.Interfaces; namespace Urchin.Server.Shared.Rules { public class ClientCredentialsDto: IClientCredentials { [JsonProperty("ip")] public string IpAddress { get; set; } [JsonProperty("admin")] public bool...
Packets/Out/PacketPlayerKey.cs
EuadeLuxe/MessageLib
2
7038111
<filename>Packets/Out/PacketPlayerKey.cs namespace MessageLib.Packets.Out { public class PacketPlayerKey : IOutboundPacket { private string messageType; public enum KeyColor { RED, GREEN, BLUE, CYAN, MAGENTA, YELLO...
src/Platformus.ECommerce.Backend/Areas/Backend/ViewModels/OrderStates/CreateOrEdit/CreateOrEditViewModelMapper.cs
5118234/Platformus
0
7038112
// Copyright © 2018 <NAME>. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Platformus.Barebone; using Platformus.ECommerce.Data.Abstractions; using Platformus.ECommerce.Data.Entities; using Platformus.Globalization.Backend.Vie...
Assets/Scripts/EventInvokationKeyCode.cs
digitaldthg/BHT-VR-LetThereBeLight
0
7038113
<filename>Assets/Scripts/EventInvokationKeyCode.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; public class EventInvokationKeyCode : MonoBehaviour { public bool EventInvokationKeyCodeActive = true; public KeyCode ActivationKey; [Space(5...
Platformer2d_Ylz8402/Assets/_GameFolders/Scripts/Concretes/Controllers/PlayerController.cs
berkterek/Platformer2D__Yzl8402
0
7038114
<reponame>berkterek/Platformer2D__Yzl8402 using Platformer2d.Abstracts.Animations; using Platformer2d.Abstracts.Combats; using Platformer2d.Abstracts.Controllers; using Platformer2d.Abstracts.DataContainers; using Platformer2d.Abstracts.Inputs; using Platformer2d.Abstracts.Movements; using Platformer2d.Animations; usin...
src/Microsoft.SqlTools.CoreServices/Connection/ReliableConnection/RetryState.cs
Thomas-S-B/sqltoolsservice
176
7038115
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // using System; namespace Microsoft.SqlTools.CoreServices.Connection.ReliableConnection { internal class RetryState { private int _retryCount = 0;...
ConnectFour.WpfClient.Tests/BoardMock.cs
feO2x/ConnectFour
3
7038116
<filename>ConnectFour.WpfClient.Tests/BoardMock.cs<gh_stars>1-10 using ConnectFour.Core; using System; using System.Collections.Generic; namespace ConnectFour.WpfClient.Tests { public class BoardMock : IBoard { public IReadOnlyList<ICell> Cells { get { throw new NotSuppor...
LabelDesigner/FormCustomZoomFactor.Designer.cs
mvendert/LabelPrint
12
7038117
namespace LabelDesigner { partial class FormCustomZoomFactor { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
src/OpenCvSharp/PInvoke/NativeMethods/video/NativeMethods_video_tracking.cs
AnsonYanxin/opencvsharp
0
7038118
using System; using System.Diagnostics.Contracts; using System.Runtime.InteropServices; #pragma warning disable 1591 #pragma warning disable CA1401 // P/Invokes should not be visible #pragma warning disable IDE1006 // Naming style namespace OpenCvSharp { static partial class NativeMethods { [Pure, Dl...
SteamCondenser/Steam/Community/SteamID.cs
txdv/steam-condenser-csharp
0
7038119
<reponame>txdv/steam-condenser-csharp<filename>SteamCondenser/Steam/Community/SteamID.cs using System; using System.IO; using System.Net; using System.Xml; using System.Collections.Generic; using System.Text.RegularExpressions; namespace SteamCondenser.Steam.Community { /// <summary> /// The SteamID class represents...
WorkflowManager.cs
grammophone/Grammophone.Domos.Logic
1
7038120
using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; using Grammophone.Caching; using Grammophone.Domos.AccessChecking; using Grammophone.Domos.DataAccess; using Grammophone.Domos.Domain; using Grammophone.Domos.Domain.Workflow; u...
src/Quarrel/Converters/Profile/Relationships/RelationToAddFriendConverter.cs
UWPCommunity/Quarrel
343
7038121
// Copyright (c) Quarrel. All rights reserved. namespace Quarrel.Converters.Profile.Relationships { /// <summary> /// A converter that returns true if the user has no relation status. /// </summary> public sealed class RelationToAddFriendConverter { /// <summary> /// Gets whether o...
Source/Core/CodeBrix.Core/Services/IPhotoService.cs
ellisnet/CodeBrix
1
7038122
/* Copyright 2018 Ellisnet - <NAME> (<EMAIL>) 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...