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/Liquid.Base/Exceptions/LightException.cs | d-daniel-de-sousa/Liquid-Application-Framework | 1 | 7059780 | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
namespace Liquid.Base
{
/// <summary>
/// Class responsible for building the Exception
/// with the data that came from InvalidInputException
/// </summary>
[Serializable]
public class LightE... |
ModernSlavery.WebUI.Submission/Controllers/SubmissionController.DraftComplete.cs | UKHomeOffice/Modern-Slavery-Alpha | 0 | 7059781 | <gh_stars>0
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using ModernSlavery.BusinessDomain.Shared.Models;
using ModernSlavery.WebUI.Shared.Classes.Attributes;
using ModernSlavery.WebUI.Shared.Classes.Extensions;
using ModernSlavery.WebUI.Shared.Controllers;
using ModernSlavery.WebUI.Shared.Options;
... |
Endzone.Umbraco.Extensions/PublishedContentExtensions/MultiUrlPicker.cs | EndzoneSoftware/Umbraco.Extensions | 1 | 7059782 | using RJP.MultiUrlPicker.Models;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.Mvc;
using System.Web.Razor.Generator;
using Umbraco.Core.Models;
using Umbraco.Web;
namespace Endzone.Umbraco.Extensions.PublishedContentExtensions
{
public static class Mul... |
decompiled/Keolis.AntilopeGrandPublic.FrontendCommon.Model/VehiculeResponseModel.cs | Banou26/tcl-live-realtime-utils | 0 | 7059783 | <gh_stars>0
using Keolis.AntilopeGrandPublic.Common.Model;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Linq;
namespace Keolis.AntilopeGrandPublic.FrontendCommon.Model
{
public class VehiculeResponseModel
{
public IEnumerable<Vehicule> Vehicules
{
get;
set;
}
public int Total
... |
CatalogReaderExample/NuGet.Protocol.Catalog.Test/TestData.Designer.cs | jstoker/NuGet-Samples | 1 | 7059784 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
Exercicios/iniciante/2165_Tuitando.cs | douglas-ssouza/UriCode-Exercicios | 1 | 7059785 | using System;
namespace Tuitando
{
class Program
{
static void Main(string[] args)
{
string texto = Console.ReadLine();
if (texto.Length <= 140)
{
Console.WriteLine("TWEET");
}
else
{
Consol... |
src/FastQuant/ExecutionSimulator.cs | fastquant/fastquant.dll | 21 | 7059786 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.ComponentModel;
namespace FastQuant
{
public class ExecutionSimulator : Provider, IExecutionSimulator
{
class ReportSummary
{
public ReportSummary(ExecutionReport report)
{
... |
src/blog/Log/ILogger.cs | lzbian/laobian | 0 | 7059787 | using System;
namespace Laobian.Blog.Log
{
public interface ILogger
{
void Visit(VisitLogCategory visitLogCategory, BlogLog log);
void Status(int statusCode, BlogLog log);
event EventHandler<VisitLogEventArgs> NewVisitLog;
event EventHandler<StatusLogEventArgs> NewStatusLog;... |
TMDb.Client/Builders/RequestBuilder.cs | joshuajones02/TMDb | 1 | 7059788 | <gh_stars>1-10
using System;
using System.Linq;
using System.Net.Http;
using System.Text;
using TMDb.Client.Api;
using TMDb.Client.Configurations;
using TMDb.Client.Constants;
using TMDb.Client.Extensions;
namespace TMDb.Client.Builders
{
public class RequestBuilder : IRequestBuilder
{
private readonl... |
YouExist/YouExist/Assets/Scripts/PlayerMovement.cs | AnthonyVeschi/ExpGame2ForRealThisTime | 0 | 7059789 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMovement : MonoBehaviour
{
bool listenToInput = true;
public float moveSpeed = 5f;
public Rigidbody2D rb;
Vector2 movement;
private void Start()
{
rb = gameObject.GetCompone... |
Assets/Scripts/_Shared/Scenes/SceneController.cs | cidneyhamilton/MermaidCatch | 0 | 7059790 | <filename>Assets/Scripts/_Shared/Scenes/SceneController.cs
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace Cyborg.Scenes {
// Singleton to load and unload scenes
public class SceneController : MonoBehaviour, ISceneContr... |
src/libs/SoloX.TableModel/Impl/TableStructureRepository.cs | xaviersolau/TableModel | 2 | 7059791 | // ----------------------------------------------------------------------
// <copyright file="TableStructureRepository.cs" company="<NAME>">
// Copyright © 2021 <NAME>.
// Licensed under the MIT license.
// See LICENSE file in the project root for full license information.
// </copyright>
// --------------------------... |
sdk/storage/Azure.Storage.Common/src/Sas/AccountSasBuilder.cs | lmolkova/azure-sdk-for-net | 0 | 7059792 | <reponame>lmolkova/azure-sdk-for-net
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
using System;
using System.ComponentModel;
namespace Azure.Storage.Sas
{
// <summary>
/// <see cref="AccountSasB... |
MPDApp/MPDApp/MPDApp/Pages/ArtistListPage.xaml.cs | Jogann94/mpd_xamarin_client | 1 | 7059793 | <reponame>Jogann94/mpd_xamarin_client
using System;
using System.ComponentModel;
using System.Threading.Tasks;
using MPDApp.DependencyServices;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using System.Collections.Generic;
using MPDProtocol;
using MPDProtocol.MPDDataobjects;
using ApiAiSDK;
namespace MPDApp.Pages
{... |
Core/ExpressionBuilder/Common/Enumerations.cs | whizkidwwe1217/GoldRush | 1 | 7059794 | <reponame>whizkidwwe1217/GoldRush
using System;
namespace GoldRush.Core.ExpressionBuilder.Common
{
/// <summary>
/// Defines how the filter statements will be connected to each other.
/// </summary>
public enum Connector
{
/// <summary>
/// Determines that both the current AND the ... |
ScalpayApi/Services/EvalService.cs | KarlGong/Scalpay | 2 | 7059795 | <filename>ScalpayApi/Services/EvalService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using Scalpay.Enums;
using Scalpay.Exceptions;
using Scalpay.Models;
using Scalpay.Models.SExpressions;
namespace Scalpay.Services
{
public inte... |
src/Azure.Functions.Cli/Common/Utilities.cs | lukecolburn/azure-functions-cli | 0 | 7059796 | using System;
using System.Threading.Tasks;
using Colors.Net;
using Colors.Net.StringColorExtensions;
namespace Azure.Functions.Cli
{
internal static class Utilities
{
internal static void PrintLogo()
{
ColoredConsole.WriteLine($@"
{AlternateLogoColor("%%%%%%")}
... |
projects/helpSystem/Form1.Designer.cs | DrWiJi/programatron | 1 | 7059797 | namespace helpSystem
{
partial class helpSystemWindow
{
/// <summary>
/// Требуется переменная конструктора.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Освободить все используемые ресурсы.
/// </summary>
... |
Properties/Resources.Designer.cs | HunnicCyber/SharpML | 94 | 7059798 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
Web/[Features]/TestCases/PreProcessorIsRunOnValidationFailure/Endpoint.cs | Allann/FastEndpoints | 1,101 | 7059799 | namespace TestCases.PreProcessorIsRunOnValidationFailure
{
public class Endpoint : Endpoint<Request, Response>
{
public override void Configure()
{
Verbs(Http.POST);
Routes("/test-cases/pre-processor-is-run-on-validation-failure");
PreProcessors(new M... |
src/ParcelDeliveryManager.API/Mappers/ParcelMapper.cs | LeandroArruda/PackageDeliveryManager | 0 | 7059800 | <reponame>LeandroArruda/PackageDeliveryManager
using System;
using System.Collections.Generic;
using System.Xml.Linq;
using ParcelDeliveryManager.API.Utils;
using ParcelDeliveryManager.Core.Aggregates.ParcelAggregate;
namespace ParcelDeliveryManager.API.Mappers
{
public static class ParcelMapper
{
publ... |
aspnet-core/src/TokenR.Core/TokenRConsts.cs | AyushRawat1996/tokenr-project | 0 | 7059801 | <filename>aspnet-core/src/TokenR.Core/TokenRConsts.cs
namespace TokenR
{
public class TokenRConsts
{
public const string LocalizationSourceName = "TokenR";
public const string ConnectionStringName = "Default";
public const bool MultiTenancyEnabled = true;
}
}
|
Material.Dialog/ViewModels/TextField/TextFieldViewModel.cs | tpetruk/Material.Avalonia | 105 | 7059802 | <reponame>tpetruk/Material.Avalonia
using Avalonia.Controls;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using Avalonia.Data;
namespace Material.Dialog.ViewModels.TextField
{
public class TextFieldViewModel : DialogViewModelBase
{
public event EventH... |
src/SFA.DAS.AssessorService.Web/Views/Certificate/_FirstNameScriptsPartial.cshtml | codescene-org/das-assessor-service | 0 | 7059803 | <gh_stars>0
<script>
var epaoFirstNameFormElement = $('.apprentice-firstname-form ');
var epaoFirstNameValidationRulesObject = {
rules: {
FirstName: {
required: true
}
},
messages: {
FirstName: {
required: 'Enter the apprentice’s given name'
}
}
}... |
GraphicalProgram/shape.cs | brandonjamesparkinson/GraphicalProgram | 1 | 7059804 | <reponame>brandonjamesparkinson/GraphicalProgram
// ***********************************************************************
// Assembly : GraphicalProgram
// Author : Brandon
// Created : 01-05-2019
//
// Last Modified By : Brandon
// Last Modified On : 01-10-2019
// ************************... |
DataAccess/Concrete/EntityFramework/NorthwindContext.cs | rabianur412/ReCapProject | 27 | 7059805 | <reponame>rabianur412/ReCapProject<gh_stars>10-100
using Core.Entities.Concrete;
using Entities.Concrete;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Text;
namespace DataAccess.Concrete.EntityFramework
{
public class NorthwindContext:DbContext
{
//... |
sdk/src/Services/IoTWireless/Generated/Model/Internal/MarshallTransformations/UpdateLogLevelsByResourceTypesRequestMarshaller.cs | ChristopherButtars/aws-sdk-net | 1,705 | 7059806 | /*
* Copyright 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
*
* or in the "license" fi... |
Boxed/Sophon.Boxed.BasicWebApp/src/Sophon.Boxed.BasicWebApp.EntityFrameworkCore/AppDbContext.cs | zhaobingwang/Sophon | 1 | 7059807 | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Sophon.Boxed.BasicWebApp.EntityFrameworkCore
{
public class AppDbContext : DbContext
{
public DbSet<AppUser> AppUs... |
source/Graphql.Server/Sessions/SessionMutations.cs | serhiilishchuk/graphql-sandbox | 0 | 7059808 | using Graphql.Server.Common;
using Graphql.Server.Data;
using Graphql.Server.Extensions;
using HotChocolate;
using HotChocolate.Subscriptions;
using HotChocolate.Types;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Graphql.Server.Ses... |
Source/BriskBottler/BriskBottlerConfig.cs | MooreDavid/ONI-MOD- | 3 | 7059809 | using STRINGS;
using System.Collections.Generic;
using TUNING;
using UnityEngine;
public class BriskBottlerConfig : IBuildingConfig
{
public const string ID = "BRISKBOTTLER";
public override BuildingDef CreateBuildingDef()
{
string id = "BRISKBOTTLER";
int width = 2;
... |
Drexel.DataSources.FolderData.Tests/Mocks/MockFolderDataChangeEventArgs.cs | ltnublet/Drexel.DataSources | 0 | 7059810 | using Drexel.Configurables.External;
namespace Drexel.DataSources.FolderData.Tests.Mocks
{
internal class MockFolderDataChangeEventArgs : IFolderDataChangeEventArgs
{
private IFileInformation information;
public MockFolderDataChangeEventArgs(
FilePath path,
DataSourceC... |
src/EA.Weee.Web/Areas/Admin/Views/Scheme/ManageSchemes.cshtml | uk-gov-mirror/defra.prsd-weee | 2 | 7059811 | @using EA.Prsd.Core.Web.Mvc.RazorHelpers
@using EA.Weee.Core.Helpers
@using EA.Weee.Core.Shared
@using EA.Weee.Web.Areas.Admin.Controllers
@using EA.Weee.Web.RazorHelpers
@using MvcNavigationHelpers
@model EA.Weee.Web.Areas.Admin.ViewModels.Scheme.ManageSchemesViewModel
@{
ViewBag.Title = "Manage PCSs";
}
@sectio... |
BTTWriterLib/BTTWriterLoader.cs | WycliffeAssociates/BTTWriterLib | 0 | 7059812 | <filename>BTTWriterLib/BTTWriterLoader.cs
using BTTWriterLib.Models;
using System;
using System.IO;
using USFMToolsSharp.Models.Markers;
using Newtonsoft.Json;
using USFMToolsSharp;
using System.Collections.Generic;
using System.Linq;
namespace BTTWriterLib
{
public class BTTWriterLoader
{
... |
ToyConsole/Program.cs | GaelOn/Test_ES | 0 | 7059813 | <reponame>GaelOn/Test_ES
using System.Threading;
using System;
using ToyConsole.TestQ;
using Domain.Base.Mock.CommunicationQueue;
using System.Threading.Tasks;
namespace ToyConsole
{
class Program
{
static void Main(string[] args)
{
//TestMockQScenario1();
var mre = Tes... |
samples/Application/MainActivity.cs | panoukos41/AndroidViewGenerator | 0 | 7059814 | <filename>samples/Application/MainActivity.cs
using Android.App;
using Android.OS;
using Android.Views;
using AndroidX.AppCompat.App;
using P41.AndroidViewGenerator;
using Fragment = AndroidX.Fragment.App.Fragment;
namespace Application
{
[Activity(Label = "@string/app_name", Theme = "@style/AppTheme", MainLaunche... |
src/cs/Fundamentals/Fundamentals.Tests/List/SinglyLinkedListTests.cs | burrt/cs-fundamentals | 0 | 7059815 | using System;
using Fundamentals.DataStructure.List;
using Xunit;
namespace Fundamentals.Tests.List
{
public class SinglyLinkedListTests
{
[Fact]
public void Size_ForEmptyList_ReturnsZero()
{
ISinglyLinkedList<int> singlyLinkedList = new SinglyLinkedList<int>();
... |
SunnyLand/Assets/Script/UIFramework/UIPanel/1_Scene_Level_1-1/DeathPanel.cs | torta-two/UnityGameProject | 7 | 7059816 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class DeathPanel : BasePanel
{
public void OnClickRestartButton()
{
SceneManager.LoadScene(GameRecord.Instance.currentLevelIndex + 1);
}
public void OnClickRetu... |
iot-sweater-nf/iot-sweater/Patterns/PatternRunner.cs | UtahITPro/iot-sweater | 2 | 7059817 |
using NeoPixel;
using System;
using System.Diagnostics;
using System.Threading;
using GC = nanoFramework.Runtime.Native.GC;
namespace iot_sweater.Patterns
{
public class PatternRunner
{
private int _gpioPin;
private uint _ledCount;
private IPattern _pattern;
private Neopixel... |
Assets/KrisDevelopment/SharedEditorToolUtilities/Base/SETUtil_SceneUtil.cs | KrisDv/daggerfall-unity | 0 | 7059818 | ////////////////////////////////////////
// Shared Editor Tool Utilities //
// by <NAME> //
////////////////////////////////////////
//License: MIT
//GitLab: https://gitlab.com/KrisDevelopment/SETUtil
using System.Collections.Generic;
using U = UnityEngine;
using Gl = UnityEngine.GUILayout;
#if... |
Mitigate/Utils/SoftwareRestrictionUtils.cs | moullos/Mitigate | 30 | 7059819 | <gh_stars>10-100
using Microsoft.Win32;
using Mitigate.Interop;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
namespace Mitigate.Utils
{
/// <summary>
/// Static class that pulls informa... |
Epam.Task7/Epam.Task7.DAL.Interface/IAwardDao.cs | Vladislav-Pushkarev/XT-2018Q4 | 0 | 7059820 | using System.Collections.Generic;
using Epam.Task7.Entities;
namespace Epam.Task7.DAL.Interface
{
public interface IAwardDao
{
void Add(Award award);
bool Delete(int id);
Award Get(int id);
IEnumerable<Award> GetAll();
}
}
|
src/Core/Rye/AspectFlare/DynamicProxy/InterceptorWrapper.cs | zzq424/Monica | 6 | 7059821 | <filename>src/Core/Rye/AspectFlare/DynamicProxy/InterceptorWrapper.cs
using System;
using System.Collections.Generic;
namespace Rye.AspectFlare.DynamicProxy
{
public class InterceptorWrapper
{
public List<ICallingInterceptor> CallingInterceptors { get; set; }
public List<ICalledInterceptor> Ca... |
trunk/BruTile_0.8.6/BruTile/PreDefined/WkstNederlandSchema.cs | andrepraska/andre | 4 | 7059822 | <filename>trunk/BruTile_0.8.6/BruTile/PreDefined/WkstNederlandSchema.cs<gh_stars>1-10
// Copyright (c) BruTile developers team. All rights reserved. See License.txt in the project root for license information.
using System;
using System.Globalization;
using System.Linq;
namespace BruTile.Predefined
{
public clas... |
Packages/UGF.Testing/Runtime/Scopes/TestComponentScope.cs | unity-game-framework/ugf-testing | 0 | 7059823 | using UnityEngine;
namespace UGF.Testing.Runtime.Scopes
{
/// <summary>
/// Represents a gameObject with component scope.
/// </summary>
public class TestComponentScope<T> : TestObjectScope<T> where T : Component
{
/// <summary>
/// Creates gameObject with component of the specified... |
WidgetsApp/Views/Home/IndexManyControllers.cshtml | training4developers/angular_03142016 | 0 | 7059824 | <div ng-app="WidgetApp">
<div ng-controller="HomeCtrl">
{{$id}} - {{message}}
</div>
<div ng-controller="HomeCtrl">
{{$id}} - {{message}}
</div>
<div ng-controller="HomeCtrl">
{{$id}} - {{message}}
</div>
<div ng-controller="HomeCtrl">
{{$id}} - {{message}}
</div>
<div ng-controller="HomeCtrl">
{{$i... |
Sydney.Core.UnitTests/RouterTests.cs | arnath/Sydney | 0 | 7059825 | <reponame>arnath/Sydney
namespace Sydney.Core.UnitTests
{
using System;
using System.Linq;
using System.Reflection;
using FakeItEasy;
using Sydney.Core.Routing;
using Xunit;
public class RouterTests
{
private readonly Router router;
private readonly RestHandlerBase han... |
WindowsAzurePowershell/src/Management.ServiceManagement/IaaS/Network/GetAzureVNetConfig.cs | OctopusDeploy/azure-sdk-tools | 1 | 7059826 | <reponame>OctopusDeploy/azure-sdk-tools
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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 ... |
Gma.DataStructures.StringSearch.DemoApp/WordPosition.cs | dmunch/trienet | 0 | 7059828 | // This code is distributed under MIT license. Copyright (c) 2013 <NAME>
// See license.txt or http://opensource.org/licenses/mit-license.php
using System.IO;
namespace Gma.DataStructures.StringSearch.DemoApp
{
internal class WordPosition
{
private readonly long m_CharPosition;
privat... |
src/Core/Monitor/Serialization/MetricPacketFactory.cs | snakefoot/Loupe.Agent.Core | 6 | 7059829 | <filename>src/Core/Monitor/Serialization/MetricPacketFactory.cs
using System;
using Gibraltar.Serialization;
#pragma warning disable 1591
namespace Gibraltar.Monitor.Serialization
{
public class MetricPacketFactory : IPacketFactory
{
private readonly Session m_Session;
private readonly string ... |
GracenoteConnector.Library/GracenoteClient.cs | maeda577/EacToGracenote | 5 | 7059830 | <filename>GracenoteConnector.Library/GracenoteClient.cs<gh_stars>1-10
using System;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace GracenoteConnector.Library
{
/// <summary>
/// Gracenoteへのアクセスを行うクラス
/// </summary>
pub... |
PapyrusCompilerAPP/Program.cs | miaoxiaoqiang/SkyrimCompilerAPP | 3 | 7059831 | <filename>PapyrusCompilerAPP/Program.cs
using System;
using System.Diagnostics;
using System.IO;
using System.Windows.Forms;
namespace LightPapyrusCompiler
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
... |
UnitTestDemo/Helpers/GettingWeatherInformation.cs | iamanas20/UWP_CuWeather | 2 | 7059832 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WeatherAppUnitTestDemo.Models;
namespace WeatherAppUnitTestDemo.Helpers
{
class GettingWeatherInformation
{
internal static str... |
QuadTrees/QuadTreePoint.cs | obayomy/QuadTrees | 0 | 7059833 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using QuadTrees.Common;
using QuadTrees.QTreePoint;
namespace QuadTrees
{
/// <summary>
/// A QuadTree Object that provides fast and efficient storage of Points in a world space, queried using Rectangles.
/// </summar... |
INGdemo/INGdemo.Android/Lib/AudioService.cs | ingchips/INGdemo | 1 | 7059834 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.Media;
using INGdemo.Lib;
[assembly: Xamarin.Forms.Dependency(typeof(INGdemo.Lib.Droid.Aud... |
third_party/BreakingChangesDetector/BreakingChangesDetector.UnitTests/MetadataTypesTests/TestTypes.cs | lkts/google-cloud-dotnet | 1 | 7059836 | <filename>third_party/BreakingChangesDetector/BreakingChangesDetector.UnitTests/MetadataTypesTests/TestTypes.cs
/*
MIT License
Copyright(c) 2014-2018 Infragistics, Inc.
Copyright 2018 Google LLC
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and asso... |
samples/Supportreon/src/Supportreon/Features/Accounts/Passwords/Edit.cshtml | MiruFx/Miru | 11 | 7059837 | <gh_stars>10-100
@model PasswordEdit.Command
<div class="row justify-content-center">
<div class="col-md-6">
<miru-form>
<h4>Edit Password</h4>
<miru-summary/>
<div class="mb-3">
<miru-label for="CurrentPassword"/>
<miru-input for="Cur... |
RolePlayingGame.Engine.UnitTests/Actions/TravelActionTests.cs | wprzadka/RolePlayingGame | 0 | 7059838 | using System.Collections.Generic;
using FluentAssertions;
using NSubstitute;
using RolePlayingGame.Engine.Actions;
using RolePlayingGame.Engine.Zones;
using Xunit;
namespace RolePlayingGame.Engine.UnitTests.Actions
{
public class TravelActionTests
{
public TravelActionTests()
{
_de... |
src/Audit.NET.Redis/ConfigurationApi/IRedisHashConfigurator.cs | joezhang-sh/Audit.NET | 1 | 7059839 | using System;
using System.Threading.Tasks;
using Audit.Core;
using StackExchange.Redis;
namespace Audit.Redis.Configuration
{
/// <summary>
/// Provides a configuration for the Redis Hash handler
/// </summary>
public interface IRedisHashConfigurator
{
/// <summary>
/// Specifies a... |
CyberCAT.Core/Classes/DumpedClasses/GameFxResource.cs | RakhithJK/CyberCAT | 127 | 7059840 | <gh_stars>100-1000
using CyberCAT.Core.Classes.Mapping;
using CyberCAT.Core.Classes.NodeRepresentations;
namespace CyberCAT.Core.Classes.DumpedClasses
{
[RealName("gameFxResource")]
public class GameFxResource : GenericUnknownStruct.BaseClassEntry
{
[RealName("effect")]
public WorldEffect E... |
src/DbEngines/SqlServer/SqlMethods.cs | copiltembel/LinqToSQL2NetCore | 0 | 7059841 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text.RegularExpressions;
using System.Reflection;
using System.Diagnostics.CodeAnalysis;
namespace System.Data.Linq.DbEngines.SqlServer
{
#warning [FB] BREAKING CHANGE. This namespace was in System.Data.Linq.SqlClient. R... |
Scripts/Variables/BoolVariable.cs | Seyk10/Portfolio | 1 | 7059842 | using UnityEngine;
namespace StrangeWorld.Variables
{
//* Asset type boolean variable
[CreateAssetMenu(fileName = "New_Boolean_Variable", menuName ="SW/Variables/Boolean")]
public class BoolVariable : AVariable<bool> { }
} |
CertificateManager.Entities/Entities/GetCertificateEntity.cs | corymurphy/CertificateManager | 10 | 7059843 | using System;
using CertificateServices.Enumerations;
using CertificateServices;
using System.Collections.Generic;
using CertificateManager.Entities.Attributes;
using CertificateManager.Entities.Interfaces;
using CertificateManager.Entities.Extensions;
namespace CertificateManager.Entities
{
[Repository("Certific... |
src/CodeContractNullability/CodeContractNullability/ExternalAnnotations/ExternalAnnotationDocumentParser.cs | bkoelman/ResharperCodeContractNullability | 29 | 7059844 | <gh_stars>10-100
using System.IO;
using System.Xml.Linq;
using CodeContractNullability.ExternalAnnotations.Storage;
using CodeContractNullability.Utilities;
using JetBrains.Annotations;
namespace CodeContractNullability.ExternalAnnotations
{
/// <summary>
/// Parses the contents of a single external annotatio... |
Com.Ericmas001.Windows.Demo.TabControlApp/App.xaml.cs | Com-Ericmas001/Windows | 0 | 7059845 | using System.Windows;
using Com.Ericmas001.Windows.Xaml.Windows;
using Unity;
namespace Com.Ericmas001.Windows.Demo.TabControlApp
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App
{
private void App_OnStartup(object sender, StartupEventArgs e)
... |
Models/Locations.cs | Neo-Turak/HIMS-Web | 1 | 7059846 | <reponame>Neo-Turak/HIMS-Web
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace HIMS_Web.Models
{
public class Locations
{
[Key]
[Column("ID",Order =0,TypeName ="int")]
[Display(Name="序号")]
public int ID { ... |
Gnoll Mods/Challenges/Challenges/Gui/ChallengesSelectMenuPanel.cs | minexew/gnoll | 0 | 7059847 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Game;
using Game.GUI;
using Game.GUI.Controls;
using GnollModLoader;
using GnollMods.Challenges.Challenge;
using Microsoft.Xna.Framework.Graphics;
namespace GnollMods.Challenges.Gui
{
class ChallengesSelectMenuPanel : Abst... |
Script/UnrealEngine/GeneratedScriptFile/ULayer.cs | xiongfang/UnrealCS | 126 | 7059848 | using System;
namespace UnrealEngine
{
public partial class ULayer:UObject
{
/// <summary>The display name of the layer</summary>
public FName LayerName;
/// <summary>Whether actors associated with the layer are visible in the viewport</summary>
public bool bIsVisible;
}
}
|
Camera2Basic/Services/ImageUploadService.cs | shadrackkiprotich/epicenter-xamarin-camera2 | 0 | 7059849 | using Android.Media;
using Camera2Basic.ExtentionMethods;
using RestSharp;
using Plugin.LocalNotifications;
namespace Camera2Basic.Services
{
public class ImageUploadService
{
private readonly string ServiceURL = @"https://epicentertop.azurewebsites.net";
public void Upload(Image i... |
db4o.net/Db4objects.Db4o/native/Db4objects.Db4o/Internal/Convert/Conversions/DropDateTimeOffsetClassIndexes_7_12.cs | iboxdb/db4o-gpl | 24 | 7059850 | <reponame>iboxdb/db4o-gpl<filename>db4o.net/Db4objects.Db4o/native/Db4objects.Db4o/Internal/Convert/Conversions/DropDateTimeOffsetClassIndexes_7_12.cs<gh_stars>10-100
/* Copyright (C) 2009 Versant Inc. http://www.db4o.com */
using System;
using Db4objects.Db4o.Reflect.Net;
namespace Db4objects.Db4o.Internal.Con... |
HKX2/Autogen/hkpRotationalConstraintDataAtoms.cs | soulsmods/DSMapStudio | 128 | 7059851 | using SoulsFormats;
using System.Collections.Generic;
using System.Numerics;
namespace HKX2
{
public partial class hkpRotationalConstraintDataAtoms : IHavokObject
{
public virtual uint Signature { get => 2749345; }
public hkpSetLocalRotationsConstraintAtom m_rotations;
public h... |
src/Millarow.Common/Arithmetic/Internal/DecimalArithmetic.cs | mcculic/millarowframework | 0 | 7059852 | namespace Millarow.Arithmetic.Internal
{
internal sealed class DecimalArithmetic : Arithmetic<decimal>
{
public override decimal Add(decimal a, decimal b) => a + b;
public override decimal Subtract(decimal a, decimal b) => a - b;
public override decimal Divide(decimal value, decimal d... |
src/FactoryFactory/Resolution/SingleResolver.cs | gitter-badger/factoryfactory | 0 | 7059853 | using System;
using System.Collections.Generic;
using System.Linq;
namespace FactoryFactory.Resolution
{
/// <summary>
/// Provides resolution services for a single instance of TRequest,
/// where one or more of the resolvers are conditional resolvers.
/// </summary>
public class SingleResolver :... |
Inventory.WebAPI.Tests/RouteTests/ProductsRouteTests.cs | TrinityTG/WebAPI_Route_REST_Test | 0 | 7059854 | <gh_stars>0
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
namespace Inventory.WebAPI.Tests.RouteTests
{
[TestClass]
public class ProductsRouteTests
{
// Get
[TestMethod]
[TestCategory("Route Tests")]
public async Task Produ... |
01 - Testes de Unidade/Features.Tests/07 - FluentAssertions/ClienteFluentAssertionsTests.cs | thiagocruzrj/E-commerce-TDD | 1 | 7059855 | using FluentAssertions;
using Xunit;
using Xunit.Abstractions;
namespace Features.Tests
{
[Collection(nameof(ClienteAutoMockerCollection))]
public class ClienteFluentAssertionsTests
{
private readonly ClienteTestsAutoMockerFixture _clienteTestsFixture;
readonly ITestOutputHelper _outputHel... |
FirstFloor.ModernUI/Windows/Controls/BetterImage.ThreadPools.cs | Ultrawipf/actools | 209 | 7059856 | /* If assembly has SmartThreadPool in references, you can use it instead of
* primitive custom thread pool. Might be more reliable, although I’m not
* sure */
#define SMART_POOL
/* Include primitive custom thread pool from SO as well. I highly recommend
* to use at either smart pool or custom, default C# one simp... |
JGR.GUI/FeedbackPrompt.cs | twpol/msts-tools | 1 | 7059857 | <reponame>twpol/msts-tools
//------------------------------------------------------------------------------
// Jgr.Gui library, part of MSTS Editors & Tools (http://jgrmsts.codeplex.com/).
// License: New BSD License (BSD).
//------------------------------------------------------------------------------
using Sy... |
src/CatsBlog/CatsBlog.Web/Data/Models/Owner.cs | stefanMinch3v/GraphQL-playground | 0 | 7059858 | <filename>src/CatsBlog/CatsBlog.Web/Data/Models/Owner.cs
using System.Collections.Generic;
namespace CatsBlog.Web.Data.Models
{
public class Owner
{
public int Id { get; set; }
public string Name { get; set; }
public ICollection<Cat> Cats { get; } = new HashSet<Cat>();
}
}
|
src/Vendr.uSync/Serializers/TaxClassSerializer.cs | vendrhub/vendr-usync | 2 | 7059859 | <reponame>vendrhub/vendr-usync
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Linq;
using Vendr.Core.Api;
using Vendr.Core.Models;
using Vendr.Common;
using Vendr.uSync.Extensions;
using Vendr.uSync.SyncModels;
#if NETFRAMEWORK
using Vendr.Core;
using Umbraco.Core.Logging;
using ... |
src/cluster/DotNext.Net.Cluster/Net/Cluster/ClusterMemberStatusChanged.cs | augustoproiete-forks/sakno--dotNext | 442 | 7059860 | namespace DotNext.Net.Cluster
{
/// <summary>
/// Represents handler of the event occured when status of the cluster member has been changed.
/// </summary>
/// <param name="member">The cluster member which status has been changed.</param>
/// <param name="previousStatus">The previous member status... |
aspnet-core/src/MyCore.BaseProject.Web.Core/Controllers/BaseProjectControllerBase.cs | liyahui520/BaseProject | 0 | 7059861 | using Abp.AspNetCore.Mvc.Controllers;
using Abp.IdentityFramework;
using Microsoft.AspNetCore.Identity;
namespace MyCore.BaseProject.Controllers
{
public abstract class BaseProjectControllerBase: AbpController
{
protected BaseProjectControllerBase()
{
LocalizationSourceName = BasePr... |
src/DockLib/Event/ToolDragEndedEventArgs.cs | brian-reichle/DockLib | 0 | 7059862 | <gh_stars>0
// Copyright (c) <NAME>. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information.
using System.Windows;
using System.Windows.Input;
namespace DockLib
{
public class ToolDragEndedEventArgs : ToolDragEventArgs
{
public ToolDragEndedEventArgs(Mou... |
AsyncConverter/AsyncHelpers/ClassSearchers/IClassForSearchResolver.cs | prayaas-a/AsyncConverter | 180 | 7059863 | <reponame>prayaas-a/AsyncConverter
using JetBrains.Annotations;
using JetBrains.ReSharper.Psi;
namespace AsyncConverter.AsyncHelpers.ClassSearchers
{
public interface IClassForSearchResolver
{
[Pure]
[CanBeNull]
ITypeElement GetClassForSearch([NotNull]IParametersOwner originalMethod, [C... |
Assets/Scripts/Spawner/MGSpawner.cs | jonmann20/WizardSurvival | 9 | 7059864 | <gh_stars>1-10
using UnityEngine;
using System.Collections;
using MGSpawn.Spawn;
using RAIN.Core;
using RAIN.Action;
public class MGSpawner : MonoBehaviour {
public string EnemyToSpawn = "Skeleton_Basic";
public SpawnMemberType unitLevel = SpawnMemberType.Skeleton_Basic;
public GameObject[] unitList = new GameOb... |
source/StepBro.Core/ScriptData/FileElementPartner.cs | JanJorgensen/StepBro | 2 | 7059865 | using System;
using StepBro.Core.Data;
using StepBro.Core.Execution;
namespace StepBro.Core.ScriptData
{
internal class FileElementPartner : IPartner
{
public FileElementPartner(IFileElement parent, string name, string referenceName, IFileProcedure procedure)
{
this.ParentElement =... |
samples/Samples.AspNetCoreMvc2/Extensions/HeaderDictionaryExtensions.cs | ksjoberg/dd-trace-dotnet | 0 | 7059868 | using System;
using System.Globalization;
using System.Linq;
using Datadog.Trace;
using Microsoft.AspNetCore.Http;
namespace Samples.AspNetCoreMvc2.Extensions
{
public static class HeaderDictionaryExtensions
{
public static SpanContext Extract(this IHeaderDictionary headers)
{
if (h... |
src/Tetrominoes/Input/InputMapperExtensions.cs | joncloud/tetrominoes | 7 | 7059869 | <reponame>joncloud/tetrominoes
using System;
using Tetrominoes.Options;
namespace Tetrominoes.Input
{
public static class InputMapperExtensions
{
public static IInputMapper HandleEnabledChange(this IInputMapper mapper, IOptionService options, Func<IOptionService, bool> enabled)
{
if... |
src/ESFA.DC.ILR.Model.Mapper.Tests/DPOutcomeMapperTests.cs | SkillsFundingAgency/DC-ILR-1819-FileValidationService | 0 | 7059870 | using ESFA.DC.ILR.Model.Mapper.Tests.Abstract;
using FluentAssertions;
using Xunit;
namespace ESFA.DC.ILR.Model.Mapper.Tests
{
public class DPOutcomeMapperTests : AbstractMapperTests<Loose.MessageLearnerDestinationandProgressionDPOutcome, MessageLearnerDestinationandProgressionDPOutcome>
{
[Fact]
... |
Framework/Adxstudio.Xrm/Forums/ForumInfo.cs | hhnguyen/xRM-Portals-Community-Edition | 117 | 7059871 | /*
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for license information.
*/
using System;
namespace Adxstudio.Xrm.Forums
{
internal class ForumInfo : IForumInfo
{
public ForumInfo(IForumPostInfo latestPost)
{
if (latestPost ... |
MTFHDataLanding/Interfaces/TenureDataFactory.cs | LBHackney-IT/mtfh-data-landing | 0 | 7059872 | using System;
using Amazon.Lambda.SQSEvents;
using Microsoft.Extensions.DependencyInjection;
using MTFHDataLanding.Boundary;
using MTFHDataLanding.UseCase.Interfaces;
namespace MTFHDataLanding.Interfaces
{
public class TenureDataFactory : ITenureDataFactory
{
private readonly IServiceProvider _serviceP... |
HedgeLib/Terrain/GensTerrainList.cs | Jovana222/idk | 3 | 7059873 | <filename>HedgeLib/Terrain/GensTerrainList.cs
using HedgeLib.Headers;
using HedgeLib.IO;
using System.IO;
namespace HedgeLib.Terrain
{
// Based off of the wonderful SCHG page on Sonic Generations over at Sonic Retro
public class GensTerrainList : FileBase
{
// Variables/Constants
public Te... |
NSZombieApocalypse/NSZombieApocalypse/ButtonCollectionView.cs | ertan2002/monotouch-samples | 1 | 7059874 | using System;
using System.Drawing;
using MonoTouch.CoreGraphics;
using MonoTouch.CoreLocation;
using MonoTouch.UIKit;
namespace NSZombieApocalypse
{
public enum ButtonType
{
Free,
DeAlloc,
Release,
AutoRelease,
GC,
ARC,
Count
}
public class ButtonCollectionView : UIView
{
UIImageView trackingIm... |
RunnerFunction.cs | GPS-Canada/serverless-notification-service | 0 | 7059875 | using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.Http;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using Azure.Messaging.ServiceBus;
namespace Sample_NotificationService
{
public static cl... |
src/Olist.Ecommerce.Analytics.Application/Products/GetLeastRevenueLocationsMostSellingProducts/GetLeastRevenueLocationsMostSellingProductsQueryHandler.cs | gayankanishka/olist-ecommerce-analytics-api | 0 | 7059877 | <reponame>gayankanishka/olist-ecommerce-analytics-api
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using MediatR;
using Microsoft.Extensions.Configuration;
using Olist.Ecommerce.Analytics.Application.Common.In... |
XCode.RuningCode/XCode.RuningCode.Web/Views/Shared/_Layout_Content.cshtml | HuZeHua/XCode.RuningCode | 1 | 7059878 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>XCode Blog</title>
<meta name="keywords" content="">
<meta ... |
code/Sitecore.Speak.Contrib/sitecore/shell/client/SpeakContrib/Layouts/Renderings/Common/Stylesheets/StylesheetRenderingModel.cs | JakobChristensen/Sitecore.Speak.SpeakContrib | 1 | 7059879 | //------------------------------------------------------------------------------
// <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>
//----------------------------------... |
WithFormat/DateTime/DateTimeExtentions.cs | TheCrow1213/WithFormat | 2 | 7059880 | <gh_stars>1-10
namespace WithFormat.DateTime
{
public static class DateTimeExtentions
{
public static DateTimeFormatBuilder AsDateTime(this System.DateTime input)
{
return new DateTimeFormatBuilder(input);
}
}
} |
src/SuperMemoAssistant.Plugins.Import/ImportBrowserManager.cs | supermemo/SuperMemoAssistant.Plugins.Import | 5 | 7059881 | #region License & Metadata
// The MIT License (MIT)
//
// 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 rights to use, copy, modi... |
samples/csharp/examples/DeepLearning_TensorFlowMLNETInceptionv3ModelScoring/Model/ModelHelpers.cs | sfilipi/machinelearning-samples | 5 | 7059882 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace TensorFlowMLNETInceptionv3ModelScoring.Model
{
public static class ModelHelpers
{
static FileInfo currentAssemblyLocation = new FileInfo(typeof(Program).Assembly.Location);
static p... |
mxProject.Devs.DataGenerator/mxProject.Devs.DataGenerator/mxProject.Devs.DataGenerator/Devs/DataGeneration/Internals/ArrayObjectPairEnumerator.cs | mxProject/DataGenerator | 1 | 7059883 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace mxProject.Devs.DataGeneration.Internals
{
internal class ArrayObjectPairEnumerator<TKey, TValue> : IEnumerator<KeyValuePair<object?[], object?>>
{
internal ArrayObjectPairEnumerator(IEnumerator<Key... |
src/TrnNHibernate/TrnNHibernate.Api/Core/Infrastructure/Maps/ProdutoMap.cs | FelipeCabralz/trn-nhibernate | 0 | 7059884 | using FluentNHibernate.Mapping;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TrnNHibernate.Entidades;
namespace TrnNHibernate.Api.Core.Infrastructure.Maps
{
public class ProdutoMap : ClassMap<Produto>
{
public ProdutoMap()
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.