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
src/Meta.RabbitMQ/Consumer/ConsumerReceivedFilter.cs
leisaupei/metarabbitmq
0
7050978
using Meta.RabbitMQ.Generic; using Microsoft.Extensions.Logging; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Meta.RabbitMQ.Consumer { public class ConsumerReceivedFilter : IConsumerReceivedFilter { protected readonly ILogger _lo...
src/Unleash.Extensions.Hosting.GenericHost/Lifetime/HostControlledLifetimeService.cs
scottt732/unleash-client-core
0
7050979
<reponame>scottt732/unleash-client-core using System; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Unleash.Internal; namespace Unleash.Lifetime { public class HostControlledLifeti...
MoneyTransferGuide/ViewModels/MoneyTransferSystemPageViewModel.cs
lunjio/MoneyTransferGuide
0
7050980
<gh_stars>0 using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Net.Http.Headers; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using System.Web; using MoneyTransferGuide.Helpers; using MoneyTransferGuide.Model; using MoneyTransfer...
src/core/Logic/Blocks/Misc/TintedCustomModelBlock.cs
pershingthesecond/VoxelGame
6
7050981
// <copyright file="TintedCustomModelBlock.cs" company="VoxelGame"> // MIT License // For full license see the repository. // </copyright> // <author>pershingthesecond</author> using OpenToolkit.Mathematics; using VoxelGame.Core.Entities; using VoxelGame.Core.Logic.Interfaces; using VoxelGame.Core.Physics; usi...
source/MikhailKhalizev.Max/source/Program/Auto/z-0017-e12c.cs
mikhail-khalizev/max
3
7050982
using System; using MikhailKhalizev.Processor.x86.BinToCSharp; namespace MikhailKhalizev.Max.Program { public partial class RawProgram { [MethodInfo("0x17_e12c-364fffdc")] public void Method_0017_e12c() { ii(0x17_e12c, 1); push(bp); /...
eIVOGo/Module/SAM/EditWinningNumber.ascx.cs
uxb2bralph/IFS-EIVO03
0
7050984
<reponame>uxb2bralph/IFS-EIVO03 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Collections; using Model.DataEntity; using Model.Security.MembershipManagement; using Model.InvoiceManagement; using Uxnet.Web.Module.C...
CodilityCodewars/CodilityCodewars.Tests/Codility/CountingNumbersTests.cs
LukaszKot/codility-codewars
0
7050985
<filename>CodilityCodewars/CodilityCodewars.Tests/Codility/CountingNumbersTests.cs using CodilityCodewars.Codility; using NUnit.Framework; namespace CodilityCodewars.Tests.Codility { [TestFixture] public class CountingNumbersTests { [TestCase(new int[] { 1,3,6,4,1,2 }, ExpectedResult = 5)] ...
src/KubeOps/Operator/Commands/Generators/InstallerGenerator.cs
tomkerkhove/dotnet-operator-sdk
0
7050986
using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; using k8s.Models; using KubeOps.Operator.Entities.Kustomize; using KubeOps.Operator.Serialization; using McMaster.Extensions.CommandLineUtils; namespace KubeOps.Operator.Commands.Generators { [Command("installer", ...
source/AutomaticModelStateValidation/AutoValidateModel.cs
daniellittledev/AutomaticModelStateValidation
3
7050987
<filename>source/AutomaticModelStateValidation/AutoValidateModel.cs using System; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.AspNetCore.Mvc.Controllers; using Microsoft.AspNetCore.Mvc.Infrastructure; namespace AutomaticModel...
Src/Black.Beard.Oracle.Reader/ContextLoader.cs
Black-Beard-Sdk/Oracle.Parser
0
7050988
<filename>Src/Black.Beard.Oracle.Reader/ContextLoader.cs using Bb.Oracle.Reader.Dao; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Bb.Oracle.Reader { public static class ContextLoader { private static string Sql1 = @"SE...
src/server/src/Modules/Shop.Module.SmsSenderAliyun/Models/AliyunSendSmsResult.cs
cn-cam/module-shop
0
7050989
namespace Shop.Module.SmsSenderAliyun.Models { public class AliyunSendSmsResult { /// <summary> /// 发送回执ID,可根据该ID在接口QuerySendDetails中查询具体的发送状态。 /// 900619746936498440^0 /// </summary> public string BizId { get; set; } /// <summary> /// 请求状态码。 /// ...
Unity/Assets/Resources/Gaia/Scripts/Common/Editor/RemoteContent.cs
naivetang/ET_Tank
19
7050990
<filename>Unity/Assets/Resources/Gaia/Scripts/Common/Editor/RemoteContent.cs // Copyright © 2018 Procedural Worlds Pty Limited. All Rights Reserved. using UnityEditor; using UnityEngine; using System; using System.IO; using System.Runtime.Serialization.Formatters.Binary; using System.Runtime.Serialization; namespace...
SGU-Three-Tier-MVC-2018/Sgu.Shop/Sgu.Shop.BLL.Contracts/IRatingLogic.cs
NurAliia/SGU-Three-Tier-MVC
0
7050991
using System; using System.Collections.Generic; using Common; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Sgu.StudentTesting.BLL.Contracts { public interface IRatingLogic { void AddRating(Rating rating); double GetRatingShopById(int idShop); IEnumerabl...
src/Demo.Domain/Customer/Validators/CustomerValidator.cs
nvdvlies/dotnet-api-and-angular-frontend-modular-monolith
1
7050992
<gh_stars>1-10 using Demo.Domain.Shared.DomainEntity; using Demo.Domain.Shared.Extensions; using Demo.Domain.Shared.Interfaces; using FluentValidation; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; namespace Demo.Domain.Customer.Validators { internal class CustomerValidat...
The Sherlocked/Assets/Malbers Animations/Common/Scripts/Conditions/Animal/C_AnimalStance.cs
alfonsoquartny/Sherlocked
0
7050993
<gh_stars>0 using MalbersAnimations.Controller; using System.Collections.Generic; using UnityEngine; namespace MalbersAnimations.Conditions { [System.Serializable] public class C_AnimalStance : MAnimalCondition { public override string DisplayName => "Animal/Stances"; public enum StanceCo...
MathBarld/ProjectEuler/Problem15.cs
barld/MathBarld
0
7050994
<filename>MathBarld/ProjectEuler/Problem15.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MathBarld.ProjectEuler { public class Problem15 : IProblem { public string ProblemDescription => @"Starting in the top ...
templates/Bellatrix.API.GettingStarted/Models/Invoices.cs
quantum-grit/BELLATRIX
1
7050995
using System.Collections.Generic; namespace Bellatrix.API.GettingStarted.Models { public class Invoices { public Invoices() => InvoiceItems = new HashSet<InvoiceItems>(); public long InvoiceId { get; set; } public long CustomerId { get; set; } public string InvoiceDate { get; ...
trips.cshtml
ericscrum/soe-food-tool
0
7050996
<filename>trips.cshtml<gh_stars>0 @{ var db= Database.Open("food-tool"); var sqlQ = "SELECT * FROM Trips"; var data = db.Query(sqlQ); } <div id="tripslist"> <ol> @foreach(var row in data){ <li> <a href="editTrip.cshtml?id=@row.id">@row.TripName, @row.Leaders, @row.D...
src/Configuratively/Domain/ConfigurationEntity.cs
perceptile/Configuratively
5
7050997
namespace Configuratively.Domain { public class ConfigurationEntity { public string Name { get; set; } public string Regex { get; set; } } }
SpaceSimulator/Physics/IPhysicsObject.cs
svenslaggare/SpaceSimulator.NET
4
7050998
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using SpaceSimulator.Mathematics; namespace SpaceSimulator.Physics { /// <summary> /// Represents an object affected by physics /// </summary> public interface IPhysicsObject { ...
src/Directory/Data/Repositories/IGenericEFRepository.cs
biobankinguk/biobankinguk
5
7050999
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Threading.Tasks; namespace Biobanks.Directory.Data.Repositories { public interface IGenericEFRepository<TEntity> { Task<IEnumerable<TEntity>> ListAsync(bool tracking = false, Expre...
AgFx.Portable/ICacheEntry.cs
l3v5y/AgFx
0
7051000
<reponame>l3v5y/AgFx<filename>AgFx.Portable/ICacheEntry.cs using System; using System.IO; using System.Threading.Tasks; namespace AgFx { public interface ICacheEntry : ILoadContextItem { // TODO: Comment this up a bit object DeserializeAction(LoadContext id, Stream data, bool isOptimi...
Assets/InsightExamples/4. MasterServer/Scripts/GUIMasterServer.cs
Raystorms/Insight
0
7051001
<filename>Assets/InsightExamples/4. MasterServer/Scripts/GUIMasterServer.cs using Insight; using UnityEngine; using UnityEngine.UI; public class GUIMasterServer : MonoBehaviour { [Header("Insight")] public InsightServer masterServer; public ModuleManager moduleManager; public ServerAuthentication auth...
src/Launcher.ctrlib/Data/BindingCodeDom/BindingCodeDomPrimitiveValue.cs
lufengfan/yande.re-Desktop
0
7051002
using System; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Markup; using Yandere; namespace Launcher.Data.BindingCodeDom { [ContentProperty(nameof(BindingCodeDomPrimitiveValue.Val...
Data/iRocks.DataLayer/DapperRepositories/PostMediaDapperRepository.cs
pyDez/SocialFootprintAPI
0
7051003
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Transactions; using Dapper; namespace iRocks.DataLayer { public class PostMediaDapperRepository : DapperRepos...
Game.Engine.Test/InternalHealthDamageTestData.cs
vich/XUnit-Example
1
7051005
using System.Collections.Generic; namespace Game.Engine.Test { public class InternalHealthDamageTestData { public static IEnumerable<object[]> TestData { get { yield return new object[] { 0, 100 }; yield return new object[] { 10, 90 }; ...
src/Api/PubnubApi/Model/Consumer/Push/PNPushListProvisionsResult.cs
ShadowDog007/c-sharp
0
7051006
<filename>src/Api/PubnubApi/Model/Consumer/Push/PNPushListProvisionsResult.cs using System; using System.Collections.Generic; namespace PubnubApi { public class PNPushListProvisionsResult { public List<string> Channels { get; set; } } }
StrongInject.Generator/InstanceSources.cs
VolodymyrBS/stronginject
627
7051007
<filename>StrongInject.Generator/InstanceSources.cs using System.Collections; using System.Collections.Generic; namespace StrongInject.Generator { internal class InstanceSources : IReadOnlyCollection<InstanceSource> { public InstanceSources(InstanceSource? best, ImmutableSetInInsertionOrder<InstanceSo...
VisualStudio/FoundationEditor/Events/FloatEventHubEditor.cs
travistrue2008/foundation-framework
0
7051008
<reponame>travistrue2008/foundation-framework<filename>VisualStudio/FoundationEditor/Events/FloatEventHubEditor.cs using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; namespace TRUEStudios.Foundation.Events { [CustomEditor(typeof(FloatEventHub))] public class FloatEvent...
Assets/TatemonSugoroku/Scripts/Gfshade/UIHelpCanvas.cs
gforestshade/TatemonSugorokuGame
0
7051009
<reponame>gforestshade/TatemonSugorokuGame using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using SubmarineMirage.Utility; using SubmarineMirage.Service; using SubmarineMirage.Data; using SubmarineMirage.Scene; using SubmarineMirage.Audio; using SubmarineMirage.Setting; ...
Backend/TriggerWebsiteBuild.cs
barrar/CG2021-HeadlessUnicore
0
7051010
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using System; using System.Net; using Umbraco.Cms.Core.Composing; using Umbraco.Cms.Core.DependencyInjection; using Umbraco.Cms.Core.Events; using Umbraco.Cms.Core.Notifications; namespace CG2021 { ...
src/go-src-converted/runtime/runtime2_funcinlStruct.cs
rgwood/go2cs
249
7051012
//--------------------------------------------------------- // <auto-generated> // This code was generated by a tool. Changes to this // file may cause incorrect behavior and will be lost // if the code is regenerated. // // Generated on 2020 October 09 04:48:09 UTC // </auto-generated> //--------------...
src/MoviesDatabase.Core/Exceptions/MovieNotFoundException.cs
ilievv/movies-database-api
0
7051013
<filename>src/MoviesDatabase.Core/Exceptions/MovieNotFoundException.cs using System; namespace MoviesDatabase.Core.Exceptions { [Serializable] public class MovieNotFoundException : Exception { public MovieNotFoundException() { } public MovieNotFoundException(string message...
SimpleChat.Core/APIStatusCode.cs
SimpleChatApp/SimpleChat-WebAPI
1
7051014
using System; using System.Collections.Generic; using System.Text; namespace SimpleChat.Core { public static class APIStatusCode { /* //-SAMPLE-// /// <summary> /// Desc /// </summary> public const string ERR01001 = "ERR01001"; */ /* -...
src/Metadata/DimensionTypeEnum.cs
tunaman65/xmla-client
15
7051015
using System.Xml.Serialization; namespace RadarSoft.XmlaClient.Metadata { public enum DimensionTypeEnum { [XmlEnum("0")] Unknown = 0, [XmlEnum("1")] Time = 1, [XmlEnum("2")] Measure = 2, [XmlEnum("3")] Other = 3, [XmlEnum("5")] Quantitative = 5, [XmlEnum("6")] Ac...
OzricEngine/json/JsonConverterEvent.cs
jchown/ozric
0
7051016
<reponame>jchown/ozric<gh_stars>0 namespace OzricEngine { /// <summary> /// Event deserializer /// </summary> public class JsonConverterEvent: JsonConverterBase<Event> { public JsonConverterEvent() : base("event_type") { } } }
Source/AllModdingComponents/ThinkNodes/ThinkNode_ConditionalHediff.cs
Proxyer/JecsTools
44
7051017
<filename>Source/AllModdingComponents/ThinkNodes/ThinkNode_ConditionalHediff.cs using Verse; using Verse.AI; namespace ThinkNodes { public class ThinkNode_ConditionalHediff : ThinkNode_Conditional { public string hediffDef; protected override bool Satisfied(Pawn pawn) { if...
Libraries/Slf/TypeSystems/Versioned Assembly Hierarchy/Vre/VreXmlNamespaceParentVersion.cs
AlexanderMorou/AbstractionProject
0
7051018
using AllenCopeland.Abstraction.Slf.Abstract; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AllenCopeland.Abstraction.Slf.Vre { public abstract class VreXmlNamespaceParentVersion<TEnvironment, TVersion, TIdentityManager> : ...
Denga.Pipeworks.SiteSettings/Entities/SiteSettingsGroupSiteSetting.cs
Dennisenzo/Pipeworks
0
7051019
<gh_stars>0 using System.ComponentModel.DataAnnotations.Schema; using Microsoft.EntityFrameworkCore.Metadata.Internal; namespace Denga.Pipeworks.SiteSettings { public class SiteSettingsGroupSiteSetting { public int SettingId { get; set; } public int SettingsGroupId { get; set; } [Forei...
OpenTelemetry.Exporter.Elasticsearch/ElasticCreateAction.cs
mayong43111/OpenTelemetry.Exporter.Elasticsearch
0
7051020
<gh_stars>0 using System.Runtime.Serialization; namespace OpenTelemetry.Exporter.Elasticsearch { sealed class ElasticCreateAction { public ElasticCreateAction(ElasticActionPayload payload) { Payload = payload; } [DataMember(Name = "create")] public ElasticA...
Source/Web/SofiaToday.Web/Areas/Administration/Controllers/MessagesManagementController.cs
stoberov/SofiaToday
0
7051021
namespace SofiaToday.Web.Areas.Administration.Controllers { using System.Linq; using System.Web.Mvc; using Kendo.Mvc.Extensions; using Kendo.Mvc.UI; using SofiaToday.Data; using SofiaToday.Data.Models; using SofiaToday.Web.Areas.Administration.ViewModels; public class MessagesManagemen...
Product_DataAccess/QueryHandlers/RetrieveItemsQueryHandler.cs
mhartsuiker/ExampleDotNetCoreAPI
1
7051022
<reponame>mhartsuiker/ExampleDotNetCoreAPI using Microsoft.EntityFrameworkCore; using Product.Contracts.DataTypes; using Product.Contracts.Interfaces; using Product.Contracts.Queries; using System.Collections.Generic; using System.Linq; namespace Product.DataAccess.QueryHandlers { public class RetrieveItemsQueryH...
Asteroids.Server/ServerGame.cs
rumkugel13/Asteroids
0
7051023
<gh_stars>0 using Asteroids.Shared; using Kadro.ECS; using RKDnet; using Lidgren.Network; using Microsoft.Xna.Framework; using System; using Kadro.Extensions; namespace Asteroids.Server { public class ServerGame : GameRoom { private readonly SignalManager signalManager; private readonly Entity...
UnityEngine/Switch/NetworkInterfaceWrapper.cs
SinsofSloth/RF5-global-metadata
1
7051025
[NativeHeaderAttribute] // RVA: 0x114E80 Offset: 0x114F81 VA: 0x114E80 public static class NetworkInterfaceWrapper // TypeDefIndex: 3873 { // Fields [CompilerGeneratedAttribute] // RVA: 0x114FE0 Offset: 0x1150E1 VA: 0x114FE0 [DebuggerBrowsableAttribute] // RVA: 0x114FE0 Offset: 0x1150E1 VA: 0x114FE0 private static ...
CanedoLab.MicroServices/src/services/CanedoLab.MS.Catalog.API/Configuration/EntityFrameworkConfig.cs
canedo-labs/MicroServices
1
7051026
using CanedoLab.MS.Catalog.API.Data; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace CanedoLab.MS.Catalog.API.Configuration { public static class EntityFrameworkConfig { public static IServiceCollection AddDbConte...
Disney.Mix.SDK.Internal.GuestControllerDomain/LegalRequirements.cs
smdx24/CPI-Source-Code
8
7051028
<gh_stars>1-10 // LegalRequirements using System.Collections.Generic; public class LegalRequirements { public Dictionary<string, string> cookiePermissions { get; set; } public Dictionary<string, string> marketingPermissions { get; set; } }
source/ClassTracker.Repository/ClassTrackerDbContext.cs
KathleenDollard/ClassTracker
14
7051029
using System.ComponentModel.DataAnnotations.Schema; using System.Data.Entity; using System.Data.Entity.Infrastructure; namespace KadGen.ClassTracker.Repository { public class ClassTrackerDbContextFactory : IDbContextFactory<ClassTrackerDbContext> { public ClassTrackerDbContext Create() { ...
ShellScript/Core/Language/Compiler/Transpiling/ExpressionBuilders/ExpressionBuilderHelpers.cs
amkherad/ShellScript
6
7051030
using System; using System.Collections.Generic; using ShellScript.Core.Language.Compiler.Statements; using ShellScript.Core.Language.Compiler.Statements.Operators; namespace ShellScript.Core.Language.Compiler.Transpiling.ExpressionBuilders { public class ExpressionBuilderHelpers { public static bool Re...
Tests/AnnoDesigner.Tests/AdjecentCellGrouperTests.cs
FroggieFrog/anno-designer
80
7051031
<reponame>FroggieFrog/anno-designer using System.Linq; using System.Windows; using AnnoDesigner.Helper; using Xunit; namespace AnnoDesigner.Tests { public class AdjacentCellGrouperTests { private class Item { public int Value { get; set; } } private AdjacentCellGro...
sources/Interop/Windows/Windows/um/MsHTML/IHTMLCurrentStyle2.cs
JeremyKuhne/terrafx.interop.windows
0
7051032
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information. // Ported from um/MsHTML.h in the Windows SDK for Windows 10.0.20348.0 // Original source is Copyright © Microsoft. All rights reserved. using System; using System.Runtime.CompilerServ...
Assets/Jagapippi/UnityAsReadOnly/UnityEngine/ReadOnlyRigidbody2D.cs
su10/Unity-AsReadOnly
0
7051033
using UnityEngine; namespace Jagapippi.UnityAsReadOnly { public interface IReadOnlyRigidbody2D { float angularDrag { get; } float angularVelocity { get; } int attachedColliderCount { get; } RigidbodyType2D bodyType { get; } Vector2 centerOfMass { get; } Collisio...
cancel.aspx.cs
LFJ8/nicepay_1225
0
7051034
using System; using System.Web.UI; public partial class cancel : Page{ protected String amount; protected void Page_Load(object sender, EventArgs e){ amount = "1000"; } }
Program.cs
Schlauchboot/Schlauchboot.Crunchyroll.Ripper
0
7051035
<reponame>Schlauchboot/Schlauchboot.Crunchyroll.Ripper<gh_stars>0 //Open Tasks: Implement Playlist-Support using System; using System.IO; using System.Linq; using System.Threading.Tasks; using System.Collections.Generic; using Schlauchboot.Ripper.Crunchyroll.Models; using Schlauchboot.Ripper.Crunchyroll.Methods; usi...
OPSMBackend/Models/Response/AddTestTitlesInGoupResponseModel.cs
shrungBhatt/PathologyLabServer
0
7051036
using OPSMBackend.DataEntities; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace OPSMBackend.Models.Response { public class AddTestTitlesInGoupResponseModel { public int SelectedGroupId { get; set; } public List<TestTitles> TestTitles {...
StudentsFirst.Api.Monolithic/Features/Groups/GroupsService.cs
saraetx/studentsfirst
0
7051037
using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.EntityFrameworkCore; using StudentsFirst.Api.Monolithic.Infrastructure; using StudentsFirst.Common.Models; using StudentsFirst.Common.Services; namespace StudentsFirst.Api.Monolithic.Features.Groups { publi...
POS-HealthyRoasters/sales_report.cs
rynrsts/HealthyRoasters
2
7051038
<filename>POS-HealthyRoasters/sales_report.cs 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 POS_HealthyRoasters { publi...
src/ActorWordsCounter/Readers/ConsoleReader.cs
rikace/AkkaActorModel
48
7051040
using System; namespace ActorWordsCounter.Readers { public class ConsoleReader : IReadStuff { public string ReadLine() { return Console.ReadLine(); } } }
src/Irantimeline/Models/TimelineEntity.cs
hrsh/irantimeflow
0
7051041
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using System; namespace Irantimeline.Models { public class TimelineEntity { public int Id { get; set; } public string UniqueId { get; set; } public string Title { get; set; } public s...
leave-management/Views/Shared/_AdminLTE.cshtml
aramontoya07/leave-management
0
7051042
@using Microsoft.AspNetCore.Identity @using leave_management.Data @inject SignInManager<Employee> SignInManager @inject UserManager<Employee> UserManager <!DOCTYPE html> <!-- This is a starter template page. Use this page to start your new project from scratch. This page gets rid of all links and provides the needed m...
test/WebSites/ValidationWebSite/AnotherArea/Controllers/RemoteAttribute_VerifyController.cs
abdelrahmansaeedhassan/mvc
1
7051043
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.AspNet.Mvc; using ValidationWebSite.Models; namespace ValidationWebSite.AnotherArea.Controllers { [Area("AnotherAria")] [Route(...
CountDown/CountDownForm.cs
donkirkby/donkirkby-old
0
7051044
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace CountDown { public partial class CountDownForm : Form { private DateTime endTime; pu...
Ryujinx.Cpu/IVirtualMemoryManagerTracked.cs
neozumm/Ryujinx
11,580
7051045
<gh_stars>1000+ using Ryujinx.Cpu.Tracking; using Ryujinx.Memory; using Ryujinx.Memory.Tracking; using System; using System.Collections.Generic; namespace Ryujinx.Cpu { public interface IVirtualMemoryManagerTracked : IVirtualMemoryManager { /// <summary> /// Reads data from CPU mapped memory, ...
TaffyScript.Compiler/Symbols/ImportLeaf.cs
mystborn/TaffyScript
42
7051046
<reponame>mystborn/TaffyScript using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using TaffyScript.Compiler.Syntax; namespace TaffyScript.Compiler { public class ImportLeaf : SymbolLeaf { public ImportScriptNode Node { get; } p...
Assets/Scripts/Game Assets/Bullet/WaterRing.cs
996Studio/GoblinMustDie
0
7051047
<reponame>996Studio/GoblinMustDie using System; using System.Collections; using System.Collections.Generic; using Enum; using UnityEngine; public class WaterRing : MonoBehaviour { public Collider trigger; private int damage; public float elementAmount; public int elementPower; public int Damage ...
CrazyCoder/ViewModels/MainViewModel.cs
leixf2005/XCoder
249
7051048
using System.Collections.ObjectModel; using System.Windows; using CrazyCoder.Models; using CrazyCoder.Views; using GalaSoft.MvvmLight; using GalaSoft.MvvmLight.Command; using NewLife.Reflection; namespace CrazyCoder.ViewModels { public class MainViewModel : ViewModelBase { public MainViewModel() ...
src/Requestnet.Web/Views/Caso/Index.cshtml
Lalfonsob/requestNetweb
0
7051049
<filename>src/Requestnet.Web/Views/Caso/Index.cshtml<gh_stars>0 @model IEnumerable<Requestnet.Core.Domain.Casos> @{ ViewData["Title"] = "Index"; } <div id="sidebar-nav" class="sidebar"> <div class="sidebar-scroll"> <nav> <ul class="nav"> <li>@Html.ActionLink("Inventario", ...
Sharprompt.Example/Models/MyFormModel.cs
ryfu-msft/Sharprompt
1
7051050
<gh_stars>1-10 using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Sharprompt.Example.Models { public class MyFormModel { [Display(Prompt = "What's your name?", Order = 1)] [Required] public string Name { get; set; } [Display(Prompt = "Type...
src/StackExchange.Redis.Branch/Repository/Branch/RedisGroupByFunction.cs
dogabariscakmak/StackExchange.Redis.Branch
0
7051051
<filename>src/StackExchange.Redis.Branch/Repository/Branch/RedisGroupByFunction.cs using StackExchange.Redis.Branch.Entity; using System; using System.Linq.Expressions; namespace StackExchange.Redis.Branch.Repository { /// <summary> /// Redis Group. It groups entities by a function. Redis Key is function name...
ShantiesSongbook/DataAccess/IShantyRepository.cs
ChrisChobot/ShantiesSongbook---Work-In-Progress
0
7051052
using DataAccess.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataAccess { public interface IShantyRepository { IEnumerable<Shanty> GetAll(); Shanty Get(uint id); Shanty Get(string title); } ...
UnrealEngine-4.11.2-release/Engine/Source/Programs/UnrealProjectTemplate/WizardAssembly/IWizardImpl.cs
armroyce/Unreal
1
7051053
<reponame>armroyce/Unreal<filename>UnrealEngine-4.11.2-release/Engine/Source/Programs/UnrealProjectTemplate/WizardAssembly/IWizardImpl.cs // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; usi...
God.Qq.Core/Services/QqMsgContract.cs
shuqizhao/QQPraise
1
7051054
using System; using System.Configuration; using System.IO; using System.ServiceModel.Web; using System.Text; using God.Qq.Core.Caches; using God.Qq.Core.Handlers; using God.Qq.Core.Models; namespace God.Qq.Core.Services { public class QqMsgContract : IQqMsgContract { public Stream Check()...
Framework/Adxstudio.Xrm/Forums/IPaginatedForumPostUrlProvider.cs
hhnguyen/xRM-Portals-Community-Edition
117
7051056
/* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. */ using System; namespace Adxstudio.Xrm.Forums { public interface IPaginatedForumPostUrlProvider { string GetPostUrl(IForumThread forumThread, int forumThr...
src/Vk.Api.Schema/Enums/ReportContentType.cs
extremecodetv/Vk.Api.Schema
4
7051057
<reponame>extremecodetv/Vk.Api.Schema namespace Vk.Api.Schema.Enums { /// <summary> /// Тип жалобы на контент /// </summary> public enum ReportContentType { /// <summary> /// Спам /// </summary> Spam, /// <summary> /// Детская порнография ///...
Assets/[Scripts]/SaltController.cs
TheMemeMeister/GAME2014-F2021-Lab1b
0
7051058
using System.Collections; using System.Collections.Generic; using UnityEngine; public class SaltController : MonoBehaviour { //[Header("Assignment 1 part 2 101270509")] public float horizontalSpeed; public float horizontalBoundary; public SaltManager saltManager; public int damage; // Start is ...
Sengoku Warrior/Assets/Scripts/UI/Inventory/Inventory_ItemList_Button.cs
PetteriPaju/ThesisStartegy
0
7051059
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; using UnityEngine.Events; #if UNITY_EDITOR using UnityEditor; #endif namespace SengokuWarrior { public class Inventory_ItemList_Button : Button, IPointerClickHandler, I...
CSF.Validation.Abstractions/RuleExecution/IExeucutesSingleRule.cs
csf-dev/CSF.Validation
0
7051060
<reponame>csf-dev/CSF.Validation<filename>CSF.Validation.Abstractions/RuleExecution/IExeucutesSingleRule.cs using System.Threading; using System.Threading.Tasks; namespace CSF.Validation.RuleExecution { /// <summary> /// An object which can execute a single validation rule and get its result. /// </summary...
SmartPos/Communication/ApiClient.cs
AbabeiAndrei/SmartPos
0
7051061
using System.Threading.Tasks; using System.Collections.Generic; using Newtonsoft.Json; using RestSharp; using SmartPos.Ui.Security; using SmartPos.Desktop.Data; using SmartPos.Ui.Components; using SmartPos.DomainModel.Base; using SmartPos.GeneralLibrary.Extensions; using SmartPos.Desktop.Communication.Controllers; ...
src/EFCore.MongoDB/Extensions/MongoDBDbContextOptionsExtensions.cs
IoTSharp/IoTSharp.EntityFrameworkCore.MongoDB
3
7051062
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using IoTSharp.EntityFrameworkCore.MongoDB.Infrastructure; using IoTSharp.EntityFrameworkCore.MongoDB.Infrastructure.Internal; // ReSharper disable once CheckNamespace namespace IoT...
Programming Fundamentals C#/5.Array And List Algorithms-Exercices/Batteries/Program.cs
MiraNedeva/SoftUni
0
7051063
<reponame>MiraNedeva/SoftUni using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; /* You are in a battery manufacturing plant. Your task is to stress test the latest batch of batteries for longevity. You will receive an array of doubles on the console (fi...
src/SpecBind.Tests/Actions/SetTokenFromValueActionFixture.cs
SpecBind/SpecBind
24
7051064
// <copyright file="SetTokenFromValueActionFixture.cs"> // Copyright © 2013 <NAME> All rights reserved. // </copyright> namespace SpecBind.Tests.Actions { using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using SpecBind.ActionPipeline; using SpecBind....
OdontoTech/Domain.IntegrationTests/DomainSetUpFixture.cs
marcieleadivincula/entra21_TCC
0
7051065
using NUnit.Framework; using System; using System.Transactions; namespace Domain.IntegrationTests { [SetUpFixture] public class DomainSetUpFixture { private TransactionScope _transactionScope; [OneTimeSetUp] public void SetUp() { _transactionScope = new Transact...
FarmAnimalVarietyRedux/Menus/CustomAnimalQueryMenu.cs
Sonozuki/StardewMods
0
7051066
<filename>FarmAnimalVarietyRedux/Menus/CustomAnimalQueryMenu.cs using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using StardewValley; using StardewValley.BellsAndWhistles; using StardewValley.Buildings; using StardewValley.Menus; using System.Collections.Gener...
src/ContosoUniversity.Infrastructure/Repositories/StudentRepository.cs
theMickster/contoso-university-razor-pages
1
7051067
<reponame>theMickster/contoso-university-razor-pages using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ContosoUniversity.Core.Entities; using ContosoUniversity.Infrastructure.DbContexts; using ContosoUniversity.Infrastructure.Interfaces; using Mic...
BonTemps/Models/Menu.cs
FranklinWaller/BonTemps
0
7051068
using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Web; namespace BonTemps.Models { public class Menu { [Key] public int Id { get; set; } [Display(Name="Naam")] public string Name { g...
Assets/ex02/Scripts/Club.cs
frolushka/d00
0
7051069
using UnityEngine; public class Club : MonoBehaviour { [SerializeField] private SpriteRenderer clubSpriteRenderer; [SerializeField] private Ball ball; [Space] [SerializeField] private float rotationSpeed; [Header("Punch settings")] [SerializeField] private float maxPower; [SerializeField] ...
solutions/Virtual-Assistant/src/csharp/skills/calendarskill/ServiceClients/GraphClientHelper.cs
flickerliu/AI
0
7051070
<gh_stars>0 using System; using System.Net.Http.Headers; using System.Threading.Tasks; using CalendarSkill.ServiceClients.GoogleAPI; using Microsoft.Graph; namespace CalendarSkill.ServiceClients { public class GraphClientHelper { /// <summary> /// Get an authenticated ms graph client use acces...
WowAutomater/FinishingSpell.cs
dtabacaru/MindControl
4
7051071
<reponame>dtabacaru/MindControl using WindowsInput.Native; using WowApi; namespace WowAutomater { public class FinishingSpell : ComboPointSpell { public double TargetHealthPercentage = 25; public FinishingSpell( VirtualKeyCode hotKey, double targetHealthPercen...
src/Audit.NET.SqlServer/ConfigurationApi/SqlServerProviderConfigurator.cs
ExileBLR/Audit.NET
0
7051072
<filename>src/Audit.NET.SqlServer/ConfigurationApi/SqlServerProviderConfigurator.cs using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Audit.SqlServer.Configuration { public class SqlServerProviderConfigurator : ISqlServerProviderConfigurator { i...
Cake.Recipe/Content/chocolatey.cake
arturcic/Cake.Recipe
1
7051073
BuildParameters.Tasks.CreateChocolateyPackagesTask = Task("Create-Chocolatey-Packages") .IsDependentOn("Clean") .WithCriteria(() => BuildParameters.IsRunningOnWindows) .WithCriteria(() => DirectoryExists(BuildParameters.Paths.Directories.ChocolateyNuspecDirectory)) .Does(() => { var nuspecFiles = Ge...
UCWASDK/UCWASDK/Models/PhoneAudio.cs
tcs-devel/UCWA2.0-CS
29
7051074
using Microsoft.Skype.UCWA.Services; using Newtonsoft.Json; using System; using System.Threading; using System.Threading.Tasks; namespace Microsoft.Skype.UCWA.Models { /// <summary> /// Represents the phone audio modality in a conversation. /// Phone audio refers to communication that is delivered via a ...
AppDigitalCv/AppDigitalCv/Views/Error/NoScript.cshtml
FazurP/DigitalCv
1
7051075
<filename>AppDigitalCv/AppDigitalCv/Views/Error/NoScript.cshtml @{ ViewBag.Title = "Not Found Javascript"; } <div class="error-page"> <h2 class="headline text-red">404</h2> <div class="error-content"> <h3><i class="fab fa-js text-red"></i> Se requiere JavaScript</h3> <p> Lame...
dotnet/src/EasyAbp.AbpHelper.Gui.Application.Contracts/ModuleManagement/Installer/IModuleManagementInstallerAppService.cs
aelhadi/AbpHelper.GUI
0
7051076
<filename>dotnet/src/EasyAbp.AbpHelper.Gui.Application.Contracts/ModuleManagement/Installer/IModuleManagementInstallerAppService.cs using System.Threading.Tasks; using EasyAbp.AbpHelper.Gui.ModuleManagement.Installer.Dtos; using Volo.Abp.Application.Services; namespace EasyAbp.AbpHelper.Gui.ModuleManagement.Installer...
test/EFCore.MySql.FunctionalTests/MySqlComplianceTest.cs
eKipod/Pomelo.EntityFrameworkCore.MySql
1
7051077
using System; using System.Collections.Generic; using System.Reflection; using Microsoft.EntityFrameworkCore; namespace Pomelo.EntityFrameworkCore.MySql.FunctionalTests { public class MySqlComplianceTest : RelationalComplianceTestBase { protected override ICollection<Type> IgnoredTestBases { ...
TencentCloud/Tcaplusdb/V20190823/Models/CompareTablesInfo.cs
TencentCloud/tencentcloud-sdk-dotnet-intl-en
1
7051078
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. 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.0 * ...
Chapter06/Examples/Repository/Demo.cs
PacktWorkshops/The-C-Sharp-Workshop
3
7051079
<filename>Chapter06/Examples/Repository/Demo.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using Chapter06.Examples.TalkingWithDb.Orm; using Microsoft.Data.Sqlite; using Microsoft.EntityFrameworkCore; namespace Chapter06.Examples.Repository { public static class Demo ...
Configuration.ascx.designer.cs
ufoloko/DNN.FormAndList
25
7051080
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-----------------------------------------...
Scripts/GameInputManager.cs
MitchellSmithDeveloper/UnityInputWrapper
0
7051081
using UnityEngine; public class GameInputManager : MonoBehaviour { public static GameInputManager Instance { get; private set; } public static GameInput PlayerInput { get; private set; } static EventHelper inputUpdate = new EventHelper(); private void Awake() { if(Instance == ...
6142OT_Code bundle/Section 7/LevelChanger_Collision.cs
PacktPublishing/-Mastering-Unity-4-Scripting
2
7051082
<filename>6142OT_Code bundle/Section 7/LevelChanger_Collision.cs using UnityEngine; using System.Collections; public class LevelChanger_Collision : MonoBehaviour { void OnTriggerEnter(Collider other) { if(other.tag == "LevelChanger") { Application.LoadLevel("LevelChange_1a"); } } }
product/hcm/Fap.Hcm.Web/Areas/System/Views/Tools/MultiLanguage.cshtml
48355746/FapCore3.0
26
7051083
@model Fap.AspNetCore.ViewModel.JqGridViewModel @{ IEnumerable<Fap.Core.Infrastructure.Metadata.FapDict> langOrigins= _dbContext.Dictionarys("MultiLanguageOrigin"); } <title><fap-multilang lang-key="system_tools_multilanguage_title" default-content="多语言"></fap-multilang> </title> <link href="~/Content/css/chosen...
OOPA/WebbshopProjekt/Yulia/Inlämning_3/Inlämning_3_WebbShop/Inlämning_3_WebbShop/Views/UserView.cs
marcusjobb/NET20D
1
7051084
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; using MyFirstEntityframProject.Database; namespace Inlämning_3_WebbShop.Views { public class UserView { public int LogIn(int userId) { if (userId != 0) { Console.WriteLine...