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/Platform/XLabs.Platform.WinRT.Phone/Services/Geolocation/Geolocator.cs | eComanda/Xamarin-Forms-Labs | 1,407 | 7027420 | <reponame>eComanda/Xamarin-Forms-Labs
// ***********************************************************************
// Assembly : XLabs.Platform.WP81
// Author : XLabs Team
// Created : 01-01-2016
//
// Last Modified By : XLabs Team
// Last Modified On : 01-04-2016
// *************************... |
src/Core/Backend.Core.DDD.Tests.External/Handlers/CommandHandlers.cs | murbanowicz/GoldenEye | 2 | 7027421 | using System.Threading;
using System.Threading.Tasks;
using Backend.Core.DDD.Tests.External.Contracts;
using GoldenEye.Backend.Core.DDD.Commands;
using MediatR;
namespace Backend.Core.DDD.Tests.External.Handlers
{
public class CommandHandler: ICommandHandler<CreateBankAccount>, ICommandHandler<WithdrawMoney>
{... |
src/MvcMusicStore/Models/ShoppingCart.cs | lun3322/MusicStore | 0 | 7027422 | using System;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
namespace MvcMusicStore.Models
{
public class ShoppingCart
{
public const string CartSessionKey = "CartId";
private readonly MusicStoreEntities _storeContext;
... |
GPUVerifyVCGen/GPUVerifyVCGenCommandLineOptions.cs | cs17resch01003/gpuverify | 43 | 7027423 | <gh_stars>10-100
//===-----------------------------------------------------------------------==//
//
// GPUVerify - a Verifier for GPU Kernels
//
// This file is distributed under the Microsoft Public License. See
// LICENSE.TXT for details.
//
//===------------------------------------------------------... |
Assets/[Scripts]/EnemyController.cs | RodneyDickson/GAME2014-F2021-Lab11 | 0 | 7027424 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemyController : MonoBehaviour
{
[Header("Player Detection")]
public LOS enemyLOS;
[Header("Movement")]
public float runForce;
public Transform lookAheadPoint;
public Transform lookInFrontPoint;
... |
src/Checkout.BlackPanther.CardProcessing/RequestDto.cs | fazley-kholil-cko/BlackPanther | 0 | 7027425 | using System;
using System.Collections.Generic;
using System.Text;
namespace Checkout.BlackPanther.CardProcessing
{
public class RequestDto
{
public Guid correlationId { get; set; }
public string email { get; set; }
public int value { get; set; }
public string currency { get; s... |
Bridge.Pixi/Core/Text.cs | Razenpok-Graveyard/Bridge.Pixi | 2 | 7027426 | <gh_stars>1-10
using Bridge.Html5;
namespace Bridge.Pixi
{
/// <summary>
/// A Text Object will create a line or multiple lines of text.
/// To split a line you can use '\n' in your text string, or add a wordWrap property set to
/// true and and WordWrapWidth property with a value in the style object.
/// </summa... |
tests/FizzWare.NBuilder.Tests/Unit/BuilderSetupTests.cs | Doug-Murphy/nbuilder | 325 | 7027427 | <filename>tests/FizzWare.NBuilder.Tests/Unit/BuilderSetupTests.cs
using System;
using System.Collections.Generic;
using FizzWare.NBuilder.Tests.Integration;
using FizzWare.NBuilder.Tests.Integration.Models;
using FizzWare.NBuilder.Tests.TestClasses;
using NSubstitute;
using Shouldly;
using Xunit;
namespa... |
src/JsonApiDotNetCore/Serialization/Common/DocumentBuilder.cs | bjornharrtell/JsonApiDotNetCore | 0 | 7027428 | using System;
using System.Collections.Generic;
using System.IO;
using JsonApiDotNetCore.Models;
using JsonApiDotNetCore.Models.Annotation;
using Newtonsoft.Json;
namespace JsonApiDotNetCore.Serialization
{
/// <summary>
/// Abstract base class for serialization.
/// Uses <see cref="IResourceObjectBuilder"... |
PPStore/Migrations/20200131124345_AddMultiPizzaOrderAndAppUser.cs | DonOsman/pp_store | 0 | 7027429 | <filename>PPStore/Migrations/20200131124345_AddMultiPizzaOrderAndAppUser.cs
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace PPStore.Migrations
{
public partial class AddMultiPizzaOrderAndAppUser : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
... |
NtApiDotNet/ReparseBuffer.cs | MCMrARM/sandbox-attacksurface-analysis-tools | 1,024 | 7027431 | <filename>NtApiDotNet/ReparseBuffer.cs<gh_stars>1000+
// Copyright 2019 Google Inc. 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.
// You may obtain a copy of the License at
//
// http://www.apache.org/... |
PreKMathMenu.xaml.cs | daniyyelby/ElementarySchoolGame | 0 | 7027432 | 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.Med... |
Libs/Gio/Core/Classes/DBus/Connection.cs | knuxbbs/gir.core | 0 | 7027433 | <reponame>knuxbbs/gir.core
using System;
using System.Threading.Tasks;
using GLib;
using GObject;
namespace Gio.DBus
{
public partial class Connection : GObject.Object
{
#region Properties
public Property<string> Address { get; }
public ReadOnlyProperty<bool> Closed { get; }
#en... |
GSTN.API.Library/Clients/LedgerApiClient.cs | SadanSuddala/GSTN-Code | 23 | 7027434 |
using Microsoft.VisualBasic;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using Risersoft.API.GSTN;
using Risersoft.API.GSTN.Ledger;
namespace Risersoft.API.GSTN
{
public class LedgerApiClient : GSTNReturnsClient
{
... |
DataTool/ToolLogic/Dbg/DebugModelSTU.cs | Mike111177/OWLib | 1 | 7027435 | using System.Collections.Generic;
using System.IO;
using System.Linq;
using DataTool.Flag;
using DataTool.Helper;
using DataTool.ToolLogic.Extract;
using TankLib;
using TankLib.Chunks;
using TankLib.STU.Types;
namespace DataTool.ToolLogic.Dbg {
[Tool("te-model-chunk-stu", Description = "", IsSensitive = true, Cust... |
test/Eventuous.Sut.Subs/TracedHandler.cs | Eventuous/eventuous | 190 | 7027436 | <filename>test/Eventuous.Sut.Subs/TracedHandler.cs
using System.Diagnostics;
using Eventuous.Subscriptions;
using Eventuous.Subscriptions.Context;
using Eventuous.TestHelpers;
namespace Eventuous.Sut.Subs;
public class TracedHandler : BaseEventHandler {
public List<RecordedTrace> Contexts { get; } = new();
s... |
Assets/Scripts/UserInterface/UISystem.cs | SolidID/BotF2.1 | 0 | 7027437 | using System;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Assets.Scripts.Debug;
using Assets.Scripts.Extensions;
using JetBrains.Annotations;
public class UISystem : MonoBehaviour
{
private int _counter = 0;
private List<RectTransform> _rects;
private sta... |
UnityExamples/RobotKinematics/Assets/RobotDynamics/RevoluteRobot.cs | EricVoll/RobotDynamicsLibrary | 6 | 7027438 | <reponame>EricVoll/RobotDynamicsLibrary<gh_stars>1-10
using RobotDynamics.Controller;
using RobotDynamics.MathUtilities;
using RobotDynamics.Robots;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RevoluteRobot : RobotBase
{
public List<double> angles;
... |
patches/tModLoader/Terraria.ModLoader.Default/ModLoaderMod.cs | Solxanich/tModLoader | 0 | 7027439 | using Microsoft.Xna.Framework.Graphics;
using System;
using System.IO;
using System.Linq;
using System.Reflection;
using Terraria.ModLoader.Default.Developer;
using Terraria.ModLoader.Default.Patreon;
namespace Terraria.ModLoader.Default
{
internal class ModLoaderMod : Mod
{
internal static ModLoaderMod Instance;
... |
src/NServiceBus.Core.Tests/Address/AddressTests.cs | marinkobabic/NServiceBus | 0 | 7027440 | namespace NServiceBus.Core.Tests
{
using NUnit.Framework;
[TestFixture]
public class AddressTests
{
[Test, Explicit("We can't run this test in CI because Address uses statics and setting this flag will make other tests fail. And the flag can't be unset!")]
public void HashCode_... |
Mindstorms.CLI/Commands/Beep.cs | Mortens4444/LegoMindstromsEV3 | 0 | 7027441 | <reponame>Mortens4444/LegoMindstromsEV3<gh_stars>0
using Mindstorms.Core.EV3;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Mindstorms.CLI.Commands
{
internal class Beep : ICliCommand
{
public string Name => nameof(Beep);
public void Action(ref Brick brick, IEnu... |
src/SimpleMusicPlayer/Core/AttachedCommandBehavior.cs | jianyuyanyu/simple-music-player | 328 | 7027442 | <filename>src/SimpleMusicPlayer/Core/AttachedCommandBehavior.cs
using System;
using System.Reflection;
using System.Windows;
using System.Windows.Input;
namespace SimpleMusicPlayer.Core
{
/// <summary>
/// thx to <NAME> http://sachabarber.net
/// </summary>
public static class AttachedCommandBehavior... |
Assets/App/Scripts/Scenes/Battle/Phases/BattlePhaseFloorSetup.cs | Toshizabeth/Ling | 0 | 7027443 | //
// BattlePhaseFloorSetup.cs
// ProductName Ling
//
// Created by <NAME> on 2020.05.02
//
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using UnityEngine.UI;
using Zenject;
namespace Ling.Scenes.Battle.Phases
{
/// <summary>
//... |
Test/h0wXD.Email.Service.TestApp/EmailServiceForm.cs | h0wXD/h0wXD | 1 | 7027444 | using System;
using System.Diagnostics;
using System.Threading;
using System.Windows.Forms;
using h0wXD.Email.Service.Interfaces;
namespace h0wXD.Email.Service.TestApp
{
public partial class EmailServiceForm : Form
{
private readonly IEmailDaemon _emailDaemon;
private readonly Thread _thread;
... |
LuckParser/Models/ParseModels/Mechanics/MechanicTypes/SkillOnPlayerMechanic.cs | MarsEdge/GW2-Elite-Insights-Parser | 0 | 7027445 | <filename>LuckParser/Models/ParseModels/Mechanics/MechanicTypes/SkillOnPlayerMechanic.cs
using LuckParser.Controllers;
using LuckParser.Parser;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
namespace LuckParser.Models.ParseModels
{
public class SkillOnPlayerMechani... |
Assets/Scripts/View/BoardView.cs | Wariar/SnakeGame | 0 | 7027446 | <reponame>Wariar/SnakeGame<filename>Assets/Scripts/View/BoardView.cs
using System;
using System.Collections.Generic;
using SnakeGame.Config;
using SnakeGame.Core;
using UnityEngine;
using UnityEngine.UI;
namespace SnakeView
{
public class BoardView : MonoBehaviour, IBoardView
{
public GameObject BoardC... |
Xamarin.UI.Controls.Demo/Xamarin.UI.Controls.Demo/Views/Pages/ControlsPage.xaml.cs | RobertBickers/xamarin-ui-controls | 0 | 7027447 | using System.Collections.Generic;
using System.Threading.Tasks;
using System.Windows.Input;
using MvvmHelpers;
using Xamarin.Forms;
namespace Xamarin.UI.Controls.Demo.Views.Pages
{
public partial class ControlsPage : ContentPage
{
public ControlsPage()
{
InitializeComponent();
BindingContext = new Contro... |
src/KaiHeiLa.Net.Core/Entities/Badges/BadgeStyle.cs | gehongyan/KaiHeiLa.Net | 4 | 7027448 | namespace KaiHeiLa;
/// <summary>
/// Specifies the style of badges.
/// </summary>
public enum BadgeStyle
{
/// <summary>
/// The badge contains only the guild name.
/// </summary>
GuildName = 0,
/// <summary>
/// The badge contains the number of online members in the guild.
//... |
src/Archive.ClientBase/ViewModel/MenuViewModel.cs | najlot/Archive | 1 | 7027450 | <reponame>najlot/Archive<gh_stars>1-10
using System;
using System.Threading.Tasks;
using Archive.ClientBase.Services;
namespace Archive.ClientBase.ViewModel
{
public class MenuViewModel : AbstractViewModel
{
private readonly IErrorService _errorService;
private readonly INavigationService _navigationService;
... |
src/UnitTests/Native/IETests/IEWaitForCompleteTests.cs | Bruno-N-Fernandes/WatiN | 1 | 7027451 | #region WatiN Copyright (C) 2006-2011 <NAME>
//Copyright 2006-2011 <NAME>
//
// 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/LICENS... |
sample/ModuleZeroSampleProject.Core/Authorization/RoleManager.cs | renu5682/Module-Zero | 0 | 7027452 | using Abp.Authorization;
using Abp.Authorization.Roles;
using Abp.Domain.Uow;
using Abp.Zero.Configuration;
using ModuleZeroSampleProject.MultiTenancy;
using ModuleZeroSampleProject.Users;
namespace ModuleZeroSampleProject.Authorization
{
public class RoleManager : AbpRoleManager<Tenant, Role, User>
{
... |
WinUX.UWP.Samples/Samples/Helpers/WindowHelper/Pages/WindowHelperPageTwo.xaml.cs | lindexi/WinUX-UWP-Toolkit | 1 | 7027453 | namespace WinUX.UWP.Samples.Samples.Helpers.WindowHelper.Pages
{
using Windows.UI.Xaml.Navigation;
public sealed partial class WindowHelperPageTwo
{
public WindowHelperPageTwo()
{
this.InitializeComponent();
}
public WindowHelperPageViewModel ViewModel => this.... |
BackEnd/HelloWorld.WebApi/Controllers/MessagesController.cs | dsnouck/HelloWorld | 0 | 7027454 | // <copyright file="MessagesController.cs" company="dsnouck">
// Copyright (c) dsnouck. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace HelloWorld.WebApi.Controllers
{
using System;
using System.Linq;
usin... |
Assets/Colorful FX/Scripts/Effects/Sharpen.cs | Coreo7/Unity-Visual-Experiments | 0 | 7027455 | <gh_stars>0
// Colorful FX - Unity Asset
// Copyright (c) 2015 - <NAME>
// http://www.thomashourdel.com
namespace Colorful
{
using UnityEngine;
[HelpURL("http://www.thomashourdel.com/colorful/doc/other-effects/sharpen.html")]
[ExecuteInEditMode]
[AddComponentMenu("Colorful FX/Other Effects/Sharpen")]
... |
PremiereSolutionProject/PremiereSolutionProject/PL/frmErrorHandling.cs | SlapPandas/PremierService-Solutions-FrontEnd | 0 | 7027456 | 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 PremiereSolutionProject.BLL;
namespace PremiereSolutionProject.PL
{
public partial class frmEr... |
Source/ED-Shields/Shields/Utilities/JaxxaGraphics.cs | emipa606/EDShields | 0 | 7027457 | <reponame>emipa606/EDShields
using System;
using System.Collections.Generic;
using UnityEngine;
using Verse;
namespace Jaxxa.EnhancedDevelopment.Shields.Shields.Utilities
{
// Token: 0x0200000A RID: 10
public static class JaxxaGraphics
{
// Token: 0x04000042 RID: 66
private static Mesh Cir... |
Src/Newtonsoft.Json.Tests/Converters/KeyValuePairConverterTests.cs | ashmind/Newtonsoft.Json | 1 | 7027458 | <reponame>ashmind/Newtonsoft.Json
using System;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Serialization;
#if !NETFX_CORE
using NUnit.Framework;
#else
using Microsoft.VisualStudio.TestPlatform.UnitTestFramework;
using TestFixture = Microsoft.VisualStudi... |
ArcReactor/Views/Busy.xaml.cs | ktos/ArcReactor | 0 | 7027459 | #region License
/*
* ArcReactor
*
* Copyright (C) <NAME> <m at badurowicz dot net> 2017
*
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction,
* including without ... |
src/netcore/Wexflow.Tasks.SshCmd/StringExt.cs | jswanepoel/Wexflow | 1 | 7027460 | using System;
using System.Text.RegularExpressions;
namespace Wexflow.Tasks.SshCmd
{
public static class StringExt
{
public static string StringAfter(this string str, string substring)
{
var index = str.IndexOf(substring, StringComparison.Ordinal);
return index >= 0 ? ... |
src/MicrosoftTeamsIntegration.Jira/Dialogs/FindDialog.cs | atlassian-labs/msteams-jira-server | 1 | 7027462 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.ApplicationInsights;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Schema;
using MicrosoftTeamsIntegration.Artifacts.Extensions;
using MicrosoftTeamsIntegration.Artifacts.... |
Assets/Editor/RedRunner/TerrainGeneration/BlocksInformationGenerator.cs | CaseyTea/RedRunner | 540 | 7027463 | <reponame>CaseyTea/RedRunner
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace RedRunner.TerrainGeneration
{
public class BlocksInformationGenerator : ScriptableWizard
{
protected override bool DrawWizardGUI ()
{
return base.DrawWizardGUI ();
}
... |
src/dsian.TwinCAT.AdsViewer.CapParser.Lib/Cap/PacketData.cs | densogiaichned/dsian.TwinCAT.AdsViewer.CapParser | 1 | 7027464 | using dsian.TwinCAT.AdsViewer.CapParser.Lib.Cap.AdsCommands;
using System.IO;
namespace dsian.TwinCAT.AdsViewer.CapParser.Lib.Cap
{
public class PacketData
{
internal PacketData(FrameHeader frameHeader, BinaryReader binaryReader)
{
this.EthernetHeader = Helper.Helper.DeserializeSt... |
MovieShop.UnitTests/MovieServiceTest.cs | kailakers/MovieShop | 0 | 7027465 | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using Moq;
using MovieShop.Core.Entities;
using MovieShop.Core.MappingProfiles;
using MovieShop.Core.Models.Response;
using MovieShop.Core.RepositoryInterfaces;
using MovieShop.Infrastructure.Services;
using NUnit.Frame... |
Plus.Core/Plus/Auditing/AuditingInterceptor.cs | Meowv/meowv.core | 12 | 7027466 | <gh_stars>10-100
using Plus.Aspects;
using Plus.DependencyInjection;
using Plus.DynamicProxy;
using System;
using System.Diagnostics;
using System.Threading.Tasks;
namespace Plus.Auditing
{
public class AuditingInterceptor : PlusInterceptor, ITransientDependency
{
private readonly IAuditingHelper _aud... |
src/SFA.DAS.EmployerAccounts/Queries/GetEnglishFrationDetail/GetEnglishFractionDetailResposne.cs | uk-gov-mirror/SkillsFundingAgency.das-employerapprenticeshipsservice | 8 | 7027468 | <reponame>uk-gov-mirror/SkillsFundingAgency.das-employerapprenticeshipsservice
using System.Collections.Generic;
using SFA.DAS.EmployerAccounts.Models.Levy;
namespace SFA.DAS.EmployerAccounts.Queries.GetEnglishFrationDetail
{
public class GetEnglishFractionDetailResposne
{
public IEnumerable<DasEnglis... |
src/EdFi.AnalyticsMiddleTier.Tests/Dimensions/When_querying_the_ClassPeriodDim_view.cs | Ed-Fi-Alliance-OSS/Ed-Fi-Analytics-Middle-Tier | 5 | 7027469 | <filename>src/EdFi.AnalyticsMiddleTier.Tests/Dimensions/When_querying_the_ClassPeriodDim_view.cs<gh_stars>1-10
// SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE... |
At/Binding/Contexts/Context.cs | markrockcity/at | 3 | 7027470 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using At.Binding;
using At.Contexts;
using At.Symbols;
namespace At
{
//Declaration
/// <summary>Language context, e.g., compiler, file, namespace, type... |
Fakes/OpenActive.FakeDatabase.NET/Models/SellerTable.cs | openactive/OpenActive.Server.NET | 0 | 7027472 | using ServiceStack.DataAnnotations;
namespace OpenActive.FakeDatabase.NET
{
public class SellerTable
{
[PrimaryKey]
public long Id { get; set; }
public string Name { get; set; }
public bool IsIndividual { get; set; }
public string Url { get; set; }
public bool Is... |
LoggingKata/Program.cs | KellyHoesing/TacoParser | 0 | 7027473 | <gh_stars>0
using System;
using System.Linq;
using System.IO;
using GeoCoordinatePortable;
namespace LoggingKata
{
class Program
{
static readonly ILog logger = new TacoLogger();
const string csvPath = "TacoBell-US-AL.csv";
static void Main(string[] args)
{
... |
Assets/Packages/eWolf/BookEffectV2/Scripts/Editor/Book_UI.cs | ZealotWang-sudo/Project_Brahe | 0 | 7027474 | using eWolf.BookEffectV2;
using System.Reflection.Emit;
using UnityEditor;
using UnityEngine;
[CustomEditor(typeof(Book))]
public class Book_UI : Editor
{
private Book _node;
public override void OnInspectorGUI()
{
DrawDefaultInspector();
GUILayout.Label("NOTE: Starting Page numbe... |
Assets/Scripts/ScreenFader.cs | pmhpereira/1GAM-HOBBY | 0 | 7027475 | <reponame>pmhpereira/1GAM-HOBBY<gh_stars>0
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using UnityEngine.SceneManagement;
public class ScreenFader : MonoBehaviour
{
private Image fadeImage;
public float fadeTime = 1.5f;
public bool isRunning = false;
void Awake()
{
... |
src/core/Analysis/Analyzer.cs | synhershko/lucene.net | 1 | 7027476 | <gh_stars>1-10
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "Lic... |
Assets/Scripts/CoreLib/ThrottledAction.cs | ColeDeanShepherd/OSFPS | 8 | 7027477 | using System;
using System.Diagnostics;
public class ThrottledAction
{
public ThrottledAction(Action action, float intervalInSeconds)
{
this.action = action;
this.intervalInSeconds = intervalInSeconds;
lastCallTimestamp = 0;
}
public bool TryToCall()
{
var currentTi... |
Scharfrichter/Archives/Bemani1.cs | b923242/scharfrichter | 1 | 7027479 | <filename>Scharfrichter/Archives/Bemani1.cs
using Scharfrichter.Codec.Charts;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace Scharfrichter.Codec.Archives
{
public class Bemani1 : Archive
{
private Chart[] charts = new Chart... |
Connectors/SpecFlow.VisualStudio.SpecFlowConnector.V3/Discovery/VersionSelectorDiscoverer.cs | tlecomte/SpecFlow.VS | 0 | 7027480 | using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.Loader;
using SpecFlow.VisualStudio.SpecFlowConnector.Discovery.V38;
using TechTalk.SpecFlow;
namespace SpecFlow.VisualStudio.SpecFlowConnector.Discovery
{
public class VersionSelectorDiscoverer : ISpecFlowDisco... |
sources/Interop/Windows/Windows/um/winternl/RTL_USER_PROCESS_PARAMETERS.cs | rickbrew/terrafx.interop.windows | 0 | 7027481 | // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/winternl.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using System.Runtime.CompilerServices;
names... |
app/DynamicsAdapter/DynamicsAdapter.Web.Test/Configuration/SearchApiConfigurationTest.cs | KyleKayfish/fams3 | 3 | 7027482 | <filename>app/DynamicsAdapter/DynamicsAdapter.Web.Test/Configuration/SearchApiConfigurationTest.cs
using System.Security.Cryptography.X509Certificates;
using DynamicsAdapter.Web.Configuration;
using NUnit.Framework;
namespace DynamicsAdapter.Web.Test.Configuration
{
public class SearchApiConfigurationTest
{
... |
3-Business/3-Modules/lm.Comol.Modules.Standard/ProjectManagement/Presentation/1_Presenter/2_Edit/GenerateGanttPresenter.cs | EdutechSRL/Adevico | 1 | 7027483 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using lm.Comol.Core.DomainModel;
using lm.Comol.Core.Business;
using lm.Comol.Modules.Standard.ProjectManagement.Domain;
using lm.Comol.Modules.Standard.ProjectManagement.Business;
namespace lm.Comol.Modules.Standard.ProjectManageme... |
Contractor.Core/Tools/UsingStatements.cs | shuralw/Contractor | 3 | 7027484 | <filename>Contractor.Core/Tools/UsingStatements.cs
using Contractor.Core.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Contractor.Core.Tools
{
public static class UsingStatements
{
public static string Add(string fileData, string namespaceText)
{
... |
src/BasketballScoreGraphics/BasketballScoreGraphics.Engine/Actions/SetTeamNameAction.cs | MihaMarkic/BasketballScoreGraphics | 0 | 7027485 | using BasketballScoreGraphics.Engine.Core;
using Righthand.Immutable;
using Sharp.Redux;
namespace BasketballScoreGraphics.Engine.Actions
{
public class SetTeamNameAction : ReduxAction
{
public TeamType TeamType { get; }
public string Name { get; }
public string ShortName { get; }
... |
src/Testura.Code/Generators/Common/Arguments/ArgumentTypes/ReferenceArgument.cs | jkachhad/Testura.Code | 263 | 7027486 | using System;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Testura.Code.Models.References;
#pragma warning disable 1591
namespace Testura.Code.Generators.Common.Arguments.ArgumentTypes
{
/// <summary>
/// Provides the functionality to generate reference arguments. Exam... |
src/MauiReactor/StructuredItemsView.partial.cs | adospace/reactorui-maui | 5 | 7027487 | //using MauiReactor.Shapes;
using MauiReactor.Internals;
namespace MauiReactor
{
public partial interface IStructuredItemsView
{
IItemsLayout? ItemsLayout { get; set; }
VisualNode? Header { get; set; }
VisualNode? Footer { get; set; }
}
public partial class StructuredItemsView... |
Assets/RNKit/UGUI/TextGradientEffect.cs | REDNIGHT/space-war | 26 | 7027488 | <gh_stars>10-100
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace UnityEngine.UI
{
public class TextGradientEffect : BaseMeshEffect
{
public Color bottom = Color.red;
public override void ModifyMesh(VertexHelper vh)
{
if (!this.IsAct... |
ValidateThat/Validators/Validator.cs | shuruev/ValidateThat | 0 | 7027489 | <reponame>shuruev/ValidateThat<filename>ValidateThat/Validators/Validator.cs
namespace ValidateThat
{
/// <summary>
/// Validates single argument value.
/// </summary>
public class Validator<T> : AbstractValidator
{
/// <summary>
/// Name of argument which is being validated... |
AltLib/Input/ICreateStoreHelper.cs | steve-stanton/AltCmdStore | 0 | 7027490 | <filename>AltLib/Input/ICreateStoreHelper.cs
using System;
namespace AltLib
{
/// <summary>
/// Property access helper for an instance of <see cref="CmdData"/>
/// where <see cref="CmdData.CmdName"/> has a value of "ICreateStore".
/// </summary>
public partial class CmdData : ICreateStore
... |
GE.WebUI/Areas/Admin/Views/AuthorAphorisms/_FindGridView.cshtml | simlex-titul2005/GE | 0 | 7027491 | @model VMAuthorAphorism[]
@{
Layout = null;
}
@Html.SxGridView(Model,
new SxExtantions.SxGridViewSettings<VMAuthorAphorism>
{
Columns = new SxExtantions.SxGridViewColumn<VMAuthorAphorism>[]{
new SxExtantions.SxGridViewColumn<VMAuthorAphorism>{FieldName="Name", Caption="Имя... |
DbxUtil/DbxListFiles/MyCrono.cs | jramos-br/PlayGround | 0 | 7027492 | using System;
namespace DbxListFiles
{
// using (new MyCrono(sw => Console.Out.WriteLine("Elapsed: {0}", sw.Elapsed)))
// {
// /* stuff to to measure */
// }
//
// TimeSpan elapsed = MyCrono.Elapsed(() => /* stuff to to measure */);
class MyCrono : IDisposable
{
private Ac... |
Algorand/Algorand.Tools/Api/Models/NodeStatus.cs | CryptoDevTV/Algorand-SDK | 8 | 7027493 | <gh_stars>1-10
using System.Text.Json.Serialization;
namespace Algorand.Tools.Api.Models
{
public class NodeStatus
{
[JsonPropertyName("catchupTime")]
public long CatchupTime { get; set; }
[JsonPropertyName("hasSyncedSinceStartup")]
public bool HasSyncedSinceStartup { get; set... |
Starburst Stream/Assets/Script/e_Movement/ThresholdMoving.cs | kinten108101/ufssgp | 0 | 7027494 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ThresholdMoving : MonoBehaviour
{
// Start is called before the first frame update
private Vector3 distance;
public GameObject Follower; // camera, zone, ...
public GameObject Followed; // player
void Start... |
cryptography/src/Hashes/SHA256Hash.cs | ericjavier/ncrypto | 0 | 7027495 | <reponame>ericjavier/ncrypto<filename>cryptography/src/Hashes/SHA256Hash.cs
using System;
using System.Security.Cryptography;
namespace NCrypto.Cryptography.Hashes
{
public sealed class SHA256Hash : ICryptographicHash
{
private readonly SHA256 sha256 = SHA256.Create();
public int SizeInBytes ... |
src/Http/Routing/src/RouteConstraintBuilder.cs | smerrell/AspNetCore | 16 | 7027496 | // 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;
using System.Collections.Generic;
using Microsoft.AspNetCore.Routing.Constraints;
namespace Microsoft.AspNetCore.Routing
{
/// <summa... |
Sistema.Web/Models/Wcm/CondicionInsegura/CondicionInseguraViewModel.cs | arielking/unilever.gost | 0 | 7027497 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Sistema.Web.Models.Wcm.CondicionInsegura
{
public class CondicionInseguraViewModel
{
public int idcondinsegura { get; set; }
public string nombre { get; set; }
public string descr... |
Assets/Scripts/BookshelfController.cs | gustavotero7/geiselVR | 3 | 7027498 | using System.Collections;
using System.Collections.Generic;
using System.Threading;
using UnityEngine;
using UnityEngine.UI;
// ReSharper disable ConvertIfStatementToSwitchStatement
/// <summary>
/// Controls a physical bookshelf. It is the view for a <see cref="Bookshelf"/> model. Designed to
/// be used with a poo... |
WpfAdminApp/Entities/LoginResponse.cs | SevadaSahakyan/wpf-market-admin | 0 | 7027499 | using RestSharp.Deserializers;
namespace WpfAdminApp.Entities
{
class LoginResponse
{
[DeserializeAs(Name = "expire")]
public string ExpireDate { get; set; }
[DeserializeAs(Name = "token")]
public string Token { get; set; }
}
}
|
HS-Chk/HypermintTools/PDFWorker.cs | horseyhorsey/HyperMint | 0 | 7027500 | <reponame>horseyhorsey/HyperMint
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Text;
using iTextSharp;
using System.Windows;
using ImageMagick;
namespace Hypermint.HypermintTools
{
/// <summary>
/// Uses iTextSharp for read writi... |
TCP_My_Test/Server/Server.cs | AntonC9018/udp-and-tcp-holepunching-experiments | 0 | 7027502 | <reponame>AntonC9018/udp-and-tcp-holepunching-experiments<filename>TCP_My_Test/Server/Server.cs
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using System.Threading.Tasks;
namespace Tcp_Test.Server
{
public class Server
{
// First, t... |
sdk/labservices/Microsoft.Azure.Management.LabServices/src/Generated/Models/LabServicesSku.cs | gjy5885/azure-sdk-for-net | 1 | 7027503 | // <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 Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... |
ComputerStore.Lib/Dto/PcPartBasic.cs | moesac0970/ComputerStore | 2 | 7027504 | using System.Collections.Generic;
namespace ComputerStore.Lib.Dto
{
/// <summary>
/// basic pc part for the catalog component
/// </summary>
public class PcPartBasic
{
public int Id { get; set; }
public string Name { get; set; }
public bool Hot { get; set; }
public ... |
Leopard/src/Leopard/Url/QueryParamCollection.cs | heyuquan/Leopard | 0 | 7027505 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace Leopard.Url
{
/// <summary>
/// Represents a URL query string as a key-value dictionary. Insertion order is preserved.
/// </summary>
public class QueryParamCollection : IDictionary<string, object>
... |
DataDefinitions/Statistics.cs | jpacelli62/EDDI | 1 | 7027506 | <filename>DataDefinitions/Statistics.cs
using System;
namespace EddiDataDefinitions
{
public class Statistics
{
public BankAccountStats bankaccount { get; set; } = new BankAccountStats();
public CombatStats combat { get; set; } = new CombatStats();
public CrimeStats crime { get; set; }... |
src/Examples/LDA/LDAShared.cs | MyIntelligenceAgency/infer | 1,416 | 7027507 | <reponame>MyIntelligenceAgency/infer<filename>src/Examples/LDA/LDAShared.cs<gh_stars>1000+
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System... |
src/Curio.Domain/Extensions/JsonExtensions.cs | Reapism/Curio | 3 | 7027508 | using System;
using System.IO;
using System.Text;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
namespace Curio.Domain.Extensions
{
public static class JsonExtensions
{
private static readonly JsonSerializerOptions Options = new()
{
PropertyNameCaseI... |
DotNetStandardApi/Entities/User.cs | KoenZomers/TadoApi | 25 | 7027509 | using Newtonsoft.Json;
namespace KoenZomers.Tado.Api.Entities
{
/// <summary>
/// Contains information about a user
/// </summary>
public class User
{
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("email")]
public string Email { get; set; }
... |
Assets/Scripts/Enemy/BombEnemy.cs | pierrecampos/infinityRunner | 1 | 7027510 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BombEnemy : Enemy {
public Transform firePoint;
public GameObject bombPrefab;
public float throwTime;
private float throwCount;
private Player player;
void Start() {
player = GameObject.F... |
Source/ExcelDna.Integration/ExternalLibrary.cs | rosecodym/ExcelDna | 0 | 7027511 | // Copyright (c) <NAME>. All rights reserved.
// Excel-DNA is licensed under the zlib license. See LICENSE.txt for details.
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Xml.Serialization;
using ExcelDna.Logging;
namespace ExcelDna.Integration
{
// TODO: All... |
MicroServices/Thrift/ThriftDemo.Contract/User.cs | huruiyi/MicroServices | 4 | 7027512 | /**
* Autogenerated by Thrift Compiler (0.11.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.IO;
using Thrift;
using Thrift.Collections;
using System.Runtime.Serializat... |
Geckofx-Core/Generated/nsIRefreshURI.cs | GerHobbelt/GeckoFX-60-clone | 3 | 7027513 | // --------------------------------------------------------------------------------------------
// Version: MPL 1.1/GPL 2.0/LGPL 2.1
//
// The contents of this file are subject to the Mozilla Public License Version
// 1.1 (the "License"); you may not use this file except in compliance with
// the License. You may... |
EncogFramework2.5/Neural/Networks/Training/Competitive/Neighborhood/NeighborhoodRBF.cs | ebx/OpenPokerAI | 1 | 7027515 | <reponame>ebx/OpenPokerAI
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Encog.Engine.Network.RBF;
using Encog.Neural.Networks.Layers;
using Encog.MathUtil.RBF;
using Encog.Engine.Util;
namespace Encog.Neural.Networks.Training.Competitive.Neighborhood
{
/// <summary>
... |
src/SafeVille.Data/Migrations/20191024050815_FixedRelationships.cs | manuelvalenzuela/safeville | 1 | 7027517 | <reponame>manuelvalenzuela/safeville
namespace SafeVille.Data.Migrations
{
using System;
using Microsoft.EntityFrameworkCore.Migrations;
public partial class FixedRelationships : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Dr... |
Core/System.DateTime/DateTime.Age.cs | mousavil/Cactus.Blade.Core | 3 | 7027518 | public static partial class Extension
{
/// <summary>
/// A DateTime extension method that ages the given this.
/// </summary>
/// <param name="this">The @this to act on.</param>
/// <returns>An int.</returns>
public static int Age(this System.DateTime @this)
{
if (System.DateTi... |
src/libs/SoloX.CodeQuality.Test.Helpers/Http/IHttpClientResponseFromRequestMockBuilder.cs | xaviersolau/CodeQuality | 5 | 7027519 | <filename>src/libs/SoloX.CodeQuality.Test.Helpers/Http/IHttpClientResponseFromRequestMockBuilder.cs<gh_stars>1-10
// ----------------------------------------------------------------------
// <copyright file="IHttpClientResponseFromRequestMockBuilder.cs" company="<NAME>">
// Copyright © 2021 <NAME>.
// Licensed under t... |
src/Blueprint.Http/StatusCodeResult.cs | TCBroad/blueprint | 8 | 7027520 | using System.Net;
namespace Blueprint.Http
{
/// <summary>
/// <para>
/// A simple <see cref="HttpResult" /> that can be used when no content needs writing, only a status code and (optional)
/// headers.
/// </para>
/// <para>
/// It is recommended to declare return types as a specific subc... |
Assets/Scripts/MenuItems/ColorPresetButton.cs | GreenNBlacko/Grayscale-s-visual-novel-engine-utility-app | 0 | 7027521 | <reponame>GreenNBlacko/Grayscale-s-visual-novel-engine-utility-app
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class ColorPresetButton : MonoBehaviour {
public string HexValue;
private Button button;
private TMP_Text buttonText;
private Button removeButton;
private Color color;
public ColorM... |
Assets/Scripts/Entity/AI/Transitions/TRSeeLogicalObject.cs | sdasd30/TSSG | 0 | 7027522 | <filename>Assets/Scripts/Entity/AI/Transitions/TRSeeLogicalObject.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TRSeeLogicalObject : Transition
{
public string LogicalObjectName;
public float threashold = 0.5f;
public string IfSeenInZone = "NONE"... |
src/go-src-converted/runtime/testdata/testprog/misc.cs | rgwood/go2cs | 249 | 7027523 | <reponame>rgwood/go2cs<gh_stars>100-1000
// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// package main -- go2cs converted at 2020 October 09 05:00:48 UTC
// Original source: C:\Go\src\runtime\testdata\testp... |
WPFSKillTree/Controls/Dialogs/ViewModels/MetroMessageBoxViewModel.cs | yeseo-del/skill-1 | 278 | 7027524 | <filename>WPFSKillTree/Controls/Dialogs/ViewModels/MetroMessageBoxViewModel.cs<gh_stars>100-1000
using System.Windows;
using MahApps.Metro.IconPacks;
using PoESkillTree.Common.ViewModels;
namespace PoESkillTree.Controls.Dialogs.ViewModels
{
public class MetroMessageBoxViewModel : CloseableViewModel<MessageBo... |
parser/RegistrySetting.cs | tuzhidan/PolicyManage | 1 | 7027525 | <reponame>tuzhidan/PolicyManage
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace PolicyManage.Parser
{
public class RegistrySetting
{
public string KeyPath { get; set; }
public string Value { get; set; }
p... |
tracer/test/Datadog.Trace.Tests/ExtensionMethods/SpanExtensionsTests.cs | DataDog/dd-trace-dotnet | 174 | 7027526 | // <copyright file="SpanExtensionsTests.cs" company="Datadog">
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2017 Datadog, Inc.
// </copyright>
using System.Colle... |
NetFramework/gView.Win.Symbology.UI/Framework/Symbology/UI/UITypeEditors.cs | jugstalt/gview5 | 8 | 7027527 | using gView.Framework.Carto.UI;
using gView.Framework.Symbology.UI.Controls;
using gView.Framework.Sys.UI.Extensions;
using gView.Framework.UI.Symbology.Dialogs;
using System;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Design;
using System.Drawing.Drawing2D;
using System.Windows.Forms;
usin... |
src/Data.WPF/Presenters/ScalarInput_T.cs | aTiKhan/RDO.Net | 23 | 7027528 | <reponame>aTiKhan/RDO.Net
using DevZest.Data.Presenters.Primitives;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Windows;
namespace DevZest.Data.Presenters
{
/// <summary>
/// Represents the handler of scalar level two way data binding flushing from view to presenter.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.