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
InitSquad/Controllers/AdminController.cs
Kevindt12/ClanWeb
0
7049066
<reponame>Kevindt12/ClanWeb<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Threading.Tasks; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.Owin; using ClanWeb.Web.Models; using ClanWeb.Core.Identity; using System.D...
Assets/Scripts/PaketDestroyer.cs
DLozanoNavas/VRNetworking
0
7049067
<reponame>DLozanoNavas/VRNetworking using System.Collections; using System.Collections.Generic; using UnityEngine; public class PaketDestroyer : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } void OnTriggerEnter(Collider other...
Source/Anvil/Controls/GeometryButton.cs
garrettpauls/Anvil
0
7049068
<reponame>garrettpauls/Anvil using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Markup; using System.Windows.Media; namespace Anvil.Controls { [ContentProperty(nameof(Content))] public sealed class GeometryButton : ContentControl { public static r...
src/IX.StandardExtensions/Observable/StateChanges/ChangeAtStateChange{T}.cs
adimosh/IX.StandardExtensions
0
7049069
// <copyright file="ChangeAtStateChange{T}.cs" company="<NAME>"> // Copyright (c) <NAME> with all rights reserved. Part of the IX Framework. // </copyright> using IX.Undoable.StateChanges; using JetBrains.Annotations; namespace IX.Observable.StateChanges { /// <summary> /// A change at a specified index. ...
C101A.Frontend/C101A.Frontend/Program.cs
AprenderIT/Contenedores-101-en-Azure
1
7049070
<filename>C101A.Frontend/C101A.Frontend/Program.cs using Microsoft.AspNetCore.Components.WebAssembly.Hosting; using Microsoft.Extensions.DependencyInjection; using System.Net.Http; using System.Threading.Tasks; namespace C101A.Frontend { public class Program { public static async Task Main(string[] ar...
XGENO.UWP.Controls/XGENO.UWP.Controls.FWButton/XGENO.UWP.Controls.FWButton/IconPositionTrigger.cs
naweed/SeriesTrackerV3
1
7049071
using Windows.UI.Xaml; namespace XGENO.UWP.Controls.FWButton { public class IconPositionTrigger : StateTriggerBase { public IconPosition TriggerIconPosition { get; set; } public IconPosition ButtonIconPosition { get { return (IconPosition)GetValue(ButtonIconPositionPropert...
Src/IronPython.Modules/_sysconfigdata.cs
aisk/ironpython3
1,872
7049072
<filename>Src/IronPython.Modules/_sysconfigdata.cs<gh_stars>1000+ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information. using IronPython.Runtime; [assembly: Pyth...
Assets/Scripts/Makaze.cs
bitbuilders/GMTK-19
0
7049073
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Makaze : Warrior { [SerializeField, Range(0, 3)] int m_MaxPauses = 1; int m_Pauses = 0; new void Start() { base.Start(); WarriorBeat.Instance.AddBeatListener(OnBeat); WarriorBeat.Insta...
Assets/Scripts/SplashscreenControlTeam.cs
cmsBrickFormation/BrickFormation
0
7049074
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SplashscreenControlTeam : MonoBehaviour { public GameObject logo; public float sceneDuration = 180; public string nextScene = "MainMenu"; private float timer = 0; void Update() { moveLogo(logo); ...
Assets/Scripts/GroundScrolling.cs
trionteam/Homing
0
7049075
<filename>Assets/Scripts/GroundScrolling.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class GroundScrolling : MonoBehaviour { public float minX = -20.0f; public float moveRight = 30.0f; // Update is called once per frame void Update() { ...
src/Example.Api/Example.Api/Startup.cs
ftijan/web-api-2-di
0
7049076
using Owin; namespace Example.Api { /// <summary> /// The OWIN startup entry point. /// </summary> public class Startup { /// <summary> /// Configures the API. /// </summary> /// <param name="app">The app builder instance.</param> public void Configuration(I...
SocialMedia.Web/obj/Debug/netcoreapp2.1/Razor/Views/Friends/Index.g.cshtml.cs
tgyka/aspnetmvccore-socialmedia-website
1
7049077
#pragma checksum "C:\Users\Tgyka\Desktop\socialmediawebsite\SocialMedia\SocialMedia.Web\Views\Friends\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "60c6979922e0a500b7f632fdfabdf672e127bb13" // <auto-generated/> #pragma warning disable 1591 [assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledIte...
StudentSystem/Clients/StudentSystem.Clients.Web/Models/Students/StudentRequestViewModel.cs
itplamen/StudentSystem
0
7049078
<reponame>itplamen/StudentSystem namespace StudentSystem.Clients.Web.Models.Students { using System; using AutoMapper; using StudentSystem.Common.Infrastructure.Mapping; using StudentSystem.Services.Api.StudentsServiceSoap; public class StudentRequestViewModel : IMapTo<StudentRequestModel>, IHav...
src/ApiContractGenerator/Model/TypeReferences/PrimitiveTypeReference.cs
jnm2/ApiContractGenerator
1
7049079
<reponame>jnm2/ApiContractGenerator using System.Reflection.Metadata; namespace ApiContractGenerator.Model.TypeReferences { public sealed class PrimitiveTypeReference : MetadataTypeReference { public PrimitiveTypeCode Code { get; } public PrimitiveTypeReference(PrimitiveTypeCode code) ...
src/Perpetuum.RequestHandlers/ChangeAmmo.cs
jeffmaley/PerpetuumServer
46
7049080
<filename>src/Perpetuum.RequestHandlers/ChangeAmmo.cs using System.Collections.Generic; using System.Transactions; using Perpetuum.Data; using Perpetuum.EntityFramework; using Perpetuum.Host.Requests; using Perpetuum.Items; using Perpetuum.Modules; using Perpetuum.Robots; namespace Perpetuum.RequestHandlers { publ...
AtCoderBeginnerContest177/AtCoderBeginnerContest177/AtCoderBeginnerContest177/Questions/QuestionB.cs
terry-u16/AtCoder
0
7049081
<filename>AtCoderBeginnerContest177/AtCoderBeginnerContest177/AtCoderBeginnerContest177/Questions/QuestionB.cs using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using AtCoderBeginnerContest...
gView.System/Framework/System/WMSConfig.cs
jugstalt/gview5
8
7049082
<reponame>jugstalt/gview5 using System; using System.Collections.Generic; using System.Text; using Microsoft.Win32; using System.Xml; using gView.MapServer; namespace gView.Framework.system { public class WMSConfig { static private string _onlineResource = "http://localhost/gViewPortal/wms.aspx?"; ...
Assets/Battlehub/RTHandles/Scripts/RuntimeHandles.cs
Long-as-Python/Subway
0
7049083
<gh_stars>0 using UnityEngine; using System.Collections; #if UNITY_EDITOR using UnityEditor; #endif namespace Battlehub.RTHandles { public enum RuntimeHandleAxis { None, X, Y, Z, XY, XZ, YZ, Screen, Free } public static class Ru...
Fundamental task solutions/15.Files,Directories,Exceptions-LabsAndExercises/13.5.Re-Directory/5. ReDirectory.cs
spzvtbg/02-Tech-modul
0
7049084
<gh_stars>0 namespace _13._5.Re_Directory { using System; using System.IO; using System.Linq; public class Program { public static void Main() { var files = Directory.GetFiles("../../input").ToList(); if (!Directory.Exists("../../SortedFiles")) ...
Assets/Scripts/CerkeOnline/Domain/Entities/IHand.cs
azarashi2931/Cerke-Online
5
7049085
using System.Collections.Generic; namespace Azarashi.CerkeOnline.Domain.Entities { /// <summary> /// 役のinterface. /// </summary> public interface IHand { Terminologies.HandName Name { get; } int Score { get; } int GetNumberOfSuccesses(IEnumerable<IReadOnlyPiece> pieces); ...
Code/Blumind/Controls/DropDownControls/DropDownDirection.cs
ZaynMalik1/Blumind
88
7049087
<gh_stars>10-100 using System; using System.Collections.Generic; using System.Text; namespace Blumind.Controls { public enum DropDownDirection { Above, AboveLeft, AboveRight, BelowLeft, BelowRight, Below, Left, Right, } }
CosmoTablePoc.Core/Classes/AppSettings.cs
Barralex/CosmoTablePoc
1
7049088
<filename>CosmoTablePoc.Core/Classes/AppSettings.cs using Microsoft.Extensions.Configuration; namespace CosmoTablePoc.Core { public class AppSettings { public string StorageConnectionString { get; set; } public static AppSettings LoadAppSettings() { IConfigurationRoot conf...
backend/Domain/Models/Entity.cs
bilalyasin1616/stripe-integration-dotnet
0
7049089
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Domain.Models { [Serializable] public class Entity { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int Id { get; set; } [Column(Typ...
src/Infrastructure/src/EInfrastructure.Core.Configuration/Enum/FormatDateTypeEnum.cs
DavideYang125/System.Extension.Core
0
7049090
// Copyright (c) zhenlei520 All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.ComponentModel; namespace EInfrastructure.Core.Configuration.Enum { /// <summary> /// 格式化时间类型 /// </summary> public enum FormatDateTypeEnum ...
Sources/Engine/NeoAxis.Stubs/System.Windows.Forms/System.Windows.Forms/BatteryChargeStatus.cs
intensifier/NeoAxisEngine
0
7049091
namespace System.Windows.Forms { public enum BatteryChargeStatus { High = 1, Low = 2, Critical = 4, Charging = 8, NoSystemBattery = 0x80, Unknown = 0xFF } }
UmbSense/Completion/Directives/UmbDrawer.cs
adam-werner/UmbSense
20
7049092
<filename>UmbSense/Completion/Directives/UmbDrawer.cs using System.Collections.Generic; using Microsoft.VisualStudio.Utilities; using Microsoft.WebTools.Languages.Html.Editor.Completion.Def; namespace UmbSense.Completion.Directives { [HtmlCompletionProvider(CompletionTypes.Children, TagName)] [ContentType("h...
Actions/MoveAction.cs
mortenbock/MXTires.Microdata
43
7049093
#region License // Copyright (c) 2015 1010Tires.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 Software without // restriction, including without limitation the rights to use, // copy, mod...
Assets/Scripts/Example_57_ReactiveX/Runtime/Extensions/Extension_RX.cs
CXProject/UnityToolchainsTrick
642
7049094
using System; namespace CZToolKit.Core.ReactiveX { public static partial class Extension { public static Observable<T> ToObservable<T>(this T _src) { return new Observable<T>(_src); } public static IDisposable Subscribe<T>(this IObservable<T> _src) { ...
Source/SLaB.Navigation.ContentLoaders.Auth/NavigationAuthRule.cs
OpenSilver/OpenSilver.SLaB
0
7049095
<gh_stars>0 #region Using Directives using System; using System.Security.Principal; using System.Text.RegularExpressions; using System.Windows; using System.Windows.Markup; #endregion namespace SLaB.Navigation.ContentLoaders.Auth { /// <summary> /// Represents an authorization rule for the NavigationAutho...
src/MassTransit/Testing/Subjects/ConsumerTestSubjectImpl.cs
vincelee888/MassTransit
1
7049097
<filename>src/MassTransit/Testing/Subjects/ConsumerTestSubjectImpl.cs // Copyright 2007-2011 <NAME>, <NAME>, <NAME>, et. al. // // 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 // ...
LSLib/Granny/Collada.cs
EmperorPark/lslib
153
7049098
using System.Collections.Generic; using System.Linq; using System.Text; using System.Security.Cryptography; namespace LSLib.Granny { class ColladaUtils { public static sourceTechnique_common MakeAccessor(string type, string[] components, int stride, int elements, string arrayId) { ...
src/ConsoLovers.ConsoleToolkit.Core/BootStrappers/BootstrapperBase.cs
MzB-Solutions/ConsoLovers
20
7049099
namespace ConsoLovers.ConsoleToolkit.Core.BootStrappers { internal class BootstrapperBase { /// <summary>Gets or sets the height of the window.</summary> protected int? WindowHeight { get; set; } /// <summary>Gets or sets the window title.</summary> protected string WindowTitle { get; se...
Netkan/Transformers/InternalCkanTransformer.cs
PizzaRules668/CKAN
1,525
7049100
using System; using System.Collections.Generic; using log4net; using CKAN.Versioning; using CKAN.NetKAN.Extensions; using CKAN.NetKAN.Model; using CKAN.NetKAN.Services; namespace CKAN.NetKAN.Transformers { /// <summary> /// An <see cref="ITransformer"/> that populates data from a CKAN file included in the dist...
src/MassTransit/Configuration/PipeConfigurators/CompensateActivityHostSpecification.cs
NikGovorov/MassTransit
1
7049101
<gh_stars>1-10 // Copyright 2007-2015 <NAME>, <NAME>, <NAME>, et. al. // // 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 // ...
aspnetcore/razor-pages/filter/sample/PageFilter/Pages/About.cshtml.cs
jongalloway/AspNetCore.Docs
5,343
7049102
<reponame>jongalloway/AspNetCore.Docs using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.Extensions.Logging; namespace PageFilter.Pages { public class AboutModel : PageModel { private readonly ILogger _logger; public AboutModel(ILogger<AboutModel> logger) { _logger...
BlobService/SampleCode/DataAccess/BlobRepository.cs
sktxdev/Snippets
0
7049103
using System; using System.IO; using System.Text; using System.Threading.Tasks; using Azure.Storage.Blobs; using Azure.Storage.Blobs.Models; // from azure.storage.blob import BlobServiceClient, BlobClient, ContainerClient; namespace SampleCode.DataAccess { public class BlobRepository : IBlobRepository { ...
XamlingIOTCore/XIOTCore.Portable/Components/OLED/SSD1306/OLED_SSD1306.cs
jakkaj/XIOTCore
3
7049104
<reponame>jakkaj/XIOTCore //a partial port of https://github.com/adafruit/Adafruit_SSD1306 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using XIOTCore.Contract.Enum; using XIOTCore.Contract.Interface.Basics; using XIOTCore.Contract.Interface.Devic...
Kiukie.Tests/Integration/DefaultBulkQueueTests.cs
canro91/Kiukie
0
7049105
<gh_stars>0 using Insight.Database; using Microsoft.Extensions.DependencyInjection; using NUnit.Framework; using System.Data; using System.Linq; using System.Threading.Tasks; namespace Kiukie.Tests.Integration { [TestFixture] public class DefaultBulkQueueTests { [Test] public async Task De...
src/Net.Appclusive.WPF.UI.Tests/Converters/EnumTranslationConverterTest.cs
Appclusive/Net.Appclusive.WPF.UI
0
7049106
<reponame>Appclusive/Net.Appclusive.WPF.UI<filename>src/Net.Appclusive.WPF.UI.Tests/Converters/EnumTranslationConverterTest.cs /** * Copyright 2018 d-fens GmbH * * 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 ...
GoMusic/GoMusic/Views/LightTheme/MainPage_List.xaml.cs
kantlove/GoMusic
1
7049107
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Navigation; using Microsoft.Phone.Controls; using Microsoft.Phone.Shell; using System.Windows.Threading; using Microsoft.Xna.Framework.Media; using System.Windo...
src/Mvc/Mvc.Core/src/ApplicationParts/AssemblyPart.cs
avragov/aspnetcore
8,570
7049108
<filename>src/Mvc/Mvc.Core/src/ApplicationParts/AssemblyPart.cs // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Reflection; namespace Microsoft.AspNetCore.Mvc.ApplicationParts; /// <summary> /// An <see cref="Applic...
XlsIO/PivotTable.aspx.cs
syncfusion/file-formats-aspnet-ej1-demos
3
7049109
#region Copyright Syncfusion Inc. 2001-2021 // Copyright Syncfusion Inc. 2001-2021. All rights reserved. // Use of this code is subject to the terms of our license. // A copy of the current license can be obtained at any time by e-mailing // <EMAIL>. Any infringement will be prosecuted under // applicable laws. #endre...
Wenli.Live.RtmpLib/Rtmping/RtmpServer.cs
liupaul1220/Wenli.RtmpServer
17
7049110
using Fleck; using System; using System.Collections.Generic; using System.Collections.Specialized; using System.Linq; using System.Net; using System.Net.Sockets; using System.Security.Authentication; using System.Security.Cryptography.X509Certificates; using System.Threading; using System.Threading.Tasks; using System...
Pr2/scripts/gameController.cs
alu0101215693/Intelligent-user-interfaces
0
7049111
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class gameController : MonoBehaviour { public static gameController instance = null; public Text scoreText; private int score = 0; void Awake() { if (insta...
LibraryManagementSystem/Classes/DAL/CustomerDataManager.cs
GaneshIT/LibraryManagementWPF
0
7049112
using LibraryManagementSystem.Interfaces.DAL; using LibraryManagementSystem.Models; using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Text; using System.Threading.Tasks; namespace LibraryManagementSystem.Classes.DAL { public class CustomerDataManager : ICu...
Item.cs
twinbird827/WpfApp6
0
7049115
using StatefulModel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WpfApp6 { public class Item : BindableBase { /// <summary> /// アイテム名 /// </summary> public string Name { get { ...
Bowlmaster/Assets/Scripts/BallDragLaunch.cs
monchix/unitybowlmaster
0
7049116
using UnityEngine; using System.Collections; /// <summary> /// Class: BallDragLaunch /// Is needed for drag the ball with the mouse or touch and the launch it /// toma el momento y el lugar donde la bola es agarrada en el canvas y donde se suelta /// para calcular la velocidad y direcicon de lanzamiento. /// Requerim...
SmartFrameServer/Program.cs
jan-oratowski/dev-smart-frame
0
7049118
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SmartFrameServer.Data; using System.IO; using Nancy.Hosting.Self; namespace SmartFrameServer { class Program { public static List<ImageEntry> Images = new List<ImageEn...
Source/Api/EtAlii.Ubigia/_Model/Identifiers/IdentifierSplitter.cs
vrenken/EtAlii.Ubigia
2
7049119
// Copyright (c) <NAME>. All rights reserved. See the license on https://github.com/vrenken/EtAlii.Ubigia namespace EtAlii.Ubigia { public static class IdentifierSplitter { public const string Location = "."; public const string Time = "."; public const string Part = "/"; publ...
Basketee.API/Controllers/ProductController.cs
eworkart/Basketee
0
7049120
using System; using System.Collections.Generic; using System.Linq; using System.Web; using Basketee.API.DTOs; using Basketee.API.DTOs.Product; using System.Web.Http; using System.Web.Http.Results; using System.Net; using Basketee.API.Services; namespace Basketee.API.Controllers { public class ProductController : ...
App/StackExchange.DataExplorer/Helpers/Util.cs
josephhsieh/stack-exchange-data-explorer
1
7049121
<reponame>josephhsieh/stack-exchange-data-explorer using System; using System.Security.Cryptography; using System.Text; using System.Web.Security; namespace StackExchange.DataExplorer.Helpers { public static class Util { private static readonly MD5CryptoServiceProvider md5Provider = new MD5Cr...
NPOI.OpenXmlFormats.Shared/CT_Rad.cs
iNeverSleeeeep/NPOI-For-Unity
1
7049122
<reponame>iNeverSleeeeep/NPOI-For-Unity using System; using System.IO; using System.Xml; using System.Xml.Serialization; namespace NPOI.OpenXmlFormats.Shared { [Serializable] [XmlRoot(Namespace = "http://schemas.openxmlformats.org/officeDocument/2006/math", IsNullable = true)] [XmlType(Namespace = "http://schemas.o...
LineMessagingAPISDK/LineMessagingAPISDK/Models/ConfirmTemplate.cs
marwahaha/line-bot-sdk-csharp
44
7049123
using Newtonsoft.Json; using System; using System.Collections.Generic; namespace LineMessagingAPISDK.Models { /// <summary> /// Template message with two action buttons. /// </summary> public class ConfirmTemplate : Template { private string text; /// <summary> /// Message...
Infart/Drawing/AnimatedGameObject.cs
FrancescoBonizzi/InfartGame
5
7049124
<reponame>FrancescoBonizzi/InfartGame using Infart.Astronaut; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using System.Collections.Generic; namespace Infart.Drawing { public abstract class AnimatedGameObject : GameObject { protected Dictionary<string, AnimationManager> Animat...
Agribusiness.Web/Global.asax.cs
ucdavis/Agribusiness
0
7049125
<gh_stars>0 using System.Web; using Agribusiness.Web.Helpers; using Elmah; namespace Agribusiness.Web { public class MvcApplication : HttpApplication { protected void Application_Start() { RouteConfigurator.RegisterRoutes(); AutomapperConfig.Configure(); } ...
Scrupdate/UiElements/Controls/CustomButton.xaml.cs
matanbright/Scrupdate
1
7049126
<filename>Scrupdate/UiElements/Controls/CustomButton.xaml.cs<gh_stars>1-10 // Copyright © 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 // // http://www.apache.org/li...
src/DMCIT.Infrastructure/Data/Exceptions/DataCollector/FailedToLoadDiary131Exception.cs
thanhtuan260593/dmcit-netcore
0
7049127
<reponame>thanhtuan260593/dmcit-netcore<gh_stars>0 using DMCIT.Core.Entities.DataCollector; using System; namespace DMCIT.Infrastructure.Data.Exceptions.DataCollector { public class FailedToLoadDiary131Exception : BaseExceptionInformation { public DistributedServer server { get; set; } public ...
src/Ligg.EasyWinApp.ImplInterface/IAdapter.cs
ligg2018/Ligg.EasyWinApp
1
7049128
<filename>src/Ligg.EasyWinApp.ImplInterface/IAdapter.cs using System; using System.Data; namespace Ligg.EasyWinApp.ImplInterface { public interface IAdapter { void Initialize(); string ResolveConstants(string text); string Act(string funcName, string[] paramArray); string GetTe...
reCAPTCHA.MVC/DNMOFT.reCAPTCHA.MVC/CaptchaResponse.cs
DiomedesDominguez/reCAPTCHA.MVC
0
7049129
using Newtonsoft.Json; using System.Collections.Generic; namespace DNMOFT.reCAPTCHA.MVC { internal class CaptchaResponse { [JsonProperty("success")] public bool Success { get; set; } [JsonProperty("error-codes")] public List<string> ErrorCodes { get; set; } } }
Lilia/Migrations/LiliaDbContextModelSnapshot.cs
Swyreee/Lilia
7
7049130
<filename>Lilia/Migrations/LiliaDbContextModelSnapshot.cs // <auto-generated /> using Lilia.Database; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; #nullable disable namespace Lilia.Migrations { [DbContext(typ...
Engine/Service/ModelService.cs
berdon/RedInk
1
7049131
using Engine.Model; namespace Engine.Service { public class ModelService<TModel> where TModel : IModel { public virtual TModel Query(long id) { return default(TModel); } // public virtual TModel Query(QueryBuilder builder) { // return default(TModel); ...
CatFactory/Markdown/Md.cs
ewmccarty/CatFactory
0
7049132
<filename>CatFactory/Markdown/Md.cs namespace CatFactory.Markdown { /// <summary> /// /// </summary> public class Md { /// <summary> /// /// </summary> /// <param name="text"></param> /// <returns></returns> public static string Bold(string text) ...
PowerUp.Mongo/Contextos/ContextoMongo.cs
matheus-cuchi/PowerUp.Mongo
0
7049133
<filename>PowerUp.Mongo/Contextos/ContextoMongo.cs using MongoDB.Driver; using PowerUp.Mongo.Abstracao; using PowerUp.Mongo.Configracoes; namespace PowerUp.Mongo.Contextos; public class ContextoMongo { private readonly IMongoDatabase _database; private static readonly IDictionary<string, string> _cacheNomeCol...
Farm/TalkPoint.cs
SinsofSloth/RF5-global-metadata
1
7049134
<gh_stars>1-10 public class TalkPoint : MonoBehaviour, InteractionInterface, FocusInterface // TypeDefIndex: 10380 { // Fields public bool isTalking; // 0x18 private GameObject crystalCountDisplay; // 0x20 private string scriptName; // 0x28 // Properties public bool Focusable { get; } public FocusObjectType Foc...
Sleep Preventer/ViewModels/MainViewModel.cs
dtuchyk/sleep-preventer
0
7049135
<reponame>dtuchyk/sleep-preventer using System; using System.Windows.Input; using SleepPreventer.Commands; using SleepPreventer.Views; namespace SleepPreventer.ViewModels { public class MainViewModel : ViewModelBase { private readonly IMainWindow _mainWindow; private DateTime _updateDateTime; ...
src/Mp4Explorer/Services/MainService.cs
dimiden/MP4Explorer
2
7049136
//=============================================================================== // Copyright © 2009 CM Streaming Technologies. // All rights reserved. // http://www.cmstream.net //=============================================================================== using System; using System.Collections.Generic; ...
src/ProcessAssassin/_Common/IO/InMemoryStorage.cs
SilasReinagel/WinProcessKiller
0
7049137
using System.Collections.Generic; public sealed class InMemoryStorage : IStorage { private readonly Dictionary<string, object> _objects = new Dictionary<string, object>(); public bool Exists(string key) => _objects.ContainsKey(key); public void Put<T>(string key, T value) => _objects[key] = value; pub...
Assets/Scripts/BVHUtils/BVHProcessor.cs
mcsantiago/Unity_MotionMatching
0
7049138
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using UnityEngine; public class BVHProcessor { public int Frames = 0; public float FrameTime = 1000f / 60f; public BVHBone Root; public List<FeatureVector> FeatureVectors; public string Name; public List<BVHBone> Bo...
Philadelphia.Web/Mvp/Forms/TextInputFormView.cs
todo-it/philadelphia
3
7049139
<gh_stars>1-10 using Bridge.Html5; using Philadelphia.Common; namespace Philadelphia.Web { public class TextInputFormView : IFormView<HTMLElement> { public LabellessReadOnlyView Label { get; } public InputView Input { get; } = new InputView(); public InputTypeButtonActionView Confirm { get;...
SprockitViz/sprockitviz/GraphSource/Sprockit/SprockitGraphSource.cs
richardswinbank/sprockitviz
1
7049140
<reponame>richardswinbank/sprockitviz using FireFive.PipelineVisualiser.PipelineGraph; using System; using System.Data; using System.Data.SqlClient; namespace FireFive.PipelineVisualiser.GraphSource.Sprockit { /* * SprockitGraphSource class * Copyright (c) 2018-2019 <NAME> (<EMAIL>) * http://richardsw...
Sample.Composition/Installers/DbConnectionInstaller.cs
cfryerdev/composition-root-example
10
7049141
using Autofac; using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Text; namespace Sample.Composition.Installers { public class DbConnectionInstaller { private readonly ContainerOptions _options; public DbConnectionInstaller(ContainerOptions option...
Ryujinx.HLE/HOS/Services/Audio/HardwareOpusDecoderManager/IDecoder.cs
markbm/Ryujinx
6
7049142
namespace Ryujinx.HLE.HOS.Services.Audio.HardwareOpusDecoderManager { interface IDecoder { int SampleRate { get; } int ChannelsCount { get; } int Decode(byte[] inData, int inDataOffset, int len, short[] outPcm, int outPcmOffset, int frameSize); void ResetState(); } }
src/core/src/spans/models/SpanIterator.cs
0xCM/z0
0
7049143
//----------------------------------------------------------------------------- // Copyright : (c) <NAME>, 2020 // License : MIT //----------------------------------------------------------------------------- namespace Z0 { using System; using System.Runtime.CompilerServices; using static Root; ...
aspnet-core/src/AutoGenerateTestcase.Application/APIs/Requests/RequestAppService.cs
trungdotrong/codewar3
3
7049144
<gh_stars>1-10  using Abp.UI; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using AutoGenerateTestcase.Entities; using AutoGenerateTestcase.APIs.Requests.Dto; using System.Linq; using Abp.Authorizati...
SatSolverSdk/Strategy/GeneticAlgorithm/Crossing/RandomCrossStrategy.cs
tomaschladek/SAT_Solver
0
7049145
using System; using System.Collections; using System.Collections.Generic; using SatSolverSdk.Dtos; namespace SatSolverSdk.Strategy.GeneticAlgorithm.Crossing { public class RandomCrossStrategy : ICrossStrategy { public IEnumerable<BitArray> Cross(int vectorSize, Random random, List<FenotypDto> generati...
Lawn_Shared/Lawn/GameObject/GameObject.cs
MeWnoJinsei/PlantsVsZombies.NET
3
7049146
using System; using Sexy; namespace Lawn { public/*internal*/ abstract class GameObject { public virtual void PrepareForReuse() { Reset(); } protected GameObject() { Reset(); } protected virtual void Reset() { ...
Pantry.DomainClasses/Ingredient.cs
NathanLloydDev/LeanIn15
0
7049147
<filename>Pantry.DomainClasses/Ingredient.cs using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Pantry.DomainClasses { public class In...
Assignment_13/Assets/Scripts/Projectiles/LazerScript.cs
RokaRoka/assignment-13-shooter
0
7049148
using System.Collections; using System.Collections.Generic; using UnityEngine; public class LazerScript : MonoBehaviour { private GameObject player; private Rigidbody2D rb; public float lazerDamage = 2f; private float travelSpeed = 18f; private float maxTravelTime = 1f; private float t = 0; // Use this...
src/Be.Stateless.BizTalk.Claim.Store.Agent.Tests/Claim/Store/States/DataFileFixture.cs
emmanuelbenitez/Be.Stateless.BizTalk.Activity.Tracking
0
7049150
<reponame>emmanuelbenitez/Be.Stateless.BizTalk.Activity.Tracking #region Copyright & License // Copyright © 2012 - 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 // // ht...
VirtualPainting/KinectRecorder/SensorBody.cs
rgardner/Virtual-Painting
2
7049151
using System.Collections.Generic; using Microsoft.Kinect; using Newtonsoft.Json; namespace KinectRecorder { [JsonObject(MemberSerialization.OptOut)] public class SensorBody { public SensorBody() { } public SensorBody(Body body, KinectSensor kinectSensor) { ...
tags/OldHouse/OldHouse.Web/Areas/House/Controllers/HouseController.cs
the-real-jushen/CityGee
1
7049152
using AutoMapper; using OldHouse.Web.App_Start; using OldHouse.Web.Models; using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Remoting; using System.Web; using System.Web.Mvc; using Jtext103.OldHouse.Business.Services; using OldHouse.Web.Controllers; namespace OldHouse.Web.Areas.H...
src/Provider/Provider.Web/ViewModels/Part2/Considerations/ConsiderationsEditModel.cs
bjstone82/das-recruit
12
7049153
<gh_stars>10-100 using Esfa.Recruit.Provider.Web.RouteModel; namespace Esfa.Recruit.Provider.Web.ViewModels.Part2.Considerations { public class ConsiderationsEditModel : VacancyRouteModel { public string ThingsToConsider { get; set; } } }
src/Libraries/NHibernate/NHibernate.Linq/Visitors/GroupingArgumentsVisitor.cs
OrchardCMS/orchard
0
7049154
<gh_stars>0 using System.Collections.Generic; using NHibernate.Criterion; using NHibernate.Linq.Expressions; using Expression = System.Linq.Expressions.Expression; using NHProjections = NHibernate.Criterion.Projections; namespace NHibernate.Linq.Visitors { /// <summary> /// Visits an expression tree providing the a...
SfB Trusted Application/Job/JobHelper.cs
Bhaskers-Blu-Org2/CSE-Telehealth-Samples
9
7049155
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. using Microsoft.SfB.PlatformService.SDK.Common; namespace Microsoft.SfB.PlatformService.SDK.Samples.ApplicationCore { public class PlatformServiceClientJobHelper { public static PlatformServiceJobBase GetJ...
src/Dropcraft.Deployment.NetStandard/DeploymentEngine.cs
davidnajar/Dropcraft
17
7049156
<filename>src/Dropcraft.Deployment.NetStandard/DeploymentEngine.cs<gh_stars>10-100 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Dropcraft.Common; using Dropcraft.Common.Deployment; using Dropcraft.Common.Logging; using Dropcraft.Common.Package;...
MicroServiceGateway/MicroServiceGateway.Model/MSGNodeConfig.cs
yswenli/MicroServiceGateway
1
7049157
/**************************************************************************** *项目名称:MicroServiceGateway.Model *CLR 版本:4.0.30319.42000 *机器名称:WALLE-PC *命名空间:MicroServiceGateway.Model *类 名 称:MSGNodeConfig *版 本 号:V1.0.0.0 *创建人: yswenli *电子邮箱:<EMAIL> *创建时间:2020/8/21 13:45:47 *描述: *==========================================...
Diana.Generated/Methods.DString.cs
thautwarm/DianaScript-JIT
19
7049158
<gh_stars>10-100 using System; using System.Collections.Generic; namespace Diana { public partial class DString { public string Classname => "Str"; public static DModule module_instance {get; private set;} public static DObj bind_join(DObj[] _args) // bind method { var nargs = _args.Length; if (nargs ...
src/System.IO.Pipes/src/System/IO/Pipes/NamedPipeServerStream.Uap.cs
johnkellyoxford/corefx
15
7049159
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Runtime.InteropServices; namespace System.IO.Pipes { /// <summary> /// Named pipe server /...
GdbStub/Extensions.cs
daeken/SupercellNx
24
7049160
using System.IO; using System.Threading.Tasks; namespace GdbStub { public static class Extensions { public static async Task<byte> ReadByteAsync(this Stream stream) { var buf = new byte[1]; while(await stream.ReadAsync(buf, 0, 1) == 0) {} return buf[0]; } } }
Nlp20Crawler/Migrations/20200423152717_20200423.cs
cothema/nlp20-workers
1
7049161
<reponame>cothema/nlp20-workers<filename>Nlp20Crawler/Migrations/20200423152717_20200423.cs using System; using Microsoft.EntityFrameworkCore.Migrations; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; namespace Nlp20Crawler.Migrations { public partial class _20200423 : Migration { protected ove...
Language/OOPs/Methods - Static/Program.cs
PrasadHonrao/Learn.CSharp
1
7049162
using System; namespace Learn.CSharp.Language { public class Program { static void Main(string[] args) { GreetUser(); Console.ReadLine(); } public static void GreetUser() { Console.WriteLine("Welcome!"); } } }
src/Pa/Model/SymbolsAndPhones/PhoneInfo.cs
sillsdev/phonology-assistant
8
7049163
<filename>src/Pa/Model/SymbolsAndPhones/PhoneInfo.cs<gh_stars>1-10 // --------------------------------------------------------------------------------------------- #region // Copyright (c) 2005-2015, SIL International. // <copyright from='2005' to='2015' company='SIL International'> // Copyright (c) 2005-2015, SIL ...
src/AspNetCore/Example/Startup.cs
truongquoc/graphQL-example
0
7049164
using GraphQL.Server; using GraphQL.Types; using GraphQl_solution.Database; using GraphQl_solution.GraphQL; using GraphQl_solution.Infrastructure; using GraphQl_solution.Infrastructure.Services; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.EntityFrameworkCore; using Microsoft....
Code/Chapter_7/HippoAndWolf/HippoAndWolf/Wolf.cs
elGuille-info/fourth-edition
472
7049165
using System; using System.Collections.Generic; using System.Text; namespace HippoAndWolf { class Wolf : Canine, IPackHunter { public Wolf(bool belongsToPack) { BelongsToPack = belongsToPack; } public override void MakeNoise() { i...
Soma heranca/Soma/modelo/Validacao.cs
Reverdan/ds2e3_LPOO_1sem22
0
7049166
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Soma.modelo { internal class Validacao : Propriedades { public Validacao(string numero1, string numero2) { this.numero1 = numero1; this.numero2 ...
Assets/Scripts/Setting.cs
Archae0n/DumplingGame
0
7049167
<filename>Assets/Scripts/Setting.cs using UnityEngine; using UnityEngine.UI; public class Setting : MonoBehaviour { public GameObject settingScreen; // Use this for initialization void Start () { } // Update is called once per frame void Update () { } public void SettingScreen() {...
code/modules/undo/objects/ModelColorUndo.cs
Shark-vil/sandbox
0
7049168
using Sandbox; public class ModelColorUndo : ICanUndo { internal ModelEntity modelEntity { get; set; } internal Color32 pastColor { get; set; } public ModelColorUndo( ModelEntity modelEntity, Color32 pastColor ) { this.modelEntity = modelEntity; this.pastColor = pastColor; } public void DoUndo() => modelE...
osu.Game.Rulesets.Mania/Edit/ManiaSelectionHandler.cs
Malox10/osu
2
7049169
// Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Linq; using osu.Framework.Allocation; using osu.Framework.Timing; using osu.Game.Rulesets.Edit; using osu.Game.Rulesets.Mania.Edit.Blueprints;...
Project/Test/AddIns/CSharp/Parser/CSharpParserSampleFilesTest/TestData/CodeBoxBugs/26705.1.cs
sarvex/StyleCop
0
7049170
<filename>Project/Test/AddIns/CSharp/Parser/CSharpParserSampleFilesTest/TestData/CodeBoxBugs/26705.1.cs //----------------------------------------------------------------------- // <copyright file="ArrowHeadGenerator.cs" company="Microsoft"> // (c) Microsoft Corporation. All rights reserved. // </copyright> //-...
src/Chest/Modules/MsSqlModule.cs
lykkecloud/chest
0
7049171
<reponame>lykkecloud/chest using Autofac; using Chest.Data; using Lykke.Common.MsSql; using Microsoft.Extensions.Configuration; namespace Chest.Modules { public class MsSqlModule : Module { private readonly IConfiguration _configuration; public MsSqlModule(IConfiguration configurat...