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
MealPlan.Repo.Dto/Repos/IMealLogicRepo.cs
josh-jhs8/meal-plan
0
7027529
using MealPlan.Repo.Dto.Models; namespace MealPlan.Repo.Dto.Repos { public interface IMealLogicRepo : IMacroCalculatorLogicRepo { public Task SaveMeals(RawMealInfo[] meals); public Task<RawMealInfo[]> GetMeals(DateTime? startDate = null, DateTime? endDate = null); public Task DeleteM...
Telegraph/Telegraph/Models/Requests/CreatePage.cs
Nigrimmist/Telegraph
6
7027530
using Newtonsoft.Json; using System.Collections.Generic; namespace Kvyk.Telegraph.Models.Requests { internal class CreatePage : AccessTokenRequest { /// <summary> /// Required. Page title. /// </summary> [JsonProperty("title", NullValueHandling = NullValueHandling.Ignore)] ...
xamarin-android-beacon-library/ModelSpecificDistanceUpdater.cs
chrisriesgo/Xamarin-Android-Beacon-Library
0
7027531
using System; namespace Org.Altbeacon.Beacon.Distance { // Metadata.xml XPath class reference: path="/api/package[<EMAIL>='org.<EMAIL>']/class[@name='ModelSpecificDistanceUpdater']" public partial class ModelSpecificDistanceUpdater { protected override Java.Lang.Object DoInBackground(params Java.Lang.Object[] @p...
ProjectOne/ProjectOne/Views/Orders/SearchOrdID.cshtml
042020-dotnet-uta/xavierDiaz-repo1
0
7027532
<reponame>042020-dotnet-uta/xavierDiaz-repo1<gh_stars>0 @model IEnumerable<ProjectOne.Models.Order> @{ ViewData["Title"] = "Index"; } <h1>Search orders by order id</h1> <form asp-validation asp-controller="Orders" asp-action="SearchOrdID"> <p> order ID: <input type="text" name="ordID"> <inpu...
concepts/code/TinyLinq/TinyLinq.Core/Select.cs
ElanHasson/roslyn
67
7027533
<reponame>ElanHasson/roslyn using System; using System.Concepts; using System.Concepts.Countable; using System.Concepts.Enumerable; namespace TinyLinq { /// <summary>Concept for types that can be Select-queried.</summary> /// <typeparam name="TSourceColl">Type of source collection.</typeparam> /// <typepa...
src/Fluent/PickerExtensions.cs
dariodotnet/XamFluentUI
31
7027534
<reponame>dariodotnet/XamFluentUI using Xamarin.Forms; namespace Fluent { public static class PickerExtensions { public static Picker Title(this Picker picker, string title) { picker.Title = title; return picker; } public static Picker Title(this Picker...
ceptic/Encode/Exceptions/UnknownEncodingException.cs
Kosinkadink/ceptic-csharp
0
7027535
using Ceptic.Common.Exceptions; using System; using System.Collections.Generic; using System.Text; namespace Ceptic.Encode.Exceptions { public class UnknownEncodingException : CepticException { public UnknownEncodingException() { } public UnknownEncodingException(string messa...
RCMobileUI/RCMobileUI/Views/NESControllerView.xaml.cs
Bojidarist/RemoteController
2
7027536
using RCMobileUI.ViewModels; using Xamarin.Forms; using Xamarin.Forms.Xaml; namespace RCMobileUI.Views { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class NESControllerView : ContentView { public NESControllerView() { InitializeComponent(); thi...
Tenant.Framework/Implementations/TenantAccessService.cs
cloud-challenge-dotnet/codex
0
7027537
<reponame>cloud-challenge-dotnet/codex<gh_stars>0 using Codex.Models.Tenants; using Codex.Tenants.Framework.Interfaces; using System.Threading.Tasks; namespace Codex.Tenants.Framework.Implementations { /// <summary> /// Tenant access service /// </summary> /// <typeparam name="T"></typeparam> publ...
src/Matches.Contracts/Lobby/ModifyLobbyPreferencesRequest.cs
DasonMixon/Matches
0
7027538
<filename>src/Matches.Contracts/Lobby/ModifyLobbyPreferencesRequest.cs using System; using System.Collections.Generic; namespace Matches.Contracts.Lobby { public class ModifyLobbyPreferencesRequest { public Guid LobbyId { get; set; } public Guid LobbyModificationKey { get; set; } publi...
client/framework/dotween-develop/UnityTests.Unity5/Assets/_Tests/Strings.cs
HelloWindows/AccountBook-
1
7027539
using DG.Tweening; using UnityEngine; public class Strings : BrainBase { public GUIText[] txts; string stringToTween0 = "Short text", stringToTween1 = "Long text to show how it gets completely replaced", stringToTween2 = "Relative text... ", stringToTween3 = "Scramble short text", stringToTween4 = "Scramble...
BlenderFileReader/Field.cs
snoozbuster/blender-file-reader
13
7027540
using System; using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Text; namespace BlenderFileReader { /// <summary> /// Holds field info for a primitive field. /// </summary> [DebuggerDisplay("{FullyQualifi...
Aiva.Extensions/Streamgames/Bankheist/Handler.cs
Moerty/BlackBoxBot
11
7027541
<filename>Aiva.Extensions/Streamgames/Bankheist/Handler.cs using Aiva.Core.Config; using Aiva.Core.Twitch; using Aiva.Models.Enums; using Aiva.Models.Streamgames.Bankheist; using System; using System.Collections.Generic; using System.Linq; using System.Text; using TwitchLib.Client.Events; namespace Aiva.Extensions.St...
is4/IdentityServer/Areas/Identity/Pages/Account/ForgotPasswordConfirmation.cshtml
jugstalt/identityserver-legacy
1
7027542
<reponame>jugstalt/identityserver-legacy @page @using IdentityServer.Legacy.Extensions.DependencyInjection; @using Microsoft.Extensions.Options; @using IdentityServer.Legacy.Services.UI; @inject IUserInterfaceService userInterface; @model ForgotPasswordConfirmation @{ Layout = "~/Views/Shared/_Layout_Login.cshtml"...
DSA/Trees-and-Traversals-Homework/03_FileTree/Program.cs
kaizer04/Telerik-Academy-2013-2014
0
7027543
<reponame>kaizer04/Telerik-Academy-2013-2014 namespace _03_FileTree { using System.IO; public class Program { static void Main() { System.Console.WriteLine(Traverse(@"../../")); } static Folder Traverse(string root) { var folder = new Folder...
src/Deprecated/Engine.UnitTests/UsingTaskCollection_Tests.cs
sidiesen/msbuild
4,343
7027544
<filename>src/Deprecated/Engine.UnitTests/UsingTaskCollection_Tests.cs // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Generic; using System.Reflection; using System.Text; usin...
SocketBase/ISocketServerFactory.cs
ramazanulucay/supersocket
6
7027545
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using SuperSocket.ProtoBase; using SuperSocket.SocketBase.Command; using SuperSocket.SocketBase.Config; using SuperSocket.SocketBase.Protocol; namespace SuperSocket.SocketBase { /// <summary> /// The interf...
src/BeUtl.Graphics/Media/Cmyk.cs
YiB-PC/BeUtl
19
7027546
namespace BeUtl.Media; public struct Cmyk : IEquatable<Cmyk> { public Cmyk(double c, double m, double y, double k) { C = c; M = m; Y = y; K = k; } public Cmyk(Color rgb) { this = rgb.ToCmyk(); } public Cmyk(Hsv hsv) { this = hsv.ToCmyk(...
Dapper.Repositories.110/IDapperRepository.cs
awaisali88/WebApi-Server
4
7027547
using System; using System.Collections.Generic; using System.Data; using System.Linq.Expressions; using System.Threading.Tasks; using Dapper.Repositories.SqlGenerator; namespace Dapper.Repositories { /// <summary> /// interface for repository /// </summary> public interface IDapperRepository<TEntit...
src/core/InventoryExpress/WebControl/ControlFormularInventory.cs
ReneSchwarzer/InventoryExpress
0
7027548
using InventoryExpress.Model; using Microsoft.EntityFrameworkCore.Internal; using System.Linq; using WebExpress.Html; using WebExpress.UI.WebControl; using WebExpress.WebApp.WebResource; namespace InventoryExpress.WebControl { public class ControlFormularInventory : ControlFormular { /// <summary> ...
Windows 10 IoT Core - UltraSonic Distance Mapper (UWP)/Library/Sensor/UltrasonicDistanceSensor.cs
AnuragVasanwala/UltraSonic-Distance-Mapper
4
7027549
using System; using System.Diagnostics; using System.Threading; using Windows.Devices.Gpio; namespace Windows_10_IoT_Core___UltraSonic_Distance_Mapper__UWP_.Library.Sensor { public class UltrasonicDistanceSensor { private GpioPin Pin_Trig, Pin_Echo; private Stopwatch _StopWatch; privat...
src/dx/MainArgs.cs
Lambda3/dx
9
7027550
<reponame>Lambda3/dx using DocoptNet; using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Dx { public class MainArgs { private const string usage = @"dx - The .NET Runner tool Usage: dx [options] <command> [--] [<arguments>]... Options: --rm ...
Solutions/_5/_5_5.cs
AronDavis/EPI
0
7027551
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Solutions._5 { /// <summary> /// Write a function that multiplies two unsigned positive integers. The only operators allowed are assignment and bitwise. /// </summary> public class _5_5 { ...
Assets/EasyTouch/Example/C# Example/Examples for EasyTouch/Example-Multiplefingers/SlowRotate.cs
dabaodabaoya/REtest1
3
7027552
<gh_stars>1-10 using UnityEngine; using System.Collections; public class SlowRotate : MonoBehaviour { public float rotateSpeed=0; void Start(){ rotateSpeed = Random.Range(-60.0f,60.0f); } void Update(){ transform.Rotate(new Vector3(0,0,rotateSpeed)*Time.deltaTime); } }
DoctorsAppointments/Appointment/AppointmentEvents.cs
KenticoInternal/Dev02
0
7027553
using System; using CMS.EmailEngine; using CMS.DataEngine; using DoctorAppointments; public class AppointmentEvents { /// <summary> /// Executed whenever a new record of AppointmentInfo class is inserted /// </summary> public static void Insert_After(object sender, ObjectEventArgs e) ...
JikanDotNet/Model/Secondary/Picture.cs
moiph/jikan.net
0
7027554
using Newtonsoft.Json; namespace JikanDotNet { /// <summary> /// Picture model class. /// </summary> public class Picture { /// <summary> /// Url to small version of the picture. /// </summary> [JsonProperty(PropertyName = "small")] public string Small { get; set; } /// <summary> /// Url to large ...
Assets/Modules/Dino/Localization/GoogleDocLocalizationService.cs
StansAssets/com.stansassets.running-dinosaur-clone
2
7027555
using System; using System.Collections.Generic; using StansAssets.GoogleDoc.Localization; namespace StansAssets.Dino.Localization { public class GoogleDocLocalizationService : ILocalizationService { private LocalizationClient m_Client; private readonly HashSet<ILocalizationListener> m_listener...
src/Snap.Tests/Core/SnapPackageManagerTests.cs
k-u-s/snapx
38
7027556
using System.IO; using System.Linq; using System.Threading.Tasks; using Moq; using NuGet.Packaging; using NuGet.Packaging.Core; using NuGet.Versioning; using Snap.AnyOS; using Snap.Core; using Snap.Core.IO; using Snap.Core.Models; using Snap.Core.Resources; using Snap.NuGet; using Snap.Shared.Tests; using Xunit; using ...
Utils/Metric/ManhattanDistance.cs
luisgandrade/TCCSharpRecSys
0
7027557
<reponame>luisgandrade/TCCSharpRecSys using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Utils.Metric { /// <summary> /// Distância entre dois pontos usando distância de Manhattan. /// </summary> public class ManhattanDistance : IMetri...
SeleniumExcelAddIn/TestCase.cs
daluu/seleniumexceladdin
2
7027559
<reponame>daluu/seleniumexceladdin<gh_stars>1-10 // Copyright (c) 2014 <NAME> using System; using System.Drawing; using System.Runtime.InteropServices; using Newtonsoft.Json; using Excel = Microsoft.Office.Interop.Excel; namespace SeleniumExcelAddIn { [ComVisible(true)] [ClassInterface(ClassInterfaceType.Non...
PyricetiFramework/Editor/Startup/StartupData.cs
pyriceti/framework
0
7027560
using System.Collections.Generic; using UnityEngine; namespace PyricetiFramework.Editor { [CreateAssetMenu(fileName = "StartupData", menuName = "PyricetiFramework/StartupData", order = 1)] public class StartupData : ScriptableObject { [SerializeField] private SceneReference startupScene = default; [Seri...
Extensions/EventHandlerExtensions.cs
kroll-software/KS.Foundation
1
7027561
<reponame>kroll-software/KS.Foundation using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace KS.Foundation { public static class EventHandlerExtensions { /// <summary> /// Invoke an event asynchronously. Each subscriber to the event will be i...
tests/Shiny.Tests.Shared/Core/Infrastructure/MessageBusTests.cs
ScriptBox99/shiny
1,035
7027562
<filename>tests/Shiny.Tests.Shared/Core/Infrastructure/MessageBusTests.cs<gh_stars>1000+ using System; using System.Reactive.Linq; using System.Reactive.Threading.Tasks; using System.Threading.Tasks; using FluentAssertions; using Shiny.Infrastructure; using Xunit; namespace Shiny.Tests.Core.Infrastructure { publ...
src/src/Mvc/App/Extensions/OptionsBuilderExtensions{StaticFileOptions}.cs
BizStream/xperience-blog-template
6
7027563
using System; using System.Reflection; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.StaticFiles; using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.Options; namespace BlogTemplate.Mvc.App.Extensions { public static partial class OptionsBuilde...
Framework/Core/Common/Commands/PowerSaveControl_g.cs
KitPatterson/KAL_XFS4IoT_SP-Dev
0
7027564
/***********************************************************************************************\ * (C) KAL ATM Software GmbH, 2021 * KAL ATM Software GmbH licenses this file to you under the MIT license. * See the LICENSE file in the project root for more information. * * This file was created automatically as pa...
Pso.Domain.Core/Pipelines/FailFastValidateCommand.cs
tmoreirafreitas/Pso
2
7027565
using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; using FluentValidation; using FluentValidation.Results; using MediatR; namespace Pso.Domain.Core.Pipelines { public class FailFastValidateCommand<TRequest, TResponse> : IPipelineBehavior<TRequest, TResponse>...
Assets/Scripts/Game/StateHandling/State/Entity/EntityState.cs
m4jr0/SmashLike
0
7027566
public class EntityState : State { public EntityStateMachine stateMachine = null; // Initial speed of the state, which is the initial speed of the animator. protected float m_initialSpeed = 0; public override State HandleInput() { return null; } public override void Initialize(Sta...
src/GameLogic/EnumerableExtensions.cs
jasondavindev/OpenMU
1
7027567
// <copyright file="EnumerableExtensions.cs" company="MUnique"> // Licensed under the MIT License. See LICENSE file in the project root for full license information. // </copyright> namespace MUnique.OpenMU.GameLogic { using System; using System.Collections.Generic; using System.Linq; /// <summary> ...
src/Nager.Country/CountryInfos/HongKongCountryInfo.cs
Tri125/Nager.Country
0
7027568
using Nager.Country.Currencies; namespace Nager.Country.CountryInfos { /// <summary> /// Hong Kong /// </summary> public class HongKongCountryInfo : ICountryInfo { ///<inheritdoc/> public string CommonName => "Hong Kong"; ///<inheritdoc/> public string OfficialName =...
Assets/Samples/Assets/WorldSensing/SpatialMap_SparseSpatialMap/Scripts/View/Create/CreateViewController.cs
Aunkon/EasyARRnD
0
7027569
<reponame>Aunkon/EasyARRnD //================================================================================================================================ // // Copyright (c) 2015-2021 VisionStar Information Technology (Shanghai) Co., Ltd. All Rights Reserved. // EasyAR is the registered trademark or trademark of...
BlazorCrud.Server/Services/HeartbeatJob.cs
chanhong/BlazorCrud
169
7027570
<gh_stars>100-1000 using Microsoft.Extensions.Logging; using Quartz; using System.Threading.Tasks; namespace BlazorCrud.Server.Services { [DisallowConcurrentExecution] public class HeatbeatJob : IJob { private readonly ILogger<HeatbeatJob> _logger; public HeatbeatJob(ILogger<HeatbeatJob> l...
Cognition.Services/DynamicTypes/DynamicDocumentTypeResolver.cs
mdsol/cognition
3
7027571
<filename>Cognition.Services/DynamicTypes/DynamicDocumentTypeResolver.cs<gh_stars>1-10 using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Security.Cryptography; using System.Text; using System.Threading.Tasks; u...
Fangkuai/Models/OrderSource.cs
okenshields/test-dotnet
1
7027572
using System; using System.IO; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Square; using Square.Utilities; namespace Square.Models { public class Order...
OOP/OOP_Principles_Part_I/01School/Discipline.cs
razsilev/TelerikAcademy_Homework
0
7027573
<filename>OOP/OOP_Principles_Part_I/01School/Discipline.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace _01School { class Discipline : Comment { public string Name { get; set; } public int NumberOfLectures { get; set; } publ...
Contractor.Core/Projects/Backend/Persistence/Generation/DbContext/DbContextGeneration.cs
jonashammerschmidt/Contractor
3
7027574
<reponame>jonashammerschmidt/Contractor<gh_stars>1-10 using Contractor.Core.Options; namespace Contractor.Core.Projects.Backend.Persistence { internal class DbContextGeneration : ClassGeneration { private readonly DbContextEntityAddition dbContextEntityAddition; private readonly DbContextPrope...
src/Filter/Particles/ByPropertyParticle.cs
OSDKDev/Panner
1
7027575
<reponame>OSDKDev/Panner namespace Panner.Filter.Particles { using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Reflection; public class ByPropertyParticle<TEntity, TProperty> : IFilterParticle<TEntity> where TEntity : class { private st...
dotnet_3/cs/rest/SCS/Imp/Ordered4.cs
EMResearch/EMB
11
7027576
using System; namespace SCS.Imp { public class Ordered4 { public static string Subject(string w, string x, string z, string y) { var result = "unordered"; if (w.Length >= 5 && w.Length <= 6 && //LIMIT LENGTH TO LIMIT PROB OF RANDOM SATISFACTION ...
Views/Default/AdvancedForm.cshtml
wasimakh2/AdminLTEAspNetMVC
14
7027577
<reponame>wasimakh2/AdminLTEAspNetMVC @{ ViewBag.Title = "AdvancedForm"; } <div class="card card-default"> @Html.Partial("Partials/_CardHeader", new ViewDataDictionary { { "title", "Select 2 (Default Theme)" } } ) <div class="card-body"> <div class="row"> <div class="col-md-6"> ...
src/Stryker.Core/Stryker.Core/Reporters/JsonReporter/JsonMutant.cs
TormentorMaharaj/stryker-net
0
7027578
<gh_stars>0  namespace Stryker.Core.Reporters.Json { public class JsonMutant { public int Id { get; set; } public string MutatorName { get; set; } public string Replacement { get; set; } public JsonMutantLocation Location { get; set; } public string Status { get; set; } ...
tests/PaginatR.Tests/PaginationResponseTests.cs
SamuelMunoz/PaginatR
2
7027579
<gh_stars>1-10 using System.Collections.Generic; using FluentAssertions; using PaginatR.Contracts; using Xunit; namespace PaginatR.Tests; public class PaginationResponseTests { private PaginationResponse<TestModel>? _sut; private readonly List<TestModel> _list; public PaginationResponseTests() { ...
Src/EzDbCodeGen.Tests/AppSettingsTests.cs
rvegajr/ez-db-codegen-core
4
7027580
using System; using Xunit; using EzDbCodeGen.Core; using EzDbCodeGen.Internal; using System.IO; using EzDbCodeGen.Core.Extentions.Strings; using EzDbCodeGen.Core.Config; using EzDbCodeGen.Core.Classes; namespace EzDbCodeGen.Tests { public class AppSettingsTests { readonly string HostSettingsSample = ""...
Assets/NEAT/Scripts/Neat/Genome/ConnectionGene.cs
Maugun/NEATUnity
1
7027581
<reponame>Maugun/NEATUnity using System; namespace NEAT { public class ConnectionGene { public int InNode { get; set; } public int OutNode { get; set; } public float Weight { get; set; } public bool IsEnable { get; set; } public int InnovationId { get; set; } p...
src/ArmTemplates/Common/TemplateModels/BackendParameters.cs
benblokcegeka/azure-api-management-devops-resource-kit
0
7027582
namespace Microsoft.Azure.Management.ApiManagement.ArmTemplates.Common.TemplateModels { /// <summary> /// Backend Parameters for a single API /// </summary> public class BackendApiParameters { public string resourceId { get; set; } public string url { get; set; } public stri...
CatsUnitTest/Domain/DRMFSS.BLL.Service/Interfaces/ITransporterService.cs
ndrmc/cats-hub
0
7027583
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; namespace DRMFSS.BLL.Services { public interface ITransporterService:IDisposable { bool AddTransporter(Transporter entity); bool DeleteTransporter(Transporter entit...
src/libraries/System.Net.Sockets/src/System/Net/Sockets/SendPacketsElement.cs
belav/runtime
0
7027584
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.IO; namespace System.Net.Sockets { // Class that wraps the semantics of a Winsock TRANSMIT_PACKETS_ELEMENTS struct. public class SendPacketsElement { ...
PhdReferenceImpl/ReadProjectionWriter.cs
atlefren/PhdExamplePipeline
0
7027585
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Threading.Tasks; using GeoAPI.Geometries; using GeoAPI.IO; using NetTopologySuite.IO; using PhdReferenceImpl.Database; using PhdReferenceImpl.EventStoreApi; using PhdReferenceImpl.MessageBus; using PhdReference...
SugarDeskSolution/SugarDesk.Restful/Views/RestfulView.xaml.cs
mattkol/SugarDesk
15
7027586
<gh_stars>10-100 // ----------------------------------------------------------------------- // <copyright file="RestfulView.xaml.cs" company="SugarDesk WPF MVVM Studio"> // Copyright (c) SugarDesk WPF MVVM Studio. All rights reserved. // </copyright> // ----------------------------------------------------------------...
src/lcmsNET/Interop/Interop.IT8.cs
jrshoare/lcmsNET
1
7027587
// Copyright(c) 2019-2021 <NAME> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, d...
Dotnet/SAP/FileTransfer/FileTransferReceiver/FileTransferR/MainPage.xaml.cs
Samsung/tizen-extension-sample
14
7027588
<gh_stars>10-100 /* * Copyright (c) 2020 Samsung Electronics Co., Ltd. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2...
RepoInspector/RepoInspector/Records/PullRequest.cs
bojanrajkovic/RepoMan
0
7027589
using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; namespace RepoInspector.Records { public class PullRequest { public string Title { get; set; } public int Number { get; set; } public long Id { get; set; } public string HtmlUrl { get; set...
TiebaMonitor/AccountInfo.cs
CXuesong/PrettyBots
0
7027591
<filename>TiebaMonitor/AccountInfo.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PrettyBots.Visitors { /// <summary> /// 表示当前登录账户的信息。 /// </summary> public interface IAccountInfo { /// <summary> /// ...
Glowstick Forest/Assets/Polaris - Low Poly Ecosystem/Jupiter - Procedural Sky/Runtime/Scripts/Core/JDetailOverlayLayer.cs
niksigouin/GlowFo
0
7027592
using UnityEngine; using System.Collections; using System.Collections.Generic; namespace Pinwheel.Jupiter { public enum JDetailOverlayLayer { AfterSky, AfterStars, AfterSun, AfterMoon, AfterHorizonCloud, AfterOverheadCloud } }
src/SDKs/ApplicationInsights/DataPlane/ApplicationInsights/Customized/Models/MetricsNestedSegment.cs
juniwang/azure-sdk-for-net
1
7027593
<filename>src/SDKs/ApplicationInsights/DataPlane/ApplicationInsights/Customized/Models/MetricsNestedSegment.cs using System.Collections.Generic; namespace Microsoft.Azure.ApplicationInsights.Models { /// <summary> /// A nested segment. /// </summary> public class MetricsNestedSegment : IMetricsBaseSeg...
modules/admin/src/Bing.Admin/Modules/AppModule.cs
stoplyy/Bing.NetCore
2
7027594
using System.ComponentModel; using System.Text; using Bing.AspNetCore; using Bing.Core.Modularity; using Bing.Webs.Extensions; using Bing.Webs.Filters; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ApplicationModels; using Microsoft.AspNetCore.Mvc.Authorization; usi...
MeetUpFunctions/GetExtendedInfoItems.cs
BlazorHub/MeetUpPlanner
0
7027595
using System; using System.IO; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.WebJobs; using Microsoft.Azure.WebJobs.Extensions.Http; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using System.Collections.Generic; using Newtonsoft.Json; using MeetUpPlanner.Sha...
Dem5Task_KrasavinSV/db/ImportClass.cs
Stanis1av/1
0
7027596
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Dem5Task_KrasavinSV.db { // Creating class for read and import csv file to the database static class ImportClass { public static void ImportMaterial() ...
Core/RuleSegment.cs
spikedee/phonix
0
7027597
<gh_stars>0 namespace Phonix { public interface IRuleSegment { /* This function should return true if the implementation matches the * segment(s) at the next position(s) of the enumeration. When this is * called, the iterator will be at the start of the enumeration or on * th...
CustomControls/ServerControls/Tab.cs
skamphuis/Dnn.CommunityForums
8
7027599
<gh_stars>1-10 // // Community Forums // Copyright (c) 2013-2021 // by DNN Community // // 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 // ...
Tools/MonoGame.Content.Builder.Editor/Controls/PropertyGridControl.eto.cs
Gitspathe/MonoGame
0
7027600
<filename>Tools/MonoGame.Content.Builder.Editor/Controls/PropertyGridControl.eto.cs // MonoGame - Copyright (C) The MonoGame Team // This file is subject to the terms and conditions defined in // file 'LICENSE.txt', which is part of this source code package. using Eto.Forms; namespace MonoGame.Tools.Pipeline { pa...
ObjectRedisMappingUnitTests/Model/NestedEntity.cs
jevonsflash/ORM-ObjectRedisMapping
3
7027601
namespace Blueve.ObjectRedisMapping.UnitTests.Model { using Blueve.ObjectRedisMapping; public class NestedEntity { [EntityKey] public virtual string Key { get; set; } public virtual NestedEntity LeftChild { get; set; } public virtual NestedEntity RightChild { get; set; } ...
MiCarDrive.Business/MiWebApi/Controllers/SynchronizationController.cs
VitaliyFilippov2012/ApiMiCarDrive
0
7027602
<gh_stars>0 using Business.Interfaces; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using MiWebApi.Aspects; using MiWebApi.Helpers; using Shared.Enums; using Shared.Models; namespace MiWebApi.Controllers { [ApiController] publ...
test/Serilog.Tests/Support/Some.cs
Mpdreamz/serilog
2
7027603
<filename>test/Serilog.Tests/Support/Some.cs using System; using System.IO; using System.Linq; using System.Threading; using Serilog.Events; using Serilog.Parsing; namespace Serilog.Tests.Support { static class Some { static int Counter; public static int Int() { return In...
src/CouchBulkDeleteDocuments.cs
theaarav/Divan
15
7027604
<reponame>theaarav/Divan using System; using System.Collections.Generic; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace Divan { /// <summary> /// Only used as pseudo doc when doing bulk updates/inserts. /// </summary> public class CouchBulkDeleteDocuments : CouchBulkDocuments { ...
src/WinUI/ArcGISRuntime.WinUI.Viewer/MainWindow.xaml.cs
brayden-marshall/arcgis-runtime-samples-dotnet
325
7027605
using Microsoft.UI.Xaml; namespace ArcGISRuntime.WinUI.Viewer { public sealed partial class MainWindow : Window { public MainWindow() { this.InitializeComponent(); Title = "ArcGIS Runtime SDK for .NET (WinUI Desktop)"; } } }
test/Swashbuckle.AspNetCore.SwaggerGen.Test/TestFixtures/Fakes/FakeController.cs
PavelZykan/Swashbuckle.AspNetCore
2
7027606
<reponame>PavelZykan/Swashbuckle.AspNetCore<gh_stars>1-10 using System; using System.Collections.Generic; using System.Threading; using System.ComponentModel.DataAnnotations; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Http; using Newtonsoft.Json.Linq; namespace Swashbuckle.AspNetCore.SwaggerGen.Test {...
src/Microsoft.Diagnostics.EventFlow.Outputs.EventHub/EventHubOutput.cs
kwaclaw/diagnostics-eventflow
0
7027607
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ using System; using System....
Service/GroupMembershipManagement/Hosts/GraphUpdater/Services.Contracts/IDeltaCalculatorService.cs
microsoftgraph/group-membership-management
23
7027608
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. using Entities; using Entities.ServiceBus; using Services.Entities; using System.Collections.Generic; using System.Threading.Tasks; namespace Services.Contracts { public interface IDeltaCalculatorService { Task<DeltaResponse> Ca...
MainWindow.cs
vanguardloaders/Vanguard-Csharp-Example
0
7027609
using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; using Vanguard; namespace Vanguard_Csharp_Example { p...
lib/ComplexProperties/RuleActions.cs
SaurabhSM/ews
11
7027610
<gh_stars>10-100 /* * Exchange Web Services Managed API * * Copyright (c) Microsoft Corporation * All rights reserved. * * MIT License * * 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...
Sinbadsoft.Lib.Model/CopyTo/CopyObjectExtension.cs
nakhli/Sinbadsoft.Lib.Model
1
7027612
<filename>Sinbadsoft.Lib.Model/CopyTo/CopyObjectExtension.cs<gh_stars>1-10 // <copyright file="CopyObjectExtension.cs" company="Sinbadsoft"> // Copyright (c) <NAME> 2010-2012 // Licensed under the Apache License, Version 2.0 (the "License"); you may not use // this file except in compliance with the License. You ma...
TestDeathSolution/TestDeathSolution.Web/Models/Paged.cs
Vladieboy/deathParade
0
7027613
<reponame>Vladieboy/deathParade<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace TestDeathSolution.Web.Models { public class Paged<T> { public int PageIndex { get; } public int PageSize { get; } public int TotalCount { get; }...
Yubaba.Uno.Modules.Main/MainModule.cs
runceel/Yubaba.Uno
3
7027614
<filename>Yubaba.Uno.Modules.Main/MainModule.cs using Prism.Ioc; using Prism.Modularity; using Prism.Regions; using Yubaba.Uno.Infrastructures; using Yubaba.Uno.Modules.Main.ViewModels; using Yubaba.Uno.Modules.Main.Views; namespace Yubaba.Uno.Modules.Main { public class MainModule : IModule { public ...
src/KJU.Core/CodeGeneration/Templates/UsesDefinesTemplate.cs
kju-lang/kju
3
7027615
<filename>src/KJU.Core/CodeGeneration/Templates/UsesDefinesTemplate.cs namespace KJU.Core.CodeGeneration.Templates { using System.Collections.Generic; using KJU.Core.Intermediate; public class UsesDefinesTemplate : InstructionTemplate { public UsesDefinesTemplate() : base(new UsesDe...
trunk/sdk/model/search/Interfaces.cs
rkapl123/logjoint
44
7027616
using System; namespace LogJoint.Search { public struct Options { private MessageFlag contentTypes; private IFilterScope scope; public MessageTextGetter messageTextGetter; public string Template; public bool WholeWord; public bool Regexp; public bool MatchCase; public bool ReverseSearc...
src/EduSurging/Edu.Surging.EFServices/Edu.Surging.EFServices.SuperUser/Mappings/UserAddress/UserAddressMapping.cs
herryhxl/surging
0
7027617
<reponame>herryhxl/surging<gh_stars>0 using Edu.Surging.EFServices.SuperUser.Base; using Edu.Surging.EntityFramework; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace Edu.Surging.EFServices.SuperUser.Entity.Mappings.UserAddress { public partial class UserAddressMa...
Source/Meadow.Foundation.Peripherals/Sensors.Motion.Hmc5883/Samples/Sensors.Motion.Qmc5883_Sample/Sensors.Motion.Qmc5883_Sample/MeadowApp.cs
jeffjulian/Meadow.Foundation
0
7027618
using System; using System.Threading; using Meadow; using Meadow.Devices; using Meadow.Foundation.Sensors.Motion; namespace MeadowApp { public class MeadowApp : App<F7Micro, MeadowApp> { Qmc5883 sensor; public MeadowApp() { InitHardware(); while (true) ...
Core/Negocio/Validar_passagens.cs
Luiz-HSSD/LES_passagens_areas
0
7027619
<filename>Core/Negocio/Validar_passagens.cs using System; using System.Collections.Generic; using System.Text; using Core.Core; using Dominio; namespace Core.Negocio { class Validar_passagens : IStrategy { public string processar(EntidadeDominio entidade) { string resposta = ""; ...
src/OrchardCore/OrchardCore.Abstractions/Modules/ModuleCompositeStaticFileProvider.cs
SvanBoxel/OrchardCore
5,234
7027621
using System.Collections.Generic; using Microsoft.Extensions.FileProviders; using OrchardCore.Modules.FileProviders; namespace OrchardCore.Modules { /// <summary> /// This custom <see cref="IFileProvider"/> implementation provides Di registration identification /// for IStaticFileProviders that should be s...
TestSuite/MaskedImageImageRenderer.cs
AMeikle99/GravitySpot2
0
7027622
using System; using System.Collections.Generic; using System.Windows.Controls; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Kinect; using System.Windows.Media.Imaging; using System.Windows.Media; using System.Windows; using OpenCLTemplate; using System.Runtime.InteropServices; /...
source/Knyaz.Optimus.WfApp/TimeLineModel.cs
mk1024/Optimus
63
7027623
<reponame>mk1024/Optimus<filename>source/Knyaz.Optimus.WfApp/TimeLineModel.cs<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using Knyaz.Optimus.Dom; using Knyaz.Optimus.Dom.Elements; using Knyaz.Optimus.ResourceProviders; namespace Knyaz.Optimus.WfApp { internal static c...
12.InhMethod/src/Vehicle.cs
sarincr/Basics-of-C-Programming-
0
7027624
<gh_stars>0 using System; namespace MyApplication { class Vehicle { public string brand = "Brand I"; public void honk() { Console.WriteLine("This is base class!"); } } }
generated/Models/ReleaseDailySessions.cs
balivo/appcenter-openapi-sdk
5
7027625
<filename>generated/Models/ReleaseDailySessions.cs // <auto-generated> // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. // </auto-generated> namespace Balivo.AppCenterClient.Models { using Newtonsoft.Json; using ...
Assets/Plugins/DarkTonic/MasterAudio/PlaymakerCustomActions/MasterAudioGroupFade.cs
H1NIVyrus/BRKDWNSANDBRKUPS
1
7027626
<reponame>H1NIVyrus/BRKDWNSANDBRKUPS<gh_stars>1-10 using DarkTonic.MasterAudio; using UnityEngine; using HutongGames.PlayMaker; using TooltipAttribute = HutongGames.PlayMaker.TooltipAttribute; [ActionCategory(ActionCategory.Audio)] [Tooltip("Fade a Sound Group in Master Audio to a specific volume over X seconds.")] pu...
src/DataCore.Adapter.Http.Proxy/Extensions/AdapterExtensionFeatureImpl.cs
intelligentplant/AppStoreConnect.Adapters
0
7027627
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using DataCore.Adapter.Common; using DataCore.Adapter.Extensions; using DataCore.Adapter.Proxy; namespace DataCore.Adapter.Http.Proxy.Extensions { /// <summary> /// Allows communication with remote <see cref...
BirdAggregator.Infrastructure/DataAccess/Photos/BirdModel.cs
selfdeceited/bird-aggregator
3
7027628
<reponame>selfdeceited/bird-aggregator using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; using MongoDB.Bson.Serialization.IdGenerators; namespace BirdAggregator.Infrastructure.DataAccess.Photos { public class BirdModel { [BsonId(IdGenerator = typeof(ObjectIdGenerator))] public Ob...
src/SdlSharp/Input/KeyModifier.cs
Ciastex/sdl-sharp
0
7027629
using System; namespace SdlSharp.Input { /// <summary> /// Modifiers to keys on the keyboard. /// </summary> [Flags] public enum KeyModifier : ushort { None = 0x0000, LeftShift = 0x0001, RightShift = 0x0002, Shift = LeftShift | RightShift, LeftCtrl = 0x0...
src/OrchardVNext/Environment/OrchardContainerMiddleware.cs
nicholaspei/OrchardNoCMS
168
7027630
using System.Linq; using System.Threading.Tasks; using Microsoft.AspNet.Builder; using Microsoft.AspNet.Http; using OrchardVNext.Environment.Configuration; using OrchardVNext.Environment.ShellBuilders; namespace OrchardVNext.Environment { public class OrchardContainerMiddleware { private readonly RequestD...
Assets/LeapMotionModules/PinchUtility/Scripts/LeapPinchDetector.cs
Scub3d/Project-SAOUI
15
7027631
<gh_stars>10-100 using UnityEngine; namespace Leap.Unity.PinchUtility { /// <summary> /// A basic utility class to aid in creating pinch based actions. Once linked with an IHandModel, it can /// be used to detect pinch gestures that the hand makes. /// </summary> public class LeapPinchDetector : MonoBehav...
src/UnitTests.StepsInSpace.Core/Resources/FileSystemProviderFacts.cs
SteffenRossberg/StepsInSpace
0
7027632
<filename>src/UnitTests.StepsInSpace.Core/Resources/FileSystemProviderFacts.cs using System; using System.IO; using StepsInSpace.Core.Resources; using Xunit; namespace UnitTests.StepsInSpace.Core.Resources; public class FileSystemProviderFacts { private readonly Func<FileSystemProvider> _createFileSystemProvider;...
Halftone/Shape Patterns/ShapePatternDithering4x4.cs
KirsonWorks/HalftoneFx
0
7027633
<gh_stars>0 namespace Halftone { using System; using System.Drawing; public class ShapePatternDithering4x4 : IShapePattern { private const int Columns = 4; private const int TableSize = Columns * Columns; private readonly int[] table = new int[TableSize] { 0, 10, 2, 8, 5, 15,...