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 |
|---|---|---|---|---|
tests/Silverback.Integration.Tests/TestTypes/Domain/IIntegrationEvent.cs | mjeanrichard/silverback | 0 | 7032370 | <reponame>mjeanrichard/silverback
// Copyright (c) 2020 <NAME>
// This code is licensed under MIT license (see LICENSE file for details)
namespace Silverback.Tests.Integration.TestTypes.Domain
{
public interface IIntegrationEvent : IIntegrationMessage
{
}
}
|
src/OrchardCore.Modules/OrchardCore.Apis.GraphQL/Startup.cs | protoncm/OrchardCore | 2 | 7032371 | <reponame>protoncm/OrchardCore
using System;
using GraphQL;
using GraphQL.Http;
using GraphQL.Validation;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.... |
GenesisGameJam/Assets/Scripts/UI/ResourceUI.cs | savik-games/GenesisGameJam | 1 | 7032372 | <reponame>savik-games/GenesisGameJam<gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
using Random = UnityEngine.Random;
public class ResourceUI : MonoBehaviour {
[Header("Data"), Space]
[SerializeField] ResourceType type;
... |
Assets/QFramework/Framework/3.UI/UGUI/Script/QUIPanelStack.cs | Bian-Sh/QFramework | 1 | 7032373 | <filename>Assets/QFramework/Framework/3.UI/UGUI/Script/QUIPanelStack.cs
/****************************************************************************
* Copyright (c) 2018 vin129
*
* http://qframework.io
* https://github.com/liangxiegame/QFramework
* https://github.com/liangxiegame/QSingleton
* https://git... |
CSL Ambient Sounds Tuner/Migration/ConfigurationMigrator.cs | earalov/csl-ambient-sounds-tuner | 1 | 7032374 | <filename>CSL Ambient Sounds Tuner/Migration/ConfigurationMigrator.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using AmbientSoundsTuner2.CommonShared.Configuration;
using AmbientSoundsTuner2.Migration;
namespace AmbientSound... |
src/Middleware/Drapo/Pipe/DrapoPlumber.cs | heber-junior/drapo | 12 | 7032375 | <reponame>heber-junior/drapo
using Microsoft.AspNetCore.SignalR;
using Sysphera.Middleware.Drapo.Request;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sysphera.Middleware.Drapo.Pipe
{
public class... |
src/Modules/Laser.Orchard.NwazetIntegration/Controllers/AddressesController.cs | mkbiltek2019/Laser.Orchard.Platform | 1 | 7032376 | <gh_stars>1-10
using Laser.Orchard.NwazetIntegration.Models;
using Laser.Orchard.NwazetIntegration.Services;
using Laser.Orchard.NwazetIntegration.ViewModels;
using Laser.Orchard.PaymentGateway.Models;
using Nwazet.Commerce.Models;
using Nwazet.Commerce.Services;
using Orchard;
using Orchard.ContentManagement;
using O... |
Cirrious/Cirrious.MvvmCross.AutoView.Droid/Views/Lists/GeneralListItemViewFactory.cs | Ideine/MvvmCross | 0 | 7032377 | // GeneralListItemViewFactory.cs
// (c) Copyright Cirrious Ltd. http://www.cirrious.com
// MvvmCross is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in readme.md and license.txt
//
// Project Lead - Stuart Lodge, @slodge, <EMAIL>
using System.Collections.Generic;
using Andro... |
Assets/Scripts/CameraRotator.cs | Jaklans/3D-Game-of-Life | 0 | 7032378 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraRotator : MonoBehaviour
{
[SerializeField]
private Camera cam;
[SerializeField]
private Transform center;
private Vector3 prevPos;
// Update is called once per frame
void Update()
{
... |
src/ExchangeCrimeSceneCleanerCli/Program.cs | rogerbriggen/ExchangeCrimeSceneCleaner | 0 | 7032379 | // <NAME> license this file to you under the MIT license.
//
using System;
using System.Collections.Generic;
using Roger.Briggen.ExchangeCrimeSceneCleanerLib;
using Microsoft.Extensions.Configuration;
namespace Roger.Briggen.ExchangeCrimeSceneCleanerCli;
public class Program
{
public static void Main(string[] a... |
csharp/rosalind/GCContent.cs | abingham/rosalind | 0 | 7032380 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace rosalind
{
static public class GCContentCalculator
{
static public float GCContent(TextReader data)
{
Int32 cgCount = 0;
Int32 fullCount = 0;
Int32 b;
wh... |
Sensorium.UnitTests/MessageChannelFixture.cs | kzu/Sensorium | 0 | 7032381 | namespace Sensorium.UnitTests
{
using System;
using System.IO;
using System.Linq;
using System.Text;
using Xunit;
using Xunit.Extensions;
public class MessageChannelFixture
{
[Fact]
public void when_serializing_connect_then_can_roundtrip()
{
var mess... |
src/MonoDevelop/FileNestingStartupHandler.cs | wk-j/xamarin-studio-file-nesting | 0 | 7032382 | <gh_stars>0
using MadsKristensen.FileNesting;
using MonoDevelop.Components.Commands;
namespace MonoDevelop.FileNesting
{
class FileNestingStartupHandler : CommandHandler
{
protected override void Run ()
{
FileNestingFactory.Enable();
}
}
}
|
src/Cohesity.Powershell.Models/UserSshKey.cs | bseltz-cohesity/cohesity-powershell-module | 37 | 7032383 | // Copyright 2019 Cohesity Inc.
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.C... |
Kartverket.Metadatakatalog/Service/ErrorService.cs | kartverket/Geonorge.Kartkatalog | 1 | 7032384 | using System;
namespace Kartverket.Metadatakatalog.Service
{
public class ErrorService : IErrorService
{
private static readonly log4net.ILog Log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
public void AddError(string uuid, Exception error... |
sources/Interop/Windows/Windows/um/objidlbase/IRpcChannelBuffer2.cs | reflectronic/terrafx.interop.windows | 0 | 7032385 | <gh_stars>0
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/objidlbase.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runt... |
sample/ChartSamples/ChartTypes/PriceRangeFinancialCharts/ThreeLineBreak/ThreeLineBreakChartType.cs | vishal1009/winforms-datavisualization | 128 | 7032387 | using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;
using System.Windows.Forms.DataVisualization.Charting;
namespace ChartSamples
{
/// <summary>
/// Summary description for ThreeLineBreakChartType.
/// </summary>
public class Th... |
test/Atata.Tests/Bahaviors/ValueClear/ValueClearBehaviorAttributeTests.cs | nguyenthanhson/atata | 444 | 7032388 | <reponame>nguyenthanhson/atata
using System.Collections.Generic;
using NUnit.Framework;
namespace Atata.Tests.Bahaviors
{
public class ValueClearBehaviorAttributeTests : UITestFixture
{
private static IEnumerable<TestCaseData> Source =>
new[]
{
new TestCaseData(... |
challenges/ll_merge/ll_merge/ll_merge/Program.cs | ecaoile/Data-Structures-and-Algorithms | 0 | 7032389 | <gh_stars>0
using System;
using ll_merge.Classes;
namespace ll_merge
{
public class Program
{
static void Main(string[] args)
{
Console.WriteLine("Welcome to Whiteboard Challenge 08!\n");
SinglyLinkedList ll1 = new SinglyLinkedList(new Node(1));
ll1.AddLast... |
System/SharedStatics.cs | SinsofSloth/RF5-global-metadata | 1 | 7032390 | <gh_stars>1-10
internal sealed class SharedStatics // TypeDefIndex: 307
{
// Fields
private static readonly SharedStatics _sharedStatics; // 0x0
private Tokenizer.StringMaker _maker; // 0x10
// Methods
// RVA: 0x2645F70 Offset: 0x2646071 VA: 0x2645F70
private void .ctor() { }
// RVA: 0x263F540 Offset: 0x263F6... |
SevillaDotNet/App.xaml.cs | jorgediegocrespo/SevillaDotNet-IntroMAUI | 3 | 7032391 | namespace SevillaDotNet;
public partial class App : Application
{
public App(Demo3 demo3)
{
InitializeComponent();
MainPage = new NavigationPage(demo3);
}
}
|
src/TestEnvironment.Docker.Containers.Mongo/MongoSingleReplicaSetContainerParameters.cs | a-z-hub/testenvironment-docker | 0 | 7032392 | namespace TestEnvironment.Docker.Containers.Mongo
{
public record MongoSingleReplicaSetContainerParameters(string Name, string ReplicaSetName)
: ContainerParameters(Name, "mongo")
{
public ushort? CustomReplicaSetPort { get; init; }
}
}
|
services/csharp/IntegrationTest/GatewayPerformanceShould.cs | improbable/online-services | 39 | 7032393 | using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Grpc.Core;
using Improbable.OnlineServices.Proto.Gateway;
using Improbable.OnlineServices.Proto.Invite;
using Improbable.OnlineServices.Proto.Party;
using Improbable.SpatialOS.Platform.Common;
using Improbable.Sp... |
test/Microsoft.AspNet.WebHooks.Receivers.Test/Extensions/DependencyScopeExtensionsTests.cs | smunish/AspNetWebHooks | 97 | 7032394 | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Web.Http;
using System.Web.Http.Dependencies;
using Microsoft.AspNet.WebHooks.Config;
using Moq;
using X... |
sdk/core/Azure.Core/tests/ClientOptionsTests.cs | DiskRP-Swagger/azure-sdk-for-net | 3,268 | 7032395 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using Azure.Core.Pipeline;
using Azure.Core.Samples;
using Azure.Core.TestFramework;
using NUnit.Framework;
namespace Azure.Core.Tests
{
[NonParalleliz... |
PizzaProject/PizzaProject.Domain/Core/IRepository.cs | manacespereira/pizza-project-server | 0 | 7032396 | <reponame>manacespereira/pizza-project-server
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
namespace PizzaProject.Domain.Core
{
public interface IRepository<T> where T : Entity
{
public void Add(T entity);
public void Update(T entity);
... |
source/Appccelerate.EventBroker.Specs/HandlerRestrictions/HandlerRestrictionEvent.cs | michaelestermann/eventbroker | 18 | 7032397 | //-------------------------------------------------------------------------------
// <copyright file="HandlerRestrictionEvent.cs" company="Appccelerate">
// Copyright (c) 2008-2020
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with th... |
C4/Colours.cs | Grahame-student/C4 | 0 | 7032398 | using System;
using System.Drawing;
using C4.LibC4;
namespace C4.Gui
{
internal class Colours
{
public Color Light { get; }
public Color Dark { get; }
public Color Outline { get; }
public Colours(Token player)
{
Outline = Color.Black;
Light = pl... |
net-remoting/Remoting-Expanded/RemotingLibraryExpanded/RemotingLibraryDLL.cs | parsiya/Parsia-Code | 21 | 7032399 | <reponame>parsiya/Parsia-Code
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
namespace RemotingLibraryExpanded
{
public class RemoteMathExpanded : MarshalByRefObject
{
public int Add(int a, int b)... |
Data/YJC.Toolkit.Data/Data/QueryConditionObject.cs | madiantech/tkcore | 4 | 7032400 | <filename>Data/YJC.Toolkit.Data/Data/QueryConditionObject.cs
using System.Collections.Generic;
using System.Linq;
using YJC.Toolkit.Sys;
namespace YJC.Toolkit.Data
{
[RegClass(Author = "YJC", CreateDate = "2014-01-14", Description = "存储查询条件的对象")]
public class QueryConditionObject : IReadObjectCallBack
{
... |
SharpAttack/Commands/DumpProcess.cs | R3dFruitRollUp/SharpAttack | 216 | 7032401 | using System;
using System.Collections.Generic;
using SharpSploit.Enumeration;
using SharpAttack.Utils;
namespace SharpAttack.Commands
{
class DumpProcess : Command
{
public override void Run(Dictionary<String, Parameter> RunParams)
{
int id = -1;
string OutputPath = Host.GetCurrentDirectory(... |
DemiCode.Data.Fakes.FakeItEasy/FakeScope.cs | KodeCompagniet/demicode-data | 0 | 7032402 | <filename>DemiCode.Data.Fakes.FakeItEasy/FakeScope.cs
using System;
using System.Linq;
using DemiCode.Data.Scopes;
using FakeItEasy;
namespace DemiCode.Data.Fakes.FakeItEasy
{
/// <summary>
/// A one-repo fake scope.
/// </summary>
public class FakeScope<TRepository> : FakeScopeBase, IScope<TRepository... |
ClipboardZanager/Sources/ClipboardZanager.Core.Desktop/Hooking/MouseHook.cs | veler/clipboardzanager | 90 | 7032403 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using ClipboardZanager.Core.Desktop.ComponentModel;
using ClipboardZanager.Core.Desktop.Enums;
using ClipboardZanager.Core.Desktop.Events;
using ClipboardZanager.Core.Desktop.Interop;
using ClipboardZanager.Core.De... |
AR_Playground/Assets/_Scripts/CubeManager.cs | Andorr/AR_UnityGame | 5 | 7032404 | <reponame>Andorr/AR_UnityGame
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Vuforia;
public class CubeManager : MonoBehaviour, ITrackableEventHandler
{
protected TrackableBehaviour mTrackableBehaviour;
public bool cubeSeen = false;
#region EVENTS
public delegate... |
NCacheIdentityServer4/src/IdentityServer4.NCache/Mappers/DeviceFlowCodesMappers.cs | Aussama-Ul-Islam/NCache-Solutions | 9 | 7032405 | <filename>NCacheIdentityServer4/src/IdentityServer4.NCache/Mappers/DeviceFlowCodesMappers.cs<gh_stars>1-10
using IdentityModel;
using IdentityServer4.Models;
using IdentityServer4.NCache.Entities;
using IdentityServer4.Stores.Serialization;
namespace IdentityServer4.NCache.Mappers
{
public static class DeviceFlow... |
Playground.MediatR.Cafe/Playground.MediatR.Cafe/Models/Dispensers/AbstractDispenser.cs | wsantosdev/playground-mediatr | 0 | 7032406 | using System;
namespace Playground.MediatR.Cafe.Models
{
public abstract class AbstractDispenser
{
public int AvailableDoses { get; private set; } = 10;
public Drink Dispense()
{
if (AvailableDoses <= 0)
throw new InvalidOperationException("There is no avai... |
SistemaPedidos.Application/ClienteAppService.cs | altomare1/ModeloApi.NetCore | 0 | 7032407 | <gh_stars>0
using SistemaPedidos.Application.Interface;
using SistemaPedidos.Domain.Entities;
using SistemaPedidos.Domain.Interfaces.Services;
using System.Collections.Generic;
namespace SistemaPedidos.Application
{
public class ClienteAppService : AppServiceBase<Cliente>, IClienteAppService
{
private... |
src/DSerfozo.RpcBindings.CefGlue/Renderer/Model/CefPropertyDescriptor.cs | rpc-bindings/cefglue | 1 | 7032408 | <reponame>rpc-bindings/cefglue
using DSerfozo.CefGlue.Contract.Common;
using DSerfozo.RpcBindings.Model;
namespace DSerfozo.RpcBindings.CefGlue.Renderer.Model
{
public class CefPropertyDescriptor : PropertyDescriptor
{
public ICefValue ListValue { get; }
public CefPropertyDescriptor(long id, ... |
src/Core/Internal/SystemLifetime.cs | iotbusters/assistant.net | 0 | 7032409 | <filename>src/Core/Internal/SystemLifetime.cs
using System.Threading;
using Assistant.Net.Abstractions;
using System;
namespace Assistant.Net.Internal
{
/// <summary>
/// Default system lifetime implementation.
/// </summary>
internal class SystemLifetime : ISystemLifetime
{
private rea... |
TsdClient/Units.cs | bngreen/metrics-client-csharp | 0 | 7032410 | <reponame>bngreen/metrics-client-csharp<filename>TsdClient/Units.cs<gh_stars>0
/*
* 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
*
* ... |
Assets/Scripts/Manager/Utils.cs | ChengjiuQJ/InfinityDEMO | 0 | 7032411 | <reponame>ChengjiuQJ/InfinityDEMO<filename>Assets/Scripts/Manager/Utils.cs
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public static class ExtensionMethods
{
public static float GetPathRemainingDistance(this NavMeshAgent navMeshAgent)
{
if (navMeshAgent.path... |
sdk/eventhub/Azure.Messaging.EventHubs/tests/Errors/EventHubsExceptionTests.cs | sojain/azure-sdk-for-net | 1 | 7032412 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using Azure.Messaging.EventHubs.Errors;
using NUnit.Framework;
namespace Azure.Messaging.EventHubs.Tests
{
/// <summary>
/// The suite of tests ... |
OMDUC_EMU/NetworkProtocols/CreateGuildLogEntryForNetwork.cs | PermaNulled/OMDUC_EMU_CSharp | 2 | 7032413 | <reponame>PermaNulled/OMDUC_EMU_CSharp<gh_stars>1-10
using System;
namespace NetworkProtocols
{
// Token: 0x02000775 RID: 1909
public class CreateGuildLogEntryForNetwork : GuildLogEntryForNetwork
{
// Token: 0x060043C8 RID: 17352 RVA: 0x0002712E File Offset: 0x0002532E
public CreateGuildLogEntryForNetw... |
pickture-viewer/pickture/ImageRegion.xaml.cs | stoneMcClane/pickture | 0 | 7032414 | using System;
using System.Collections.Generic;
using System.Drawing.Imaging;
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... |
Runtime/Repositories/KeyValue/SimpleKeyValueRepository.cs | Juce-Assets/Juce-Core | 2 | 7032415 | <filename>Runtime/Repositories/KeyValue/SimpleKeyValueRepository.cs<gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
namespace Juce.Core.Repositories
{
public class SimpleKeyValueRepository<TId, TObject> : IKeyValueRepository<TId, TObject>
{
private readonly Dictionary<TId, TObject> ... |
src/wizards/Templates/Web/Areas/Core/Views/Tenant/Index.cshtml | DavidFWang/Sage300-SDK | 0 | 7032416 | @* Copyright (c) 2017 Sage Software, Inc. All rights reserved. *@
@model Sage.CA.SBS.ERP.Sage300.Core.Web.Models.TenantViewModel
@using Sage.CA.SBS.ERP.Sage300.Common.Resources
@using Sage.CA.SBS.ERP.Sage300.Common.Resources.Utilities
@using Sage.CA.SBS.ERP.Sage300.Common.Web.HtmlHelperExtension
@using Sage.CA.SBS.ER... |
Schedule/Models/Repositories/FacultyRepository.cs | Grischenkov/Schedule | 0 | 7032417 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Schedule.ModelInterfaces;
namespace Schedule.Models.Repositories
{
public class FacultyRepository : IFaculty
{
private readonly DbContent _dbContent;
public FacultyRepository(DbC... |
SpExplorer.UI.Auth/SpExplorer.UI.Auth/SpAuthHelper.cs | xsolon/spexplorer | 0 | 7032418 | using Microsoft.SharePoint.Client;
using System;
using System.Net;
using System.Threading;
using System.Windows.Forms;
using SPExplorer.UI.UI.Controls.Panels;
using static SPExplorer.UI.Auth.CSOMAuthenticationParams;
namespace SPExplorer.UI.Auth
{
public static class ClaimClientContext
{
/// <summary>... |
BurningKnight/level/entities/Teleporter.cs | kwokfu/BurningKnight | 282 | 7032419 | <filename>BurningKnight/level/entities/Teleporter.cs
using BurningKnight.assets.lighting;
using BurningKnight.entity;
using BurningKnight.entity.component;
using BurningKnight.entity.creature;
using BurningKnight.entity.creature.player;
using BurningKnight.entity.door;
using BurningKnight.entity.events;
using BurningKn... |
src/Hyperion.Akka.Integration.Tests/IntegrationSpec.cs | object/Hyperion | 1 | 7032420 | using System;
using Akka.Actor;
using Akka.Configuration;
using Akka.Serialization;
using Xunit;
using Akka.TestKit;
using Akka.TestKit.Xunit2;
using FluentAssertions;
using Xunit.Abstractions;
using AkkaSerializer = Akka.Serialization.Serializer;
namespace Hyperion.Akka.Integration.Tests
{
public class Integratio... |
ImageViewer/StudyManagement/PatientCollection.cs | SNBnani/Xian | 1 | 7032421 | #region License
// Copyright (c) 2011, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSLv3.0
#endregion
using ClearCanvas.Common.Utilities;
namespace ... |
Material.Demo/ViewModels/DialogDemoViewModel.cs | Maruhl/Material.Avalonia | 0 | 7032422 | using Material.Dialog;
using Avalonia.Controls;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Avalonia;
using Avalonia.Media.Imaging;
using Avalonia.Platform;
using Material.Dialog.Enums;
namespace Material.Demo.ViewModels
{
public class DialogDemoViewModel... |
editor source/SPNATI Character Editor/Charts/Builders/TargetedCharacterBuilder.cs | laytonc32/spnati | 0 | 7032423 | <filename>editor source/SPNATI Character Editor/Charts/Builders/TargetedCharacterBuilder.cs
using System;
using System.Collections.Generic;
namespace SPNATI_Character_Editor.Charts.Builders
{
[Chart(ChartType.Bar, 4)]
public class TargetedCharacterBuilder : GenderedBuilder
{
public override string GetLabel()
{... |
MeetingServer/MeetingSystem/Message/VoteMessageHandler.cs | peteryu54089/android-meeting | 0 | 7032424 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MeetingSystem.Client;
using System.IO;
using MeetingSystem.Utils;
using System.ComponentModel;
using System.Collections;
using MeetingSystem.Vote;
using MeetingSystem.Structure;
using MeetingSystem.Server;
using System.Globaliz... |
screencasting/cs/Scenario1_Use_Picker.xaml.cs | nishkrish/Windows-universal-samples | 4 | 7032425 | <filename>screencasting/cs/Scenario1_Use_Picker.xaml.cs
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, ... |
src/Chloe.PostgreSQL/MethodHandlers/AddDays_Handler.cs | shuxinqin/Chloe | 1,519 | 7032426 | using Chloe.DbExpressions;
using Chloe.RDBMS;
using System.Collections.Generic;
namespace Chloe.PostgreSQL.MethodHandlers
{
class AddDays_Handler : IMethodHandler
{
public bool CanProcess(DbMethodCallExpression exp)
{
if (exp.Method.DeclaringType != PublicConstants.TypeOfDateTime)
... |
Passport/Forms/MainForm.cs | Kounty2Rolen/Passport-Recognize | 0 | 7032427 | 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;
using PassportRecognize.Controls.Context;
namespace PassportRecognize
{
public partial class MainFo... |
src/BitGo/BitGoClient.cs | MyJetWallet/MyJetWallet.BitGo | 1 | 7032428 | namespace MyJetWallet.BitGo
{
public class BitGoClient : IBitGoClient
{
private BitGoApi _main;
private BitGoApi _test;
public BitGoClient(string accessTokenMainnet, string accessTokenTestnet)
{
_main = new BitGoApi(accessTokenMainnet, BitGoNetwork.Main);
... |
src/Files.Uwp/ViewModels/Previews/BasePreviewModel.cs | ScriptBox99/community-Files | 0 | 7032429 | using Files.Uwp.Filesystem;
using Files.Uwp.Filesystem.StorageItems;
using Files.Uwp.Helpers;
using Files.Backend.Services.Settings;
using Files.Uwp.ViewModels.Properties;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.DependencyInjection;
using Microsoft.Toolkit.Uwp;
using System;
using Syste... |
BaristaLabs.ChromeDevTools.Runtime/Overlay/NodeHighlightRequestedEvent.cs | JTOne123/chrome-dev-tools-runtime | 32 | 7032430 | namespace BaristaLabs.ChromeDevTools.Runtime.Overlay
{
using Newtonsoft.Json;
/// <summary>
/// Fired when the node should be highlighted. This happens after call to `setInspectMode`.
/// </summary>
public sealed class NodeHighlightRequestedEvent : IEvent
{
/// <summary>
/// Get... |
Simple.OData.Client.V3.Adapter/EdmTypeMap.cs | coolOrange-Public/Simple.OData.Client | 0 | 7032431 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Spatial;
using System.Xml.Linq;
using Microsoft.Data.Edm;
using Simple.OData.Client.Extensions;
namespace Simple.OData.Client.V3.Adapter
{
public class EdmTypeMap : IEdmTypeMap
{
public IEnumerable<Type> GetTypes(obje... |
src/Protocol/Models/Proposals/CallHierarchyRegistrationOptions.cs | kamit9171/csharp-language-server-protocol | 0 | 7032432 | using System;
using System.Collections.Generic;
using System.Linq;
using OmniSharp.Extensions.JsonRpc;
using OmniSharp.Extensions.LanguageServer.Protocol.Document;
using OmniSharp.Extensions.LanguageServer.Protocol.Server.Capabilities;
namespace OmniSharp.Extensions.LanguageServer.Protocol.Models.Proposals
{
/// ... |
src/AptTool/Apt/Impl/DpkgService.cs | adfernandes/apt-tool | 16 | 7032433 | <filename>src/AptTool/Apt/Impl/DpkgService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using AptTool.Process;
using BindingAttributes;
namespace AptTool.Apt.Impl
{
[Binding(typeof(IDpkgService))]
public class DpkgService : IDpkgService
{
private readonly IProcessRunner _pr... |
Services/Iam/V3/Model/LoginToken.cs | cnblogs/huaweicloud-sdk-net-v3 | 19 | 7032434 | using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using HuaweiCloud.SDK.Core;
namespace HuaweiCloud.SDK.Iam.V3.Model
{
/// <summary>
///
/// </summary>
public class LoginTok... |
Models/InputModels/SociFamiliari/SocioFamiliareEditInputModel.cs | AngeloDotNet/RegistroServizi | 0 | 7032435 | <reponame>AngeloDotNet/RegistroServizi
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc;
using RegistroServizi.Controllers;
namespace RegistroServizi.Models.InputModels.SociFamiliari
{
public class SocioFamiliareEditInputModel
{
[Required]
public int Id { get; set; }
... |
src/todo-module/TodoModule.EntityFrameworkCore/EntityFrameworkCore/DbContextOptionsConfigurer.cs | aykutmayali/modular-todo-app | 19 | 7032436 | <reponame>aykutmayali/modular-todo-app
using System.Data.Common;
using Microsoft.EntityFrameworkCore;
namespace TodoModule.EntityFrameworkCore
{
public static class DbContextOptionsConfigurer
{
public static void Configure(DbContextOptionsBuilder<TodoModuleDbContext> builder, string connectionString)
... |
cognipy/CogniPyLib/CogniPySvr.cs | GrzegorzKanka/cognipy | 1 | 7032437 | <filename>cognipy/CogniPyLib/CogniPySvr.cs
using CogniPy.ARS;
using CogniPy.CNL;
using CogniPy.Executing.HermiTClient;
using CogniPy.models;
using CogniPy.Splitting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.RegularExpressions;
nam... |
MemoScope/Modules/Referers/ReferersModule.Designer.cs | user2291296/MemoScope.Net | 700 | 7032438 | <reponame>user2291296/MemoScope.Net
namespace MemoScope.Modules.Referers
{
partial class ReferersModule
{
/// <summary>
/// Variable nécessaire au concepteur.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Nettoyag... |
Component/CommonCode/CC_DllInvoker/CoreModels/OneMethod.cs | xzssws/Code-Reuse | 0 | 7032439 | using System;
using System.Reflection;
namespace CC_DllInvoker
{
/// <summary>
/// 方法描述对象
/// </summary>
[Serializable]
public class OneMethod
{
#region 构造函数
/// <summary>
/// 构建一个方法描述对象
/// </summary>
/// <param name="returnType">方法返回值</param>
... |
Assets/Scripts/VFX/Rotater.cs | Tayrtahn/ggj2022 | 0 | 7032440 | using UnityEngine;
public class Rotater : MonoBehaviour
{
[SerializeField] bool shouldPingPong = true;
[SerializeField] Vector3 rotateVector;
void Update()
{
if (shouldPingPong)
transform.Rotate(rotateVector * Time.deltaTime * (1.0f - Mathf.PingPong(Time.time, 2.0f) ));
els... |
System.Web/Compilation/CompilationLock.cs | ludovic-henry/referencesource | 3 | 7032441 | //------------------------------------------------------------------------------
// <copyright file="CompilationLock.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------... |
Comparly/Comparly.Data/Dtos/RapidApiResponseDto.cs | LontraX/Comparly | 0 | 7032442 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Comparly.Data.Dtos
{
public class RapidApiResponseDto
{
public double similarity { get; set; }
public double value { get; set; }
public string version { get; se... |
ProxyStructuralPattern/ProxyClasses/PortalUserRepositoryProxy.cs | polux2016/designpatterns | 0 | 7032443 | using ProxyStructuralPattern.Contract;
using ProxyStructuralPattern.Models;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
namespace ProxyStructuralPattern.ProxyClasses
{
public class PortalUserRepositoryProxy: IUserRepositoryProxy
{
private IUserRepository ... |
Day05/Day05/Program.cs | cile-bgd/AdventOfCode2020 | 0 | 7032444 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Day05
{
class Program
{
static void Main(string[] args)
{
var boardingPasses = new List<BoardingPass>();
const string fileName = @"../../../input.txt";
var input = ... |
src/AspnetRun.Application/Interfaces/ICategoryService.cs | aspnetrun/run-angular-sample | 266 | 7032445 | <filename>src/AspnetRun.Application/Interfaces/ICategoryService.cs
using AspnetRun.Application.Models;
using AspnetRun.Core.Paging;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace AspnetRun.Application.Interfaces
{
public interface ICategoryService
{
Task<IEnumerable<Category... |
snippets/csharp/VS_Snippets_Wpf/BrushesIntroduction_snip/CSharp/TileModeExample.cs | ericmutta/samples | 1 | 7032446 | // <SnippetGraphicsMMDrawingBrushTileModeExample>
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
namespace BrushesIntroduction
{
public class TileModeExample : Page
{
... |
sdk/dotnet/ContainerService/Inputs/KubernetesClusterRoleBasedAccessControlAzureActiveDirectoryArgs.cs | adnang/pulumi-azure | 0 | 7032447 | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... |
Shoplify/Shoplify.Web/Controllers/CommentController.cs | KostadinovK/Shoplify | 3 | 7032448 | using System.Linq;
using Microsoft.Data.SqlClient;
using Shoplify.Services.Models;
namespace Shoplify.Web.Controllers
{
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Shoplify.Dom... |
VideoWeb/VideoWeb.UnitTests/Controllers/ParticipantController/UpdateJudgeDisplayNameTests.cs | hmcts/vh-video-web | 9 | 7032449 | using FluentAssertions;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Moq;
using NUnit.Framework;
using System;
using System.Net;
using System.Threading.Tasks;
using VideoWeb.Common.Models;
using VideoWeb.Controllers;
using VideoWeb.EventHub.Handlers.Core;
using VideoApi.Client;
using VideoWeb.... |
System.Maui.Platform.Android/Renderers/IShellSectionRenderer.cs | Skyprx/maui | 3 | 7032450 | using System;
namespace System.Maui.Platform.Android
{
public interface IShellSectionRenderer : IShellObservableFragment, IDisposable
{
ShellSection ShellSection { get; set; }
}
} |
Runtime/text-property-utils/FormatText.cs | beatthat/text-property-utils | 0 | 7032451 | <reponame>beatthat/text-property-utils
using System;
using BeatThat.Pools;
using BeatThat.TransformPathExt;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.Serialization;
namespace BeatThat.Properties
{
/// <summary>
/// Use a format string for text and plugin properties to supply the inputs.
... |
fCraft/Drawing/DrawOps/CuboidDrawOperation.cs | MCClassicServerArchive/ProCraft | 9 | 7032452 | // Part of fCraft | Copyright 2009-2015 <NAME> <<EMAIL>> | BSD-3 | See LICENSE.txt //Copyright (c) 2011-2013 <NAME>, <NAME> and <NAME> <<EMAIL>> //Copyright (c) <2012-2014> <LeChosenOne, DingusBungus> | ProCraft Copyright 2014-2019 <NAME> <<EMAIL>>
namespace fCraft.Drawing {
/// <summary> Draw operation that crea... |
XamarinFormsBug31415Sample/XamarinFormsBug31415Sample/ViewModels/ViewModelBase.cs | GiusepeCasagrande/XamarinFormsBug31415Sample | 0 | 7032453 | <gh_stars>0
using System;
using System.Reactive.Disposables;
using XamarinFormsBug31415Sample.Utils;
using ReactiveUI;
using Splat;
namespace XamarinFormsBug31415Sample.ViewModels
{
public class ViewModelBase : ReactiveObject, IRoutableViewModel
{
public string UrlPathSegment
{
get;... |
uTinyRipperCore/Parser/Classes/PhysicMaterial/JointSpring.cs | JosephTico/UtinyRipper | 2,066 | 7032454 | <filename>uTinyRipperCore/Parser/Classes/PhysicMaterial/JointSpring.cs
using uTinyRipper.Converters;
using uTinyRipper.YAML;
namespace uTinyRipper.Classes.PhysicMaterials
{
public struct JointSpring : IAssetReadable, IYAMLExportable
{
public void Read(AssetReader reader)
{
Spring = reader.ReadSingle();
Da... |
Nexmo.Api/Voice/Nccos/StreamAction.cs | bawoodruff/nexmo-dotnet | 0 | 7032455 | <gh_stars>0
using Newtonsoft.Json;
namespace Nexmo.Api.Voice.Nccos
{
public class StreamAction : NccoAction
{
[JsonProperty("streamUrl")]
public string StreamUrl { get; set; }
[JsonProperty("level")]
public string Level { get; set; }
[JsonProperty("bargeIn")]
... |
FiveRingsDb/Startup.cs | fatihi/fiveringsdb | 12 | 7032456 | <gh_stars>10-100
using System.Text.Json.Serialization;
using FiveRingsDb.Models;
using FiveRingsDb.Repositories;
using FiveRingsDb.Utils;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration... |
DirectN/DirectN/Generated/_D3DDDI_DLIST_QUERY_RESULT.cs | Steph55/DirectN | 124 | 7032457 | <filename>DirectN/DirectN/Generated/_D3DDDI_DLIST_QUERY_RESULT.cs
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\d3dumddi.h(4734,9)
namespace DirectN
{
public enum _D3DDDI_DLIST_QUERY_RESULT
{
D3DDDI_DLIST_QUERY_RESULT_NO_DATA = 0,
D3DDDI_DLIST_QUERY_RESULT_POWER_SAVING... |
osu.Game.Rulesets.tau/Replays/tauAutoGenerator.cs | Kronos019/tau | 0 | 7032458 | <filename>osu.Game.Rulesets.tau/Replays/tauAutoGenerator.cs
// Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Game.Beatmaps;
using osu.Game.Replays;
using osu.Game.Rulesets.Replays;
using osu.Game.Rulesets.T... |
src/shared/Microsoft.AzureRepos/AzureReposHostProvider.cs | abuwely/Git-Credential-Manager-Core | 2 | 7032459 | <gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Git.CredentialManager;
using Microsoft.Git.CredentialManager.Authentication;
using Microsoft.Ide... |
VectorProject/Lab/Assets/PlayerInput.cs | kompyang/UnityGamePlayPocketLab | 0 | 7032460 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerInput : MonoBehaviour
{
private Camera cam;
public GameObject box_prefeb;
// Use this for initialization
private void Start()
{
cam = this.GetComponent<Camera>();
}
private void OnCl... |
ReoGrid/EventArgs.BeforeDragCellDataChangedEventArgs.cs | regous/ReoGrid | 0 | 7032461 | using System;
using System.Collections.Generic;
using System.Text;
namespace unvell.ReoGrid.Events
{
public class BeforeDragCellDataChangedEventArgs : BeforeCellDataChangedEventArgs
{
public List<CellPosition> FromCells { get; private set; }
public List<CellPosition> ToCells { get; private set... |
tests/Prometheus.Client.Benchmarks/Summary/SummaryCreation.cs | jakubneubauer/prom-client | 72 | 7032462 | using BenchmarkDotNet.Attributes;
using Prometheus.Client.Collectors;
namespace Prometheus.Client.Benchmarks.Summary
{
[MemoryDiagnoser]
[MinColumn, MaxColumn, MeanColumn, MedianColumn]
public class SummaryCreation
{
private IMetricFactory _factory;
[GlobalSetup]
public void Se... |
src/ChangeLog/Templates/_Base/ScribanBaseTemplate.cs | ap0llo/changelog-creator | 5 | 7032463 | <reponame>ap0llo/changelog-creator<gh_stars>1-10
using System;
using System.Collections;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using Grynwald.ChangeLog.Configuration;
using Grynwald.ChangeLog.Git;
using Grynwald.ChangeLog.IO;
using Grynwald.ChangeLog.Model;
using Grynwald.Chan... |
PowerMode/Commands/ToggleAudioCommand.cs | tomfrenzel/PowerMode | 89 | 7032464 | namespace BigEgg.Tools.PowerMode.Commands
{
using System;
using System.ComponentModel.Design;
using Microsoft.VisualStudio.Shell;
using BigEgg.Tools.PowerMode.Services;
internal sealed class ToggleAudioCommand : CommandHandler
{
private ToggleAudioCommand()
: base(Command... |
Prototype/Assets/Scripts/UI/Item.cs | cortexarts/Otter-Space-prototype | 1 | 7032465 | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(fileName = "New Item", menuName = "Item")]
public class Item : ScriptableObject {
public Sprite icon;
public string m_Symbol;
[TextArea]
public string discoveryText;
public string discoveryTitle;
p... |
osu.Game/Screens/Play/BreaksOverlay/BreakOverlay.cs | fangerm/osu | 1 | 7032466 | // Copyright (c) 2007-2017 ppy Pty Ltd <<EMAIL>>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osu.Game.Beatmaps.Timing;
using osu.Game.Rulesets.Scor... |
src/TaskWhenAnyResult.cs | hanabi1224/peer-talk | 0 | 7032467 | <filename>src/TaskWhenAnyResult.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace PeerTalk
{
/// <summary>
/// Some helpers for tasks.
/// </summary>
public class TaskHelper
{
/// <summ... |
Models/ITwitterCard.cs | petrsvihlik/petrsvihlik.com | 1 | 7032468 | using Kentico.Kontent.Delivery.Abstractions;
namespace PetrSvihlik.Com.Models
{
public interface ITwitterCard
{
string TwitterTitle { get; }
string TwitterDescription { get; }
string TwitterCreator { get; }
string TwitterSite => TwitterCreator;
IAsset TwitterImage { get... |
Views/Home/Copy of Index.cshtml | junaid1460/discussion_forum | 0 | 7032469 | @{
Layout = "~/views/shared/_layout-3H.cshtml";
}
<style>
.sl-mj {
position:fixed;z-index:100000;width:100%
}
.slider-nav {
margin:0 auto;
text-align:center;background:linear-gradient(to left,rgba(0,0,0,0)rgba(0,0,0,1)rgba(0,0,0,0));padding:7px;
}
.slider-nav .sna... |
SaveYourTown/Assets/Scripts/GameLib/System/Controller/InputFactory.cs | Thorig/LDJam44 | 0 | 7032470 | <filename>SaveYourTown/Assets/Scripts/GameLib/System/Controller/InputFactory.cs
namespace GameLib.System.Controller
{
public class InputFactory : IInputFactory
{
private static IInputFactory instance;
private InputFactory()
{
}
public static IInputFactory getInstance(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.