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
Keas.Mvc/Models/GroupModels/GroupIndexViewModel.cs
ucdavis/Keas
8
7042769
<reponame>ucdavis/Keas<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Keas.Core.Domain; namespace Keas.Mvc.Models.GroupModels { public class GroupIndexViewModel { public Group Group { get; set; } public IList<Gro...
CognitiveMinion/MinionRequest.cs
ops-ai/cognitive-minion
1
7042770
using System; using System.Collections.Generic; namespace CognitiveMinion { public class MinionRequest { /// <summary> /// Unique Id of the request /// </summary> public string Id { get; set; } /// <summary> /// The raw text of the request /// </summary...
Assets/Scripts/ActiveObjects/Skill/ToxicExplosion.cs
Sumrix/DAZVillage
0
7042771
using UnityEngine; using ActiveObjects.Triggers; using System.Linq; namespace ActiveObjects { namespace GameSkill { public class ToxicExplosion : Skill { [RequiredField] public DamageField DamageAura; public FieldTrigger FieldTrigger; ...
Amazon.KinesisTap.AWS/Serialization/PutRecordsRequestEntryComparer.cs
awslabs/kinesis-agent-windows
35
7042772
<reponame>awslabs/kinesis-agent-windows<filename>Amazon.KinesisTap.AWS/Serialization/PutRecordsRequestEntryComparer.cs /* * Copyright 2018 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 wi...
Assets/Scripts/UI/Component/InputClickHandler.cs
yotiky/ArchitecturePrototype
16
7042773
using HoloToolkit.Unity.InputModule; using System; using System.Collections; using System.Collections.Generic; using UniRx; using UnityEngine; namespace ArchitecturePrototype.UI.Component { public class InputClickHandler : MonoBehaviour, IInputClickHandler { private Subject<Unit> onClicked = new Subje...
netcore/tests/Koralium.SqlParser.Tests/StatementsEqualsTests.cs
rs-swc/Koralium
0
7042774
<filename>netcore/tests/Koralium.SqlParser.Tests/StatementsEqualsTests.cs using Koralium.SqlParser.Expressions; using Koralium.SqlParser.From; using Koralium.SqlParser.GroupBy; using Koralium.SqlParser.Literals; using Koralium.SqlParser.OrderBy; using Koralium.SqlParser.Statements; using NUnit.Framework; using System;...
tests/SuperCOOL.Tests/CoolTests/TestCase.cs
matcom-compilers-2019/cool-compiler-supercool
1
7042775
<reponame>matcom-compilers-2019/cool-compiler-supercool using SuperCOOL; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Net.Http.Headers; using System.Reflection.Metadata.Ecma335; using System.Text; namespace SuperCOOL.Tests.CoolTests { class TestCase ...
Patterns/Old/PatternsExamplesTests/B_StructuralTests/B_FacadeTests.cs
marlandolaud/presentations
1
7042776
// Copyright Information // ============================= // PatternsExamplesTests - B_FacadeTests.cs // All samples copyright <NAME> // http://www.skimedic.com 19/06/2017 // See License.txt for more information // ============================= using NUnit.Framework; using PatternsExamples.A_Creational.A_Singleton; us...
Kifreak.CommandPattern/Commands/BaseCommand.cs
kifreak/Kifreak.CommandPattern
0
7042777
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; using Kifreak.CommandPattern.Attributes; using Kifreak.CommandPattern.Helpers; using Kifreak.CommandPattern.Interfaces; using Kifreak.CommandPattern.Models; using Kifreak.CommandPattern.Output; na...
PrologWorkbench/Controls/VariableListUserControl.xaml.cs
rgtodd/Prolog
1
7042779
/* Copyright © 2010 <NAME>. * Licensed under the terms of the Microsoft Public License (Ms-PL). */ using System.ComponentModel; using System.Windows; using System.Windows.Controls; namespace Prolog.Workbench { /// <summary> /// Interaction logic for VariableListUserControl.xaml /// </summary> publi...
src/Roadkill.Core/Extensions/UrlHelperExtensions.cs
coderIML/850.roadkillwiki.net
329
7042780
using System.Text; using System.Web.Mvc; using Roadkill.Core.Configuration; namespace Roadkill.Core.Extensions { /// <summary> /// Roadkill specific extensions methods for the <see cref="UrlHelper"/> class. /// </summary> public static class UrlHelperExtensions { /// <summary> /// Gets a complete...
SimplexAlgorithm/Equation.cs
SamuelKupferschmid/lp-solver
0
7042781
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SimplexAlgorithm { public struct Equation { public readonly Variable LeftTerm; public readonly VariableFactor[] Factors; public readonly double Coefficient; ...
Encountify/Views/ProfilePage.xaml.cs
medikornov/Encountify
3
7042782
<filename>Encountify/Views/ProfilePage.xaml.cs using System; using System.Diagnostics; using Encountify.Services; using Encountify.ViewModels; using Xamarin.Forms; namespace Encountify.Views { public partial class ProfilePage : ContentPage { private ProfilePageViewModel _viewModel; public Prof...
Assets/Scripts/Game/GameData.cs
liangxiegame/LiangxiesFriend
10
7042783
<reponame>liangxiegame/LiangxiesFriend using QFramework; using UnityEngine; namespace IndieGame { public class GameData : MonoBehaviour, ISingleton { private static GameData mInstance { get { return MonoSingletonProperty<GameData>.Instance; } } void ISinglet...
PddOpenSdk/PddOpenSdk/Models/Request/Ad/DeleteAdApiUnit.cs
niltor/open-pdd-net-sdk
134
7042784
<filename>PddOpenSdk/PddOpenSdk/Models/Request/Ad/DeleteAdApiUnit.cs namespace PddOpenSdk.Models.Request.Ad; public partial class DeleteAdApiUnit { /// <summary> /// 广告单元Id /// </summary> [JsonPropertyName("adId")] public long AdId { get; set; } /// <summary> /// 场景类型。0表示搜索,2表示展示。 /// ...
src/Framework.Core/DynamicContainer/IDynamicContainer.cs
Luxoft/BSSFramework
18
7042785
<reponame>Luxoft/BSSFramework using System; namespace Framework.Core { public interface IDynamicSource { T GetValue<T>() where T : class; } public static class DynamicSourceExtensions { public static T GetValue<T>(this IDynamicSource dynamicSource, bool rai...
HackerRank/OptimizedMatrixLayerRotation.cs
mhdabdelrhman/HackerRank
0
7042786
using System.CodeDom.Compiler; using System.Collections.Generic; using System.Collections; using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.Serialization; using System.Text.RegularExpression...
src/War3Net.Build.Core/Script/TriggerItemType.cs
Drake53/War3Net
70
7042787
<filename>src/War3Net.Build.Core/Script/TriggerItemType.cs // ------------------------------------------------------------------------------ // <copyright file="TriggerItemType.cs" company="Drake53"> // Licensed under the MIT license. // See the LICENSE file in the project root for more information. // </copyright> //...
Reminder Center/ApiClient/ReminderClient.cs
reminder-service/reminder-center
0
7042788
using Newtonsoft.Json; using System; using System.IO; using System.Net; using System.Text; using static System.Net.WebRequestMethods; namespace ReminderCenter.ApiClient { class ReminderClient { private const string IDENTIFIER = "identifier"; private const string MESSAGE = "message"; ...
lingvo.core/morphology/PartOfSpeechEnum.cs
anpilogov/categories
39
7042789
<reponame>anpilogov/categories using System; namespace lingvo.morphology { /// <summary> /// части речи /// </summary> [Flags] public enum PartOfSpeechEnum : ushort { Other = 0x0, Noun = 0x1, Adjective = (1 << 1), Pronoun = (1 << 2), Numeral ...
eRestoran/Data/Migrations/20210629221233_TestMigracija.cs
nukicbelma/eRestaurant
0
7042790
<filename>eRestoran/Data/Migrations/20210629221233_TestMigracija.cs using Microsoft.EntityFrameworkCore.Migrations; namespace eRestoran.Data.Migrations { public partial class TestMigracija : Migration { protected override void Up(MigrationBuilder migrationBuilder) { } ...
BarcodeScannerSysTrayTool/Forms/AboutForm.Designer.cs
rafalkadow/BarcodeScannerSysTrayTool
1
7042791
<reponame>rafalkadow/BarcodeScannerSysTrayTool namespace BarcodeScannerSysTrayTool { partial class AboutForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any...
Functional/Implementation/Infinite.cs
codecore/Functional
1
7042792
using System; using System.Collections.Generic; using Functional.Implementation; using Functional.Test; namespace Functional.Implementation { public static partial class F { /// <summary>Takes a bool and returns an infinite sequence of that bool</summary><returns>an infinite sequence of bools</returns> ...
AnimationPipeline/Assets/NuitrackSDK/Nuitrack/Advanced/NuitrackAvatar.cs
Michael432125/AnimationPipeline
1
7042793
using UnityEngine; using System.Collections.Generic; public class NuitrackAvatar : MonoBehaviour { /* [Header("Rigged model")] [SerializeField] ModelJoint[] modelJoints; /// <summary> Model bones </summary> Dictionary with joints Dictionary<nuitrack.JointType, ModelJoint> jointsRigged = new D...
src/ParticleIoNet.Client.UnitTests/TokenDataTests.cs
AppSpaceIT/ParticleIoNet
0
7042794
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace ParticleIoNet.Client.UnitTests { [TestClass] public class TokenDataTests { [TestMethod] public void TokenDataEqualityTest() { var dateTimeOffset = DateTimeOffset.Now; var left = new...
StreamProgress.cs
Bhaskers-Blu-Org2/o365rwsclient
10
7042795
<filename>StreamProgress.cs using System; using System.IO; namespace Microsoft.Office365.ReportingWebServiceClient { /// <summary> /// /// </summary> public class StreamProgress { #region Properties public string Identifier { get; set; } ...
Source/GraphQLTemplate/Source/GraphQLTemplate/Types/EpisodeEnumeration.cs
takint/ASP.NET-MVC-Boilerplate
1
7042796
<gh_stars>1-10 namespace GraphQLTemplate.Types { using GraphQL.Types; using GraphQLTemplate.Models; public class EpisodeEnumeration : EnumerationGraphType<Episode> { public EpisodeEnumeration() { this.Name = "Episode"; this.Description = "One of the films in the ...
src/Exercism.Representers.CSharp/Normalization/SimplifyBuiltInKeyword.cs
mikedamay/csharp-representer
2
7042797
<filename>src/Exercism.Representers.CSharp/Normalization/SimplifyBuiltInKeyword.cs<gh_stars>1-10 using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory; namespace Exercism.Representers.CSharp.Normalization ...
IffleyRoutesRecord.Logic/Exceptions/CannotAssignGlobalGradeException.cs
JamieBickers/IffleyRoutesRecord
1
7042798
<reponame>JamieBickers/IffleyRoutesRecord<filename>IffleyRoutesRecord.Logic/Exceptions/CannotAssignGlobalGradeException.cs using System; using System.Collections.Generic; using System.Text; namespace IffleyRoutesRecord.Logic.Exceptions { public class CannotAssignGlobalGradeException : Exception { publ...
2020 All Days, Every Day/Day 01/Part2.cs
Tzarnal/Advent-of-Code-2020
0
7042799
using Advent; using Serilog; namespace Day_01 { //https://adventofcode.com/2020/day/1#part2 public class Part2 : IAdventProblem { public string ProblemName { get => "Day 1: Report Repair. Part Two."; } public void Run() { var inputList = Helpers.ReadNumbersFile("Day 01...
TsMap2.UI/Views/MainView/SidePanelView.axaml.cs
JAGFx/ts-map
8
7042800
<reponame>JAGFx/ts-map<filename>TsMap2.UI/Views/MainView/SidePanelView.axaml.cs using Avalonia.Controls; using Avalonia.Markup.Xaml; namespace TsMap2.UI.Views.MainView { public class SidePanelView : UserControl { public SidePanelView() { this.InitializeComponent(); } private vo...
util/FUtil.cs
Jmerk523/frame3Sharp
107
7042801
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace f3 { public static class FUtil { // [RMS] this is more expensive than a specific delegate public static void SafeSendAnyEvent(Delegate d, params object[] args) { var tmp = d; ...
CoreSystem/Sys/ObjectExtensions.cs
benmccallum/CoreSystem
8
7042802
<reponame>benmccallum/CoreSystem using System.Text; public static class ObjectExtensions { /// <summary> /// Uses reflection to output a string dump of all the object's properties and values in a nice readable format. /// Should only be used for debug/error dumps as performance of reflection is obviously ...
Ton.Sdk/Client/AppRequestResult.cs
staszx/Ton.Sdk
0
7042803
namespace Ton.Sdk.Client { using Newtonsoft.Json; public class AppRequestResult { #region Properties [JsonProperty("type")] public string Type { get; set; } [JsonProperty("text")] public string Text { get; set; } [JsonProperty("result")] public string Result { get; set; ...
Introducing/Library/PackageCache/com.unity.mathematics@1.2.1/Tests/Tests/Shared/TestFloat3x3.gen.cs
MrMYX/StartingUnity2D
5
7042804
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------...
Modules/Kachuwa.Admin/Areas/Admin/Views/Dashboard/Index.cshtml
amritdumre10/Kachuwa
0
7042805
@using Kachuwa.Localization @using Kachuwa.Web @using Newtonsoft.Json @inject IWidgetRenderer Renderer @model List<DashboardWidgetConfigViewModel> @inject ILocaleResourceProvider LocaleResource @{ LocaleResource.LookUpGroupAt("Dashboard"); ViewData["Title"] = LocaleResource.Get("Dashboard"); var widgets = ...
App/src/Events-TenantUserApp/Views/Shared/_BannerNoEvent.cshtml
vipulverulkar/Sql-Sharding-WingtipTicketsSaaS-StandaloneApp
20
7042806
<gh_stars>10-100 @using System.Security.Policy @using Events_Tenant.Common.Utilities @using Events_TenantUserApp @using Microsoft.AspNetCore.Mvc.Localization @inject IViewLocalizer Localizer @{ TenantConfig tenantConfig = Context.Session.GetObjectFromJson<List<TenantConfig>>("TenantConfigs").First(); var blo...
dotnet/mongo-data-access/MongoDataAccess.App/Models/JointBusiness.cs
xmj-alliance/pit
0
7042807
namespace MongoDataAccess.App.Models; public record JointBusiness( string ID, string DBName, string Name, string Description, DateTime UpdateDate, DateTime? DeleteDate, string Type, string Phone, string Address, string Email, string BankAccount, float Ratings, IEnu...
src/RutokenPkcs11Interop/Common/Pkcs7VerificationResult.cs
lo1ol/RutokenPkcs11Interop
2
7042808
<filename>src/RutokenPkcs11Interop/Common/Pkcs7VerificationResult.cs using System.Collections.Generic; namespace Net.RutokenPkcs11Interop.Common { public class Pkcs7VerificationResult { public ICollection<byte[]> Certificates { get; set; } public byte[] Data { get; set; } public bool...
CDesktopWallper/Facebook/FacebookJson.cs
cuongtm93/CDesktopWallper
0
7042809
<gh_stars>0 // To parse this JSON data, add NuGet 'Newtonsoft.Json' then do: // // using QuickType; // // var fbPostResultSuccess = FbPostResultSuccess.FromJson(jsonString); namespace FacebookJson { using System; using System.Collections.Generic; using System.Globalization; using Newtonsoft.Jso...
samples/SignalRSample.Web/Startup.cs
avdinfotech/SignalR-Server
3
7042810
<gh_stars>1-10 using Microsoft.AspNet.Builder; using Microsoft.AspNet.SignalR; using Microsoft.Framework.DependencyInjection; namespace SignalRSample.Web { public class Startup { public void Configure(IBuilder app) { app.UseServices(services => { service...
src/AvaloniaBindings/AvaloniaBlazorSample/TodoItem.cs
zhongzf/AvaloniaBlazorBindings
8
7042812
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. namespace AvaloniaBlazorSample { public class TodoItem { public bool IsDone { get; set; } public string Text { get; set; } } }
Source/Tools/ScutSMS/ScutSMS/RedisForm.cs
LuMingxuan12345/Scu
1
7042813
using System; using System.Windows.Forms; using ScutServerManager; using ScutServerManager.Config; namespace Scut.SMS { public partial class RedisForm : Form { private readonly Action _callback; public RedisForm(RedisSetting setting, Action callback) { _callba...
UblLarsen/UblLarsen.Ubl2/maindoc/UBL-Catalogue-2.1.cs
Gammern/ubllarsen
10
7042814
<filename>UblLarsen/UblLarsen.Ubl2/maindoc/UBL-Catalogue-2.1.cs // ------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenera...
UnitTests/Post Process/Average/AverageManagerTest.cs
rowetechinc/RTI
2
7042815
/* * Copyright © 2011 * Rowe Technology Inc. * All rights reserved. * http://www.rowetechinc.com * * Redistribution and use in source and binary forms, with or without * modification is NOT permitted. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRE...
sources/MathSharp/Vector/VectorF/BitOperations.cs
johnkellyoxford/MathSharp_Clone
0
7042816
<reponame>johnkellyoxford/MathSharp_Clone<filename>sources/MathSharp/Vector/VectorF/BitOperations.cs<gh_stars>0 using System.Runtime.CompilerServices; using System.Runtime.Intrinsics; using System.Runtime.Intrinsics.X86; using static MathSharp.VectorFloat.SoftwareFallbacks; using MathSharp.Attributes; namespace MathS...
sdks/client-csharp/FeatureHubSDK/src/IO.FeatureHub.SSE/Model/RolloutStrategyAttribute.cs
enixdark/featurehub
0
7042817
<filename>sdks/client-csharp/FeatureHubSDK/src/IO.FeatureHub.SSE/Model/RolloutStrategyAttribute.cs /* * FeatureServiceApi * * This describes the API clients use for accessing features * * The version of the OpenAPI document: 1.1.2 * * Generated by: https://github.com/openapitools/openapi-generator.git */ us...
iSpyApplication/XML/objects.cs
isaacandy/ispyconnect
1
7042818
<gh_stars>1-10 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:2.0.50727.8009 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // <...
StylingAButton/Views/NestedPathViewDemo.xaml.cs
MahmudOnWeb/StylingAButton
2
7042819
<reponame>MahmudOnWeb/StylingAButton<gh_stars>1-10 using System.Windows.Controls; namespace StylingAButton { public partial class NestedPathViewDemo : UserControl { public NestedPathViewDemo() { InitializeComponent(); } } }
Application.IntegrationTests/Financial/Receipts/Commands/UpdateReceiptsTests.cs
Syhler/CoolWebsite
2
7042820
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Application.IntegrationTests.Common; using CoolWebsite.Application.Common.Exceptions; using CoolWebsite.Application.DatabaseAccess.Financials.FinancialProjects.Queries.GetFinancialProjects.Models; using CoolWebsite.A...
Source/Meadow.Foundation.Peripherals/ICs.IOExpanders.Mcp23x08/Driver/ICs.IOExpanders.Mcp23x08/Mcp23x08.cs
malmbergn/Meadow.Foundation
106
7042821
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using Meadow.Hardware; using Meadow.Utilities; namespace Meadow.Foundation.ICs.IOExpanders { /// <summary> /// Provide an interface to connect to a MCP23008 port expander. /// </summary> public partial class Mcp...
CodeArtEng.Controls/CommandLineBuilderDialog.Designer.cs
Code-Artist/CodeArtEng.Controls
5
7042822
namespace CodeArtEng.Controls { partial class CommandLineBuilderDialog { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </s...
RG.CodeAnalyzer/RG.CodeAnalyzer.Test/TupleElementNamesMustBeInPascalCaseUnitTests.cs
ronnygunawan/analyzers
6
7042823
<filename>RG.CodeAnalyzer/RG.CodeAnalyzer.Test/TupleElementNamesMustBeInPascalCaseUnitTests.cs<gh_stars>1-10 using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CodeFixes; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.VisualStudio.TestTools.UnitTesting; using TestHelper; namespace RG.CodeAnalyzer.T...
Test/Translation.Tests/Client/Models/ViewModels/Organization/OrganizationDetailModelTests.cs
ilkerhalil/translation
0
7042824
<gh_stars>0 using NUnit.Framework; using Shouldly; using Translation.Client.Web.Models.Organization; using Translation.Common.Helpers; using static Translation.Tests.TestHelpers.FakeModelTestHelper; using static Translation.Tests.TestHelpers.AssertViewModelTestHelper; namespace Translation.Tests.Client.Models.ViewMo...
src/MAUI/DevHops.Maui/DevHops.Maui/Pages/Shared/SearchRecipePage.xaml.cs
matt-goldman/2-gt4
2
7042825
<reponame>matt-goldman/2-gt4<filename>src/MAUI/DevHops.Maui/DevHops.Maui/Pages/Shared/SearchRecipePage.xaml.cs using DevHops.Maui.ViewModels; using Microsoft.Maui.Controls; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DevHops.Maui.Pages....
osu.Game/Rulesets/Edit/Checks/CheckZeroLengthObjects.cs
peppy/osu-new
1
7042826
<gh_stars>1-10 // 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.Collections.Generic; using osu.Game.Rulesets.Edit.Checks.Components; using osu.Game.Rulesets.Objects; using osu.Game.Rulesets....
Source/Animation/ValueInterpolators/MarginValueInterpolator.cs
zamp/marklight
5
7042827
<filename>Source/Animation/ValueInterpolators/MarginValueInterpolator.cs  namespace MarkLight.Animation { /// <summary> /// Margin value interpolator. /// </summary> public class MarginValueInterpolator : ValueInterpolator { #region Fields private readonly ElementSizeValueInterpola...
src/Admin/VMware.ScriptRuntimeService.Setup/ConfigFileWriters/K8sConfigWriter.cs
dmilov/script-runtime-service-for-vsphere
29
7042828
<reponame>dmilov/script-runtime-service-for-vsphere<gh_stars>10-100 // ************************************************************************** // Copyright 2020 VMware, Inc. // SPDX-License-Identifier: Apache-2.0 // ************************************************************************** using Microsoft.Extens...
Wr.UmbracoPhoneManager/Events/UmbracoApplicationEvents.cs
bifter/Wr.Umbraco.CampaignPhoneManager
0
7042829
using System; using System.Web; using Umbraco.Core; using Umbraco.Web; namespace Wr.UmbracoPhoneManager.Events { public class UmbracoApplicationEvents : ApplicationEventHandler { protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext...
src/Persistence.EntityFramework/OwnedNavigationBuilderExtensions.cs
emmanuelbenitez/BigSolution.Persistence.EntityFramework
0
7042830
<reponame>emmanuelbenitez/BigSolution.Persistence.EntityFramework #region Copyright & License // Copyright © 2020 - 2021 <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 // // h...
TableMap/Statement.cs
jncronin/tysila
6
7042831
<gh_stars>1-10 using System; using System.Collections.Generic; using System.IO; using System.Text; namespace TableMap { internal abstract class Statement { public class SyntaxException : Exception { public SyntaxException(string msg) : base(msg) { } } ...
Assets/Dossiers Personnels/Nicolas/Scripts/Leaderbord.cs
Graygzou/Brain-Control
3
7042832
using System.Collections; using System.Collections.Generic; using System.IO; using UnityEngine; using UnityEngine.UI; public class Leaderbord : MonoBehaviour { private GameData json = new GameData(); private List<PlayerData> list = new List<PlayerData>(); public int nbRanges; private List<Rows> ...
Solution/Maps.Data.OpenStreetMap.Tests/PostgreSQL/PostgreSQLClientTests.cs
cmberryau/maps
1
7042833
using Maps.Data.OpenStreetMap.PostgreSQL; using Npgsql; using NUnit.Framework; namespace Maps.Data.OpenStreetMap.Tests.PostgreSQL { [TestFixture] public class PostgreSQLClientTests { [Test] public void TestCloneMethod() { var connection = new NpgsqlConnection( ...
Script/Coroutiner/CoroutinerTest.cs
SaiTingHu/HTFrameworkDemo
7
7042834
<reponame>SaiTingHu/HTFrameworkDemo using System.Collections; using UnityEngine; namespace HT.Framework.Demo { /// <summary> /// 协程调度器测试 /// </summary> public class CoroutinerTest : MonoBehaviour { private void OnGUI() { GUILayout.BeginHorizontal(); if (GUIL...
Localization/IRequestUICulture.cs
aras-it/Armaiti.Core
1
7042835
using System; using System.Globalization; namespace Armaiti.Core.Localization { /// <summary> /// Represent the widely used cultural features. /// </summary> public interface IRequestUICulture { /// <summary> /// Current UI <see cref="CultureInfo"/>. /// </summary> ...
src/AdventOfCode/Puzzles/Y2020/Day06.cs
martincostello/adventofcode
5
7042836
// Copyright (c) <NAME>, 2015. All rights reserved. // Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information. namespace MartinCostello.AdventOfCode.Puzzles.Y2020; /// <summary> /// A class representing the puzzle for <c>https://adventofcode.com/2020/day/6<...
src/keypay-dotnet/Au/Models/Ess/AuAddressModel.cs
hr-central/keypay-dotnet-v2
1
7042837
using System; using System.Collections.Generic; using System.Net.Http.Headers; using KeyPayV2.Au.Models.Common; using KeyPayV2.Au.Enums; namespace KeyPayV2.Au.Models.Ess { public class AuAddressModel { public string StreetAddress { get; set; } public string AddressLine2 { get; set; }...
Evote_Service/Model/Interface/IEmailRepository.cs
best0032001/CMU_EVOTE_SERVICE
0
7042838
<filename>Evote_Service/Model/Interface/IEmailRepository.cs<gh_stars>0 using Microsoft.AspNetCore.Http; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Evote_Service.Model.Interface { public interface IEmailRepository { Task<String> SendEmailO...
Source/Views/User/SignIn.cshtml
IanNorris/RationalVote
1
7042839
@using RationalVote.Models; @{ ViewBag.Title = "Sign in"; } <div class="container-fluid"> <div class="row-fluid col-wrap"> <div class="col-md-4"> @Html.Partial( "ExternalLogin" ) </div> <div class="col-md-4"> @if( Model is UserLogin ) { @Html.Partial( "Login" ) } else { @Html.Part...
app/NHtmlUnit/Generated/Javascript/Host/Html/HTMLLabelElement.cs
HtmlUnit/NHtmlUnit
61
7042840
// Generated class v2.50.0.0, don't modify using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Text; namespace NHtmlUnit.Javascript.Host.Html { public partial class HTMLLabelElement : NHtmlUnit.Javascript.Host.Html.HTMLElement { ...
src/FluentResults.Test/SuccessTests.cs
lorddamek/FluentResults
0
7042841
<filename>src/FluentResults.Test/SuccessTests.cs using FluentAssertions; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace FluentResults.Test { [TestClass] public class SuccessTests { [TestMethod] public void CreateSuccess_EmptySuccess() { // Act ...
Assets/Devdog/SciFiDesign/FirstVersion/Scripts/UI/ShaderValueInterpolator.cs
Alan-love/sci-fi-ui
449
7042842
using System; using UnityEngine; using System.Collections; using System.Collections.Generic; using System.Linq; using Devdog.General.UI; using UnityEngine.Events; using UnityEngine.UI; namespace Devdog.SciFiDesign.UI { public class ShaderValueInterpolator : MonoBehaviour { [System.Serializable] ...
Assets/Scripts/ScreenSize.cs
SangwookYoo/SimpleFlameReaction-unity
0
7042843
using System.Collections; using System.Collections.Generic; using UnityEngine; public class ScreenSize : MonoBehaviour { private void Awake() { Screen.SetResolution(1600, 900, false) ; } }
src/DelegateFactory.cs
moto2002/tianqi_src
5
7042844
using LuaInterface; using System; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; public static class DelegateFactory { private class System_Action_Event : LuaDelegate { public System_Action_Event(LuaFunction func) : base(func) { } public void Call() { this.func.Call(); ...
code/project/rs.etf.pki.gui/BaseReservePeriod.designer.cs
srfunksensei/PKI
0
7042845
namespace PKI_project { partial class BaseReserve { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <...
src/Innovator.Client/QueryModel/CloneVisitor.cs
gratinierer/Innovator.Client
26
7042846
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Innovator.Client.QueryModel { public class CloneVisitor : IQueryVisitor { private IExpression _clone; private PropertyReference _prop; private QueryItem _query; private read...
src/BusinessLayer/LineItemCollection.cs
twistedstream/CslaRepositoryTest
3
7042847
using System; using System.Collections.Generic; using System.Linq; using System.Text; using CslaRepositoryTest.Core; using CslaRepositoryTest.DataAccess; using Csla; using System.ComponentModel; namespace CslaRepositoryTest.BusinessLayer { /// <summary> /// A read-write collection of <see cref="ILineItem"/...
C# applications/DayTicket/DayTicket/DataHelper.cs
DenisBogdanov334/LeisureEvents
0
7042848
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using MySql.Data; using MySql.Data.MySqlClient; namespace DayTicket { class DataHelper { public MySqlConnection connection; public DataHelper() { Str...
code/dotnet/FactSetFunds/v1/src/FactSet.SDK.FactSetFunds/Model/BenchmarkDetails.cs
factset/enterprise-sdk
6
7042850
/* * FactSet Funds API * * FactSet Mutual Funds data offers over 50 fund- and share class-specific data points for mutual funds listed in the United States. <p>FactSet Mutual Funds Reference provides fund-specific reference information as well as FactSet's proprietary classification system. It includes but is not li...
src/AsimovDeploy.WinAgent/Framework/Models/PasswordParameter.cs
Korla/asimov-deploy-winagent
4
7042852
<reponame>Korla/asimov-deploy-winagent /******************************************************************************* * Copyright (C) 2012 eBay Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Lic...
Source/Mosa.Compiler.Metadata/Heap.cs
uQr/MOSA-Project
0
7042853
<reponame>uQr/MOSA-Project /* * (c) 2008 MOSA - The Managed Operating System Alliance * * Licensed under the terms of the New BSD License. * * Authors: * <NAME> (grover) <<EMAIL>> */ using System; using System.IO; namespace Mosa.Compiler.Metadata { /// <summary> /// Base class for provider heaps. /// </sum...
Session4homework.cs
Bartlett-RC3/skilling-module-1-azchow
0
7042854
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class Session4homework : MonoBehaviour { //Variables public GameObject columnPrefab; IEnumerator createPrefabsCoroutine; // Start is called before the first frame update void Start() ...
src/Tmds.DBus.Protocol/DBusType.cs
tmds/Tmds.DBus.Protocol
9
7042855
namespace Tmds.DBus.Protocol; public enum DBusType : byte { Invalid = 0, Byte = (byte)'y', Bool = (byte)'b', Int16 = (byte)'n', UInt16 = (byte)'q', Int32 = (byte)'i', UInt32 = (byte)'u', Int64 = (byte)'x', UInt64 = (byte)'t', Double = (byte)'d', String = (byte)'s', Objec...
src/Color-Chan.Discord.Commands/DefaultServiceProvider.cs
Color-Chan/Color-Chan.Discord
28
7042856
using System; namespace Color_Chan.Discord.Commands { internal class DefaultServiceProvider : IServiceProvider { /// <summary> /// Get a default implementation for <see cref="IServiceProvider" />. /// </summary> internal static readonly DefaultServiceProvider Instance = new...
src/Data/IFCHeader.cs
J-YingHuang/IFCLite
0
7042857
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using LiteDB; namespace IFCLite.Data { public class IFCHeader:IFCBase { public IFCHeader(BsonDocument Data) : base(Data) { } public override string ToIFCString() { ...
ArcticFox.Net/Sockets/WebSocketInterface.cs
ZingBallyhoo/ArcticFox
0
7042858
using System; using System.Net.WebSockets; using System.Threading.Tasks; namespace ArcticFox.Net.Sockets { // todo: named this way due to conflict... public class WebSocketInterface : SocketInterface { private readonly WebSocket m_webSocket; private readonly bool m_binaryMessages; ...
CodeWars/7kyu/SimpleFun38HouseOfCats.cs
a-kozhanov/codewars_csharp
11
7042859
/* https://www.codewars.com/kata/588810c99fb63e49e1000606/csharp 7 kyu Simple Fun #38: House Of Cats Task There are some people and cats in a house. You are given the number of legs they have all together. Your task is to return an array containing every possible number of people that could be in the house sorted i...
.NET/WEB API/AuthorizationSample/AuthorizationSample/AuthenticationHandler.cs
kranthi467/KranthiPOCs
1
7042860
<reponame>kranthi467/KranthiPOCs<filename>.NET/WEB API/AuthorizationSample/AuthorizationSample/AuthenticationHandler.cs<gh_stars>1-10 using AuthorizationSample.Models; using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Linq; using Sy...
DBTemplateHandler.Service.Contracts/Database/ITableModel.cs
cosXsinX/DBTemplateHanlder-NetCore3
1
7042861
<reponame>cosXsinX/DBTemplateHanlder-NetCore3<gh_stars>1-10 using System; using System.Collections.Generic; namespace DBTemplateHandler.Core.Database { public interface ITableModel { IList<IColumnModel> Columns { get; set; } string Name { get; set; } string Schema { get; set; } ...
CNN1/iLayer.cs
qdm097/MNIST-CNN
2
7042862
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CNN1 { interface iLayer { double[,] Weights { get; set; } double[] Values { get; set; } double[] ZVals { get; set; } double[] Errors { get; set; } ...
src/Perlang.Interpreter/NameResolution/NativeObjectBindingFactory.cs
perlang-org/perlang
12
7042863
using System; namespace Perlang.Interpreter.NameResolution { internal class NativeObjectBindingFactory : IBindingFactory { private readonly Type type; public NativeObjectBindingFactory(Type type) { this.type = type ?? throw new ArgumentException("type cannot be null"); ...
src/umbraco.providers/UsersRoleProvider.cs
nvdeveloper/UmbracoUpgrade-7.7.0-WorkAround
1
7042864
#region namespace using System; using System.Collections.Generic; using System.Text; using System.Configuration.Provider; using System.Web.Security; using System.Collections.Specialized; #endregion namespace umbraco.providers { /// <summary> /// Custom Roles Provider for Umbraco /// </summary> [Obsole...
sources/editor/Stride.Core.Assets.Editor/View/Behaviors/DragDrop/DragWindow.cs
Ethereal77/stride
0
7042865
<reponame>Ethereal77/stride // Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org) // Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net) // Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp) // See the LICENSE.md file in the project root for ...
Stats.cs
RumbleCA/blothhoondr
0
7042866
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace blothhoondr { public class Scoreboard { static void GamesWon() { Decimal wins; Random win = new Random(); wins = win.Next(750, 15000); ...
Strings/3.CorrectBrackets/CorrectBrackets.cs
AlxxlA/TelerikExercises
1
7042867
using System; using System.Collections; namespace _3.CorrectBrackets { class CorrectBrackets { static void Main() { string input = Console.ReadLine(); if (IsValidBrackets(input)) { Console.WriteLine("Correct"); } else...
Relay/Assets/Stormancer/MsgPack/Serialization/ReflectionSerializers/ReflectionSerializerLogics.cs
Stormancer/Sample_05_Relay_Unity
1
7042868
#if UNITY_IOS using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Text; namespace MsgPack.Serialization.ReflectionSerializers { internal static class ReflectionSerializerLogics { public static Func<object, int> CreateGetCount(Type type, CollectionTr...
AleaBelliScenarioEditor/MainWindow.xaml.cs
JimBobGames/AleaBelli
0
7042869
using AleaBelli.Core.Data; using AleaBelli.Core.Persistence; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System....
Project/04 - Games/Ball/Gameplay/Projectile.cs
CollectifBlueprint/GoalRush
5
7042870
<reponame>CollectifBlueprint/GoalRush using System; using System.Collections.Generic; using System.Linq; using System.Text; using LBE; using LBE.Gameplay; using LBE.Physics; using LBE.Assets; using Microsoft.Xna.Framework; using FarseerPhysics.Collision.Shapes; using FarseerPhysics.Dynamics; using LBE.Graphics.Spri...
WaveForWaves3D/Assets/Scripts/WaveImpact.cs
kangareuben/waveforwaves
0
7042871
using UnityEngine; using System.Collections; public class WaveImpact : MonoBehaviour { GameObject mc; // Use this for initialization void Start () { mc = GameObject.Find ("Main Camera"); } // Update is called once per frame void Update () { } void OnTriggerEnter(Collider other) { Scor...
src/Monitor.Profile.Sqlite.CodeFirst.ExportImport/MappingEF/CommandResultMapper.cs
parad74/Count4U.Service.5
0
7042872
using System; using System.Collections.Generic; using Monitor.Service.Model; using Count4U.Model; namespace Monitor.Sqlite.CodeFirst.MappingEF { public static class CommandResultMapper { public static Monitor.Service.Model.CommandResult ToDomainObject(this Monitor.Sqlite.CodeFirst.CommandResult entity) { if ...