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
sample-hybrid-application/Northwind.Insurance.Website/Migrations/20170705101701_InitialCreate.cs
jlopezpa/AzureStack-QuickStart-Templates
533
7027950
using System; using System.Collections.Generic; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Metadata; namespace Northwind.Insurance.Website.Migrations { public partial class InitialCreate : Migration { protected override void Up(MigrationBuilder migrationBuilder...
aliyun-net-sdk-emr/Emr/Model/V20160408/DescribeUserStatisticsResponse.cs
sdk-team/aliyun-openapi-net-sdk
1
7027951
<filename>aliyun-net-sdk-emr/Emr/Model/V20160408/DescribeUserStatisticsResponse.cs /* * 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...
Apps/B2CMultiTenant/B2CMultiTenant/Controllers/MembersController.cs
lehne/b2csamples
0
7027952
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; using B2CMultiTenant.Models; using Microsoft.AspNetCore.Authorization; using B2CMultiTenant.Extensions; using N...
src/CrystalQuartz.Application.Tests/Commands/Serialization/TypeSerializerTests.cs
ly303550688/CrystalQuartz
831
7027953
namespace CrystalQuartz.Application.Tests.Commands.Serialization { using System; using CrystalQuartz.Application.Comands.Serialization; using NUnit.Framework; [TestFixture] public class TypeSerializerTests : SerializerTestsBase<Type, TypeSerializer> { [Test] public void NestedC...
src/JsonCryption.System.Text.Json/Converters/EncryptedConverterFactory.cs
Burwin/JsonCryption
3
7027955
<reponame>Burwin/JsonCryption using Microsoft.AspNetCore.DataProtection; using System.Text.Json; using System.Text.Json.Serialization; namespace JsonCryption.Converters { internal abstract class EncryptedConverterFactory : JsonConverterFactory { protected readonly IDataProtectionProvider _dataProtecti...
C#2/Exams/C#Part2-11-February-2013/11Feb2013/5.ThreeInOne/ThreeInOne.cs
Ico093/TelerikAcademy
0
7027956
using System; using System.Collections.Generic; class ThreeInOne { static void Main() { string[] numbersStr = Console.ReadLine().Split(','); int maxScoreWiner = 0; int winners = 0; int index = -1; for (int i = 0; i < numbersStr.Length; i++) { int num...
src/aspCart.Web/Areas/Admin/Views/Shared/_LeftMenu.cshtml
workingrom/aspCart
0
7027957
@using Microsoft.AspNetCore.Identity @inject UserManager<ApplicationUser> UserManager <aside class="main-sidebar"> <!-- sidebar: style can be found in sidebar.less --> <section class="sidebar"> <!-- Sidebar user panel (optional) --> <div class="user-panel"> <div class="pull-left im...
Server/Model/Module/Numeric/NumericChangeEvent_NotifyWatcher.cs
naivetang/ET_Tank
19
7027958
<filename>Server/Model/Module/Numeric/NumericChangeEvent_NotifyWatcher.cs namespace ETModel { // 分发数值监听 [Event(EventIdType.NumbericChange)] public class NumericChangeEvent_NotifyWatcher: AEvent<NumericType, long, long, NumericType> { public override void Run(NumericType a, long b, long c, NumericType d) ...
CurrencyConverter/CurrencyConverter.Api/Jobs/AssetsUpdateJob.cs
SemptraStar/Currency_Converter
0
7027959
using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; using CurrencyConverter.Api.Interfaces; using CurrencyConverter.Data; using CurrencyConverter.Data.Models.DataModels; using Microsoft.EntityFrameworkCore; using Newtonsoft.Json.Linq; namespace ...
src/MonoDevelop.PackageManagement/MonoDevelop.PackageManagement/ProcessPackageAction.cs
baulig/monodevelop-nuget-addin
0
7027960
// // ProcessPackageActions.cs // // Author: // <NAME> <<EMAIL>> // // Copyright (C) 2012 <NAME> // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, in...
Source/Ais.Internal.Dcm/Ais.Internal.Dcm.WebV2/Models/UserModel.cs
AppliedIS/wams-manager
1
7027961
namespace Ais.Internal.Dcm.Web.Models { public class UserModel { public string Username { get; set; } public bool IsAdmin { get; set; } public bool IsActive { get; set; } public bool EditNotAllowed { get; set; } } }
src/CFG.Web/Controllers/Api/ClasificadorController.cs
Leandro-Tonello/clasificador-figuras-geometricas
0
7027963
<gh_stars>0 using CFG.Common.Modelos.Resultados; using Microsoft.AspNetCore.Mvc; using puerta_de_ingreso; using puerta_de_ingreso.Mediciones; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; // For more information on enabling Web API for empty projects, visit https://g...
PopularNetLibraries/MediatR/CQRSMediatorTest.cs
bogdanpolak/popular-net-libraries
0
7027964
using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Threading; using System.Threading.Tasks; using MediatR; using Xunit; namespace PopularNetLibraries.MediatR { public class CqrsMediatorTest { public CqrsMediatorTest() { Domain.InitOrders(); } ...
WCFLoadUI/Converters/DateTimeTextFieldVisibilityValueConverter.cs
lokeshlal/WCFLoadUI
11
7027965
<filename>WCFLoadUI/Converters/DateTimeTextFieldVisibilityValueConverter.cs #region File Information/History // <copyright file="DateTimeTextFieldVisibilityValueConverter.cs" project="WCFLoadUI" > // Copyright (c) 2015 All Rights Reserved // </copyright> // <author><NAME></author> // <date>08/19/2015</date> // <histor...
Tic-Tac-Toe/Form1.Designer.cs
miniprime1/tic-tac-toe
0
7027966
namespace Tic_Tac_Toe { partial class Form1 { /// <summary> /// 필수 디자이너 변수입니다. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// 사용 중인 모든 리소스를 정리합니다. /// </summary> /// <param name="disposing...
pocketpc/PubNub-Messaging/NUnitLite-0.2.0/src/NUnitLiteTests/Framework/AssertionExceptionTests.cs
redarrowlabs/pubnub-c-sharp
0
7027967
<filename>pocketpc/PubNub-Messaging/NUnitLite-0.2.0/src/NUnitLiteTests/Framework/AssertionExceptionTests.cs // ***************************************************** // Copyright 2007, <NAME> // // Licensed under the Open Software License version 3.0 // ***************************************************** using System...
VisualStudio/ProjectPackage/WPF/XSharpEventBindingProvider.cs
orangesocks/XSharpPublic
73
7027968
// // Copyright (c) XSharp B.V. 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.CodeDom; using System.Collections.Generic; using System.Drawing; using System.Globalization; using System.Text.Regul...
src/backend/CSharpWars/CSharpWars.Web/Views/Home/Play.cshtml
NickMOrlando/CSharpWars-CodeMash-2020
1
7027969
@model GameViewModel @{ ViewData["Title"] = "CSharpWars"; Layout = "~/Views/Shared/_Layout.cshtml"; } <div class="text-center"> <h1 class="display-4">Welcome @Model.PlayerName</h1> <h5>This page gives you a starting point for playing CSharpWars. You can find two buttons: one to play with a script fro...
src/Hardliner/Screens/Game/LevelObject.cs
nilllzz/Hardliner
0
7027970
using System; using Hardliner.Engine.Rendering; using Hardliner.Engine.Rendering.Geometry; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace Hardliner.Screens.Game { internal abstract class LevelObject : Base3DObject<VertexInput>, IComparable { protected readonly Level _...
src/Plugin.Geofence/GeofenceTransitionsIntentService.android.cs
Westat-Transportation/GeofencePlugin
39
7027971
<reponame>Westat-Transportation/GeofencePlugin<gh_stars>10-100 using Android.App; using Android.Content; using Android.Media; using Android.OS; using Android.Support.V4.App; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Plugin.Geofence { ...
tests/Test.OneDrive.Sdk.Authentication.Desktop/Mocks/MockAuthenticationResult.cs
Mogikan/onedrive-sdk-dotnet-msa-auth-adapter
24
7027972
// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ ...
src/cms/Vs.Cms.Core/Objects/Interfaces/ICultureContentContainer.cs
sjefvanleeuwen/morstead
4
7027973
using System.Collections.Generic; using System.Globalization; namespace Vs.Cms.Core.Objects.Interfaces { public interface ICultureContentContainer { public Dictionary<CultureInfo, ICultureContent> Content { get; } void Add(CultureInfo cultureInfo, ICultureContent cultureContent); voi...
src/JsonRpc/NoopResponseRouter.cs
david-driscoll/csharp-language-server-protocol
2
7027976
<reponame>david-driscoll/csharp-language-server-protocol using System.Diagnostics.CodeAnalysis; using System.Threading; using System.Threading.Tasks; using MediatR; using Newtonsoft.Json.Linq; namespace OmniSharp.Extensions.JsonRpc { /// <summary> /// Used top ensure noop behaviors don't throw if they consume...
FileEtl/FileEtl/FileReaders/DataTableCreator.cs
Patrickkk/Tests
1
7027977
<gh_stars>1-10 using System.Collections.Generic; using System.Data; using FileEtl.FileReaders.DataTableSetup; namespace FileEtl.FileReaders { public class DataTableCreator { public static DataSet CreateDataSetForConfig(IDataTableConfig config) { var dataset = new DataSet(); ...
server/src/Controllers/Api/RoundController.cs
fmbq/hub
0
7027978
<gh_stars>0 using System; using System.Threading.Tasks; using FMBQ.Hub.Auth; using FMBQ.Hub.Models; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using NSwag.Annotations; namespace FMBQ.Hub.Controllers.Api { [Route("/api/rounds")] [OpenApiTag("rounds")] public class RoundController : Con...
tests/Pubs.UnitTests.Persistence/Repositories/EmployeeRepositoryTests.cs
theMickster/pubs
0
7027979
<reponame>theMickster/pubs<filename>tests/Pubs.UnitTests.Persistence/Repositories/EmployeeRepositoryTests.cs using FluentAssertions; using FluentAssertions.Execution; using Pubs.CoreDomain.Entities; using Pubs.Infrastructure.Persistence.Repositories; using Pubs.SharedKernel.Tests.Constants; using Pubs.UnitTests.Persis...
src/Silkroad.Network/RemoteDisconnectedException.cs
BaroDevelopment/Silkroad.Net
1
7027980
<reponame>BaroDevelopment/Silkroad.Net namespace Silkroad.Network { public class RemoteDisconnectedException : Exception { public override string Message => "You have been disconnected, The connection was forcibly closed by the remote."; } }
LyricsMatch/CommentPage.cs
draganako/LyricsMatch
0
7027981
<gh_stars>0 using LyricsMatch.Models; 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 LyricsMatch { public partial class CommentPage : For...
Commands/Graph/RemoveSiteClassification.cs
kilasuit/PnP-PowerShell
2
7027982
#if !ONPREMISES using SharePointPnP.PowerShell.CmdletHelpAttributes; using SharePointPnP.PowerShell.Commands.Base; using System; using System.Collections.Generic; using System.Linq; using System.Management.Automation; using System.Text; using System.Threading.Tasks; namespace SharePointPnP.PowerShell.Commands.Graph {...
PartyBot/Handlers/JsonHandler.cs
CarrC2021/Party-Bot
0
7027983
<reponame>CarrC2021/Party-Bot using Discord; using Discord.WebSocket; using Newtonsoft.Json; using PartyBot.DataStructs; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Threading.Tasks; namespace PartyBot.Handlers { public class JsonHandler { ...
app/SearchApi/AgencyAdapter.Sample/Models/SearchRequest.cs
KyleKayfish/fams3
3
7027985
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace AgencyAdapter.Sample.Models { public class SearchRequest { /// <summary> /// /// </summary> [JsonProperty("@SchemaVersion")] public strin...
Scripts/SerialPort_MMBTS.cs
ebadier/NeurospecTriggerBox-Unity
2
7027986
<gh_stars>1-10 /****************************************************************************************************************************************************** * MIT License * * * * Copyright (c) 2021 * * <...
MuseosUCM/Assets/uAdventure/__Scripts/Core/Models/Chapter/Effects/PlayAnimationEffect.cs
JuegosSerios-UCM-Grupo2-20-21/MuseosUCM
1
7027987
<filename>MuseosUCM/Assets/uAdventure/__Scripts/Core/Models/Chapter/Effects/PlayAnimationEffect.cs<gh_stars>1-10 using UnityEngine; using System.Collections; namespace uAdventure.Core { /** * An effect that plays a sound */ public class PlayAnimationEffect : AbstractEffect { /** ...
Code/Internal/GameFlow/ITurnMachine.cs
Donatoz/HeartBeatInternal
0
7027989
<filename>Code/Internal/GameFlow/ITurnMachine.cs using System; namespace Metozis.Cardistry.Internal.GameFlow { public interface ITurnMachine { Player ActingPlayer { get; } Player NextPlayer { get; } void EndTurn(); Action<Player> OnPlayerTurnStart { get; set; } ...
Assets/Scripts/Paddle.cs
ZombieUnicornStudio/arkapongout
0
7027990
<filename>Assets/Scripts/Paddle.cs<gh_stars>0 using UnityEngine; public class Paddle : MonoBehaviour { public int lifes = 3; public AudioClip powerUpSound; [Range(0f, 40f)] public float speed = 20; public float minXpos = -15; public float maxXpos = 15; AudioSource audioSrc; void Awake () { audioSrc = Get...
src/ImageProcessorCore/Filters/ColorBlindness.cs
aerionTech/ImageProcessor
1
7027991
// <copyright file="ColorBlindness.cs" company="<NAME>"> // Copyright (c) <NAME> and contributors. // Licensed under the Apache License, Version 2.0. // </copyright>------------------------------------------------------------------------------------------------------------------- namespace ImageProcessorCore { us...
Octokit.Reactive/Clients/ObservableMergingClient.cs
ArsenShnurkov/octokit.net
3
7027992
<gh_stars>1-10 using System; using System.Reactive.Threading.Tasks; namespace Octokit.Reactive { public class ObservableMergingClient : IObservableMergingClient { readonly IMergingClient _client; public ObservableMergingClient(IGitHubClient client) { Ensure.ArgumentNotNull...
FileHelpers.Tests/Tests/Common/FixedEngine.cs
garfiedhuang/FileHelper
966
7027993
<reponame>garfiedhuang/FileHelper using NUnit.Framework; namespace FileHelpers.Tests.CommonTests { [TestFixture] public class FixedEngine { [Test] public void SimpleTest() { var engine = new FixedFileEngine<CustomersFixed>(); Assert.AreEqual(91, Fi...
Glimpse.Adomd/Messages/TransactionBeganMessage.cs
ogaudefroy/Glimpse.Adomd
1
7027994
<filename>Glimpse.Adomd/Messages/TransactionBeganMessage.cs<gh_stars>1-10 namespace Glimpse.Adomd.Messages { using System; using System.Data; /// <summary> /// Message published once transaction has began. /// </summary> public class TransactionBeganMessage : AdomdTransactionMessage ...
packages/Windows API Code Pack 1.1/source/Tests/ShellExtensionTests/PreviewHandlers/WinFormsPreviewHandlerSampleForm.cs
protechdm/CompareCloudware
1
7027995
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 ShellExtensionTests { public partial class WinFormsPreviewHandlerSampleForm : UserControl { public WinFormsP...
Assets/Editor/Generated/Black/AIGraph/LeafNode/AI/Action/Friend/AILeafNodeLookBeginInVehicle.generated.cs
Gurrimo/Luminaire
0
7027996
<gh_stars>0 //---------------------- // <auto-generated> // This file was automatically generated. Any changes to it will be lost if and when the file is regenerated. // </auto-generated> //---------------------- #pragma warning disable using System; using SQEX.Luminous.Core.Object; using System.Collections.Generic; u...
E3Series.Proxy/E3StructureNodeProxy.cs
alex-buraykin/E3Series.Proxy
1
7027997
using System.Linq; using E3Series.Proxy.Abstract; using E3Series.Proxy.Extensions; using E3Series.Proxy.Interfaces; namespace E3Series.Proxy { /// <summary> /// Proxy class (generated for E3.series 2015.1613) /// </summary> public sealed class E3StructureNodeProxy : E3ProxyBase, IAttributed { ...
Solution/InitialMargin/Engine.cs
TommasoBelluzzo/InitialMargin
4
7027998
<reponame>TommasoBelluzzo/InitialMargin #region Using Directives using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Reflection; using InitialMargin.Core; using InitialMargin.IO; using InitialMargin.Model; using InitialMargin.Schedule; #endregion na...
Core/Tracking/Entries/IChangeTrackingEntry.cs
dotlogix/DotlogixCore
0
7027999
// ================================================== // Copyright 2018(C) , DotLogix // File: IChangeTrackingEntry.cs // Author: <NAME> <<EMAIL>>. // Created: 17.02.2018 // LastEdited: 01.08.2018 // ================================================== #region using System.Collections.Generic; #endregion namespace...
Engine/extlibs/IosLibs/mono-2.6.7/mcs/class/System.Web/System.Web/HttpRuntime.cs
zlxy/Genesis-3D
0
7028000
<gh_stars>0 // // System.Web.HttpRuntime.cs // // Author: // <NAME> (<EMAIL>) // // // Copyright (C) 2005 Novell, Inc (http://www.novell.com) // // 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 So...
Resource/EnumTypes.Designer.cs
MehdiValinejad/industrytower
1
7028001
//------------------------------------------------------------------------------ // <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> //--...
src/CMS/CMSModules/WebAnalytics/Controls/SelectGraphType.ascx.cs
Kentico/xperience-module-intercom
1
7028002
<reponame>Kentico/xperience-module-intercom using System; using System.Collections.Generic; using CMS.Base.Web.UI; using CMS.UIControls; using CMS.WebAnalytics; public partial class CMSModules_WebAnalytics_Controls_SelectGraphType : CMSAdminControl { private HitsIntervalEnum? mSelectedValue; //...
StringAsSql.Tests/NamedParameterTests.cs
zspitz/StringAsSql
7
7028003
using System; using System.Collections.Generic; using System.Data.Common; using Xunit; using Xunit.Extensions.Ordering; namespace StringAsSql.Tests { public abstract class NamedParameterTests : BaseTests { public NamedParameterTests( BaseFixture fixture, string createTableSql, ...
13-Exam Preparation Part II/First Exam/ExamPrep/03-Message Sharing/Program.cs
KostadinovK/Algorithms
3
7028004
using System; using System.Collections.Generic; using System.Linq; public class Program { private static Dictionary<string, List<string>> socialNetwork; private static Dictionary<string, int> received; public static void Main() { string[] people = Console.ReadLine() .Substring(8) ...
WebApi/TubeMe.WebApi.Models/BindingModels/UsersRegisterBindingModel.cs
MomchilAngelovv/TubeMe
0
7028005
<reponame>MomchilAngelovv/TubeMe namespace TubeMe.WebApi.Models.BindingModels { using System.ComponentModel.DataAnnotations; public class UsersRegisterBindingModel { [Required] [EmailAddress] public string Email { get; set; } [Required] [MinLength(3)] publ...
grokking_algorithms/DataStructures/Stack.cs
ashergarland/grokking_algorithms
0
7028006
<filename>grokking_algorithms/DataStructures/Stack.cs using grokking_algorithms.DataStructures.Node; using System; using Utilities; namespace DataStructures { public class Stack<T> { private LinkedListNode<T> head; public Stack() { this.head = null; } ...
Insane/EntityFrameworkCore/CoreDbContextBase.cs
Satancito/InsaneDotnet
0
7028007
<filename>Insane/EntityFrameworkCore/CoreDbContextBase.cs using Insane.EntityFrameworkCore.MySql.Metadata.Internal; using Insane.EntityFrameworkCore.MySql.Migrations.Internal; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Micros...
Trivia.UI/EndOfThirdLevel.xaml.cs
Team-7-Quiz-Game/Quiz-Game
0
7028008
<filename>Trivia.UI/EndOfThirdLevel.xaml.cs using System.Windows.Controls; using Trivia.Core; using Trivia.Core.Contracts; namespace Trivia.UI { /// <summary> /// Interaction logic for EndOfThirdLevel.xaml /// </summary> public partial class EndOfThirdLevel : Page { private IEngine engine;...
MindLated/Protection/Arithmetic/Token.cs
Sato-Isolated/MindLated
228
7028009
using dnlib.DotNet.Emit; namespace MindLated.Protection.Arithmetic { public class Token { private readonly OpCode _opCode; private readonly object _operand; public Token(OpCode opCode, object operand) { _opCode = opCode; _operand = operand; } ...
src/Sigfox/Api/Devices/ViewModels/ReceiveInformation.cs
louislewis2/Sigfox
1
7028010
<filename>src/Sigfox/Api/Devices/ViewModels/ReceiveInformation.cs namespace Sigfox.Api.Devices.ViewModels { using Newtonsoft.Json; public class ReceiveInformation { #region Properties /// <summary> /// Name and Id of the base station which has received the message. /// </s...
Repo.DAL/Repositories/RoleRepository.cs
MaksHladki/Test.Repo
0
7028011
using System.Linq; using Repo.DAL.Context; using Repo.DAL.Infrastructure; using Repo.Model.Models; namespace Repo.DAL.Repositories { public interface IRoleRepository : IRepository<Role> { Role GetByName(string name); } public class RoleRepository: GenericRepository<Role>, IRoleRepository ...
Assets/Scripts/Player.cs
Chellapandi/Laser-Defender
0
7028012
using System.Collections; using UnityEngine; public class Player : MonoBehaviour { [Header("Player")] [SerializeField] float moveSpeed = 10f; [SerializeField] float padding = 1f; [SerializeField] int health = 100; [Header("Laser")] [SerializeField] GameObject playerLaser; [Ser...
Chapter9/FlixOne/FlixOne.InventoryManagementTests/InventoryCommandFactoryTests.cs
conquestcoding/Hands-On-Design-Patterns-with-C-and-.NET-Core
110
7028013
<filename>Chapter9/FlixOne/FlixOne.InventoryManagementTests/InventoryCommandFactoryTests.cs using System; using System.Collections.Generic; using FlixOne.InventoryManagement.Command; using FlixOne.InventoryManagement.Models; using FlixOne.InventoryManagementTests.Helpers; using Microsoft.VisualStudio.TestTools.UnitTest...
src/CMS/CMSModules/MediaLibrary/Tools/Library_Edit_General.aspx.cs
Kentico/xperience-module-intercom
1
7028014
using System; using CMS.MediaLibrary; using CMS.MediaLibrary.Web.UI; using CMS.UIControls; [EditedObject("media.library","objectid")] [UIElement("CMS.MediaLibrary", "General")] public partial class CMSModules_MediaLibrary_Tools_Library_Edit_General : CMSMediaLibraryPage { #region "Methods" ///...
PontoDigital/Views/Home/Index.cshtml
DiegoColmenero/PontoDigitalFinal
0
7028015
<gh_stars>0 @{ Layout = "_Layout"; } @{ Html.RenderPartial("_HeaderNavBar"); } <div class="banner"> <h1>CONTROLE E GESTÃO <br>DE FUNCIONÁRIOS<br> FICOU MAIS FÁCIL! <br>CONTRATE E<br> DESTAQUE-SE NO MEIO<br> EMPRESARIAL! </h1> </div> <section class="main"> <div c...
Mobile/Xamarin.Forms/SampleSync/SampleSync/SampleSync.Tizen.Mobile/Port/SampleSyncPort.cs
wiertel/Tizen-CSharp-Samples
217
7028016
<reponame>wiertel/Tizen-CSharp-Samples /* * Copyright (c) 2016 Samsung Electronics Co., Ltd * * Licensed under the Flora 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.apache.org/licenses/LICENSE-2....
WebApi/Web.Needsa/Web.Needsa/Models/Db/ArduinoStationVariables.cs
crowdhackathon-smartcity/needsa
2
7028017
using System; using System.ComponentModel.DataAnnotations.Schema; using Microsoft.AspNetCore.Authentication; using Web.Needsa.Models.Db.Abstract; namespace Web.Needsa.Models.Db { public class ArduinoStationVariable : Entity { public decimal ValueCaptured { get; set; } public DateTimeOffset Dat...
NARE.Application/Listing/Query/GetNewestListings/GetNewestListingsQueryHandler.cs
ReeceRose/NewAgeRealEstate
1
7028018
<gh_stars>1-10 using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using AutoMapper; using MediatR; using NARE.Application.Listing.Query.GetAllActiveListings; using NARE.Domain.Entities; namespace NARE.Application.Listing.Query.GetNewestListings { public clas...
Assets/Editor/Generated/Black/Sequence/Action/TimeLine/Camera/SequenceActionTimeLineCameraNewTrackKeyless.generated.cs
Gurrimo/Luminaire
0
7028019
//---------------------- // <auto-generated> // This file was automatically generated. Any changes to it will be lost if and when the file is regenerated. // </auto-generated> //---------------------- #pragma warning disable using System; using SQEX.Luminous.Core.Object; using System.Collections.Generic; using CodeDom...
Assets/Imported Assets/SteamAudio/MaterialPreset.cs
KevinNentwig/Udacity-VRHighImmersionDev-Capstone-AIShip
7
7028020
<filename>Assets/Imported Assets/SteamAudio/MaterialPreset.cs // // Copyright 2017 Valve Corporation. All rights reserved. Subject to the following license: // https://valvesoftware.github.io/steam-audio/license.html // namespace SteamAudio { // // MaterialPreset // An enumeration of all acoustic materia...
Editor/GameData/GameDataEditor.cs
agraris/com.agraris.core
0
7028021
<gh_stars>0 using UnityEditor; using System.Linq; using System.IO; namespace Agraris.Tools.Core { public class GameDataEditor : Editor { // [MenuItem("Agraris/Game Data/Save", false, 50)] static void SaveGameData() { GameData.Init(); GameData.Save(); } ...
Source/Metrology/ImperialUnits/Pound.cs
GEAviationSystems/metrology
0
7028022
<gh_stars>0 // GE Aviation Systems LLC licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using GEAviation.Metrology.MetricUnits; namespace GEAviation.Metrology.ImperialUnits { public sealed class Pound : ISimpleUnit { public ISimpleUnit...
ModernWpf.Controls/Repeater/SelectionModel/SelectionNode.cs
spartajet/ModernWpf
0
7028023
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. using System.Collections.Generic; using System.Collections.Specialized; using System.Diagnostics; namespace ModernWpf.Controls { internal enum SelectionState ...
comp4-rubikscube/RubiksCube/Quat.cs
davedissian/archive
0
7028024
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace RubiksCube { class Quat { public float s; public Vec3 v; public Quat() { s = 1.0f; v = new Vec3(0.0f, 0.0f, 0.0f); } public Quat(float _s, V...
src/Device.Net/DebugLogger.cs
boek/Device.Net
1
7028025
<filename>src/Device.Net/DebugLogger.cs using System; using System.Diagnostics; namespace Device.Net { public class DebugLogger : ILogger { public bool LogToConsole { get; set; } public void Log(string message, string region, Exception ex, LogLevel logLevel) { var formatte...
Prexonite/Commands/Core/Operators/UnaryOperatorBase.cs
chklauser/prx
0
7028026
// Prexonite // // Copyright (c) 2014, <NAME> // 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, /...
ALE-PcuTransferrer/Commands/GridCleanupCommands.cs
LordTylus/SE-Torch-Plugin-ALE-PcuTransferrer
6
7028027
using NLog; using Sandbox.Game.Entities; using Sandbox.Game.World; using System; using System.Collections.Generic; using System.Linq; using Torch.Commands; using Torch.Commands.Permissions; using VRage.Game.ModAPI; using ALE_Core.Utils; using Sandbox.Game; using Sandbox.Game.Entities.Cube; using ALE_Core.Cooldown; na...
src/WInterop.Desktop/Windows/Layout/EmptyLayout.cs
kant2002/WInterop
1
7028028
<filename>src/WInterop.Desktop/Windows/Layout/EmptyLayout.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.Drawing; namespace WInterop.Windows { public class EmptyLayout : ILayoutHandler { ...
tests/Perspex.Markup.UnitTests/Binding/ExpressionObserverTests_SetValue.cs
ForNeVeR/Avalonia
5
7028029
<filename>tests/Perspex.Markup.UnitTests/Binding/ExpressionObserverTests_SetValue.cs<gh_stars>1-10 // Copyright (c) The Perspex Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using System.Collections.Generic; using S...
UtilLib/Crypto/CryptoUtils.cs
myjiejie/amazondl
0
7028030
using Org.BouncyCastle.Crypto; using Org.BouncyCastle.Crypto.Engines; using Org.BouncyCastle.Crypto.Macs; using Org.BouncyCastle.Crypto.Parameters; using System.Security.Cryptography; namespace AmazonDL.UtilLib.Crypto { public class CryptoUtils { public static byte[] GetHMACSHA256Digest(byte...
JobFinder.Web/Controllers/CompanySubscriptionsController.cs
IvayloNikolov36/JobFinder
1
7028031
namespace JobFinder.Web.Controllers { using JobFinder.Services; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Security.Claims; using System.Threading.Tasks; [Authorize] public class CompanySubs...
Assets/Third Party/SO Architecture/Variables/Clamped/FloatClampedVariable.cs
DanielEverland/project-tuba-public
3
7028032
<reponame>DanielEverland/project-tuba-public using UnityEngine; [CreateAssetMenu( fileName = "FloatClampedVariable.asset", menuName = SOArchitecture_Utility.VARIABLE_CLAMPED_SUBMENU + "float", order = SOArchitecture_Utility.ASSET_MENU_ORDER_CLAMPED_VARIABLES + 0)] public class FloatClampedVariable : ...
OddEra.Bdd.AcceptanceTests/Personas/John.cs
BhavO/OddEra.Bdd
0
7028033
<gh_stars>0 namespace OddEra.Bdd.AcceptanceTests.Personas { public class John : ExampleAppUserBase { public override string Username { get { return "john"; }} public override string Password { get { return "<PASSWORD>"; } } } }
HearstMappingsEditor/Views/References/Hearst/DimAccount/Index.cshtml
zhuchenko-w/hearst-mappings-editor
0
7028034
<filename>HearstMappingsEditor/Views/References/Hearst/DimAccount/Index.cshtml @using HearstMappingsEditor.Models @using HearstMappingsEditor.Common @using HearstMappingsEditor.Data.Models @model ReferencesFilterableViewModel<DimAccount, DimAccountFilter> @{ ViewBag.Title = "DimAccount Reference"; var contro...
src/Services/Catalog/Catalog.API/Controllers/BrandsController.cs
ilkerogutcu/microservices-ecommerce
1
7028035
<filename>src/Services/Catalog/Catalog.API/Controllers/BrandsController.cs using System.Collections.Generic; using System.Threading.Tasks; using Catalog.Application.Dtos; using Catalog.Application.Features.Commands.Brands.CreateBrandCommand; using Catalog.Application.Features.Commands.Brands.DeleteBrandCommand; using ...
src/LiveCharts.Core/DataSeries/Series.cs
adospace/Live-Charts
0
7028036
<filename>src/LiveCharts.Core/DataSeries/Series.cs<gh_stars>0 #region License // The MIT License (MIT) // // Copyright (c) 2016 <NAME> & LiveCharts contributors // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"),...
Unity/Physics simulation/Assets/Scripts/ActionPerformer/BasePerformer.cs
DBubnovskyi/Physics-Unity
0
7028037
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; namespace Assets.Scripts.ActionPerformer { public class BasePerformer : MonoBehaviour { public delegate void EventHandler(); public virtual event EventHandler ...
SamplesCommon/SamplesCommon/ImageLoader/CircleSurface.cs
grazies/WindowsUIDevLabs
2
7028038
using Microsoft.Graphics.Canvas.UI.Composition; using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Text; using System.Threading.Tasks; using Windows.Foundation; using Windows.UI; using Windows.UI.Composition; namespace SamplesCommon.ImageLoader { public interfac...
MoneyDataType/CurrencyConverter.cs
microposmp/OrchardCore.Commerce
154
7028039
using System; using System.Text.Json; using System.Text.Json.Serialization; using Money.Abstractions; namespace Money.Serialization { internal class CurrencyConverter : JsonConverter<ICurrency> { public override ICurrency Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options...
src/demo/ScottPlot.Demo.WinForms/FormCookbook.Designer.cs
EFeru/ScottPlot
1,447
7028040
namespace ScottPlot.Demo.WinForms { partial class FormCookbook { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
FiroozehGameService/Core/ApiWebRequest/ApiRequest.cs
Narinashi/GameService-CSharp-Core
3
7028041
<reponame>Narinashi/GameService-CSharp-Core // <copyright file="ApiRequest.cs" company="Firoozeh Technology LTD"> // Copyright (C) 2019 Firoozeh Technology LTD. 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...
BarManagerApplication.Backend/src/BackendGestionaleBar.BusinessLayer/Services/IOrderService.cs
N1K0232/BarManagerApplication
1
7028042
<reponame>N1K0232/BarManagerApplication<filename>BarManagerApplication.Backend/src/BackendGestionaleBar.BusinessLayer/Services/IOrderService.cs<gh_stars>1-10 using BackendGestionaleBar.Shared.Models; using BackendGestionaleBar.Shared.Models.Requests; namespace BackendGestionaleBar.BusinessLayer.Services { public ...
Assets/Scripts/Environment/MiniMapCamera.cs
codingwatching/blox
1
7028043
<gh_stars>1-10 using Blox.PlayerNS; using UnityEngine; namespace Blox.EnvironmentNS { /// <summary> /// This component manages the minimap. /// </summary> public class MiniMapCamera : MonoBehaviour { /// <summary> /// An enumeration with the possible states of the minimap. ...
sdk/websites/Azure.ResourceManager.AppService/src/Generated/Models/HttpSettings.cs
AntonioVT/azure-sdk-for-net
3,268
7028044
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable namespace Azure.ResourceManager.AppService.Models { /// <summary> The configuration settings of the HTTP requests for authentication and authorization requests made against App S...
DataWings/DataMaintenance/IDataAccumulator.cs
sheitm/DataWings
1
7028045
namespace DataWings.DataMaintenance { /// <summary> /// An accumulator session is a construct that can be built up /// (accumulated) with any number of IDataAccumulatorBatch objects /// each containing data that should be written to the database /// </summary> public interface IDataAccumulatorS...
src/Test/Data/LightInject/RegisterAssembly.cs
SirDuke/AgentMulder
31
7028046
// Patterns: 2 // Matches: Foo.cs, Bar.cs // NotMatches: using System.Reflection; using LightInject; namespace TestApplication.LightInject { public class RegisterAssembly: ICompositionRoot { public RegisterAssembly() { var container = new ServiceContainer(); container...
Synopitc.CEF/ConsoleFormat/ConsoleFormatter.cs
ghstahl/CefSharp.MinimalExample.Riot
0
7028048
using System; using System.Linq; using System.Text.RegularExpressions; namespace Synoptic.ConsoleFormat { public class ConsoleFormatter { private readonly IConsoleWriter _consoleWriter; public ConsoleFormatter(IConsoleWriter consoleWriter) { _consoleWriter = consoleWriter;...
src/Sportradar.OddsFeed.SDK/Entities/REST/Internal/Caching/Events/SportEventStatusCI.cs
cclelio/UnifiedOddsSdkNetCore
13
7028049
<reponame>cclelio/UnifiedOddsSdkNetCore /* * Copyright (C) Sportradar AG. See LICENSE for full license governing this code */ using System; using System.Collections.Generic; using Sportradar.OddsFeed.SDK.Entities.REST.Enums; using Sportradar.OddsFeed.SDK.Entities.REST.Internal.DTO; using Sportradar.OddsFeed.SDK.Messag...
dotnet/test/Carbonfrost.UnitTests.Web.Dom/CompositeDomWriterTests.cs
Carbonfrost/f-web-dom
0
7028050
<filename>dotnet/test/Carbonfrost.UnitTests.Web.Dom/CompositeDomWriterTests.cs<gh_stars>0 // // Copyright 2016, 2020 Carbonfrost Systems, Inc. (https://carbonfrost.com) // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may ob...
Assets/MotionFramework/Scripts/Runtime/Module/Module.Console/ApplicationWindow.cs
ZensYue/MotionFramework
2
7028051
<gh_stars>1-10 //-------------------------------------------------- // Motion Framework // Copyright©2018-2020 何冠峰 // Licensed under the MIT license //-------------------------------------------------- using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Profiling; namespac...
archive/Changesets/mbf/Source/Framework/Bio/Algorithms/Alignment/IPairwiseSequenceAlignment.cs
jdm7dv/Microsoft-Biology-Foundation
137
7028052
<filename>archive/Changesets/mbf/Source/Framework/Bio/Algorithms/Alignment/IPairwiseSequenceAlignment.cs using System.Collections.Generic; namespace Bio.Algorithms.Alignment { /// <summary> /// An IPairwiseSequenceAlignment is the result of running a Pairwise alignment algorithm on a set /// of two seque...
projects/KOILib.Common.Log4/LoggerBase.cs
ymdn3/Snippets
0
7028053
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Text; using System.Threading.Tasks; using log4net; namespace KOILib.Common.Log4 { /// <summary> /// ログ出力規定クラス /// </summary> public abstract class LoggerBase { ...
Symbioz.Protocol/Messages/Messages/game/interactive/InteractiveUsedMessage.cs
CarlCochet/Symbioz
2
7028054
// Generated on 06/04/2015 18:44:48 using System; using System.Collections.Generic; using System.Linq; using Symbioz.DofusProtocol.Types; using Symbioz.Utils; namespace Symbioz.DofusProtocol.Messages { public class InteractiveUsedMessage : Message { public const ushort Id = 5745; public override u...
src/DaAPI.Infrastructure/FilterEngines/DHCPv6/SimpleDHCPv6FilterEngine.cs
just-the-benno/DaAPI
2
7028055
using DaAPI.Core.Common.DHCPv6; using DaAPI.Core.Packets.DHCPv6; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; namespace DaAPI.Infrastructure.FilterEngines.DHCPv6 { publ...
Source/Sugar/Net/DomainName.cs
comsechq/sugar
1
7028056
namespace Sugar.Net { /// <summary> /// Helper class to extract the domain name and subdomain from a domain name. /// </summary> public class DomainName { private readonly string domainName; /// <summary> /// Initializes a new instance of the <see cref="DomainName"/> class....