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 |
|---|---|---|---|---|
YeetOverFlow.Core.Application.Tests/CommandHandlers/MoveYeetItemCommandHandlerTests.cs | adiamante/yeetoverflow | 0 | 7037597 | <reponame>adiamante/yeetoverflow<filename>YeetOverFlow.Core.Application.Tests/CommandHandlers/MoveYeetItemCommandHandlerTests.cs<gh_stars>0
using System;
using Moq;
using NUnit.Framework;
using FluentAssertions;
using YeetOverFlow.Core.Application.Commands;
using YeetOverFlow.Core.Application.Events;
using YeetOverFlo... |
Assets/BeauUtil/Editor/PropertyDrawers/AutoEnumPropertyDrawer.cs | BeauPrime/BeauUtil | 2 | 7037598 | /*
* Copyright (C) 2017-2019. Filament Games, LLC. All rights reserved.
* Author: <NAME>
* Date: 14 Oct 2019
*
* File: AutoEnumPropertyDrawer.cs
* Purpose: Implements the AutoEnumAttribute property drawer.
*/
using System;
using UnityEditor;
using UnityEngine;
namespace BeauUtil.Editor
{
[CustomPro... |
code/STM/STM/STM/Implementation/Lockbased/BaseLockObject.cs | Felorati/Thesis | 0 | 7037599 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using STM.Implementation.Common;
using STM.Interfaces;
namespace STM.Implementation.Lockbased
{
public abstract... |
Assets/Scripts/Node.cs | augustogunsch/a-star-pathfinding | 0 | 7037600 | <reponame>augustogunsch/a-star-pathfinding
using System;
using UnityEngine;
public class Node : IComparable, IHeapable
{
public Vector3 WorldPosition;
private Vector3 size;
private LayerMask unwalkableMask;
public int Weight;
public bool Walkable;
public int GridX;
public int GridY;
// Implementation of IHea... |
Assets/Ultimate Game Tools/Fracturing/Scripts/Fracture.cs | Ayagami/Tesis | 0 | 7037601 | <reponame>Ayagami/Tesis<gh_stars>0
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
namespace UltimateFracturing
{
public static partial class Fracturer
{
private class FracturingStats
{
public FracturingStats()
... |
Assets/Scripts/HideLOD.cs | Foxify52/OpenViva | 0 | 7037602 | using UnityEngine;
namespace viva
{
public class HideLOD : MonoBehaviour
{
[SerializeField]
private GameObject showOnTrigger;
[SerializeField]
private GameObject showOnExit;
private int inside = 0;
private void OnTriggerEnter(Collider collider)
{
... |
src/AccessControlHelper/AccessControlHelperExtension.cs | WeihanLi/AccessControlDemo | 81 | 7037603 | using System;
#if NET45
using WeihanLi.Common;
namespace WeihanLi.AspNetMvc.AccessControlHelper
{
public static class AccessControlHelper
{
public static void RegisterAccessControlHelper<TResourceStrategy, TControlStrategy>(Func<IServiceProvider> registerFunc)
where TResourceStrategy : cl... |
FunctionalSharp.Tests/Thunk/ThunkEnvTests.cs | torontofangirl/FunctionalSharp | 6 | 7037604 | <reponame>torontofangirl/FunctionalSharp<gh_stars>1-10
using System;
using FsCheck;
using FsCheck.Xunit;
using Xunit;
using FunctionalSharp;
using System.Collections.Generic;
using System.Linq;
using static FunctionalSharp.F;
using static FunctionalSharp.Tests.Utils;
namespace FunctionalSharp.Tests.Thunk;
public cla... |
DoAnCuoiKy/Areas/admin/Controllers/HomeAdmminController.cs | TheChosenKhoa01/E-commerce-Website-.Net | 0 | 7037605 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace DoAnCuoiKy.Areas.admin.Controllers
{
[Authorize(Roles = "QuanTri")]
public class HomeAdmminController : Controller
{
// GET: admin/HomeAdmmin
public ActionResult Index()
... |
src/ChiikinSoft.DistributedLocker.Redis/DistributedLockerFactory.cs | chiikin/ChiikinSoft | 1 | 7037606 | using ChiikinSoft.DistributedLocker;
using System;
using System.Collections.Generic;
using System.Text;
namespace ChiikinSoft.DistributedLocker.Redis
{
public class DistributedLockerFactory : IDistributedLockerFactory
{
public IDistributedLocker Create(string key)
{
throw new NotIm... |
src/Tests/dotnet.Tests/dotnet-msbuild/GivenDotnetVsTestForwardingApp.cs | 0x53A/sdk | 1,671 | 7037607 | <filename>src/Tests/dotnet.Tests/dotnet-msbuild/GivenDotnetVsTestForwardingApp.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.DotNet.Tools.VSTest;
using FluentAssertions;
u... |
BoxingWebApplication/Boxing.Core.Handlers/Features/Boxers/CreateBoxerHandler.cs | ktodorov/BoxingWebApp | 0 | 7037608 | using AutoMapper;
using Boxing.Contracts.Requests.Boxers;
using Boxing.Core.Sql;
using Boxing.Core.Sql.Configurations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Boxing.Core.Handlers.Features.Boxers
{
public class CreateBoxerHandle... |
Services/Census/CharacterDirectiveObjectiveCollection.cs | Simacrus/honu | 4 | 7037610 | using DaybreakGames.Census;
using DaybreakGames.Census.Exceptions;
using DaybreakGames.Census.Operators;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using watchtower.Code.Extensio... |
Client/suota_pgp/suota_pgp/suota_pgp/Constants.cs | Jesus805/Suota-Go-Plus | 41 | 7037612 | using System;
using System.Collections.Generic;
namespace suota_pgp.Model
{
public static class Constants
{
public const byte EnableSuota = 1;
public const int MemoryBank = 1;
public const int PatchAddress = 0x8002;
public const int PatchLength = 6;
public const int... |
LTRegistratorApi/LTRegistratorApi/Controllers/TaskController.cs | ltschool2019/LTSummerSchool2019 | 1 | 7037613 | <filename>LTRegistratorApi/LTRegistratorApi/Controllers/TaskController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using LTRegistratorApi.Model;
using LTRegistrator.Domain.Entities;
using LTRegistrator.Domain.Enums;
using Microsoft... |
ESH/Utility/ObjectDumper.cs | EmilySamantha80/ESH | 2 | 7037614 | // Title: Object Dumper
// Author: <NAME>
//
// MIT License
// Copyright(c) 2017 <NAME> (<EMAIL>)
//
// 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 withou... |
src/Web/User/X.App/Apis/app/agent/near.cs | dreamzhoukui/x.rbt | 3 | 7037615 | using System;
using System.Collections.Generic;
using System.Linq;
using X.Core.Plugin;
using X.Core.Utility;
using X.Data;
using X.Web.Com;
namespace X.App.Apis.app.agent
{
public class near : xag
{
public string key { get; set; }
protected override XResp Execute()
{
... |
csharp/sources/formula-1-data/Bridge.Codemasters/V2019/Models/Event/EventData.cs | SteveQuixDemo/quix-library | 7 | 7037616 | namespace Bridge.Codemasters.V2019.Models.Event
{
public interface IEventDataDetails
{
}
public struct FastestLapEventDetails : IEventDataDetails
{
public byte vehicleIdx; // Vehicle index of car achieving fastest lap
public float lapTime; // Lap time is in seconds
}
pub... |
C#/C#-Part-Two/Exam-preparation/15 March 2015/03. Lover of three/Program.cs | Horwits/Telerik-Academy-2016-2017 | 0 | 7037617 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
class Program
{
private static void FillMatrix(int[,] matrix, int r, int c)
{
int counter = 0;
for (int i = r - 1; i >= 0; i--)
{
int row = i... |
src/ZIT.Core/Entities/ApplicationUser.cs | ZarzadzanieIT/strona-zit | 1 | 7037618 | <filename>src/ZIT.Core/Entities/ApplicationUser.cs
using ZIT.Core.Common;
namespace ZIT.Core.Entities;
public class ApplicationUser : AuditableEntity
{
public string? Name { get; set; }
public string? Email { get; set; }
public string? Password { get; set; }
public ICollection<string>? Entitlements {... |
Arch(.NetStandard)/Bhbk.Lib.DataState/Interfaces/IDataState.cs | bhbk/3as8kpsf | 1 | 7037619 | <reponame>bhbk/3as8kpsf
using System.Collections.Generic;
namespace Bhbk.Lib.DataState.Interfaces
{
public interface IDataState
{
int Skip { get; set; }
int Take { get; set; }
IDataStateFilter Filter { get; set; }
ICollection<IDataStateSort> Sort { get; set; }
}
}
|
test/Masa.Contrib.Dispatcher.Events.Tests/_Imports.cs | Sky-nt/MASA.Contrib | 63 | 7037620 | <gh_stars>10-100
// Copyright (c) MASA Stack All rights reserved.
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.
global using Masa.BuildingBlocks.Data.UoW;
global using Masa.BuildingBlocks.Dispatcher.Events;
global using Masa.BuildingBlocks.Dispatcher.IntegrationEvents;... |
code/dotnet/IRNContacts/v1/src/FactSet.SDK.IRNContacts/Model/ContactRelationshipSaveDto.cs | factset/enterprise-sdk | 6 | 7037621 | <reponame>factset/enterprise-sdk<filename>code/dotnet/IRNContacts/v1/src/FactSet.SDK.IRNContacts/Model/ContactRelationshipSaveDto.cs<gh_stars>1-10
/*
* IRN API v1
*
* Allows users to extract, create, update and configure IRN data.
*
* The version of the OpenAPI document: 1
* Generated by: https://github.com/opena... |
Keyboard2XinputLib/Keyboard2Xinput.cs | RDCH106/Keyboard2Xinput | 1 | 7037622 | using System;
using System.Threading;
using System.Collections.Generic;
using System.Windows.Forms;
using IniParser;
using IniParser.Model;
using Nefarius.ViGEm.Client;
using Nefarius.ViGEm.Client.Targets;
using Nefarius.ViGEm.Client.Targets.Xbox360;
using Nefarius.ViGEm.Client.Exceptions;
using Keyboard2XinputLib.Ex... |
UI/UITextPanel.cs | Randoragon/CustomNPCNames | 1 | 7037623 | <reponame>Randoragon/CustomNPCNames
using Microsoft.Xna.Framework.Graphics;
using Terraria.GameContent.UI.Elements;
using Microsoft.Xna.Framework;
using Terraria;
namespace CustomNPCNames.UI
{
/// <summary>
/// This class is an extension of UIPanel with added caption and hover text functionality.
/// </su... |
src/CricketTeams.Domain/Models/Teams/Sponsor.cs | yavaka/CricketTeams | 3 | 7037624 | <filename>src/CricketTeams.Domain/Models/Teams/Sponsor.cs
namespace CricketTeams.Domain.Models.Teams
{
using CricketTeams.Domain.Common;
using CricketTeams.Domain.Exceptions;
using static ModelConstants.Common;
public class Sponsor : ValueObject
{
internal Sponsor(
string name... |
Interop/Spout.cs | Ruminoid/Spout.NET | 7 | 7037625 | <reponame>Ruminoid/Spout.NET<gh_stars>1-10
using System;
using System.Runtime.InteropServices;
using System.Security;
using System.Runtime.CompilerServices;
[assembly:InternalsVisibleTo("Spout.NET")]
public unsafe partial class SHELLEXECUTEINFOA
{
[StructLayout(LayoutKind.Explicit, Size = 112)]
public partia... |
Assets/PorglezompPyroclastics/Editor/CJPyroclasticMaterialEditor.cs | VR-DevTeam3/Talent-Team-VR | 3 | 7037626 | <gh_stars>1-10
using UnityEditor;
using UnityEngine;
using System.Collections.Generic;
public class CJPyroclasticMaterialEditor : MaterialEditor {
public override void OnInspectorGUI() {
EditorGUILayout.LabelField("Edit the properties using the ExplosionMat script.");
}
} |
src/GitReleaseNotes.Website/IoC/CatelWebApiDependencyResolver.cs | agissc/GitReleaseNotes | 150 | 7037627 | <filename>src/GitReleaseNotes.Website/IoC/CatelWebApiDependencyResolver.cs
namespace GitReleaseNotes.Website.IoC
{
using Catel;
using Catel.IoC;
public class CatelWebApiDependencyResolver : Catel.IoC.DependencyResolver, System.Web.Http.Dependencies.IDependencyResolver
{
private readonly IServi... |
src/Sweety.Common/Cryptography/ICryptography.cs | myunQ/SweetyCommon | 0 | 7037628 | <filename>src/Sweety.Common/Cryptography/ICryptography.cs
/* * * * * * * * * * * * * * * * * * * * *
* Creator: <NAME>
* E-Mail: <EMAIL>
* Description:
*
* 定义加密/解密的方法。
*
*
* Members Index:
* interface
* ICryptography
*
* * * * * * * * * * * * * * * * * * * * */
name... |
aspnet/mvc/overview/older-versions/working-with-the-dropdownlist-box-and-jquery/examining-how-aspnet-mvc-scaffolds-the-dropdownlist-helper/samples/sample10.cs | SeanKilleen/Docs | 159 | 7037629 | private void SetGenreArtistViewBag(int? GenreID = null, int? ArtistID = null) {
if (GenreID == null)
ViewBag.GenreId = new SelectList(db.Genres, "GenreId", "Name");
else
ViewBag.GenreId = new SelectList(db.Genres.ToArray(), "GenreId", "Name", GenreID);
if (ArtistID == null)
Vie... |
Assets/YooAsset/Editor/AssetBundleReporter/AssetBundleInspector.cs | tuyoogame/YooAsset | 105 | 7037630 | <gh_stars>100-1000
using System.IO;
using UnityEditor;
using UnityEngine;
namespace YooAsset.Editor
{
public class AssetBundleInspector
{
[CustomEditor(typeof(AssetBundle))]
internal class AssetBundleEditor : UnityEditor.Editor
{
internal bool pathFoldout = false;
internal bool advancedFoldout = false;
... |
smiqs/smiqs/Views/SubscriptionsPage.xaml.cs | yehiaraslan85/SmiqsMobileApp | 0 | 7037631 | <gh_stars>0
using smiqs.ViewModels.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms.PlatformConfiguration.AndroidSpecific;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace smiqs.Views
{
[XamlCompilation(XamlCo... |
Assets/_Scripts/Helpers/Wrangler.cs | Crotshot/FYP | 0 | 7037632 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Wrangler : MonoBehaviour
{
private void Awake()
{
if (!FindObjectOfType<GameManager>())
{
Debug.LogWarning("Test Started in wrong scene, wrangled back to _... |
Polimorfizm_Banka_Ornegi/Banka.cs | baristutakli/NA-203-Projects | 0 | 7037633 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Polimorfizm_Banka_Ornegi {
class Banka {
protected double _EFTUcreti;
public Banka()
{
this._EFTUcreti = 0;
}
virtual public void EFT()
... |
PSX-App/Models/Authentication/AccountUser.cs | drasticactions/PSX-App | 4 | 7037634 | <filename>PSX-App/Models/Authentication/AccountUser.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SQLite.Net.Attributes;
namespace PlayStation_App.Models.Authentication
{
public class AccountUser
{
[PrimaryKey]
publ... |
Examples/WinForms/Cartesian/DynamicVisibility/DynamicVisibiltyExample.Designer.cs | RailConcept-Raphael-Blin/Live-Charts | 0 | 7037635 | <gh_stars>0
namespace Winforms.Cartesian.DynamicVisibility
{
partial class DynamicVisibiltyExample
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources ... |
src/FFT.COBS/COBSReader.cs | FastFinTech/FFT.COBS | 0 | 7037636 | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace FFT.COBS
{
using System;
using System.Buffers;
using System.Collections.Generic;
using System.IO;
using System.IO.Pipelines;
using System.Runtime.Co... |
src/Twilio/Rest/FlexApi/V1/WebChannelResource.cs | ashish-s/twilio-csharp | 1 | 7037637 | /// This code was generated by
/// \ / _ _ _| _ _
/// | (_)\/(_)(_|\/| |(/_ v1.0.0
/// / /
/// <summary>
/// WebChannelResource
/// </summary>
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using Twilio.Base;
using Twilio.Clients;
using Twilio.Converters;
using Twilio.Excep... |
Neutronium.Core/Infra/TypeExtension.cs | sjoerd222888/Neutronium | 0 | 7037638 | <filename>Neutronium.Core/Infra/TypeExtension.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace Neutronium.Core.Infra
{
public static class TypeExtender
{
public static IEnumerable<Type> GetBaseTypes(this Type type)
{
if (type == null) throw new Argum... |
sdk/dotnet/Mns/GetTopicSubscriptions.cs | pulumi/pulumi-alicloud | 42 | 7037639 | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... |
src/Esfa.Vacancy.Infrastructure/Services/GetApprenticeshipService.cs | uk-gov-mirror/SkillsFundingAgency.das-vacancyservices-api | 2 | 7037640 | using System.Data;
using System.Linq;
using System.Threading.Tasks;
using Dapper;
using Esfa.Vacancy.Domain.Entities;
using Esfa.Vacancy.Domain.Interfaces;
using Esfa.Vacancy.Infrastructure.Factories;
using SFA.DAS.NLog.Logger;
namespace Esfa.Vacancy.Infrastructure.Services
{
public class GetApprenticeshipService... |
TEP.Application/Assets/Commands/CreateAsset/CreateAssetCommandValidator.cs | rmcs87/TrainingEvaluationPlatform | 0 | 7037641 | <reponame>rmcs87/TrainingEvaluationPlatform
using FluentValidation;
using TEP.Application.Common.CustomValidators;
using TEP.Application.Common.Interfaces;
using TEP.Application.Common.Options;
namespace TEP.Application.Assets.Commands.CreateAsset
{
public class CreateAssetCommandValidator : AbstractValidator<Cre... |
JusibeNET/Jusibe.cs | dozieogbo/jusibe.net | 0 | 7037642 | using JusibeNET.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
namespace JusibeNET
{
public class Jusibe
{
private const string BASE_URL = "https://jusibe.com";
... |
Azylee.Utils/Tests/Test.Ges/UserBook.cs | Booster1234/Fork | 2 | 7037643 | <reponame>Booster1234/Fork
using Azylee.Core.AppUtils.AppConfigUtils.AppConfigModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Test.Ges
{
public class UserBook : IAppConfigItemModel
{
public int Number { get; set; }
... |
AwesomeSauceCompanyLtd/Infrastructure/AcceptHeaderAttribute.cs | nympy/AspNetCoreBeyondTheIntro | 17 | 7037644 | <filename>AwesomeSauceCompanyLtd/Infrastructure/AcceptHeaderAttribute.cs<gh_stars>10-100
using Microsoft.AspNetCore.Mvc.ActionConstraints;
using System;
using System.Linq;
namespace AwesomeSauceCompanyLtd.Infrastructure
{
[AttributeUsage(AttributeTargets.Method)]
public class AcceptHeaderAttribute : Attribute... |
exercises/binary-search/BinarySearch.cs | rossconf2018-exercism-track-id/csharp | 4 | 7037645 | <filename>exercises/binary-search/BinarySearch.cs
using System;
public class BinarySearch
{
public BinarySearch(int[] input)
{
throw new NotImplementedException("You need to implement this function.");
}
public int Find(int value)
{
throw new NotImplementedException("You need to i... |
Kyles-Fantastic-Dialogue-System/Library/PackageCache/com.unity.quicksearch@3.0.0-preview.8/Editor/PropertyDatabase/DefaultPropertyDatabaseSerializers.cs | smuth98/Kyles-Fantastic-Dialogue-System | 0 | 7037646 | #if USE_PROPERTY_DATABASE
using UnityEngine;
namespace UnityEditor.Search
{
static class DefaultPropertyDatabaseSerializers
{
public static int fixedStringLengthByteSize => 1;
[PropertyDatabaseSerializer(typeof(int))]
internal static PropertyDatabaseRecordValue IntegerSerializer(Proper... |
Antd2/ExecFunction/ExecFunction.Program.cs | Anthilla/Antd | 37 | 7037647 | <reponame>Anthilla/Antd
// Copyright 2019 <NAME> <<EMAIL>>
// This software is made available under the MIT License
// See COPYING for details
using System;
using System.Reflection;
using System.Threading.Tasks;
namespace Antd.ExecFunction {
public static partial class ExecFunction {
public const string C... |
src/Example.Mobile.EntityFrameworkCore/Stores/EntityFrameworkCoreEventStore.cs | AtLeastITry/xamarin-template | 1 | 7037648 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Example.Mobile.EntityFrameworkCore.DbContexts;
using Example.Mobile.EntityFrameworkCore.Events;
using Example.Mobile.Infrastructure.Events;
using Example.Mobile.Infrastructure.Serialization;
using Microsoft.Extensions.Logging;
namespa... |
Helpers/Navigation/NavigationHelper.cs | FIFOFridge/AOEMatchDataProvider | 3 | 7037649 | using AOEMatchDataProvider.Services;
using AOEMatchDataProvider.Services.Default;
using Prism.Regions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AOEMatchDataProvider.Helpers.Navigation
{
public static class NavigationHelper
{
... |
GMap.NET.Core/GMap.NET.MapProviders/OpenStreetMap/OpenStreetMapQuestHybridProvider.cs | forgy/ntripshare-base | 3 | 7037650 |
namespace GMap.NET.MapProviders
{
using System;
/// <summary>
/// OpenStreetMapQuestHybrid provider - http://wiki.openstreetmap.org/wiki/MapQuest
/// </summary>
public class OpenStreetMapQuestHybridProvider : OpenStreetMapProviderBase
{
public static readonly OpenStreetMapQuestHybri... |
test/NuGet.Clients.Tests/NuGet.VisualStudio.Internal.Contracts.Test/Formatters/FloatRangeFormatterTests.cs | rolfbjarne/NuGet.Client | 0 | 7037651 | <gh_stars>0
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using NuGet.Versioning;
using Xunit;
namespace NuGet.VisualStudio.Internal.Contracts.Test
{
public sealed class FloatRangeFormatterTest... |
EIDSS v6.1/bv.common/Core/ClassLoader.cs | EIDSS/EIDSS-Legacy | 2 | 7037652 | using System;
using System.Reflection;
using System.Runtime.Remoting;
using System.IO;
using System.Collections.Generic;
using bv.common.Diagnostics;
using System.Linq;
/// -----------------------------------------------------------------------------
/// Project : bv.common
/// Class : common..Core.ClassLo... |
Hacker Jeopardy!/Assets/Plugins/GifPlayer/Scripts/ImageScaling.cs | mahermatrix/HackerJeopardy | 1 | 7037654 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ImageScaling : MonoBehaviour
{
public void Scale_Image()
{
RawImage img = this.GetComponent<RawImage>();
Texture s = img.texture;
RectTransform r = this.GetComponent<R... |
src/Doc/Masa.Blazor.Doc.CLI/Comparers/MenuComparer.cs | gavin1ee/MASA.Blazor | 1 | 7037655 | <reponame>gavin1ee/MASA.Blazor
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Masa.Blazor.Doc.CLI.Comparers
{
public class MenuComparer : IComparer<string>
{
public int Compare([AllowN... |
tools/pwig/demos/csharp_caller/testlib_intf.cs | carlosiiii/KControls | 35 | 7037656 | // ************************************************************************
// This file contains common interface for both the caller and the callee.
// -------
// WARNING
// -------
// This file was generated by PWIG. Do not edit.
// File generated on 4.1.2017 17:40:15
// Library properties:
// Name: TestLi... |
tests/AzureTableStorageConfigurationTest.cs | hiraldesai/AzureTableStorageConfigurationProvider | 4 | 7037657 | <filename>tests/AzureTableStorageConfigurationTest.cs<gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Dimps.Extensions.Configuration.AzureTableStorage;
using Moq;
using Xunit;
namespace AzureTableStorageConfiguration.Tests
{
[Trait("Category", "Unit Tests")]
pub... |
Dashboard/Scheduler/SchedulerState.cs | nagasudhirpulla/oxyplot_widget | 0 | 7037658 | using Dashboard.Helpers.EnumHelpers;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dashboard.Scheduler
{
public class SchedulerState
{
public TimeSpan FetchPeriodicity { get; set; } = TimeSpan.... |
Aegis/Framework.cs | reinlainer/AegisFramework | 0 | 7037659 | <filename>Aegis/Framework.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Reflection;
using Aegis.Threading;
namespace Aegis
{
public static class Framework
{
public static readonly Assembly ExecutingAssembly;
publ... |
Functions/Transfers/TransferFileProxy.cs | yuriys-kentico/ConsultingTransfers | 0 | 7037660 | using Authorization;
using Core;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.Extensions.Logging;
using System;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
namespace Function... |
src/SFA.DAS.Reservations.Data.UnitTests/Repository/ReservationIndexRepository/WhenCreatingAnIndex.cs | uk-gov-mirror/SkillsFundingAgency.das-reservations-jobs | 1 | 7037661 | <gh_stars>1-10
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using SFA.DAS.Reservations.Domain.Configuration;
using SFA.DAS.Reservations.Domain.Infrastructure.ElasticSearch;
namespace SFA.DAS.Reservations.Data.UnitTests.Repository.ReservationIndexRepository
{
public class WhenCreatingAnIndex
... |
src/Skybrud.Umbraco.GridData/Converters/GridConverterAttribute.cs | alandraper/Skybrud.Umbraco.GridData | 0 | 7037662 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Skybrud.Umbraco.GridData.Converters {
/// <summary>
/// Mark a class to be Auto-converted using the editor.Alias as a key
/// </summary>
public sealed class GridConverterAttrib... |
src/FactoryFactory/Registration/Impl/ConventionPredicates.cs | jammycakes/nooshka | 0 | 7037663 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reflection;
using FactoryFactory.Util;
namespace FactoryFactory.Registration.Impl
{
public class ConventionPredicates : IConventionPredicates
{
private IList<Predicate<Type>> _predicate... |
Base/Models/PropDateDto.cs | bruce66tw/Base | 0 | 7037664 | <reponame>bruce66tw/Base
namespace Base.Models
{
/// <summary>
/// date property
/// </summary>
public class PropDateDto : PropTextDto
{
}
} |
Joke.Joke/Tree/Expressions/Assignment.cs | knutjelitto/Joke | 0 | 7037665 | <reponame>knutjelitto/Joke
using Joke.Joke.Decoding;
namespace Joke.Joke.Tree
{
public class Assignment : IExpression
{
public Assignment(TokenSpan span, IExpression left, IExpression right)
{
Span = span;
Left = left;
Right = right;
}
... |
MyProject/MyProject01/OldController/Jobs/CheckNetworkChangeJob.cs | a7866353/encog-dotnet-core_work01 | 0 | 7037666 | <gh_stars>0
using Encog.ML.EA.Genome;
using Encog.Neural.NEAT;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Threading.Tasks;
namespace MyProject01.Controller.Jobs
{
class CheckNetworkChange... |
ParseDictionary.cs | BUTTER-Tools/WeightedDictionary | 0 | 7037667 | <filename>ParseDictionary.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using PluginContracts;
namespace WeightedDictionary
{
//partial class because we're splitting this bad boy up between files
internal class DictParser
{
publi... |
src/Microsoft.Azure.WebJobs.Host/Executors/StorageAccountParseResult.cs | Jagger68/azure-webjobs-sdk | 1 | 7037668 | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.WebJobs.Host.Executors
{
/// <summary>
/// Enumerates list of possible errors detected by the <see cref="StorageAccountParser"/> whil... |
samples/LibVLCSharp.Avalonia.Sample/Example2.xaml.cs | navhaxs/vlcsharpavalonia | 33 | 7037669 | using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using System;
using System.Reactive.Linq;
namespace LibVLCSharp.Avalonia.Sample
{
public class Example2 : Window
{
public Example2()
{
this.InitializeComponent();
//Renderer.DrawFps = true;
... |
ATT_Shape/ATT_Shape.domain/Services/ChannelService.cs | dmdinh22/ATT_Shape | 7 | 7037670 | using ATT_Shape.domain.Classes;
using ATT_Shape.domain.Models.Request;
using ATT_Shape.domain.Services.Data;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin;
using System;
using System.Collections.Generic;
using System.Data;
u... |
3-view-cart/Warehouse.Data/Context/WarehouseContext.cs | mauroservienti/microservices-done-right-demos | 9 | 7037671 | using System.Data.Entity;
using Warehouse.Data.Migrations;
using Warehouse.Data.Models;
namespace Warehouse.Data.Context
{
public class WarehouseContext : DbContext
{
public WarehouseContext() : base("Warehouse")
{
}
public IDbSet<StockItem> StockItems { get; set; }
p... |
Runtime/Utils/Arithmetic.cs | AlephVault/unity-support | 0 | 7037672 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace AlephVault.Unity.Support
{
namespace Utils
{
/// <summary>
/// <para>
/// This class contains several utilities to compute
/// rounded integer divisions and related operations.
... |
Assets/Scripts/Enemy.cs | Tony-MK/Afro-Defender | 0 | 7037673 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enemy : MonoBehaviour{
public float speed = 10f;
private Transform target;
private int wavepointIndex = 0;
void Start(){
target = Waypoints.points[wavepointIndex];
}
void Move(){
Vector3 dir = target.position - t... |
WPNest/WPNest/Web/WebRequestWrapper.cs | garyjohnson/wpnest | 2 | 7037674 | using System;
using System.IO;
using System.Net;
using System.Threading.Tasks;
namespace WPNest.Web {
internal class WebRequestWrapper : IWebRequest {
private readonly WebRequest _request;
public WebRequestWrapper(WebRequest request) {
if(request == null) throw new ArgumentNullException("request");
_req... |
src/QSS.Base/Models/PagingResultModel.cs | rungwiroon/QSS.Base | 0 | 7037675 | using System.Collections.Generic;
namespace Qss.Base.Models
{
public class PagingResultModel<T>
{
public int RowCount { get; set; }
public IEnumerable<T> Rows { get; set; }
public PagingResultModel(IEnumerable<T> rows, int rowCount)
{
RowCount = rowCount;
... |
src/CashDB.Lib/Coins/CashDBOutpointFlags.cs | renzobarrionuevo/Lockad-cashdb | 13 | 7037676 | // Copyright Lokad 2018 under MIT BCH.
using System;
using CashDB.Lib.Messaging;
namespace CashDB.Lib.Coins
{
/// <summary>
/// Flags for extended properties of an outpoint from the CashDB perspective.
/// </summary>
[Flags]
public enum CashDBOutpointFlags : ushort
{
None,
Pers... |
Ryujinx.Graphics/Gal/IGalBlend.cs | ogniK5377/Ryujinx | 2 | 7037677 | namespace Ryujinx.Graphics.Gal
{
public interface IGalBlend
{
void Enable();
void Disable();
void Set(
GalBlendEquation Equation,
GalBlendFactor FuncSrc,
GalBlendFactor FuncDst);
void SetSeparate(
GalBlendEquation EquationRgb... |
Source/TeaCommerce.PaymentProviders.Netaxept/Netaxept.cs | andersburla/Tea-Commerce-Payment-Providers | 1 | 7037678 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Web;
using System.Xml.Linq;
using System.Xml.XPath;
using TeaCommerce.Api.Common;
using TeaCommerce.Api.Infrastructure.Logging;
using TeaCommerce.Api.Models;
using TeaCommerce.Api.Services;
using TeaCommerce.Api... |
Toggl.Daneel/ViewControllers/Settings/SettingsViewController.cs | HectorRPC/Toggl2Excel | 0 | 7037679 | <filename>Toggl.Daneel/ViewControllers/Settings/SettingsViewController.cs
using System;
using MvvmCross.Platforms.Ios.Presenters.Attributes;
using MvvmCross.Plugin.Color.Platforms.Ios;
using Toggl.Daneel.Extensions;
using Toggl.Foundation.MvvmCross.Helper;
using Toggl.Foundation.MvvmCross.ViewModels;
using Toggl.Multi... |
S3WebAPI/S3WebAPI/Models/Product.cs | SilfridoReverol/Dyna-Form-API | 0 | 7037680 | <reponame>SilfridoReverol/Dyna-Form-API<filename>S3WebAPI/S3WebAPI/Models/Product.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace S3WebAPI.Models
{
public class Product
{
public string Id { get; set; }
public string title { get; set; }
... |
GoogleCloudExtension/GoogleCloudExtension/PublishDialog/IPublishDialog.cs | iantalarico/google-cloud-visualstudio | 0 | 7037681 | // Copyright 2016 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicabl... |
src/ArgentPonyWarcraftClient/Models/GameDataApi/MythicKeystoneLeaderboard/MythicKeystoneLeaderboardsIndex.cs | willwolfram18/warcraft | 0 | 7037682 | <reponame>willwolfram18/warcraft
using Newtonsoft.Json;
namespace ArgentPonyWarcraftClient
{
/// <summary>
/// An index of Mythic Keystone Leaderboard dungeon instances for a connected realm.
/// </summary>
public class MythicKeystoneLeaderboardsIndex
{
/// <summary>
/// Gets links... |
Assets/Second/TrappingRainWater.cs | dftty/LeetCode | 0 | 7037683 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class TrappingRainWater : MonoBehaviour {
// Use this for initialization
void Start () {
trap(new int[]{0,1,0,2,1,0,1,3,2,1,2,1});
}
// Update is called once per frame
void Update () {
}
/**
Trapping R... |
DFWV/WorldClasses/HistoricalEventClasses/HE_Competition.cs | tier6tank/DFWV | 0 | 7037684 | using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
using System.Xml.Linq;
using DFWV.WorldClasses.EntityClasses;
using DFWV.WorldClasses.HistoricalFigureClasses;
namespace DFWV.WorldClasses.HistoricalEventClasses
{
class HE_Competition : HistoricalEvent
{
... |
src/Core/Logistics.EntityFramework/Services/MySqlProviderService.cs | suxrobGM/LogisticsApp | 5 | 7037685 | using System.Data.Common;
using Microsoft.Extensions.Logging;
using MySqlConnector;
using Logistics.Domain.Options;
using Logistics.Domain.Services;
namespace Logistics.EntityFramework.Services;
public class MySqlProviderService : IDatabaseProviderService
{
private readonly TenantsSettings _settings;
private... |
src/StandardUI.VisualEnvironment.WpfNative/WpfNativeDrawingContext.cs | debonte/standard-ui | 0 | 7037686 | <filename>src/StandardUI.VisualEnvironment.WpfNative/WpfNativeDrawingContext.cs<gh_stars>0
using Microsoft.StandardUI.Controls;
using Microsoft.StandardUI.Media;
using Microsoft.StandardUI.Shapes;
using Microsoft.StandardUI.SkiaVisualizer;
using System;
using System.Windows.Media;
using PenLineCap = Microsoft.Standard... |
Discord.Net.Abstractions/Core/IReactionMetadata.cs | spixy/MODiX | 124 | 7037687 | <filename>Discord.Net.Abstractions/Core/IReactionMetadata.cs
namespace Discord
{
/// <inheritdoc cref="ReactionMetadata" />
public interface IReactionMetadata
{
/// <inheritdoc cref="ReactionMetadata.ReactionCount" />
int ReactionCount { get; }
/// <inheritdoc cref="ReactionMetadat... |
NotAClue.Web.UI.BootstrapWebControls/AjaxTabs/TabPanelCollection.cs | sjnaughton/bootstrap-web-controls | 1 | 7037688 | <gh_stars>1-10
using System;
using System.Web.UI;
namespace AjaxControlToolkit
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1035:ICollectionImplementationsHaveStronglyTypedMembers", Justification="Unnecessary for this specialized class")]
public class TabPanelCollection : ControlCo... |
backend/tests/core/HttpClientHelper.cs | FuriousLlama/PSP | 20 | 7037689 | <reponame>FuriousLlama/PSP
using Moq;
using Pims.Core.Test.Http;
using System.Net.Http;
namespace Pims.Core.Test
{
/// <summary>
/// HttpClientHelper static class, provides extension methods for the TestHelper for HttpClient objects.
/// </summary>
public static class HttpClientHelper
{
///... |
heAR/Assets/ChangeScene.cs | RealityVirtually2019/heAR | 3 | 7037690 | <filename>heAR/Assets/ChangeScene.cs<gh_stars>1-10
using System.Collections;
using UnityEngine;
using UnityEngine.SceneManagement;
public class ChangeScene : MonoBehaviour
{
public float delay = 440;
void Start()
{
StartCoroutine(LoadLevelAfterDelay(delay));
}
IEnumerator Load... |
Scripts/ParticipantInfoArrayDecoder.cs | leroythelegend/rough_idea_project_cars_unity | 0 | 7037691 | using System;
namespace pcars
{
public class ParticipantInfoArrayDecoder : IDecoder
{
public const int UDP_STREAMER_PARTICIPANTS_SUPPORTED = 32;
readonly ParticipantInfoDecoder[] data;
int amount;
public ParticipantInfoArrayDecoder(int amount)
{
this.amount... |
AutoProt/model/morpheus/Analysis.Class.Morpheus.cs | AutoProt/AutoProt | 0 | 7037692 | <reponame>AutoProt/AutoProt
using MSFileReaderLib;
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Morpheus;
using System.Threading;
using Newtonsoft.Json;
using System.Diagnostics;
namespace AutoPro... |
TRL.Common/Handlers/SignalQueueProcessor.cs | wouldyougo/TRx | 7 | 7037693 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TRL.Common.Events;
using TRL.Common.Models;
using TRL.Common.Extensions.Collections;
using TRL.Common.Collections;
using TRL.Common.Data;
using TRL.Common.TimeHelpers;
using TRL.Logging;
namespace TRL.Common.Handlers
{
pub... |
Source/ReactiveProperty.NETStandard/ObservableAsyncHandler.cs | runceel/ReactiveProperty | 756 | 7037694 | <reponame>runceel/ReactiveProperty<filename>Source/ReactiveProperty.NETStandard/ObservableAsyncHandler.cs<gh_stars>100-1000
using System;
using System.Runtime.CompilerServices;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
namespace Reactive.Bindings
{
/// <summary>... |
GlmSharp/GlmSharpTest/Generated/Swizzle/swizzle_ivec4.Test.cs | cryogen/GlmSharp | 43 | 7037695 | <filename>GlmSharp/GlmSharpTest/Generated/Swizzle/swizzle_ivec4.Test.cs<gh_stars>10-100
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using System.Numerics;
using System.Linq;
using NUnit.Fr... |
AddGitCommitHashInAssemblyInformationalVersion/Program.cs | Orace/Hacks.NET | 1 | 7037696 | using System;
using System.Reflection;
namespace AddGitCommitHashInAssemblyInformationalVersion
{
class Program
{
static void Main()
{
var informationalVersion = typeof(Program).Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion;
... |
src/CloseEnoughEquality/DiscrepancyException.cs | ipjohnson/CloseEnoughEquality | 2 | 7037697 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CloseEnoughEquality
{
public class DiscrepancyException : Exception
{
public DiscrepancyException(Type type, IReadOnlyList<ICloseEnoughDiscrepancy> discrepancy)
: b... |
ProyectoControlDeAlumnos/LogIn.cs | cedoduarte/ProyectoControlDeAlumnos | 0 | 7037698 | <reponame>cedoduarte/ProyectoControlDeAlumnos
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 ProyectoControlDeAlumnos
{
public partial cl... |
TeamBuilder/Data/TeamBuilder.Data/TeamBuilderContext.cs | Gesh4o/TeamBuilder | 0 | 7037699 | namespace TeamBuilder.Data
{
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using Microsoft.AspNet.Identity.EntityFramework;
using TeamBuilder.Data.Configurations;
using TeamBuilder.Data.Models;
public class TeamBuilderContext : IdentityDbContext<Applicati... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.