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/Sabuto.Trello/Sabuto.Trello.Tests/BoardsTests.cs | sabuto/Sabuto.Trello | 0 | 7035816 | using System.Threading.Tasks;
using NSubstitute;
using NUnit.Framework;
using Sabuto.Trello.Core.Services.Interfaces;
namespace Sabuto.Trello.Tests;
[TestFixture]
public class BoardsTests
{
private readonly IBoard? _mock = Substitute.For<IBoard>();
[Test]
public async Task GetBoard()
{
var t... |
Assets/Scripts/Equip.cs | Afamuefuna/Shop-Trade-Game | 0 | 7035817 | <filename>Assets/Scripts/Equip.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Equip : MonoBehaviour
{
itemID itemID;
[SerializeField] SpriteRenderer pants, shirt, shoe;
private void Start()
{
itemID = gameObject.GetComponentInParent<itemID>();
... |
Source/RimStory/Harmony/RandomBreakup.cs | emipa606/RimStory | 1 | 7035818 | using HarmonyLib;
using RimWorld;
using Verse;
namespace RimStory.Harmony
{
[HarmonyPatch(typeof(InteractionWorker_Breakup))]
[HarmonyPatch("RandomBreakupReason")]
internal class RandomBreakup
{
private static void Postfix(Thought __result, ref Pawn initiator, ref Pawn recipient)
{
... |
Assets/Scripts/Input/PlayerInputManager.cs | ActiveNick/GalaxyExplorer | 7 | 7035819 | <filename>Assets/Scripts/Input/PlayerInputManager.cs
// Copyright Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using HoloToolkit.Unity;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine... |
ProxiesBenchmark/ProxiesBenchmark/RealProxyExampleDecorator.cs | faddiv/Misc | 0 | 7035820 | using System;
using System.Reflection;
using System.Runtime.Remoting.Messaging;
using System.Runtime.Remoting.Proxies;
namespace ProxiesBenchmark
{
public class RealProxyExampleDecorator<T> : RealProxy where T : MarshalByRefObject
{
private readonly T _target;
private static object[] ... |
C# Advanced/08. Exercise - LINQ/04. Sort Students/SortStudents.cs | NikolaySpasov/Softuni | 0 | 7035821 | using System;
using System.Collections.Generic;
using System.Linq;
public class SortStudents
{
public static void Main(string[] args)
{
string input = Console.ReadLine();
List<string[]> students = new List<string[]>();
while (input != "END")
{
students.Add(input.S... |
Source/Server/WebPortal/Apps/ListApp/Modules/ManageControls/ListSecurity.ascx.designer.cs | InstantBusinessNetwork/IBN | 21 | 7035822 | <reponame>InstantBusinessNetwork/IBN
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3074
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is re... |
src/InternalEffect/UIParameters/UIParameter.cs | TanukiSharp/StudioPostEffect | 0 | 7035823 | using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using Microsoft.DirectX.Direct3D;
using Microsoft.DirectX;
using System.ComponentModel;
using HDRColorPicker;
using PostEffectCore;
namespace InternalEffect
{
[TypeConverter(typeof(CustomObjectConverter))]
public class UIP... |
src/Piraeus.Grains/Audit/TableAuditProvider.cs | skunklab/SkunkLab.Core | 1 | 7035824 | //using Piraeus.Grains.Notifications;
//using SkunkLab.Storage;
//using System;
//using System.Collections.Generic;
//using System.Text;
//using System.Threading.Tasks;
//namespace Piraeus.Grains.Audit
//{
// public class TableAuditProvider : IAuditor
// {
// public TableAuditProvider(string connectionSt... |
Console_DI/Program.cs | alanocoder/blog-codes | 7 | 7035825 | using Microsoft.Extensions.DependencyInjection;
namespace Console_DI
{
// This sample shows how to use dependency injection at .NET core console application
// NuGet packeges needed:
// - Microsoft.AspNetCore
class Program
{
static void Main(string[] args)
{
var service... |
BankAppDB/BankAppDB/Views/UIModels.cs | TeemuHe/Datawarehouse | 0 | 7035826 | using System;
using System.Collections.Generic;
using System.Text;
using BankAppDB.Models;
using BankAppDB.Repositories;
namespace BankAppDB.Views
{
class UIModels
{
private readonly BankRepository _bankRepository = new BankRepository();
private readonly CustomerRepository _customerRepository ... |
HTTDir/HTTDir/Ground.cs | stackprobe/HTTDir | 0 | 7035828 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Drawing;
using System.IO;
namespace HTTDir
{
public static class Gnd
{
public const string HTT_APP_UUID = "{4a33312e-c34a-424e-bc11-31842fcbd78f}";
// ---- Items ----
public static bool... |
TFV/Properties/Settings.Designer.cs | lmagder/TFV | 0 | 7035829 | <filename>TFV/Properties/Settings.Designer.cs<gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34209
//
// Changes to this file may cause incorrect behavior and will be lost if
... |
test/Finbuckle.MultiTenant.Test/Stores/HttpRemoteStoreShould.cs | Azaferany/Finbuckle.MultiTenant | 0 | 7035830 | <gh_stars>0
// Copyright Finbuckle LLC, <NAME>, and Contributors.
// Refer to the solution LICENSE file for more inforation.
using System;
using System.Net;
using System.Net.Http;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Finbuckle.MultiTenant.Stores;
using Moq;
using Newton... |
C#-OOP/Abstraction/Exercise/P04_Hospital/Program.cs | rafalohaki/SoftUni | 2 | 7035831 | using System;
using System.Collections.Generic;
using System.Linq;
namespace P04_Hospital
{
public class Program
{
public static void Main()
{
Dictionary<string, List<string>> doctors = new Dictionary<string, List<string>>();
Dictionary<string, List<List<string>>> depar... |
NiFi.Swagger.Core/Model/ComponentDifferenceDTO.cs | mendonca-andre/NiFi.Swagger.Core | 5 | 7035833 | /*
* NiFi Rest Api
*
* The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description, ... |
Homeworks/Programming/DSA/04.DictionariesHashTablesSets/02.OddOccurencesInStringSequence/Program.cs | TsvetanRazsolkov/Telerik-Academy | 1 | 7035835 | <filename>Homeworks/Programming/DSA/04.DictionariesHashTablesSets/02.OddOccurencesInStringSequence/Program.cs
/* Write a program that extracts from a given sequence of strings all elements that present in it odd number of times. Example:
{C#, SQL, PHP, PHP, SQL, SQL } -> {C#, SQL}*/
namespace _02.OddOccurencesInStrin... |
Tests/Supervisor.Tests/SupervisorTests.cs | oguzey/Supervisor | 0 | 7035836 | using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Supervisor.Tests {
[TestClass]
public class SupervisorTests {
[TestMethod]
public void ParseArgs() {
strin... |
test/EFCore.MySql.FunctionalTests/ConcurrencyDetectorMySqlTest.cs | eKipod/Pomelo.EntityFrameworkCore.MySql | 1 | 7035837 | using Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.TestUtilities;
namespace Pomelo.EntityFrameworkCore.MySql.FunctionalTests
{
public class ConcurrencyDetectorMySqlTest : ConcurrencyDetectorRelationalTestBase<NorthwindQueryMy... |
jtv-extras/jtv.cs | thedefside/valheim-mods | 0 | 7035838 | // jtv
// a Valheim mod skeleton using Jötunn
//
// File: jtv.cs
// Project: jtv
using BepInEx;
using HarmonyLib;
using Jotunn.Configs;
using Jotunn.Entities;
using Jotunn.Managers;
using Jotunn.Utils;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
usi... |
src/CoreMVC/Controllers/VoucherController.cs | sedkiketata/ShowroomerCore | 0 | 7035839 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using CoreMVC.Infrastructure;
using CoreMVC.Models;
using Microsoft.Extensions.Primitives;
// For more information on enabling Web API for empty projects, visit http://go.microsoft.com/fwli... |
e2e-tests/IIoTPlatform-E2E-Tests/TestConstants.cs | ChenCheng368/Industrial-IoT | 392 | 7035840 | <reponame>ChenCheng368/Industrial-IoT
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ---------------------------------------------------... |
QuanLyPhongMachTu/QuanLyPhongMachTu/DiagnosisScreen.xaml.cs | ngdkhoi/QuanLyPhongMachTu | 0 | 7035841 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
AssociadoDePlantao/AssociadoDePlantao/ClassContato.cs | GustavoBenevenuto/AssociadoDePlantao | 0 | 7035842 | <reponame>GustavoBenevenuto/AssociadoDePlantao
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
namespace AssociadoDePlantao
{
public class ClassContato
{
public int codContato { get; set; }
public string end... |
Test/TestsControllers/CropControllerTests.cs | ucdavis/Harvest | 2 | 7035843 | using Harvest.Core.Models;
using Harvest.Web.Controllers;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Shouldly;
using System.Linq;
using System.Runtime.CompilerServices;
using TestHelpers.Helpers;
using Xunit;
using Xunit.Abstractions;
namespace Test.TestsControllers
{
... |
Source/Pablo/Formats/Character/Actions/Drawing/DrawCharacter.cs | christianvozar/pablodraw | 141 | 7035844 | <filename>Source/Pablo/Formats/Character/Actions/Drawing/DrawCharacter.cs
using System;
using Eto.Drawing;
using Pablo.Network;
using Pablo.Formats.Character.Undo;
using Eto;
using Eto.Forms;
namespace Pablo.Formats.Character.Actions
{
public class DrawCharacter : PabloCommand
{
protected virtual int Character { g... |
RecompildPOS.Models/ServicesModels/CollectionModels.cs | faizanaryan94/mobile-pos-basic | 0 | 7035845 | using System;
using System.Collections.Generic;
using System.Text;
using RecompildPOS.Models.Accounts;
using RecompildPOS.Models.Businesses;
using RecompildPOS.Models.EndOfDayReports;
using RecompildPOS.Models.Expense;
using RecompildPOS.Models.Finances;
using RecompildPOS.Models.InventoryStocks;
using RecompildPOS.Mo... |
samples/Nancy/Nancy.Server/Modules/AuthenticationModule.cs | ilmax/openid.sample.password | 0 | 7035846 | using System;
using System.Security.Claims;
using Microsoft.Owin.Security;
using Nancy.Server.Extensions;
namespace Nancy.Server.Modules {
public class AuthenticationModule : NancyModule {
public AuthenticationModule() {
Get["/signin"] = parameters => {
// Note: the ReturnUrl p... |
Source/ED-EnhancedOptions/Detours/PatchFireWatcher.cs | emipa606/EDEnhancedOptions | 0 | 7035847 | using System.Reflection;
using HarmonyLib;
using RimWorld;
namespace EnhancedDevelopment.EnhancedOptions.Detours
{
// Token: 0x02000009 RID: 9
internal class PatchFireWatcher : Patch
{
// Token: 0x06000020 RID: 32 RVA: 0x00002C44 File Offset: 0x00000E44
protected override void ApplyPatch(H... |
src/nanoFramework.IoT.Device.CodeConverter/Program.cs | LwServices/nanoFramework.IoT.Device | 56 | 7035848 | using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace nanoFramework.IoT.Device.CodeConverter
{
class Program
{
private const string _repoRoot = "../../... |
DomSample/GameObjects/Game.cs | whence/DomSample | 0 | 7035849 | using System;
using System.Collections.Generic;
using System.IO;
using DomSample.Utils;
namespace DomSample.GameObjects
{
public partial class Game : IGame
{
#region constants
private const string StandardErrorMessageForInstruction = "Invalid instruction";
#endregion
... |
obj/Debug/netcoreapp2.1/Razor/Views/Depoimentos/Index.g.cshtml.cs | GuigaxD/PontoDigital | 0 | 7035850 | #pragma checksum "D:\PontoDigital\Views\Depoimentos\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "c1b92a6f2d3f442bb0159cadd86e8b2f06e6c05a"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.Views_Depoimentos_Ind... |
DemoCore/src/DemoCore.WebUI/Views/Manage/_ManageNav.cshtml | hugomarshall/Demo | 0 | 7035851 | @using DemoCore.WebUI.Views.Manage;
@inject SignInManager<ApplicationUser> SignInManager
@{
var hasExternalLogins = (await SignInManager.GetExternalAuthenticationSchemesAsync()).Any();
}
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="navbar-collapse">
<ul class="navbar-nav mr-... |
OpenNISharp2.CppSharpUnsafeGenerator/Definitions/EnumerationItem.cs | rational-core/OpenNISharp2 | 0 | 7035852 | <filename>OpenNISharp2.CppSharpUnsafeGenerator/Definitions/EnumerationItem.cs
namespace OpenNISharp2.CppSharpUnsafeGenerator.Definitions
{
internal class EnumerationItem : ICanGenerateXmlDoc
{
public string Name { get; set; }
public string Value { get; set; }
public string Content { get... |
Assets/XLuaFramework/Scripts/GameLauncher.cs | ShaoxinGu/TestXLua | 0 | 7035853 | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using XLua;
using static XLua.LuaEnv;
public class GameLauncher : MonoBehaviour
{
public async void Awake()
{
Instance = this;
DontDestroyOnLoad(this);
InitGloba... |
src/AddIns/Misc/Reports/ICSharpCode.Reports.Core/Project/BaseClasses/SinglePage.cs | galich/SharpDevelop | 0 | 7035854 | <filename>src/AddIns/Misc/Reports/ICSharpCode.Reports.Core/Project/BaseClasses/SinglePage.cs<gh_stars>0
// Copyright (c) 2014 AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Softwa... |
src/Tests/Testify.Tests/AnonymousCharTests.cs | wekempf/testify | 10 | 7035855 | <gh_stars>1-10
using Xunit;
namespace Testify
{
public class AnonymousCharTests
{
[Fact]
public void AnyAlphaChar()
{
var anon = new AnonymousData();
var classifier = new Classifier<char>();
classifier.AddClassification("Alpha", d => char.IsLetter(d)... |
WPF/WPFSamples/Formula1Demo/MainWindow.xaml.cs | CNinnovation/wpfmay2019 | 2 | 7035856 | using Formula1Demo.Controls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using ... |
src/SplitStream/ReadableSplitStream.cs | oiBio/SplitStream | 0 | 7035857 | <filename>src/SplitStream/ReadableSplitStream.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
// ReSharper disable AccessToDisposedClosure
namespace MicroKnights.IO.Streams
{
public class ReadableSplitStream : IDisposable
{
private ... |
WpfAnalyzers.Test/Helpers/DependencyPropertyTests.TryGetRegisteredName.cs | Insire/WpfAnalyzers | 0 | 7035858 | <filename>WpfAnalyzers.Test/Helpers/DependencyPropertyTests.TryGetRegisteredName.cs
namespace WpfAnalyzers.Test
{
using System.Threading;
using Gu.Roslyn.AnalyzerExtensions;
using Gu.Roslyn.Asserts;
using Microsoft.CodeAnalysis.CSharp;
using NUnit.Framework;
public partial class DependencyPrope... |
src/Cake.Docker/Swarm/Init/DockerSwarmInitSettings.cs | KevM/Cake.Docker | 0 | 7035859 | <gh_stars>0
using System;
namespace Cake.Docker
{
/// <summary>
/// Settings for docker init [OPTIONS].
/// Initialize a swarm
/// </summary>
public sealed class DockerSwarmInitSettings : AutoToolSettings
{
/// <summary>
/// --advertise-addr
/// Advertised address (format: <ip|interface>[:port])
//... |
ProtoSDK/MS-ADTS-LDAP/AdtsLdapV3Asn1Codec/AuthenticationChoice.cs | Grom-Li/WindowsProtocolTestSuites | 332 | 7035860 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Protocols.TestTools.StackSdk.Asn1;
namespace Microsoft.Protocols.TestTools.StackSdk.ActiveDirectory.Adts.Asn1CodecV3
{
/*
AuthenticationChoice... |
StrangeRobots/Assets/scripts/strangerobots/common/config/CommonSignal.cs | strangeioc/strangerobots | 1 | 7035861 | //This file contains all the signals that are dispatched between Contexts
using System;
using strange.extensions.signal.impl;
namespace strange.examples.strangerobots
{
public class StartSignal : Signal{}
//Input
public class GameInputSignal : Signal<int>{};
//Game
public class GameStartSignal : Signal{}
pub... |
ScrapR.Tests/trvPaddyTests.cs | mykeels/ScrapR | 1 | 7035862 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using ScrapR.Models;
using System.Diagnostics;
using System.Windows.Forms;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ScrapR.Tests
{
[TestClas... |
SourceCode/Sheng.WeixinConstruction.WeixinContract/Api/MaterialApi.cs | fenglui/Sheng.WeixinConstruction | 695 | 7035864 | <reponame>fenglui/Sheng.WeixinConstruction<gh_stars>100-1000
/*
********************************************************************
*
* 曹旭升(sheng.c)
* E-mail: <EMAIL>
* QQ: 279060597
* https://github.com/iccb1013
* http://shengxunwei.com
*
* © Copyright 2016
*
***************************************... |
CelesteTAS-EverestInterop/EverestInterop/CenterCamera.cs | WEGFan/CelesteTAS-EverestInterop | 0 | 7035865 | using System;
using Celeste;
using Microsoft.Xna.Framework;
using Monocle;
using MonoMod.Utils;
using TAS.EverestInterop.InfoHUD;
using TAS.Module;
using TAS.Utils;
namespace TAS.EverestInterop {
public static class CenterCamera {
private static Vector2? savedCameraPosition;
private static float? ... |
Assets/scripts/Plant.cs | peon125/JoffreyCoughs | 0 | 7035866 | <filename>Assets/scripts/Plant.cs
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Plant : InteractableObject
{
public override void Interact()
{
Player._instance.talkingController.StartTalking("*swish*");
}
}
|
AlipaySDKNet/Response/AlipayCommerceIotGroupBatchqueryResponse.cs | Varorbc/alipay-sdk-net-all | 0 | 7035868 | <reponame>Varorbc/alipay-sdk-net-all
using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Aop.Api.Domain;
namespace Aop.Api.Response
{
/// <summary>
/// AlipayCommerceIotGroupBatchqueryResponse.
/// </summary>
public class AlipayCommerceIotGroupBatchqueryResponse : AopR... |
csharp-3/Source/State.cs | margotpaon/aceleradev-csharp-women-itau | 1 | 7035869 | <filename>csharp-3/Source/State.cs
using System;
namespace Codenation.Challenge
{
public class State
{
public State(string name, string acronym)
{
this.Name = name;
this.Acronym = acronym;
}
public string Name { get; set; }
public string Acronym... |
LazyAngus/Assets/Scripts/_UIs/BoostActiveLayout.cs | DougLazyAngus/lazyAngus | 0 | 7035870 | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Collections.Generic;
public class BoostActiveLayout : MonoBehaviour {
public GameObject sliderPrototype;
private bool registerdForEvents;
private bool boostButtonsDirty;
private bool treatsTextDirty;
private bool levelTextDirty... |
WebApp1/Pages/GameConsoles08.cshtml | shahedc/GameConsoles | 1 | 7035871 | <reponame>shahedc/GameConsoles<filename>WebApp1/Pages/GameConsoles08.cshtml
@page
@model GameConsoles08
@{
ViewData["Title"] = "Home page";
}
<h1>Game Consoles: 8th Generation</h1>
<div>
<ul>
<li>Wii U (2012)</li>
<li>PlayStation 4 (2013)</li>
<li>Xbox One (2013)</li>
<li>Nint... |
Binance.Net/Objects/BinanceWithdrawalFee.cs | lucaswalter/Binance.Net | 1 | 7035872 | <filename>Binance.Net/Objects/BinanceWithdrawalFee.cs
using CryptoExchange.Net.Attributes;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace Binance.Net.Objects
{
public class BinanceAssetDetailsWrapper
{
[JsonProperty("assetDetail")]
public Dictionary<string, BinanceAssetDeta... |
KBrimble.AutoConfig.AutoFac/AutoConfigAutoFacExtensions.cs | kbrimble/KBrimble.AutoConfig.AutoFac | 0 | 7035874 | using Autofac;
using Autofac.Builder;
namespace KBrimble.AutoConfig.AutoFac
{
public static class AutoConfigAutoFacExtensions
{
public static IRegistrationBuilder<T, SimpleActivatorData, SingleRegistrationStyle> RegisterConfig<T>(this ContainerBuilder builder, string sectionName = null) where T... |
src/Robots.Grasshopper/Commands/CustomCommand.cs | lin-ycv/Robots | 0 | 7035875 | namespace Robots.Grasshopper.Commands;
public class CustomCommand : GH_Component
{
public CustomCommand() : base("Custom command", "CustomCmd", "Custom command written in the manufacturer specific language", "Robots", "Commands") { }
public override GH_Exposure Exposure => GH_Exposure.primary;
public over... |
Game/Assets/Scripts/UI/Panel.cs | Sweaty-Bacon-Ducks/ld42 | 1 | 7035876 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
public class Panel : MonoBehaviour, IDropHandler {
public Inventories inv;
// If player dropped the item on this panel
public void OnDrop(PointerEventData eventData)
{
if (Ite... |
Cogs.ActiveExpressions/ActiveNewArrayInitExpression.cs | Epiforge/Cogs | 6 | 7035877 | namespace Cogs.ActiveExpressions;
class ActiveNewArrayInitExpression : ActiveExpression, IEquatable<ActiveNewArrayInitExpression>
{
ActiveNewArrayInitExpression(CachedInstancesKey<NewArrayExpression> instancesKey, ActiveExpressionOptions? options, bool deferEvaluation) : base(instancesKey.Expression, options, defe... |
port/src/main/Xml/Strategy/Allocate.cs | raulbarca/simplexml | 95 | 7035878 | #region License
//
// Allocate.cs January 2007
//
// Copyright (C) 2007, <NAME> <<EMAIL>>
//
// 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-... |
CoreCourse.Spyshop.Web/Views/Shared/PublicFooter.cshtml | howest-gp-wba/cu-aspnetcore-spyshop | 2 | 7035879 | <reponame>howest-gp-wba/cu-aspnetcore-spyshop
<footer id="footer" class="mt-5">
<div class="container-fluid">
<div class="row">
<div class="col-12 p-2">
<form class="form-inline float-right">
<div class="input-group">
<input type="text... |
Problems 61-70/Problem686.cs | Transurgeon/ProjectEuler.Net | 0 | 7035881 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace ProjectEuler.Net.Problems_61_70
{
class Problem686
{
/*
static void Main(string[] args)
{
var watch = new System.Diagnostics.Stopwatch();
watch.Start();
Console... |
src/PlainElastic.Net.Tests/Builders/Queries/ConstantScore/When_complete_ConstantScoreQuery_built.cs | skbkontur/PlainElastic.Net | 90 | 7035882 | <gh_stars>10-100
using Machine.Specifications;
using PlainElastic.Net.Queries;
using PlainElastic.Net.Utils;
namespace PlainElastic.Net.Tests.Builders.Queries
{
[Subject(typeof(ConstantScoreQuery<>))]
class When_complete_ConstantScoreQuery_built
{
Because of = () => result = new ConstantScoreQuery... |
OAHub.Status/Views/Shared/_Layout.cshtml | Ranzeplay/OAHub | 2 | 7035883 | <reponame>Ranzeplay/OAHub
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - OAHub.Status</title>
<link rel="stylesheet" href="~/lib/font-awesome/css/all.min.css" />
<link rel="stylesh... |
src/ExtendedXmlSerializer/ExtensionModel/Types/Activators.cs | Synnotech-AG/VweXmlSetCollectionsError | 146 | 7035884 | <gh_stars>100-1000
using ExtendedXmlSerializer.Core;
using ExtendedXmlSerializer.Core.Sources;
using ExtendedXmlSerializer.ReflectionModel;
using System;
namespace ExtendedXmlSerializer.ExtensionModel.Types
{
sealed class Activators : ReferenceCacheBase<Type, IActivator>, IActivators
{
public Activators(IActivator... |
Arquitetura/DDD/Dominio/Interfaces/ServicosDeDominio/IServicoDeDominioBase.cs | gabrielsimas/Framework_DotNET | 5 | 7035885 | <reponame>gabrielsimas/Framework_DotNET
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Framework.Arquitetura.DDD.Dominio.Interfaces.ServicosDeDominio
{
public interface IServicoDeDominioBase<T>
where T: class
{
void... |
src/Orckestra.Composer/Utils/ExpressionUtility.cs | colinjacobsorckestra/BetterRetail | 5 | 7035886 | <gh_stars>1-10
using System;
using System.Linq.Expressions;
using System.Reflection;
using System.Text.RegularExpressions;
namespace Orckestra.Composer.Utils
{
/// <summary>
/// Class designed for expressions transformations and presentations
/// </summary>
public static class ExpressionUtility
{
... |
src/ISDAOC_Domain/Entities/DCAppFeature.cs | valstekt/opensource-low-code-application-design | 0 | 7035887 | using Domain.Abstractions;
using System;
using System.Collections.Generic;
namespace Domain.Entities
{
public class DCAppFeature : Entity
{
public DCAppFeature(Guid id) : base(id)
{
WorkFlows = new HashSet<DCAppWorkFlow>();
}
public bool IsInternal { get; set; }
... |
src/BotService/Configuration/AppConfiguration.cs | ScriptBox99/Broadcast-Development-Kit | 30 | 7035888 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using Application.Common.Config;
namespace BotService.Configuration
{
public class AppConfiguration : IAppConfiguration
{
public string BuildVersion { get; set; }
public GraphClientConfiguration GraphClientConfiguratio... |
src/client/AM.PA.MonitoringTool/WindowsActivityTracker/Visualizations/DayProgramsUsedPieChart.cs | Phhofm/PersonalAnalytics | 32 | 7035889 | <gh_stars>10-100
// Created by <NAME> (<EMAIL>) from the University of Zurich
// Created: 2015-10-20
//
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using Shared;
using Shared.Helpers;
using WindowsActivityTracker.Data;
using System.Globalization;
namespace W... |
Encoder.cs | lc6464/ATGCCoder | 1 | 7035890 | <filename>Encoder.cs
using System;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
namespace ATGCCoder {
/// <summary>
/// ATGC 编码器,可将各类数据编码为 ATGC 列表。
/// </summary>
public static class Encoder {
private static readonly Regex spiltRegex = new(@"(\d\d)");
private static readonly Rege... |
FB2EPubConverter/ElementConvertersV3/ImageConverterV3.cs | npuBug/fb2epub | 1 | 7035891 | <gh_stars>1-10
using System;
using FB2Library.Elements;
using XHTMLClassLibrary.BaseElements;
using XHTMLClassLibrary.BaseElements.InlineElements;
namespace FB2EPubConverter.ElementConvertersV3
{
internal class ImageConverterParamsV3
{
public ConverterOptionsV3 Settings { get; set; }
}
... |
App1/App1/View/HomeTabbedPage.xaml.cs | amadorsenai/Xamarin-Forms-Gmail-UI-Clone | 0 | 7035893 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.PlatformConfiguration.AndroidSpecific;
using Xamarin.Forms.Xaml;
namespace App1.View
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial ... |
Playground/XUnit.cs | dojo87/VerifyTestCategoryAnalyzer | 0 | 7035894 | <filename>Playground/XUnit.cs
using System;
using Xunit;
namespace Playground
{
public class XUnit
{
[Fact]
public void Test1()
{
}
}
}
|
LiveSplit/Libs/Irony_2013_12_12/Irony_2013_12_12/Irony/Parsing/Data/Construction/GrammarDataBuilder.cs | hamhub7/LiveSplit | 140 | 7035895 | #region License
/* **********************************************************************************
* Copyright (c) <NAME>
* This source code is subject to terms and conditions of the MIT License
* for Irony. A copy of the license can be found in the License.txt file
* at the root of this distribution.
* By us... |
Entity Framework Core/ADO.NET/IncreaseAgeStoredProcedure/StartUp.cs | ilinatsoneva3/SoftUni-Official | 0 | 7035896 | <reponame>ilinatsoneva3/SoftUni-Official
using Microsoft.Data.SqlClient;
using System;
using System.Data;
using System.Text;
namespace IncreaseAgeStoredProcedure
{
public class StartUp
{
private const string connectionText = @"Server=DESKTOP-URSLOO9\SQLEXPRESS;Database=MinionsDB;Integrated Security=tr... |
Opay-CSharpSDK.lib/core/Endpoint.cs | stephenjohnkomna/Opay-CSharpSDK | 2 | 7035897 | using System;
namespace Opay_CSharpSDK.lib.core
{
public class Endpoint
{
/* These are definition of all the endpoints required
for the opay integrations.*/
//CHECKOUT ENDPOINTS
public static String OPAY_CHECKOUT_INITIALIZE_TRANSACTION="/cashier/initialize";
public static... |
Tcp.NET.Core/Models/IConnectionTcp.cs | LiveOrDevTrying/Tcp.NET | 12 | 7035898 | using PHS.Networking.Models;
using System.IO;
using System.Net.Sockets;
namespace Tcp.NET.Core.Models
{
public interface IConnectionTcp : IConnection
{
TcpClient Client { get; set; }
StreamReader Reader { get; set; }
StreamWriter Writer { get; set; }
}
} |
src/SpatialLite.Osm/IO/OsmXmlReaderSettings.cs | lukaskabrt/spatiallite-net | 6 | 7035899 | using System;
namespace SpatialLite.Osm.IO {
/// <summary>
/// Contains settings that determine behaviour of the OsmXmlReader.
/// </summary>
public class OsmXmlReaderSettings : OsmReaderSettings {
private bool _strictMode = true;
/// <summary>
/// Gets or sets a value indicating whether OsmXm... |
AppPress/FormDef.cs | ramveersgh/AppPress | 0 | 7035900 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Script.Serialization;
using System.Xml.Linq;
using System.Xml.Schema;
using System.Globalization;
using System.Collections.ObjectModel;
using System.Collections;
using System.IO;
using S... |
NewService/Blocks/MTSEntBlocks.ExceptionBlock/Handlers/MTSExceptionHandler.cs | senthilsb-mtsin/ProjectTimeManagment | 0 | 7035901 | using Microsoft.Practices.EnterpriseLibrary.ExceptionHandling;
using System;
namespace MTSEntBlocks.ExceptionBlock.Handlers
{
public static class MTSExceptionHandler
{
#region Static Variables
private static readonly ExceptionPolicyFactory _exceptionPolicyFactory;
private static re... |
Assets/Code/Geom/Sphere.cs | shanno1/GamesNaturalUnity | 9 | 7035902 | using UnityEngine;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BGE.Geom
{
public class Sphere
{
public float radius;
public Vector3 Position;
public Sphere(float radius, Vector3 position)
{
this.radius = radius;
... |
solutions/Virtual-Assistant/src/csharp/skills/emailskill/emailskill/Dialogs/Shared/Resources/Cards/EmailOverviewData.cs | scovetta/AI | 1 | 7035903 | using EmailSkill.Dialogs.Shared.Resources.Strings;
using Microsoft.Bot.Builder.Solutions.Responses;
namespace EmailSkill.Dialogs.Shared.Resources.Cards
{
public class EmailOverviewData : ICardData
{
public string Description { get; set; }
public string AvatorIcon { get; set; }
public... |
src/In.ProjectEKA.HipService/SmsNotification/SmsNotificationController.cs | BahmniIndiaDistro/hip-service | 1 | 7035904 | <filename>src/In.ProjectEKA.HipService/SmsNotification/SmsNotificationController.cs
using System;
using System.Net.Http;
using System.Threading.Tasks;
using Hl7.Fhir.Model;
using In.ProjectEKA.HipService.Common;
using In.ProjectEKA.HipService.Common.Model;
using In.ProjectEKA.HipService.Gateway;
using In.ProjectEKA.Hip... |
src/Microsoft.Azure.Mobile.Server.Notifications/FlipTile.cs | v-fekalu/azure-mobile-apps-net-server | 136 | 7035906 | // ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
using System;
namespace Microsoft.Azure.Mobile.Server.Notifications
{
/// <summary>
//... |
Assets/Scripts/Enemies/Sensor.cs | Xenetics/Shipwrecked | 1 | 7035907 | <gh_stars>1-10
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class Sensor : MonoBehaviour
{
public bool isColliding = false;
public Collider ignoreThis;
private List<Collider> targets;
void Start()
{
targets = new List<Collider>();
}
void U... |
src/Trezor.Net.XamarinFormsSample/XFAS/MainActivity.cs | matejcik/Trezor.Net | 0 | 7035908 |
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.Hardware.Usb;
using Android.OS;
using Android.Widget;
using Device.Net;
using System;
using System.Linq;
using System.Threading.Tasks;
using Usb.Net.Android;
using Xamarin.Forms;
using Xamarin.Forms.Platform.Android;
namespace Trezor.N... |
Source/Word/DispatchInterfaces/TablesOfAuthorities.cs | brunobola/NetOffice | 1 | 7035909 | using System;
using NetRuntimeSystem = System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.ComponentModel;
using System.Reflection;
using System.Collections.Generic;
using System.Collections;
using NetOffice;
namespace NetOffice.WordApi
{
///<summary>
/// DispatchInterfa... |
SimpleProcessFramework/Runtime/Messages/RemoteInvocationRequest.cs | fbrosseau/SimpleProcessFramework | 0 | 7035910 | <reponame>fbrosseau/SimpleProcessFramework<filename>SimpleProcessFramework/Runtime/Messages/RemoteInvocationRequest.cs
using System;
using System.Runtime.Serialization;
namespace Spfx.Runtime.Messages
{
[DataContract]
public abstract class RemoteInvocationRequest : IInterprocessRequest
{
[... |
src/SwedbankPay.Sdk/PaymentInstruments/MobilePay/CancelTransaction.cs | zunkas/swedbank-pay-sdk-dotnet | 9 | 7035911 | namespace SwedbankPay.Sdk.PaymentInstruments.MobilePay
{
/// <summary>
/// Wraps a cancel transaction for Mobile Pay payment instrument.
/// </summary>
public class CancelTransaction
{
/// <summary>
/// Instantiates a <see cref="CancelTransaction"/> with the provided parameters.
... |
src/GrpcWorld.Performance.Client/Program.cs | ToobooYana/GrpcWorld | 1 | 7035912 | using System;
using System.Threading.Tasks;
using BenchmarkDotNet.Running;
using GrpcWorld.Performance.Client.Benchmarks;
namespace GrpcWorld.Performance.Client
{
class Program
{
static async Task Main(string[] args)
{
Console.WriteLine("press key to start.");
... |
src/Cedar.Example/CommandVersioning/CreateTShirtV3.cs | mat-mcloughlin/Cedar | 0 | 7035913 | <gh_stars>0
namespace Cedar.Example.CommandVersioning
{
using System;
using System.Linq;
public class CreateTShirtV3
{
public String Name { get; set; }
public string[] Sizes { get; set; }
public string[] Colors { get; set; }
public override string ToString()
{... |
AsCore.Infrastructure/Mvc/Cors/CorsConfiguration.cs | alstelmach/ASCore | 1 | 7035915 | <reponame>alstelmach/ASCore<gh_stars>1-10
using System.Collections.Generic;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace AsCore.Infrastructure.Mvc.Cors
{
public static class CorsConfiguration
{
private const str... |
sdk/connectedvmwarevsphere/Azure.ResourceManager.ConnectedVMwarevSphere/src/Generated/Models/MachineExtensionInstanceViewStatus.cs | gjy5885/azure-sdk-for-net | 3,268 | 7035916 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.ResourceManager.ConnectedVMwarevSphere.Models
{
/// <summary> Instance view status. </summary>
public partial class MachineExtensionInstanceVie... |
Waratah/HidEngine/ReportDescriptorItems/PhysicalMinimumItem.cs | kuroneko/hidtools | 7 | 7035917 | <reponame>kuroneko/hidtools<filename>Waratah/HidEngine/ReportDescriptorItems/PhysicalMinimumItem.cs
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace HidEngine.ReportDescriptorItems
{
using System;
using System.Globalization;
using HidSpecification;
/// <su... |
Solutions/PowerShell.Commands/Commands/Base/Constants.cs | ifaham/Test | 1 | 7035918 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OfficeDevPnP.PowerShell.Commands.Base
{
[Obsolete("Use OfficeDev/PnP.Core")]
public static class Constants
{
public static Guid AppSideLoadingFeatureId = new... |
src/tests/mite.net.Tests/MiteErrorTests.cs | BADF00D/mite.net | 0 | 7035919 | using NUnit.Framework;
namespace Mite.Tests
{
[TestFixture]
public class MiteErrorTests
{
[Test]
public void ToStringShouldReturnMessage()
{
string message = "fooBar";
MiteError miteError = new MiteError(message);
Assert.That(message, Is.EqualTo(... |
Nivaes.App.Cross/Components/Plugins/Visibility/MvxInvertedVisibilityValueConverter.cs | andres-gimenez/Nivaes.App.Cross | 0 | 7035920 | <gh_stars>0
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MS-PL license.
// See the LICENSE file in the project root for more information.
namespace MvvmCross.Plugin.Visibility
{
using System.Globalization;
using MvvmCross.UI;
u... |
host/WaterTurret/WaterTurret.Module/Models/ViewConfig.cs | hyeongukryu/WaterTurret | 2 | 7035921 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WaterTurret.Module.Models
{
public class ViewConfig
{
public bool UseKeyboard { get; set; }
public bool UseJoystick { get; set; }
public ViewConfigBackgroundImage BackgroundI... |
src/test/Import/NotificationTests.cs | dimenics/ds-sdk-dotnet | 1 | 7035922 | using System;
using Dime.Scheduler.Sdk.Import;
using Xunit;
namespace Dime.Scheduler.Sdk.Tests.Import
{
public class NotificationTests
{
[Fact]
public void Notification_ToImportRequest_Append_AllShouldMapParameters()
{
Notification model = new()
{
... |
Smite.Mixer.Idler/Commands/ShowWindowCommand.cs | Lumbridge/Smite-Mixer-Idler | 1 | 7035923 | <gh_stars>1-10
using System.Windows;
using System.Windows.Input;
namespace Smite.Mixer.Idler.Commands
{
class ShowWindowCommand : CommandBase<ShowWindowCommand>
{
public override void Execute(object parameter)
{
GetTaskbarWindow(parameter).Show();
CommandManager.Invalid... |
CyberCAT.Core/Classes/Parsers/CustomArrayParser.cs | RakhithJK/CyberCAT | 127 | 7035924 | <filename>CyberCAT.Core/Classes/Parsers/CustomArrayParser.cs<gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.IO;
using CyberCAT.Core.Classes.Interfaces;
using CyberCAT.Core.Classes.NodeRepresentations;
namespace CyberCAT.Core.Classes.Parsers
{
public class CustomArrayParser : INodeP... |
PlatformAPI/Memory.cs | YTed/windows-mobile-platform-api | 5 | 7035925 | using System;
using System.Runtime.InteropServices;
namespace PlatformAPI
{
/// <summary>
/// Contains methods for allocating and freeing memory.
/// </summary>
public class Memory
{
/// <summary>
/// Allocates fixed memory. The return value is a pointer to the memory object.
/// </summary>
public const u... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.