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
Assets/Personal Folders/Harry/Dialogue/Triggers/DialogueTrigger.cs
forsbergsskola-se/game21-2021-1129-arpg-team-5
2
7032471
using Team5.Ui; using TMPro; using UnityEngine; using UnityEngine.UI; public class DialogueTrigger : MonoBehaviour { public Dialogue dialogue; private DialogueManager dialogueManager; private Image head; public Sprite sprite; private void Awake() { head = FindObjectOfType<HUD>().D...
Controls/BackgroundWorker-LoginFormWithProgressBar.Marquee-Useful.cs
s0AHC/CSharpSnippets
0
7032472
/*使用BackgroundWorker(已经封装好的线程工具)控件在后台线程执行费时的操作,在主线程中打开一个进度条窗体显示进度。 实现步骤 第0步:创建一个具有进度条的窗体,以显示进度 新建窗体ProcessForm,设置属性FormBorderStyle为None,添加一个ProcessBar控件,如下图所示: 进度条窗体 PrcessBar的Style属性设置为MarQuee。在ProcessForm添加如下公共属性:*/ /// <summary> /// 设置提示信息 /// </summary> public string MessageInfo { set { this.labelInf...
ScreenToGif/Util/Converters/SelectionCountToDescription.cs
airen3339/ScreenToGif
17,707
7032473
<reponame>airen3339/ScreenToGif using System; using System.Globalization; using System.Windows.Data; namespace ScreenToGif.Util.Converters { public class SelectionCountToDescription : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo culture) ...
CorePlugin/src/Formatter/XmlFormatterProvider.cs
XanatosX/XmlFormatter
2
7032474
<filename>CorePlugin/src/Formatter/XmlFormatterProvider.cs using PluginFramework.src.DataContainer; using PluginFramework.src.Formatter; using System; using System.Threading.Tasks; using System.Xml.Linq; namespace CorePlugin.src.Formatter { /// <summary> /// A xml formatter class instance /// </summary> ...
src/Coldairarrow.Web/App_Start/02Extentions/Extention.HttpRequest.cs
horsewww/Colder.Fx.Core.AdminLTE
482
7032475
using Coldairarrow.Util; using Microsoft.AspNetCore.Http.Extensions; namespace Microsoft.AspNetCore.Http { /// <summary> /// 拓展类 /// </summary> public static partial class Extention { /// <summary> /// 判断是否为AJAX请求 /// </summary> /// <param name="req"></param> ...
TP2/Compte.cs
firaszouari/TP2
0
7032476
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TP2 { public class Compte { List<Mouvements> lmouv = new List<Mouvements>(); String numcompt; double sold; string titulaire; public List<Mouvem...
silverneedle-asp/Views/Character/_rage-powers.cshtml
shortlegstudio/silverneedle-web
4
7032478
@using SilverNeedle.Characters; @using SilverNeedle.Characters.SpecialAbilities; @using SilverNeedle.Utility; @{ var character = (CharacterSheetTextView)ViewData["Character"]; var charFull = (CharacterSheet)ViewData["characterFull"]; } @if(charFull.Contains<RagePower>()) { <div class="row"> <div cla...
Information Center - License Manager/[.NET3.5CF]/IC.LicenseManager.CryptoService/LicenseVerifier.cs
xEvilDevilx/The-Information-Center
1
7032479
using System; using System.IO; using IC.LicenseManager.BusinessObjects; using IC.LicenseManager.Interfaces; using IC.SDK.Base.Enums; using IC.SDK.Interfaces.Serialization; using IC.SDK.Serialization; namespace IC.LicenseManager.CryptoService { /// <summary> /// Implements License Verifier interface /// ...
Assets/Resources/Imported/Destructible 2D/Examples/Scripts/D2dClickToFracture.cs
jdaev/NightAtTheMuseum
0
7032480
using UnityEngine; #if UNITY_EDITOR using UnityEditor; #endif namespace Destructible2D.Examples { /// <summary>This component allows you to fracture a destructible sprite under the mouse.</summary> [AddComponentMenu(D2dHelper.ComponentMenuPrefix + "Click To Fracture")] public class D2dClickToFracture : MonoBehaviou...
src/Edi.Core/Utillities/FileSystem/FileChangeWatcher.cs
gaelgael5/edi
269
7032481
<reponame>gaelgael5/edi<filename>src/Edi.Core/Utillities/FileSystem/FileChangeWatcher.cs namespace Edi.Core.Models.Utillities.FileSystem { using System; using System.IO; using Edi.Core.Interfaces.Documents; // Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team // // Permission is he...
SimpleCloudFiles/Dtos/SourceFile.cs
sutayaku/SimpleCloudFiles
0
7032482
namespace SimpleCloudFiles.Dtos { public class SourceFile { /// <summary> /// 源文件名 /// </summary> public string Name { get; set; } /// <summary> /// 源文件扩展名 /// </summary> public string Ext { get; set; } /// <summary> /// 源文件文件md5 ...
More.Net/Linq/Expressions/Function.cs
fallfromgrace/More.Net
0
7032483
<reponame>fallfromgrace/More.Net using System; using System.Linq.Expressions; namespace More.Net.Linq.Expressions { /// <summary> /// /// </summary> /// <remarks> /// From MiscUtil written by Jon with minor bug fixes and modifications. /// </remarks> public static class Function { ...
Services/RecipeProviderDB.cs
sebalr/recipes-client
0
7032484
<reponame>sebalr/recipes-client<gh_stars>0 using System.Collections.Generic; using to_cook.Models; namespace to_cook.Services { public interface IRecipeProviderDB { ICollection<Recipe> Recipes(); } public class RecipeProviderDB : IRecipeProviderDB { ICollection<Recipe> _recipes; ...
HebrewNLP/Models/Requests/Ner/NerCitiesRequest.cs
RUTHZILBER/BLD.analyzing
5
7032485
using System.Collections.Generic; using Newtonsoft.Json; namespace HebrewNLP.Website.Services.Requests { public class NerCitiesRequest : BaseRequest { [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] public string text; [JsonProperty(NullValueHandling = NullValueHandling....
sdk/dotnet/NetworkLoadBalancer/Outputs/GetBackendSetsBackendSetCollectionItemHealthCheckerResult.cs
EladGabay/pulumi-oci
5
7032486
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
Application/Features/FeedbackSheet/Queries/GetAll/GetAllFeedbackSheetsQuery.cs
Devsquares/AdlerZentrum-BackEnd
0
7032487
<filename>Application/Features/FeedbackSheet/Queries/GetAll/GetAllFeedbackSheetsQuery.cs using Application.Enums; using Application.Filters; using Application.Interfaces.Repositories; using Application.Wrappers; using AutoMapper; using MediatR; using System; using System.Collections.Generic; using System.Text; using Sy...
src/Cofoundry.Domain/Data/DbContext/Users/UserPasswordResetRequestMap.cs
hur1can3/cofoundry
780
7032488
<gh_stars>100-1000 using Cofoundry.Core; using Cofoundry.Core.EntityFramework; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using System; namespace Cofoundry.Domain.Data { public class UserPasswordResetRequestMap : IEntityTypeConfiguration<UserPasswordResetRequest> ...
Usda.PlantBreeding.Data/MapComponentYears.cs
osu-cass/usda-plant-breeding
2
7032489
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
Squids-Movies-App/SquidsMovieApp.Logic/Contracts/IMovieService.cs
The-Madly-Squids/Squids-Movies
0
7032490
<reponame>The-Madly-Squids/Squids-Movies using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SquidsMovieApp.Models; using SquidsMovieApp.DTO; namespace SquidsMovieApp.Logic.Contracts { public interface IMovieService { IEnumerable<Mo...
src/Hesira/Areas/Common/Controllers/UsersController.cs
razvalex/Hesira
0
7032491
using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Web; using System.Web.Mvc; using BForms.Grid; using BForms.Models; using BForms.Mvc; using DocumentFormat.OpenXml.Spreadsheet; using Hesira.Areas.Common.Extensions; using Hesira.Areas.Common.Models; using Hesira.Are...
src/Nest/Aggregations/Metric/TopMetrics/TopMetricsAggregation.cs
schmitch/elasticsearch-net
2,851
7032492
// Licensed to Elasticsearch B.V under one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System; using System.Collections.Generic; using System.Runtime.Serialization; using Nest.Utf8Json; namespac...
LicenseDRIVER/03-Services/Dtos/TeacherDto.cs
EmmaSleghel/LicenseDriver
0
7032493
<reponame>EmmaSleghel/LicenseDriver using System; using System.Collections.Generic; using System.Text; namespace Services.Dtos { public class TeacherDto:UserDto { public Guid TeacherId { get; set; } public string Class { get; set; } } }
SGU-Three-Tier-MVC-2018/Sgu.Shop/Sgu.Shop.PL/Global.asax.cs
NurAliia/SGU-Three-Tier-MVC
0
7032494
<filename>SGU-Three-Tier-MVC-2018/Sgu.Shop/Sgu.Shop.PL/Global.asax.cs using Ninject; using Ninject.Web.Common.WebHost; using Sgu.StudentTesting.PL.App_Start; using System.Web.Mvc; using System.Web.Optimization; using System.Web.Routing; namespace Sgu.StudentTesting.PL { public class MvcApplication : NinjectHttpAp...
src/MassTransit.Futures/Contracts/Ask.cs
misiek-it/MassTransit
3
7032496
<reponame>misiek-it/MassTransit namespace MassTransit.Contracts { using System; /// <summary> /// Sent to check if a request is able to be processed by the endpoint /// </summary> public interface Ask<out T> where T : class { /// <summary> /// The client asking ...
Flowers Yasuo/MyCommon/MyExtraManager.cs
ActionCrafted/EnsoulSharpS
0
7032497
namespace Flowers_Yasuo.MyCommon { #region using System; using System.Collections.Generic; using System.Linq; using SharpDX; using EnsoulSharp; using Flowers_Yasuo.MyBase; using EnsoulSharp.SDK; #endregion public static class MyExtraManager { public static IEnu...
MoPlus.ViewModel.Tests/BaseTest.cs
moplus/modelorientedplus
5
7032498
using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.VisualStudio.TestTools.UnitTesting; using MoPlus.ViewModel.Entities; using MoPlus.ViewModel.Events; using MoPlus.View...
test/Libmacs.Tests/MathTypes/Fraction/FractionHelperTests.cs
ebresafegaga/Libmacs
1
7032500
<filename>test/Libmacs.Tests/MathTypes/Fraction/FractionHelperTests.cs<gh_stars>1-10 using MathAPI.Helpers; using MathAPI.MathTypes; using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using Xunit; using Xunit.Abstractions; #nullable enable namespace...
06. C# OOP Advanced/Object Communication and Events Exercises/03. Dependency Inversion/StrategyManager.cs
flyelmos/Software-University
1
7032501
namespace _03.Dependency_Inversion { using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using _03.Dependency_Inversion.Contracts; public class StrategyManager { private readonly Dictionary<string, IStrategy> createdStrategies; publi...
shadowsocks-csharp/Util/Util.cs
zhanghaichuan/shadowsocks-csharp-3.7.4.1
0
7032502
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.IO.Compression; using System.Net; using System.Net.Sockets; using System.Runtime.InteropServices; using System.Security.Cryptography; namespace Shadowsocks.Util { public class Utils { public static ...
src/EditorFeatures/CSharpTest/Diagnostics/GenerateType/GenerateTypeWithUnboundAnalyzerTests.cs
myblindy/roslyn
8
7032503
// 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.Collections.Immutable; using System.Threading.Tasks; using Microsoft.CodeAnalysis.CodeActions; using M...
src/NetDimension.NanUI.DataServiceResource/DataService.cs
wenfeifei/NanUI
2,441
7032504
<gh_stars>1000+ using System; using System.Collections.Generic; using System.Text; using NetDimension.NanUI.ResourceHandler; namespace NetDimension.NanUI.DataServiceResource { public abstract class DataService { protected ResourceResponse Json(object data, System.Text.Json.JsonSerializerOptions jsonSe...
Assets/Componets/MenuSceneLoder.cs
kamera25/Hakopro
0
7032505
using UnityEngine; using System.Collections; public class MenuSceneLoder : MonoBehaviour { public string scene; public void LoadSceneButton() { if (scene == null) { Debug.LogError ("No set scene!!!"); return; } Application.LoadLevel (scene); } }
src/MailCheck.Spf.Poller/Expansion/SpfIncludeTermExpander.cs
ukncsc/MailCheck.Public.Spf
0
7032506
using System; using System.Collections.Generic; using System.Threading.Tasks; using MailCheck.Spf.Poller.Dns; using MailCheck.Spf.Poller.Domain; using MailCheck.Spf.Poller.Parsing; namespace MailCheck.Spf.Poller.Expansion { public class SpfIncludeTermExpander : ISpfTermExpanderStrategy { private reado...
src/Yale/Expression/Elements/CastElement.cs
eskaufel/Yale
0
7032507
<reponame>eskaufel/Yale using System; using System.Diagnostics; using System.Reflection; using System.Reflection.Emit; using Yale.Core; using Yale.Expression.Elements.Base; using Yale.Parser.Internal; using Yale.Resources; namespace Yale.Expression.Elements { internal class CastElement : BaseExpressionElement ...
Clients/Xamarin.Interactive.Client.Web/Hubs/InteractiveSessionHub.cs
slodge/workbooks
415
7032508
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System; using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Channels; using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Sign...
ProSeeker/Web/ProSeeker.Web/Views/Ads/MyAds.cshtml
q2kPetrov/ProSeeker-
0
7032509
@model ProSeeker.Web.ViewModels.Ads.GetAllViewModel @if (!Model.Ads.Any()) { <h2 class="custom-golden-text">Все още нямате регистрирани обяви!</h2> } else { @if (TempData["Message"] != null) { <div class="alert alert-success alert-dismissible text-center" st...
Code/RepairShop/ServerModels/Job.cs
AymanGaafar/RepairShop
0
7032510
namespace RepairShop.Models { using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity.Spatial; [Table("Job")] [System.Web.Mvc.Bind(Exclude = "JobId,Code")] public partial cl...
Assets/Scripts/UtilityGameOverObserver.cs
cmsBrickFormation/BrickFormation
0
7032511
using System.Collections; using System.Collections.Generic; using UnityEngine; public class UtilityGameOverObserver : MonoBehaviour { public string gameOverScene = "GameOverView"; void Update() { if (PlayerPrefs.GetInt("gameover") == PlayerPrefs.GetInt("playercount")) FindObjectOfType<UtilitySceneMan...
Release/Silverlight5/Source/Microsoft.Silverlight.Testing/Client/ResultsTreeViewItem.cs
incoplex/SilverlightToolkit
38
7032512
<gh_stars>10-100 // (c) Copyright Microsoft Corporation. // This source is subject to [###LICENSE_NAME###]. // Please see [###LICENSE_LINK###] for details. // All other rights reserved. using System; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Wi...
src/providers/Azos.MongoDb/Security/MinIdp/Instrumentation/GetRole.cs
erxdkh/azos
0
7032513
<reponame>erxdkh/azos /*<FILE_LICENSE> * Azos (A to Z Application Operating System) Framework * The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license. * See the LICENSE file in the project root for more information. </FILE_LICENSE>*/ using System.Linq; using Azos.Conf; using Azos.Da...
Assets/Scripts/Weapons/Projectiles/RocketProjectile.cs
Agentvm/Kleine-Autos
1
7032514
<filename>Assets/Scripts/Weapons/Projectiles/RocketProjectile.cs<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using System.Threading.Tasks; using UnityEngine; public class RocketProjectile : ProjectileBase { [SerializeField] [Range(1f, 100f)] private float _turningSpeed = 50f; ...
snippets/csharp/VS_Snippets_Data/Classic WebData XmlDocument.CreateComment Example/CS/source.cs
ericmutta/samples
1
7032515
// <Snippet1> using System; using System.IO; using System.Xml; public class Sample { public static void Main() { XmlDocument doc = new XmlDocument(); doc.LoadXml("<book genre='novel' ISBN='1-861001-57-5'>" + "<title>Pride And Prejudice</title>" + "</book>"); //Create a...
eTutor.SOLUTION/eTutor.Persistence/Migrations/20200104213352_addedCancelerUserToMeetings.cs
juandozuna/eTutor.BackEnd
1
7032516
using Microsoft.EntityFrameworkCore.Migrations; namespace eTutor.Persistence.Migrations { public partial class addedCancelerUserToMeetings : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateIndex( name: "IX_Meetings...
BBallGraphs.BasketballReferenceScraper/Player.cs
davghouse/BBallGraphs
2
7032518
using System; namespace BBallGraphs.BasketballReferenceScraper { public class Player : IPlayer { public string ID { get; set; } public string FeedUrl { get; set; } public string Name { get; set; } public int FirstSeason { get; set; } public int LastSeason { get; set; } ...
DomainLayer/DomainModel/Models/Auction.cs
andrei-curta/auction-enterprise-app
0
7032519
<reponame>andrei-curta/auction-enterprise-app<gh_stars>0 // <copyright file="Auction.cs" company="Transilvania University of Brașov"> // Copyright (c) <NAME>. All rights reserved. // </copyright> namespace DomainModel.Models { using System; using System.ComponentModel.DataAnnotations; using System.Compone...
Cogito.ServiceFabric/StatelessService.cs
macgyver2k/Cogito.ServiceFabric
0
7032520
using System; using System.Collections.Generic; using System.Diagnostics.Contracts; using System.Fabric; using System.Fabric.Health; using System.Threading; using System.Threading.Tasks; using Microsoft.ServiceFabric.Services.Communication.Runtime; using Microsoft.ServiceFabric.Services.Remoting; using Microsoft.Serv...
SharpFE.Core/Elements/FiniteElement1D.cs
iainsproat/SharpFE
30
7032521
<gh_stars>10-100 //----------------------------------------------------------------------- // <copyright file="FiniteElement1D.cs" company="<NAME>"> // Copyright <NAME>, 2013. // </copyright> //----------------------------------------------------------------------- namespace SharpFE { using System; using ...
src/Stripe/Services/OAuth/StripeOAuthTokenService.cs
mattbrailsford/stripe.net
1
7032522
<gh_stars>1-10 namespace Stripe { public class StripeOAuthTokenService { private string ApiKey { get; set; } public StripeOAuthTokenService(string apiKey = null) { ApiKey = apiKey; } public virtual StripeOAuthToken Create(StripeOAuthTokenCreateOptions createOptions) { var url = ParameterBuilder.A...
src/Square.Connect.Test/Api/CatalogApiTests.cs
skuvault/Square.Connect.SV
0
7032523
<reponame>skuvault/Square.Connect.SV using NUnit.Framework; using System; using Square.Connect.Api; using Square.Connect.Client; using Square.Connect.Model; using System.Collections.Generic; using System.Linq; using static Square.Connect.Model.CatalogObject; namespace Square.Connect.Test { /// <summary> ///...
WeaverBuildTools/Commands/LoadResourceCMD.cs
nickc01/WeaverCore
4
7032524
<filename>WeaverBuildTools/Commands/LoadResourceCMD.cs using Mono.Cecil; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using WeaverCore.Utilities; namespace WeaverBuildTools.Commands { public static class LoadResourceCMD { public static void LoadResource(st...
TestAssemblies/AssemblyToProcess/ClassAlreadyHasSingleNotificationDiffParamLocation.cs
Stelzi79/PropertyChanged
0
7032525
<filename>TestAssemblies/AssemblyToProcess/ClassAlreadyHasSingleNotificationDiffParamLocation.cs<gh_stars>0 using System.ComponentModel; public class ClassAlreadyHasSingleNotificationDiffParamLocation : INotifyPropertyChanged { string property1; public string Property1 { get { return property1; } ...
1 Fundamental/1.1/1.1.23/Program.cs
xuxu66/Algorithms-4th-Edition-in-Csharp
1
7032526
using System; using System.IO; namespace _1._1._23 { /* * 1.1.23 * * 为 BinarySearch 的测试用例添加一个参数: * + 打印出标准输入中不在白名单上的值; * - 则打印出标准输入中在白名单上的值。 */ class Program { static void Main(string[] args) { // 从largeW.txt中读取数据 string[] whiteList = ...
Src/Microsoft.Dynamic/Runtime/IdDispenser.cs
ufuomaoritsemone/ironpPython1
0
7032527
// 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 System; using System.Collections.Generic; using Microsoft.Scripting.Utils; namespace Microsoft.Scripti...
Samples/Blazor/Snijderman.Samples.Blazor.Mvvm/Snijderman.Samples.Blazor.Mvvm.ViewModels/ClockViewModel.cs
Snijderman/Snijderman
0
7032528
<filename>Samples/Blazor/Snijderman.Samples.Blazor.Mvvm/Snijderman.Samples.Blazor.Mvvm.ViewModels/ClockViewModel.cs<gh_stars>0 using System; using System.Timers; using Snijderman.Common.Mvvm; namespace Snijderman.Samples.Blazor.Mvvm.ViewModels; public class ClockViewModel : ViewModelBase, IDisposable { private rea...
src/Square.Connect/Model/CustomerInclusionExclusion.cs
jmawebtech/connect-csharp-sdk
0
7032529
/* * Square Connect API * * Client library for accessing the Square Connect APIs * * OpenAPI spec version: 2.0 * Contact: <EMAIL> * Generated by: https://github.com/swagger-api/swagger-codegen.git */ using System; using System.Linq; using System.IO; using System.Text; using System.Text.RegularExpressions; usi...
TrueCraft.Core/Entities/GiantZombieEntity.cs
woodvale/TrueCraft
10
7032530
<reponame>woodvale/TrueCraft using System; namespace TrueCraft.Core.Entities { public class GiantZombieEntity : ZombieEntity { public override Size Size { get { return new Size(0.6, 1.8, 0.6) * 6; } } public override short Ma...
GnuCash.TransactionImportGenerator/Model/Operation.cs
AdrianS-PL/GnucashPlDataImportGenerator
0
7032531
<filename>GnuCash.TransactionImportGenerator/Model/Operation.cs using System; using System.Collections.Generic; using System.Text; namespace GnuCash.TransactionImportGenerator.Model { public class Operation { public string AccountCode { get; set; } public DateTime Date { get; set; } pu...
sdk/dotnet/StorageGateway/CachesIscsiVolume.cs
johnktims/pulumi-aws
0
7032532
<reponame>johnktims/pulumi-aws // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; usi...
Algorithms/Sorting/FindTheMedian.cs
regeldso/hrank
0
7032533
// using counting sort using System; class Solution { static void Main(String[] args) { int n = Convert.ToInt32(Console.ReadLine()); int[] ar_val = new int[n]; int[] ar_n = new int[n]; int current_value = 0; string[] split_elements = Console.ReadLine().Split(' '); ...
tests/test.Alrecall/TestHeapSort.cs
vitohk/AlRecall
0
7032534
using System; using Alrecall.Structures.Arrays; using Xunit; namespace test.Alrecall { public class TestHeapSort { public TestHeapSort () { } [Fact] public void TestShortArray () { int[] inArray = { 0, 23, 589, 0, 3, 5, 6, 7, 8, 34, 8 }; Console.WriteLine...
sdk/src/Services/WAFV2/Generated/Model/RuleGroup.cs
ChristopherButtars/aws-sdk-net
1,705
7032535
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fi...
SpaceGame/Assets/Scripts/FuelDrop.cs
Kill-The-Data/NoNameSpecifiedByTeam
0
7032536
using System.Collections; using System.Collections.Generic; using EventHandler = SpaceGame.EventHandler; using UnityEngine; [RequireComponent(typeof(BuoyFillUp))] public class FuelDrop : MonoBehaviour { [SerializeField] private Vector3 m_offset = Vector3.zero; [SerializeField] private GameObject m_fuelPrefab =...
Services/CategoryService.cs
MatijaNovosel/fin-app-backend
1
7032538
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Threading.Tasks; using fin_app_backend.Services.Interfaces; using fin_app_backend.Repositories.Interfaces; using fin_app_backend.Models; using fin_app_backend.Mapper; using fin_app_backend.Utils; using System.Linq; namespace fin_app_backend.Se...
src/Medic.Entities/ClinicUsedDrug.cs
eeevgeniev/ITSPMedic
0
7032539
<reponame>eeevgeniev/ITSPMedic using Medic.Entities.Bases; using Medic.Entities.Contracts; using Medic.Mappers.Contracts; using System; namespace Medic.Entities { /// <summary> /// CLPR -> ClinicUsedDrug /// </summary> [Serializable] public partial class ClinicUsedDrug : BaseEntity, IModelBuilder,...
PSSwagger.LiveTestFramework/src/PSSwagger.LTF.Lib/Logging/Logger.cs
LaudateCorpus1/PSSwagger
181
7032540
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. namespace PSSwagger.LTF.Lib.Logging { using Interfaces; using Newtonsoft.Json; using System; using System.Globalization; using System.Text; using System.Threading.Tasks; /// <summary> /// Lo...
Assets/Scripts/Model/Ships/StarViper/Guri.cs
stwangner/FlyCasual
0
7032541
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using System.Linq; using Ship; using Abilities; namespace Ship { namespace StarViper { public class Guri : StarViper { public Guri() : base() { PilotName = "Guri...
Gu.Reactive.Analyzers/Helpers/Comparers/SymbolComparer.cs
forki/Gu.Reactive
0
7032542
namespace Gu.Reactive.Analyzers { using System; using System.Collections.Generic; using Microsoft.CodeAnalysis; public class SymbolComparer : IEqualityComparer<ISymbol> { public static readonly SymbolComparer Default = new SymbolComparer(); private SymbolComparer() { ...
src/Codeworx.Identity.EntityFrameworkCore/LoginRegistrationProvider{TContext}.cs
steffibreuer/identity
0
7032544
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Codeworx.Identity.EntityFrameworkCore.Model; using Codeworx.Identity.Login; using Microsoft.EntityFrameworkCore; namespace Codeworx.Identity.EntityFrameworkCore { public class LoginRegistrationProvider<TContext>...
SDS/SdsFile.cs
iwiwsb/MFT-1
42
7032545
using System.IO; using Secure; namespace SDS { public static class SdsFile { public static Sds Load(string sdsFile) { if (File.Exists(sdsFile) == false) { throw new FileNotFoundException($"'{sdsFile}' not found"); } using (var fs...
src/MineCase.Algorithm/Game/Entity/Ai/MobAi/CreatureAi.cs
CyberFlameGO/MineCase
708
7032547
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using MineCase.Server.World.EntitySpawner; using MineCase.Server.World.EntitySpawner.Ai; using MineCase.Server.World.EntitySpawner.Ai.Action; using Stateless; namespace MineCase.Algorithm.Game.Entity.Ai.MobAi { public...
Lab4/Lab4/MainWindow.xaml.cs
andbolotin/BKIT_LABS
0
7032548
<filename>Lab4/Lab4/MainWindow.xaml.cs using System; using System.IO; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media;...
Cecil.Decompiler/Common/UnionFinder.cs
realvino/JustDecompileEngine
1,371
7032549
using System; using System.Collections.Generic; namespace Telerik.JustDecompiler.Common { class UnionFinder<T> { private readonly Dictionary<T, UnionNode> elementToNodeMap = new Dictionary<T, UnionNode>(); private UnionNode GetNode(T element) { UnionNode node; ...
Buffs/Potions/Forest/ForestBuff.cs
JuicyJabon/Buffaria
1
7032550
<filename>Buffs/Potions/Forest/ForestBuff.cs using IL.Terraria.ID; using Terraria; using Terraria.ModLoader; namespace Buffaria.Buffs.Potions.Forest { public class ForestBuff : ModBuff { public override void SetDefaults() { DisplayName.SetDefault("Forest"); D...
WRK-V1.2/tests/generics/virtualmethods/tail.cs
intj-t/openvmsft
0
7032551
<filename>WRK-V1.2/tests/generics/virtualmethods/tail.cs // ==++== // // // Copyright (c) 2006 Microsoft Corporation. All rights reserved. // // The use and distribution terms for this software are contained in the file // named license.txt, which can be found in the root of this distribution. // By ...
Assets/Scripts/Phases/CheckGameResultPhase.cs
shenchi/MiniWar
1
7032552
using UnityEngine; using System.Collections; using System.Collections.Generic; public class CheckGameResultPhase : Phase { public override void OnEnter() { base.OnEnter(); var players = GamePlay.Instance.GetAllPlayers(); var remainingPlayers = new List<PlayerAgent>(); foreac...
TestProjects/Navigation/RoutingExample.Core/ViewModels/ViewModelC.cs
Oglan/MvvmCross
0
7032553
<filename>TestProjects/Navigation/RoutingExample.Core/ViewModels/ViewModelC.cs<gh_stars>0 using System; using System.Threading.Tasks; using MvvmCross.Core.ViewModels; namespace RoutingExample.Core.ViewModels { public class ViewModelC : MvxViewModel<Tuple<string, int>,string> { private string _navigate...
workers/unity/Packages/com.improbable.gdk.core/Logging/ForwardingDispatcher.cs
filod/gdk-for-unity
0
7032554
<gh_stars>0 using System; using System.Collections.Generic; using Improbable.Worker.CInterop; using UnityEngine; namespace Improbable.Gdk.Core { /// <summary> /// Forwards logEvents and exceptions to the SpatialOS Console and logs locally. /// </summary> public class ForwardingDispatcher : ILogDis...
Unit Testing/Unit Testing Lab Problems/P03_My_Demos/Calculator.cs
danstoyanov/CSharp-OOP
2
7032557
using System.Linq; namespace P03MyTestDemos.App { public class Calculator { public int Sum(params int[] numbers) => numbers.Sum(); public int Product (params int[] numbers) { int result = 1; for (int i = 0; i < numbers.Length; i++) { ...
TourDeFrance.Client/Responses/StageDrinkResponses.cs
pierresebastien/TourDeFrance
0
7032558
<filename>TourDeFrance.Client/Responses/StageDrinkResponses.cs using System; using TourDeFrance.Client.Enums; namespace TourDeFrance.Client.Responses { public class StageDrink { public Guid Id { get; set; } public Guid DrinkId { get; set; } public string DrinkName { get; set; } // NOTE: in percent publ...
src/Backend/Domain/Auth.Entity/Ids4Entity/ApiResources/ApiResourceScope.cs
SnowCats/Authority
0
7032559
using System; using Dapper.Contrib.Plus; namespace Auth.Entity.Ids4Entity { /// <summary> /// ApiResourceScope /// </summary> [Table("api_resource_scopes")] public class ApiResourceScope : SeedWork.Entity { /// <summary> /// 作用域 /// </summary> public string Scop...
Assets/Plugins/Kilosoft/EditorButton/Editor/ButtonEditor.cs
christides11/touhou-unlimited-fantasies
6
7032560
using System.Linq; using System.Reflection; using UnityEditor; using UnityEngine; namespace Kilosoft.Tools { /// <summary> /// Draw button in Inspector /// </summary> [CustomEditor(typeof(Object), true, isFallback = false)] [CanEditMultipleObjects] public class ButtonEditor : Editor { ...
XFramework/XFramework/Server/XFramework.Domain/DataTransferObjects/TblUserInfo.cs
kaizendevsio/XFramework
1
7032561
using System; using System.Collections.Generic; using XFramework.Domain.Generic.Enums; namespace XFramework.Domain.DataTransferObjects { public partial class TblUserInfo { public TblUserInfo() { TblAddresses = new HashSet<TblAddresses>(); TblUserContacts = new HashSet<T...
src/starkdev.spreadrecon.data/sql/PessoaSQL.cs
CharlesMendes/SpreadRecon
1
7032562
<filename>src/starkdev.spreadrecon.data/sql/PessoaSQL.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace starkdev.spreadrecon.data { /// <summary> /// Pessoa /// Tabela Teste de CRUD /// </summary> public s...
tabnine-vim/third_party/ycmd/third_party/OmniSharpServer/NRefactory/ICSharpCode.NRefactory.Tests/CSharp/CodeIssues/UnusedParameterIssueTests.cs
MrMonk3y/vimrc
324
7032563
// // ParameterNotUsedIssueTests.cs // // Author: // <NAME> <<EMAIL>> // // Copyright (c) 2012 <NAME> <<EMAIL>> // // 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 restric...
src/Nest/Domain/Responses/IBulkResponse.cs
Bloomerang/elasticsearch-net
2
7032564
<gh_stars>1-10 using System.Collections.Generic; namespace Nest { public interface IBulkResponse : IResponse { int Took { get; } bool Errors { get; } IEnumerable<BulkOperationResponseItem> Items { get; } IEnumerable<BulkOperationResponseItem> ItemsWithErrors { get; } } }
src/Templates/GetStarted/Microsoft.VisualStudio.Templates.GetStarted.Desktop/Content/content.form1.designer.cs
jjmew/templates
0
7032565
<gh_stars>0 namespace $safeprojectname$ { partial class Form1 { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
IComparable_Interface/IComparable_Interface/CylinderAreaComparer.cs
Woobly-Shnufflepops/Year-1-Quarter-4
0
7032566
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IComparable_Interface { public class CylinderAreaComparer : IComparer<Cylinder> { public int Compare(Cylinder x, Cylinder y) { if (x.Area() > y.Area()) retu...
Server/Services/Generators/ExhibitionGuideGenerateService.cs
MurielSoftware/MyArt
0
7032567
using Microsoft.Office.Interop.Word; using Shared.Core.Context; using Shared.Core.Services; using Shared.Dtos.Generators; using Shared.Services.Generators; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Server.Services.Generators { pub...
test/UnitTest/Components/MultiSelectTest.cs
First-Coder/BootstrapBlazor
0
7032568
<reponame>First-Coder/BootstrapBlazor // Copyright (c) <NAME> (<EMAIL>). All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Website: https://www.blazor.zone or https://argozhang.github.io/ using BootstrapBlazor.Shared; using UnitTest...
AdoptMe/Services/Shelters/IShelterService.cs
Zlatomir9/AdoptMe
0
7032569
<gh_stars>0 namespace AdoptMe.Services.Shelters { using System.Threading.Tasks; using AdoptMe.Data.Models; public interface IShelterService { int Create(string name, string phoneNumber, string cityName, string streetName, string streetNumber, string userId); public bool RegistrationIs...
Assets/Scripts/Model/Star.cs
SolidID/BotF2.1
0
7032570
using System.Collections.Generic; using Assets.Scripts.API; namespace Assets.Scripts.Model { public class Star : IStar { public float Size { get; set; } public StarClass Class { get; set; } public IList<IResource> Resources { get; set; } } }
OlaKit.Extensions/Security/PermissionManager.cs
Oladn/OlaKit
0
7032571
<reponame>Oladn/OlaKit using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Caching.Memory; using Ola.Data; using Ola.Extensions.Identity.Permissions; namespace OlaKit.Extensions.Security { /// <summary> /// 权限管理类。 /// </summary> public class PermissionManager : PermissionManager<UserRole, Role...
dotnetcore/IdentityUtils.Core.Services.Tests/Setup/DtoModels/TenantDto.cs
intellegens-hr/utils-identity
0
7032572
<filename>dotnetcore/IdentityUtils.Core.Services.Tests/Setup/DtoModels/TenantDto.cs using IdentityUtils.Core.Contracts.Tenants; using System; using System.Collections.Generic; using System.Linq; namespace IdentityUtils.Core.Services.Tests.Setup.DtoModels { public class TenantDto : IIdentityManagerTenantDto, IEqua...
Equipment/AffixPillaging.cs
TheMysticSword/EliteVariety
0
7032573
using RoR2; using System.Collections.Generic; using UnityEngine; using MysticsRisky2Utils; using RoR2.Audio; using UnityEngine.Networking; using R2API.Networking.Interfaces; using R2API.Networking; using RoR2.Orbs; using System.Linq; namespace EliteVariety.Equipment { public class AffixPillaging : BaseEliteAffix ...
tests/ServiceStack.WebHost.Endpoints.Tests/CustomerRestExample.cs
BruceCowan-AI/ServiceStack
4
7032574
<gh_stars>1-10 using System.Collections.Generic; using Funq; using NUnit.Framework; using ServiceStack; using ServiceStack.Data; using ServiceStack.DataAnnotations; using ServiceStack.OrmLite; namespace NewApi.Customers { public class AppHost : AppSelfHostBase { public AppHost() : base("Cu...
tang/src/modules/essential/Sailina.Tang.Essential.Implement/Sailina/Tang/Essential/PropsSystem/PropsHandlers/PropsHandlerProvider.cs
wzd24/bougainvillea
0
7032575
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Scorpio.Bougainvillea.Props; using Scorpio.DependencyInjection; namespace Sailina.Tang.Essential.PropsHandlers { internal class PropsHandlerPr...
GameAssistant/Pages/ClockSettingsPage.xaml.cs
BlokerX/NewGameAssistant
0
7032576
<reponame>BlokerX/NewGameAssistant<filename>GameAssistant/Pages/ClockSettingsPage.xaml.cs using GameAssistant.Core; using GameAssistant.Models; using GameAssistant.Services; using GameAssistant.Widgets; using GameAssistant.WidgetViewModels; using Newtonsoft.Json; using System.Diagnostics; using System.IO; using System...
Assets/InteractML_Examples/VR_Interface/Scripts/TimerController.cs
yincany/iml-unity
1
7032577
/* Author: <NAME> */ using UnityEngine; using System.Collections; using System; using ReusableMethods; /// <summary> /// This component is taking charge of managing the timers of each object /// </summary> [AddComponentMenu("CarlosFramework/TimerController")] public class TimerController : MonoBehaviour { /// <...
src/Perfolizer/Perfolizer.Tests/Mathematics/Cpd/EdPeltTests.cs
baijum/perfolizer
366
7032578
<gh_stars>100-1000 using System.Linq; using JetBrains.Annotations; using Perfolizer.Mathematics.Cpd; using Perfolizer.Tests.Common; using Xunit; namespace Perfolizer.Tests.Mathematics.Cpd { public class EdPeltTests { [AssertionMethod] private static void Check(double[] data, int minDistance, in...
Xanth/Exceptions.cs
whyann/Disboard
1
7032579
<filename>Xanth/Exceptions.cs<gh_stars>1-10 namespace Xanth { class MoveAfterGameEndException : System.InvalidOperationException { } class OutOfBoardException : System.InvalidOperationException { } class MoveProhibitedException : System.InvalidOperationException { } class Invali...