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/InvoiceManagementSystem.Application/Features/Invoices/Handlers/GetUserInvoiceListQueryHandler.cs
andrija-mitrovic/InvoiceManagementSystem
0
7058072
<reponame>andrija-mitrovic/InvoiceManagementSystem using AutoMapper; using InvoiceManagementSystem.Application.DTOs; using InvoiceManagementSystem.Application.Features.Invoices.Queries; using InvoiceManagementSystem.Application.Interfaces; using MediatR; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions....
src/BookReviewer.Data/Models/User.cs
davidtemelkov/BookReviewer
0
7058073
namespace BookReviewer.Data.Models { using Microsoft.AspNetCore.Identity; using System.Collections.Generic; using static Data.DataConstants; public class User : IdentityUser { public string ProfilePicture { get; set; } = UserDefaultProfilePicture; public int? AuthorId { get; set;...
EterexSample/EterexSample/Models/Currency.cs
mabolhasani/EterexSample
0
7058074
<filename>EterexSample/EterexSample/Models/Currency.cs using Newtonsoft.Json; using System; using System.Collections.Generic; namespace EterexSample.Models { public class Currency { [JsonProperty("id")] public int Id { get; set; } [JsonProperty("name")] public string Name { ge...
src/Nuke/Azp/AzurePipelinesStep.cs
rsg-bot/Nuke
0
7058075
<filename>src/Nuke/Azp/AzurePipelinesStep.cs using System; using System.Collections.Generic; using Nuke.Common.CI.AzurePipelines.Configuration; using Nuke.Common.Utilities; namespace Rocket.Surgery.Nuke.Azp { public class AzurePipelinesStep { public string Name { get; set; } = null!; public str...
Tests/EngineTests/Common/RayPickingHelperTests.cs
Selinux24/SharpDX-Tests
2
7058076
<gh_stars>1-10 using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; using SharpDX; using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; namespace Engine.Common.Tests { [ExcludeFromCodeCoverage] [TestClass()] public class RayPickingHelperTests ...
GenesisEngine/Domain/Planet.cs
SaintGimp/GenesisEngine
38
7058077
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace GenesisEngine { public interface IPlanet { void Update(DoubleVector3 cameraLocation); void Draw(ICamera camera); double GetGroundHeight(DoubleVector3 observerLocation); } ...
Web-BTL-Backend/Models/FileServices.cs
FCBTruong/Web-BTL-Backend
0
7058079
using Microsoft.AspNetCore.Http; using System; using System.Collections.Generic; using System.IO; namespace Web_BTL_Backend.Models { public class FileServices { public const string rootAssetsPath = "h:\\root\\home\\fcbtruong-001\\www\\assets\\images"; public void SaveFile(List<IFormFile> files...
SaintCoinach/Xiv/RelicNote.cs
shambarick/SaintCoinach-1
266
7058080
using System.Collections.Generic; using SaintCoinach.Ex.Relational; namespace SaintCoinach.Xiv { public class RelicNote : XivRow { #region Fields private FateTarget[] _Fates; private Leve[] _Leves; private MonsterNoteTarget[] _NotoriousTarget; private Target[] _Targets; ...
TsumTsumNotificationTracker/Source/Activities/SettingsFragment.cs
KoffiePatje/TsumTsumHeartTracker
0
7058081
using Android.App; using Android.OS; using Android.Preferences; namespace nl.pleduc.TsumTsumHeartTracker { public class SettingsFragment : PreferenceFragment { public override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); // ...
Links.Contract/Services/IDialogManager.cs
speedyalibaba/LinksInBeideRichtungen
2
7058082
<filename>Links.Contract/Services/IDialogManager.cs using Caliburn.Micro; using System; using System.Dynamic; using System.Threading.Tasks; namespace Links.Contract.Services { public enum MessageBoxType { Info, Warning, Error } [Flags] public enum MessageBoxOptions { Ok = 2, Canc...
SitecoreSpark.SitecorePublishReportingKit.Simple/ViewModels/PublishQueueViewModel.cs
bmbruno/SitecoreSpark.SPRK.Simple
0
7058083
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace SitecoreSpark.SPRK.Simple.ViewModels { public class PublishQueueViewModel { public List<PublishQueueItemViewModel> CandidateItems { get; set; } public PublishQueueViewModel() { C...
Mediapipe.Net/Native/SafeNativeMethods/Utils/ResourceUtil.cs
dbruning/MediaPipe.NET
14
7058084
<gh_stars>10-100 // Copyright (c) homuler and The Vignette Authors // This file is part of MediaPipe.NET. // MediaPipe.NET is licensed under the MIT License. See LICENSE for details. using System.Runtime.InteropServices; using Mediapipe.Net.Util; namespace Mediapipe.Net.Native { internal unsafe partial class Safe...
Animal Racing/Assets/Scripts/GameManager.cs
ryanakann/Pit-Against-The-Rest
0
7058085
using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class GameManager : MonoBehaviour { public static bool GamePaused; private void Awake() { GamePaused = false; } public void Pause() { GamePaused = true; Time.timeScale ...
DragonFruit.Six.Locale.Agent/Crowdin/Requests/CrowdinProjectRequest.cs
dragonfruitnetwork/Dragon6-Locale
0
7058086
// Dragon6 API Copyright 2021 <NAME> <<EMAIL>> // Licensed under MIT. Please refer to the LICENSE file for more info using DragonFruit.Common.Data; using DragonFruit.Common.Data.Parameters; namespace DragonFruit.Six.Locale.Agent.Crowdin.Requests { internal abstract class CrowdinProjectRequest : ApiFileRequest ...
tests/Jabberwocky.Glass.Tests/Factory/Builder/DefaultGlassFactoryBuilderTests.cs
kmazzoni/Jabberwocky
5
7058087
<gh_stars>1-10 using System; using System.Reflection; using Glass.Mapper.Sc; using Jabberwocky.Glass.Factory.Builder; using Jabberwocky.Glass.Factory.Configuration; using NSubstitute; using NUnit.Framework; namespace Jabberwocky.Glass.Tests.Factory.Builder { [TestFixture] public class DefaultGlassFactoryBuilderTest...
SimpleReport.Model/Subscriptions/Schedule.cs
tronelius/simplereport
1
7058088
using System; namespace SimpleReport.Model.Subscriptions { public class Schedule { public Guid Id { get; set; } public string Name { get; set; } public string Cron { get; set; } public ScheduleTypeEnum ScheduleType { get; set; } public Schedule() { ...
Assets/Deadspell/Scripts/Components/RenderableComponent.cs
aszecsei/Deadspell
0
7058089
<gh_stars>0 using Entitas; using UnityEngine; using UnityEngine.Tilemaps; namespace Deadspell.Components { [Game] public class RenderableComponent : IComponent { public TileBase Tile; public int Order; } }
VC2010Samples/CLR/stlclr/StlClr Sample/StlClr Sample/Form1.cs
alonmm/VCSamples
300
7058090
<reponame>alonmm/VCSamples 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 StlClr_Sample { public partial class Form1 : Form { private System.Collections.Ge...
Intuit.TSheets/Model/GeofenceConfig.cs
lisashort/TSheets-V1-DotNET-SDK
0
7058091
// ******************************************************************************* // <copyright file="GeofenceConfig.cs" company="Intuit"> // Copyright (c) 2019 Intuit // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may o...
ClientLourd/Tuto/Sources/InterfaceGraphique/Forms/EnregistrerDistant.cs
samirov78/MultiplayerRobotSimulator
0
7058092
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace InterfaceGraphique { public partial class EnregistrerDistant : Form { public E...
source/Utils/PeanutButter.Utils/ProcessIO.cs
JTOne123/PeanutButter
0
7058093
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; // ReSharper disable InconsistentNaming #if BUILD_PEANUTBUTTER_INTERNAL namespace Imported.PeanutButter.Utils #else namespace PeanutButter.Utils #endif { /// <summary> /// Wraps process IO (stdout, stderr) into an eas...
StudentInfoSystemNew/Database/StudentInfoContext.cs
Bzahov98/ProgrammingEnvironmentsC-Sharp
0
7058095
<reponame>Bzahov98/ProgrammingEnvironmentsC-Sharp using StudentInfoSystemNew.Model; using System; using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Text; using System.Threading.Tasks; namespace StudentInfoSystemNew { class StudentInfoContext : DbContext { publ...
src/Lykke.Pay.Service.Wallets/DependencyInjection/ApiModule.cs
LykkeCity/Lykke.Pay.Service.Wallets
0
7058096
<reponame>LykkeCity/Lykke.Pay.Service.Wallets using System; using System.Net; using Autofac; using AzureStorage.Tables; using Common.Log; using Lykke.AzureRepositories; using Lykke.AzureRepositories.Log; using Lykke.Core; using Lykke.Pay.Service.Wallets.Core; using Lykke.Pay.Service.Wallets.Core.Domain; using Lykke.Pa...
Builder/UI.Wpf/Presentation/GenericDialogs/VersionDialog/ViewModels/MajorVersionDialogViewModel.cs
stichting-cito/QuestifyBuilder
3
7058097
<filename>Builder/UI.Wpf/Presentation/GenericDialogs/VersionDialog/ViewModels/MajorVersionDialogViewModel.cs using System; using System.ComponentModel; using System.ComponentModel.Composition; using System.Windows; using Cinch; using Questify.Builder.Model.ContentModel.Interfaces; using Questify.Builder.UI.Wpf.Present...
SocketLibrary/NTCPMSG/Client/ISingleConnectionCable.cs
dongshengfengniaowu/ShoppingWebCrawler
22
7058098
<filename>SocketLibrary/NTCPMSG/Client/ISingleConnectionCable.cs<gh_stars>10-100 using System; using System.Net; using NTCPMessage.EntityPackage; using NTCPMessage.Event; using NTCPMessage.Serialize; namespace NTCPMessage.Client { public interface ISingleConnectionCable:INTCPConnection { /// <summary>...
Gu.Roslyn.Asserts.Tests/RoslynAssertTests/NoRefactoring.Fail.cs
GuOrg/Gu.Roslyn.Asserts
15
7058099
<reponame>GuOrg/Gu.Roslyn.Asserts<filename>Gu.Roslyn.Asserts.Tests/RoslynAssertTests/NoRefactoring.Fail.cs<gh_stars>10-100 namespace Gu.Roslyn.Asserts.Tests.RoslynAssertTests { using Gu.Roslyn.Asserts.Tests.Refactorings; using Microsoft.CodeAnalysis.Text; using NUnit.Framework; public static partial cl...
Servicedog/OS/Extensions.cs
alex-mtx/servicedog
3
7058100
<gh_stars>1-10 using Microsoft.Diagnostics.Tracing; using Newtonsoft.Json; using Servicedog.Manifests.Afd; using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Management; using System.Text; using System.Threading.Tasks; namespace Servicedog.OS { ...
UmbShop/Controllers/Api/UmbShopStockController.cs
umbShop/umbShop
0
7058102
<gh_stars>0 using Skybrud.WebApi.Json; using Skybrud.WebApi.Json.Meta; using System.Web.Http; using Umbraco.Web.WebApi; using UmbShop.Models.Product; namespace UmbShop.Controllers.Api { [JsonOnlyConfiguration] public class UmbShopStockController : UmbracoApiController { } }
CoAP.TLS/DTLSClientEndPoint.cs
jimsch/COAP-Sandbox
0
7058103
<gh_stars>0 using System; using Com.AugustCellars.CoAP; using Com.AugustCellars.CoAP.Codec; using Com.AugustCellars.CoAP.Net; using Com.AugustCellars.COSE; namespace Com.AugustCellars.CoAP.TLS { /// <summary> /// Client only version of a DTLS end point. /// This end point will not accept new DTLS connec...
src/BookmarkManager.API/Controllers/CategoryController.cs
uthmanrahimi/BookmarkManager
0
7058104
<reponame>uthmanrahimi/BookmarkManager<filename>src/BookmarkManager.API/Controllers/CategoryController.cs using BookmarkManager.Application.Features; using MediatR; using Microsoft.AspNetCore.Mvc; using System.Threading.Tasks; namespace BookmarkManager.API.Controllers { [ApiController] [Route("[controller]...
ProductivityFeatures/Update165P2.cs
Petkoski/ProductivityFeatures
257
7058105
using System; namespace ProductivityFeatures { // https://docs.microsoft.com/en-us/visualstudio/productinfo/vs-roadmap // for release notes class Update165P2 { public static void ExtractLocal() { var s = ""; // Select all += lines and extract local function ...
FakeXrmEasy.Tests.Shared/PluginsForTesting/CustomMockPlugin.cs
jaanraadik/fake-xrm-easy
250
7058106
using Microsoft.Xrm.Sdk; using Microsoft.Xrm.Sdk.Messages; using Microsoft.Xrm.Sdk.Metadata; using System; namespace FakeXrmEasy.Tests { public class CustomMockPlugin : IPlugin { public void Execute(IServiceProvider serviceProvider) { var tracing = (ITracingService)serviceProvider....
Master/EntityDefinitions/MCompanyRule.cs
sunsohox/FNDZ
0
7058107
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Data.SqlClient; using Master.EntityDAO; using Common; namespace Master.EntityDefinitions { public class MCompanyRule { public static MCompanyData GetCompanyData() { ...
Goods/DataEntity/Entities/GoodsEquipmentInfo.cs
zhuoran-yang/wzglxt
0
7058108
using System; using System.Collections.Generic; #nullable disable namespace DataEntity.Entities { public partial class GoodsEquipmentInfo { public int Id { get; set; } public string GoodsId { get; set; } public int CategoryId { get; set; } public string Name { get; set; } ...
SDV701-Tutorials/DataAccessLayer/Work.cs
Josh-Munro/SDV701Tutorial4
0
7058109
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a template. // // Manual changes to this file may cause unexpected behavior in your application. // Manual changes to this file will be overwritten if the code is regenerated....
StyleCop.Analyzers/StyleCop.Analyzers/Lightup/RefExpressionSyntaxWrapper.cs
angelobreuer/StyleCopAnalyzers
1
7058110
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. namespace StyleCop.Analyzers.Lightup { using System; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp.Syntax; internal st...
Chino.Android/ApiExceptionStatusCodes.cs
runceel/chino
8
7058111
namespace Chino.Android.Google { public static class ApiExceptionStatusCodes { // https://developers.google.com/android/reference/com/google/android/gms/nearby/exposurenotification/ExposureNotificationStatusCodes public const int FAILED = 13; public const int FAILED_ALREADY_STARTED = 39...
MyGeotabAPIAdapter.Database/DataAccess/Core/ConnectionProvider.cs
costica-moldovanu/mygeotab-api-adapter
16
7058112
<gh_stars>10-100 using System; using System.Data.Common; using System.Threading.Tasks; namespace MyGeotabAPIAdapter.Database.DataAccess { /// <summary> /// A utility class that creates and provides <see cref="DbConnection"/> objects using the information supplied in a <see cref="ConnectionInfo"/> objec...
FakeHttp.NetStandard/AutomaticHttpClientHandler.cs
OneCyrus/FakeHttp
18
7058113
<reponame>OneCyrus/FakeHttp using System; using System.Threading.Tasks; using System.Net.Http; using System.Threading; namespace FakeHttp { /// <summary> /// A <see cref="HttpMessageHandler"/> that retrieves http response messages from /// from local storage if they exist or if they do not, from the http ...
NGitLab/NGitLab/Models/MergeRequest.cs
Xarlot/NGitLab
3
7058114
<filename>NGitLab/NGitLab/Models/MergeRequest.cs using System; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using NGitLab.Json; namespace NGitLab.Models { [DataContract] public class MergeRequest { public const string Url = "/merge_requests"; [D...
Fabric.Terminology.SqlServer/Services/SqlCodeSystemCodeService.cs
HealthCatalyst/Fabric.Terminology
4
7058115
namespace Fabric.Terminology.SqlServer.Services { using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using CallMeMaybe; using Fabric.Terminology.Domain.Models; using Fabric.Terminology.Domain.Services; using Fabric.Terminology.SqlServer.Pe...
PropertyManagerMyApp/PropertyManagerMyApp/Controllers/O365SiteProvisioningController.cs
isabella232/Property-Inspection-Code-Sample
40
7058116
<gh_stars>10-100 using Microsoft.SharePoint.Client; using SuiteLevelWebApp.Models; using SuiteLevelWebApp.Utils; using System; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using System.Web.Mvc; using Microsoft.Graph; using System.Linq; using SuiteLevelWebApp.Services; na...
clevertap-component/src/android/CleverTap.Bindings.Android/obj/Release/generated/src/Com.Clevertap.Android.Sdk.CTBackgroundJobService.cs
ygit/clevertap-xamarin
0
7058117
<reponame>ygit/clevertap-xamarin using System; using System.Collections.Generic; using Android.Runtime; using Java.Interop; namespace Com.Clevertap.Android.Sdk { // Metadata.xml XPath class reference: path="/api/<EMAIL>']/class[@name='CTBackgroundJobService']" [global::Android.Runtime.Register ("com/clevertap/andro...
SetMmdTransformationPlugin/Vmd/VmdMorphFrame.cs
mfakane/MikuMikuMoving-Plugins
13
7058118
using System.IO; namespace Linearstar.Keystone.IO.MikuMikuDance { public class VmdMorphFrame { public string Name { get; set; } public uint FrameTime { get; set; } public float Weight { get; set; } public static VmdMorphFrame Parse(BinaryReader br) ...
Aquality.WinAppDriver/tests/Aquality.WinAppDriver.Tests/Elements/Actions/MouseActionsTests.cs
aquality-automation/aquality-winappdriver-dotnet
7
7058119
using Aquality.WinAppDriver.Actions; using Aquality.WinAppDriver.Elements.Interfaces; using Aquality.WinAppDriver.Tests.Forms; using NUnit.Framework; using OpenQA.Selenium.Interactions; namespace Aquality.WinAppDriver.Tests.Elements.Actions { public class MouseActionsTests : Tests.Actions.MouseActionsTests { ...
FrameManager/Frame.ServiceInterfaces/IFrameSecurityRest.cs
winwink/CFCFrame
38
7058120
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.ServiceModel; using System.ServiceModel.Web; using System.Data; using System.IO; using Entitys.ComonEnti; using Common; namespace Frame.ServiceInterfaces { [ServiceContract(Configurati...
Matrix.Web.Business/Services/IUserGroupService.cs
matrix-platform/web
1
7058121
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Threading.Tasks; using Matrix.Agent.Directory.Model; using Matrix.Framework.Business; namespace Matrix.Web.Business.Services { public interface IUserGroupService : IService { Task<List<UserGroup>> GetUserGroups(Guid ...
HomeManagement.API.Storage/Services/UserFilesService.cs
infinitydirico/homemanagement
1
7058122
using System.Collections.Generic; using System.IO; using System.Linq; using HomeManagement.Models.Storage; using Microsoft.Extensions.Configuration; namespace HomeManagement.API.Storage.Services { public interface IUserFilesService { IEnumerable<DirectoryModel> GetDirectories(string path); Director...
uTinyRipperCore/Parser/Classes/ParticleSystem/ColorBySpeedModule.cs
Bluscream/UtinyRipper
2,066
7058123
<gh_stars>1000+ using uTinyRipper.Converters; using uTinyRipper.YAML; namespace uTinyRipper.Classes.ParticleSystems { public sealed class ColorBySpeedModule : ParticleSystemModule { public override void Read(AssetReader reader) { base.Read(reader); Gradient.Read(reader); Range.Read(reader); } ...
Tools/Editor/Gorgon.Editor/Settings/ViewModels/_Interfaces/IEditorSettings.cs
Tape-Worm/Gorgon
55
7058124
<filename>Tools/Editor/Gorgon.Editor/Settings/ViewModels/_Interfaces/IEditorSettings.cs #region MIT // // Gorgon. // Copyright (C) 2019 <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 ...
Script/AtomicNET/AtomicNET/Core/Constants.cs
elix22/AtomicGameEngine
3,170
7058125
<gh_stars>1000+ namespace AtomicEngine { public static partial class Constants { #if ATOMIC_IOS public const string LIBNAME = "@rpath/AtomicNETNative.framework/AtomicNETNative"; #elif __MonoCS__ public const string LIBNAME = "AtomicNETNative"; #else public const string LIBNAME = "Atomi...
Cinema/Cinema.Data.Models/FilmScreening.cs
Cinematrix/Cinematrix
1
7058127
<gh_stars>1-10 using Cinema.Data.Models.Contracts; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cinema.Data.Models { public class FilmSc...
Nya/UI/ViewControllers/SettingsModalMenuController.cs
xSkyyy/Nya
17
7058128
using BeatSaberMarkupLanguage; using BeatSaberMarkupLanguage.Attributes; using HMUI; using Nya.Configuration; using Nya.Utils; using UnityEngine; namespace Nya.UI.ViewControllers { public class SettingsModalMenuController : SettingsModalController { private readonly MainFlowCoordinator mainFlowCoordin...
DotCEP/DotCEP/Requisicoes/ManipulacaoJSON.cs
ArySbrana/DotCEP
1
7058129
using System.Collections.Generic; using Newtonsoft.Json; namespace DotCEP { internal static class ManipulacaoJSON { internal static string ObterCEPdaStrJSON(string strJSON) { Endereco enderecobase = new Endereco(); enderecobase = JsonConvert.DeserializeObject<Endereco>(strJSON); string CEPtemp = ende...
Truck inventory/editsupplier.designer.cs
karthimahendran/Inventory-Windows-Software
0
7058130
<gh_stars>0 namespace Truck_inventory { partial class editsupplier { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. ...
_no_namespace/EmptyReadOnlyDictionaryInternal.NodeEnumerator.cs
SinsofSloth/RF5-global-metadata
1
7058131
private sealed class EmptyReadOnlyDictionaryInternal.NodeEnumerator : IDictionaryEnumerator, IEnumerator // TypeDefIndex: 1356 { // Properties public object Current { get; } public object Key { get; } public object Value { get; } public DictionaryEntry Entry { get; } // Methods // RVA: 0x185F140 Offset: 0x185F...
XKCP.NET/Xkcp.Sha3_224.cs
StirlingLabs/XKCP.NET
0
7058132
using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using StirlingLabs.Buffers; namespace StirlingLabs; public static unsafe partial class Xkcp { /// <summary> /// Implementation of SHA3-224 [FIPS 202]. /// </summary> /// <param name="output">Pointer to the outp...
Treats/Models/Treat.cs
weidai07/PierresTreats.Solution
0
7058133
using System.Collections.Generic; namespace TreatsList.Models { public class Treat { public Treat() { this.Flavors = new HashSet<Flavor>(); } public int TreatId { get; set; } public string Name { get; set; } public virtual ICollection<Flavor> Flavors {...
Assets/Scripts/HowToPlayMenu.cs
OmiyaGames/hack.source.net
1
7058134
using UnityEngine; using UnityEngine.UI; using OmiyaGames; public class HowToPlayMenu : IMenu { [SerializeField] Button backButton; public override GameObject DefaultUi { get { return backButton.gameObject; } } public override Type MenuTyp...
HasarLimiti.cs
ciengineerBA/SectionDesigner
0
7058136
<reponame>ciengineerBA/SectionDesigner using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Arayuz { class HasarLimiti { public double AlfaSe(double h0, double b0, double s, double[] bi) { double T...
03_Animal_Shooter_Game/Assets/Scripts/PlayerController.cs
gelexgaray/UnityLearning
0
7058137
<filename>03_Animal_Shooter_Game/Assets/Scripts/PlayerController.cs using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlayerController : MonoBehaviour { public float horizontalInput; public float speed = 10f; public float xRange = 15f; public GameObject projec...
Assets/Scripts/Items/Inventory.cs
antlop/GGJ_2022_Project
0
7058138
using System.Collections; using System.Collections.Generic; using UnityEngine; public enum INV_SLOTS { Weapon, Armor, Neck, Trinket, ITEM_MAX }; public class Inventory : MonoBehaviour { [SerializeField] int BagSize = 10; public m_Item_Base[] Bag; public m_Item_Base[] Equipped; // Start is calle...
Assets/Highway Racer/RealisticCarControllerV3/Scripts/RCC_CustomizerExample.cs
GDxU/racer2049
0
7058139
//---------------------------------------------- // Realistic Car Controller // // Copyright © 2016 BoneCracker Games // http://www.bonecrackergames.com // //---------------------------------------------- using UnityEngine; using UnityEngine.UI; using System.Collections; using UnityEngine.EventSystems; //...
src/CTA.FeatureDetection.Load/Constants.cs
Eruanion/cta
26
7058140
using System.IO; using System.Reflection; namespace CTA.FeatureDetection.Load { internal class Constants { public const string TemplatesFilePath = "Templates"; public static readonly string DefaultFeatureConfigPath = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location),...
src/client/ResponseCodes.cs
ArtOfCode-/Messenger
2
7058141
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace MessengerClient { /// <summary> /// Details the possible response codes. /// </summary> public enum ResponseCode { Success, ServerError, NoDateFound, B...
src/SFA.DAS.Reservations.NServiceBusListener/Program.cs
SkillsFundingAgency/das-reservations-ap
1
7058142
<filename>src/SFA.DAS.Reservations.NServiceBusListener/Program.cs using System; using System.IO; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Opt...
Source/SqlTodoExplorer/Services/TodoExplorerManager.cs
DamnTools/SqlTodoExplorer
9
7058143
<filename>Source/SqlTodoExplorer/Services/TodoExplorerManager.cs using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Text.RegularExpressions; namespace DamnTools.SqlTodoExplorer.Services { public class TodoExplorerManager : ITodoExplorerManager { ...
functions-triggers-bindings-example/ExampleFunctionProject/BlobTriggerInputBindingOutputBinding3.cs
pavan-baloji/functions-triggers-bindings-example
0
7058144
using System.IO; using System.Threading.Tasks; using Microsoft.Azure.WebJobs; using Microsoft.Extensions.Logging; namespace ExampleFunctionProject { public static class BlobTriggerInputBindingOutputBinding3 { [FunctionName("BlobTriggerInputBindingOutputBinding3")] public static async Task Run(...
AutoAITalk/Sugar.cs
nxhlt/AutoAITalk
1
7058146
#nullable enable using System; using System.Threading; namespace AutoAITalk { public class Sugar { public static TR? TryFunc<T, TR>(Func<T, TR> func, T? t, TR? fail) { if (t == null) return fail; try { return func(t); } ...
Obsolete/ReferenceListVariable/KeyCodeReferenceListVariable.cs
Luxulicious/SOA
1
7058147
<reponame>Luxulicious/SOA using SOA.Base; using UnityEngine; using UnityEngine; namespace SOA.Common.UnityEngine { [CreateAssetMenu(fileName = "New KeyCode List", menuName = "SOA/UnityEngine/KeyCode/List", order = 1)] public class KeyCodeReferenceListVariable : ReferenceListVariable<KeyCodeReferenceList, KeyCo...
src/UnrealEngine4/FortnitePakManager/PakReader/ExportObject/UScript/UScriptStruct/FStaticLODModel/FSkeletalMeshVertexBuffer/FGPUVert4/FPackedNormal.cs
pirica/FTN-Power
25
7058148
using System.IO; namespace PakReader { public struct FPackedNormal { public uint Data; public FPackedNormal(BinaryReader reader) { Data = reader.ReadUInt32(); Data ^= 0x80808080; // 4.20+: https://github.com/gildor2/UModel/blob/dcdb92c987c15f0a5d3366247667a8fb9...
src/tabs/AboutTab.cs
Petethegoat/MWInstaller
1
7058149
<filename>src/tabs/AboutTab.cs using System.Windows; namespace MWInstaller { public partial class MainWindow : Window { private void hideStartupWarning_Changed(object sender, RoutedEventArgs e) { Config.hideStartupWarning = hideStartupWarning.IsChecked.GetValueOrDefault(); ...
Metasequoia.Sharp/PinnedStructure.cs
mfakane/mqsharp
9
7058151
<filename>Metasequoia.Sharp/PinnedStructure.cs<gh_stars>1-10 using System; using System.Runtime.InteropServices; namespace Metasequoia { class PinnedStructure<T> : SafeHandle where T : struct { public override bool IsInvalid => handle == IntPtr.Zero; public T Value => Marshal.PtrToStructure<T>(handle);...
TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Misc/BabaIsWhoComponentSolver.cs
sleepin-fang/KtaneTwitchPlays
58
7058152
<filename>TwitchPlaysAssembly/Src/ComponentSolvers/Modded/Misc/BabaIsWhoComponentSolver.cs using System; using System.Collections; using System.Text.RegularExpressions; using UnityEngine; public class BabaIsWhoComponentSolver : ComponentSolver { public BabaIsWhoComponentSolver(TwitchModule module) : base(module) ...
Tools/1 - Common/MoCore/Window/Content/Code/FAsmAdc.cs
favedit/MoCross
3
7058153
using MO.Common.Collection; namespace MO.Core.Window.Context.Asm.Code { public class FAsmAdc : FAsmOpCode { public override bool Parse(FAsmCommand cmd, FBytes memory, int offset) { byte code = memory[offset]; if ((code & 0xFE) == 0x12) { // 0001 001w oorr rmmm cmd.S...
sdk/batch/Microsoft.Azure.Batch/Azure.Batch/src/Generated/Models/ComputeNodeUser.cs
Petermarcu/azure-sdk-for-net
0
7058154
<reponame>Petermarcu/azure-sdk-for-net<filename>sdk/batch/Microsoft.Azure.Batch/Azure.Batch/src/Generated/Models/ComputeNodeUser.cs // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // <auto-generated/> #nullable disable using System; namespace Azure.Batch.Models { ...
DataSizeUnits/DataSize.cs
Aldaviva/DataSize
0
7058155
<gh_stars>0 using System; using System.Globalization; namespace DataSizeUnits { /// <summary> /// <para>An amount of digital data. Create instances using the constructor or struct declarations.</para> /// <para><c>var kilobyte = new DataSize(1024);</c></para> /// <para><c>var kilobyte = new D...
src/Geometry/3D/Plane.cs
AlanRynne/AR_Lib
0
7058156
<reponame>AlanRynne/AR_Lib using System; namespace Paramdigma.Core.Geometry { // TODO: Must ensure that vectors are always perpendicular to each other /// <summary> /// Represents a 3-Dimensional plane. /// </summary> public class Plane { /// <summary> /// Gets or sets the pla...
PLATFORM/Modules/Integration/Altsoft.ShopifyImportModule/Altsoft.ShopifyImportModule.Web/Models/Shopify/ShopifyPage.cs
VirtoCommerce-archieve/vc-integrations
0
7058157
<gh_stars>0 using System; using System.Runtime.Serialization; using Altsoft.ShopifyImportModule.Web.Models.Shopify.Base; namespace Altsoft.ShopifyImportModule.Web.Models.Shopify { [DataContract] public class ShopifyPage : ShopifyUpdatableEntity { [DataMember(Name = "author")] public string...
src/Discord.Net/API/Client/Common/Message.cs
jarveson/Discord.Net
1
7058158
using Newtonsoft.Json; using System; namespace Discord.API.Client { public class Message : MessageReference { public sealed class Attachment { [JsonProperty("id")] public string Id { get; set; } [JsonProperty("url")] public string Url { get; set;...
src/PackageManager/Services/ISelfUpdateService.cs
mast-eu/GitExtensions.PluginManager-legacy
8
7058159
<reponame>mast-eu/GitExtensions.PluginManager-legacy<gh_stars>1-10 using PackageManager.Models; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace PackageManager.Services { public interface ISelfUpdateService { bool ...
BookLive/BookLive/Views/Manage/ChangeVideo.cshtml
battlequinn/BookLive
0
7058160
@model BookLive.Models.ChangeVideoViewModel @using Microsoft.AspNet.Identity @using Microsoft.AspNet.Identity.EntityFramework @using BookLive.Models @{ byte[] video = null; if (User.Identity.IsAuthenticated) { var userStore = new UserStore<ApplicationUser>(new ApplicationDbContext()); var m...
src/Sfa.Tl.Matching.Web.UnitTests/Controllers/Opportunity/When_Recording_Referrals_And_Check_Answers_Is_Submitted_Successfully.cs
SkillsFundingAgency/tl-matching
0
7058161
using AutoMapper; using FluentAssertions; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using NSubstitute; using Sfa.Tl.Matching.Application.Interfaces; using Sfa.Tl.Matching.Application.Services; using Sfa.Tl.Matching.Models.Dto; using Sfa.Tl.Matching.Models.ViewModel; using Sfa.Tl.Matching.Web.Con...
apiconcepts/batchtasks/code_samples/MyCustomBatchTaskSettings.cs
CrinaS/studio-api-docs
2
7058163
<reponame>CrinaS/studio-api-docs using Sdl.Core.Settings; namespace Sample_Custom_Batch_Task { #region "Class" // The settings class needs to implement the SettingsGroup interface public class MyCustomBatchTaskSettings : SettingsGroup #endregion { #region "DefaultValue" // We set t...
server/PxStat/Entities/System/Settings/Format/Format_API.cs
PC-Axis/PxStat
23
7058164
<reponame>PC-Axis/PxStat using API; namespace PxStat.System.Settings { /// <summary> /// APIs to control reading Formats. /// </summary> public class Format_API { /// <summary> /// Entry point to the API method - Reads a Format entry /// </summary> /// <param name=...
v3.1/Models/DB/TclearanceGaugeChange.cs
LightosLimited/RailML
0
7058165
using System; using System.Collections.Generic; namespace Models.DB { public partial class TclearanceGaugeChange { public TclearanceGaugeChange() { EclearanceGaugeChanges = new HashSet<EclearanceGaugeChanges>(); } public short TclearanceGaugeChangeId { get; set; } ...
Kooboo.CMS/Kooboo.CMS.Account.Persistence.EntityFramework/AccountDBContext.cs
syberside/CMS
288
7058166
<gh_stars>100-1000 #region License // // Copyright (c) 2013, Kooboo team // // Licensed under the BSD License // See the file LICENSE.txt for details. // #endregion using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.Entity; using Kooboo.CMS.Account.Models; using...
BusinessLogic/Entities/PersonalBaja.cs
hct-vladimir/SOS-Shared
0
7058167
<reponame>hct-vladimir/SOS-Shared using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Cerberus.Sos.Accounting.BusinessLogic.Entities { public class PersonalBaja { public string codigoBaja { get; set; } public string item...
Galador.Reflection/PropertyPath.cs
superlloyd/Galador.Reflection
23
7058168
<filename>Galador.Reflection/PropertyPath.cs using Galador.Reflection.Utils; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.ComponentModel; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Runtime.CompilerServices; using System....
Dashing.PerformanceTests/Tests/EntityFramework/EfContext.cs
JTOne123/dashing
57
7058169
<gh_stars>10-100 namespace Dashing.PerformanceTests.Tests.EntityFramework { #if NET46 using System.Data.Entity; using global::Dashing.PerformanceTests.Domain; using PerformanceTest; internal class EfContext : DbContext { public EfContext() : base(Program.ConnectionString) { } ...
Phonebook.Source.PeopleSoft/src/Phonebook.Source.PeopleSoft/Controllers/BuildingPartController.cs
rndmh3ro/phonebook
21
7058170
<gh_stars>10-100 using System.Collections.Generic; using System.Linq; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Phonebook.Source.PeopleSoft.Models; using Phonebook.Source.PeopleSoft.Models.Context; namespace Phonebook.Source.PeopleSoft.Control...
Assets/ImmVisWebsocketClient/Scripts/Messages/ErrorMessage.cs
imdavi/immclimate
1
7058172
using System; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace ImmVis.Messages { [JsonObject] class ErrorMessage : Message { [JsonProperty] private string cause; [JsonIgnore] public string Cause { get { return cause; } } public...
Lib/Opportunity.AssLoader/Serializer/EnumNumberSerializeAttribute.cs
OpportunityLiu/Ass-Loader
8
7058173
<filename>Lib/Opportunity.AssLoader/Serializer/EnumNumberSerializeAttribute.cs using System; using System.IO; using System.Linq; namespace Opportunity.AssLoader.Serializer { /// <summary> /// Custom serializer for <see cref="Enum"/>. /// </summary> [AttributeUsage(AttributeTargets.Field | AttributeTar...
AWSSDK/Amazon.SimpleWorkflow/Model/WorkflowExecutionCancelRequestedEventAttributes.cs
mahanthbeeraka/dataservices-sdk-dotnet
0
7058174
/* * Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "l...
NeodymiumDotNet/Io/NormalBitConverter.cs
aka-nd1220/NeodymiumDotNet
0
7058175
using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; namespace NeodymiumDotNet.Io { /// <summary> /// Provides features of <see cref="IBitConverter"/> which reads/writes byte sequence naturally. /// </summary> public class NormalBitConverter : IBitConverter ...
ImageServer/Web/Application/Pages/Admin/UserManagement/UserGroups/UserGroupsPanel.ascx.cs
econmed/ImageServer20
1
7058176
#region License // Copyright (c) 2009, ClearCanvas Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above copyright not...
Blazorcrud.Shared/Models/AddressValidator.cs
DavidScheuren/BlazorCrud
17
7058177
using FluentValidation; namespace Blazorcrud.Shared.Models { public class AddressValidator : AbstractValidator<Address> { public AddressValidator() { CascadeMode = CascadeMode.Stop; RuleFor(address => address.Street).NotEmpty().WithMessage("Street is a required field.")...
Source/Excel/DispatchInterfaces/DiagramNodeChildren.cs
igoreksiz/NetOffice
0
7058178
<filename>Source/Excel/DispatchInterfaces/DiagramNodeChildren.cs using System.Collections; using System.Collections.Generic; using System; using NetRuntimeSystem = System; using System.ComponentModel; using NetOffice.Attributes; using NetOffice.CollectionsGeneric; namespace NetOffice.ExcelApi { /// <summary> /// Di...
Tests/Utility/Mock/DeviceDetailsRecordMock.cs
DoubleCai/Zinnia.Unity
59
7058179
using UnityEngine; using UnityEngine.XR; using Zinnia.Tracking.CameraRig; namespace Test.Zinnia.Utility.Mock { [AddComponentMenu("")] public class DeviceDetailsRecordMock : DeviceDetailsRecord { public XRNode nodeType; public bool connectedState; public int priority; publi...
src/Tailviewer.Archiver/Repository/PublishedPluginDescription.cs
Kittyfisto/SharpTail
84
7058180
<reponame>Kittyfisto/SharpTail using System; using System.Runtime.Serialization; namespace Tailviewer.Archiver.Repository { /// <summary> /// Describes a plugin as part of plugin repository. /// </summary> /// <remarks> /// Used during transport between repository and tailviewer client. /// </remarks> ...