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/Ghostly/Features/Synchronization/UpSyncHandler.cs | patriksvensson-forks/ghostly | 240 | 7046544 | using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Ghostly.Core.Services;
using Ghostly.Data;
using Ghostly.Data.Models;
using Ghostly.Domain.Messages;
using Ghostly.Features.Activities;
using MediatR;
namespace Ghostly.Features.Synchronization
{
public... |
Polymorphism/00.Lab_Animals/Dog.cs | Shtereva/CSharp-OOP-Basics | 0 | 7046545 | using System;
public class Dog : Animal
{
public Dog(string name, string favouriteFood)
: base(name, favouriteFood)
{
}
public override string ExplainMyself()
{
return $"{base.ExplainMyself()}{Environment.NewLine}DJAAF";
}
} |
Project/LambdicSql.Shared/BuilderServices/TextParts/Inside/CustomizeColumnOnly.cs | Codeer-Software/LambdicSql | 24 | 7046546 | namespace LambdicSql.BuilderServices.Syntaxes.Inside
{
class CustomizeColumnOnly : ISyntaxCustomizer
{
public TextPartsBase Custom(TextPartsBase src)
{
var col = src as DbColumnSyntax;
return col == null ? src : col.ToColumnOnly();
}
}
}
|
DFC.EventGridSubscriptions.Data/SubscriptionModel.cs | SkillsFundingAgency/dfc-api-eventgridsubscriptions | 1 | 7046547 | using DFC.Compui.Cosmos.Contracts;
using DFC.Compui.Telemetry.Models;
using DFC.EventGridSubscriptions.Data.Enums;
using Newtonsoft.Json;
using System;
using System.Diagnostics.CodeAnalysis;
namespace DFC.EventGridSubscriptions.Data
{
[ExcludeFromCodeCoverage]
public class SubscriptionModel : RequestTrace, ID... |
Source/Clarity.Common/GraphicalGeometry/VertexElementInfo.cs | Zulkir/ClarityWorlds | 1 | 7046548 | namespace Clarity.Common.GraphicalGeometry
{
public class VertexElementInfo : IVertexElementInfo
{
public string Semantic { get; }
public int ArrayIndex { get; }
public int Offset { get; }
public int Stride { get; }
public CommonFormat Format { get; }
public Comm... |
Assets/_Scripts/Items/ShopItem.cs | tumble1999/anti-cookie-clicker | 0 | 7046549 | <filename>Assets/_Scripts/Items/ShopItem.cs
using TumbleNet.CookieClicker.Score;
using UnityEngine;
using UnityEngine.UI;
namespace TumbleNet.CookieClicker.Items
{
[RequireComponent(typeof(Button))]
[RequireComponent(typeof(ManageScore))]
public class ShopItem : MonoBehaviour
{
priva... |
Src/BlenderRenderController_gtk/DetailDialog.cs | rehdi93/BlenderRenderController | 8 | 7046550 | <filename>Src/BlenderRenderController_gtk/DetailDialog.cs
using System;
using Gtk;
using UI = Gtk.Builder.ObjectAttribute;
namespace BlenderRenderController
{
class DetailDialog : Dialog
{
#pragma warning disable 649
[UI] Image dialogIcon;
[UI] TextBuffer detailsBuffer;
[UI] Label dia... |
OpenPath/Assets/Plugins/OpenPath/OPNode.cs | unity3d-open-tools/openpath | 37 | 7046551 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
public class OPNode : IComparable {
public Vector3 position;
public float estimatedTotalCost;
public float costSoFar;
public int size;
public OPNode parent;
public bool active = false;
public List<OPNode> neighbors = ... |
docs/csharp/programming-guide/arrays/codesnippet/CSharp/anonymous-functions_1.cs | v-maudel/docs-1 | 1 | 7046552 | class Test
{
delegate void TestDelegate(string s);
static void M(string s)
{
Console.WriteLine(s);
}
static void Main(string[] args)
{
// Original delegate syn... |
src/Backup/Nucleo.OnlineTests/Web/Button/ImageButtons.aspx.designer.cs | brianmains/Nucleo.NET | 2 | 7046553 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... |
Assets/Scripts/BooAR/ARs/ArKitWorldPersistence.cs | ryo0ka/MinAR | 1 | 7046554 | using System.IO;
using UniRx;
using UniRx.Async;
using UnityEngine;
using UnityEngine.XR.iOS;
using Utils;
using Zenject;
namespace BooAR.ARs
{
public class ArKitWorldPersistence : IArWorldPersistence
{
#pragma warning disable 649
[Inject]
UnityARCameraManager _camera;
#pragma warning restore 649
public UniT... |
Packages/com.dss.core-utils/Runtime/ScreenUtilities/StaticScreenWatcher.cs | danielshervheim/unity-core | 4 | 7046555 | <gh_stars>1-10
using System;
using UnityEngine;
namespace DSS.CoreUtils.ScreenUtilities
{
public class StaticScreenWatcher
{
// @brief The most recently cached screen safe area.
public Rect SafeArea
{
get { return cachedSafeArea; }
}
// @brief The most recen... |
Code/AdminUi/Admin.ExchangeModule/ViewModels/ExchangeSearchResultsViewModel.cs | RWE-Nexus/EnergyTrading-MDM-Sample | 1 | 7046556 | // This code was generated by a tool: ViewModelTemplates\EntitySearchResultsViewModelTemplate.tt
namespace Admin.ExchangeModule.ViewModels
{
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Windows;
using System.Windows.Input;... |
Exams/MyAdvancedExam/03/03. Classroom_Skeleton/Classroom.cs | Stella-Kaneva/csharp-advanced-repository | 0 | 7046557 | <filename>Exams/MyAdvancedExam/03/03. Classroom_Skeleton/Classroom.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ClassroomProject
{
public class Classroom
{
private List<Student> students;
public Classroom(int capacity)
{
... |
QHomeGroup/QHomeGroup.Utilities/Extensions/MapperExtension.cs | mramra3004/TemplateMVC | 0 | 7046558 | using AutoMapper;
namespace QHomeGroup.Utilities.Extensions
{
public static class MapperExtension
{
private static IMapper _mapper;
public static IMapper RegisterMap(this IMapper mapper)
{
_mapper = mapper;
return mapper;
}
public static T To<T... |
UtilityTests/JungleTests.cs | take4blue/AutomationConnectIQ | 0 | 7046560 | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AutomationConnectIQ.Lib.Tests
{
[TestClass()]
public class JungleTests
{
[TestMethod()]
public void CreateTest()
{
var project = Jungle.Create(@"TestData\Test4\monkey.jungle");
Assert.IsNotNull(p... |
src/NetingCrdBuilder/V1Neting.cs | whuanle/neting | 13 | 7046561 | using k8s;
using k8s.Models;
using System.Text.Json.Serialization;
namespace Neting.K8sClient
{
[KubernetesEntity(Group = "stable.ingress-net", Kind = "YarpNet", ApiVersion = "v1", PluralName = "yarpnets")]
public class V1Neting : IKubernetesObject<V1ObjectMeta>, IKubernetesObject, IMetadata<V1ObjectMeta>, I... |
WeeLight/ViewModels/DeviceVM.cs | Dainius14/WeeLight | 1 | 7046562 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using WeeLight.Models;
namespace WeeLight.ViewModels
{
public class DeviceVM : BaseViewModel
{
private YeeDevice _device;
p... |
Tarraco/Assets/Scripts/Menus/HubUI.cs | artovar/TARRACO | 0 | 7046563 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HubUI : MonoBehaviour
{
private bool showingUI = false;
public GameObject hubUI;
// Update is called once per frame
void Update()
{
bool iG = GameController.Instance.inGame;
if (s... |
VocaDbWeb/Views/Album/Partials/_TrackProperties.cshtml | AgFlore/vocadb | 212 | 7046564 | <!--
Binding context: TrackPropertiesViewModel
-->
<div data-bind="with: editedSong">
<div data-bind="with: song">
<h3 data-bind="text: 'Artists for song {0}'.replace('{0}', songName)"></h3>
</div>
<h5>Selected artists <small>(click to remove)</small></h5>
<div data-bind="foreach: art... |
ShopIM/ShopIM.UI/Controller/LOgControl.Designer.cs | 2TakarDeveloper/ShopIM | 3 | 7046565 | namespace ShopIM.UI.Controller
{
partial class LogControl
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
Best_Practices_And_Architecture/PhotoShare.Client/Migrations/Configuration.cs | ivajlotokiew/Databases_Entity_Framework | 0 | 7046566 | <reponame>ivajlotokiew/Databases_Entity_Framework
namespace PhotoShare.Data.Migrations
{
using Models;
using System;
using System.Data.Entity;
using System.Data.Entity.Migrations;
using System.Linq;
internal class Configuration : DbMigrationsConfiguration<PhotoShareContext>
{
public... |
Specifications/Events.Store/Streams/for_EventWaiterId/when_creating.cs | dolittle/Runtime | 12 | 7046567 | // Copyright (c) Dolittle. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Machine.Specifications;
namespace Dolittle.Runtime.Events.Store.Streams.for_EventWaiterId
{
public class when_creating
{
static Scop... |
Util/Extensions/StringExtensions.cs | feedz-io/Util | 1 | 7046568 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace Feedz.Util.Extensions
{
public static class StringExtensions
{
public static string Join<T>(this IEnumerable<T> values, string seperator)
=> values == null ? ... |
BookWeb/Server/Controllers/CalibreAPI/AuthorsController.cs | seantrace/BookWeb | 0 | 7046570 | <filename>BookWeb/Server/Controllers/CalibreAPI/AuthorsController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BookWeb.Server.Services;
using BookWeb.Shared.BookWebModels;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Entity... |
Assets/KartMovement.cs | GuoCong1881/MyFirstGame_Kart | 0 | 7046571 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class KartMovement : MonoBehaviour
{
public Joint previousJoint;
public Joint currentJoint;
public Joint nextJoint;
public int speed;
public Vector3 currentDirection;
public Vector3 nextDirection;
public ... |
XamarinFormsGoogleDriveAPI.Services/Service/Business/Manager/DriveServiceManager.cs | Dineshbala1/GoogleDriveAPI-XamarinForms | 7 | 7046572 | <reponame>Dineshbala1/GoogleDriveAPI-XamarinForms<filename>XamarinFormsGoogleDriveAPI.Services/Service/Business/Manager/DriveServiceManager.cs
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Xamarin.Forms;
using XamarinFormsGoogleDriveAPI.Model.BusinessModel;
using XamarinForms... |
src/BlobStorage.Accessor.Service/Service/Validators/DownloadContentQueryValidator.cs | ByteRain0/NetTemplate | 0 | 7046573 | using BlobStorage.Accessor.Contracts.Queries;
using FluentValidation;
namespace BlobStorage.Accessor.Service.Service.Validators
{
public class DownloadContentQueryValidator : AbstractValidator<DownloadContentQuery>
{
public DownloadContentQueryValidator()
{
RuleFor(x => x.Path)
... |
Tests/ObjectTests.cs | tkoopman/CheckPoint.NET | 5 | 7046574 | <reponame>tkoopman/CheckPoint.NET
// MIT License
//
// Copyright (c) 2018 <NAME>
//
// 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 limitation the r... |
TownPatroller/Assets/Scripts/GPSTracer/GPSMover.cs | noname0310/TownPatroller-HardwareClient | 0 | 7046575 | <reponame>noname0310/TownPatroller-HardwareClient<filename>TownPatroller/Assets/Scripts/GPSTracer/GPSMover.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using TownPatroller.CarDevice;
using TownPatroll... |
Ex1_Match Full Name/Program.cs | Martin-Pashov/Lab_Regular_Expressions | 3 | 7046576 | <reponame>Martin-Pashov/Lab_Regular_Expressions
using System;
using System.Text.RegularExpressions;
namespace Ex1_Match_Full_Name
{
class Program
{
static void Main(string[] args)
{
string pattern = @"\b([A-Z][a-z]+) ([A-Z][a-z]+)\b";
string inpput = Console.ReadLine();... |
NLightning/Peer/Channel/Establishment/AcceptChannelMessageHandler.cs | knocte/NLightning | 16 | 7046577 | using NLightning.Peer.Channel.Establishment.Messages;
using NLightning.Peer.Channel.Logging;
using NLightning.Peer.Channel.Models;
using NLightning.Transport.Messaging;
using NLightning.Utils.Extensions;
using NLightning.Wallet.Commitment;
using NLightning.Wallet.Funding;
namespace NLightning.Peer.Channel.Establishmen... |
Draughts.UI.Wpf/Setup/GameParameter.cs | RichTeaMan/Draughts | 0 | 7046578 | <reponame>RichTeaMan/Draughts<filename>Draughts.UI.Wpf/Setup/GameParameter.cs<gh_stars>0
using Draughts.Service;
using RichTea.Common;
namespace Draughts.UI.Wpf.Setup
{
public class GameParameter
{
public PieceColour PieceColour { get; }
public PlayerType PlayerType { get; }
public s... |
MadalinaBalaita/Imobile/Imobile.Core/Calculators/RealEstatePrices.cs | madalinabalaita/tap2020-t01 | 0 | 7046579 | using System;
using Imobile.Core.Estates;
using Imobile.Core.Calculators.InitialPriceCalc;
using Imobile.Core.Calculators.Comissioncalc;
namespace Imobile.Core.Calculators
{
public class RealEstatePrices
{
public static void GetInitialPriceFrom(Estate estate, IInitialPrice initPrice)
... |
Sources/Micon.Windows/Helpers/FileHelpers.cs | dotnet-ad/Micon | 1 | 7046580 | namespace Micon.Windows.Helpers
{
public static class FileHelpers
{
public static void CreateFileIfNotExists(string path)
{
var dir = System.IO.Directory.GetParent(path);
if (!dir.Exists)
{
dir.Create();
}
var file = n... |
Assets/Scripts/LevelManager.cs | simon-mercier/brick-video-game | 1 | 7046581 | using System.Collections;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using UnityEngine;
using UnityEngine.SceneManagement;
[System.Serializable]
public sealed class LevelManager : MonoBehaviour
{
private static LevelManager instance = null;
public static LevelManager Instance => in... |
client/framework/dotween-develop/UnityTests.Unity5/Assets/_Tests/ShakePunch.cs | HelloWindows/AccountBook- | 1 | 7046582 | using DG.Tweening;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ShakePunch : BrainBase
{
public float duration = 1; // Shake duration
public bool fadeOutShakes = true;
public Ease shakeEase = Ease.OutQuad;
public float shakePosStrength = 2; // Shake position po... |
Tech Module/Programming Fundamentals/13. Arrays - More Exercise/1. ArrayStatistics/StartUp.cs | doba7a/SoftUni | 0 | 7046583 | namespace ArrayStatistics
{
using System;
using System.Linq;
public class ArrayStatistics
{
public static void Main()
{
int[] arrayOfIntegers = Console.ReadLine().Split(' ').Select(int.Parse).ToArray();
int minValue = arrayOfIntegers.Min();
int maxV... |
src/CodeFactoryVisualStudio/CodeFactory/SourceCode/ISourceLocation.cs | CodeFactoryLLC/CodeFactoryDocs | 6 | 7046584 | <gh_stars>1-10
//*****************************************************************************
//* Code Factory SDK
//* Copyright (c) 2020 CodeFactory, LLC
//*****************************************************************************
using CodeFactory.Document;
namespace CodeFactory.SourceCode
{
/// <summary>
... |
src/RMS.Messages/IQueryHandler.cs | EdmondShtogu/rms | 3 | 7046585 | <gh_stars>1-10
using RMS.Core.Domain;
using System.Threading.Tasks;
namespace RMS.Messages
{
public interface IQueryHandler<in TQuery, TQueryResult>
where TQuery : IQuery<TQueryResult>
{
Task<Result<TQueryResult>> HandleAsync(TQuery queryModel);
}
} |
src/Main/ICSharpCode.SharpDevelop.BuildWorker/HostProcess.cs | dongdapeng110/SharpDevelopTest | 11 | 7046586 | // 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 System.Diagnostics;
using System.Globalization;
using System.IO;
using System.IO.Pipes;
using System.Net;
... |
Unity/First/Assets/Scripts/Ammo.cs | GoodLake/hometasks | 0 | 7046587 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Ammo : MonoBehaviour {
PlayerController cammo;
public GameObject ammo;
private void Start()
{
cammo = GameObject.FindObjectOfType<PlayerController>();
}
private void Update()
{
Des... |
App_Code/WebPageRouteHandler.cs | haitio/testProj | 0 | 7046588 | using System;
using System.Globalization;
using System.Web;
using System.Web.Routing;
using System.Web.WebPages;
public class WebPagesRouteHandler : IRouteHandler {
private readonly string _virtualPath;
private Route _routeVirtualPath;
public WebPagesRouteHandler(string virtualPath) {
_virtualP... |
Data/RunnerId.cs | bkw1491/betfairng | 36 | 7046589 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace BetfairNG.Data
{
public class RunnerId
{
[JsonProperty(PropertyName = "marketId")]
public string MarketId { get; set; }
[JsonProperty(PropertyName = "selectionId")]
... |
Incrementor_LongForm.cs | 64-Code-Amusements/effective-fiesta | 0 | 7046590 | namespace Floatingman.Closures
{
public class Incrementor_LongForm
{
private int _step;
public static Incrementor_LongForm GetIncrementor(int step)
{
return new Incrementor_LongForm(step);
}
private Incrementor_LongForm(int step)
{
_step ... |
CK.Globbing/FileFilter/UnmatchedFileException.cs | Invenietis/CK-Globbing | 0 | 7046591 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CK.Core;
using System.Runtime.Serialization;
namespace CK.Globbing
{
[Serializable]
public class UnmatchedFileException : Exception
{
internal UnmatchedFileException( string fileName )
: base( S... |
src/App/FinCalcR.WinUi/ViewModels/AboutViewModel.cs | stevenengland/FinCalcR | 1 | 7046592 | <gh_stars>1-10
using System;
using Caliburn.Micro;
namespace StEn.FinCalcR.WinUi.ViewModels
{
public class AboutViewModel : Screen
{
private string appVersionText;
public AboutViewModel()
{
var assembly = System.Reflection.Assembly.GetExecutingAssembly();
this.... |
ApprovalTests.Tests/Properties/AssemblyInfo.cs | JakeGinnivan/ApprovalTests.Net | 0 | 7046593 | <gh_stars>0
using System.Reflection;
using ApprovalTests.Reporters;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Approval Tests Tests")]
[as... |
Routes.cs | codesanook/Codesanook.Profile | 0 | 7046594 | <gh_stars>0
using System.Collections.Generic;
using System.Web.Mvc;
using System.Web.Routing;
using Orchard.Mvc.Routes;
namespace Codesanook.Users {
public class Routes : IRouteProvider {
private const string areaName = "Codesanook.Users";
public void GetRoutes(ICollection<RouteDescripto... |
src/Grid3DDemo/Program.cs | Nekketsu/MazesForProgrammers | 3 | 7046595 | using Mazes;
using Mazes.Algorithms;
using System.Drawing.Imaging;
using System.Threading.Tasks;
namespace Grid3DDemo
{
class Program
{
static async Task Main(string[] args)
{
var grid = new Grid3D(3, 3, 3);
new RecursiveBacktracker().On(grid);
var image = ... |
Managed/firstpass/Steamworks/HTML_SearchResults_t.cs | undancer/oni-data | 1 | 7046596 | <reponame>undancer/oni-data
using System.Runtime.InteropServices;
namespace Steamworks
{
[StructLayout(LayoutKind.Sequential, Pack = 4)]
[CallbackIdentity(4509)]
public struct HTML_SearchResults_t
{
public const int k_iCallback = 4509;
public HHTMLBrowser unBrowserHandle;
public uint unResults;
public u... |
Portourgal/Portourgal/MainPage.xaml.cs | luis1ribeiro/Portourgal-App | 0 | 7046597 | using Portourgal.View;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace Portourgal
{
[DesignTimeVisible(false)]
public partial class MainPage : ContentPage
{
public MainPa... |
Controllers/LightsController.cs | Fabus94/NeuraLinkLightsDemoFabioAleksiev | 0 | 7046598 | <reponame>Fabus94/NeuraLinkLightsDemoFabioAleksiev<filename>Controllers/LightsController.cs<gh_stars>0
using AutoMapper;
using Lights.Data;
using Lights.Data.Entities;
using Lights.ViewModels;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using System;
using S... |
RoslynWeave/CodeRewriter/TemplateExtractor.cs | Jishun/RoslynWeave | 8 | 7046599 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using RoslynWeaveTemplate;
namespace RoslynWeave.CodeReWriter
{
public class TemplateExtractor : CSharpSyntaxRewriter
... |
Assets/qjs/Configure/Configure.cs | gsioteam/unity-qjs | 5 | 7046600 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace qjs
{
class FilesIndex : RequireLoader, Configure.ResourceIndex
{
Dictionary<string, string> files;
Dictionary<TextAsset, string> index;
List<AsarAsset> asars;
HashSet<string... |
src/Machine.Specifications.Runner.Resharper.Runner/TestRunner.cs | pjobs/machine.specifications.runner.resharper | 0 | 7046601 | using System;
using JetBrains.ReSharper.TaskRunnerFramework;
using Machine.Specifications.Runner.Utility;
namespace Machine.Specifications.ReSharperRunner
{
public class TestRunner
{
private readonly IRemoteTaskServer _taskServer;
public TestRunner(IRemoteTaskServer taskServer)
{
... |
src/allure-nunit/Attributes/AllureLinkAttribute.cs | ivang7/allure-nunit | 1 | 7046602 | using System;
using Allure.Commons;
using NUnit.Framework;
namespace NUnit.Allure.Attributes
{
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class, AllowMultiple = true)]
public class AllureLinkAttribute : NUnitAttribute
{
public AllureLinkAttribute(string name, string url)
{
... |
WT.BookingApi/Controllers/ReservationModel.cs | siesta-cloud/winding-tree-booking-engine | 1 | 7046603 | namespace WT.BookingApi
{
public class ReservationModel
{
public string Id { get; set; }
public string Address { get; set; }
public decimal Price { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
}
} |
src/Redirect/RedirectApp_Extend.cs | CatLib/CatLib.ILRuntime | 18 | 7046604 | /*
* This file is part of the CatLib package.
*
* (c) CatLib <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Document: https://catlib.io/
*/
using ILRuntime.CLR.Method;
using ILRuntime.CLR.Utils;
using ILRuntime.Runt... |
GameFramework/Network/NetworkManager.NetworkChannel.SendState.cs | mxy882006/GameFramework-1 | 79 | 7046605 | <filename>GameFramework/Network/NetworkManager.NetworkChannel.SendState.cs
//------------------------------------------------------------
// Game Framework v3.x
// Copyright © 2013-2018 <NAME>. All rights reserved.
// Homepage: http://gameframework.cn/
// Feedback: mailto:<EMAIL>
//------------------------------------... |
YammerSDK/Messages/ThreadedExtended.cs | Pratik-Gautam/YammerWebTool | 0 | 7046606 | <reponame>Pratik-Gautam/YammerWebTool<filename>YammerSDK/Messages/ThreadedExtended.cs
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using YammerSDK.Messages;
namespace YammerSDK.Messages
{
public class ThreadedExtended
{
}
}
|
data/ProjectOnion.MongoDB/Interface/IEntityProvider.cs | abhinav2127/ProjectOnion | 2 | 7046607 | <reponame>abhinav2127/ProjectOnion
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace ProjectOnion.MongoDB.Interface
{
public interface IEntityProvider<TEntity>
{
Task<IEnumerable<TEntity>> GetAll();
Task<TEntity> Get(Guid objectId);
... |
Assets/Scripts/Tests/getData.cs | snowxu17/NostalgiaCartoonUnityARKit | 3 | 7046608 | <reponame>snowxu17/NostalgiaCartoonUnityARKit<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System.IO;
using SimpleJSON;
public class GetData : MonoBehaviour {
private string POSTS_ENDPOINT = "https://api.crowdtangle.com/posts";
... |
DDDImovel.Infra/Repositories/ImovelRepository.cs | leoomolina/DDDImovel | 0 | 7046609 | <reponame>leoomolina/DDDImovel<filename>DDDImovel.Infra/Repositories/ImovelRepository.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DDDImovel.Domain.Entities;
using DDDImovel.Infra.Contexts;
using DDDImovel.Domain.Repositories;
using System... |
codingchallenges/9_Classes/9_Classes/Human2.cs | JeffreyWrightRevature/JeffreyWrightTrainingRepo | 0 | 7046610 | using System;
using System.Runtime.CompilerServices;
[assembly: InternalsVisibleTo("9_ClassesChallenge.Tests")]
namespace _9_ClassesChallenge
{
internal class Human2 : Human
{
private string firstName;
private string lastName;
private string eyeColor;
private int age = -1;
private int weight;
... |
SharpAvi/Output/IAviAudioStream.cs | alantan/SharpAvi | 126 | 7046611 | using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Text;
#if FX45
using System.Threading.Tasks;
#endif
namespace SharpAvi.Output
{
/// <summary>
/// Audio stream of AVI file.
/// </summary>
[ContractClass(typeof(Contracts.AviAudioStreamC... |
sdk/dotnet/Logic/V20150801Preview/Outputs/X12ProcessingSettingsResponse.cs | pulumi-bot/pulumi-azure-native | 0 | 7046612 | // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
src/Scorpio.Bougainvillea.Abstractions/Scorpio/Bougainvillea/Middleware/IGameRequest.cs | wzd24/bougainvillea | 0 | 7046613 | <reponame>wzd24/bougainvillea<gh_stars>0
using System.Collections.Generic;
namespace Scorpio.Bougainvillea.Middleware
{
/// <summary>
///
/// </summary>
public interface IGameRequest
{
/// <summary>
///
/// </summary>
IReadOnlyDictionary<string, string> Headers { ... |
src/Orchard.Web/Modules/FileManager/Services/IPermissionService.cs | matbutler/PestPortal | 0 | 7046614 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Orchard;
using FileManager.Models;
namespace FileManager.Services
{
public interface IPermissionService : IDependency
{
IEnumerable<PermissionRecord> GetPermissions();
IEnumerable<PermissionRecord> GetRe... |
Sockets.Chat.Model/Data/Clients/ChatRoomClient.cs | GrigoryanArtem/Sockets | 1 | 7046615 | // Copyright 2018 <NAME>
// Licensed under the Apache License, Version 2.0
using Sockets.Chat.Model.Data.Messages;
using System.Collections.Generic;
using System.Net.Sockets;
namespace Sockets.Chat.Model.Data.Clients
{
public class ChatRoomClient : DefaultChatClient
{
public List<ChatClient> Clients ... |
Runtime/Processor/Processor.cs | LaloBerro/CleanCore | 0 | 7046616 | using System;
using System.Collections.Generic;
using UnityEngine;
namespace CleanCore.Processor
{
public class Processor : IProcess
{
#region Var
private Queue<IProcess> _processes = new Queue<IProcess>();
private IProcess _currentProcess;
#endregion
... |
src/System.Collections.Immutable/src/System/Collections/Immutable/IImmutableListQueries.cs | n8ohu/corefx | 1 | 7046617 | <filename>src/System.Collections.Immutable/src/System/Collections/Immutable/IImmutableListQueries.cs
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
namespace System.Collections.Imm... |
Unity AI - Example N.1/Assets/Scipts/AI Scrtips/Interception.cs | JCharlieDev/Unity-Artificial-Intelligence | 0 | 7046618 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Interception : MonoBehaviour
{
public GameObject player;
public GameObject prediction;
// Player movement vector variables.
private Vector3 relativeVel;
private Vector3 aiVel;
private Vect... |
Source Server/Game.Logic/Effects/EffectList.cs | itspaiva/DDTank4.1 | 4 | 7046619 | <reponame>itspaiva/DDTank4.1
// Decompiled with JetBrains decompiler
// Type: Game.Logic.Effects.EffectList
// Assembly: Game.Logic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E8B04D54-7E5B-47C4-9280-AF82495F6281
// Assembly location: C:\Users\<NAME>\Desktop\Decompiler\Road\Game.Logic.dll
using Ga... |
third_party/libSBML-5.11.0-Source/src/bindings/csharp/csharp-files/ASTNode.cs | gitter-badger/sbmlsolver | 0 | 7046620 | <reponame>gitter-badger/sbmlsolver
using System;
using System.Runtime.InteropServices;
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.4
*
* Do not make changes to this file unless you know what yo... |
ReactiveUI/NLogStub.cs | paulcbetts/reactiveui | 3 | 7046621 | using System;
using System.Dynamic;
namespace
{
public static class LogManager
{
public static dynamic GetLogger(string dontcare)
{
return new Logger();
}
}
}
namespace NLog.Config
{
}
namespace NLog.Targets
{
} |
src/Perspex.Themes.Default/DefaultTheme.paml.cs | ForNeVeR/Avalonia | 5 | 7046622 | <gh_stars>1-10
// Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using Perspex.Markup.Xaml;
using Perspex.Styling;
namespace Perspex.Themes.Default
{
/// <summary>
/// The default Perspex theme.
... |
CyberCAT.Core/Classes/DumpedClasses/FuseControllerPS.cs | RakhithJK/CyberCAT | 127 | 7046624 | <gh_stars>100-1000
using CyberCAT.Core.Classes.Mapping;
namespace CyberCAT.Core.Classes.DumpedClasses
{
[RealName("FuseControllerPS")]
public class FuseControllerPS : MasterControllerPS
{
[RealName("timeTableSetup")]
public Handle<DeviceTimeTableManager> TimeTableSetup { get; set; }
... |
Abraks.Common/Admin/ViewModels/Events/EventDetailsViewModel.cs | Ceappie/Abraks | 0 | 7046625 | <filename>Abraks.Common/Admin/ViewModels/Events/EventDetailsViewModel.cs
namespace Abraks.Common.Admin.ViewModels.Events
{
using System;
public class EventDetailsViewModel
{
public string Name { get; set; }
public string Dance { get; set; }
public string Place { get; set;... |
src/Regi.Core/Services/CleanupService.cs | tom-mckinney/regiment | 5 | 7046626 | using McMaster.Extensions.CommandLineUtils;
using Regi.Abstractions;
using Regi.Extensions;
using Regi.Frameworks;
using Regi.Models;
using Regi.Utilities;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace Regi.Service... |
UltraBudget2/UltraBudget2/Controllers/TransactionsController.cs | Joostul/UltraBudget2 | 0 | 7046627 | <filename>UltraBudget2/UltraBudget2/Controllers/TransactionsController.cs<gh_stars>0
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.Linq;
using UltraBudget2.Models;
using UltraBudget2.Repositories;
namespace UltraBudget2.Controlle... |
src/AspNetCore.Mvc.Fragments/AspNetCore.Mvc.Fragments/Datasource/FragmentRemoteDatasource.cs | ibrahimkalyoncu/aspnetcore-mvc-fragments | 0 | 7046628 | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using AspNetCore.Mvc.Fragments.Converters;
using Newtonsoft.Json;
namespace AspNetCore.Mvc.Fragments.Datasource
{
public class FragmentRemoteDatasource : IFragmentDatasource
{
private readonly string _... |
src/SkiaSharp.Components/Views/Controls/Tap.cs | whitemike889/SkiaSharp.Components | 51 | 7046629 | <reponame>whitemike889/SkiaSharp.Components
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace SkiaSharp.Components
{
public class Tap : View
{
#region Events
public event EventHandler Pressed;
public event EventHandler Released;
public event... |
GraphQL.PreProcessingExtensions.Tests/GraphQL/StarWarsCharacterResolver.cs | DJBMASTER/GraphQL.RepoDB | 8 | 7046630 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HotChocolate;
using HotChocolate.Data;
using HotChocolate.PreProcessingExtensions.Pagination;
using HotChocolate.Types;
namespace HotChocolate.PreProcessingExtensions.Tests
{
[ExtendObjectType... |
SkySales.Web.Services/Global.asax.cs | danielPerPar2/SkySales | 0 | 7046631 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.SessionState;
using Autofac;
using Autofac.Integration.Wcf;
namespace SkySales.Web.Services
{
public class Global : System.Web.HttpApplication
{
private static readonly log4... |
ABC/abc134/c/Program.cs | curryudon08/Atcoder | 0 | 7046632 | using System;
using System.Linq;
using System.Collections.Generic;
namespace c
{
class Program
{
static void Main(string[] args)
{
var n = int.Parse(Console.ReadLine());
var a = new List<int>();
var maxVal = 0;
for(var i = 0; i < n; ... |
ImHereNonProfit.UI/ViewModel/Add/NewDonationViewModel.cs | zaxy78/ImHere | 3 | 7046633 | <filename>ImHereNonProfit.UI/ViewModel/Add/NewDonationViewModel.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sy... |
src/TypeKitchen.Serialization/SpanBuffer.cs | blowdart-inc/type-kitchen | 16 | 7046634 | <reponame>blowdart-inc/type-kitchen
// Copyright (c) <NAME> & Contributors. 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 System.ComponentModel;
using System.Runtime.CompilerServ... |
src/AccessibilityInsights.Core/Enums/UrlType.cs | flyingUnderTheRadar/accessibility-insights-windows | 0 | 7046635 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace AccessibilityInsights.Core.Enums
{
/// <summary>
/// Type of Help Urls
/// </summary>
public enum UrlType
{
Info,
... |
Libra/helper/ISOHelper.cs | Eddie104/Libra-CSharp | 0 | 7046636 | using System;
using System.Windows;
namespace Libra.helper
{
public class ISOHelper : ICoordinateHelper
{
public double Width { get; set; }
public double Height { get; set; }
public Point TopPoint { get; set; }
public ISOHelper(double width, double height)
{
... |
Assets/Scripts/TurnBasedGameTemplate/Tools/Input/Mouse/UiMouseInputProvider.cs | ycarowr/TurnBasedGameTemplate | 20 | 7046637 | using System;
using UnityEngine;
using UnityEngine.EventSystems;
namespace TurnBasedGameTemplate.Tools.Input.Mouse
{
[RequireComponent(typeof(Collider))]
public partial class UiMouseInputProvider : MonoBehaviour, IMouseInput
{
Vector3 prevPosition;
public DragDirection Direction => GetDrag... |
sdk/test/UnitTests/TraceContextTests.cs | matthewdouglas/aws-xray-sdk-dotnet | 103 | 7046638 | //-----------------------------------------------------------------------------
// <copyright file="TraceContextTests.cs" company="Amazon.com">
// Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License").
// You may not ... |
02. Defining Classes - Exercise/14. Cat Lady/Cat.cs | thelad43/CSharp-OOP-Basics-Softuni | 0 | 7046639 | <filename>02. Defining Classes - Exercise/14. Cat Lady/Cat.cs
namespace _14._Cat_Lady
{
public class Cat
{
public Cat()
{
}
public Cat(string name)
{
this.Name = name;
}
public string Name { get; set; }
public string Breed { get; se... |
Tests/PlayMode/ECS/EntityToPhysicsBodyTests.cs | CCC-Development/Fix2D | 3 | 7046640 | using Unity.Collections;
using Unity.Entities;
using Unity.Transforms;
using NUnit.Framework;
namespace CCC.Fix2D.Tests
{
class EntityToPhysicsBodyTests : DotsPlayModeTestFixture
{
[Test]
public void EntityToPhysicsBodyLookup_PhysicsSystemNotRunYet()
{
// Fetch the physics ... |
src/Core/Models/AmbariResponseEntities/YarnResourceManager/Runtime.cs | saritng/AmbariBasedHadoopExporter | 18 | 7046641 | <filename>src/Core/Models/AmbariResponseEntities/YarnResourceManager/Runtime.cs
// <copyright file="Runtime.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// </copyright>
namespace Core.Models.AmbariResponseEntities.YarnResourceManager
{
us... |
src/Havit.CastleWindsor.WebForms/DependencyInjectionWebFormsHelper.cs | vaclavek/Havit.CastleWindsor.WebForms | 0 | 7046642 | <reponame>vaclavek/Havit.CastleWindsor.WebForms<gh_stars>0
using Castle.Windsor;
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Havit.CastleWindsor.WebForms
{
/// <summary>
/// Helper class fo... |
Assets/Scripts/CLIENTIZER_Enemy.cs | jonmann20/WizardSurvival | 9 | 7046643 | using UnityEngine;
using System.Collections;
public class CLIENTIZER_Enemy : MonoBehaviour {
// Use this for initialization
void Start () {
if(GetComponent<PhotonView>().isMine)
{
GetComponent<SyncScript>().enabled = false;
}
else
{
Destroy(GetComponent<FollowClosestPlayer>());
Transform[] all... |
ZKWeb.Toolkits/ZKWeb.Toolkits.ProjectCreator.Gui/Utils/DatabaseUtils.cs | zkweb-framework/ZKWeb | 506 | 7046644 | using Microsoft.Data.Sqlite;
using MongoDB.Bson;
using MongoDB.Driver;
using MySql.Data.MySqlClient;
using Npgsql;
using System;
using System.Data.SqlClient;
using System.Globalization;
using System.IO;
namespace ZKWeb.Toolkits.ProjectCreator.Gui.Utils
{
/// <summary>
/// Database utility functions... |
src/mymeta/Sql/ResultColumns.cs | cafesua/mygeneration | 6 | 7046645 | <reponame>cafesua/mygeneration<filename>src/mymeta/Sql/ResultColumns.cs<gh_stars>1-10
using System;
using System.Collections;
using System.Data;
using System.Data.OleDb;
using System.Data.SqlClient;
namespace MyMeta.Sql
{
#if ENTERPRISE
using System.Runtime.InteropServices;
[ComVisible(true), ClassInterface(ClassInt... |
Eklee.PasswordManager/Core/RoleAssignment.cs | seekdavidlee/Eklee-PasswordManager | 0 | 7046646 | using Newtonsoft.Json;
using System.Collections.Generic;
namespace Eklee.PasswordManager.Core
{
public class RoleAssignmentResult
{
[JsonProperty("value")]
public List<RoleAssignment> Values { get; set; }
}
public class Role
{
public string RoleDefinitionId { get; set; }
}
public class RoleAssignment
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.