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 |
|---|---|---|---|---|
ExportIt/ModConfig.cs | keallu/CSL-ExportIt | 0 | 7052144 | <gh_stars>0
namespace ExportIt
{
[ConfigurationPath("ExportItConfig.xml")]
public class ModConfig
{
public bool ConfigUpdated { get; set; }
private static ModConfig instance;
public static ModConfig Instance
{
get
{
if (instance == n... |
Rh.Service.Contracts/ICandidatoService.cs | dfcallili/ProjetoDb1 | 0 | 7052145 | using Rh.Dto;
using System.Collections.Generic;
namespace Rh.Service.Contracts
{
public interface ICandidatoService
{
/// <summary>
/// Método responsável por retornar todos os Candidatos Cadastrados.
/// </summary>
/// <returns>Lista de candidatos.</returns>
List<Candi... |
NEO-Emulator/TestSuite/TestSequenceItem.cs | hal0x2328/neo-debugger-tools | 29 | 7052146 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LunarLabs.Parser;
namespace NEO_Emulator.SmartContractTestSuite
{
public class TestSequenceItem
{
public string TestPrivateKey { get; private set; }
public string TestName { get; private set... |
C#/CSharpUnitTest/331_VerifyPreorderSerializationOfABinaryTreeTest.cs | 772807886/LeetCode | 0 | 7052147 | using _331_VerifyPreorderSerializationOfABinaryTree;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace CSharpUnitTest {
[TestClass]
public class _331_VerifyPreorderSerializationOfABinaryTreeTest {
Solution solution;
public _331_VerifyPreorderSerializationOfABinaryTreeTest() {
... |
src/Tests/TextFixture/DataMapperWindsorTest.cs | smartjun/Castle.Facilities.IBatisNet | 5 | 7052148 | <filename>src/Tests/TextFixture/DataMapperWindsorTest.cs
using Castle.Windsor;
using Castle.Windsor.Configuration.Interpreters;
using NUnit.Framework;
namespace Tests
{
/// <summary>
/// DataMapper test class, create instance by Windsor container.
/// </summary>
[TestFixture]
public class DataMap... |
src/DulcisX/DulcisX/Core/Components/InfoBar/ResultInfoBarEvents.cs | TwentyFourMinutes/DulcisX | 13 | 7052149 | using Microsoft.VisualStudio.Shell.Interop;
using System;
namespace DulcisX.Core
{
internal class ResultInfoBarEvents<TIdentifier> : BaseInfoBarEvents
{
internal event Action<TIdentifier> OnInfoBarResult;
internal ResultInfoBarEvents(InfoBar infoBar, IVsInfoBarUIElement uiElement) : base(info... |
ch09/DesignPatternsSample/FactorySample/ConcreteCreator/PaymentServiceCreator.cs | PacktPublishing/Hands-On-Software-Architecture-with-C-8 | 47 | 7052150 | using DesignPatternsSample.FactorySample.ConcreteProduct;
using DesignPatternsSample.FactorySample.CreatorInterface;
using DesignPatternsSample.FactorySample.ProductInterface;
using System;
using System.Collections.Generic;
using System.Text;
namespace DesignPatternsSample.FactorySample.ConcreteCreator
{
pub... |
OpenGL-Gravity-Simulation/Program.cs | RianBergen/OpenGL-Gravity-Simulation | 0 | 7052151 | using System;
namespace OpenGL_Gravity_Simulation
{
public class Program
{
static void Main(string[] args)
{
// Start and Run the
Rendering.OpenGLWindow application = new Rendering.OpenGLWindow("OpenGLGravity Simulation", 1280, 720, false);
application.Run... |
src/ConsulExec/Infrastructure/DictionaryExtensions.cs | spirit11/consulexec | 0 | 7052153 | <filename>src/ConsulExec/Infrastructure/DictionaryExtensions.cs
using System;
using System.Collections.Generic;
namespace ConsulExec.Infrastructure
{
public static class DictionaryExtensions
{
public static T GetOrAdd<TK, T>(this IDictionary<TK, T> Dictionary, TK Key)
where T : new() => Di... |
LibraryMVC/Views/CourseGuide/EditGuide.cshtml | CoderESalazar/schoolibrary | 1 | 7052155 | @model IEnumerable<LibraryMVC4.Models.guides>
@{
ViewBag.Title = "EditGuide";
Layout = "~/Views/Shared/_adminTemplate.cshtml";
}
@Html.ActionLink("Return to Course Admin Table", "admin", "courseguide")
<h2>Edit Course Guide</h2>
<input type="hidden" value="@ViewBag.headerId" id="HeaderId" />
@foreach (var... |
ProjektBerlin/Assets/Scripts/BaseManager.cs | JSybrandt/ProjektBerlin | 1 | 7052156 | <filename>ProjektBerlin/Assets/Scripts/BaseManager.cs
using UnityEngine;
using System.Collections;
public class BaseManager : MonoBehaviour {
//Added lights for showing targeted.
private GameObject myLight;
[HideInInspector]
public Light lightPiece;
public int maxHealth = 100;
public int currentHealth;
[... |
src/JoinRpg.Portal/Views/Account/RegisterSuccess.cshtml | joinrpg/joinrpg-ne | 22 | 7052157 | <gh_stars>10-100
@model dynamic
@{
ViewBag.Title = "Регистрация успешна";
}
<h2>@ViewBag.Title</h2>
<p>Остался всего один клик! Проверьте свою почту, там лежит письмо от нас с просьбой подтвердить email.</p>
|
src/WordCounter.Wpf/NativeMethods.cs | nikita-sharov/word-counter | 0 | 7052158 | <reponame>nikita-sharov/word-counter
using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Interop;
namespace WordCounter.Wpf
{
[SuppressMessage(
"Security", "CA5392:Use DefaultDllImportSearchPaths attribute for P/Invokes",
... |
linux-distro/package/nuxleus/Source/Vendor/ALAZ/Source/ALAZ.SystemEx.NetEx/SocketsEx/SocketClientSync.cs | mdavid/nuxleus | 1 | 7052159 | /* ====================================================================
* Copyright (c) 2007 <NAME> (<EMAIL>)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
... |
NAXB.VtdXml/VtdXmlData.cs | Ei8htSe7en/NAXB | 2 | 7052160 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NAXB.Interfaces;
using com.ximpleware;
using com.ximpleware.xpath;
using System.IO;
namespace NAXB.VtdXml
{
public class VtdXmlData : IXmlData
{
private VTDNav nav;
private byte[] byteArray;
pri... |
src/CMS/CMSWebParts/Membership/Registration/CustomRegistrationForm.ascx.designer.cs | JFouts-BlueModus/kentico-contrib | 1 | 7052161 | //------------------------------------------------------------------------------
// <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>
//---------------------------------... |
test/Abp.AspNetCore.Tests/Tests/DateTimeModelBinder_Tests.cs | yshbchenlie/aspnetboilerplate | 0 | 7052162 | <reponame>yshbchenlie/aspnetboilerplate<filename>test/Abp.AspNetCore.Tests/Tests/DateTimeModelBinder_Tests.cs
using System;
using System.Net;
using System.Threading.Tasks;
using Abp.AspNetCore.App.Controllers;
using Abp.AspNetCore.App.Models;
using Abp.Timing;
using Abp.Web.Models;
using Shouldly;
using Xunit;
namesp... |
src/activities/Elsa.Activities.AzureServiceBus/Startup.cs | martinhjulstrom/elsa-core | 2 | 7052163 | <filename>src/activities/Elsa.Activities.AzureServiceBus/Startup.cs
using Elsa.Activities.AzureServiceBus.Extensions;
using Elsa.Attributes;
using Elsa.Options;
using Elsa.Services.Startup;
using Microsoft.Extensions.Configuration;
namespace Elsa.Activities.AzureServiceBus
{
[Feature("Azure:ServiceBus")]
publi... |
MediaKit/MediaKit.Animations/Abstractions/AnimationBase.cs | vasylmosiiuk/XForms.MediaKit | 2 | 7052164 | using System;
using MediaKit.Core;
using MediaKit.Core.Extensions;
using Xamarin.Forms;
namespace MediaKit.Animations.Abstractions
{
/// <summary>
/// Base class for MediaKit built-in animations, you may use it as a base for your custom animations.
/// </summary>
/// <typeparam name="TState">The t... |
test/Detached.Mappers.Tests/Mapping/MultipleManyToManyTests.cs | leonardoporro/Detached-Mapper | 28 | 7052165 | using Detached.Annotations;
using Detached.Mappers.Context;
using System.Collections.Generic;
using Xunit;
namespace Detached.Mappers.Tests.Mapping
{
public class MultipleManyToManyTests
{
readonly Mapper mapper = new Mapper();
[Fact]
public void MapMultipleManyToMany()
{
... |
Venus/Usb/DeviceCapabilities.cs | srushti/azazel | 2 | 7052166 | <reponame>srushti/azazel<gh_stars>1-10
// UsbEject version 1.0 March 2006
// written by <NAME> <email: simon [underscore] mourier [at] hotmail [dot] com>
using System;
namespace Venus.Usb {
/// <summary>
/// Contains constants for determining devices capabilities.
/// This enumeration has a FlagsA... |
Assets/Scripts/UI/GrabbedDrinkDisplay.cs | FortWorthGameDev/MayByMoonlight | 2 | 7052167 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class GrabbedDrinkDisplay : MonoBehaviour {
public GameObject scoreDisplayPrefab;
public GameObject tipDisplayPrefab;
public GameObject satisfactionHeartsPrefab;
public void AssignScore(DrinkS... |
Src/Witsml/Data/WitsmlMessage.cs | HakonHesselberg/witsml-explorer | 20 | 7052169 | using System.Xml.Serialization;
namespace Witsml.Data
{
[XmlRoot]
public class WitsmlMessage
{
[XmlAttribute("uidWell")]
public string UidWell { get; set; }
[XmlAttribute("uidWellbore")]
public string UidWellbore { get; set; }
[XmlAttribute("uid")]
public str... |
Assets/OBJImport/OBJLoaderHelper.cs | VidarUre/MeshToSvgConverter | 8 | 7052170 | using System.Globalization;
using UnityEngine;
public static class OBJLoaderHelper {
/// <summary>
/// Enables transparency mode on standard materials
/// </summary>
public static void EnableMaterialTransparency(Material mtl)
{
mtl.SetFloat("_Mode", 3f);
mtl.SetInt("_SrcBlend", (i... |
src/csharp/Intel/Iced/Intel/BlockEncoderInternal/CodeWriterImpl.cs | clayne/iced | 1,018 | 7052171 | <reponame>clayne/iced
// SPDX-License-Identifier: MIT
// Copyright (C) 2018-present iced project and contributors
#if ENCODER && BLOCK_ENCODER
namespace Iced.Intel.BlockEncoderInternal {
sealed class CodeWriterImpl : CodeWriter {
public uint BytesWritten;
readonly CodeWriter codeWriter;
public CodeWriterImpl(C... |
src/Domain/Exceptions/InvalidTimePeriodException.cs | pedroafsouza/taxes | 0 | 7052172 | using System;
using Taxes.Domain.Enums;
namespace Taxes.Domain.Exceptions
{
public class InvalidTimePeriodException : Exception
{
public InvalidTimePeriodException(TimePeriod timePeriod)
: base($"Invalid time period {timePeriod}.")
{
}
}
}
|
DigitalLearningSolutions.Web/Views/TrackingSystem/Centre/Shared/_CentreSideNavMenu.cshtml | TechnologyEnhancedLearning/DLSV2 | 2 | 7052173 | <reponame>TechnologyEnhancedLearning/DLSV2<gh_stars>1-10
@using DigitalLearningSolutions.Web.Helpers
@using DigitalLearningSolutions.Web.Models.Enums
@using Microsoft.Extensions.Configuration
@inject IConfiguration Configuration
@model CentrePage
<h2 class="side-nav__heading">Centre</h2>
<ul class="nhsuk-list ... |
src/Heartbeat.WinUI/App.xaml.cs | Ne4to/Heartbeat | 1 | 7052174 | using Heartbeat.ServiceClient;
using Heartbeat.WinUI.ViewModels;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.UI.Xaml;
// To learn more about WinUI, the WinUI project structure,
// and more about our project templates, see: http://aka.ms/winui-project-info.
namespace Heartbeat.WinUI
{
/// <su... |
Assets/Scripts/Barrage/Bullet/SplitBullet.cs | kotuakoutyan/3DBarrageSample | 1 | 7052176 | using Barrage.Iterators;
using Barrage.ObjectPool;
using Barrage.Shot;
using UnityEngine;
namespace Barrage.Bullet
{
public class SplitBullet : BaseBullet
{
protected override void AdditionalUpdate(){ }
protected override void ResetObject()
{
if (Data.SplitData != ... |
src/BolfTracker.Web/ViewModels/HolesViewModel.cs | mkchandler/bolf-tracker-mvc | 0 | 7052177 | using System;
using System.Collections.Generic;
using BolfTracker.Models;
namespace BolfTracker.Web
{
public class HolesViewModel
{
public HolesViewModel(int month, int year, IEnumerable<HoleStatistics> monthHoleStatistics, IEnumerable<HoleStatistics> lifetimeHoleStatistics)
{
... |
dotnet/az-function-app/ProcessOrderDurable/SimulateManagerApprovalHttpTrigger.cs | michaelringholm/azure | 0 | 7052178 | <reponame>michaelringholm/azure
using System;
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 Newtonsoft.Json;
using com.opusmagus.bl;
u... |
plugins/dotnet/robocode.dotnet.content/src/main/resources/libs/control/Program.cs | DarioRomano/robocode | 0 | 7052179 | /**
* Copyright (c) 2001-2018 <NAME> and Robocode contributors
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* https://robocode.sourceforge.io/license/epl-v10... |
Generic Tools/Microsoft Message Queuing Testing Tool/MessageQueuingTool/Form1.Designer.cs | alessandromoura/BizTalk-Server-Community-Extensions-Utility-Packs | 7 | 7052180 | <reponame>alessandromoura/BizTalk-Server-Community-Extensions-Utility-Packs
namespace MessageQueuingTool
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
... |
src/Plainion.WhiteBoard/Commands.cs | plainionist/Plainion.Whiteboard | 1 | 7052181 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace Plainion.WhiteBoard
{
class Commands
{
public static RoutedCommand DiscardAndClose = new RoutedCommand();
public static RoutedCo... |
Server/ModelStateExtension.cs | VGib/Blazor.Startechmanager | 1 | 7052182 | using Microsoft.AspNetCore.Mvc.ModelBinding;
using System;
using System.Linq;
using System.Text;
namespace Blazor.Startechmanager.Server
{
public static class ModelStateExtension
{
public static string GetNonValidationErrorMessage(this ModelStateDictionary modelState)
{
var string... |
src/motorcycle_sales.Core/Entities/ApplcationUser.cs | AydzhanAhmedov/motorcycle_sales | 0 | 7052183 | <reponame>AydzhanAhmedov/motorcycle_sales<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using motorcycle_sales.Core.Entities.AdvertisementAggregate;
namespace motorcycle_sales.Core.Entities;
public c... |
Adf/ICreater.cs | aooshi/adf | 0 | 7052184 | using System;
namespace Adf
{
/// <summary>
/// object creater
/// </summary>
/// <typeparam name="T"></typeparam>
public interface ICreater<T>
{
/// <summary>
/// create new object
/// </summary>
/// <returns></returns>
T Create();
}
}
|
Assets/Scripts/TwoPlayerRegister.cs | JojuGeorge/Oblivion | 0 | 7052185 | <reponame>JojuGeorge/Oblivion
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TwoPlayerRegister : MonoBehaviour
{
string createUserURL = "http://localhost/oblivion_user_data/register.php";
public InputField inputUsername1;
public InputFiel... |
NetGenQueueServicePluginInterface/IPlugin.cs | vparonov/NGQS | 0 | 7052186 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace NetGenQueueService
{
public interface IPlugin
{
void Init(string instanceAliasName, int instanceID, string[] args, Dictionary<string, string> settings);
void Start(Cancellati... |
FamiStudio/Source/UI/Common/GLGraphicsBase.cs | beetrootpaul/FamiStudio | 2 | 7052187 | using System;
using System.Drawing;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using Color = System.Drawing.Color;
#if FAMISTUDIO_ANDROID
using Android.Opengl;
using Bitmap = Android.Graphics.Bitmap;
#else
using OpenTK;
using OpenTK.Graphics.OpenGL;
#if FAMISTUDIO_WIND... |
ShoppingCart.Data/Infrastructure/Interfaces/IOrderRepository.cs | BuddhikaDhananjaya/ShoppingCart | 0 | 7052188 | <reponame>BuddhikaDhananjaya/ShoppingCart<filename>ShoppingCart.Data/Infrastructure/Interfaces/IOrderRepository.cs
using ShoppingCart.Data.Models;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace ShoppingCart.Data.Infrastructure.Interfaces
{
public interface I... |
PowerLib.System/Collections/List/PwrReadOnlyListBase'2.cs | vaseug/PowerLib | 1 | 7052190 | using System;
using System.Collections;
using System.Collections.Generic;
namespace PowerLib.System.Collections
{
/// <summary>
///
/// </summary>
/// <typeparam name="S">Type of store item.</typeparam>
/// <typeparam name="T">Type of view item.</typeparam>
public abstract class PwrReadOnlyListBase<S, T> : Pw... |
CommonFormsAndControls/MultiSelectTreeView.cs | patridge/Gum | 0 | 7052191 | using System;
using System.Timers;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
namespace CommonFormsAndControls
{
public class MultiSelectTreeView : TreeView, IEnumerable<TreeNode>
{
#region Fields
private Dictionary<TreeNode, Color> mOriginalColor... |
src/RayCarrot.Ray1Editor/Editor/Element/EditorElement.cs | RayCarrot/RayCarrot.Ray1Editor | 5 | 7052192 | namespace RayCarrot.Ray1Editor;
/// <summary>
/// A base editor element
/// </summary>
public abstract class EditorElement
{
/// <summary>
/// The editor state
/// </summary>
public EditorSceneViewModel ViewModel { get; set; }
/// <summary>
/// The editor camera
/// </summary>
... |
Assets/Scripts/Systems/Enemy/EnemyDriverSystem.cs | simeonradivoev/2D-Platformer | 1 | 7052193 | using DefaultNamespace;
using DefaultNamespace.Navigation;
using Polycrime;
using System;
using Unity.Entities;
using UnityEngine;
using Zenject;
[UpdateInGroup(typeof(PresentationSystemGroup)), UpdateBefore(typeof(ActorAnimationEventResetSystem))]
public class EnemyDriverSystem : InjectableComponentSystem
{
[Serial... |
EmployeePortal/Views/Employees/BuildSystem.cshtml | rajeeshmenoth/aspnet-mvc | 0 | 7052194 | @model Int32?
@{
ViewBag.Title = "BuildSystem";
}
<h2>Build System</h2>
<style>
input[type=radio] {
border: 0px;
width: 100%;
height: 1em;
}
</style>
@using (Html.BeginForm("BuildSystem", "Employees", FormMethod.Post))
{
@Html.AntiForgeryToken()
<div class="form-horizontal"... |
src/Exline.Notifier/FirebaseCloudMessageServiceConfig.cs | Exlinetr/Exline.Notifier | 0 | 7052195 | namespace Exline.Notifier
{
public class FirebaseCloudMessageServiceConfig : ServiceConfig
{
public FirebaseCloudMessageServiceConfig(string apiKey, string senderId)
{
ApiKey = apiKey;
SenrderId = senderId;
}
public string ApiKey { get; set; }
publ... |
ADLCore/Video/Extractors/HAnime.cs | ShujianDou/anime-dl | 0 | 7052196 | <reponame>ShujianDou/anime-dl
using ADLCore.Alert;
using ADLCore.Ext;
using ADLCore.Novels.Models;
using ADLCore.Video.Constructs;
using System;
using System.IO;
using System.Linq;
using System.Net;
using System.Text.Json;
using System.Text.RegularExpressions;
namespace ADLCore.Video.Extractors
{
public class HAn... |
samples/BusinessLight.PhoneBook.Mvc/Extensions/HtmlExtensions.cs | RudyYang/BusinessLight | 1 | 7052197 | <filename>samples/BusinessLight.PhoneBook.Mvc/Extensions/HtmlExtensions.cs
using System.Web.Mvc;
using System.Web.Mvc.Html;
using BusinessLight.Dto;
using BusinessLight.PhoneBook.Mvc.ViewModels;
namespace BusinessLight.PhoneBook.Mvc.Extensions
{
public static class HtmlExtensions
{
public static MvcHt... |
Assets/Scripts/Core/Utils/IHistory.cs | francescozoccheddu/VGD | 0 | 7052198 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
namespace Wheeled.Core.Utils
{
public interface IReadOnlyHistory<TTime, TValue> : IReadOnlySimpleHistory<HistoryNode<TTime, TValue>, TTime> where TTime : struct, IComparable<TTime>
{
}
public interface IHistory<TTime, TVal... |
TokanPages.Backend/TokanPages.Backend.Cqrs/Handlers/Commands/Users/AuthenticateUserCommand.cs | TomaszKandula/TokanPages | 2 | 7052199 | namespace TokanPages.Backend.Cqrs.Handlers.Commands.Users
{
using MediatR;
public class AuthenticateUserCommand : IRequest<AuthenticateUserCommandResult>
{
public string EmailAddress { get; set; }
public string Password { get; set; }
}
} |
Game.API/GameAPI/GameAPI/Data/TowersDefenseRepository.cs | fr0stylo/DesginPatterns2018 | 0 | 7052200 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using GameAPI.Models;
using Microsoft.EntityFrameworkCore;
namespace GameAPI.Data
{
public class TowersDefenseRepository : ITowersDefenseRepository
{
private readonly DataContext _context;
public T... |
csharp/ql/test/resources/stubs/_frameworks/Microsoft.AspNetCore.App/Microsoft.Extensions.FileSystemGlobbing.cs | timoles/codeql | 4,036 | 7052201 | <gh_stars>1000+
// This file contains auto-generated code.
namespace Microsoft
{
namespace Extensions
{
namespace FileSystemGlobbing
{
// Generated from `Microsoft.Extensions.FileSystemGlobbing.FilePatternMatch` in `Microsoft.Extensions.FileSystemGlobbing, Version=5.0.0.0, Culture=n... |
OPS.API/Controllers/InicioController.cs | VanderleiDenir/operacao-politica-supervisionada | 0 | 7052202 | <filename>OPS.API/Controllers/InicioController.cs
using Microsoft.AspNetCore.Mvc;
using OPS.Core.DAO;
using System.Threading.Tasks;
namespace OPS.API.Controllers
{
[ApiController]
[Route("[controller]")]
// [CacheOutput(ServerTimeSpan = 43200 /* 12h */)]
public class InicioController : Controller
... |
TwitchLeecher/TwitchLeecher.Core/Models/Preferences.cs | michaelzs1994/TwitchLeecher | 3 | 7052203 | <reponame>michaelzs1994/TwitchLeecher
using System;
using TwitchLeecher.Core.Enums;
using TwitchLeecher.Shared.IO;
using TwitchLeecher.Shared.Notification;
namespace TwitchLeecher.Core.Models
{
public class Preferences : BindableBase
{
#region Fields
private Version _version;
private... |
FunctionApp3/Function3.cs | DanielLarsenNZ/Functions-Timeouts | 0 | 7052204 | using FunctionsTimeoutsCommon;
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.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System... |
Assets/SC Post Effects/Effects/Blur/Editor/BlurEditor.cs | WalterAHulsebos/Pockets | 1 | 7052205 | <reponame>WalterAHulsebos/Pockets<filename>Assets/SC Post Effects/Effects/Blur/Editor/BlurEditor.cs<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
#if SCPE
using UnityEngine.Rendering.PostProcessing;
using UnityEditor.Rendering.PostProcessing;
#endif
namespace SCPE
{
#if ... |
Source/Mosa.Compiler.Extension.Dwarf/DwarfDefinitions.cs | kthompson/MOSA-Project | 0 | 7052206 | // Copyright (c) MOSA Project. Licensed under the New BSD License.
using System.Collections.Generic;
namespace Mosa.Compiler.Extensions.Dwarf
{
public static class DwarfConstants
{
public static byte DW_CHILDREN_no = 0;
public static byte DW_CHILDREN_yes = 1;
// Custom helper for better reading:
public st... |
Web.Tests/Competence/Domain/ChartManager_SearchTest.cs | synergy-software/competence-mentor | 0 | 7052207 | <reponame>synergy-software/competence-mentor
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Model.Competence.Domain;
namespace Web.Tests.Competence.Domain
{
[TestClass]
public class C... |
SolutionConfigurationName/UpdateSolutionEvents.cs | mostafa901/SolutionConfigurationName | 12 | 7052208 | // Copyright (c) 2013-2014 <NAME>
// This file is subject to the MIT license
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.Shell.Interop;
using Microsoft.VisualStudio;
using EnvDTE80;
using Microsoft.Build.Evaluation;
namespace SolutionConfiguratio... |
src/GrantFief/GrantFiefAction.cs | ToCheckOn/Bannerlord.Diplomacy | 0 | 7052209 | using Diplomacy.Character;
using Diplomacy.Event;
using Diplomacy.Extensions;
using System;
using System.Linq;
using TaleWorlds.CampaignSystem;
using TaleWorlds.CampaignSystem.Actions;
using TaleWorlds.Localization;
namespace Diplomacy.GrantFief
{
internal sealed class GrantFiefAction
{
public static ... |
aspnet-core/src/FMS.Core/Identity/IdentityRegistrar.cs | Watapapz/FMS | 0 | 7052210 | using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.DependencyInjection;
using FMS.Authorization;
using FMS.Authorization.Roles;
using FMS.Authorization.Users;
using FMS.Editions;
using FMS.MultiTenancy;
namespace FMS.Identity
{
public static class IdentityRegistrar
{
public static Identit... |
src/Gremlin.Net.CosmosDb/Serialization/IVertexConnector.cs | vemuripavan/Gremlin.Net.CosmosDb | 0 | 7052211 | <gh_stars>0
using Gremlin.Net.CosmosDb.Structure;
namespace Gremlin.Net.CosmosDb.Serialization
{
/// <summary>
/// A connector for <see cref="IVertex"/>. Can connect a <see cref="IVertex"/> to an <see cref="IEdge"/>.
/// </summary>
public interface IVertexConnector : ITreeConnector
{
/// <... |
Trowel.Providers/Model/Mdl10/MdlModelProvider.cs | mattiascibien/trowel | 2 | 7052212 | <reponame>mattiascibien/trowel
using Trowel.FileSystem;
using Trowel.Providers.Model.Mdl10.Format;
using Trowel.Rendering.Interfaces;
using System.ComponentModel.Composition;
using System.Threading.Tasks;
namespace Trowel.Providers.Model.Mdl10
{
[Export(typeof(IModelProvider))]
public class MdlModelProvider :... |
Assets/Tobii/Framework/Internal/Interop.cs | hamtol2/Tobii_Unity_Test | 1 | 7052213 | <filename>Assets/Tobii/Framework/Internal/Interop.cs
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace Tobii.GameIntegration
{
public static class Interop
{
public const string TobiiGameIntegrationCoreExtensionDll = "Tobii.GameIntegration.dll";
private const int Bu... |
datatierplugin/tests/EfPluginTests/PersistenceMigratorRequestExtensionsTests.cs | apprenda/ApplicationSamples | 0 | 7052214 | using System.Data.SqlClient;
using Apprenda.API.Persistence;
using Apprenda.EFPlugin;
using Xunit;
namespace Apprenda.EFPluginTests
{
public class PersistenceMigratorRequestExtensionsTests
{
private const string AppAlias = "app";
private const string VerAlias = "vN";
private const stri... |
FeedSleepRepeatUI/FeedSleepRepeat.cs | jonboland/FeedSleepRepeat | 0 | 7052215 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using FeedSleepRepeatLibrary;
using Microsoft.Extensions.Logging;
namespace FeedSleepRepeatUI
{
public partial class FeedForm : Form
{
private readonly ILogger logger;
private readonly IFeedSleepRepe... |
src/Vista.Controllers.ScreenMaster3.MessageQueue/Messages/JoystickActionMessage.cs | dsmithson/Vista.Controllers.ScreenMaster3.MessageQueue | 0 | 7052216 | <filename>src/Vista.Controllers.ScreenMaster3.MessageQueue/Messages/JoystickActionMessage.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json.Serialization;
namespace Vista.Controllers.ScreenMaster3.MessageQueue.Messages
{
public class JoystickActionMessage
... |
TA.NexDome.DeviceInterface/StateMachine/Shutter/ShutterStateBase.cs | ghilios/ASCOM | 0 | 7052217 | // This file is part of the TA.NexDome.AscomServer project
// Copyright © 2019-2019 Tigra Astronomy, all rights reserved.
namespace TA.NexDome.DeviceInterface.StateMachine.Shutter
{
using System;
using System.Threading;
using System.Threading.Tasks;
using NLog.Fluent;
using TA.NexDome.Shared... |
JobTrackingProject.DataAccess/Concrete/EntitiyFrameworkCore/Mapping/AppUserMap.cs | enesaliovur/JobTrackingProject | 0 | 7052218 | using JobTrackingProject.Entities.Concrete;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Text;
namespace JobTrackingProject.DataAccess.Concrete.EntitiyFrameworkCore.Mapping
{
public class AppUserMap : IEnti... |
nagasenacs/fixture/Nagasena/Scomp/EXISchemaFactoryTestUtilContext.cs | LLuke/openexi | 0 | 7052219 | <gh_stars>0
using System.Text;
namespace Nagasena.Scomp {
public class EXISchemaFactoryTestUtilContext {
internal EXISchemaFactoryTestUtilContext() {
this.stringBuilder = new StringBuilder();
this.schemaReader = null;
}
internal EXISchemaFactoryTestUtilContext(StringBuilder str... |
LeeVox.Sdk/Security/Base32.cs | LeeVox/sdk | 4 | 7052220 | using System;
using System.Collections.Generic;
using System.Linq;
namespace LeeVox.Sdk
{
public static class Base32
{
private static readonly char PaddingChar = '=';
private static readonly char[] Base32LowerCaseChars = Enumerable.Concat(GetCharsRange('a', 'z'), GetCharsRange('2', '7')).ToArra... |
src/Count4U.Model.ServiceContract/Count4U/DocumentHeader/DocumentHeaderString.cs | parad74/Count4U.Service.5 | 0 | 7052221 | <gh_stars>0
using System;
//using Count4U.Model.Interface.Count4U;
namespace Count4U.Model.Count4U
{
public class DocumentHeaderString
{
public string Name { get; set; }
public string Approve { get; set; }
public string Code { get; set; }
public string DocumentCode { get; set; }
//public string Itur { get... |
DefiningClasses/SpeedRacing/Car.cs | varbanov88/SoftUniOOP | 0 | 7052222 | using System;
public class Car
{
private string model;
private double fuelAmout;
private double fuelConsumption;
private int distaceTravelled;
public string Model
{
get
{
return this.model;
}
set
{
this.model = value;
}
... |
src/MtgProject.BL/DTOs/Decks/DeckListDto.cs | ondraslim/mtg-project | 0 | 7052223 | <filename>src/MtgProject.BL/DTOs/Decks/DeckListDto.cs
using BusinessLayer.DTOs.Common;
namespace BusinessLayer.DTOs.Decks
{
public class DeckListDto : BaseDto
{
public string Name { get; set; }
}
} |
Broccoli/CauliflowerBuiltins.cs | broccoli-lang/broccoli | 6 | 7052224 | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text;
// TODO: test "." and "->" and "import"
// TODO: finish "namespace" function & maybe various OOP things
// TODO: try catch
n... |
Quadruped.WebInterface/VideoStreaming/StreamerConfig.cs | dmweis/DynamixelServo | 4 | 7052225 | using System;
namespace Quadruped.WebInterface.VideoStreaming
{
public class StreamerConfig : IEquatable<StreamerConfig>
{
public bool ControllerOn { get; set; } = true;
public int ImageQuality { get; set; } = 85;
public int HorizontalResolution { get; set; } = 800;
public int ... |
src/System.Net.Primitives/tests/PerformanceTests/CredentialCacheTests.cs | vkvenkat/corefx | 15 | 7052226 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.Xunit.Performance;
using Xunit;
namespace System.Net.Primitives.Tests
{
public static class Cre... |
Sources/Assets/Plugin/2D/Scripts/UniBox2D_SmoothFollowingCamera.cs | EPIKorial/UniBox2D | 0 | 7052227 | <gh_stars>0
using UnityEngine;
using System.Collections;
public class UniBox2D_SmoothFollowingCamera : MonoBehaviour {
public GameObject player;
/// <summary>
/// Smooth following Camera
///
/// </summary>
void Update () {
if (GameObject.Find("Player(Clone)") && !player)
player... |
src/core/Elsa.Abstractions/Services/Compensation/ICompensationService.cs | matt4446/elsa-core | 1 | 7052228 | using System;
using Elsa.Services.Models;
namespace Elsa.Services.Compensation;
public interface ICompensationService
{
/// <summary>
/// Attempts to invoke any compensation activity in the inbound trajectory of the faulting activity.
/// </summary>
void Compensate(ActivityExecutionContext activityExe... |
Database/Synergy.NHibernate/Repositories/Repository.cs | JTOne123/synergy.framework | 11 | 7052229 | using JetBrains.Annotations;
using NHibernate;
using Synergy.Contracts;
using Synergy.NHibernate.Engine;
namespace Synergy.NHibernate.Repositories
{
// TODO:mace (from:mace on:08-11-2016) add ReadoOnlyRepository with StatelesSession
// TODO:mace (from:mace on:06-12-2017) rename Repository<T> na DatabaseRepo... |
Code/Sif3Framework/Sif.Framework/Service/Serialisation/XmlSerialiser.cs | MVanderkley/sif3-framework-dotnet | 9 | 7052230 | <gh_stars>1-10
/*
* Copyright 2020 Systemic Pty Ltd
*
* 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 applica... |
Nabaztag.Server/Models/EventNotification.cs | Ellerbach/Nabaztag.Net | 11 | 7052231 | <filename>Nabaztag.Server/Models/EventNotification.cs
using Nabaztag.Net.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
namespace Nabaztag.Server.Models
{
internal class EventNotification
{
public Ev... |
test/DbFramework/UnitTests/DbReaderTests/GetBoolean.cs | christoff85/DbFramework | 2 | 7052232 | <reponame>christoff85/DbFramework
using System.Data;
using DbFramework.Interfaces;
using NSubstitute;
using NUnit.Framework;
namespace DbFramework.Tests.UnitTests.DbReaderTests
{
[TestFixture]
public class GetBoolean
{
private readonly string _columnName = "myName";
private readonly int _columnIndex = 0;
pri... |
Improbable/Postgres/Improbable.Postgres/NpqSqlLogging.cs | improbable/csharp_worker_template | 11 | 7052233 | <reponame>improbable/csharp_worker_template
using System;
using Npgsql.Logging;
using Serilog;
using Serilog.Events;
namespace Improbable.Postgres
{
public class SerilogNpgqslLoggingProvider : INpgsqlLoggingProvider
{
private readonly NpgsqlLogLevel minLevel;
public SerilogNpgqslLoggingProvide... |
src/Examine/SearchResult.cs | bielu/Examine | 246 | 7052234 | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
namespace Examine
{
public class SearchResult : ISearchResult
{
private OrderedDictionary<string, string> _fields;
private readonly Lazy<OrderedDictionary<string, IReadOn... |
Assets/Bitsy/IRenderSurface.cs | lordofduct/BitsySharp | 8 | 7052235 | <gh_stars>1-10
using System;
using System.Collections.Generic;
namespace SPBitsy
{
/// <summary>
/// Represents a drawable surface.
///
/// We draw from (0,0) being the top left corner.
/// </summary>
public interface IRenderSurface
{
void SetPixel(BitsyGame.Color color,... |
Rover - Emotiv/Rover/Main.cs | Horopter/Network_Embedded_Applications-2018 | 0 | 7052236 | <reponame>Horopter/Network_Embedded_Applications-2018<filename>Rover - Emotiv/Rover/Main.cs
using Newtonsoft.Json.Linq;
using System;
using System.IO.Ports;
using System.Threading;
using System.Windows.Forms;
using WebSocket4Net;
namespace EmotivApI
{
public partial class Main : Form
{
const string ... |
src/Nyx.Framework.Tests/PyxisKeyTests.cs | georgevella/Nyx | 0 | 7052237 | using FluentAssertions;
using Nyx.Composition;
using Nyx.Tests.Stubs;
using Xunit;
namespace Nyx.Tests
{
public class PyxisKeyTests
{
[Fact]
public void DifferentObjectsWithSameValuesShouldBeEqual()
{
var key1 = new ServiceKey(typeof(IStub));
var key2 = new Serv... |
src/Tfvc2Git.Core/Repositories/TfvcRepository.cs | Fred-Jacobs/tfvc-2-git | 0 | 7052238 | <filename>src/Tfvc2Git.Core/Repositories/TfvcRepository.cs
using System;
using System.IO;
using System.Linq;
using Microsoft.TeamFoundation.Client;
using Microsoft.TeamFoundation.Server;
using Microsoft.TeamFoundation.VersionControl.Client;
using Serilog;
using Tfvc2Git.Core.Extensions;
using Tfvc2Git.Core.Infrastruct... |
Utilities/ScriptProvider.cs | SebastianCramer/SqlObjectCopy | 0 | 7052239 | <reponame>SebastianCramer/SqlObjectCopy<filename>Utilities/ScriptProvider.cs<gh_stars>0
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using SqlObjectCopy.Configuration;
using SqlObjectCopy.Contexts;
using System;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices... |
src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOpenAppAppcontentFunctionQueryResponse.cs | LuohuaRain/payment | 0 | 7052240 | <filename>src/Essensoft.AspNetCore.Payment.Alipay/Response/AlipayOpenAppAppcontentFunctionQueryResponse.cs<gh_stars>0
using System.Collections.Generic;
using System.Text.Json.Serialization;
using Essensoft.AspNetCore.Payment.Alipay.Domain;
namespace Essensoft.AspNetCore.Payment.Alipay.Response
{
/// <summary>
... |
examples/WebAppExample/Services/IWeatherForecastProvider.cs | PackSite/Library.Logging | 0 | 7052241 | <reponame>PackSite/Library.Logging<gh_stars>0
namespace WebAppExample.Services
{
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using WebAppExample.Models;
public interface IWeatherForecastProvider
{
Task<IReadOnlyCollection<WeatherForecast>> Ge... |
src/Discord.Net.Commands/CommandService.Events.cs | jhgg/Discord.Net | 1 | 7052242 | using System;
namespace Discord.Commands
{
public class CommandEventArgs
{
private readonly string[] _args;
public Message Message { get; }
public Command Command { get; }
public User User => Message.User;
public Channel Channel => Message.Channel;
public Server Server => Message.Channel.Server;
... |
Astro.Celestia/src/Stars/Star.Catalogue.Hipparcos.index89.cs | qkmaxware/Astro.Celestia | 0 | 7052243 | <reponame>qkmaxware/Astro.Celestia<gh_stars>0
using System;
using System.Linq;
using System.Collections.Generic;
using Qkmaxware.Astro.Coordinates;
using Qkmaxware.Measurement;
namespace Qkmaxware.Astro.Celestia {
public static partial class StarCatalogue {
private static void _addHipparcos_89() {
_Hipparcos.Add(... |
Source/Gapotchenko.FX.Math.Topology/GraphEdgeExtensions.cs | kevingosse/Gapotchenko.FX | 0 | 7052244 | using System;
using System.Collections.Generic;
using System.ComponentModel;
namespace Gapotchenko.FX.Math.Topology
{
/// <summary>
/// Extensions for <see cref="GraphEdge{TVertex}"/> struct.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public static class GraphEdgeExtensions
{... |
src/Discussion.Web/ViewModels/ForgotPasswordModel.cs | Unlonlyness/dotnetclub | 156 | 7052245 | <gh_stars>100-1000
using System.ComponentModel.DataAnnotations;
namespace Discussion.Web.ViewModels
{
public class ForgotPasswordModel
{
[Required(ErrorMessage = "必须填写用户名或邮箱")]
public string UsernameOrEmail { get; set; }
}
}
|
Mayope.Meta.File/MetaNode.cs | zorac/mayope-dotnet | 0 | 7052246 | using System;
using Mayope.Core;
namespace Mayope.Meta.File
{
/// <summary>
/// A node in a Myaope schema.
/// </summary>
internal abstract class MetaNode : INode
{
public Guid Uuid { get; set; }
public string Id { get; set; }
public string Name { get; set; }
pub... |
IntegrationTests/ComponentBasedSoftwareArchitectures/Stoex/RandomVariable.cs | NMFCode/NMF | 35 | 7052247 | //------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generi... |
src/Yardarm/Enrichment/Schema/Internal/SchemaBaseTypeRegistry.cs | gitter-badger/Yardarm | 2 | 7052248 | <reponame>gitter-badger/Yardarm
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.OpenApi.Models;
using Yardarm.Helpers;
using Yardarm.Spec;
namespace Yardarm.Enrichment.Schema.Internal
{
internal class SchemaBaseT... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.