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 |
|---|---|---|---|---|
Regulazy/RegexWizard.Framework.Tests/ScopeTests.cs | UNIVERSAL-IT-SYSTEMS/dotnet-regex-tools | 31 | 7060629 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using NUnit.Framework;
using RegexWizard.Framework;
namespace RegexWizard.Framework.Tests
{
[TestFixture]
public class ScopeTests
{
Scope scope = null;
[SetUp]
public void setup()
... |
App/Atem/FairlightAudioMixerInput.cs | tomblchr/atem-streamlia | 1 | 7060630 | <gh_stars>1-10
using BMDSwitcherAPI;
using MediatR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SwitcherServer.Atem
{
public class FairlightAudioMixerInput : IHasId, IDisposable
{
private readonly IBMDSwitcherFairlightAudioInput... |
SIPSorcery.28181/Servers.Cores/ISIPMonitorService.cs | chenmuyong/Gb28181_Platform2016_Test | 10 | 7060632 | using SIPSorcery.GB28181.Net;
using SIPSorcery.GB28181.Servers.SIPMessage;
using SIPSorcery.GB28181.Servers.SIPMonitor;
using SIPSorcery.GB28181.SIP;
using SIPSorcery.GB28181.Sys.XML;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SIPSorce... |
Pulse.Common/Behavior/Pulse/Bt/PathCalc.cs | vladkar/pulse-project-open | 1 | 7060633 | <reponame>vladkar/pulse-project-open<filename>Pulse.Common/Behavior/Pulse/Bt/PathCalc.cs
using System;
using System.Collections.Concurrent;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Pulse.Common.Behavior.BehaviorTreeFramework.Base;
namespace Pulse.Common.Behavior.Pulse.Bt
{
... |
src/Forms/XLabs.Forms.Droid/Controls/Calendar/MonoDroid.TimesSquare/MonthAdapter.cs | DavidStrickland0/XLabs | 1 | 7060634 | <filename>src/Forms/XLabs.Forms.Droid/Controls/Calendar/MonoDroid.TimesSquare/MonthAdapter.cs
namespace XLabs.Forms.Controls.MonoDroid.TimesSquare
{
using System.Collections.Generic;
using Android.Content;
using Android.Support.V4.View;
using Android.Views;
using Java.Interop;
/// <summary>
/// Class MonthAda... |
Demos/src/Aspose.Email.Live.Demos.UI/Config/Configuration.cs | aspose-email/Aspose.Email-for-.NET | 24 | 7060635 | using Microsoft.Extensions.Configuration;
using System;
namespace Aspose.Email.Live.Demos.UI.Config
{
public static class Configuration
{
public static IConfiguration Settings { get; private set; }
public static void SetConfiguration(IConfiguration settings)
{
Settings = settings;
var api = settings.... |
Assets/Scripts/GameHelper/Camera/StaticCamera.cs | Tritend/ZombieWar | 2 | 7060636 | using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using DG.Tweening;
using System.Collections;
public struct CountDownTask
{
public int Count;
public string Str;
}
public class StaticCamera : MonoBehaviour
{
private bool isInit = false;
private Camera myCamera;
... |
test/Aurochses.Xunit.Tests/ConfigurationFixtureTests.cs | Aurochses/Aurochses.Testing | 0 | 7060637 | <gh_stars>0
using System;
using Xunit;
namespace Aurochses.Xunit.Tests
{
public class ConfigurationFixtureTests
{
[Fact]
public void Configuration_ItemIsValue_WhenTestEnvironmentIsNotSet()
{
// Arrange & Act
var fixture = new ConfigurationFixture("");
... |
resources/.gen/aws/aws/Wafv2WebAclRuleStatementNotStatementStatementNotStatementStatementOrStatementStatementSqliMatchStatementFieldToMatchUriPath.cs | scottenriquez/cdktf-alpha-csharp-testing | 0 | 7060638 | <filename>resources/.gen/aws/aws/Wafv2WebAclRuleStatementNotStatementStatementNotStatementStatementOrStatementStatementSqliMatchStatementFieldToMatchUriPath.cs
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
[JsiiByValue(fqn: "aws.Wafv2WebAclRuleStatementNotStatement... |
ModMaker.Lua/Runtime/LuaLibraries/LuaLibraries.Math.cs | TheModMaker/ModMaker.Lua | 6 | 7060639 | // Copyright 2014 <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/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writi... |
test/AElf.OS.Core.Tests/Network/Protocol/HandshakeProviderTests.cs | IamWenboZhang/AElf | 0 | 7060640 | using System.Threading.Tasks;
using AElf.Kernel.Account.Application;
using AElf.OS.Network.Infrastructure;
using Shouldly;
using Xunit;
namespace AElf.OS.Network.Protocol
{
public class HandshakeProviderTests : NetworkInfrastructureTestBase
{
private readonly IHandshakeProvider _handshakeProvider;
... |
Data/podcache.Data/Maps/ShoutEngine/ShoutEngineMediaPostMap.cs | CCRed95/podcache | 0 | 7060642 | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using podcache.Data.Domain;
namespace podcache.Data.Maps
{
public class ShoutEngineMediaPostMap
: IEntityTypeConfiguration<ShoutEngineMediaPost>
{
public void Configure(
EntityTypeBuilder<ShoutEngineMediaPost> builder... |
DigitGallery/DigitGallery.Models/Artist.cs | mnadya04/DigitGallery | 1 | 7060643 | <gh_stars>1-10
namespace DigitGallery.Models
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
public class Artist
{
public int Id { get; set; }
[Required]
[MaxLength(100)]
public string Name { get; set; }
[MaxLength(250)]
p... |
DataAccessLayer/Dao/WeightDao.cs | erniephillips/WeightApp | 0 | 7060644 | using DataAccessLayer.Models;
using SQLite;
using System.Collections.Generic;
/*
* <NAME> : 12/11/2021
* Weight data access class, all methods will deal with weight access to the db
* Methods consist of login/registration/validation/etc
* https://docs.microsoft.com/en-us/xamarin/android/data-cloud/data-access/using-s... |
Runtime/AContextualMenu.cs | OpenSourceUnityPackage/ContextualMenu | 0 | 7060645 | <gh_stars>0
using System.Collections.Generic;
namespace ContextualMenuPackage
{
/// <summary>
/// ContextualMenu is a class that allow you to manage task depending on action available by the generic type.
/// If you combine it with your own UI system and selection, you can process Contextual menu like an R... |
test/E2ETest/Nuwa.WebStack/NwHostAttribute.cs | StanislawSwierc/WebApi | 1 | 7060646 | <gh_stars>1-10
using System;
namespace Nuwa
{
/// <summary>
/// Defines the host strategy of attributed test class
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = true)]
public class NwHostAttribute : Attribute
{
public NwHostAttribute(HostType ... |
General.Business/Abstract/UserFunctions/IUserRegisterFileService.cs | batuhan-yilmaz/TODO-project-asp.netcore-webapp | 1 | 7060647 | using General.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace General.Business.Abstract
{
public interface IUserRegisterFileService
{
UserRegisterFile GetById(int Id);
UserRegisterFile GetByString(string fil... |
UnityProject/Assets/RefAnalyzer/Editor/Tests/RefExporterTests.cs | KonH/UnityRefAnalyzer | 5 | 7060648 | <reponame>KonH/UnityRefAnalyzer<gh_stars>1-10
using System.IO;
using NUnit.Framework;
namespace RefAnalyzer.Tests {
public class RefExporterTests {
string[] _scenePathes = new string[] { TestSettings.ButtonClickScene };
string _exportPath = TestSettings.TempFilePath;
[Test]
public void IsFileCreated() {
... |
PicasaUploader/Utilities/ImageScaler.cs | ivanz/PicasaUploader | 2 | 7060650 | //
// Copyright (c) 2009 <NAME> <<EMAIL>>
//
// Authors:
// <NAME> <<EMAIL>>
//
// License: MIT/X11 - See LICENSE.txt
//
using System;
using System.Collections.Generic;
using System.Linq;
using System.Drawing;
using System.IO;
using System.Drawing.Drawing2D;
using System.Drawing.Imaging;
namespace P... |
OQueue/Broker/Client/ProducerManager.cs | OceanChip/OQueue | 0 | 7060651 | using OceanChip.Common.Components;
using OceanChip.Common.Extensions;
using OceanChip.Common.Logging;
using OceanChip.Common.Scheduling;
using OceanChip.Common.Socketing;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Ta... |
ClubPenguin.Adventure/AddAnimatorAction.cs | smdx24/CPI-Source-Code | 8 | 7060652 | // AddAnimatorAction
using HutongGames.PlayMaker;
using UnityEngine;
[ActionCategory("Animation")]
public class AddAnimatorAction : FsmStateAction
{
[RequiredField]
public FsmGameObject TargetObject;
public RuntimeAnimatorController animatorController;
public override void OnEnter()
{
Animator animator = Targ... |
NewRpgGame/Game/Shop/CommodityItems/State.cs | Rinkton/console_game-forest_demon | 0 | 7060653 | <filename>NewRpgGame/Game/Shop/CommodityItems/State.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Game.Shop.CommodityItems
{
/// <summary>
/// Состояние товара
/// </summary>
public enum State
{
I... |
Chapter1/Assets/Script/OniStillBodyControl.cs | DmaInNewZealand/DoubleColorBall | 0 | 7060654 | using UnityEngine;
using System.Collections;
public class OniStillBodyControl : MonoBehaviour {
public OniEmitterControl emitter_control = null;
void Start()
{
}
void Update()
{
}
void OnCollisionEnter(Collision other)
{
if(other.gameObject.tag == "OniYama") {
// おに山にぶつかったときの音を鳴らす.
this.emitt... |
source/CPBase/BaseClasses/CPSecurityBaseClass.cs | contensive/Contensive50 | 2 | 7060655 | <filename>source/CPBase/BaseClasses/CPSecurityBaseClass.cs<gh_stars>1-10
namespace Contensive.BaseClasses {
public abstract class CPSecurityBaseClass {
//
//==========================================================================================
//
public abstract string GetRando... |
Assets/Scripts/LightBlink.cs | LeBanc/TowerOffense | 0 | 7060656 | <reponame>LeBanc/TowerOffense
using UnityEngine;
/// <summary>
/// LightBlink class manages a light blink
/// </summary>
public class LightBlink : MonoBehaviour
{
// Color of the light
public Color blinkColor;
// Intensity of the blick
public float blinkIntensity;
// Time when the light is off
... |
DeriSock/Request/BuyParams.cs | pinostrats/DeriSock | 0 | 7060657 | <filename>DeriSock/Request/BuyParams.cs
namespace DeriSock.Request;
public class BuyParams
{
/// <summary>
/// Instrument name
/// </summary>
public string InstrumentName { get; set; }
/// <summary>
/// It represents the requested order size. For perpetual and futures the amount is in USD units, for ... |
src/ExCSS/Rules/IKeyframesRule.cs | cbersch/ExCSS | 211 | 7060658 | namespace ExCSS
{
public interface IKeyframesRule : IRule
{
string Name { get; set; }
IRuleList Rules { get; }
void Add(string rule);
void Remove(string key);
IKeyframeRule Find(string key);
}
} |
source/Features/CriticalEffects/CriticalEffectsFeature.cs | CptMoore/MechEngineer | 0 | 7060659 | using System.Collections.Generic;
using System.Linq;
using BattleTech;
using CustomComponents;
using MechEngineer.Features.PlaceholderEffects;
namespace MechEngineer.Features.CriticalEffects;
internal class CriticalEffectsFeature : Feature<CriticalEffectsSettings>
{
internal static readonly CriticalEffectsFeatur... |
DI-Webcast-master/src/DI.Tutorial/Stage 1/ProductRepository.cs | alancapc/DependencyInjection | 0 | 7060660 | using System;
using System.Linq;
namespace DI.Tutorial.Stage1
{
public class ProductRepository
{
public void Save()
{
Console.WriteLine("Product inventory updated.");
}
}
}
|
advanced-programming-methods/labs/toy-interpreter-sharp/view/GUIStatementDialog.cs | vampy/university | 6 | 7060661 | <reponame>vampy/university
using System;
using Gtk;
using Repository;
using Controller;
using Model;
using View;
namespace View
{
public partial class GUIStatementDialog : Dialog
{
private Statement statement;
public GUIStatementDialog()
{
Title = "Get Statement";
... |
Lucene.Net.ToolBox.Desktop/Controls/Formatters/HighlightTextFormatter.cs | PSneijder/Lucene.Net.ToolBox | 3 | 7060662 | <reponame>PSneijder/Lucene.Net.ToolBox
using System.Windows.Documents;
using System.Windows.Media;
using Lucene.Net.Toolbox.Contracts;
namespace Lucene.Net.Toolbox.Desktop.Controls.Formatters
{
sealed class HighlightTextFormatter
: ITextFormatter
{
public string GetText(FlowDocument document)
... |
src/Nest/XPack/Migration/MigrationUpgrade/ElasticClient-MigrationUpgrade.cs | Svengali/elasticsearch-net | 3 | 7060663 | using System;
using System.Threading;
using System.Threading.Tasks;
using Elasticsearch.Net;
namespace Nest
{
public partial interface IElasticClient
{
/// <summary>
/// Performs the upgrade of internal indices to make them compatible with the next major version.
/// Indices must be upgraded one at a time.
... |
RotateAndSum.cs | BorislavD/Arrays-and-Lists-CSharp | 0 | 7060664 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RotateAndSum
{
class RotateAndSum
{
static void Main(string[] args)
{
int k = int.Parse(Console.ReadLine());
int[] arrNumbers = Con... |
Database/Synergy.NHibernate/Contexts/WebContextStorage.cs | JTOne123/synergy.framework | 11 | 7060665 | <reponame>JTOne123/synergy.framework
namespace Synergy.NHibernate.Contexts
{
/// <summary>
/// Contextual storage that stores object in a web context.
/// </summary>
public interface IWebContextStorage<T> : IContextStorage<T>
{
}
} |
sdk/src/Core/ThirdParty/_unity/iOS4Unity/Foundation/NSNumberFormatter.cs | tomhaigh/aws-sdk-net | 13 | 7060666 | <reponame>tomhaigh/aws-sdk-net<filename>sdk/src/Core/ThirdParty/_unity/iOS4Unity/Foundation/NSNumberFormatter.cs
using System;
namespace ThirdParty.iOS4Unity
{
public class NSNumberFormatter : NSObject
{
private static readonly IntPtr _classHandle;
static NSNumberFormatter()
{
... |
Assets/Scripts/RaycastMovement.cs | ezavesky/udnd_05_museum | 0 | 7060667 | <gh_stars>0
using UnityEngine;
using System.Collections;
public class RaycastMovement : MonoBehaviour {
public GameObject raycastHolder;
public GameObject raycastIndicator;
/// <summary>
/// Centeral game controller
/// </summary>
protected GameController gameController;
//public float maxMoveDistance = 10;
... |
src/Services/Net6Template/Net6TemplateWebApi/GlobalUsings.cs | Allen-dududu/Net6Tenplate | 0 | 7060668 | global using Autofac.Extensions.DependencyInjection;
global using Autofac;
global using System.IO;
global using System.Linq;
global using System.Net;
global using System.Security.Claims;
global using System.Text.Json;
global using System.Threading.Tasks;
global using System;
global using HealthChecks.UI.Client;
global... |
src/ServiceManagement/Services/Commands.Utilities/Websites/PSTriggeredWebJobRun.cs | muwaqar/azure-powershell | 10 | 7060669 | using System;
using System.Globalization;
using Microsoft.WindowsAzure.WebSitesExtensions.Models;
namespace Microsoft.WindowsAzure.Commands.Websites.WebJobs
{
public class PSTriggeredWebJobRun : TriggeredWebJobRun
{
public PSTriggeredWebJobRun(TriggeredWebJobRun triggeredWebJobRun)
{
... |
KeLi.FlatDesign.WinForm.UI/MessageBoxFrm.Designer.cs | keliceo/FlatDesign | 0 | 7060670 |
namespace KeLi.FlatDesign.WinForm.UI
{
partial class MessageBoxFrm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summ... |
GigaHurtz Common/Models/Refugee.cs | balloman/GigaHurtzFrontEnd | 1 | 7060671 | <reponame>balloman/GigaHurtzFrontEnd<filename>GigaHurtz Common/Models/Refugee.cs
namespace GigaHurtz.Common.Models;
public record Refugee(string Id, string Name, long HouseholdSize, string Gender, string Location, bool HasKids,
bool ActivelyLooking, string Phone, string Email, IEnumerable<string... |
VirtualRouter.Wlan/WinAPI/wlanapi.cs | LokiMidgard/virtualrouter | 4 | 7060672 | /*
* Virtual Router v1.0 - http://virtualrouter.codeplex.com
* Wifi Hot Spot for Windows 7 and 2008 R2
* Copyright (c) 2011 <NAME> (http://pietschsoft.com)
* Licensed under the Microsoft Public License (Ms-PL)
* http://virtualrouter.codeplex.com/license
*/
using System;
using System.Runtime.InteropServices;
namespace... |
Assets/Scripts/Game/Weapon/InputProcessors/RateOfFireProcessor.cs | EstasAnt/Estsoul | 0 | 7060673 | <filename>Assets/Scripts/Game/Weapon/InputProcessors/RateOfFireProcessor.cs<gh_stars>0
using UnityEngine;
namespace Character.Shooting {
public abstract class RateOfFireProcessor : WeaponInputProcessor {
protected float _ShotTimer;
protected float _ReloadTimer;
protected float TimeBetweenS... |
DDD.Application/UnitOfWork.cs | raminrahimzada/DDD | 1 | 7060674 | <filename>DDD.Application/UnitOfWork.cs
using System.Threading;
using System.Threading.Tasks;
using DDD.Domain.Aggregates.CustomerAggregate;
using DDD.Domain.Aggregates.EventLogAggregate;
using DDD.Domain.Aggregates.TransactionAggregate;
using DDD.Infrastructure;
using DDD.Infrastructure.Repositories;
namespace DDD.A... |
src/MyTested.HttpServer/Contracts/IAndUriTestBuilder.cs | ivaylokenov/MyTested.HttpServer | 48 | 7060675 | <reponame>ivaylokenov/MyTested.HttpServer
namespace MyTested.HttpServer.Contracts
{
/// <summary>
/// Used for adding AndAlso() method to the the URI tests.
/// </summary>
public interface IAndUriTestBuilder : IUriTestBuilder
{
/// <summary>
/// AndAlso method for better readability... |
getAddress.Sequence.Mongodb/MongoStateProvider.cs | getAddress/Sequence | 41 | 7060676 | <gh_stars>10-100
using MongoRepository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MongoDB.Driver.Linq;
using MongoDB.Driver.Builders;
using MongoDB.Bson;
using MongoDB.Driver;
namespace getAddress.Sequence.Mongodb
{
public class Mongo... |
src/Blog.Infrastructure/Repository/Core/AdminUserRepo.cs | Memoyu/blog_service | 1 | 7060677 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Blog.Core.Domains.Entities.Core;
using Blog.Core.Interface.IRepositories.Core;
using Blog.Core.Security;
using Blog.Infrastructure.Repository.Base;
using FreeSql;
namespace Blog.Infrastructure.Repository.Core
{
public class AdminU... |
Plugins/EASy-Producer/ScenariosTest/testdata/real/INDENICA/PL_WMS_Platform/WMSsolution/StorageBinSearchService/IStorageBinSearchService.cs | SSEHUB/EASyProducer | 10 | 7060678 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using DataAccess;
namespace StorageBinSearchService
{
[ServiceContract]
public interface IStorageBinSearchService
{
[O... |
loadOnClick.cs | AlecJ/Momentum | 0 | 7060679 | <reponame>AlecJ/Momentum
// Decompiled with JetBrains decompiler
// Type: loadOnClick
// Assembly: Assembly-CSharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 1A6E90D9-4890-408D-BB9D-C003E1B300F1
// Assembly location: C:\Users\alecb\code\Momentum\momentum_Data\Managed\Assembly-CSharp.dll
using Unit... |
DB first/TeamManager/TeamManager/MatchTeam.cs | FerociousBarber/furry-freethorpe | 0 | 7060680 | <filename>DB first/TeamManager/TeamManager/MatchTeam.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to t... |
src/EntryPoint/Arguments/OptionStrategies/IOptionStrategy.cs | TheColonel2688/EntryPoint | 152 | 7060681 | <filename>src/EntryPoint/Arguments/OptionStrategies/IOptionStrategy.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using EntryPoint.Common;
using EntryPoint.Parsing;
using EntryPoint.Arguments;
namespace EntryPoint.Arguments.OptionStrategies {
internal interf... |
girisAdmin.Designer.cs | AtillaTahak/DepoProjesi | 1 | 7060682 | <reponame>AtillaTahak/DepoProjesi
namespace DepoProjesi
{
partial class girisAdmin
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... |
Assets/DolphinPart14to19Unfreeze.cs | gregklw/inlustris-src | 0 | 7060683 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DolphinPart14to19Unfreeze : DolphinUnfreeze
{
public Part14to19Lights[] dolphinLightsTriggers;
protected override void OnTriggerEnter(Collider other)
{
if (other.CompareTag("PlayerHitbox"))
{
... |
Book Search App/Book Search App/Models/SearchResults.cs | DanielThaiDTH/Book-Search-App | 0 | 7060684 | <filename>Book Search App/Book Search App/Models/SearchResults.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Book_Search_App
{
public class SearchResults
{
public int numFound { get; set; }
public int start { get; set; }
public bool numFoundExact { get... |
src/Robotlegs/Bender/Extensions/CommandCenter/DSL/ICommandConfigurator.cs | KieranBond/robotlegs-sharp-framework | 87 | 7060685 | <gh_stars>10-100
//------------------------------------------------------------------------------
// Copyright (c) 2014-2016 the original author or authors. All Rights Reserved.
//
// NOTICE: You are permitted to use, modify, and distribute this file
// in accordance with the terms of the license agreement ac... |
DFC.FutureAccessModel.AreaRouting.UnitTests/Functions/ApiDefinitionFunctionFixture.cs | SkillsFundingAgency/dfc-futureaccessmodel-arearouting | 0 | 7060686 | <reponame>SkillsFundingAgency/dfc-futureaccessmodel-arearouting
using System;
using System.Net;
using System.Net.Http;
using System.Reflection;
using System.Threading.Tasks;
using DFC.Swagger.Standard;
using Microsoft.AspNetCore.Http;
using Xunit;
namespace DFC.FutureAccessModel.AreaRouting.Functions
{
/// <s... |
JabbR/ContentProviders/Core/EmbedContentProvider.cs | mattbrailsford/JabbR | 1 | 7060688 | <reponame>mattbrailsford/JabbR<filename>JabbR/ContentProviders/Core/EmbedContentProvider.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
namespace JabbR.ContentProviders.Core
{
public abstract class EmbedContentProvider : CollapsibleContentProvider
{
pu... |
modelcatalogue/Read/ConvertToBuildable/Pyra.cs | land297/modelcatalogue | 0 | 7060689 | <gh_stars>0
using Aveva.Core.Database;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace modelcatalogue.ConvertToBuildable
{
public class Pyra : IBuildableConverter
{
public DbElementType SourceType { get { return DbElementTypeInstance.PYRAMID; } }
... |
src/ServiceSentry.Common/Client/ServiceNameLocator.cs | auturge/servicesentry | 0 | 7060690 | using System;
using System.Collections.Generic;
using ServiceSentry.Common.Services;
namespace ServiceSentry.Common.Client
{
public abstract class ServiceNameLocator
{
/// <summary>
/// Given a list of potential service names,
/// searches the installed Windows services,
... |
WhatsAppApi/Database/Orm/SenderKeys.cs | BayrakMustafa/WhatsApp-API-NET | 18 | 7060691 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NHibernate.Mapping.ByCode;
using NHibernate.Mapping.ByCode.Conformist;
namespace WhatsAppApi.Database.Orm
{
public class SenderKeys
{
public virtual int Id
... |
HCH.Services/Contracts/IFoodSupplementsService.cs | TMihova/HCenterHarmony | 0 | 7060692 | using System.Collections.Generic;
using System.Threading.Tasks;
using HCH.Models;
namespace HCH.Services
{
public interface IFoodSupplementsService
{
Task<IEnumerable<FoodSupplement>> AllAsync();
Task<FoodSupplement> GetProductById(int productId);
Task AddProductAsync(FoodSupplement ... |
.NETCore/ASP.NETCore/v6.0/AutoLot/AutoLot.Web/TagHelpers/ItemListTagHelper.cs | skimedic/presentations | 349 | 7060693 | <gh_stars>100-1000
namespace AutoLot.Web.TagHelpers;
public class ItemListTagHelper : ItemLinkTagHelperBase
{
public ItemListTagHelper(IActionContextAccessor contextAccessor, IUrlHelperFactory urlHelperFactory)
: base(contextAccessor, urlHelperFactory)
{
ActionName = "Index";
}
publi... |
client/CoppeliaSim/RemoteAPIWrapper.cs | SZB0621/ctorta-alkfejl2021 | 0 | 7060694 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using System.Runtime.InteropServices;
namespace client.CoppeliaSim
{
/// <summary>
/// Wrapper class for the coppelia sim's remoteApi.dll, wrapping the .C API librarys f... |
Picker/Picker.WPF/ViewModels/TabularViewModel.cs | 13f/picker | 4 | 7060695 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using Catel.Data;
using Catel.MVVM;
using Newtonsoft.Json.Linq;
using KBCsv;
using System.IO;
namespace Picker.ViewModels {
public class TabularViewModel : ViewModelBase {
s... |
src/Ninject.Test/Fakes/Barracks.cs | reynzmonaresgithub/Nugets-Ninject | 1,750 | 7060696 | namespace Ninject.Tests.Fakes
{
public class Barracks
{
public Barracks()
{
}
public Barracks( IWarrior warrior )
{
this.Warrior = warrior;
}
public Barracks( IWeapon weapon )
{
this.Weapon = weapon;
}
pub... |
Unity Sources/Gnome/Assets/IDKY Inc Assets/Scripts/Levels/RewardManager.cs | ttat/puzzlewarrior | 0 | 7060697 | // ----------------------------------------------
//
// Copyright © 2013-2014 IDKY Developments
// Authors: <NAME>, <NAME>
//
// ----------------------------------------------
using System;
using System.Collections;
using System.Collections.Generic;
using Idky;
using UnityEngine;
public class RewardManager : M... |
src/EA.Iws.Web/Views/Account/VerifyEmail.cshtml | DEFRA/prsd-iws | 1 | 7060698 | <filename>src/EA.Iws.Web/Views/Account/VerifyEmail.cshtml
@using EA.Iws.Web.Views.Account
@{
ViewBag.Title = VerifyEmailResources.Title;
}
<h1 class="heading-large">@VerifyEmailResources.Header</h1>
<p>@VerifyEmailResources.HeaderDescription</p>
@if (User.Identity.IsAuthenticated)
{
@Html.ActionLink(Constan... |
src/MachineMappedSettings.Core/IMachineMappedSetting.cs | wade/MachineMappedSettings | 1 | 7060699 | <reponame>wade/MachineMappedSettings<filename>src/MachineMappedSettings.Core/IMachineMappedSetting.cs
namespace MachineMappedSettings
{
/// <summary>
/// Implemented by classes that represent a machine-mapped setting configuration item.
/// </summary>
public interface IMachineMappedSetting
{
/// <summary>
/// ... |
Data/Lekarna.Data/Migrations/20200915115334_DeleteOrderStatusEntityMadeOrderItemMappingTableBetweenMedicineAndOrder.cs | HristoShabanakov/Lekarna | 0 | 7060700 | <reponame>HristoShabanakov/Lekarna
namespace Lekarna.Data.Migrations
{
using System;
using Microsoft.EntityFrameworkCore.Migrations;
public partial class DeleteOrderStatusEntityMadeOrderItemMappingTableBetweenMedicineAndOrder : Migration
{
protected override void Up(MigrationBuilder migration... |
YoCode/Checks/UserInterfaceChecks/UICheck.cs | FairlyLinearDynamics/YoCode | 3 | 7060701 | using System;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Chrome;
using OpenQA.Selenium.Support.UI;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Win32;
namespace YoCode
{
class UICheck : IChec... |
WillClinic/Views/Match/Application.cshtml | Will-Clinic/Front-End | 7 | 7060702 | @model VeteranIntakeForm
<h2>Matched Veteran's Completed Form</h2>
<div class="container bg-info">
<div class="row">
<div class="bordercol col-sm-4">Legal Name: @Model.FullLegalName</div>
<div class="bordercol col-sm-4">Address: @Model.Address</div>
<div class="bordercol col-sm-4">Phone N... |
voxir-datasets/Util/Octree/Cell.cs | huepat/voxir | 7 | 7060703 | <reponame>huepat/voxir
using HuePat.VoxIR.Util.Geometry;
using OpenTK.Mathematics;
using System.Collections.Generic;
using System.Linq;
namespace HuePat.VoxIR.Datasets.Util.Octree {
abstract class Cell : AABox {
private int clumpingDepth;
private int triangleCount;
protected Vector3d[] ch... |
PlatformsEnum.cs | darthjames1978/GamesDBApi | 0 | 7060704 | <gh_stars>0
namespace GamesDBApi
{
public enum PlatformsEnum
{
NintendoGamecube = 2,
Nintendo64 = 3,
NintendoGameboy = 4,
NintendoGameboyAdvance = 5,
SuperNintendo = 6,
NintendoEntertainmentSystem = 7,
NintendoDS = 8,
NintendoWii = 9,
Sony... |
tests/gfoidl.Base64.Tests/Internal/Vector128HelperTests/WriteVector128.cs | gfoidl/Base64 | 36 | 7060705 | using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;
using gfoidl.Base64.Internal;
using NUnit.Framework;
namespace gfoidl.Base64.Tests.Internal.Vector128HelperTests
{
[TestFixture]
public class WriteVector128
{
[Test]
public void Byt... |
Core.UnitTests/MutableReflection/Generics/MethodInstantiationInfoTest.cs | bubdm/TypePipe | 22 | 7060706 | <gh_stars>10-100
// Copyright (c) rubicon IT GmbH, www.rubicon.eu
//
// See the NOTICE file distributed with this work for additional information
// regarding copyright ownership. rubicon licenses this file to you under
// the Apache License, Version 2.0 (the "License"); you may not use this
// file except in compli... |
Gai.Unity/Assets/CreativeSpore/RpgMapEditor/Scripts/RpgFramework/Behaviours/TeleporterBehaviour.cs | ColacX/Gai | 0 | 7060707 | using UnityEngine;
using System.Collections;
namespace CreativeSpore.RpgMapEditor
{
[RequireComponent(typeof(BoxCollider))]
[AddComponentMenu("RpgMapEditor/Behaviours/TeleporterBehaviour", 10)]
public class TeleporterBehaviour : MonoBehaviour
{
[Tooltip("Set the name of the target scene")]
... |
Musical_WebStore_BlazorApp/Shared/Models/UserLimited.cs | Burion/AdminMS | 0 | 7060708 | using System;
namespace Musical_WebStore_BlazorApp.Shared
{
public class UserLimited
{
public string Id {get;set;}
public string Email {get;set;}
public string UserName {get;set;}
}
} |
DataAPI.Client.Test/Models/TestObject2.cs | mindleaving/dataapi | 0 | 7060709 | using System.Collections.Generic;
namespace DataAPI.Client.Test.Models
{
internal class TestObject2
{
public string Id { get; set; }
public string EntityId { get; set; }
public List<WellMeasurement> Items { get; }
public string ExperimentId { get; set; }
}
... |
DarkSoulsII.DebugView.Model/Morpheme/MorphemeSkeletonMapper.cs | Atvaark/DarkSoulsII.DebugView | 3 | 7060710 | <reponame>Atvaark/DarkSoulsII.DebugView
using DarkSoulsII.DebugView.Core;
using DarkSoulsII.DebugView.Model.Model;
namespace DarkSoulsII.DebugView.Model.Morpheme
{
public class MorphemeSkeletonMapper : IReadable<MorphemeSkeletonMapper>
{
public MdlSkeleton Skeleton { get; set; }
public Morphem... |
Pose/Pose/SceneEditor/Tools/PoseTool.cs | thomasvt/pose | 2 | 7060711 | <gh_stars>1-10
using System.Windows;
using System.Windows.Input;
using Pose.SceneEditor.MouseOperations;
namespace Pose.SceneEditor.Tools
{
internal class PoseTool
: IMouseTool
{
private readonly SceneEditorViewModel _sceneEditor;
public PoseTool(SceneEditorViewModel sceneEditor)
... |
x/KursnaLista.Mobile/KursnaLista.Mobile/Views/MainPageView.xaml.cs | srdjan-bozovic/kursnalista | 0 | 7060712 | <reponame>srdjan-bozovic/kursnalista<filename>x/KursnaLista.Mobile/KursnaLista.Mobile/Views/MainPageView.xaml.cs
using System;
using System.Collections.Generic;
using KursnaLista.Mobile.Views;
using KursnaLista.Phone.Contracts.ViewModels;
using KursnaLista.Phone.Contracts.Views;
using Xamarin.Forms;
using MSC.Phone.Sh... |
BDSA2018.Lecture10.UwpApp/ViewModels/CharacterViewModel.cs | ondfisk/BDSA2018 | 0 | 7060714 | <filename>BDSA2018.Lecture10.UwpApp/ViewModels/CharacterViewModel.cs
using BDSA2018.Lecture10.Shared;
using BDSA2018.Lecture10.UwpApp.Models;
using System;
using System.Threading.Tasks;
using System.Windows.Input;
namespace BDSA2018.Lecture10.UwpApp.ViewModels
{
public class CharacterViewModel : BaseViewModel
... |
src/FluentAssertions.Union/Utils/ReflectionUtils.cs | Resultful/FluentAssertions.Resultful | 2 | 7060715 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using FluentAssertions.Union.Models;
namespace FluentAssertions.Union.Utils
{
internal static class ReflectionUtils
{
internal static IEnumerable<MethodInfo> GetMethods(this Type type, string name)
... |
Lit.Db.Sql/SqlStoredProcedure.cs | lisandropodesta/lit.net | 1 | 7060716 | using System.Data.SqlClient;
namespace Lit.Db.Sql
{
/// <summary>
/// Stored procedure information.
/// </summary>
internal class SqlStoredProcedure : DbStoredProcedureBase<SqlCommand, SqlParameter>
{
#region Constructors
public SqlStoredProcedure(string name, SqlCommand command) ... |
ULFGMobile/ULFG.UWP/PlatformImpl/UWPResourceManager.cs | DanielAlba96/ULFG | 0 | 7060717 | using System;
using System.IO;
using System.Threading.Tasks;
using ULFG.Forms.PlatformInterfaces;
using Windows.Storage;
namespace ULFG.UWP.PlatformImpl
{
/// <summary>
/// Implementación de la interfaz <see cref="IResourceManager"/> de inyección de dependencias para las operaciones relacionadas con los recu... |
src/SDK/XFiler.SDK/ViewModels/Page/Explorer/FilePresenters/BaseFilesPresenterFactory.cs | VSS-DEV/X-Filer | 19 | 7060718 | <gh_stars>10-100
using System;
using System.IO;
using System.Windows;
using System.Windows.Media;
namespace XFiler.SDK;
public abstract class BaseFilesPresenterFactory : BaseViewModel, IFilesPresenterFactory
{
public IFilesPresenter? FilesPresenter { get; private set; }
public ImageSource IconSource { get; ... |
nzy3d-api/Plot3D/Rendering/Ordering/DefaultOrderingStrategy.cs | rtrusso/nzy3d-api | 15 | 7060719 | <filename>nzy3d-api/Plot3D/Rendering/Ordering/DefaultOrderingStrategy.cs
using Microsoft.VisualBasic;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using nzy3D.Plot3D.Primitives;
using nzy3D.Plot3D.Rendering.View;
namespace nzy3D.Plot3D.Renderin... |
Assets/NumberWizard.cs | tdvance/NumberWizardUI | 0 | 7060720 | using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using System.Collections;
public class NumberWizard : MonoBehaviour {
// Use this for initialization
int max;
int min;
int guess;
int maxGuessesAllowed;
public Text text;
void Start () {
min = 1;
max = 1000;
guess =... |
csharpclient/client/EOrderDecoder.cs | SolomatovS/tws2uni | 1 | 7060721 | /* Copyright (C) 2019 Interactive Brokers LLC. All rights reserved. This code is subject to the terms
* and conditions of the IB API Non-Commercial License or the IB API Commercial License, as applicable. */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.T... |
Ficdown.Parser/Render/HtmlRenderer.cs | rudism/ficdown | 12 | 7060722 | <filename>Ficdown.Parser/Render/HtmlRenderer.cs
namespace Ficdown.Parser.Render
{
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Markdig;
using Model.Parser;
using Parser;
public class HtmlRenderer : IRenderer
{
private static Logger _logger = Logge... |
Assets/Scripts/environment/cameratrack.cs | AGGP-NHTI/Vibin | 0 | 7060723 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class cameratrack : MonoBehaviour
{
public GameObject target;
public float distance = 5f;
public float speed = 5f;
void Awake()
{
gameObject.transform.SetParent(null);
}
void Update()
... |
src/WordFlip.Services/SentenceFlipping/GetLastFlippedSentencesService.cs | silkfire/WordFlip.Api | 0 | 7060724 | namespace Wordsmith.WordFlip.Services.SentenceFlipping
{
using Domain.AggregatesModel.FlippedSentenceAggregate;
using System.Collections.Generic;
using System.Threading.Tasks;
public class GetLastFlippedSentencesService
{
private readonly IFlippedSentenceRepository _flippedSent... |
src/SURFnet.Authentication.Adfs.Plugin/NameIdConfiguration/UserIdAndShoFromADAttr.cs | LaudateCorpus1/ADFS-MFA-SAML2.0-Extension | 7 | 7060725 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.DirectoryServices;
using System.Security.Claims;
using log4net;
namespace SURFnet.Authentication.Adfs.Plugin.NameIdConfiguration
{
public class UserIdAndShoFromADAttr : GetNameIDBase
{
private const string ShoXmlAttributeName... |
EntityLayer/Concrete/Match.cs | mertozler/BlogPanel | 0 | 7060726 | <reponame>mertozler/BlogPanel
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EntityLayer.Concrete
{
public class Match
{
[Key]
public int MatchID { get; set; }
pu... |
Samples/Blazor.Sample/Extensions/Http/HttpResponseMessageExtensions.cs | tomasfabian/Kafka.DotNet.ksqlDB | 17 | 7060727 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using ksqlDB.RestApi.Client.KSql.RestApi.Extensions;
using ksqlDB.RestApi.Client.KSql.RestApi.Statements;
namespace Blazor.Sample.Extensions.Http
{
public static class HttpResponseMessageExtension... |
Monitor/ViewModel/NewSession/NewFileSessionViewModel.cs | laur89/lean-monitor | 95 | 7060728 | using System.ComponentModel;
using System.IO;
using System.Linq;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using Monitor.Model.Sessions;
namespace Monitor.ViewModel.NewSession
{
public class NewFileSessionViewModel : ViewModelBase, INewSessionViewModel, IDataErrorInfo
{
private readon... |
Assets/Scripts/Layers/PolygonLayer.cs | ViRGIS-Team/ViRGIS | 1 | 7060729 | // copyright Runette Software Ltd, 2020. All rights reserved
using GeoJSON.Net;
using GeoJSON.Net.Feature;
using GeoJSON.Net.Geometry;
using Newtonsoft.Json.Linq;
using Project;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using UnityEngine;
using U... |
Lansh/Model/SearchResult.cs | Choonlay/Lansh | 0 | 7060730 | <filename>Lansh/Model/SearchResult.cs
using Lansh.Common.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lansh.Model
{
public class SearchResult
{
public virtual SearchResult Conversion(SearchResultInfo searchResultIn... |
src/Samples/Features/EmbeddedViews/Mvc/DefaultMvcApplication.cs | bmabdi/mvcturbine | 6 | 7060731 | namespace Mvc {
using MvcTurbine.ComponentModel;
using MvcTurbine.Web;
using MvcTurbine.Windsor;
public class DefaultMvcApplication : TurbineApplication {
static DefaultMvcApplication() {
ServiceLocatorManager.SetLocatorProvider(() => new WindsorServiceLocator());
}
}
} |
Day17/Program.cs | dkull/aoc2021 | 0 | 7060732 | <filename>Day17/Program.cs
using System.Diagnostics;
using System.Text.RegularExpressions;
namespace App
{
class Program
{
static void Main(string[] args)
{
var data = LoadData(args[0]);
Stopwatch sw = Stopwatch.StartNew();
var p1 = P1(data);
Co... |
PresetMagician/Commands/Developer/PluginToolsUnloadPluginCommandContainer.cs | PresetMagician/PresetMagician | 35 | 7060733 | using System.Collections.Specialized;
using System.Threading.Tasks;
using Catel.IoC;
using Catel.MVVM;
using PresetMagician.Core.Services;
// ReSharper disable once CheckNamespace
namespace PresetMagician
{
// ReSharper disable once UnusedMember.Global
public class PluginToolsUnloadPluginCommandContainer : Ap... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.