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
Steam Inventors Studio Project/Assets/Scripts/TriggerScript.cs
Millmoss/steammis
1
7049706
<reponame>Millmoss/steammis using System.Collections; using System.Collections.Generic; using UnityEngine; public class TriggerScript : MonoBehaviour { public GameObject g; // Start is called before the first frame update void OnTriggerEnter(Collider Other) { gameObject.transform.position = new...
src/RSql4Net/Models/Paging/Exceptions/OutOfRangePageNumberException.cs
gwendallg/RSql4Net
3
7049707
<reponame>gwendallg/RSql4Net using System; using System.Runtime.Serialization; namespace RSql4Net.Models.Paging.Exceptions { [Serializable] public class OutOfRangePageNumberException : RSqlPageableException { public OutOfRangePageNumberException(object pageNumber, Exception innerExcept...
Assets/Scripts/Experiment/ResultsAnalysis/SurveyWithIdAnalyzer.cs
MatousK/ThesisQuest
0
7049708
<gh_stars>0 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Assets.Scripts.Experiment.ResultsAnalysis { /// <summary> /// <inheritdoc/> /// It tries the folders by the ID of the user. This should be always accur...
Assets/Ferr/Common/Ferr_Color.cs
uareurapid/nightinthewoods
0
7049709
using UnityEngine; using System.Collections; using System; public static class Ferr_Color { public static Color FromHex(string aHex) { if (aHex.Length != 8) return Color.red; return new Color( Convert.ToInt32(""+aHex[0]+aHex[1])/255f, Convert.ToInt32(""+aHex[2]+aHex[3])/255f, Convert.ToInt32("...
DPortal.Web.Framework/FineUploader/FineUploaderModelBuilder.cs
WangCharlie/FineUploader
1
7049710
<gh_stars>1-10 using System.Web; using System.Web.Mvc.Html; namespace DPortal.Web.Framework.FineUploader { public class FineUploaderModelBuilder : IFineUploaderModelBuilder { private readonly System.Web.Mvc.HtmlHelper _helper; private string _name; private string _allowedFileExtensions...
Assets/FXManager.cs
PlanetLotus/UnityMultiplayerFPSTutorial
0
7049711
<filename>Assets/FXManager.cs using UnityEngine; using System.Collections; public class FXManager : MonoBehaviour { public GameObject sniperBulletFXPrefab; [RPC] private void SniperBulletFX(Vector3 start, Vector3 end) { GameObject sniperFX = (GameObject)Instantiate(sniperBulletFXPrefab, s...
FacilityMonitoring.WebClient/Startup.cs
aelmendorf/Facility-Monitoring
0
7049712
<filename>FacilityMonitoring.WebClient/Startup.cs<gh_stars>0 using FacilityMonitoring.Common.Data.Context; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.SignalR.Client; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Mi...
LenchScripterMod/Mod.cs
HultimateH/LenchScripterMod
6
7049713
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using Lench.Scripter.Internal; using Lench.Scripter.Resources; using Lench.Scripter.UI; using spaar.ModLoader; using UnityEngine; using Configuration = Lench.Scripter.Internal.Configuration; using MachineData =...
Dictionaries Lambda And Linq/Dictionaries_Lambda_Linq_Exercises/07_StudentAcademy/StudentAcademy.cs
dimitar-yo-dimitrov/Technology-Fundamentals
0
7049714
<gh_stars>0 namespace _07_StudentAcademy { using System; using System.Collections.Generic; using System.Linq; public class StudentAcademy { public static void Main() { var numberOfStudents = int.Parse(Console.ReadLine()); var studentEvaluation = new Dictio...
src/Feature/Account/code/Infrastructure/ManageMessageId.cs
epam/Sitecore-Reference-Storefront-on-Habitat
4
7049715
<filename>src/Feature/Account/code/Infrastructure/ManageMessageId.cs namespace Sitecore.Feature.Account.Infrastructure { /// <summary> /// Gives the various types of messages /// </summary> public enum ManageMessageId { /// <summary> /// Indicates a successful password change ...
source/Web/PhotographyAddicted.Web/Controllers/PhotoStoriesCommentsController.cs
severin87/PhotographyAddict
0
7049716
<filename>source/Web/PhotographyAddicted.Web/Controllers/PhotoStoriesCommentsController.cs using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using PhotographyAddicted.S...
src/ESFA.DC.ILR.ValidationService.Data.Population.Tests/PreValidationPopulationServiceTests.cs
sampanu/DC-ILR-1819-ValidationService
2
7049717
<filename>src/ESFA.DC.ILR.ValidationService.Data.Population.Tests/PreValidationPopulationServiceTests.cs<gh_stars>1-10 using System.Threading; using System.Threading.Tasks; using ESFA.DC.ILR.ValidationService.Data.Population.Interface; using Moq; using Xunit; namespace ESFA.DC.ILR.ValidationService.Data.Population.Te...
OntraportApi/Models/ApiWebhook.cs
mysteryx93/OntraportApi.NET
1
7049719
using System; using HanumanInstitute.OntraportApi.Converters; namespace HanumanInstitute.OntraportApi.Models { /// <summary> /// You can use webhooks subscriptions to receive notifications about events occurring within your Ontraport account. /// </summary> public class ApiWebhook : ApiObject { ...
modules/Volo.BasicTheme/test/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo/Pages/Components/ProgressBars.cshtml
antosubash/ThemeChange
1
7049720
<gh_stars>1-10 @page @model Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.Demo.Pages.Components.ProgressBarsModel @{ ViewData["Title"] = "Progress Bars"; } @section styles { <abp-style-bundle> <abp-style src="/css/demo.css" /> </abp-style-bundle> } <h2>Progress Bars</h2> <p>Based on <a href="https://getb...
Assets/Scripts/VariableSystem/VariableSystem/Scripts/Constraints/StringVariableConstraint.cs
JohnGrayDCLabs/CuttingRoomOfcomDemo
7
7049721
<gh_stars>1-10 using UnityEngine; using CuttingRoom.VariableSystem.Variables; using System.Collections.Generic; namespace CuttingRoom.VariableSystem.Constraints { public class StringVariableConstraint : Constraint { public enum ComparisonType { Undefined, EqualTo, NotEqualTo, Contains, DoesNotCon...
src/JsonFileLocalization/ObjectLocalization/JsonFileObjectLocalizerOfT.cs
Liminiens/json-localization
0
7049722
using System.Globalization; namespace JsonFileLocalization.ObjectLocalization { public class JsonFileObjectLocalizer<TResource> : IObjectLocalizer { private readonly IObjectLocalizer _localizer; public JsonFileObjectLocalizer(JsonFileObjectLocalizerFactory factory) { ...
doc/WalkingTec.Mvvm.Doc/Views/Admin/Role.en.cshtml
jl632541832/WTM
3,835
7049723
<reponame>jl632541832/WTM<gh_stars>1000+ @model WalkingTec.Mvvm.Core.BaseVM <style> a { color: #01aaed } </style> <wt:fieldset field-set-style="Simple" title="Role management-module screenshot"> <img src="~/imgs/admin-roleen.png" /> </wt:fieldset> <wt:fieldset field-set-style="Simple" title="Role ma...
Hwavmvid.Roulettebetoptions/RouletteBetoptionsService.cs
boredgirl/hwavmvid
0
7049724
using Hwavmvid.Rouletteshared.Events; using Hwavmvid.Rouletteshared.Items; using Hwavmvid.Rouletteshared.Enums; using Microsoft.JSInterop; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Hwavmvid.Roulettebetoptions { public class RouletteBetoptionsService : IDisposable ...
build/src/PureCloudPlatform.Client.V2/Model/SchemaQuantityLimits.cs
F-V-L/platform-client-sdk-dotnet
13
7049725
using System; using System.Linq; using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Runtime.Serialization; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using PureCloudPlatform.Client.V2.Client; namespace PureClo...
Data/F98220.cs
Herdubreid/OMWReporting
0
7049726
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace OMWReporting.Data { public class F98220GroupBy { public long OMWCD { get; set; } public string OMWPS { get; set; } } public class F98220Output { public F98...
Assets/Scripts/Game/Managers/CameraManager.cs
Kalystee/TacticalTurnedBase
0
7049727
<gh_stars>0 using Sirenix.OdinInspector; using UnityEngine; namespace PNN { public class CameraManager : MonoBehaviour { [SerializeField, BoxGroup("Camera Settings")] private float cameraMoveSpeed = 3f; [SerializeField, BoxGroup("Camera Settings")] private float scrollSpeed = 1f; Vect...
Rediska/Commands/Hashes/HGET.cs
TwoUnderscorez/Rediska
0
7049728
<gh_stars>0 namespace Rediska.Commands.Hashes { using System.Collections.Generic; using Protocol; using Protocol.Visitors; public sealed class HGET : Command<BulkString> { private static readonly PlainBulkString name = new PlainBulkString("HGET"); private readonly Key key;...
Regulus.RelationalTables.Tests/InverselyRelatedByColumnTests.cs
jiowchern/RelationalTables
4
7049729
<reponame>jiowchern/RelationalTables using NSubstitute; using Regulus.RelationalTables.Raw; using System.Linq; namespace Regulus.RelationalTables.Tests { public class InverselyRelatedByColumnTests { class Table1 { [Attributes.InverselyRelatedByColumn("Id")] ...
Ivony.Html.Web/WebExtenions.cs
Ivony/Jumony
394
7049730
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web.Routing; using System.Web; using System.Web.Caching; namespace Ivony.Html.Web { /// <summary> /// 提供一些 Web 相关的扩展方法。 /// </summary> public static class WebExtenions { } }
Development/Scripts/DataEarntPersistent.cs
Grizzski/StartingItemsGUI
0
7049731
using System; using System.IO; using System.Collections.Generic; using RoR2; using UnityEngine; using R2API; namespace Phedg1Studios { namespace StartingItemsGUI { public class DataEarntPersistent : MonoBehaviour { static public float defaultMultiplier; static public flo...
src/UR/Data/Dice.cs
JanneMattila/unnecessary-roughness
0
7049732
<filename>src/UR/Data/Dice.cs namespace UR.Data { public static class Dice { public const string AttackerDown = "Attacker Down"; public const string BothDown = "Both Down"; public const string Pushed = "Pushed"; public const string DefenderStumbles = "Defender Stumbles"; ...
Custom_Activities/Custom_Control/Keyboard_Copy.cs
aibotstechrepo/AiBotsStudio
0
7049733
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Activities; using System.Threading; using System.Windows.Forms; namespace Custom_Control { public sealed class Keyboard_Copy : CodeActivity { protected override void Execute(CodeActivityCont...
test/Grains/BenchmarkGrainInterfaces/Indexing/IndexingReport.cs
OrleansContrib/OrleansV2.Fork.Indexing
17
7049734
<filename>test/Grains/BenchmarkGrainInterfaces/Indexing/IndexingReport.cs using System; namespace BenchmarkGrainInterfaces.Indexing { public class IndexingReport { public int Succeeded { get; set; } public int Failed { get; set; } public TimeSpan Elapsed { get; set; } } }
Assets/Game/AI/Routes/Route.cs
Google-Patika-dev-Casual-Game-Bootcapms/galaxy-destroyer
10
7049735
<filename>Assets/Game/AI/Routes/Route.cs namespace SpaceShooterProject.AI.Movements { using System.Collections; using System.Collections.Generic; using UnityEngine; public abstract class Route { protected List<Vector2> controlPoints = new List<Vector2>(); public abstract Vector2 Ca...
server/Core/World/Map/Chunk.cs
Devwarlt/loe-core
0
7049736
<gh_stars>0 using LoESoft.Server.Core.World.Entities; using LoESoft.Server.Utils; using System.Collections.Generic; using System.Linq; namespace LoESoft.Server.Core.World.Map { public class Chunk { public const int SIZE = 128; public readonly int StartX; public readonly int StartY; ...
src/BaldBeardedBuilder.HATEOAS/Controllers/HomeController.cs
MichaelJolley/aspnetcore-hateoas
9
7049737
<reponame>MichaelJolley/aspnetcore-hateoas using System; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Infrastructure; using Microsoft.Extensions.Logging; using AutoMapper; using BaldBeardedBuilder.HATEOAS.Models; namespace BaldBeardedBuilder.HATEOAS.Controllers { [ApiController] [Route("ap...
GetIssueDetails/Issue.cs
StingyJack/DevCommIssueScraper
1
7049738
<gh_stars>1-10 namespace GetIssueDetails { using System; using System.Collections.Generic; using System.Linq; public class Issue : Message { public string Title { get; set; } public string Status { get; set; } public string IssueLink { get; set; } public int IssueLi...
ManglingImgui/ManglingImgui/imgui/enums/ImGuiBackendFlags_.cs
ousttrue/ManglingImgui
0
7049739
<reponame>ousttrue/ManglingImgui // This source code was generated by ClangCaster namespace ManglingImgui { // ../../imgui/imgui.h:1183 public enum ImGuiBackendFlags_ { _None = 0x0, _HasGamepad = 0x1, _HasMouseCursors = 0x2, _HasSetMousePos = 0x4, _Rendere...
Code/ShipGame/GameObjects/Starship/Units/Player/Formation.cs
ben-gibbons-github/SpaceTowerDefense
0
7049740
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace BadRabbit.Carrot { class Formation { private UnitBasic[] Children; private int ChildCount = 0; private int ArraySize = 0; public void Commit(UnitBasic[] Chi...
Runtime/Scripts/Networking/ZOTCPServer.cs
MichiBab/ZeroSimROSUnity
78
7049741
using System; using System.IO; using System.Net; using System.Net.Sockets; using System.Threading.Tasks; using System.Collections.Generic; using UnityEngine; // ONLY for debug log namespace ZO.Networking { /// <summary> /// A TCP server. /// </summary> public class ZOTCPServer { private TcpLi...
Src/SimpleFeedly.Web/Modules/Rss/Blacklists/BlacklistsRow.cs
minhhungit/SimpleFeedly
14
7049742
<reponame>minhhungit/SimpleFeedly  namespace SimpleFeedly.Rss.Entities { using Serenity; using Serenity.ComponentModel; using Serenity.Data; using Serenity.Data.Mapping; using System; using System.ComponentModel; using System.IO; [ConnectionKey("SimpleFeedlyConn"), Module("Rss"), Table...
Assets/_Scripts/CController.cs
rosank/BiteMe
0
7049743
using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(CharacterController))] public class CController : MonoBehaviour { private CharacterController controller; public Vector3 Velocity { get => controller.velocity; } // Start is called before t...
src/Api/YoYoCms.AbpProjectTemplate.WebApp/Controllers/AbpProjectTemplateControllerBase.cs
huanghuixin1/YoYoCms.AbpProjectTemplate
174
7049744
<filename>src/Api/YoYoCms.AbpProjectTemplate.WebApp/Controllers/AbpProjectTemplateControllerBase.cs using Abp.IdentityFramework; using Abp.Web.Mvc.Controllers; using Microsoft.AspNet.Identity; using YoYoCms.AbpProjectTemplate.AppExtensions.AbpSessions; namespace YoYoCms.AbpProjectTemplate.WebApp.Controllers { ...
YukihiraKitchen/YukihiraKitchen.Application/Recipes/RecipeIngredientValidator.cs
bphung1/YukihiraKitchenAPI
0
7049745
<reponame>bphung1/YukihiraKitchenAPI using FluentValidation; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using YukihiraKitchen.Domain; namespace YukihiraKitchen.Application.Recipes { public class RecipeIngredientValidator: AbstractValidator<R...
Ship_Game/GameScreens/Universe/ColoniesListItem.cs
UnGaucho/StarDrive
0
7049746
<gh_stars>0 using System; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Ship_Game.Audio; using Ship_Game.Utils; namespace Ship_Game { public sealed class ColoniesListItem : ScrollListItem<ColoniesListItem> { readonly EmpireManagementSc...
Epam.FinalTask/Epam.FinalTask.PhotoAlbum.MVCWebUI/Controllers/AvatarController.cs
SergioPonomarev/Xt-2018Q4
0
7049747
using System; using System.Web.Mvc; using Epam.FinalTask.PhotoAlbum.MVCWebUI.Models; using dr = Epam.FinalTask.PhotoAlbum.Common.DependencyResolver; namespace Epam.FinalTask.PhotoAlbum.MVCWebUI.Controllers { public class AvatarController : Controller { public ActionResult GetUserAvatar(int avatarId) ...
test/FunctionalTests/Scenarios/bal_grammar.cs
SamuelJohnsonMedia/Balea
216
7049748
using Balea.Authorization.Abac.Context; using Balea.Authorization.Abac.Grammars; using FluentAssertions; using Microsoft.AspNetCore.Authorization; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Xunit; namespace FunctionalTests.Scenarios { #pragma war...
Assets/Scripts/PlayerController.cs
Huyhsu/2D-Roguelike
0
7049749
<filename>Assets/Scripts/PlayerController.cs<gh_stars>0 using System; using System.Collections; using System.Collections.Generic;using System.Runtime.CompilerServices; using UnityEngine; public class PlayerController : MonoBehaviour { [SerializeField] private Transform weaponArmTransform; [Serial...
Common/Internal/Argument.cs
edcoss/Sitecore-Script
3
7049750
using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using JetBrains.Annotations; // ReSharper disable CheckNamespace // ReSharper disable UnusedMember.Global // ReSharper disable ArrangeStaticMemberQualifier /// <summary> /// Provides methods for verification of arg...
Src/AutoFixtureDocumentationTest/Extension/Constraints/ObjectBuilderExtension.cs
riezebosch/AutoFixture
2,320
7049751
using System; using System.Linq.Expressions; using AutoFixture.Dsl; namespace AutoFixtureDocumentationTest.Extension.Constraints { public static class ObjectBuilderExtension { public static IPostprocessComposer<T> With<T>( this ICustomizationComposer<T> ob, Expression<Func<T, s...
zero/Maruko.Zero/Internal/Service/Role/DTO/RoleMenuDTO.cs
SkipperGuo/Maruko
25
7049752
<gh_stars>10-100 using System.Collections.Generic; namespace Maruko.Zero { public class RoleMenuDTO { public long Id { get; set; } public long ParentId { get; set; } public string Title { get; set; } public string Icon { get; set; } public string Path { get; set; } ...
ServiceStack.OrmLite/tests/ServiceStack.OrmLite.SqlServer.Tests/InsertParam_GetLastInsertId.cs
filipsky/ServiceStack
1
7049754
using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; using ServiceStack.DataAnnotations; using ServiceStack.OrmLite.Dapper; using ServiceStack.Text; namespace ServiceStack.OrmLite.SqlServerTests { public class InsertParam_GetLastInsertId : OrmLite...
Source/Ultraviolet.Presentation/Shared/MessageBoxModal.cs
Spool5520/ultraviolet
558
7049755
using System; using Ultraviolet.Core; using Ultraviolet.UI; namespace Ultraviolet.Presentation { /// <summary> /// Represents a factory method which constructs instances of the <see cref="UIScreen"/> class that implement the <see cref="MessageBox"/> modal. /// </summary> /// <param name="mb">The messa...
src/SKIT.FlurlHttpClient.ByteDance.OceanEngine/Models/Advertiser/Qualification/AdvertiserQualificationCreateV2Request.cs
lucio-c/DotNetCore.SKIT.FlurlHttpClient.ByteDance
11
7049756
using System; using System.Collections.Generic; namespace SKIT.FlurlHttpClient.ByteDance.OceanEngine.Models { /// <summary> /// <para>表示 [POST] /2/advertiser/qualification/create_v2 接口的请求。</para> /// </summary> public class AdvertiserQualificationCreateV2Request : OceanEngineRequest { publ...
Microsoft.Toolkit.Uwp.UI.Media/Geometry/Elements/Brush/RadialGradientBrushElement.cs
tt9133github/WindowsCommunityToolkit
1,970
7049757
<filename>Microsoft.Toolkit.Uwp.UI.Media/Geometry/Elements/Brush/RadialGradientBrushElement.cs // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using S...
src/NatureRecorder.Tests/UnitTests/LocationManagerTest.cs
davewalker5/NatureRecorderDb
0
7049758
<filename>src/NatureRecorder.Tests/UnitTests/LocationManagerTest.cs using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using NatureRecorder.BusinessLogic.Factory; using NatureRecorder.Data; using NatureRecorder.Entities.Db; using Microsoft.VisualStudio.TestTools.UnitTesting; using Natur...
Jeeves.Server/Challenges/Steps/WorkflowRunStep.cs
bogatovse/jeeves
0
7049759
<gh_stars>0 using YamlDotNet.Serialization; namespace Jeeves.Server.Challenges.Steps { public class WorkflowRunStep : IWorkflowStep { public string Name { get; set; } [YamlMember(Alias = "run")] public string Command { get; set; } [YamlMember(Alias = "with")] ...
Master40.XUnitTest/Zpp/Integration_Tests/TestProductionOrderOperationGraph.cs
LennertBerkhan/ng-erp-4.0
0
7049760
<reponame>LennertBerkhan/ng-erp-4.0 using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using Master40.DB.Data.Helper; using Master40.XUnitTest.Zpp.Configuration; using Xunit; using Zpp.Common.ProviderDomain.Wrappers; using Zpp.DbCache; using Zpp.Mrp; using Zpp.OrderGraph; namespac...
src/ListenNotesSearch.NET/Models/TypeaheadResponse.cs
rgomez90/ListenNotesSearch.NET
2
7049761
<gh_stars>1-10 using System.Collections.Generic; using System.Collections.ObjectModel; using Newtonsoft.Json; namespace ListenNotesSearch.NET.Models { public class TypeaheadResponse { /// <summary>Search term suggestions.</summary> [JsonProperty("terms", Required = Required.Always)] pu...
src/Lucene.Net.Core/Support/StringBuilderExtensions.cs
SeanKilleen/lucenenet
2
7049762
using System.Text; namespace Lucene.Net.Support { public static class StringBuilderExtensions { public static StringBuilder Reverse(this StringBuilder text) { if (text.Length > 1) { int pivotPos = text.Length / 2; for (int i = 0; i < pivo...
AntJob.Web/Areas/Ant/Views/AppOnline/_List_Data.generated.cs
Leigu-ideal-er/AntJob
1
7049763
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //--------------------------------------------------------------...
Editor/VEX/Modules/Core/VEX.Core.Shared/Model/Scene/Objects/SceneItem/TerrainModel.cs
devxkh/FrankE
11
7049764
#region License //The MIT License (MIT) //Copyright (c) 2014 <NAME> //Permission is hereby granted, free of charge, to any person obtaining a copy //of this software and associated documentation files (the "Software"), to deal //in the Software without restriction, including without limitation the rights //to use, ...
Logic/Class/AppBase.cs
HaoZhiYing/HzyAdmin-Core
1
7049765
using System; using System.Collections.Generic; using System.Text; namespace Logic.Class { using DbFrame.DbContext.SqlServer; using DbFrame.BaseClass; using System.Linq; using System.Reflection; using System.Collections; public class AppBase { public string ErrorMessage = "操作失败!";...
FineBot/FineBot.API/FinesApi/FineApi.cs
prinzo/Attack-Of-The-Fines-TA15
1
7049767
using System; using System.Collections.Generic; using System.Configuration; using System.Globalization; using System.Linq; using System.Net.Mail; using System.Threading.Tasks; using Castle.Core.Internal; using FineBot.Abstracts; using FineBot.API.ChannelApi; using FineBot.API.ChatApi; using FineBot.API.Extensions; usi...
ModBotBackend/ModBotBackend/Managers/BannedUsersManager.cs
X606/ModBotBackend
0
7049768
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using ModBotBackend; using ModBotBackend.Users; namespace ModBotBackend.Managers { [FolderName("Bans")] public class BannedUsersManager : OwnFo...
FerretEngine/src/Particles/ParticleAttributes/ParticleSize.cs
pacojq/Ferret
1
7049769
using FerretEngine.Utils; namespace FerretEngine.Particles.ParticleAttributes { public class ParticleSize { public static ParticleSize Fixed(float lifetime) { return new ParticleSize(lifetime, lifetime); } public static ParticleSize RandomRange(float min, float max)...
04. CSharp Conditional Statements and Loops - Exercises/12. Test Numbers/StartUp.cs
thelad43/Programming-Fundamentals-SoftUni
0
7049770
namespace _12.Test_Numbers { using System; public class StartUp { public static void Main() { var a = int.Parse(Console.ReadLine()); var b = int.Parse(Console.ReadLine()); var maximumSumBoundary = int.Parse(Console.ReadLine()); var sum = 0; ...
src/Taro/DefaultValuedDictionary.cs
mouhong/Taro
7
7049771
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Taro { class DefaultValuedDictionary<TKey, TValue> : IDictionary<TKey, TValue> { private Dictionary<TKey, TValue> _dic; public DefaultValuedDictionary() { ...
TheIdServer.Duende/src/TIS/Services/JSRuntime.cs
Aguafrommars/Templates
3
7049772
// Copyright (c) 2021 @<NAME>. All rights reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. using Microsoft.JSInterop; using System.Threading; using System.Threading.Tasks; namespace TIS.Services { public class JSRuntime : IJSRuntime { ...
ContactList/ContactList/Controllers/ContactListController.cs
htl-perg-2019-20-5ahif/contact-list-exercise-danipalli
0
7049773
<filename>ContactList/ContactList/Controllers/ContactListController.cs using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; using System.ComponentModel.DataAnnotations; namespace ContactList.Controllers { [ApiController] [Route("contacts")] public partial class ContactListController : Control...
OTAPI.Patcher.Engine/Extensions/Instruction/CecilHelpers.cs
kevzhao2/Open-Terraria-API
53
7049774
<gh_stars>10-100 using Mono.Cecil.Cil; using System; using System.Collections.Generic; namespace OTAPI.Patcher.Engine.Extensions { public static partial class CecilHelpers { public static Instruction Previous(this Instruction initial, Func<Instruction, Boolean> predicate) { while (...
Notifier.Server/Dto/ResponseModels/ResponseModel.cs
lampo1024/notifier
0
7049776
namespace Notifier.Server.Dto.ResponseModels { public class ResponseModel { public int Code { get; private set; } public bool Success { get; private set; } public string? Message { get; private set; } public object? Data { get; private set; } public void SetSuccess(strin...
TransitCity/WpfDrawing/Panel/PanelDrawingVisual.cs
gartenriese2/TransitCity
0
7049777
using System.Windows.Media; namespace WpfDrawing.Panel { public class PanelDrawingVisual : DrawingVisual { public PanelObject PanelObject { get; set; } } }
KntLibrary.SQLServerDAO/KntLibrary.SQLServerDAO/Interfaces/IParamCreation.cs
KentaYamada/KntLibrary.SQLServerDAO
1
7049778
<gh_stars>1-10 using System.Data; using System.Data.SqlClient; namespace KntLibrary.SQLServerDAO.Interfaces { public interface IParamCreation { void Add(string paramName, SqlDbType type, object value); void Add(string paramName, DataTable value); void Add<T>(T args) where T: class; void Clear(); ...
src/Orchard.Web/Modules/Provoke.Highlights/ViewModels/RelatedResourceViewModel.cs
ShuanWang/devoffice.com-shuanTestRepo
0
7049779
<filename>src/Orchard.Web/Modules/Provoke.Highlights/ViewModels/RelatedResourceViewModel.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using DevOffice.Common.Models; using Provoke.Highlights.Models; namespace Provoke.Highlights.ViewModels { public class RelatedResourceVie...
TuneViewer/Models/Base/BaseTable.cs
srenner/TuneViewer
0
7049780
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace TuneViewer.Models.Base { public abstract class BaseTable { public int Cols { get; set; } public int Rows { get; set; } public string Name { get; set; } public string Units...
ABP.WebApi/后端/src/ABP.WebApi.Migrator/WebApiMigratorModule.cs
gnsilence/AntdPro-Vue-id4
8
7049781
using Microsoft.Extensions.Configuration; using Castle.MicroKernel.Registration; using Abp.Events.Bus; using Abp.Modules; using Abp.Reflection.Extensions; using ABP.WebApi.Configuration; using ABP.WebApi.EntityFrameworkCore; using ABP.WebApi.Migrator.DependencyInjection; namespace ABP.WebApi.Migrator { [DependsOn(...
Assets/ThridParty/JamKit/Scripts/DontDestroyOnLoadUnique.cs
alelievr/Paint-Jam-2018
4
7049782
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; public class DontDestroyOnLoadUnique : MonoBehaviour { [HideInInspector] public bool destroyOnLoad = false; public static DontDestroyOnLoadUnique firstInstance; void Awake() { if (firstInstance !...
Assets/Scripts/EnemySpawn.cs
eatPorkAndSeePigRun/ShootingGame
0
7049783
using System.Collections; using System.Collections.Generic; using UnityEngine; [AddComponentMenu("MyGame/EnemySpawn")] public class EnemySpawn : MonoBehaviour { public Transform m_enemyPrefab; void Start() { StartCoroutine(SpawnEnemy()); } IEnumerator SpawnEnemy() { while (tr...
src/CommandCenter/Views/LandingPage/Success.cshtml
GoreMaria/Commercial-Marketplace-SaaS-Manual-On-Boarding
55
7049784
@{ ViewData["Title"] = "Success"; } <h1>Success</h1> Your request has been recorded. A member of the operations team will contact shortly.
PgpWordList.Test/PgpWordAggregationBitConverterTest.cs
messerli-informatik-ag/pgp-word-list
0
7049785
using Xunit; using static Messerli.PgpWordList.PgpWordAggregationBitConverter; namespace Messerli.PgpWordList.Test { public class PgpWordAggregationBitConverterTest { [Theory] [MemberData(nameof(GetInt16TestData))] public void Int16ToPgpWordAccumulationMatchesPgpWordAccumulationBuilder...
ServiceProvider/DataMapper/Implementation/EFSubscriptionTypeFactory.cs
abogeorge/ServiceProvider-ASSE
0
7049786
using DataMapper.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using DomainModel; using DataMapper.Exceptions; namespace DataMapper.Implementation { class EFSubscriptionTypeFactory : ISubscriptionTypeFactory { public voi...
src/Mailman.Services/Google/ISheetsService.cs
dchenier/Mailman
5
7049787
<reponame>dchenier/Mailman using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; namespace Mailman.Services.Google { // because of the Dependency Inversion Principle (https://en.wikipedia.org/wiki/Dependency_inversion_principle) // we decouple Google services from ou...
src/Firewatch/Basis/HazardClass.cs
gloriosus/Firewatch
0
7049788
<reponame>gloriosus/Firewatch using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Firewatch { public class HazardClass { public int Min { get; private set; } public int Max { get; private set; } public string Color { get; private...
src/ErpSerwis.WpfApp/ViewCommandProvider/StudentsGridDataCommandAddGradeProvider.cs
paulpiotr/ErpSerwis
0
7049789
using System; using System.Collections.Generic; using System.Threading.Tasks; using System.Windows; using System.Windows.Input; using ErpSerwis.Core.Models; using ErpSerwis.Core.Repository; using Telerik.Windows.Controls; namespace ErpSerwis.WpfApp.ViewCommandProvider { public class StudentsGridDataCommandAddGrade...
src/MassTransit/Configuration/Configuration/Partition/PartitionConsumerSpecification.cs
kjrobrien/MassTransit
1
7049790
<filename>src/MassTransit/Configuration/Configuration/Partition/PartitionConsumerSpecification.cs<gh_stars>1-10 namespace MassTransit.Configuration { using System; using System.Collections.Generic; using Middleware; public class PartitionConsumerSpecification<TConsumer> : IPipeSpecification<Co...
LightConversion.Hardware.Ftdi/Code/Class.MpsseWrapper/Enum.TransferOptions.cs
light-conversion/LightConversion.Hardware.Ftdi
1
7049791
<reponame>light-conversion/LightConversion.Hardware.Ftdi // Copyright 2019 Light Conversion, UAB // Licensed under the Apache 2.0, see LICENSE.md for more details. using System; namespace LightConversion.Hardware.Ftdi { [Flags] public enum TransferOptions { // transferOptions-Bit0: If this bi...
Rosetta.WinForms/MainForm.Designer.cs
talbottmike/TransformR
0
7049792
<gh_stars>0 namespace Rosetta.WinForms { partial class MainForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param name="disposing">true if managed r...
Assets/1-CPU_Boids/Shaker.cs
fingerx/Unity-GPU-Boids
288
7049793
<reponame>fingerx/Unity-GPU-Boids<gh_stars>100-1000 using UnityEngine; using System.Collections; [System.Serializable] public class Shaker { #region Public attributes public float frequency = 0.1f; public float amount = 1.0f; public int octave = 3; #endregion #region Private variables ...
CsharpNunitKoans/K110_AboutGenerics.cs
tux240/CsharpNunitKoans
3
7049794
using NUnit.Framework; namespace TheKoans { [TestFixture] public class K110_AboutGenerics : KoanHelper { public interface Animal { } public class Dog : Animal { } public class Cat : Animal { } public class Robot { } public class SayHello<TAnimal> { public string HelloMessage () ...
lrcmeteer/caculateCf.cs
linncy/TesterAutomation-CVCf
0
7049795
<reponame>linncy/TesterAutomation-CVCf<gh_stars>0 using System; using System.Windows.Forms; using System.Data; using Ivi.Visa; using Ivi.Visa.FormattedIO; using LogRecord; using System.IO; namespace lrcmeteer { public partial class Form1 : Form { private bool caculateCf(DataTable datatable, DataGridVi...
src/Command/Session/SessionMemento.cs
astral-keks/powershell-workbench
1
7049796
<gh_stars>1-10 using System; namespace AstralKeks.Workbench.Command { internal class SessionMemento { private static readonly object _lock = new object(); private static SessionMemento _saved; public static void Save(SessionMemento memento) { if (memento...
src/prod/src/managed/Api/src/System/Fabric/ReconfigurationInformation.cs
gridgentoo/ServiceFabricAzure
2,542
7049797
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ namespace System.Fabric { ...
Renshaw.Commom/Utils/SyncUtils.cs
RockyDong/RenshawGame
0
7049798
<filename>Renshaw.Commom/Utils/SyncUtils.cs using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using ServiceStack.OrmLite; namespace Renshaw.Commom { public static class SyncUtils { public static void SyncRedis(string k...
03.CSharpDev/01.Advanced/05.Strems-Exercise/05.SlicingFile/SlicingFile.cs
Steffkn/SoftUni
1
7049799
using System; using System.Collections.Generic; using System.IO; using System.Linq; public class SlicingFile { public static void Main() { string sourceFileName = "../Resources/sliceMe.mp4"; string destinationDirectory = "SliceAndDice"; Console.Write("Enter how many parts should it be ...
src/Eventual/IEventApplicator.cs
daniellittledev/Eventual
2
7049800
<reponame>daniellittledev/Eventual using Eventual.Domain; using Eventual.MessageContracts; namespace Eventual { public interface IEventApplicator { T ApplyEvent<T>(T aggregate, object @event) where T : class, IAggregateRoot; } }
DataTool/SaveLogic/Model.cs
Mike111177/OWLib
1
7049801
using System.Collections.Generic; using System.IO; using System.Linq; using TankLib; using TankLib.ExportFormats; namespace DataTool.SaveLogic { public static class Model { public class OverwatchModelLook : IExportFormat { public string Extension => "owmat"; protected FindLogic.Co...
EndlessClient/Rendering/Character/ICharacterTextures.cs
Septharoth/EndlessClient
31
7049802
<reponame>Septharoth/EndlessClient using EndlessClient.Rendering.Sprites; using EOLib.Domain.Character; using Microsoft.Xna.Framework.Graphics; namespace EndlessClient.Rendering.Character { public interface ICharacterTextures { ISpriteSheet Boots { get; } ISpriteSheet Armor { get; } IS...
src/PackSite.Library.Modeling.Querying.Abstractions/UnitOfWork/ITransactionScope.cs
PackSite/Library.Modeling
0
7049803
<reponame>PackSite/Library.Modeling namespace PackSite.Library.Modeling.Querying.UnitOfWork { using System; using System.Threading; using System.Threading.Tasks; /// <summary> /// Represents a generic databse transaction. /// </summary> public interface ITransactionScope : IAsyncDisposable...
ToDoListMaterialDesign.Core/Models/Entities/Setting.cs
kan-ichi/ToDoListMaterialDesign
7
7049804
using System; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace ToDoListMaterialDesign.Models.Entities { [Serializable] [Table("m_Setting")] public class Setting { [Key] [Required] public string SettingId { set; get; } ...
client_packages/cs_packages/redrp_client/UI/InventoryInterfaceController.cs
AdriaAlberich/RedRP
0
7049805
/** * RedRP Gamemode * * Author: Atunero (<EMAIL>) * Copyright(c) Atunero (MIT License) */ using System; using System.Collections.Generic; using System.Drawing; using RAGE; using RAGE.Elements; namespace redrp { /// <summary> /// InventoryInterfaceController /// </summary> public class In...
Source/Miruken.Http/Put/PutRequest.cs
Miruken-DotNet/miruken
6
7049807
namespace Miruken.Http.Put { public class PutRequest<TPut, TResource> : ResourceRequest<TPut, PutResponse<TResource>> { public PutRequest() { } public PutRequest(TPut request) : base(request) { } } public class PutResponse<TResource> : Resource...
Assets/MoralisWeb3ApiSdk/Moralis/Moralis.WebGL/MoralisDotNet/Platform/Abstractions/ICloudFunctionService.cs
jackalstar/Blockchain-game
252
7049808
<filename>Assets/MoralisWeb3ApiSdk/Moralis/Moralis.WebGL/MoralisDotNet/Platform/Abstractions/ICloudFunctionService.cs<gh_stars>100-1000 using System.Collections.Generic; using System.Threading; using Cysharp.Threading.Tasks; namespace Moralis.WebGL.Platform.Abstractions { public interface ICloudFunctionService ...
src/Sentiment/Wikiled.Sentiment.Text/Aspects/AspectContext.cs
keistokas/Wikiled.Sentiment
8
7049809
<reponame>keistokas/Wikiled.Sentiment<filename>src/Sentiment/Wikiled.Sentiment.Text/Aspects/AspectContext.cs using System.Collections.Concurrent; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Wikiled.Common.Logging; using Wikiled.Sentiment.Text.Async; using W...
PizzaBoxService/PizzaBox.Testing/Tests/OrderTests.cs
210329-UTA-SH-UiPath/P1_Sean_Lee
0
7049810
<reponame>210329-UTA-SH-UiPath/P1_Sean_Lee using PizzaBox.Domain.Models; using System; using Xunit; namespace PizzaBox.Testing.Tests { public class OrderTests { static DateTime now = DateTime.Now; CustOrder c = new CustOrder { Id = 1, PurchaseDate = now, ...