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/ReactAntdServer.Api/Jwt/PermissionItem.cs
maidouofgithub/react-antd-net-server
0
7048223
<reponame>maidouofgithub/react-antd-net-server using System; using System.Collections.Generic; using System.Text; namespace ReactAntdServer.Api { public class PermissionItem { /// <summary> /// 用户或角色或其他凭据名称 /// </summary> public virtual string Role { get; set; } /// <su...
iut.GestionCaisseInterBDE.Models/User.cs
thomasxd24/GestionCaisseInterBDE
2
7048224
<reponame>thomasxd24/GestionCaisseInterBDE<filename>iut.GestionCaisseInterBDE.Models/User.cs using iut.GestionCaisseInterBDE.Utilities; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Text; namespace iut.Gest...
CoreComponents/Threading/SubThreading/BaseIsolatedTimersTimer.cs
coruscateor/CoreComponents
0
7048225
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Timers; using System.ComponentModel; namespace CoreComponents.Threading.SubThreading { public abstract class BaseIsolatedTimersTimer : IIsolatedThread, IDisposable { private Timer myTimer; pri...
profiler/test/RuntimeMetrics.Tests/IncValueTests.cs
theletterf/signalfx-dotnet-tracing
13
7048226
<reponame>theletterf/signalfx-dotnet-tracing // <copyright file="IncValueTests.cs" company="Datadog"> // Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License. // This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2022 Datadog, ...
src/MovieLookup.Core/Models/MovieDetails.cs
christian-sheridan/MovieLookup
0
7048227
using Newtonsoft.Json; using System; using System.Collections.Generic; namespace MovieLookup.Core.Models { public class MovieDetails { [JsonProperty("adult")] public bool Adult { get; set; } [JsonProperty("backdrop_path")] public string BackdropPath { get; set; } [Jso...
oneroom-api/oneroom-api/Controllers/ScenariosController.cs
micbelgique/OneRoom
2
7048228
<filename>oneroom-api/oneroom-api/Controllers/ScenariosController.cs using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using oneroom_api.data; using oneroom_api.Model; using oneroom_api.Utilities; namespace oneroom_a...
Core/Components/Projectile.cs
pandepic/FinalFrontier
0
7048229
using ElementEngine.ECS; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FinalFrontier.Components { public struct Projectile { public Entity Parent; public DamageType DamageType; public float Damage; ...
src/Core.Abstractions/Nulls/NullMessageScope.cs
MaiReo/BaishijiajuMicroServiceInfrastructure
1
7048231
using System; namespace Core.Messages.Bus { public class NullMessageScope : IMessageScope { public void Dispose() { //No action. } public void Release(IMessageHandler handler) { //No action. } public object Resolve(Type type) ...
Assets/ProjectDesigner+/Editor/Scripts/Data/OptionsPanelData.cs
kursadacar/Project-Designer-
0
7048232
<reponame>kursadacar/Project-Designer- using UnityEngine; using System.Collections; namespace Designer { public struct OptionsPanelData { public bool showDebugWindow; public bool showNodes; public bool showGroups; public bool showEditorSettings; public Vector2 scrollPos...
Engine/Skills/WeaponMoves/AxeCut.cs
Jonitrexis/GameC
1
7048233
using System; using System.Collections.Generic; using Game.Engine.CharacterClasses; namespace Game.Engine.Skills.BasicWeaponMoves { [Serializable] class AxeCut : Skill { public AxeCut() : base("Axe Cut", 20, 1) { PublicName = "Atak toporem: (0.5 * Sila) dmg [fizyczne]"; ...
src/EdgeDB.Net.Driver/Codecs/ICodec.cs
quinchs/EdgeDBClient
4
7048234
<filename>src/EdgeDB.Net.Driver/Codecs/ICodec.cs<gh_stars>1-10 using System.Reflection; namespace EdgeDB.Codecs { internal interface IArgumentCodec<TType> : IArgumentCodec, ICodec<TType> { void SerializeArguments(PacketWriter writer, TType? value); } internal interface IArgumentCodec { ...
shared/src/Piipan.Shared/Http/IAuthorizedApiClient.cs
elisoncrum/piipan
28
7048235
using System; using System.Collections.Generic; using System.Net.Http; using System.Net.Http.Headers; using System.Threading.Tasks; namespace Piipan.Shared.Http { public interface IAuthorizedApiClient<T> { /// <summary> /// Send an asynchronous POST request to an API endpoint ...
src/Modules/Identity/Leelite.Modules.Identity.UI/Areas/Identity/Pages/Account/ViewComponents/Models/LoginTabsViewModel.cs
liduopie/LeeliteCore
2
7048236
using Leelite.Modules.Identity.SignIn.Options; namespace Leelite.Modules.Identity.UI.Areas.Identity.Pages.Account.ViewComponents.Models { public class LoginTabsViewModel { public LoginOptions Options { get; set; } public LoginType CurrentLoginType { get; set; } } }
CARDGAME/Assets/Scripts/StateMachine/CardGameSM/WinState.cs
JaelenHawthorne/HawthorneJaelen_P02
0
7048237
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class WinState : CardGameState { [SerializeField] Text _WinTextUI = null; public override void Enter() { Debug.Log("Entering Win State... Congrats!"); _WinTextUI.gameO...
test/AsyncEvent.Tests/AsyncEventSpec.cs
TAGC/AsyncEvent
11
7048238
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Shouldly; using Xunit; using static AsyncEvent.Extensions; namespace AsyncEvent.Tests { public class AsyncEventSpec { [Fact] internal async Task All_Handlers_Should_Finish_Before_Event_Task_Co...
Assets/Scene3/Scripts/EnemyController.cs
macias0/GKIW
0
7048239
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; public class EnemyController : MonoBehaviour { private Rigidbody rigidBody; // Use this for initialization void Start () { rigidBody = GetComponent<Rigidbody> (); } // Update is called once per frame void Update ...
Wms/Models/Bookstore/Category.cs
ongzhixian/mini-wms
0
7048240
<gh_stars>0 namespace Wms.Models.Bookstore { public class Category { //public string? Id { get; set; } public string Name { get; set; } = string.Empty; } }
externals/code-generated-MCW/com.microsoft.identity-common/3.0.9/sources.jar/generated/src/Com.Microsoft.Identity.Common.Adal.Internal.Util.DateExtensions.cs
moljac/MSAL-Bindings
0
7048241
<filename>externals/code-generated-MCW/com.microsoft.identity-common/3.0.9/sources.jar/generated/src/Com.Microsoft.Identity.Common.Adal.Internal.Util.DateExtensions.cs using System; using System.Collections.Generic; using Android.Runtime; using Java.Interop; namespace Com.Microsoft.Identity.Common.Adal.Internal.Util {...
BloodMess/Library/PackageCache/com.unity.adaptiveperformance@2.2.1/Editor/Management/AdaptivePerformanceGeneralBuildProcessor.cs
FadBy/BloodMess
0
7048242
<reponame>FadBy/BloodMess<filename>BloodMess/Library/PackageCache/com.unity.adaptiveperformance@2.2.1/Editor/Management/AdaptivePerformanceGeneralBuildProcessor.cs<gh_stars>0 using UnityEngine; using System.Linq; using UnityEditor.Build; using UnityEngine.AdaptivePerformance; using System.Runtime.CompilerServices; usin...
MondoCore.Common/MemoryStore.cs
jim-lightfoot/MondoCore
2
7048243
<reponame>jim-lightfoot/MondoCore /************************************************************************** * * The MondoCore Libraries * ...
src/MvcContrib.FluentHtml/Elements/TimePickerBase.cs
joaofx/mvccontrib
0
7048244
<reponame>joaofx/mvccontrib using System; using System.Collections.Generic; using System.Linq.Expressions; using MvcContrib.FluentHtml.Behaviors; using MvcContrib.FluentHtml.Html; namespace MvcContrib.FluentHtml.Elements { /// <summary> /// Base type for time picker. /// </summary> public abstract class TimePicker...
CityInfo.Api/Services/ICityInfoRepository.cs
rafaelanjos/ps-api-netcore
0
7048245
<reponame>rafaelanjos/ps-api-netcore using CityInfo.API.Entities; using System.Collections.Generic; using System.Threading.Tasks; namespace CityInfo.API.Services { public interface ICityInfoRepository { bool CityExists(int cityId); IEnumerable<City> GetCities(); City GetCity(int cityId...
tests/MinioClientFactoryTests.cs
ualehosaini/Minio.AspNetCore
14
7048246
using System.Net; using Microsoft.Extensions.Options; using Xunit; namespace Minio.AspNetCore.Tests { public class MinioClientFactoryTests { private readonly IWebProxy webProxy; private readonly int timeout; public MinioClientFactoryTests() { webProxy = new WebProxy(); timeout = 10; } [Fact] pu...
Bachelors Year 3/Web Application Development/Asp.net Web Forms - Introduction/Hello world!/Default.aspx.cs
marianlupascu/School-Projects
1
7048247
<gh_stars>1-10 using System; using System.Activities.Statements; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Services.Description; using System.Web.UI; using System.Web.UI.WebControls; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object ...
Voodoo.Reports/RenderingLogic/CellPositionCalculator.cs
MiniverCheevy/voodoo-reports
1
7048248
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Voodoo.Reports.Models; namespace Voodoo.Reports.RenderingLogic { public class CellPositionCalculator { private Table table; private int numberOfColumns; private int numberOfRows; public...
01.ProgrammingBasicsC#/07.AdvancedLoops/02.NumbersNTo1/NumbersNTo1.cs
Steffkn/SoftUni
1
7048249
<reponame>Steffkn/SoftUni namespace _02.NumbersNTo1 { using System; public class NumbersNTo1 { static void Main() { var N = int.Parse(Console.ReadLine()); for (int i = N; i > 0; i--) { Console.WriteLine(i); } } } ...
LH.Common.Zoom.App.Wpf.Send/MainWindow.xaml.cs
Drazzing/zoomprompter
0
7048250
// Copyright (c) <NAME>. All rights reserved. // This code is licensed under MIT license (see LICENSE.md for details) using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Configuration; using System.IO; using System.Windows; using System.Windows.Controls; using System.Windows.Input; na...
examples/WebcamFacePose/Program.cs
ejoebstl/DlibDotNet
387
7048251
/* * This sample program is ported by C# from examples\webcam_face_pose_ex.cpp. */ using System; using System.Collections.Generic; using System.Runtime.InteropServices; using DlibDotNet; using OpenCvSharp; namespace WebcamFacePose { internal class Program { private static void Main() { ...
ToMigrate/Raven.Database/Smuggler/Embedded/DatabaseSmugglerEmbeddedSource.cs
ryanheath/ravendb
1
7048252
// ----------------------------------------------------------------------- // <copyright file="DatabaseSmugglerEmbeddedSource.cs" company="Hibernating Rhinos LTD"> // Copyright (c) <NAME>. All rights reserved. // </copyright> // ----------------------------------------------------------------------- using S...
pjsip4net/Interfaces/IImManager.cs
moljac/pjsip4net
67
7048253
using System; using System.Collections.ObjectModel; using pjsip4net.Core.Interfaces; using pjsip4net.Core.Interfaces.ApiProviders; using pjsip4net.IM; namespace pjsip4net.Interfaces { public interface IImManager : IDisposable, IInitializable { ReadOnlyCollection<IBuddy> Buddies { get; } ...
src/BaldurToolkit.Network/Connections/ConnectionRequestedEventArgs.cs
rincew1nd/BaldurToolkit
3
7048254
using System; namespace BaldurToolkit.Network.Connections { public class ConnectionRequestedEventArgs<TConnection> : EventArgs where TConnection : class, IConnection { public ConnectionRequestedEventArgs(ConnectionRequest<TConnection> connectionRequest) { this.Conne...
src/06.tool/05-Alabo.Tool.Office/Core/Table.cs
tongxin3267/alabo
0
7048255
<reponame>tongxin3267/alabo using Alabo.Extensions; using System.Collections.Generic; using System.Linq; namespace Alabo.Tool.Office.Core { /// <summary> /// 表格 /// </summary> public class Table { /// <summary> /// 头部 /// </summary> private readonly Range _h...
beyingocu/dilsecim.Designer.cs
creosB/Beyin-Gocu-Application
0
7048256
namespace ProjeHazirlama { partial class dilsecim { /// <summary> ///Gerekli tasarımcı değişkeni. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> ///Kullanılan tüm kaynakları temizleyin. /// </summary> ///...
MantleCMS/Controllers/ManageController.cs
gordon-matt/MantleCMS
3
7048257
using System.Text.Encodings.Web; using System.Threading.Tasks; using Mantle.Identity; using Mantle.Identity.Models.ManageViewModels; using Mantle.Identity.Services; using Mantle.Web.Configuration; using MantleCMS.Data.Domain; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Identity; using Microsof...
Assets/Scripts/Game_Splash.cs
bryanoliveira/unity-zombit
0
7048258
using UnityEngine; using System.Collections; using UnityEngine.SceneManagement; public class Game_Splash : MonoBehaviour { [SerializeField] private float tempo = 3; [SerializeField] private Animator animFade; private Coroutine carregador = null; void Awake() { UnityEngine.Cu...
jcMNS.WebAPI.Reporting.PCL/Transports/ReportListing/ReportListingItem.cs
AsimKhan2019/Mobile-Network-Scanner
1
7048259
using System; namespace jcMNS.WebAPI.Reporting.PCL.Transports.ReportListing { public class ReportListingItem { public Guid ReportGUID { get; set; } public string Name { get; set; } } }
Multilinks.Core/Models/FormModels/UpdateNotificationForm.cs
andym-2iV/MultilinksCore
0
7048260
<filename>Multilinks.Core/Models/FormModels/UpdateNotificationForm.cs using System.ComponentModel.DataAnnotations; namespace Multilinks.Core.Models { public class UpdateNotificationForm { [Required] [Display(Name = "isHidden", Description = "Don't show this notification to the intended recipient.")]...
Tests/EquipmentRental.Tests/EquipmentControllerTests.cs
abuzaforfagun/EquipmentRental
0
7048261
<filename>Tests/EquipmentRental.Tests/EquipmentControllerTests.cs using System; using System.Collections.Generic; using System.Linq; using AutoMapper; using EquipmentRental.Controllers; using EquipmentRental.Domain.Models; using EquipmentRental.Domain.Resources; using EquipmentRental.Profile; using EquipmentRental.Repo...
Musoq.Parser/Nodes/MultiStatementNode.cs
Eibwen/Musoq
0
7048262
<reponame>Eibwen/Musoq<filename>Musoq.Parser/Nodes/MultiStatementNode.cs using System; using System.Linq; namespace Musoq.Parser.Nodes { public class MultiStatementNode : Node { public MultiStatementNode(Node[] nodes, Type returnType) { ReturnType = returnType; Nodes = ...
Plus.Core/Plus/MongoDB/PlusMongoDbModule.cs
Meowv/meowv.core
12
7048263
using Microsoft.Extensions.DependencyInjection.Extensions; using Plus.Domain; using Plus.Domain.Repositories.MongoDB; using Plus.Modularity; using Plus.Uow.MongoDB; namespace Plus.MongoDB { [DependsOn(typeof(PlusDddDomainModule))] public class PlusMongoDbModule : PlusModule { public override void ...
Enterprise/Repository/Organization.cs
next-scale/ERPCore
1
7048264
<gh_stars>1-10 using ERPCore.Enterprise.DataBase; using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using ERPCore.Enterprise.Models.Company; using ERPCore.Enterprise.Models.Datum; using ERPCore.Enterprise.Models.Taxes.Enums; using ERPCore.Enterprise.Models.Transactions; names...
Assets/Scripts/GameClearMove.cs
nerumoa/Alraune
0
7048265
<reponame>nerumoa/Alraune using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class GameClearMove : MonoBehaviour { public static bool isClear = false; // Start is called before the first frame update void Start() { } ...
AlignTag/Align.cs
simonmoreau/align-tag
40
7048266
<reponame>simonmoreau/align-tag #region Namespaces using System; using System.Linq; using System.Collections.Generic; using Autodesk.Revit.DB; using Autodesk.Revit.UI; using Autodesk.Revit.UI.Selection; using Autodesk.Revit.DB.Architecture; using Autodesk.Revit.DB.Mechanical; using System.Diagnostics; #endregion name...
CoreServices/ApplicationRegistration/Data/Generated_Dao/UserColumns.cs
BryanApellanes/bam.net.shared
0
7048267
<gh_stars>0 using System; using System.Collections.Generic; using System.Text; using Bam.Net.Data; namespace Bam.Net.CoreServices.ApplicationRegistration.Data.Dao { public class UserColumns: QueryFilter<UserColumns>, IFilterToken { public UserColumns() { } public UserColumns(string columnName) ...
test/Dap.Tests/Integration/Fixtures/DebugAdapterProtocolFixtureTest.cs
jairbubbles/csharp-language-server-protocol
322
7048268
<filename>test/Dap.Tests/Integration/Fixtures/DebugAdapterProtocolFixtureTest.cs using System; using System.Reactive; using System.Threading; using System.Threading.Tasks; using OmniSharp.Extensions.DebugAdapter.Protocol.Client; using OmniSharp.Extensions.DebugAdapter.Protocol.Server; using OmniSharp.Extensions.JsonRp...
src/HyperMapper/Mappers/StringParseMapper.cs
neuecc/HyperMapper
94
7048269
<reponame>neuecc/HyperMapper using System; using HyperMapper; using System.Globalization; namespace HyperMapper.Mappers { public sealed class SByteParseMapper : IObjectMapper<string, SByte> { public SByte Map(string from, IObjectMapperResolver resolver) { return SByte.Parse(from); ...
LeaveWeb/Controllers/EmployeeController.cs
gnoon/lv1
1
7048270
<reponame>gnoon/lv1 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using LeaveCore; namespace Leave.Controllers { public class EmployeeController : Controller { // // GET: /Employee/ public ActionResult Index() { ...
tests/Auth0.AuthenticationApi.IntegrationTests/TokenTests.cs
SebaAnhalt/auth0.net
0
7048272
using System.Threading.Tasks; using Auth0.AuthenticationApi.Models; using Auth0.Tests.Shared; using FluentAssertions; using Xunit; namespace Auth0.AuthenticationApi.IntegrationTests { public class TokenTests : TestBase { [Fact] public async Task Can_get_token_using_client_credentials() ...
src/Web.TwitterComponents/GlobalUsings.cs
IEvangelist/learning-blazor
31
7048273
// Copyright (c) 2021 <NAME>. All rights reserved. // Licensed under the MIT License. global using Learning.Blazor.Models; global using Learning.Blazor.TwitterComponents.Extensions; global using Microsoft.AspNetCore.Components; global using Microsoft.JSInterop;
PartWizard/Resources/Strings1.Designer.cs
linuxgurugamer/PartWizard
5
7048274
<reponame>linuxgurugamer/PartWizard<filename>PartWizard/Resources/Strings1.Designer.cs //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause inco...
src/API/FormModels/SubmissionFormModel.cs
YuraMishin/BooksProjec
0
7048275
using System; namespace API.FormModels { /// <summary> /// Class SubmissionFormModel /// </summary> public class SubmissionFormModel { /// <summary> /// BookId /// </summary> public Guid BookId { get; set; } /// <summary> /// Description /// </summary> public string Descripti...
eilang/Compiling/Compiler.cs
Szune/eilang
1
7048276
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using eilang.Ast; using eilang.Classes; using eilang.Exceptions; using eilang.Extensions; using eilang.Interfaces; using eilang.OperationCodes; using eilang.Tokens; using eilang.Values; namespace eilang.Compil...
Assets/Editor/Generated/Black/Sequence/Action/Weather/SequenceActionOverrideWeather2.generated.cs
Gurrimo/Luminaire
0
7048277
//---------------------- // <auto-generated> // This file was automatically generated. Any changes to it will be lost if and when the file is regenerated. // </auto-generated> //---------------------- #pragma warning disable using System; using SQEX.Luminous.Core.Object; using System.Collections.Generic; using CodeDom...
VisualStudioOnline/School.Inf/Informatyka/inf20140110/Program.cs
baatochan/FirstTryWithCSharp
0
7048278
<reponame>baatochan/FirstTryWithCSharp using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace inf20140110 { class Program { static void Main(string[] args) { double[] testArray = { 24, 24, 1, 24, 2, -6, 90, 24, ...
ACALabelXClientRemControlObject/RemClientControlObject.cs
mvendert/LabelPrint
12
7048279
/* 2011 - This file is part of AcaLabelPrint AcaLabelPrint is free Software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. AcaLabelprint is di...
SysKit.ODG.App/SysKit.ODG.Office365Service/GraphHttpProvider/IGraphHttpProvider.cs
SysKitTeam/ODG
4
7048280
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using Microsoft.Graph; using SysKit.ODG.Base.Interfaces.Authentication; using SysKit.ODG.Office365Service.GraphHttpProvider.Dto; namespace SysKit.ODG.Office365Service.GraphHttpProvide...
tests/Geo.Bing.Tests/Converters/CoordinateConverterShould.cs
JustinCanton/Geo.NET
2
7048281
<reponame>JustinCanton/Geo.NET<filename>tests/Geo.Bing.Tests/Converters/CoordinateConverterShould.cs<gh_stars>1-10 // <copyright file="CoordinateConverterShould.cs" company="Geo.NET"> // Copyright (c) Geo.NET. // Licensed under the MIT license. See the LICENSE file in the solution root for full license information. //...
SportscardSystem.Logic.UnitTests/Services/SportshallServiceTests/GetReport_Should.cs
the-hushed-cobras/Sportscard-Project
0
7048282
using AutoMapper; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using SportscardSystem.Architecture.Automapper; using SportscardSystem.Data.Contracts; using SportscardSystem.Logic.Services; using SportscardSystem.Models; using System; using System.Collections.Generic; using System.Data.Entity; using S...
kafka-sharp/kafka-sharp/Routing/ConsumerGroup.cs
criteo-dexter/kafka-sharp
115
7048283
<gh_stars>100-1000 // 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 using System; using System.Collections; using System.Collections.Generic; using S...
Assets/Disaster/Scripts/Static/GameManager.cs
BigETI/Disaster
0
7048284
using Disaster.Data; using UnityEngine; using UnitySaveGame; /// <summary> /// Disaster namespace /// </summary> namespace Disaster { /// <summary> /// Game manager class /// </summary> public static class GameManager { /// <summary> /// Save game data /// </summary> ...
ZeldaOracle/Game/Game/Items/ItemEquipment.cs
trigger-death/ZeldaOracle
16
7048285
using System; using System.Collections.Generic; using System.Linq; using System.Text; using ZeldaOracle.Common.Geometry; using ZeldaOracle.Common.Graphics; using ZeldaOracle.Common.Graphics.Sprites; namespace ZeldaOracle.Game.Items { public class ItemEquipment : Item { private bool isEquipped; private ISprite[]...
iOS/Chameleon/samples/ChameleonSample/AppDelegate.cs
SaViGnAnO/XamarinComponents
1
7048286
<filename>iOS/Chameleon/samples/ChameleonSample/AppDelegate.cs using Foundation; using UIKit; using ChameleonFramework; namespace ChameleonSample { [Register ("AppDelegate")] public partial class AppDelegate : UIApplicationDelegate { public override UIWindow Window { get; set; } public override bool Finished...
ClasseMath/Program.cs
andredev75/CursoCsharp
0
7048287
using System; using System.Collections.Generic; using System.Linq; namespace ClassMath // Note: actual namespace depends on the project name. { public class Program { public static void Main(string[] args) { Console.WriteLine("Valor maximo: " + Math.Max(5, 10)); Consol...
src/Media Types/Group.cs
capnmidnight/Juniper
9
7048288
using System; using System.Collections.Generic; using System.IO; using System.Linq; namespace Juniper.MediaTypes { internal class Group { public string TypeFileName { get; } public string ValuesFileName { get; } public string ClassName { get; } public Dictionary<string, Entry...
sources/assets/Stride.Core.Assets/Serializers/IdentifiableAssetPartReferenceSerializer.cs
profan/stride
3
7048289
<filename>sources/assets/Stride.Core.Assets/Serializers/IdentifiableAssetPartReferenceSerializer.cs // Copyright (c) Stride contributors (https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more informatio...
src/NQuery.Authoring.Tests/CodeActions/Refactorings/BetweenTests.cs
dallmair/nquery-vnext
63
7048290
using System; using NQuery.Authoring.CodeActions; using NQuery.Authoring.CodeActions.Refactorings; using Xunit; namespace NQuery.Authoring.Tests.CodeActions.Refactorings { public class BetweenTests : CodeRefactoringTests { protected override ICodeRefactoringProvider CreateProvider() { ...
SNAP/Models/Helpers/Mailer.cs
bjones-tech/snap
0
7048291
<reponame>bjones-tech/snap using System; using System.IO; using System.Net.Mail; using System.Web; namespace SNAP.Models.Helpers { public enum MessageTemplate { Default, NewHireEmployee, NewHireContingent, LastDayEmployee, LastDayContingent, Contin...
Views/Home/Idade.cshtml
HypThaNyx/FirstASPNetProject
1
7048292
<gh_stars>1-10 @model User @using System.Globalization @{ ViewData["Title"] = "Calcular Idade"; } <div class="text-center"> <h1 class="display-4">Calcule a sua idade</h1> <div> <form asp-controller="Home" asp-action="Idade" method="post"> <div> <p>Informe a sua data de nascimento:...
src/Duplocator.Test/HashDuplocatorTest.cs
mglochsen/duplocator
1
7048293
using System.Linq; using System.Text.RegularExpressions; using Duplocator.Data; using Duplocator.Duplocators; using Duplocator.Services; using FluentAssertions; using Moq; using Xunit; namespace Duplocator.Test { public class HashDuplocatorTest { [Fact] public void GetDuplicates_UsesOptions() ...
third-party/DotNet.Glob/Token/AnyCharacterToken.cs
workgroupengineering/FtpServer
351
7048294
// This file isn't generated, but this comment is necessary to exclude it from StyleCop analysis. // <auto-generated/> namespace DotNet.Globbing.Token { internal class AnyCharacterToken : IGlobToken { public void Accept(IGlobTokenVisitor Visitor) { Visitor.Visit(this); } ...
Speak in Public/Assets/Scripts/Activity scripts/Waiter.cs
Alby395/Speak-in-Public
0
7048296
<reponame>Alby395/Speak-in-Public using System.Collections; using UnityEngine; public class Waiter : MonoBehaviour { [SerializeField] private float refAngle = 80f; [SerializeField] private Vector3 leftPos; [SerializeField] private Vector3 rightPos; [Header("Waiters")] [SerializeField] private...
Fluditity/Controls/Interfaces/IMultiControlContainer.cs
skipme/Yandex.Trains.WinMo.src
0
7048297
using System; using System.Collections.Generic; using System.Text; namespace Fluid.Controls { /// <summary> /// Interface for a control that hosts multiple child controls. /// </summary> public interface IMultiControlContainer:IContainer { /// <summary> /// Gets the collection of a...
tests/Blazored.Toast.Tests/ToastServiceTests/MyTestComponent.cs
ScriptBox99/BlazoredToast
451
7048298
using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Rendering; using System.Threading.Tasks; namespace Blazored.Toast.Tests.ToastServiceTests { public class MyTestComponent : IComponent { private RenderHandle _renderHandle; public void Attach(RenderHandle renderHandle...
RecNForget.Help/Features/Customize_Output_Folder.cs
DrCopyPaste/RecNForget
3
7048299
<filename>RecNForget.Help/Features/Customize_Output_Folder.cs // <auto-generated /> using System.Collections.Generic; namespace RecNForget.Help.Features { public class Customize_Output_Folder : HelpFeature { public Customize_Output_Folder() { MinVersion = HelpFeatureVersion.v0_1_preRelease; FeatureClass =...
SecondHandClothes.Tests/Routing/ProductsControllerTest.cs
DaniHristov/SecondHand-Web-Project
1
7048300
<filename>SecondHandClothes.Tests/Routing/ProductsControllerTest.cs namespace SecondHandClothes.Tests.Routing { using MyTested.AspNetCore.Mvc; using SecondHandClothes.Controllers; using SecondHandClothes.Models.Products; using Xunit; public class ProductsControllerTest { [Fact] ...
ITime/ITime.Model/Infrastructure/InfrastructureFactory.cs
chumak84/time-to-tomato
0
7048301
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ITime.Model.Infrastructure { public class InfrastructureFactory { static Func<ITimer> _factoryFunc; public static ITimer CreateTimer() { if (_facto...
SBA-BACKEND/Services/CustomerService.cs
CarlosIzarra09/SBA-blue-repository
0
7048302
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using SBA_BACKEND.Domain.Models; using SBA_BACKEND.Domain.Services.Communications; using SBA_BACKEND.Domain.Services; using SBA_BACKEND.Domain.Persistence.Repositories; namespace SBA_BACKEND.Services { public cla...
src/MvcSiteMapProvider/MvcSiteMapProvider/Web/Mvc/Filters/Filter.cs
witsa/MvcSiteMapProvider
1
7048303
#if MVC2 using System; namespace MvcSiteMapProvider.Web.Mvc.Filters { /// <summary> /// Dummy class used to satisfy the IGlobalFilterProvider contract in MVC2, which does not support filters. /// </summary> public class Filter { } } #endif
Scripts part2/Other/Minimap/Map2dCamera.cs
benanil/Bukra_Game
0
7048304
<gh_stars>0 using AnilTools; using Player; using UnityEngine; public class Map2dCamera : MonoBehaviour { private Transform player; private const sbyte zOffset = 0; private void Start(){ player = CharacterMove.instance.transform; } private void LateUpdate(){ transfo...
src/Ray.Core/Snapshot/SnapshotHandler.cs
Hunter1994/Ray
622
7048305
using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Reflection.Emit; using Ray.Core.Event; using Ray.Core.Exceptions; using Ray.Core.Utils.Emit; namespace Ray.Core.Snapshot { public class SnapshotHandler<PrimaryKey, Snapshot> : ISnapshotHandler<PrimaryKey...
HistoricalDataFetcher.QuickExtract/TimeSeriesQuickstartEndPoint.cs
DMahoney0/historian
1
7048306
using HistoricalDataFetcher.Classes.Endpoints; using HistoricalDataFetcher.Classes.Models.Collection; using HistoricalDataFetcher.Classes.Models.Collection.TimeSeries; using HistoricalDataFetcher.Classes.Services; using HistoricalDataFetcher.Classes.Utilities; using HistoricalDataFetcher.DataStorage.Interfaces; using ...
Assets/PlayerInput.cs
phelow/TrumpTowerTypingTutor
0
7048307
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine.UI; using UnityEngine; public class PlayerInput : MonoBehaviour { private string m_currentText = ""; [SerializeField] private TextMesh m_selectionText; void TryToVerify() { if (TrumpTower.m_waitForS...
GetHired/GetHired.UnitTests/Services/CityServiceTests/GetAll_Should.cs
ihristova11/GetHired
1
7048308
<filename>GetHired/GetHired.UnitTests/Services/CityServiceTests/GetAll_Should.cs using AutoMapper; using GetHired.DataModels.Contracts; using GetHired.DataModels.Repositories.Contracts; using GetHired.DomainModels; using GetHired.DTO; using GetHired.Services.Services; using Moq; using NUnit.Framework; using System; us...
code/RedisKeyTool.Tests/Handler/AddSetKeyHandlerTests.cs
BlazorHub/radishv2
3
7048309
using Microsoft.Extensions.Logging; using Moq; using Xunit; namespace RedisKeyTool.Server.Application.Handler.Tests { public class AddSetKeyHandlerTests { [Fact()] public void AddSetKeyHandlerTest() { var iLoggerMock = new Mock<ILogger<AddSetKeyHandler>>(); var ...
src/Microsoft.Health.Fhir.Api/Features/Headers/ExportResultExtensions.cs
d-wall/fhir-server
1
7048310
<reponame>d-wall/fhir-server<gh_stars>1-10 // ------------------------------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. // ----------------...
source/Octopus.Manager.Tentacle/TentacleManager.cs
OctopusDeploy/OctopusTentacle
16
7048311
using System.Reflection; using Octopus.Tentacle.Versioning; namespace Octopus.Manager.Tentacle { public static class TentacleManager { public static readonly Assembly Assembly = typeof(TentacleManager).Assembly; public static readonly string InformationalVersion = Assembly.GetInformationalVers...
Rallec/LSky/Code/C#/Skydome/Editor/LSky_SkydomeResourcesEditor.cs
vrtx-labs/LSky-Dynamic-Skydome-Unity
27
7048312
//////////////////////////////////////// /// LSky /// ==================== /// /// Description: /// ============= /// Custom inspector for skydome. //////////////////////////////////////// using UnityEngine; using UnityEditor; using Rallec.Utility; namespace Rallec.LSky { public partial class LSky_...
Framework.Core/System/Runtime/CompilerServices/ConfiguredValueTaskAwaitable.cs
workgroupengineering/Theraot
113
7048313
#if LESSTHAN_NET45 #pragma warning disable CA1034 // Nested types should not be visible #pragma warning disable CA1815 // Override equals and operator equals on value types // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See ...
RadioSimulator/RadioConsole.Web/Models/Enums/Unit.cs
SebastianTyr/RadioSimulator
0
7048314
<reponame>SebastianTyr/RadioSimulator using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace RadioConsole.Web.Models.Enums { public enum Unit { Police, Emergency, FireBrigade } }
Diploma2/Model/_Model.cs
kasznare/DIP1
0
7048315
<gh_stars>0 using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Runtime.Serialization; using System.Windows.Shapes; using Diploma2.Services; using Action = System.Action; namespace Diploma2.Model { public class _Model { ...
Assets/Editor/MultiWayCameraModifierEditor.cs
tm011064/sidescroller
0
7048317
using UnityEngine; using System.Collections; using UnityEditor; [CustomEditor(typeof(MultiWayCameraModifier))] [CanEditMultipleObjects] public class MultiWayCameraModifierEditor : Editor { public override void OnInspectorGUI() { DrawDefaultInspector(); MultiWayCameraModifier myScript = (MultiWayCameraMod...
GraphWebHooksTranslator/Helpers/UserDataTable.cs
garethj-msft/Microsoft-Graph-WebHooks-Build-2016
0
7048318
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading.Tasks; using System.Web; using GraphWebhooksTranslator.Models; using Microsoft.WindowsAzure.Storage; using Microsoft.WindowsAzure.Storage.Table; namespace GraphWebhooksTranslator.Helpers { public s...
C# part 2/ExamPreparation2/02.TwoGirls1Path/Program.cs
iliantrifonov/TelerikAcademy
0
7048319
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Text; using System.Threading.Tasks; namespace _02.TwoGirls1Path { class Program { static void Main(string[] args) { string[] input = Console.ReadLine().Split(...
Tumblr.NetStandard/OAuth/TokenResponse.cs
JTOne123/Tumblr.NetStandard
1
7048320
<reponame>JTOne123/Tumblr.NetStandard using System.Linq; using Tumblr.NetStandard.OAuth.Internal; namespace Tumblr.NetStandard.OAuth { /// <summary>OAuth Response</summary> public class TokenResponse<T> where T : Token { public T Token { get; } public ILookup<string, string> ExtraData { ge...
MVC.Utilities/Caching/CacheServiceBase.cs
Aaronontheweb/mvc-utilities
27
7048321
using System; using System.Collections.Generic; using System.Runtime.Caching; namespace MVC.Utilities.Caching { /// <summary> /// Abstract base class for working with cache service implementations /// </summary> public abstract class CacheServiceBase : ICacheService { protected readonly T...
src/Markup/Avalonia.Markup.Xaml/XamlIl/CompilerExtensions/Transformers/AvaloniaXamlIlControlTemplateTargetTypeMetadataTransformer.cs
mstr2/Avalonia
1
7048322
using System.Linq; using XamlIl.Ast; using XamlIl.Transform; using XamlIl.TypeSystem; namespace Avalonia.Markup.Xaml.XamlIl.CompilerExtensions.Transformers { class AvaloniaXamlIlControlTemplateTargetTypeMetadataTransformer : IXamlIlAstTransformer { public IXamlIlAstNode Transform(XamlIlAstTransformatio...
MetadataExtractor/Formats/Exif/makernotes/CasioType1MakernoteDescriptor.cs
XelaNimed/metadata-extractor-dotnet
0
7048323
#region License // // Copyright 2002-2019 <NAME> // Ported from Java to C# by <NAME> for Imazen LLC in 2014 // // 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://ww...
source/TetraPak.XP.Mobile/SdkHelper.cs
Tetra-Pak-APIs/TetraPak.XP
0
7048324
namespace TetraPak.XP.Mobile { static class SdkHelper { const string NugetVersionSource = "$(1.0.0-alpha.15)"; internal static string NugetPackageVersion => NugetVersionSource.TrimPrefix("$(").TrimPostfix(")"); } }
08_episode10/EditorViews/ViewModels/PhysicalEditorViewModel.cs
YouseiSakusen/WpfPractises
26
7048325
<filename>08_episode10/EditorViews/ViewModels/PhysicalEditorViewModel.cs using System; using System.ComponentModel.DataAnnotations; using Prism.Mvvm; using Prism.Regions; using Reactive.Bindings; using Reactive.Bindings.Extensions; namespace WpfTestApp.ViewModels { /// <summary> 身体測定データの編集画面を表します。 </summary> public...
tests/Workbench.UI.Tests.Unit/ViewModels/TableViewModelTests.cs
constraint-capers/workbench
2
7048326
<reponame>constraint-capers/workbench using System.Threading; using NUnit.Framework; using Workbench.Core.Models; using Workbench.ViewModels; namespace Workbench.UI.Tests.Unit.ViewModels { [TestFixture] [Apartment(ApartmentState.STA)] public class TableViewModelTests { [Test] public vo...