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
Configurations/DimResellerConfiguration.cs
enriqueescobar-askida/Kinito.AdventureWorks2017DW
0
7048963
// <auto-generated> // ReSharper disable ConvertPropertyToExpressionBody // ReSharper disable DoNotCallOverridableMethodsInConstructor // ReSharper disable EmptyNamespace // ReSharper disable InconsistentNaming // ReSharper disable PartialMethodWithSinglePart // ReSharper disable PartialTypeWithSinglePart // ReSharper ...
src/Doublel.Localization/CodeBasedTranslator.cs
Olymo/Doublel.Localization
0
7048964
using System; using System.Collections.Generic; using System.Globalization; using System.Text; namespace Doublel.Localization { public class CodeBasedTranslator : Translator { public CodeBasedTranslator() { } public CodeBasedTranslator(CultureInfo culture) : base(culture) ...
test/IdentityFramework.Iam.Test/IdentityFramework.Iam.TestServer/Jwt/Extensions.cs
esotery/identityframework-iam
5
7048965
using System.Security.Claims; using System.Threading.Tasks; namespace IdentityFramework.Iam.TestServer.Jwt { public static class Extensions { public static async Task<JwtToken> GenerateJwt(this ClaimsIdentity identity, IJwtFactory jwtFactory, JwtIssuerOptions jwtOptions, long id) { ...
tests/Pomona.Example/Models/VirtualPropertyThing.cs
Pomona/Pomona
17
7048966
<reponame>Pomona/Pomona<gh_stars>10-100 #region License // Pomona is open source software released under the terms of the LICENSE specified in the // project's repository, or alternatively at http://pomona.io/ #endregion using System.Collections.Generic; namespace Pomona.Example.Models { public clas...
DalSic/generated/MamTratamiento.cs
saludnqn/Empadronamiento
0
7048967
using System; using System.Text; using System.Data; using System.Data.SqlClient; using System.Data.Common; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Configuration; using System.Xml; using System.Xml.Serialization; using SubSonic; using SubSonic.Utilities;...
Shared/sample/Skyline.Office.Sample.WinApp/Excel.Designer.cs
zhaobingwang/blocks
1
7048968
<filename>Shared/sample/Skyline.Office.Sample.WinApp/Excel.Designer.cs namespace Skyline.Office.Sample.WinApp { partial class Excel { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> ...
src/Tests/FrannHammer.WebScraping.Tests/DefaultColorScrapingServiceTests.cs
Frannsoft/FrannHammer
53
7048969
<reponame>Frannsoft/FrannHammer<filename>src/Tests/FrannHammer.WebScraping.Tests/DefaultColorScrapingServiceTests.cs using FrannHammer.WebScraping.Images; using FrannHammer.WebScraping.PageDownloading; using FrannHammer.WebScraping.WebClients; using NUnit.Framework; using System; using System.Threading.Tasks; ...
EdiApi.Client/Types/Parties/InternalPartyInfo.cs
JTOne123/edi-api-client
3
7048970
namespace SkbKontur.EdiApi.Client.Types.Parties { public class InternalPartyInfo : PartyInfo { public string ProviderPartyId { get; set; } //Obsolete: Use BillingAccountId instead. These fields are equivalent and PortalGroupId will be removed in future releases. public string PortalGrou...
Assets/Invector-3rdPersonController/Basic Locomotion/Scripts/CharacterController/vThirdPersonAnimator.cs
FR98/uvg-unity
0
7048971
using UnityEngine; using System.Collections; namespace Invector.CharacterController { public abstract class vThirdPersonAnimator : vThirdPersonMotor { #region Variables // match cursorObject to help animation to reach their cursorObject [HideInInspector] publi...
src/Blauhaus.Graphql.StrawberryShake/QueryExecutors/IQueryExecutor.cs
BlauhausTechnology/Blauhaus.Graphql
1
7048972
<filename>src/Blauhaus.Graphql.StrawberryShake/QueryExecutors/IQueryExecutor.cs using System; using System.Threading; using System.Threading.Tasks; using StrawberryShake; namespace Blauhaus.Graphql.StrawberryShake.QueryExecutors { [Obsolete] public interface IQueryExecutor<in TOperation, TPayload> whe...
GoTo/Codifier/PairingHelpers.cs
MarcosCobena/GoTo
13
7048973
using System; using System.Numerics; namespace GoTo.Codifier { public static class PairingHelpers { public static int Pair(int a, int b) => ((int)BigInteger.Pow(2, a) * ((2 * b) + 1)) - 1; // Translated from: // https://github.com/j-k/number-pairings/blob/master/src/number...
VirtoCommerce.Mobile/VirtoCommerce.Mobile/VirtoCommerce.Mobile/Entities/BaseEntity.cs
VirtoCommerce/mobile-agent-xamarin
3
7048974
using SQLite; namespace VirtoCommerce.Mobile.Entities { public abstract class BaseEntity { [PrimaryKey] public string Id { set; get; } } }
Ext_9.AdvanceCollections/ShellBound/ShellBound.cs
ztimofeev/Programming_Fundamentals_SoftUni-repo
0
7048975
<reponame>ztimofeev/Programming_Fundamentals_SoftUni-repo<filename>Ext_9.AdvanceCollections/ShellBound/ShellBound.cs<gh_stars>0 namespace ShellBound { using System; using System.Collections.Generic; using System.Linq; public class ShellBound { public static void Main() { ...
AcManager/Pages/Drive/QuickDriveModeViewModel.cs
brunoklm/actools-1
0
7048976
using System; using System.Collections.Generic; using System.ComponentModel; using System.Threading.Tasks; using System.Windows; using AcManager.Tools; using AcManager.Tools.Helpers; using AcManager.Tools.Objects; using AcManager.Tools.SemiGui; using AcTools.Processes; using FirstFloor.ModernUI.Helpers; using FirstFloo...
Plugin.charts/TimeLineItemFrame.Designer.cs
dbgate/datadmin
0
7048977
<gh_stars>0 namespace Plugin.charts { partial class TimeLineItemFrame { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </...
Code.Test/SwappingNumbers1Test.cs
alexeysmorkalov/MorningDotNet
0
7048978
using System; using System.Collections.Generic; using System.Linq; using NUnit.Framework; namespace Code.Test { /* PROBLEM STATEMENT Given is a String num. This String contains the digits of a (possibly large) positive integer. For example, num="1147" represents the integer 1147. The String num will not have ...
Src/GrpcServices/Extensions/StringExtensions.cs
CarloMicieli/dotnetcore-clean-architecture
1
7048979
namespace TreniniDotNet.GrpcServices.Extensions { public static class StringExtensions { public static string? ToNullableString(this string str) => string.IsNullOrWhiteSpace((str)) ? null : str; } }
OurUmbraco/Auth/ProjectAuthConstants.cs
hartviglarsen/OurUmbraco
77
7048980
<reponame>hartviglarsen/OurUmbraco namespace OurUmbraco.Auth { public class ProjectAuthConstants { public const string ProjectIdClaim = "http://our.umbraco/projects/projectid"; public const string MemberIdClaim = "http://our.umbraco/projects/memberid"; public const string BearerTokenCla...
Analogy.LogViewer.JsonParser/ChangeLog.cs
Analogy-LogViewer/Analogy.LogViewer.JsonParser
0
7048981
<reponame>Analogy-LogViewer/Analogy.LogViewer.JsonParser<gh_stars>0 using System; using System.Collections.Generic; using Analogy.Interfaces; namespace Analogy.LogViewer.JsonParser { public static class ChangeLog { public static IEnumerable<AnalogyChangeLog> GetChangeLog() { yield...
Valle.TpvFinal/Valle.ToolsTpv/CrearBaseDatos.cs
vallemrv/valletpv
4
7048982
/* * Creado por SharpDevelop. * Usuario: valle * Fecha: 24/08/2009 * Hora: 23:47 * * Para cambiar esta plantilla use Herramientas | Opciones | Codificación | Editar Encabezados Estándar */ using System; using System.IO; using System.Runtime.Serialization.Formatters.Binary; using Valle.SqlGestion; ...
GuitarDairy.UI.Web/Views/Summary/Index.cshtml
lukaszkepka/GuitarDairy
0
7048983
@model GuitarDairy.UI.Web.ViewModels.MonthSummaryViewModel; @{ ViewData["Title"] = "Home Page"; } @section Styles { <link rel="stylesheet" href="~/css/SummaryPage.css" /> } <div class="text-center"> <h1 class="display-4">@Model.Month</h1> <p>Total exercise time = @Html.DisplayFor(x => x.TotalTimeSpen...
src/Knapcode.NuGetTools.Website/Views/Home/FrameworkPrecedence.cshtml
zpqrtbnk/NuGetTools
40
7048984
<reponame>zpqrtbnk/NuGetTools<filename>src/Knapcode.NuGetTools.Website/Views/Home/FrameworkPrecedence.cshtml @model SelectedVersionOutput<FrameworkPrecedenceOutput> @{ ViewData["Title"] = "Framework Precedence"; var output = Model.Output; } <h1>Framework Precedence</h1> <p> If multiple sets of assets are ...
Source/RhythmCodex.Lib/Djmain/Model/DjmainChunk.cs
SaxxonPike/RhythmCodex
10
7048985
<filename>Source/RhythmCodex.Lib/Djmain/Model/DjmainChunk.cs using RhythmCodex.Infrastructure; namespace RhythmCodex.Djmain.Model { [Model] public class DjmainChunk : IDjmainChunk { public DjmainChunkFormat Format { get; set; } public byte[] Data { get; set; } public int Id { get; ...
Database.Tests/Tables/TimeBasedProfileTests.cs
vitorbellotto/LoadProfileGenerator
0
7048986
//----------------------------------------------------------------------- // <copyright> // // Copyright (c) TU Chemnitz, Prof. Technische Thermodynamik // Written by <NAME>. // Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are me...
Creational Patterns/Builder/Products/CarManual.cs
saimib/oops-design-patterns
1
7048987
<filename>Creational Patterns/Builder/Products/CarManual.cs namespace design_patterns.Builder.Products { class CarManual { public string SeatDescription { get; set; } public string EngineDescription { get; set; } public string ComputerDescription { get; set; } public string GPSDescription { ...
bolzplatzarena.blog/Models/Icon.cs
yanglr/dotnet.blog
0
7048988
namespace Bolzplatzarena.Blog.Models { public enum WellknownIcons { Contact, Mail, Phone } public class Icon { public string Name { get; set; } public string IconCode { get; set; } } }
Snowplow.Demo.App/Snowplow.Demo.App/Pages/Components/KeyValueCell.cs
mfi89/snowplow-dotnet-tracker
0
7048989
/* * CustomKeyValueCell.cs * * Copyright (c) 2016 Snowplow Analytics Ltd. All rights reserved. * This program is licensed to you under the Apache License Version 2.0, * and you may not use this file except in compliance with the Apache License * Version 2.0. You may obtain a copy of the Apache License Version 2...
C#/C# Programming Part II/NumeralSystems/HexadecimalToDecimal/HexToDecConverter.cs
mdraganov/Telerik-Academy
0
7048990
<reponame>mdraganov/Telerik-Academy //Write a program to convert hexadecimal numbers to their decimal representation. using System; class HexToDecConverter { static void Main() { string input = Console.ReadLine(); long result = new long(); int currentDigit = new int(); int pow...
src/Deviser.Core/Deviser.Core.Common/Lambda2Js/TypeHelpers.cs
deviserplatform/deviserplatform
3
7048991
using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using JetBrains.Annotations; namespace Deviser.Core.Common.Lambda2Js { internal static class TypeHelpers { private static readonly Type[] numTypes...
Schemas/Objects/BrokerListing.cs
issus/Octopart.Net
0
7048992
<reponame>issus/Octopart.Net using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace Octopart.Net.Schemas.Objects { public class BrokerListing { /// <summary> /// Object representing the seller /// </summary> [JsonProperty("seller")] ...
Ryujinx.Audio.Backends.SoundIo/Native/libsoundio/SoundIO.cs
BSoDGamingYT/Ryujinx
11,580
7048993
using System; using System.Collections.Generic; using System.Runtime.InteropServices; namespace SoundIOSharp { public class SoundIO : IDisposable { Pointer<SoundIo> handle; public SoundIO() { handle = Natives.soundio_create(); } internal SoundIO(Pointer<So...
HtmlRenderer/OverlayControl.cs
Bluefissure/OverlayPlugin
2
7048994
using RainbowMage.HtmlRenderer; using System; using System.Diagnostics; using System.Drawing; using System.Drawing.Imaging; using System.Windows.Forms; using CefSharp; using CefSharp.Structs; using CefSharp.Enums; namespace RainbowMage.HtmlRenderer { public partial class OverlayControl : Control, IWinFormsTarget...
Assets/UnityTools/SceneManagement/Runtime/Model/LevelSceneModel.cs
Nicolas-Constanty/UnityTools
4
7048995
using System; using System.Collections.Generic; using UnityEngine; using UnityTools.Inspector; namespace UnityTools.SceneManagement.Model { [Serializable] public class LevelSceneModel : AModel { [Serializable] public class SceneCollectionSettings { [Serializable] ...
Projects/Servers/World/WorldServer/Constants/Net/ServerMessage.cs
gitter-badger/Project-WoW
0
7048996
<reponame>gitter-badger/Project-WoW<filename>Projects/Servers/World/WorldServer/Constants/Net/ServerMessage.cs // Copyright (c) Multi-Emu. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace WorldServer.Constants.Net { // Value '0x2000' means not updated...
src/Self.Validator/SelfValidator.cs
P7CoreOrg/GraphQL.Play.2.2
0
7048997
using System; using System.IdentityModel.Tokens.Jwt; using System.Security.Claims; using System.Threading.Tasks; using IdentityServer4.Stores; using Microsoft.Extensions.Caching.Memory; using Microsoft.IdentityModel.Tokens; using TokenExchange.Contracts; namespace Self.Validator { public class SelfValidator : ISe...
TestCaseManager/TestCaseManager/TestCaseManagerCore/BusinessLogic/Managers/TestCaseFilterManager.cs
tunjiadelana/AutomateThePlanet-Learning-Series
1
7048998
using AAngelov.Utilities.Text; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TestCaseManagerCore.BusinessLogic.Entities; using TestCaseManagerCore.BusinessLogic.Enums; namespace TestCaseManagerCore.BusinessLogic.Managers { /// <summary> ...
TaskManager/TaskManager.Portal/Views/Shared/_Layout.cshtml
AxelUser/dis-final-work
0
7048999
<!DOCTYPE html> <html ng-app="app"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width" /> <title>Portal | {{$pageTitle}}</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <header ng-controller="MenuController"> ...
framework/wcf/Basic/Services/Hosting/WebRoutingIntegration/CS/Service/Helpers.cs
joseocampo/samples
2,197
7049000
<reponame>joseocampo/samples<gh_stars>1000+ //------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. //------------------------------------------------------------ using System.Collections.Generic; using System.ServiceModel.Syndication; namespace M...
DeveMachineLearning/ML/Link.cs
devedse/DeveMachineLearning
0
7049001
using DeveMachineLearning.Helpers; using DeveMachineLearning.ML.Functions; namespace DeveMachineLearning.ML { public class Link { public string Id { get; set; } public Node Source { get; set; } public Node Dest { get; set; } public double Weight { get; set; } = Random...
test/WebJobs.Script.Tests.Integration/Controllers/Keys/KeyManagementFixture.cs
mrcrane/azure-functions-host
1
7049002
<reponame>mrcrane/azure-functions-host // Copyright (c) .NET Foundation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Collections.Generic; using System.Collections.ObjectModel; using System.Net.Http; using Autofac; using Microsoft.As...
UIExtension/GitHelperActionBase.cs
g2384/GitHelper
0
7049003
<reponame>g2384/GitHelper using GitHelper.Extension; using GitHelper.Extension.Interfaces; using System; using System.Collections.Generic; using System.Reflection; using System.Windows; using GitHelper.Extension.Attributes; namespace GitHelper.UIExtension { public abstract class GitHelperActionBase<TWin...
Assets/MiroChessBord/Utils/EditUtil/SetSpritesProps.cs
iniwap/LianQiClient
3
7049004
using System.Collections; using System.Collections.Generic; using UnityEngine; namespace Lyu { public class SetSpritesProps : MonoBehaviour { public SpriteRenderer[] _sprites; [Range(0,1.0f)] public float Alpha = 1.0f; [Range(0,360.0f)] public float Hue = 0.0f; [Range(0,1.0f)] public float Sat = 0....
src/WireMock.Net/Http/HttpRequestMessageHelper.cs
evanlwj/WireMock.Net
0
7049005
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Text; using MimeKit; using Newtonsoft.Json; namespace WireMock.Http { internal static class HttpRequestMessageHelper { public static HttpRequestMessage Create(RequestMessage requestMessag...
WeatherSystem/Assets/WeatherSystem/Scripts/IntensityComponents/IntensityDrivenWind.cs
Slord6/WeatherSystem
9
7049006
<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using UnityEngine; namespace WeatherSystem.IntensityComponents { /// <summary> /// Drives the wind near the player /// </summary> public class IntensityDrivenWind : IntensityDrivenBehaviour { [SerializeField] ...
src/Compilers/CSharp/Portable/Symbols/PublicModel/SourceAssemblySymbol.cs
pcharlesmoran/roslyn
1
7049007
<reponame>pcharlesmoran/roslyn<gh_stars>1-10 // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Diagnostics; namespace Microsoft.CodeAnalysis.CSharp.Symbols.PublicModel { internal sealed cla...
Orm/Xtensive.Orm.SqlServer/Sql.Drivers.SqlServer/v11/Extractor.cs
alex-kulakov/dataobjects-net
0
7049008
// Copyright (C) 2012 Xtensive LLC. // All rights reserved. // For conditions of distribution and use, see license. // Created by: <NAME> // Created: 2012.04.05 using System; using System.Collections.Generic; using System.Data.Common; namespace Xtensive.Sql.Drivers.SqlServer.v11 { internal class Extractor : v10...
SourceCrawler/ManageRoots.Designer.cs
salesforce/SourceCrawler
3
7049009
<reponame>salesforce/SourceCrawler /* * Copyright (c) 2020, salesforce.com, inc. * All rights reserved. * SPDX-License-Identifier: BSD-3-Clause * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ namespace SourceCrawler { partial class ManageRoots ...
Assets/External/Photon/PhotonVoice/Code/Editor/WebRtcAudioDspEditor.cs
helsinki-xr-center/esteettomyys
1
7049010
<filename>Assets/External/Photon/PhotonVoice/Code/Editor/WebRtcAudioDspEditor.cs using UnityEngine; namespace Photon.Voice.Unity.Editor { using UnityEditor; using Unity; [CustomEditor(typeof(WebRtcAudioDsp))] public class WebRtcAudioDspEditor : Editor { private WebRtcAudioDsp processor; ...
WebAdvert/ServiceClients/AdvertAPIClient.cs
amishra138/web-advert
0
7049011
<filename>WebAdvert/ServiceClients/AdvertAPIClient.cs using AdvertApi.Models; using AutoMapper; using Microsoft.Extensions.Configuration; using Newtonsoft.Json; using System; using System.Net.Http; using System.Threading.Tasks; namespace WebAdvert.ServiceClients { public class AdvertAPIClient : IAdvertAPIClient ...
LeavinsSoftware.Collection.Tests/Models/ProgramOptionsTests.cs
dustinleavins/LeavinsSoftware.CIB
0
7049013
<reponame>dustinleavins/LeavinsSoftware.CIB // Copyright (c) 2013, 2014 <NAME> // See the file 'LICENSE.txt' for copying permission. using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using LeavinsSoftware.Collection.Models; namespace LeavinsSoftware.Collectio...
WebPresence/CmsViews/ECmsExtendedEditor/Edit.cshtml
nodoubt223rd/WebPresence-CMS
0
7049014
@model Mvc.Easy.Cms.Edit.Models.EditorEntity @{ string templateName = string.Format("ECms{0}Edit", ViewBag.ScriptType); } @using (Ajax.BeginForm(new AjaxOptions() { HttpMethod = "POST" })) { @Html.EditorFor(m => m.Data, templateName) }
DDSReader/Internal/DDSPixelFormat.cs
0xflotus/Materia
298
7049015
using System; using System.Runtime.InteropServices; namespace DDSReader.Internal { [StructLayout(LayoutKind.Sequential), Serializable] public struct DDSPixelFormat { public readonly uint dwSize; public readonly DDPF dwFlags; public readonly FourCCValue dwFourCC; public r...
BVT/Unity.Tests/Unity.Tests/Override/TypeToUndergoeTypeBasedInject1.cs
drcarver/unity
1
7049016
<reponame>drcarver/unity<filename>BVT/Unity.Tests/Unity.Tests/Override/TypeToUndergoeTypeBasedInject1.cs<gh_stars>1-10 // Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. namespace Unity.Tests.Override { public class TypeToUndergoeTypeBasedInject...
Service.Sdk/Service.Sdk/Service.Sdk/Contracts/Crud/User/BaseUserEntry.cs
MichaelDiers/ShopNothingToBuy
0
7049017
namespace Service.Sdk.Contracts.Crud.User { using System.Collections.Generic; /// <summary> /// User data that is used in <see cref="UserEntry" />, <see cref="CreateUserEntry" /> and /// <see cref="UpdateUserEntry" /> /// . /// </summary> public abstract class BaseUserEntry { /// <summary> ...
src/Blog.Admin/Pages/Categorys/Index.cshtml.cs
eightHundreds/AspNetCoreSimpleBlog
0
7049018
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using Blog.Core.Categorys; using Blog.Core.Categorys.Dto; using Blog.Admin.ViewModel; using Blog.Repository; using Blog.Core.Categorys.Model; using ...
AppDuolingoClone/ContentViews/ProfileFriendsContentView.xaml.cs
ionixjunior/XFAppDuolingoClone
73
7049019
using System; using System.Collections.Generic; using Xamarin.Forms; namespace AppDuolingoClone.ContentViews { public partial class ProfileFriendsContentView : ContentView { public ProfileFriendsContentView() { InitializeComponent(); } } }
PoolingSystem/InstanceHandlers/MonoBehaviourInstanceHandler.cs
AlexanderYakshin/poolingsystem
0
7049020
<reponame>AlexanderYakshin/poolingsystem using System.Collections.Generic; using UnityEngine; namespace PoolingSystem.InstanceHandlers { public class MonoBehaviourInstanceHandler<T>: InstanceHandler<T> where T : MonoBehaviour { private readonly Dictionary<object, Transform> _sceneContainers; public MonoBehavio...
C# fund/Fund-Exams-lastYear/T03.ProgrammingFundamentalsMidExamRetake/T03.MovingTarget/Program.cs
Tencho0/SoftuniEducation
0
7049021
<filename>C# fund/Fund-Exams-lastYear/T03.ProgrammingFundamentalsMidExamRetake/T03.MovingTarget/Program.cs using System; using System.Collections.Generic; using System.Linq; namespace T03.MovingTarget { internal class Program { static void Main(string[] args) { List<int> sequence =...
Samples/MonoMac/Example4_6/ChartCanvas.cs
PaulBol/sysdrawing-coregraphics
42
7049022
using System; using System.Collections.Generic; using System.Linq; using System.Drawing.Drawing2D; using Foundation; using AppKit; using CoreGraphics; using CoreText; using CoreGraphics; using System.Drawing; namespace Example4_6 { public partial class ChartCanvas : AppKit.NSView { private ChartStyle cs; priv...
FormRecognizer/FormRecognizerWinform/frmImageParser.cs
RahulGo8u/AzureFormRecognizer
0
7049023
using Common; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace FormRecognizerWinform { public partial class frmImageParser...
Ship_Game/Data/Serialization/TypeSerializer.cs
UnGaucho/StarDrive
0
7049024
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using Ship_Game.Data.Yaml; namespace Ship_Game.Data.Serialization { public abstract class TypeSerializer { // Id which is valid in a single serialization con...
Assets/EasyBehaviorTree/Runtime/Logger/BaseLogger.cs
aillieo/EasyBehaviorTree
15
7049025
<gh_stars>10-100 using System; namespace AillieoUtils { public abstract class BaseLogger : ILogger { public LogLevel filter { get; set; } = LogLevel.Any; public event Action<LogLevel, object> OnLog; public void Debug(object message) { LogWithFilter(LogL...
Assets/Forms/BGE.Forms/GridGenerator.cs
sirflano/forms
2
7049026
<reponame>sirflano/forms using System.Collections; using System.Collections.Generic; using UnityEngine; public class GridGenerator : MonoBehaviour { public GameObject prefab; public int gridWidth = 10; public float cellWidth; [Range(0.0f, 1.0f)] public float density; public void Awake() ...
Open Judge System/Web/OJS.Web/Controllers/NewsController.cs
SveGeorgiev/OpenJudgeSystem
1
7049027
namespace OJS.Web.Controllers { using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Web; using System.Web.Mvc; using HtmlAgilityPack; using OJS.Data; using OJS.Data.Models; using OJS.Web....
MainForm.Designer.cs
franciumhk/Comport
1
7049028
<filename>MainForm.Designer.cs<gh_stars>1-10 namespace Comport { partial class MainForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used...
Backend/IRestaurant.Test/Data/EntityTypeConfigurations/TestRolesSeedConfig.cs
Parziwal/IRestaurant
0
7049029
using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace IRestaurant.Test.Data.EntityTypeConfigurations { public class TestRolesSeedConfig : IEntityTypeConfiguration<IdentityRole> { public void Configure(EntityTypeBuilde...
Druid/Druid/Satchel/Colors.cs
Roman-Dementiev/Dwares
0
7049030
<gh_stars>0 using System; using Dwares.Dwarf; using Xamarin.Forms; namespace Dwares.Druid.Satchel { public static class Colors { public static Color FromHsva(double h, double s, double v, double a = 1) { var hh = h; var ll = (2 - s) * v; var ss = s * v; ss /= (ll <= 1) ? ll : 2 - ll; ll /= 2; ...
Frontend/App/Parts/EventsInfoView.Designer.cs
mikeyjm145/ChillSched
1
7049031
namespace Frontend.App.Parts { partial class EventsInfoView { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
C#/SLN_Areas/Areas/Form1.Designer.cs
GuiPiovezan/Atividades
0
7049032
namespace Areas { partial class frm_areas { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param na...
src/Stump.DofusProtocol/Messages/Messages/Game/Inventory/Items/LivingObjectMessageRequestMessage.cs
Daymortel/Stump
2
7049033
<reponame>Daymortel/Stump namespace Stump.DofusProtocol.Messages { using System; using System.Linq; using System.Text; using Stump.DofusProtocol.Types; using System.Collections.Generic; using Stump.Core.IO; [Serializable] public class LivingObjectMessageRequestMessage : Message { ...
EIDSS v6.1/eidss.webclient/Views/VsSession/VsSessionPicker.cshtml
EIDSS/EIDSS-Legacy
2
7049034
@model VsSessionListItem.Accessor @{ Layout = "~/Views/Shared/_DetailsWindowLayout.cshtml"; } @using bv.common.Configuration @using eidss.web.common.Utils @using eidss.webclient.Configurations @using eidss.webclient.Utils; @using eidss.model.Schema; @if (BaseSettings.TranslationMode){ <input type='...
BatteryInfo/WMITool.cs
sowa705/BatteryInfo
0
7049035
using System; using System.Management; namespace BatteryInfo { class WMITool { public static object QuerySingle(string scope ,string wmiClass,string propName) { ManagementObjectSearcher wmiQuery = new ManagementObjectSearcher(scope, $"SELECT * FROM {wmiClass}"); Manage...
src/Http/origin_form/OriginForm.cs
StevenLiekens/http-client
7
7049036
using JetBrains.Annotations; using Txt.ABNF; namespace Http.origin_form { public class OriginForm : Concatenation { public OriginForm([NotNull] Concatenation concatenation) : base(concatenation) { } } }
src/RiakClient/Commands/CRDT/UpdateCommandOptions.cs
askovsgaard/riak-dotnet-client
30
7049037
<reponame>askovsgaard/riak-dotnet-client namespace RiakClient.Commands.CRDT { /// <summary> /// Represents options for a <see cref="UpdateCommand{TResponse}"/> operation. /// </summary> public abstract class UpdateCommandOptions : KvCommandOptions { private bool returnBody = true; ...
docs/dictionary/includes/cp-explicitparams.cs
SuperOfficeDocs/database
0
7049038
private class ExplicitParams { internal int id; string xyz = "A string"; int zero = 0; DateTime utcNow = DateTime.UtcNow; DateTime never = DateTime.MinValue; } public override void CustomPriming() { var nextIdValue = GetNextId("abc"); ExecuteSql(@"INSERT INTO { abc } ( { abc.abc_id }, ...
Samples/2.3/UnitTesting/test/Grains.Tests/Hosted/Cluster/ClusterFixture.cs
JohnDebono/orleans
13
7049039
using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using Grains.Tests.Hosted.Fakes; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Orleans; using Orleans.Hosting; using Orleans.Runtime; using Orleans.Storage; using Orl...
src/Microsoft.Azure.WebJobs.Extensions.OpenApi.Core/Attributes/OpenApiOperationAttribute.cs
danielabbatt/azure-functions-openapi-extension
0
7049040
<reponame>danielabbatt/azure-functions-openapi-extension using System; using Microsoft.Azure.WebJobs.Extensions.OpenApi.Core.Enums; namespace Microsoft.Azure.WebJobs.Extensions.OpenApi.Core.Attributes { /// <summary> /// This represents the attribute entity for HTTP triggers to define Open API operation. ...
KeyStroker.Logic/Hotkeys/HotkeyEventArgs.cs
Joni-Salminen/KeyStroker
0
7049041
<reponame>Joni-Salminen/KeyStroker<filename>KeyStroker.Logic/Hotkeys/HotkeyEventArgs.cs using System; namespace KeyStroker.Logic.Hotkeys { public class HotkeyEventArgs : EventArgs { /* Data as it is from Windows hotkey event */ public IntPtr WinHotkey { get; set; } = IntPtr.Zero; ...
src/Common/CSharp/Analysis/ConvertInterpolatedStringToStringLiteralAnalysis.cs
ProphetLamb-Organistion/Roslynator
0
7049042
<gh_stars>0 // Copyright (c) <NAME> and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; namespace Roslynator.CSharp.Analysis { ...
Scripts/UI/WeaponPanelController.cs
ExShini/Crazy-Invasion
0
7049043
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; /**********************************************************************************************/ // WeaponPanelController класс // контролирует все объекты в панели оружия конкретного игрока // /**********************...
System.Extensions/System/Data/CustomContent.cs
MediatedCommunications/Extensions
0
7049044
namespace System.Data { public static class CustomContent { public static T? GetContent<T>(ICustomContent<T>? Content) where T : class { var ret = default(T?); var tret = (object?) Content; while (tret is ICustomContent<T> V1) { tret = V1.GetNextConten...
SeeingMachinesVisualization/SeeingMachinesProject/ReferenceFixUtility/LibraryReference.cs
dgerding/Construct
0
7049045
<reponame>dgerding/Construct<filename>SeeingMachinesVisualization/SeeingMachinesProject/ReferenceFixUtility/LibraryReference.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ReferenceFixUtility { class LibraryReference { public String...
Bus-Lite/EventBus.cs
dawids222/Bus-Lite
1
7049046
using Bus_Lite.Buses; using Bus_Lite.Contract; using Bus_Lite.Listeners; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Bus_Lite { public class EventBus { private ListenerEventBus ListenerEventBus { get; } = new ListenerEventBus(); private HandlerEventB...
SkolaProjektniCentar/ViewModel/TipMailaViewModel.cs
tmilost/Educational_institution_School
0
7049047
<filename>SkolaProjektniCentar/ViewModel/TipMailaViewModel.cs using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace SkolaProjektniCentar.ViewModel { public class TipMailaViewModel { public long IdTipaMaila { get; set...
src/EntityFunctors/Associations/Impl/PropertyToPropertyWithConversionAssociation.cs
maksimkim/entityfunctors
2
7049048
namespace EntityFunctors.Associations.Impl { using System; using System.Diagnostics.Contracts; using System.Linq.Expressions; public class PropertyToPropertyWithConversionAssociation<TSource, TSourceProperty, TTarget, TTargetProperty> : PropertyToPropertyAssociationBase, IConvertionAssociation...
src/mdatp-pwsh/models/files/FileProperties.cs
Smalls1652/mdatp-pwsh
4
7049049
using System; using System.Text.Json.Serialization; namespace MdatpPwsh.Models { public class FileProperties { [JsonPropertyName("fileProductName")] public string FileProductName { get; set; } [JsonPropertyName("filePublisher")] public string FilePublisher { get; set; } ...
PARAM/PARAM_GPIPortCurrentState.cs
mksmbrtsh/llrp
0
7049050
<reponame>mksmbrtsh/llrp // Decompiled with JetBrains decompiler // Type: Org.LLRP.LTK.LLRPV1.PARAM_GPIPortCurrentState // Assembly: LLRP, Version=1.0.0.6, Culture=neutral, PublicKeyToken=null // MVID: B7459025-14F1-49D6-9002-DE41A125DA72 // Assembly location: C:\gosniias\NARA\multi_llrp_uhf_rdr\multi_llrp_uhf_rdr\bin...
Assets/Daikon Forge/Examples/Data Binding/ExpressionBindingDemoModel.cs
takemurakimio/missing-part-1
1
7049052
using System; using System.Linq; using System.Collections; using System.Collections.Generic; using UnityEngine; [AddComponentMenu( "Daikon Forge/Examples/Data Binding/Expression Binding Model" )] public class ExpressionBindingDemoModel : MonoBehaviour { private dfListbox list; public List<string> SpellsLearned {...
src/ProjectSystemTools/BuildLogging/Model/Frontend/UIBuildSummary.cs
mrward/project-system-tools
0
7049053
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.IO; using Microsoft.VisualStudio.ProjectSystem.Tools.TableControl; using Microsoft.VisualStudio.Shell.TableManager; namespace Mic...
src/LagoVista.ISY994i.UI.UWP/Controls/SensorList.xaml.cs
LagoVista/ISY
0
7049055
using Windows.UI.Xaml.Controls; namespace LagoVista.ISY994i.UI.UWP.Controls { public sealed partial class SensorList : UserControl { public SensorList() { this.InitializeComponent(); } } }
InProcThrottle/Client/ActionQueueItem.cs
emilw/InProcThrottle
1
7049056
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace InProcThrottle.Client { public enum Status { Created, InProgress, ToBeRemoved } public class ActionQueueItem { public ActionQueueItem(Action action, string scopeKey) ...
src/ReverseProxy.TelemetryConsumption/NameResolution/INameResolutionTelemetryConsumer.cs
faix/reverse-proxy
0
7049057
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System; namespace Microsoft.ReverseProxy.Telemetry.Consumption { /// <summary> /// A consumer of System.Net.NameResolution EventSource events. /// </summary> public interface INameResolutionTelemetryConsumer { ...
src/StefanOssendorf.BulkMailing.Test/MailStreamResultSpecs.cs
StefanOssendorf/BulkMailing
1
7049058
using System; using System.Collections.Concurrent; using System.Threading; using System.Threading.Tasks; using Machine.Specifications; namespace StefanOssendorf.BulkMailing.Test { [Subject(typeof (MailStreamResult))] public class When_sending_is_finished { static MailStreamResult mSut; Becaus...
Defs/Qooxdoo/ui/layout/Atom.cs
SharpKit/SharpKit-SDK
12
7049059
// Generated by SharpKit.QooxDoo.Generator using System; using System.Collections.Generic; using SharpKit.Html; using SharpKit.JavaScript; namespace qx.ui.layout { /// <summary> /// <para>A atom layout. Used to place an image and label in relation /// to each other. Useful to create buttons, list items, etc.</pa...
NetoDotNET/Resources/Warehouse/UpdateWarehouse/UpdateWarehouseFilter.cs
time-frame/NetoDotNET
2
7049060
using NetoDotNET.Entities; using System; using System.Collections.Generic; using System.Text; namespace NetoDotNET.Resources.Warehouses { public class UpdateWarehouseFilter : NetoUpdateResourceFilter { public Warehouse[] Warehouse { get; set; } public UpdateWarehouseFilter(Warehouse[] warehou...
AuthoringTools/SocialImportanceWF/MainForm.cs
JuanJoseSolo/FAtiMA-Version-02
0
7049061
<filename>AuthoringTools/SocialImportanceWF/MainForm.cs<gh_stars>0 using System; using Equin.ApplicationFramework; using GAIPS.AssetEditorTools; using SocialImportance; using SocialImportance.DTOs; using System.Collections; using System.Linq; using System.Windows.Forms; using GAIPS.Rage; using System.IO; namespace So...
src/PiFaceServer/Helper/LogHelper.cs
WCOMAB/PiFaceServer
2
7049062
// ---------------------------------------------------------------------------------------------- // Copyright (c) WCOM AB. // ---------------------------------------------------------------------------------------------- // This source code is subject to terms and conditions of the Microsoft Public License. A // cop...
src/tests/IntegrationTests/Memory/InjectionDetection/SafeContainer/SafeContainerTests.cs
undergroundwires/safeOrbit
24
7049063
using NUnit.Framework; using SafeOrbit.Memory.InjectionServices; using SafeOrbit.Tests; namespace SafeOrbit.Memory { /// <seealso cref="SafeContainer" /> /// <seealso cref="ISafeContainer" /> /// <seealso cref="SafeContainerProtectionMode" /> [TestFixture] public class SafeContainerTests : TestsFo...
URI/BEGINNER/66.cs
Reilly27/Tasks
0
7049064
<reponame>Reilly27/Tasks using System; class URI { static void Main(string[] args) { double media = 0, total = 0, total2 = 0; while (total2 != 2) { double firstScore = double.Parse(Console.ReadLine()); if (firstScore >= 0.0 && firstScore <= 10.0) { ...
C#/WindowsPhone/LGame-XNA-lib/Loon.Action.Sprite.Effect/OutEffect.cs
cping/LGame
428
7049065
<filename>C#/WindowsPhone/LGame-XNA-lib/Loon.Action.Sprite.Effect/OutEffect.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.Xna.Framework.Graphics; using Loon.Core; using Loon.Core.Graphics.Opengl; using Microsoft.Xna.Framework.Content; using System.IO.IsolatedSt...