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/apis/Podcast/Vocalia.Podcast/DomainModels/Listen.cs | AdamMYoung/Vocalia-API | 0 | 7052683 | <gh_stars>0
namespace Vocalia.Podcast.DomainModels
{
public class Listen
{
/// <summary>
/// ID of the listen entry.
/// </summary>
public int ID { get; set; }
/// <summary>
/// ID of the user.
/// </summary>
public string UserUID { get; set; }
... |
src/SharpPi/MMALSharp/Processing/Processors/Effects/EdgeDetection.cs | tottaka/SharpPi | 0 | 7052684 | // <copyright file="EdgeDetection.cs" company="Techyian">
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT License. Please see LICENSE.txt for License info.
// </copyright>
using MMALSharp.Common;
namespace MMALSharp.Processors.Effects
{
/// <summary>
/// Represents the strength of the ... |
LocationAlert/LocationAlert.Test/UnitTest1.cs | escalonn/AlertOutside | 0 | 7052685 | using LocationAlert.Library.Models;
using System;
using System.Threading.Tasks;
using Xunit;
namespace LocationAlert.Test
{
public class UnitTest1
{
[Fact]
//public async Task Test1()
public void Test1()
{
// just skip the http stuff for now while testing pipeline
... |
src/JsonApiDotNetCore/Resources/Annotations/HasManyThroughAttribute.cs | DumpsterDoofus/JsonApiDotNetCore | 0 | 7052686 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace JsonApiDotNetCore.Resources.Annotations
{
/// <summary>
/// Used to expose a property on a resource class as a json:api to-many relationship (https://jsonapi.org/format/#document-reso... |
WastedgeQuerier/EditInExcel/ValidationErrorsForm.cs | wastedge/wastedge-querier | 0 | 7052687 | 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 SystemEx.Windows.Forms;
using WastedgeApi;
namespace WastedgeQuerier.EditInExcel
{
... |
Analyzer1/Analyzer1/Calculator.cs | Zefek/MetricsAnalyzer | 3 | 7052688 | <reponame>Zefek/MetricsAnalyzer
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using MetricsAnalyzers.Analyzers;
namespace MetricsAnalyzer... |
Mantis_tests/appmanager/ApiHelper.cs | dzejd/csharp_training | 0 | 7052689 | <filename>Mantis_tests/appmanager/ApiHelper.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Support.UI;
using System.Threading.Tasks;
namespace Mantis_tests
{
public class AP... |
TargetLogics/CSimpleArtillary.cs | HuMMeRSI/GeneticTargeting | 0 | 7052690 | using Library;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
namespace TargetLogics
{
public class CSimpleArtillary: ILive, INextGeneration<CSimpleArtillary>
{
public const int ArtilSize = 50;
public int UID { get; set; }
#region Stats... |
unity/flutter_unity_blueprints_unity/Assets/Scripts/Application/Stub/StubScope.cs | adoringonion/flutter_unity_test | 0 | 7052691 | using System;
using System.Threading;
using Cysharp.Threading.Tasks;
using FlutterUnityPlugin.Runtime;
using Google.Protobuf;
using Google.Protobuf.WellKnownTypes;
using Pbunity;
using UniRx;
using UnityEngine;
using UnityEngine.UI;
using VContainer;
using VContainer.Unity;
namespace FlutterUnityBlueprints.Application... |
src/DinoCat.Wpf/System/Windows/UIElementBase.cs | maxbrister/DinoCat | 1 | 7052693 | using DinoCat.Elements;
using DinoCat.Wpf.System.Windows.Internal;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace DinoCat.Wpf.System.Windows
{
public partial class UIElementBase... |
ChannelNineEventFeed.Library/Interfaces/ISessionCategory.cs | anewton/channelNineEventViewer | 0 | 7052694 | namespace ChannelNineEventFeed.Library.Interfaces
{
public interface ISessionCategory : IDataEntity
{
int CategoryId { get; set; }
int SessionId { get; set; }
}
} |
BLL/Notif/NotificationResponse.cs | Hussein-Karaky/POS | 0 | 7052695 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace POS_Solutions.BLL.Shared.Notif
{
public class NotificationResponse
{
public long NotificationId { get; set; }
public long UserId { get; set; }
public byte Status { get; set; }
}
}
|
Framework/Snoopers/SnooperRTP/SnooperRTP.cs | mvondracek/NetfoxDetective | 35 | 7052696 | <gh_stars>10-100
// Copyright (c) 2017 <NAME>, <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 ... |
Projects/DatabaseAbstractionLayer/Platform/Configuration/BaseSessionConfigurationManager.cs | OutSystemsCommunity/.NET-DB2-Connectors-for-Linux-and-Windows | 1 | 7052697 | /*
This source code (the "Generated Software") is generated by the OutSystems Platform
and is licensed by OutSystems (http://www.outsystems.com) to You solely for testing and evaluation
purposes, unless You and OutSystems have executed a specific agreement covering the use terms and
conditions of the Generated ... |
Source/Access/DispatchInterfaces/_Printer.cs | brunobola/NetOffice | 1 | 7052699 | <gh_stars>1-10
using System;
using NetRuntimeSystem = System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.ComponentModel;
using System.Reflection;
using System.Collections.Generic;
using NetOffice;
namespace NetOffice.AccessApi
{
///<summary>
/// DispatchInterface _Print... |
Mozu.Api/Resources/Commerce/Catalog/Admin/Attributedefinition/Producttypes/ProductTypePropertyResource.cs | thomsumit/mozu-dotnet | 0 | 7052700 | <filename>Mozu.Api/Resources/Commerce/Catalog/Admin/Attributedefinition/Producttypes/ProductTypePropertyResource.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Codezu.
//
// Changes to this file may cause incorrect beha... |
xamarin/Reviewer.Core/Controls/ImageView.xaml.cs | Azure-Samples/azuredevtour | 23 | 7052702 | using System;
using System.Collections.Generic;
using Reviewer.Core;
using Xamarin.Forms;
namespace PhotoTour.Core
{
public partial class ImageView : ContentView
{
public ImageView()
{
InitializeComponent();
GestureRecognizers.Add(new TapGestureRecognizer(async (obj) =>
{
if (!(obj is ImageView im... |
PettingZoo.Core/ExportImport/Subscriber/StreamProgressDecorator.cs | PsychoMark/PettingZoo | 1 | 7052703 | <reponame>PsychoMark/PettingZoo
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace PettingZoo.Core.ExportImport.Subscriber
{
public class StreamProgressDecorator : BaseProgressDecorator
{
private readonly StreamWrapper streamWrapper;
public Stream S... |
src/ServerForm/Extensions.cs | SeanLiao7/HiLoSocket | 0 | 7052704 | <gh_stars>0
using System;
using System.Windows.Forms;
namespace ServerForm
{
public static class Extensions
{
public static void UpdateUi( this Control control, Action updateAction )
{
if ( control.InvokeRequired )
control.Invoke( updateAction );
else
... |
src/Stryker.CLI/Stryker.CLI.UnitTest/Logging/InputBuilderTests.cs | AlexNDRmac/stryker-net | 1,222 | 7052705 | using System.IO;
using System.IO.Abstractions.TestingHelpers;
using System.Linq;
using System.Text;
using Shouldly;
using Stryker.CLI.Logging;
using Stryker.Core.Options;
using Xunit;
namespace Stryker.CLI.UnitTest
{
public class InputBuilderTests
{
[Fact]
public void ShouldAddGitIgnore()
... |
src/app/WinTak/Animation/MoveAnimation.cs | crasshacker/STak | 1 | 7052706 | using System;
using System.Linq;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media;
using System.Windows.Media.Media3D;
using System.Windows.Media.Animation;
using NLog;
using STak.TakEngine;
namespace STak.WinTak
{
public class... |
ShireBank/Helper/ConfigurationBuilderHelper.cs | kmaraszkiewicz86/ShireBank | 0 | 7052707 | using Microsoft.Extensions.Configuration;
namespace ShireBank.Helper
{
public static class ConfigurationBuilderHelper
{
public static IConfiguration GetNLogConfig()
{
return new ConfigurationBuilder()
.SetBasePath(System.IO.Directory.GetCurrentDirectory()) //From NuGet... |
C#/Truckleer/Truckleer.Creative/Screens/Abastecimento/CustomSupplyList.cs | creativepisystem/creativesystem | 0 | 7052708 | <reponame>creativepisystem/creativesystem
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Truckleer.Modules;
namespace Truckleer.Creative.Screens.Abastecimento
{
class CustomSupplyList : Panel
{
//ind... |
GeometricAlgebraSymbolicsLib/GeometricAlgebraSymbolicsLib/Multivectors/GaSymMultivectorHashTable3D.cs | ga-explorer/GMac | 8 | 7052710 | using GeometricAlgebraNumericsLib.Structures;
namespace GeometricAlgebraSymbolicsLib.Multivectors
{
public class GaSymMultivectorHashTable3D : GaSparseTable3D<ulong, ulong, ulong, IGaSymMultivector>
{
public override bool IsDefaultValue(IGaSymMultivector value)
{
return value.IsNul... |
SVGLibrary/SVGGroup.cs | jem-green/SVG | 0 | 7052711 | // --------------------------------------------------------------------------------
// Name: SvgGroup
//
// Author: <NAME> <<EMAIL>>
// See the ReleaseNote.txt file for copyright and license information.
//
// Remarks:
//
// -------------------------------------------------------------------------------... |
Wontstop.Climb.Ui.Uwp/Converters/AutoSuggestBoxTextChangedEventArgsToBoolConverter.cs | stonemonkey/Wontstop | 1 | 7052712 | using System;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Data;
namespace Wontstop.Climb.Ui.Uwp.Converters
{
public class AutoSuggestBoxTextChangedEventArgsToBoolConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
{
... |
tests/RazorRockstars.Console.Files/Views/Shared/RequestFiltersLayout.cshtml | TheDuQe/ServiceStack | 2,977 | 7052713 | <reponame>TheDuQe/ServiceStack
@{
ViewBag.Title = "Page testing request filters";
base.ApplyRequestFilters(new RedirectWithoutQueryString());
if (Request.QueryString.Count > 0)
{
throw new System.IO.InvalidDataException();
}
}
<!DOCTYPE HTML>
<html>
<head>
<title>RequestFilters... |
TilendUnityProject/Assets/Scripts/LevelManager.cs | LaraK1/TILEND | 0 | 7052714 | <filename>TilendUnityProject/Assets/Scripts/LevelManager.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Text;
using System.IO;
using UnityEngine.UI;
public class LevelManager : MonoBehaviour
{
int rows;
int cols;
string[,] levelData;
[Header("Presets")]... |
IndrivoPM/IndrivoPM/Utils/NavigationHelper.cs | indrivo/bizon360_pm | 0 | 7052715 | using System;
using Bizon360.Models;
using Microsoft.AspNetCore.Mvc.Rendering;
using static System.String;
namespace Bizon360.Utils
{
public static class NavigationHelper
{
public static Platform Pm => Platform.Pm;
public static Platform Crm => Platform.Crm;
public static Platform Hr... |
Freshdesk.NET/SlaPolicies/SlaApplicableTo.cs | danielbeast/Freshdesk.NET | 0 | 7052716 | <gh_stars>0
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Freshdesk
{
/// <summary>
/// </summary>
public class SlaApplicableTo
{
/// <summary></summary>
[JsonProperty("company_ids")]
public List<long> CompanyIDs { get; set; } = new List<long>();
/... |
src/VolusionAccess/Models/Order/VolusionOrders.cs | skuvault-integrations/volusionAccess | 1 | 7052717 | <filename>src/VolusionAccess/Models/Order/VolusionOrders.cs
using System.Collections.Generic;
using System.Xml.Serialization;
namespace VolusionAccess.Models.Order
{
[ XmlRoot( ElementName = "xmldata", Namespace = "" ) ]
public class VolusionOrders
{
[ XmlElement( ElementName = "Orders" ) ]
public List< Volusi... |
resources/.gen/aws/aws/IIotTopicRuleIotAnalytics.cs | scottenriquez/cdktf-alpha-csharp-testing | 0 | 7052718 | using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
[JsiiInterface(nativeType: typeof(IIotTopicRuleIotAnalytics), fullyQualifiedName: "aws.IotTopicRuleIotAnalytics")]
public interface IIotTopicRuleIotAnalytics
{
[JsiiProperty(name: "channelName", typeJson... |
Trunk/DarkRoom/Assets/Scripts/Meta/Item/PropsMeta.cs | yimogod/DarkRoom | 0 | 7052719 | using System;
using System.Collections.Generic;
namespace Sword
{
public class PropsMeta : ItemMeta
{
public PropsMeta(int id) : base(id) { }
}
}
|
src/PaperRaker.Application/Validation/PaperValidation.cs | Jimmyson/PaperRaker | 0 | 7052720 | <filename>src/PaperRaker.Application/Validation/PaperValidation.cs
using FluentValidation;
using PaperRaker.Core.System;
namespace PaperRaker.Application.Validation
{
public class PaperValidation : AbstractValidator<Paper>
{
public PaperValidation()
{
RuleFor(p => p.PaperId)
.N... |
WebApiClientGenAbstractShared/ClientApiTsFunctionGenAbstract.cs | anthrax3/webapiclientgen | 1 | 7052721 | using Fonlow.TypeScriptCodeDom;
using Fonlow.Web.Meta;
using System;
using System.CodeDom;
using System.Diagnostics;
using System.Text;
using Fonlow.Poco2Client;
namespace Fonlow.CodeDom.Web.Ts
{
/// <summary>
/// Generate a client function upon ApiDescription
/// </summary>
public abstract class ClientApiTsFunct... |
src/Core/EumelGameRoom.cs | npaulsen/eumel | 1 | 7052722 | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Eumel.Core.GameSeriesEvents;
namespace Eumel.Core
{
public record EumelGameRoomDefinition(
string Name,
ImmutableListWithValueSemantics<PlayerInfo> Players,
EumelGamePlan Plan,
... |
sensortest/SensorTest/SensorTest/Form1.cs | Krishna192000/Project-NextInLine-main | 0 | 7052723 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SensorTest
{
public partial class Form1 : Form
{
public Form1()
{
... |
Script/UnrealEngine/GeneratedScriptFile/FColorParameterNameAndCurves.cs | xiongfang/UnrealCS | 126 | 7052724 | using System;
namespace UnrealEngine
{
/// <summary>Structure representing an animated vector parameter and it's associated animation curve.</summary>
public partial struct FColorParameterNameAndCurves
{
/// <summary>The name of the vector parameter which is being animated.</summary>
public FName ParameterName;
... |
InteractionDemoVR/Assets/Scripts/Interaction/Interactables/ConcreteEquipables/EquipableBow.cs | Lernom/Unity_VR_Demo | 0 | 7052725 | using InteractionDemo.Core;
using UnityEngine;
namespace InteractionDemo.Interaction
{
/// <summary>
/// Grabbable object that is grabbed in specific way
/// </summary>
class EquipableBow : EquipableGrabbableObject
{
public BowString BowstringPoint;
protected override void SetEqui... |
IfInjectorTest/basic/ConcreteTypesTest.cs | iamahern/IfInjector | 1 | 7052726 | using NUnit.Framework;
using System;
using IfInjector;
using IfInjectorTest;
namespace IfInjectorTest.Basic
{
[TestFixture()]
public class ConcreteTypesTest : Base2WayTest
{
[Test()]
public void TestCanSetConcreteOnlyProperties ()
{
string expectX = "foobar";
Bind(MakeBind<Foo, Bar> ()... |
Ascon.Pilot.WebClient/src/Ascon.Pilot.Web/ViewComponents/SidePanelViewComponent.cs | dm-sokolov/pilit-web | 5 | 7052727 | <reponame>dm-sokolov/pilit-web
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Ascon.Pilot.DataClasses;
using Ascon.Pilot.Web.Extensions;
using Ascon.Pilot.Web.Models;
using Ascon.Pilot.Web.ViewModels;
using Microsoft.AspNetCore.Mvc;
namespace Ascon.Pilot.Web.Vie... |
MO.Client/MO.Unity3d.Online/Assets/GameMain/Scripts/UIExtension/EntityExtension.cs | mmogdeveloper/MO.Framework | 49 | 7052728 | using MO.Algorithm.OnlineDemo;
using MO.Unity3d.Data;
using MO.Unity3d.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MO.Unity3d.UIExtension
{
public static class EntityExtension
{
private static bool ShowSkill(PlayerData playerDat... |
Server/Startup.cs | AgoraAcademy/Agora_E-go | 0 | 7052729 | <reponame>AgoraAcademy/Agora_E-go
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using AgoraAcademy.AgoraEgo.Server.Authorization;
using AgoraAcademy.AgoraEgo.Server.Constants;
using AgoraAcademy.Agor... |
Assets/Scripts/Tests/MapLoaderTest.cs | CapNick/G54SPM | 0 | 7052730 | using NUnit.Framework;
using World;
namespace Tests {
public class MapLoaderTest {
[Test]
public void FailsDetectMapChunks() {
MapLoader loader = new MapLoader("bla");
Assert.IsFalse(loader.LoadMapChunks());
}
[Test]
public void Succ... |
INGdemo/INGdemo/Lib/Audio.cs | ingchips/INGdemo | 1 | 7052731 | using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
namespace INGdemo.Lib
{
public interface IPCMAudio
{
bool Write(Int16[] samples);
void Play(int samplingRate);
void Stop();
}
class ADPCMState
{
internal Int16 predicated;
... |
dotnet/libs/Test/Program.cs | treert/om.code | 0 | 7052733 | <filename>dotnet/libs/Test/Program.cs
using System;
using System.Collections.Generic;
namespace Test
{
class Program
{
static void Main(string[] args)
{
IEnumerable<string> xx = args;
var itor = xx.GetEnumerator();
itor.Reset();
//Console.WriteLi... |
Programming Fundamentals - January 2017/05. Dictionaries, Lambda and LINQ/02. Exercises - Dictionaries, Lambda and LINQ - February 1, 2017/01. Phonebook/Phonebook.cs | Menkachev/Software-University | 0 | 7052734 | namespace _01.Phonebook
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Phonebook
{
//// Write a program that receives some info from the console about people and their phone
//// numbers. Each entry should have just one name and one numb... |
Bullet Dodger/Assets/Scripts/Bullet/BulletMove.cs | JuIsa/BulletDodger | 0 | 7052735 | <gh_stars>0
using UnityEngine;
using System.Collections;
using System;
public class BulletMove : MonoBehaviour
{
private bool isGameOver = false;
private void Awake()
{
Main.BulletMain.onBulletShot += StartMovingBullets;
Main.EnemyMain.onGameOver += ChangeBool;
}
private void Chan... |
Backend/Microservices/Content/Content.Tests/Helper.cs | robholden/Snow-Capture | 0 | 7052736 |
using Content.Core;
using Content.Core.Queries;
using Content.Core.Services;
using Content.Domain;
using Library.Core.Models;
using Library.Service.PubSub;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Diagnostics;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Opti... |
tests/ClassicUO.UnitTests/Utility/QueuedPool/GetOne.cs | tamato/ClassicUO | 280 | 7052737 | <gh_stars>100-1000
using FluentAssertions;
using Xunit;
namespace ClassicUO.UnitTests.Utility.QueuedPool
{
public class GetOne
{
[Fact]
public void When_GetOne_Called_Once_Remains_Should_Be_One()
{
var objectPool = new ClassicUO.Utility.QueuedPool<DummyItem>(10);
... |
src/AddIns/VersionControl/SubversionAddIn/Src/Commands/CheckoutCommands.cs | dongdapeng110/SharpDevelopTest | 11 | 7052738 | // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using ICSharpCode.Core;
namespace ICSharpCode.Svn.Commands
{
public class ExportCommand : AbstractMenuCommand
... |
Tests/MicroDocum.Analyzers.Tests/Case5.cs | RouR/MicroDocum | 3 | 7052739 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using MicroDocum.Analyzers.Analizers;
using MicroDocum.Themes.DefaultTheme;
using MicroDocum.Themes.DefaultTheme.Attributes;
using MicroDocum.Themes.DefaultTheme.Interfaces;
using NUnit.Framework;
// ReSharper disabl... |
MsmqExts/MsmqJobQueue.cs | minhhungit/MsmqExts | 2 | 7052740 | using System;
using System.Collections.Generic;
using System.IO;
#if NET462
using System.Messaging;
#else
using Experimental.System.Messaging;
#endif
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Concurrent;
using MsmqExts.Extensions;
namespace MsmqExts
{
public... |
Assets/Scipts/MenuScripts/LoadingOverlay.cs | RavArty/RollocoBall | 1 | 7052741 | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class LoadingOverlay : MonoBehaviour {
private GameObject loadingOverlay;
void Awake(){
loadingOverlay = GameObject.Find("LoadingOverlayCanvas").transform.GetChild(0).gameObject;
}
public void loadOverlayTrue(){
loadingOverlay.SetAc... |
Sources/Taijutsu/Data/Internal/DataSession.cs | NikGovorov/Taijutsu | 2 | 7052742 | // Copyright 2009-2013 <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... |
ScriptDevelopmentTool/Infosys.ATR.RemoteExecuteHanlder/Infosys.ATR.RemoteExecuteHanlder/Entity/ExecutingEntiry.cs | Infosys/Script-Control-Center | 0 | 7052743 | <gh_stars>0
/****************************************************************
Copyright 2021 Infosys Ltd.
Use of this source code is governed by Apache License Version 2.0 that can be found in the LICENSE file or at
http://www.apache.org/licenses/
***************************************************************/
usi... |
Evolve.NET.Sample.MusicGenerator/FitnessFunction.cs | VickAndressaDev/Evolve | 0 | 7052744 | <reponame>VickAndressaDev/Evolve<gh_stars>0
using Evolve.NET.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Evolve.NET.Sample.MusicGenerator
{
public class FitnessFunction<T> : IFitness<T>
{
public double Evaluate(ICh... |
pg-backend/pg.MongoDb/Controllers/NotesController.cs | MKnoski/Playground | 0 | 7052745 | using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using pg.MongoDb.Data.Models;
using pg.MongoDb.Data.Repositories.Interfaces;
namespace pg.MongoDb.Controllers
{
[Route("api/[controller]")]
public class NotesController : Controller
{
private readonly INotesRepository notesRepositor... |
samples/FubuTask/src/Web/Presentation/Services/ResponseStatusService.cs | Anupam-/fubumvc-contrib | 0 | 7052746 | <gh_stars>0
using System.Web;
namespace FubuTask.Presentation.Services
{
public class ResponseStatusService : IResponseStatusService
{
private HttpResponse _response;
public HttpResponse Response
{
get { return _response ?? HttpContext.Current.Response; }
... |
gView.DataSources.Fdb.UI/DataSources/Fdb/UI/FormSelectFields.Designer.cs | chandusekhar/gViewGisOS | 8 | 7052747 | namespace gView.DataSources.Fdb.UI
{
partial class FormSelectFields
{
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Verwendete Ressourcen bereinigen.
/// </s... |
src/QuikSharp/Quik/Events/QuikEventArgs.cs | Daramant/QUIKSharp | 0 | 7052748 | using System;
using System.Collections.Generic;
using System.Text;
namespace QuikSharp.Quik.Events
{
public class InitEventArgs : EventArgs
{
public int Port { get; set; }
public InitEventArgs()
{ }
public InitEventArgs(int port)
{
Port = port;
}
... |
src/OmniSharp.Abstractions/FileSystem/FileSystemHelper.cs | DustinCampbell/omnisharp-roslyn | 0 | 7052749 | using System.Collections.Generic;
using System.Composition;
using System.Linq;
using Microsoft.Extensions.FileSystemGlobbing;
using OmniSharp.Options;
namespace OmniSharp.FileSystem
{
[Export, Shared]
public class FileSystemHelper
{
private readonly OmniSharpOptions _omniSharpOptions;
priv... |
tests/Unit/Domain.Tests/RetailerDemListCreatorTests/WhenCreatingRetailerDemList.cs | linn/dem-stock | 0 | 7052750 | namespace Linn.DemStock.Domain.Tests.RetailerDemListCreatorTests
{
using System.Linq;
using FluentAssertions;
using Linn.DemStock.Domain.RetailerDemListActivities;
using NSubstitute;
using NUnit.Framework;
public class WhenCreatingRetailerDemList : ContextBase
{
private int ret... |
Assets/CustomNavMesh/Scripts/HiddenNavMeshSurface.cs | jadvrodrigues/CustomNavMesh | 58 | 7052751 | using UnityEditor;
using UnityEngine;
/// <summary>
/// A surface for HiddenNavMeshAgents to move on.
/// </summary>
[DisallowMultipleComponent, AddComponentMenu("")] // remove from Add Component list
public class HiddenNavMeshSurface : CustomMonoBehaviour
{
bool subscribed; // used to avoid subscribing twice
... |
Tcmp-SDK/Tcmp/CommandFamilies/BasicNfc/WriteText.cs | a-dzyuba/Tcmp-CSharp-SDK | 4 | 7052752 | <gh_stars>1-10
using System;
using System.Text;
namespace TapTrack.Tcmp.CommandFamilies.BasicNfc
{
/// <summary>
/// Command to write text to a NFC tag
/// </summary>
public class WriteText : BasicNfcCommand
{
private const byte commandCode = 0x06;
/// <summary>
///
... |
Bittrex.Net/Sockets/ConnectionRequest.cs | florimm/Bittrex.Net | 160 | 7052753 | namespace Bittrex.Net.Sockets
{
internal class ConnectionRequest
{
public string RequestName { get; set; }
public object[] Parameters { get; set; }
public ConnectionRequest(string name, params string[] channels)
{
RequestName = name;
Parameters =... |
src/SapCo2/SapCo2.Wrapper/Extension/ServiceCollectionExtensions.cs | metalsimyaci/SapCoCo | 16 | 7052754 | using System.Diagnostics.CodeAnalysis;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using SapCo2.Wrapper.Abstract;
using SapCo2.Wrapper.Interop;
namespace SapCo2.Wrapper.Extension
{
[ExcludeFromCodeCoverage]
public static class ServiceCollectionExte... |
app/client/Contrib.Gate/Assets/Application/System/Battle/Battle.cs | kou-yeung/Contrib.Gate | 1 | 7052755 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using EventSystem;
using Entities;
using System.Linq;
using Util;
namespace Battle
{
public enum Phase {
Init, // 初期化中
Start, // 登場演出
Turn, // ターン
Move, // 行動
Play, // 内容再生:勝負 あり(Result)... |
ExamenASPCaculliGiorgio/Application/UseCases/Utils/Mapper.cs | GiorgioCaculli/B3_Technologies_Internet | 0 | 7052756 | <gh_stars>0
using Application.UseCases.Parcours.Dto;
using Application.UseCases.Personnes.Dto;
using Application.UseCases.Sessions.Dto;
using AutoMapper;
namespace Application.UseCases.Utils
{
public class Mapper
{
private static AutoMapper.Mapper _instance;
public static AutoMapper.Mapper Get... |
Assets/YumiMediationSDK/Api/YumiSplashOptions.cs | JiaDingYi/YumiMediationSDK-Unity | 4 | 7052757 |
namespace YumiMediationSDK.Api
{
public class YumiSplashOptions
{
/// <summary>
/// your fetch time.
/// over the deadline, sdk will return the yumiMediationSplashAdFailToShow delegate.
/// default is 3s.
/// </summary>
public int adFetchTime { get; private se... |
FormFactory.AspNetCore/Wrappers/FormFactoryModelState.cs | afshin70/FormFactory | 267 | 7052758 | <reponame>afshin70/FormFactory<gh_stars>100-1000
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Mvc.ModelBinding;
namespace FormFactory.AspMvc.Wrappers
{
static class MvcToFfMappingExtensions
{
public static FormFactoryModelStateErrors ToFfModelStateErrors(this Model... |
Workflow/UserData/UI/Html/Mvc/UI/JsonObject.cs | neurosystemeu/Native-Workflow | 4 | 7052759 | <reponame>neurosystemeu/Native-Workflow
using System.Collections.Generic;
namespace NeuroSystem.Workflow.UserData.UI.Html.Mvc.UI
{
public abstract class JsonObject
{
protected JsonObject()
{
}
//protected abstract void Serialize(IDictionary<string, object> json);
prote... |
FFinder.Entity/Concrete/AuthIdentityUser.cs | SadettinKepenek/FFinder-1 | 1 | 7052760 | using System.Collections.Generic;
using Microsoft.AspNetCore.Identity;
namespace FFinder.Entity.Concrete
{
public class AuthIdentityUser : IdentityUser
{
public AuthIdentityUser()
{
PostRate=new HashSet<PostRate>();
Follower=new HashSet<Follower>();
Comment=... |
generated/ErsatzTV.Api.Sdk/src/ErsatzTV.Api.Sdk/Model/PlaybackOrder.cs | suckerface/ErsatzTV | 0 | 7052761 | <gh_stars>0
/*
* ErsatzTV API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: v1
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Collections;
using System.... |
dev/IWCORE_WIN/IWCORE_WIN/Core.cs | olonaut/ironwinter | 0 | 7052763 | /*
Copyright <NAME>
Do not distribute!
*/
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using System;
namespace IWCORE_WIN
{
public class Core : Game
{
// Modifiers and Settings
RasterizerState RS = new RasterizerState { Multi... |
src/EvernoteClone/EvernoteClone/ViewModels/SwitchLoginRegisterCommand.cs | moerwald/udemy-Windows_Presentation-_Foundation_Masterclass | 0 | 7052764 | using EvernoteClone.ViewModels.Commands;
namespace EvernoteClone.ViewModels
{
public class SwitchLoginRegisterCommand : BaseCommand
{
private LoginViewModel _loginViewModel;
public SwitchLoginRegisterCommand(LoginViewModel loginViewModel)
=> _loginViewModel = loginViewModel;
... |
src/DeepSleep/Media/Serializers/DeepSleepMediaSerializerBase.cs | mtnvencenzo/DeepSleep | 0 | 7052765 | namespace DeepSleep.Media.Serializers
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
/// <summary>
///
/// </summary>
public abstract class DeepSleepMediaSerializerBase : IDeepSleepMediaSerializer
{
/// <summary>Whether the... |
EasywebshopProductFeedAdapter/Extensions/FeedGeneratorServiceExtensions.cs | Xeiotos/EasywebshopProductFeedAdapter | 0 | 7052766 | <filename>EasywebshopProductFeedAdapter/Extensions/FeedGeneratorServiceExtensions.cs
using EasywebshopProductFeedAdapter.Services;
using EasywebshopProductFeedAdapter.Services.Options;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Thread... |
client/Assets/Scripts/TreeNode/Editor/TreeNode.cs | Enanyy/moon | 4 | 7052767 | <reponame>Enanyy/moon
using System;
using UnityEngine;
public class TreeNode
{
public const int WIDTH = 240;
public const int HEIGHT = 20;
public int id { get; private set; }
public string name = "Node";
public TreeNode parent = null;
public Rect rect;
public ITreeNode data { g... |
src/SpatialFocus.MethodCache.Fody/Extensions/TypeDefinitionExtension.cs | thomasraynal/MethodCache.Fody | 14 | 7052768 | // <copyright file="TypeDefinitionExtension.cs" company="Spatial Focus GmbH">
// Copyright (c) Spatial Focus GmbH. All rights reserved.
// </copyright>
namespace SpatialFocus.MethodCache.Fody.Extensions
{
using System;
using System.Collections.Generic;
using System.Linq;
using Mono.Cecil;
public static class Ty... |
code/entities/crafting_table/CraftingMenu.cs | LambdaGaming/sandbox | 0 | 7052769 | using Sandbox;
using Sandbox.UI;
using Sandbox.UI.Construct;
namespace CityRP
{
public partial class CraftingMenu : HudEntity<RootPanel>
{
public CraftingMenu()
{
if ( !IsClient ) return;
RootPanel.AddChild<CraftingRecipes>();
}
}
public class CraftingRecipes : Panel
{
public CraftingRecipes()
{... |
source/MikhailKhalizev.Max/source/Program/Auto/z-100d-51c4.cs | mikhail-khalizev/max | 3 | 7052770 | using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x100d_51c4-44b9eb0e")]
public void Method_100d_51c4()
{
ii(0x100d_51c4, 1); push(ebx); ... |
sistema_bodega/Pages/Bodegas/Almacenar.cshtml.cs | Matthew-Gonzalez/sistema-bodega-middleware | 0 | 7052771 | <reponame>Matthew-Gonzalez/sistema-bodega-middleware
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.Extensions.Logging;
using Microsoft.E... |
AWSSDK_DotNet35/Amazon.IdentityManagement/Model/GetAccountSummaryResult.cs | ermshiperete/aws-sdk-net | 1 | 7052773 | <gh_stars>1-10
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
... |
Template/MVC/IntuitAnywhereAzureMVC/Ch/WebProj/Controllers/DirectConnectToIntuitController.cs | chiller00/QuickBooks-V3-DotNET-SDK | 83 | 7052774 | <filename>Template/MVC/IntuitAnywhereAzureMVC/Ch/WebProj/Controllers/DirectConnectToIntuitController.cs
using System.Configuration;
using System.Web.Mvc;
using DotNetOpenAuth.Messaging;
using DotNetOpenAuth.OpenId;
using DotNetOpenAuth.OpenId.Extensions.AttributeExchange;
using DotNetOpenAuth.OpenId.RelyingParty;
nam... |
server/TrackingData/ViajaNet.TrackingData/Common/CouchbaseConfiguration.cs | EricSouza90/Viajanet | 2 | 7052775 | using System.Collections.Generic;
namespace ViajaNet.TrackingData.Common
{
public class CouchbaseConfiguration
{
public string Server { get; set; }
public string Username { get; set; }
public string Password { get; set; }
public string Bucket { get; set; }
}
}
|
src/IO.Swagger/Model/FlightAvailabilityResponseBound.cs | algebratec/travel-api-sdk-csharp | 0 | 7052776 | /*
* Algebratec API
*
* Learn and test our api with ease
*
* OpenAPI spec version: 1.0.0
* Contact: <EMAIL>
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
... |
src/SystemClock.cs | cristiango/Milkmenunion | 0 | 7052777 | using System;
namespace MilkmenUnion
{
public delegate DateTime GetUtcNow();
public static class SystemClock
{
public static readonly GetUtcNow Default = () => DateTime.UtcNow;
public static GetUtcNow Override(DateTime dateTime) => () => DateTime.SpecifyKind(dateTime, DateTimeKind.Utc);
... |
Jenkins/JenkinsImplementation.cs | genexuslabs/GXserver-Jenkins-Commit-Hooker | 0 | 7052778 | using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using GeneXus.Server.ExternalTool;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace GeneXus.Server.ExternalTool.Jenkins
{
public class JenkinsImplementation : IExternalTool
{
private Configuration configurat... |
src/VersionManagement/Views/VersionRanges/Edit.cshtml | tintoy/version-management-v2 | 0 | 7052779 | <reponame>tintoy/version-management-v2<gh_stars>0
@using DD.Cloud.VersionManagement.Models
@model VersionRangeModel
@{
ViewBag.Title = $"Edit version range - '{Model.Name}'";
}
<div class="row">
<div class="col-md-8">
<form role="form" asp-controller="VersionRanges" asp-action="Edit" method="POST">
<fieldset>... |
MvcExplorer/src/MvcExplorer/Controllers/AutoComplete/IndexController.cs | GrapeCity/ComponentOne-ASPNET-MVC-Samples | 3 | 7052780 | using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using MvcExplorer.Models;
using System.Collections.Generic;
namespace MvcExplorer.Controllers
{
public partial class AutoCompleteController : Controller
{
private readonly ControlOptions _options = new ControlOptions
{
... |
BlankPage1.xaml.cs | GeneralBorN/Perojektni-Kviz | 0 | 7052782 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xam... |
samples/Basic/References.cs | roberthusak/lic | 1 | 7052783 | <filename>samples/Basic/References.cs
using System;
namespace Basic
{
public class Point
{
public Point(int x, int y, int z)
{
this.X = x;
this.Y = y;
this.z = z;
}
public int X { get; set; }
public int Y { get; set; }
publ... |
NoRM/Attributes/MongoIdentifierAttribute.cs | adzerk/NoRM | 60 | 7052784 | using System;
namespace Norm
{
/// <summary>
/// Flags a property as a Mongo identifier (_id)
/// </summary>
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public class MongoIdentifierAttribute : Attribute
{
}
} |
3DStudioMax/MainForm.cs | damiandragowski/old-3d_directXdryer | 0 | 7052785 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Microsoft.DirectX.Direct3D;
namespace _DStudioMax
{
public partial class MainForm : Form
{
public bool bIsClosing = fal... |
Pizzabox.Domain/Models/PepperoniPizza.cs | 210329-UTA-SH-UiPath/P0-Eduardo-Reyes | 0 | 7052786 | using PizzaBox.Domain.Abstracts;
namespace PizzaBox.Domain.Models
{
public class PepperoniPizza : APizza
{
public PepperoniPizza()
{
Name = "PepperoniPizza";
}
// public override void AddCrust()
// {
// Crust = null;
// }
publi... |
src/Orckestra.Composer.Search/Providers/IFacetLocalizationProvider.cs | colinjacobsorckestra/BetterRetail | 5 | 7052787 | using System;
using System.Globalization;
namespace Orckestra.Composer.Search.Providers
{
public interface IFacetLocalizationProvider
{
/// <summary>
/// Convert the Facet field name into a Displayable Title.
/// The base implementation will look into the LocalizationProvider f... |
PracticeSharpApp/Core/PresetData.cs | bigman73/practicesharp | 31 | 7052788 | #region © Copyright 2010 <NAME>, Practice Sharp. LGPL.
/* Practice Sharp
© Copyright 2010, <NAME>.
All rights reserved.
This file is part of Practice Sharp.
Practice Sharp is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser Public License as p... |
StringMathCalculator/OperationNum.cs | Jackwar/String-Math-Calculator | 0 | 7052789 | <reponame>Jackwar/String-Math-Calculator<gh_stars>0
namespace StringMathCalculator.Calculations
{
/// <summary>
/// Single number stored from a calculations string to be passed into
/// a CalculatorItem.
/// </summary>
class OperationNum : OperationCalc
{
public OperationNum(double x) ... |
Service/IExpenseService.cs | artizani/premodem | 0 | 7052791 | using System.Collections.Generic;
using System.Threading.Tasks;
using Premodem.Domain;
namespace Service
{
public interface IExpenseService
{
Task<List<Expense>> GetExpensesAsync();
Task<PagingResult<Expense>> GetExpensesPageAsync(int skip, int take);
Task<Expense> GetExpenseAsync(int ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.