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/ConsoleAppFramework/IConsoleAppInterceptor.cs
epsilonGtMyon/ConsoleAppFramework
0
7044033
<reponame>epsilonGtMyon/ConsoleAppFramework using Microsoft.Extensions.Logging; using System; using System.Threading.Tasks; namespace ConsoleAppFramework { public interface IConsoleAppInterceptor { /// <summary> /// Called once when ConsoleAppFramework is stareted. /// </summary> ...
GraphControl.Core/Presenters/ScalingSelectionPresenter.cs
serge4k/GraphControl
0
7044034
using System.Drawing; using GraphControl.Core.Definitions; using GraphControl.Core.Events; using GraphControl.Core.Interfaces.Presenters; using GraphControl.Core.Interfaces.Services; using GraphControl.Core.Interfaces.Models; using GraphControl.Core.Interfaces.Views; using GraphControl.Core.Interfaces; using GraphCont...
Assets/Scripts/UI_Script/HeartsHealthVisual.cs
tcarausu/Game-Project---6th-Semester
0
7044035
<filename>Assets/Scripts/UI_Script/HeartsHealthVisual.cs<gh_stars>0 using System; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; //https://www.youtube.com/watch?v=xWCJfE_sAXE zelda hearts public class HeartsHealthVisual : MonoBeh...
src/Microsoft.Framework.Runtime.Caching/NamedCacheDependency.cs
Tragetaschen/XRE
0
7044036
<filename>src/Microsoft.Framework.Runtime.Caching/NamedCacheDependency.cs namespace Microsoft.Framework.Runtime.Caching { public class NamedCacheDependency : ICacheDependency { private readonly string _name; private bool _hasChanged; public NamedCacheDependency(string name) { ...
Taarafo.Portal.Web/Models/Groups/Exceptions/GroupDependencyException.cs
cacti79/Taarafo.Web
0
7044037
<filename>Taarafo.Portal.Web/Models/Groups/Exceptions/GroupDependencyException.cs // --------------------------------------------------------------- // Copyright (c) Coalition of the Good-Hearted Engineers // FREE TO USE TO CONNECT THE WORLD // --------------------------------------------------------------- using Xep...
Backend/src/Data/Repositories/NotificationRepository.cs
grroma/mems
0
7044038
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using AutoMapper; using Core.Entities; using Core.Enums; using Core.Exceptions; using Core.Interfaces; namespace Data.Repositories { public class NotificationRepository : INotificationRepository { private r...
ELearning.Persistence/Configurations/SectionConfiguration.cs
MKafar/ELearning
6
7044039
<reponame>MKafar/ELearning<gh_stars>1-10 using ELearning.Domain.Entities; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace ELearning.Persistence.Configurations { public class SectionConfiguration : IEntityTypeConfiguration<Section> { public void Con...
UnitTestProject/TestsBinary.cs
JashanChittesh/osu-database-reader
0
7044040
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using osu_database_reader.BinaryFiles; using osu_database_reader.Components.Player; using Xunit; namespace UnitTestProject { public class TestsBinary { public TestsBinary() { ...
src/MarginTrading.AssetService.Contracts/LegacyAsset/Underlying.cs
lykkecloud/MarginTrading.AssetService
0
7044042
<gh_stars>0 // Copyright (c) 2019 <NAME>. // See the LICENSE file in the project root for more information. using System; using System.Collections.Generic; using System.Linq; using Newtonsoft.Json; namespace MarginTrading.AssetService.Contracts.LegacyAsset { [Serializable] public class Underlying { ...
Oguz/Controllers/BrandsController.cs
Yurkeks/Oguz
0
7044043
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.EntityFrameworkCore; using Oguz.Data; using Oguz.Models; namespace Oguz.Controllers { public class BrandsController : Controlle...
src/SqlModeller/Compiler/QueryParameterManagers/NoQueryParameterManager.cs
jmenziessmith/SqlModdler
0
7044045
<filename>src/SqlModeller/Compiler/QueryParameterManagers/NoQueryParameterManager.cs<gh_stars>0 using System.Data; using SqlModeller.Interfaces; namespace SqlModeller.Compiler.QueryParameterManagers { public class NoQueryParameterManager : IQueryParameterManager { public string Parame...
ScriptDevelopmentTool/Infosys.ATR.WFDesigner/ModuleController.cs
Infosys/Script-Control-Center
0
7044046
<gh_stars>0 /**************************************************************** Copyright 2021 Infosys Ltd. Use of this source code is governed by Apache License Version 2.0 that can be found in the LICENSE file or at http://www.apache.org/licenses/ ***************************************************************/ usi...
R200 emulator/src/UI/MainForm.cs
atsidaev/R200
1
7044047
<filename>R200 emulator/src/UI/MainForm.cs 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 remu { public partial class MainForm : Form ...
src/StructLinq/Range/RangeEnumerable.cs
SpriteMaster-Ext/StructLinq
212
7044048
<filename>src/StructLinq/Range/RangeEnumerable.cs using System.Runtime.CompilerServices; using StructLinq.Utils; namespace StructLinq.Range { public struct RangeEnumerable : IStructCollection<int, RangeEnumerator> { #region private fields private int start; private int count; #...
UsbWriteProtectService/UsbDevice.cs
nerodark/USB-WriteProtect
0
7044049
using System; namespace UsbWriteProtectService { class UsbDevice { public string Caption { get; set; } public string VendorId { get; set; } public string ProductId { get; set; } public string SerialNumber { get; set; } public override string ToString() { ...
test/Elastic.Apm.Tests.Utilities/TestEnvironment.cs
xiaozhidev/apm-agent-dotnet
512
7044050
// Licensed to Elasticsearch B.V under // one or more agreements. // Elasticsearch B.V licenses this file to you under the Apache 2.0 License. // See the LICENSE file in the project root for more information using System; using System.Runtime.InteropServices; namespace Elastic.Apm.Tests.Utilities { public ...
src/Foundation/Abstractions/code/Services/SitecoreDataService.cs
jaydipkotadiya1605/Code
1
7044051
<filename>src/Foundation/Abstractions/code/Services/SitecoreDataService.cs<gh_stars>1-10 namespace Sitecore.Foundation.Abstractions.Services { using Data; using Data.Items; using System; using DependencyInjection; using SitecoreContext; [Service(typeof(ISitecoreDataService))] public class ...
CallAladdin/CallAladdin/EventArgs/ObserverEventArgs.cs
Wallffiti/callaladdin
0
7044053
<filename>CallAladdin/CallAladdin/EventArgs/ObserverEventArgs.cs using System; using System.Collections.Generic; using System.Text; namespace CallAladdin.EventArgs { public class ObserverEventArgs : System.EventArgs { public string EventName { get; set; } public string EventType { get; set; } ...
IT-Career-V4/M05-OOP/Exam Preparation/Headhunt/Headhunt/Core/Engine.cs
aalishov/School
2
7044054
using Headhunt.Core.Contracts; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Headhunt.Core { class Engine : IEngine { public void Run() { JobController controller = new JobController(); strin...
Assets/MeshGenerator.cs
oalpar/WallClimber
0
7044055
<gh_stars>0 using System.Collections; using System.Collections.Generic; using UnityEngine; [RequireComponent(typeof(MeshFilter))] public class MeshGenerator : MonoBehaviour { class Voxel { Voxel() { material = 0; x = 0; y = 0; z = 0; } pub...
3.Lectures/IoC/DependencyInjectionInAspNetCore/Ch02/LifecycleDI/Middleware/CustomMiddleware.cs
hhko/Books
1
7044056
<filename>3.Lectures/IoC/DependencyInjectionInAspNetCore/Ch02/LifecycleDI/Middleware/CustomMiddleware.cs using Ch02.LifecycleDI.Services; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Ch02...
Editor/Scripts/Styles.cs
AndyYudkin/tuningfork
30
7044057
<filename>Editor/Scripts/Styles.cs //----------------------------------------------------------------------- // <copyright file="Styles.cs" company="Google"> // // Copyright 2020 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in...
src/ResourceManagement/StorSimple/Generated/Models/MetricNameFilter.cs
abharath27/azure-libraries-for-net
0
7044058
<filename>src/ResourceManagement/StorSimple/Generated/Models/MetricNameFilter.cs<gh_stars>0 // <auto-generated> // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. // // Code generated by Microsoft (R) AutoRest C...
C# OOP/Extension-Methods-Delegates-Lambda-LINQ/08.Events/MainClass.cs
BiserSirakov/TelerikAcademyHomeworks
2
7044059
//Read in MSDN about the keyword event in C# and how to publish events. //Re-implement the above using .NET events and following the best practices. namespace _08.Events { using System; class MainClass { public delegate void EventHandler(object sender, EventArgs e); static void Main() ...
SessionTracker/Components/DayPanel.cs
countadates/.netSessionTracker
1
7044060
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using SessionTracker.lib; using SessionTracker.Dialogs; namespace SessionTracker.Components { public...
src/Atlasd/Battlenet/AccountKeyValue.cs
OneMeanDragon/Atlas
13
7044061
namespace Atlasd.Battlenet { class AccountKeyValue { public enum ReadLevel { Any, Owner, Internal, }; public enum WriteLevel { Any, Owner, Internal, ReadOnly, }; ...
Engine/Q2Strategy.cs
kamilkozinski/GameC
1
7044062
<reponame>kamilkozinski/GameC<filename>Engine/Q2Strategy.cs using Game.Engine.Monsters; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Game.Engine { class Q2Strategy : IBattleStrategy { private int q2; public void ...
Assets/AsteroidGenerator.cs
dirty-casuals/LD38-A-Small-World
1
7044063
using UnityEngine; public class AsteroidGenerator : MonoBehaviour { [SerializeField] private Planet asteroidPrefab; [SerializeField] int minAsteroids = 1; [SerializeField] int maxAsteroids = 3; [SerializeField] float minAsteroidRadius = 1; [SerializeField] float maxAsteroi...
OtherSolution/Server/Server/TouHouHub.cs
red-gezi/TouhouMachineLearning2022
2
7044064
<reponame>red-gezi/TouhouMachineLearning2022  using Server; using MongoDB.Bson; using Microsoft.AspNetCore.SignalR; using System.Threading.Channels; public class TouHouHub : Hub { public override Task OnConnectedAsync() { Console.WriteLine("一个用户登录了" + Context.ConnectionId); return base.OnConne...
src/managed/OpenLiveWriter.Interop.Mshtml/mshtml/IHTMLEditDesigner.cs
palzj/OpenLiveWriter
2,766
7044065
namespace mshtml { using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [ComImport, Guid("3050F662-98B5-11CF-BB82-00AA00BDCE0B"), InterfaceType((short) 1)] public interface IHTMLEditDesigner { [MethodImpl(MethodImplOptions.InternalCall, MethodCodeTy...
MarkdownMvc/Controllers/Base/BaseController.cs
Richardjohn-dev/Markdown-Mvc-Test
0
7044066
using MarkdownMvc.Models.ViewModels.Base; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MarkdownMvc.Controllers.Base { public class BaseController : Controller ...
Orbitality/Assets/Scripts/Generated/GameSettings/Components/GameSettingsPlanetsAmountComponent.cs
thenitro/orbitality
0
7044067
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by Entitas.CodeGeneration.Plugins.ComponentContextApiGenerator. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-ge...
src/SharpLearning.Metrics/Classification/ClassificationMatrixStringConverter.cs
Thecentury/SharpLearning
1
7044068
<reponame>Thecentury/SharpLearning<gh_stars>1-10 using System.Collections.Generic; using System.Linq; using System.Text; namespace SharpLearning.Metrics.Classification { /// <summary> /// /// </summary> public static class ClassificationMatrixStringConverter { /// <summary> /// C...
src/Din.Domain.Queries/Accounts/GetAccountQueryHandler.cs
D4N3-777/din-api
1
7044069
using System.Threading; using System.Threading.Tasks; using Din.Domain.Models.Entities; using Din.Infrastructure.DataAccess.Repositories.Interfaces; using MediatR; namespace Din.Domain.Queries.Accounts { public class GetAccountQueryHandler : IRequestHandler<GetAccountQuery, Account> { private readonly...
Common/Core/Helpers/PathHelper.cs
mvondracek/NetfoxDetective
35
7044070
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Netfox.Core.Helpers { public static class PathHelper { public static string CombineLongPath(string path1, string path2) { return Path.Combine($@"\\?\{path1}",p...
QSOrmProject/DomainMapping/ISearchProvider.cs
opopve/QSProjects
5
7044071
<filename>QSOrmProject/DomainMapping/ISearchProvider.cs using System; using System.Collections; namespace QSOrmProject.DomainMapping { public interface ISearchProvider { bool Match(object entity, string searchText); IList FilterList(IList sourcelist, string searchText); } }
Dnn.AdminExperience/Dnn.PersonaBar.Extensions/Components/Servers/DatabaseServer/BackupInfo.cs
MaiklT/Dnn.Platform
1
7044072
// 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; namespace Dnn.PersonaBar.Servers.Components.DatabaseServer { public class BackupInfo { ...
TCPServer.cs
BaezCrdrmUV/tcp-basico-SammyGCh
0
7044073
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Sockets; using System.Text; using System.Threading; using Newtonsoft.Json; namespace tcp_com { public class TCPServer { public TcpListener listener { get; set; } public bool acceptFlag { get; s...
BlueCardExporter/Models/ViewModels/MeritBadgeCounselorViewModel.cs
jonliew/Merit-Badge-Blue-Card-Exporter
0
7044075
namespace BlueCardExporter.Models.ViewModels { public class MeritBadgeCounselorViewModel : MeritBadgeCounselor { public MeritBadgeCounselorViewModel(MeritBadgeCounselor meritBadgeCounselor, MeritBadgeDataHelperModel data) { CounselorId = meritBadgeCounselor.CounselorId; ...
website/DotVVM.Utils.AspxConverter/DotVVM.Utils.AspxConverter/Parser/Tokens/AttributeValueToken.cs
riganti/dotvvm-webforms
1
7044076
<filename>website/DotVVM.Utils.AspxConverter/DotVVM.Utils.AspxConverter/Parser/Tokens/AttributeValueToken.cs using System; using System.Collections.Generic; using System.Linq; namespace DotVVM.Utils.AspxConverter.Parser.Tokens { public abstract class AttributeValueToken : AspxToken { public AttributeV...
BinTree/Program.cs
cleverswine/InterviewQuestions
0
7044077
<gh_stars>0 using System; namespace BinTree { class Program { static void Main(string[] args) { var node = new Leaf("root"); Tree.BuildTree(node, 10); Tree.WalkTree(node); Console.Read(); } } }
Engine.Test/Maze/GridTests.cs
just-another-npc/DungeonGenerator
0
7044078
<gh_stars>0 using Engine.Maze; using NUnit.Framework; using System.Linq; namespace Engine.Test.Maze { public class GridTests { [Test] public void GridCtorTests() { var g = new Grid(5, 5); Assert.AreEqual(25, g.Cells.Length); } [Test] ...
Nishkriya/Models/ViewModels/ThreadViewModel.cs
Tzarnal/Nishkriya
0
7044079
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace Nishkriya.Models.ViewModels { public class ThreadViewModel { public int Id { get; set; } public int ThreadId { get; set; } public string Title { get; set; } public List<PostViewModel>...
DotNetBungieAPI/Models/Tags/TagResponse.cs
EndGameGl/.NetBungieAPI
25
7044080
<filename>DotNetBungieAPI/Models/Tags/TagResponse.cs using DotNetBungieAPI.Models.Ignores; namespace DotNetBungieAPI.Models.Tags; public sealed record TagResponse { [JsonPropertyName("tagText")] public string TagText { get; init; } [JsonPropertyName("ignoreStatus")] public IgnoreResponse IgnoreStatus { get;...
src/FirLib.Core/Patterns/PropertyChangedBase.cs
RolandKoenig/FirLib
7
7044081
<filename>src/FirLib.Core/Patterns/PropertyChangedBase.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Runtime.CompilerServices; using System.Text; namespace FirLib.Core.Patterns { public class PropertyChangedBase : INotifyPropertyChanged { private List<Wea...
Code/SimpleBudget.Data/StoreHelper.cs
Aleksey-Terzi/SimpleBudget
0
7044082
using System.Data.Entity; namespace SimpleBudget.Data { public abstract class StoreHelper<TEntity> where TEntity: class { public void Insert(TEntity entity) { using (var db = new BudgetDbContext()) { db.Entry(entity).State = EntityState.Added; ...
WalletWasabi.Backend/Controllers/HomeController.cs
soosr/WalletWasabi
1,517
7044083
<gh_stars>1000+ using Microsoft.AspNetCore.Mvc; namespace WalletWasabi.Backend.Controllers { [Route("")] public class HomeController : ControllerBase { [HttpGet("")] public IActionResult Index() { string host = HttpContext.Request.Host.Host; VirtualFileResult response = !string.IsNullOrWhiteSpace(host)...
Assets/InternalAssets/Scripts/MemoryCard.cs
RimuruDev/Game-Memory
0
7044084
<filename>Assets/InternalAssets/Scripts/MemoryCard.cs using UnityEngine; /// <summary> /// Карта для иры на память. /// </summary> public class MemoryCard : MonoBehaviour { [Space] [SerializeField] private SceneController controller; [Space]// Задняя часть карты. [SerializeField] private GameObject c...
Assets/Scripts/ResourceSlider.cs
ShumWengSang/WorkLifeJamRepo
0
7044085
<reponame>ShumWengSang/WorkLifeJamRepo using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; /// <summary> /// Extension of slider that modifies a resource. /// </summary> [RequireComponent(typeof(Slider))] public abstract class ResourceSlider : MonoBehaviour { protec...
mcs/tests/test-245.cs
nataren/mono
1
7044086
public class Class2 { private AliasDefOperations __delegate; public string def_kind { get { return __delegate.def_kind; } } static void Main () { } } public interface AliasDefOperations : ContainedOperations, IDLTypeOperations { } public interface ContainedOperations : IRObjectOperations { } public ...
MainForm.cs
jgvicke/ZedGraph_SineWave
0
7044087
<filename>MainForm.cs<gh_stars>0 using System; using System.Drawing; using System.Windows.Forms; using ZedGraph; namespace SineWave { public static class ZedGraphExtensions { public static bool IsRising(this IPointList points) { if (points.Count < 2) return false; ...
src/MarginTrading.TradingHistory.SqlRepositories/Entities/OrderHistoryWithAdditionalEntity.cs
LykkeBusiness/MarginTrading.TradingHistory
1
7044089
<reponame>LykkeBusiness/MarginTrading.TradingHistory // Copyright (c) 2019 Lykke Corp. // See the LICENSE file in the project root for more information. using System.Collections.Generic; using System.Linq; using Common; using JetBrains.Annotations; using MarginTrading.TradingHistory.Core.Domain; namespace MarginTrad...
source/Tarro/Tarro/AppWatcher.cs
danryd/MicroServer
0
7044090
using System; using System.IO; using System.Diagnostics; using System.Timers; using Tarro.Logging; namespace Tarro { internal class AppWatcher : IDisposable { private readonly FileSystemWatcher watcher; private readonly ILog log = LogFactory.GetLogger<AppWatcher>(); private readonly T...
Source/ApplicationModel/Tooling/Templates/templates/aspnet/Read/AccountHolders/AccountHolderProjection.cs
cratis/cratis
4
7044091
<filename>Source/ApplicationModel/Tooling/Templates/templates/aspnet/Read/AccountHolders/AccountHolderProjection.cs // Copyright (c) <NAME>. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Events.AccountHolders; namespace Read.AccountHol...
MLBot/MLBot_Common/Enums/ConstEnum.cs
jiaguoxinzhi/MLBot
6
7044092
<filename>MLBot/MLBot_Common/Enums/ConstEnum.cs  using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MLBot.Enums { /// <summary> /// 常数及枚举处理 /// Linyee 2018-11-02 /// </summary> public class Con...
MySQLTests/MySQLTest.cs
Ginger-Automation/Ginger-MySQL-Plugin
0
7044093
<filename>MySQLTests/MySQLTest.cs #region License /* Copyright © 2014-2019 European Support Limited 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 Unle...
quickinventory/ViewModels/CreateOrEditItemTypeViewModel.cs
iggywarhol/QuickInventory
0
7044094
<filename>quickinventory/ViewModels/CreateOrEditItemTypeViewModel.cs using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Windows.Input; // using Newtonsoft.Json; // using SimpleInventory.Interfaces; using SimpleInventory.Models; // using BadBetaSoftware.Quick.Common.Helpe...
NaughtyAttributes/Editor/PropertyDrawers/PropertyDrawer.cs
tertle/com.bovinelabs.naughtyattributes
9
7044095
<reponame>tertle/com.bovinelabs.naughtyattributes namespace BovineLabs.NaughtyAttributes.Editor.PropertyDrawers { using BovineLabs.NaughtyAttributes.Editor.Utility; using BovineLabs.NaughtyAttributes.Editor.Wrappers; using UnityEngine.Assertions; public abstract class PropertyDrawer : ValueRunner ...
C# Fundamentals/OOP Advanced/Iterators and Comparators/PetClinics/Clinic.cs
spiderbait90/Step-By-Step-In-C-Sharp
0
7044096
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; public class Clinic { private Pet[] rooms; private string name; public Clinic(string name, Pet[] rooms) { Name = name; Rooms = rooms; } publ...
OpenMetaverse/DirectoryManager.cs
jhs/libopenmetaverse
6
7044097
/* * Copyright (c) 2006-2008, openmetaverse.org * 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 notice, this * li...
src/Veldrid/OpenGL/OpenGLResourceLayout.cs
Scellow/veldrid
1
7044098
namespace Veldrid.OpenGL { internal class OpenGLResourceLayout : ResourceLayout { public ResourceLayoutElementDescription[] Elements { get; } public override string Name { get; set; } public OpenGLResourceLayout(ref ResourceLayoutDescription description) : base(ref descrip...
Program.cs
metaboss/hydroseed
17
7044099
using System; using System.IO; using System.Net; using System.Collections.Generic; namespace hydroseed { class Program { static void Main(string[] args) { SeedDB seedDB = new SeedDB(); List<SeedDB> dbs = new List<SeedDB>(); if(File.Exists("hyd...
ActressMas Examples/Concurrent Examples/C02 BDI Architecture/PatrolAgent.cs
dimven/ActressMas
19
7044100
/************************************************************************** * * * Website: https://github.com/florinleon/ActressMas * * Description: The BDI architecture using the ActressMas framework * * Copyright: ...
Entia.Core/Extensions/DictionaryExtensions.cs
outerminds/Entia
27
7044101
<reponame>outerminds/Entia using System; using System.Collections.Generic; namespace Entia.Core { public static class DictionaryExtensions { public static bool Set<TKey, TValue>(this Dictionary<TKey, TValue> dictionary, in TKey key, in TValue value) { var has = dictionary.ContainsK...
src/StoryTeller/Model/IFixtureNode.cs
mtscout6/StoryTeller2
1
7044102
<gh_stars>1-10 using System; using System.Collections.Generic; using FubuCore; using StoryTeller.Domain; namespace StoryTeller.Model { [Serializable] public class GrammarError { public IFixtureNode Node { get; set; } public string Message { get; set; } public string Erro...
Assets/Scripts/Character/Damage.cs
kuroshum/Kokuyokan
0
7044103
using System.Collections; using System.Collections.Generic; using UnityEngine; public class Damage : MonoBehaviour { /* * 攻撃を受けた際のプレイヤーの座標 */ private Vector3 FirstCharacterPos; /* * 座標管理のスクリプト */ private CoordinateManage cm; /* * 攻撃を受けた時の敵の方角 */ private int Ax...
Assets/Imported/Scripts/Debugging/InvisibleObjectDrawer.cs
JGaines7/NodeShunt
0
7044104
<reponame>JGaines7/NodeShunt /// <summary> /// InvisibleObjectDrawer v1.0.0 by <NAME>, <EMAIL> /// /// Script to show a GameObject's position ingame. /// Meant to be used on objects that are have no meshrender. /// </summary> using UnityEngine; namespace Unitilities.Debugging { /// <summary> /// Script th...
PowerPoint2010Control/PowerPointHandler.cs
becker-portilla/KinectPowerPoint2013Addin
0
7044105
<reponame>becker-portilla/KinectPowerPoint2013Addin using System; using System.Collections.Generic; using System.Linq; using System.Text; // add PowerPoint namespace using PPt = Microsoft.Office.Interop.PowerPoint; using System.Runtime.InteropServices; using ControlCommon; namespace PowerPoint2010Control { publi...
Src/Melville.Pdf.LowLevel/Parsing/ParserContext/RentedStream.cs
DrJohnMelville/Pdf
0
7044106
using System; using System.Buffers; using System.IO; using System.Threading; using System.Threading.Tasks; using Melville.INPC; namespace Melville.Pdf.LowLevel.Parsing.ParserContext; public partial class ParsingFileOwner { public partial class RentedStream : Stream { [DelegateTo()] private re...
src/Comformation/Generated/EC2/ClientVpnEndpoint/ClientVpnEndpointResource.cs
stanb/Comformation
17
7044107
<reponame>stanb/Comformation<filename>src/Comformation/Generated/EC2/ClientVpnEndpoint/ClientVpnEndpointResource.cs<gh_stars>10-100 using System; using System.Collections.Generic; using Comformation.IntrinsicFunctions; namespace Comformation.EC2.ClientVpnEndpoint { /// <summary> /// AWS::EC2::ClientVpnEndpoint...
src/ScoopBox/Enums/SandboxEnums.cs
hasan-hasanov/ScoopBox
15
7044108
namespace ScoopBox { public enum VGpuOptions { Enabled, Disabled } public enum ReadOnlyOptions { True, False } public enum NetworkingOptions { Disable, Default } public enum AudioInputOptions { Enable, Disabl...
src/Ultz.Oppy/Content/Injection/Needle.cs
Ultz/Oppy
1
7044109
// This file is part of Oppy. // // You may modify and distribute Oppy under the terms // of the MIT license. See the LICENSE file for details. using System; using System.Linq; using System.Reflection; using System.Text.Json; using BlushingPenguin.JsonPath; using Microsoft.Extensions.Logging; using Ultz.Oppy.Core; ...
ChromeDevTools/Protocol/Chrome/Browser/SetDockTileCommandResponse.cs
rollrat/custom-crawler
38
7044110
<gh_stars>10-100 using MasterDevs.ChromeDevTools; using Newtonsoft.Json; using System; using System.Collections.Generic; namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Browser { /// <summary> /// Set dock tile details, platform-specific. /// </summary> [CommandResponse(ProtocolName.Browser.SetDockTile)] [Sup...
src/NetCore2Blockly/TestBlocklyHtml/VisualizeDot.cs
hnguyenec/NETCoreBlockly
139
7044111
using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Routing; using Microsoft.AspNetCore.Routing.Internal; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; namespace TestBlocklyHtml { public static class Do...
Pages/Partials/_ForumPostComponent.cshtml
pippinmole/Illusive
8
7044112
<reponame>pippinmole/Illusive<gh_stars>1-10 @using global::Illusive.Utility @using Humanizer @using global::Illusive.Illusive.Core.User_Management.Interfaces @model global::Illusive.Models.ForumData @inject IAppUserManager UserManager @{ var forum = this.Model; var forumOwner = await UserManager.GetUserByIdAs...
src/Editor/Text/Util/TextDataUtil/WhitespaceExtensions.cs
thassin/vs-editor-api
77
7044113
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Microsoft.VisualStudio.Text.Data.Utilities { internal static class WhitespaceExtensions { public const string CRLF_LITERAL = "\r\n"; public const string CR_LITERAL = "\...
Unity/Assets/ANovel/Tests/TestData.cs
yazawa-ichio/ANovel
0
7044114
using System.Collections.Generic; namespace ANovel.Core.Tests { public static class TestData { static Dictionary<string, string> s_Dic = new Dictionary<string, string> { {"CircleImport.anovel", CircleImport}, {"circleimport.anovel", CircleImport}, {"CircleImportTest.anovel", CircleImportTest}, {"circ...
DTO/Contact.cs
agonzalezdev/salesforce-oauth-dotnet-api
0
7044115
public class Contact { public string Id { get; set; } public string Name { get; set; } public string Email { get; set; } public string Phone { get; set; } public string PhotoUrl { get; set; } public string Title { get; set; } public string Description { get; set; } public string Departme...
RenderSamples/04-Teapot/DrawResources.cs
Const-me/Vrmac
91
7044116
using Diligent.Graphics; using System; using Vrmac; using Vrmac.Direct2D; using Vrmac.Draw; namespace RenderSamples { /* class DrawResources: IDisposable { readonly Context context3D; readonly DrawContext d2d; iRectangleGeometry rcBackground; iSolidColorBrush backgroundBrush; public DrawRe...
IniWrapper/IniWrapper.ModuleTests/Main/Configuration/Attribute/IniConverter/IniConverterEnumStringConverterConfiguration.cs
Szpi/IniWrapper
2
7044117
using IniWrapper.Attribute; using IniWrapper.Converters.Enums; using IniWrapper.ModuleTests.Main.Configuration.Properties; namespace IniWrapper.ModuleTests.Main.Configuration.Attribute.IniConverter { public class IniConverterEnumStringConverterConfiguration { [IniConverter(typeof(EnumStringConverter))...
PocIndustriaTextil/PocIndustriaTextil.Core/Modulos/Teste/Model/Crianca.cs
WillBrigida/ProjTextil
0
7044118
using System; namespace PocIndustriaTextil.Core.Modulos.Teste.Model { public class Crianca { public int CriancaId { get; set; } public string Nome { get; set; } public int Idade { get; set; } public bool RegistroAtivo { get; set; } = true; public DateTime? DataDesativac...
Base/Enums/AuthTypeEnum.cs
bruce68tw/Base
3
7044119
<gh_stars>1-10 namespace Base.Enums { /// <summary> /// program auth type, see _Cruc.AuthType /// </summary> public enum AuthTypeEnum { None, //0 Ctrl, //1:controller Action, //2:action Data, //3:data } }
AiCanCalculate/AiCanCalculate/Class1.cs
Tony-Chau/Ai-can-Calculate
1
7044121
using System; using System.Activities; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Speech.Synthesis; namespace AiCanCalculate { public class Speak : CodeActivity { [Category("Input")] public In...
src/Anilibria/Pages/Releases/PresentationClasses/SeenMarkItem.cs
anilibria/anilibria-win
34
7044122
<reponame>anilibria/anilibria-win namespace Anilibria.Pages.Releases.PresentationClasses { /// <summary> /// Seen mark item. /// </summary> public class SeenMarkItem { /// <summary> /// Type. /// </summary> public SeenMarkType Type { get; set; } /// <summary> /// Title. /// </summary> ...
AWSSDK_DotNet35/Amazon.EC2/Model/CreateVolumePermission.cs
zz0733/aws-sdk-net
1
7044123
<filename>AWSSDK_DotNet35/Amazon.EC2/Model/CreateVolumePermission.cs /* * 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 l...
AirPlane-APIDemo/AirPlane.WebAPI/Extensions/XmlExtension.cs
pedrovasconcellos/AirPlane-Angular6-And-NETCoreInDDD
1
7044124
<filename>AirPlane-APIDemo/AirPlane.WebAPI/Extensions/XmlExtension.cs using System.IO; using System.Xml; using System.Xml.Serialization; namespace Cars.WebAPI.Extensions { internal static class XmlExtension { internal static string ObjectToXml<T>(T obj) { var xml = stri...
app/Pomona.Common/TypeSystem/ExportedTypeResolverBase.cs
Pomona/Pomona
17
7044125
<reponame>Pomona/Pomona #region License // Pomona is open source software released under the terms of the LICENSE specified in the // project's repository, or alternatively at http://pomona.io/ #endregion using System; using System.Collections.Generic; using System.Linq; namespace Pomona.Common.TypeSyste...
source/Core/SymbolDisplay.cs
vrishe/Roslynator
0
7044126
<gh_stars>0 // Copyright (c) <NAME>. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using Microsoft.CodeAnalysis; namespace Roslynator { internal static class SymbolDisplay { public static string GetString(ISymbol symb...
src/Infrastructure/Tests/Riganti.Utils.Infrastructure.Core.Tests/Query/QueryTestsBase.cs
Leeemons/infrastructure
0
7044127
using System.Linq; namespace Riganti.Utils.Infrastructure.Core.Tests.Query { public class QueryTestsBase { protected readonly IQueryable<CustomerTestData> customers = new[] { new CustomerTestData() { FirstName = "Humphrey", LastName = "Ap...
CSharp/SphinxPortManaged/bitvec.cs
lostromb/pocketsphinx-kws
11
7044128
using SphinxPortManaged.CPlusPlus; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SphinxPortManaged { public static class bitvec { public const int BITVEC_BITS = 32; /// <summary> /// Number o...
Pds/Pds.Core/Enums/CostType.cs
catdog50rus/bloggers-cms
10
7044129
<reponame>catdog50rus/bloggers-cms namespace Pds.Core.Enums { public enum CostType { Other = 0, // Прочий расход Equipment = 1, // За оборудование Movement = 2, // За транспорт Accommodation = 3, // За жильё Service = 4, // За услуги S...
PhysX.Net/Test/HeightField/HeightFieldTest.cs
N500/PhysX.Net
187
7044130
using System; using System.Collections.Generic; using System.IO; using System.Linq; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace PhysX.Test { [TestClass] public class HeightFieldTest : Test { [TestMethod] public void CreateAndDisposeHeightField() { using (var physics = CreatePhysicsAndSce...
LiquidState/Synchronous/GuardedStateMachine.cs
SUSSMicroTec/LiquidState
0
7044131
// Author: <NAME> // Created: 04:13 11-05-2015 // Project: LiquidState // License: http://www.apache.org/licenses/LICENSE-2.0 using LiquidState.Common; using LiquidState.Core; using LiquidState.Synchronous.Core; namespace LiquidState.Synchronous { public abstract class GuardedStateMachineBase<TState, TTrigger> :...
Assets/Scripts/Paddle.cs
coderdojo-todakoen/BlockKuzushi
0
7044132
<filename>Assets/Scripts/Paddle.cs<gh_stars>0 using UnityEngine; public class Paddle : MonoBehaviour { // Update is called once per frame void Update() { // マウスの方向にパドルを移動する処理をおこないます // マウスの位置を取得します Vector3 mousePosition = Input.mousePosition; // マウスの位置はスクリーン座標なので、ゲーム内のワールド...
how-to-cook-that-api/HowToCookThatAPI/Migrations/20210404202300_initialCreate.cs
petyasabcheva/HowToCookThat
0
7044133
<reponame>petyasabcheva/HowToCookThat using Microsoft.EntityFrameworkCore.Migrations; namespace HowToCookThatAPI.Migrations { public partial class initialCreate : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.CreateTable( ...
G3/Class08/SEDC.CShaprOop.Class08/SEDC.CSharpOop.Class08.Exercises/Program.cs
sedc-codecademy/skwd9-net-05-oopcsharp
1
7044134
<filename>G3/Class08/SEDC.CShaprOop.Class08/SEDC.CSharpOop.Class08.Exercises/Program.cs<gh_stars>1-10 using SEDC.CSharpOop.Class08.Exercises.Classes; using System; using System.Collections.Generic; namespace SEDC.CSharpOop.Class08.Exercises { class Program { static void Main(string[] args) { ...
csharp/allergies/Allergies.cs
vmrocha/exercism
1
7044135
using System; using System.Linq; [Flags] public enum Allergen { Eggs = 1, Peanuts = 2, Shellfish = 4, Strawberries = 8, Tomatoes = 16, Chocolate = 32, Pollen = 64, Cats = 128 } public class Allergies { private readonly Allergen[] _allValues; public Allergies(int mask) { ...
NewLife.CubeNC/Views/Shared/_Layout_Footer.cshtml
SpringLeee/NewLife.Cube
481
7044136
@using NewLife.Common; @{ var cfg = NewLife.Common.SysConfig.Current; var user = ManageProvider.User; } <div class="container footer"> <div class="page-divider"></div> <div class="clearfix"> <div class="pull-right btn-group dropup"> <a class="dropdown-toggle" data-toggle="dropdown" ...
LocalWeatherApp/Services/WeatherService/Models/WeatherStateAbbreviation.cs
Feelav/LocalWeatherApp
0
7044137
<reponame>Feelav/LocalWeatherApp //namespace LocalWeatherApp.Services.WeatherService.Models //{ // public enum WeatherStateAbbreviation // { // sn, // sl, // h, // t, // hr, // lr, // s, // hc, // lc, // c // } //}
src/DevKit/v12/Protocol/ChannelSubscribe/IChannelSubscribeCustomer.cs
ypmo/etp-devkit
3
7044138
//----------------------------------------------------------------------- // ETP DevKit, 1.2 // // Copyright 2019 Energistics // // 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 // // ...