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/UnicornHack.Core/Data/Creatures/Lemure.cs | AndriySvyryd/UnicornHack | 56 | 7047069 | <reponame>AndriySvyryd/UnicornHack
using System.Collections.Generic;
using UnicornHack.Generation;
using UnicornHack.Generation.Effects;
using UnicornHack.Primitives;
namespace UnicornHack.Data.Creatures
{
public static partial class CreatureData
{
public static readonly Creature Lemure = new Creature
... |
src/localtour.Application/Tours/Dto/TourDateDto.cs | felixhusen/localtour | 0 | 7047070 | using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using localtour.TourDates;
using localtour.TourPictures;
using System;
namespace localtour.Tours.Dto
{
[AutoMapTo(typeof(TourDate))]
[AutoMapFrom(typeof(TourDate))]
public class TourDateDto : EntityDto<int?>
{
public DateTime StartDate ... |
OdeToFood.Web/App_Start/RouteConfig.cs | leopansa/mvc5-pluralsight | 0 | 7047071 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Routing;
namespace OdeToFood.Web
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
// /trace.axd/1/2/3/4
ro... |
TestVS/DxLib/D2DFigure.cs | kishima/TestVS | 0 | 7047072 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing;
using System.Drawing.Imaging;
using System.Runtime.InteropServices;
using SharpDX;
using SharpDX.Direct3D;
using SharpDX.Direct3D11;
using SharpDX.DXGI;
using SharpDX.Direct2D1;
usi... |
Assets/Standard Assets/JSBinding/Generated/JSB_UnityEngine_ILogHandler.cs | 2173/protobuf-for-purejsb | 4 | 7047073 | <filename>Assets/Standard Assets/JSBinding/Generated/JSB_UnityEngine_ILogHandler.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by CSGenerator.
// </auto-generated>
//-------------------------------------------------------------------... |
src/CsvHelper/Delegates/GetDynamicPropertyName.cs | furkansakar/CsvHelper | 0 | 7047074 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CsvHelper
{
/// <summary>
/// Function that gets the name to use for the property of the dynamic object.
/// </summary>
public delegate string GetDynamicPropertyName(GetDynamic... |
Managed/main/CargoDropperStorage.cs | undancer/oni-data | 1 | 7047075 | using UnityEngine;
public class CargoDropperStorage : GameStateMachine<CargoDropperStorage, CargoDropperStorage.StatesInstance, IStateMachineTarget, CargoDropperStorage.Def>
{
public class Def : BaseDef
{
public Vector3 dropOffset;
}
public class StatesInstance : GameInstance
{
public StatesInstance(IStateMa... |
Code/ProjetCrypto/WpfApp1/UCF/UC_ChangeNews.xaml.cs | DYNXTSX/CryptoFollow | 0 | 7047076 | <reponame>DYNXTSX/CryptoFollow
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Wind... |
AirportCEO-ModFramework/ACMF/ModHelper/EnumPatcher/EnumCacheSingleton.cs | Guusje2/AirportCEO-ModFramework | 0 | 7047077 | <reponame>Guusje2/AirportCEO-ModFramework
using System;
namespace ACMF.ModHelper.EnumPatcher
{
public partial class EnumCache<T> : IEnumCache where T : Enum
{
private static EnumCache<T> InternalInstance = null;
public static EnumCache<T> Instance
{
get
{
... |
src/Moryx.AbstractionLayer/Products/Import/FileImportParameters.cs | milmilkat/MORYX-AbstractionLayer | 0 | 7047078 | <reponame>milmilkat/MORYX-AbstractionLayer<gh_stars>0
// Copyright (c) 2020, Phoenix Contact GmbH & Co. KG
// Licensed under the Apache License, Version 2.0
using System;
using System.IO;
using static System.IO.File;
namespace Moryx.AbstractionLayer.Products.Import
{
/// <summary>
/// Base parameters for a fi... |
McStatBot/Core/Config/Impl/ConfigStore.cs | cool-mist/McStatBot | 1 | 7047079 | using System;
namespace McStatBot.Core.Config.Impl
{
internal class ConfigStore : IConfig
{
public string Get(string key)
{
return Environment.GetEnvironmentVariable(key);
}
}
}
|
Stockimulate/Views/Shared/_Layout.cshtml | SamArmand/Stockimulate | 0 | 7047080 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no"/>
<title>@ViewData["Title"] - Stockimulate</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css... |
CSharp Database Fundamentals 2018/CSharp DB Advanced/Db Advanced Exam - SoftJail/Data/EntityConfiguration/OfficerConfiguration.cs | GMihalkow/CSharp | 1 | 7047081 | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using SoftJail.Data.Models;
namespace SoftJail.Data
{
public class OfficerConfiguration : IEntityTypeConfiguration<Officer>
{
public void Configure(EntityTypeBuilder<Officer> builder)
{
buil... |
ManiacEditor/Controls/Global/Controls/TileListItem.xaml.cs | Tannermanner2008/ManiacEditor-GenerationsEdition | 10 | 7047082 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
ECCE/ECCE/Controllers/MenuController.cs | danieltoguti/EcommerceEmCasaComEstilo | 2 | 7047083 | using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using ECCE.Data;
using ECCE.Models;
using ECCE.Classes;
using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;
namespace ECCE.Controllers
{
public class MenuController : Controller
... |
Assets/2D-Shadows/Editor/AnimatedLitRendererEditor.cs | FabiusII/2D-shadows | 0 | 7047086 | using SpriteShadows.Scripts;
using UnityEditor;
using UnityEngine;
namespace SpriteShadows.Editor
{
[CustomEditor(typeof(AnimatedLitRenderer))]
public class AnimatedLitRendererEditor : UnityEditor.Editor
{
private Texture2D _spriteSheet;
public override void OnInspectorGUI()
{
... |
SharpPulsar/EventSource/Messages/ActiveTopics.cs | eaba/SharpPulsar | 26 | 7047087 | <filename>SharpPulsar/EventSource/Messages/ActiveTopics.cs<gh_stars>10-100
using System.Collections.Immutable;
namespace SharpPulsar.EventSource.Messages
{
public sealed class ActiveTopics
{
public ActiveTopics(string ns, ImmutableList<string> topics)
{
Namespace = ns;
... |
Example/MyStore/app/MyStore.Web/Areas/ProductMgmt/Views/ProductCategories/Edit.cshtml | rbrock/Sharp-Lite | 0 | 7047088 | <filename>Example/MyStore/app/MyStore.Web/Areas/ProductMgmt/Views/ProductCategories/Edit.cshtml
@model MyStore.Tasks.ProductMgmt.ViewModels.EditProductCategoryViewModel
@{
ViewBag.Title = "Edit";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Product Category Form</h2>
@using (Html.BeginForm("Edit", "Produ... |
test/TestApp/Program.cs | MyJetEducation/Service.UserTokenAccount | 0 | 7047089 | <reponame>MyJetEducation/Service.UserTokenAccount<filename>test/TestApp/Program.cs
using System;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using Service.Grpc;
using Service.MarketProduct.Domain.Models;
using Service.UserTokenAccount.Client;
using Service.UserTokenAccount.... |
Tests/TestingServices.Tests/Machines/Integration/OneMachineIntegrationTests.cs | p-org/PSharp | 420 | 7047090 | <reponame>p-org/PSharp<gh_stars>100-1000
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ---------------... |
Tools/Compilation/Compiler/Program.cs | alexsyeo/PSharp | 420 | 7047091 | <reponame>alexsyeo/PSharp<gh_stars>100-1000
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------... |
Source/Bio.Core/Algorithms/Assembly/Graph/Vertex.cs | jakubpas/biodotnet | 137 | 7047092 | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
namespace Bio.Algorithms.Assembly.Graph
{
/// <summary>
/// Vertex class.
/// Stores incoming and outgoing edges to improve the performance.
/// </summary>
/// <typepa... |
NetPOC.Backend.Test/Controllers/CrudControllerBaseTest.cs | MrDanCoelho/NetPOC-Backend | 0 | 7047093 | using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Moq;
using NetPOC.Backend.API.Controllers.v1;
using NetPOC.Backend.Domain.Interfaces.IServices;
using NetPOC.Backend.Domain.Models;
using Xunit;
namespace NetPOC.Backend.Test.Contr... |
PronadjiRecept/PronadjiRecept/Controllers/RecipeController.cs | JovanMarkovic99/recipe-blog | 0 | 7047094 | using Microsoft.AspNetCore.Mvc;
using StackExchange.Redis.Extensions.Core.Abstractions;
using StackExchange.Redis;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using PronadjiRecept.Models;
namespace PronadjiRecept.Controllers
{
[ApiControl... |
Assets/Scripts/Abilities/GameActionBlocks/ModifyTurnRateAction.cs | rin6321910/Github-GameOff-2021 | 0 | 7047095 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
[CreateAssetMenu(menuName = "Definitions/Game Action/Modify Turn Rate")]
public class ModifyTurnRateAction : GameActionBlock
{
public override void Invoke(float abilityStat, List<object> currentFilteredTargets,
... |
Assets/Scripts/Environment/Destructible.cs | Treyboyland/Ostara2021 | 0 | 7047096 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public abstract class Destructible : MonoBehaviour
{
[SerializeField]
protected GameEventVector destructionLocation;
public UnityEvent OnObjectDestroyed;
public virtual void Awake()
... |
VioletPixiv/lib/UIAccess.cs | aliarvivi/VioletPixiv | 2 | 7047097 | <reponame>aliarvivi/VioletPixiv<filename>VioletPixiv/lib/UIAccess.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace VioletPixiv
{
public sta... |
Assets/TailWag.cs | Warda-Mati/GE2-Test-2021-Starter | 0 | 7047098 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TailWag : MonoBehaviour
{
public float choseAngle;
private float angle;
public float rotationSpeedFactor;
private float rotationSpeed;
private Boid dog;
// Start is called before the first frame update
... |
src/SFA.DAS.Reservations.Application/Reservations/Handlers/ConfirmReservationHandler.cs | uk-gov-mirror/SkillsFundingAgency.das-reservations-jobs | 1 | 7047099 | using System;
using System.Threading.Tasks;
using SFA.DAS.CommitmentsV2.Messages.Events;
using SFA.DAS.Reservations.Domain.Reservations;
namespace SFA.DAS.Reservations.Application.Reservations.Handlers
{
public class ConfirmReservationHandler : IConfirmReservationHandler
{
private readonly IReservatio... |
Assets/Scripts/GameSystem/MoveCamera.cs | VelandelStudio/BulutoProject | 1 | 7047100 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MoveCamera : MonoBehaviour
{
private float speed = 80f;
private void LateUpdate()
{
Vector3 newPos;
float clampCameraZ;
float xAxisValue = Input.GetAxis("Horizontal") * speed;
cla... |
Guanomancer.TextureAtlasBaker/Guanomancer.TextureAtlasBaker.Test/AtlasBaker_Tests.cs | Guanomancer/TextureAtlasBaker | 0 | 7047101 | <filename>Guanomancer.TextureAtlasBaker/Guanomancer.TextureAtlasBaker.Test/AtlasBaker_Tests.cs
using Guanomancer.TextureAtlasBaker.Core;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Drawing.Imaging;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tas... |
src/Sabuto.Trello/Sabuto.Trello.Core/Models/Board/UpdateableBoard.cs | sabuto/Sabuto.Trello | 0 | 7047102 | using Sabuto.Trello.Core.Models.Interfaces.Board;
namespace Sabuto.Trello.Core.Models.Board;
/// <summary>
/// The updateable board class
/// </summary>
/// <seealso cref="IUpdateableBoard"/>
public class UpdateableBoard : IUpdateableBoard
{
/// <summary>
/// Gets or sets the value of the id
/// </summa... |
a20201226/Confused_03/tmpsol/Elsa20200001/GenerateVisibleDaphnisPreference.cs | soleil-taruto/Hatena | 0 | 7047103 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace Charlotte
{
/// <summary>
/// Confused by ConfuserElsa
/// </summary>
public class CastSuccessfulSulfurOwner
{
/// <summary>
/// Confused by ConfuserElsa
/// </summary>
public class ShowVisibl... |
src/Application/Users/EvenHandlers/UserReactivationTokenGeneratedEventHandler.cs | xilapa/SiteWatcher | 2 | 7047104 | <reponame>xilapa/SiteWatcher<filename>src/Application/Users/EvenHandlers/UserReactivationTokenGeneratedEventHandler.cs
using Domain.Events;
using MediatR;
using SiteWatcher.Application.Interfaces;
using SiteWatcher.Domain.Utils;
namespace SiteWatcher.Application.Users.EventHandlers;
public class UserReactivationToke... |
Calla-Site/Controllers/ContactsController.cs | enricol96/Calla | 938 | 7047105 | <filename>Calla-Site/Controllers/ContactsController.cs<gh_stars>100-1000
using Calla.Data;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Hosting;
using System.Linq;
using System.Threading.Tasks;
namespace Calla.Controllers
{
public class ContactsController : Contr... |
Veho.Matrix/Src/Columns/Updaters.cs | sharpyr/Veho | 0 | 7047106 | <filename>Veho.Matrix/Src/Columns/Updaters.cs
using System;
using Veho.Matrix;
namespace Veho.Columns {
public static class Updaters {
public static T[,] ExpandColumn<T>(this T[,] matrix, int delta) {
var (height, width) = matrix.Size();
var width2 = width + delta;
var target = new T[height, w... |
ZunTzu/ZunTzu/Control/Messages/GameBoxHasChangedMessage.cs | ZunTzu-Software/ZunTzu | 3 | 7047107 | // Copyright (c) 2020 ZunTzu Software and contributors
using System;
using System.Drawing;
using System.Reflection;
using ZunTzu.Control.Dialogs;
using ZunTzu.Modelization;
using ZunTzu.Properties;
namespace ZunTzu.Control.Messages {
/// <summary>GameBoxHasChangedMessage.</summary>
[ObfuscationAttribute(Exclude = ... |
src/Core.Domain/Entities/EntityBase.cs | flaviorl-net/Core | 2 | 7047108 | using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Core.Domain
{
public abstract class EntityBase<TKey> : ISelfValidator
{
[Key]
public TKey Id { get; set; }
[NotMapped]
public ValidationResult ValidationResult { ... |
WaterCloud.Web/Areas/ProductionManage/Controllers/NewModularDesignController.cs | jl632541832/WaterCloudCore | 4 | 7047109 | <reponame>jl632541832/WaterCloudCore
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WaterCloud.Code;
using WaterCloud.Service.ProductionManage;
namespace WaterCloud.Web.Areas.ProductionManage.Controllers
{
[Area("ProductionMan... |
src/WebExtensions.Net/Generated/Bookmarks/BookmarksApi.cs | dragnilar/WebExtensions.Net | 22 | 7047110 | <filename>src/WebExtensions.Net/Generated/Bookmarks/BookmarksApi.cs
using JsBind.Net;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace WebExtensions.Net.Bookmarks
{
/// <inheritdoc />
public partial class BookmarksApi : BaseApi, IBookmarksApi
{
private OnChangedEvent _onCha... |
src/Winook/MouseMessageEventArgs.cs | macote/Winook | 58 | 7047111 | namespace Winook
{
using System;
#pragma warning disable CA1051 // Do not declare visible instance fields
public class MouseMessageEventArgs : EventArgs
{
public int MessageCode;
public int X;
public int Y;
public int Handle;
public int HitTestCode;
public s... |
src/Orchard.Web/Modules/Orchard.MediaProcessing/ViewModels/AdminIndexViewModel.cs | jdages/AndrewsHouse | 3 | 7047112 | <reponame>jdages/AndrewsHouse
using System.Collections.Generic;
using Orchard.MediaProcessing.Models;
namespace Orchard.MediaProcessing.ViewModels {
public class AdminIndexViewModel {
public IList<ImageProfileEntry> ImageProfiles { get; set; }
public AdminIndexOptions Options { get; set; }... |
Mageki/Mageki/Drawables/MenuBackground.cs | Sanheiii/Mageki | 69 | 7047113 | using SkiaSharp;
using System;
using System.Collections.Generic;
using System.Text;
namespace Mageki.Drawables
{
internal class MenuBackground : IDrawable
{
public const float TextSizeCoef = 0.16f;
private SKPoint center;
public SKPoint Center { get => center; set { center = value; pr... |
SexyColor.Api/Models/CategoryCollectionDto.cs | lxkbest/SexyColor.Net | 2 | 7047114 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SexyColor.Api.Models
{
public class CategoryDto
{
public string cat_name { get; set; } = string.Empty;
public IEnumerable<CategoryItemDto> sub_category { get; set; } = new List<CategoryI... |
Livestock Auction/Helpers/ParadoxImport.cs | The-Missing-Semicolon/Livestock-Auction | 3 | 7047115 | <reponame>The-Missing-Semicolon/Livestock-Auction<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Runtime.InteropServices;
namespace Livestock_Auction.Helpers.Paradox
{
namespace RawStruct
{
public static class Constants
{
... |
Gerencianet.SDK/APIAuthPair.cs | sufficit/sufficit-gateway-gerencianet-sdk-dotnet | 0 | 7047116 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace GerencianetSDK
{
/// <summary>
/// ID and Secret for authentication calls on endpoints
/// </summary>
public class APIAuthPair
{
public string Id { get; set; }
public string Secret { get; set;... |
src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer.Test/Specs/Naming/PrefixEventHandlersWithOnSpecs.cs | safescan/CSharpGuidelinesAnalyzer | 89 | 7047117 | using CSharpGuidelinesAnalyzer.Rules.Naming;
using CSharpGuidelinesAnalyzer.Test.TestDataBuilders;
using Microsoft.CodeAnalysis.Diagnostics;
using Xunit;
namespace CSharpGuidelinesAnalyzer.Test.Specs.Naming
{
public sealed class PrefixEventHandlersWithOnSpecs : CSharpGuidelinesAnalysisTestFixture
{
pro... |
DatabaseConnection/Databases/Field.cs | DavidVTurley/MealPlanner | 0 | 7047118 | <reponame>DavidVTurley/MealPlanner
using System;
namespace DatabaseConnection.Databases
{
public class Field
{
public String Name;
public Int32 Size;
public Field(String name, Int32 size)
{
Name = name;
Size = size;
}
public override St... |
SfSdk/Data/MonsterItem.cs | ebeeb/SfSdk | 10 | 7047119 | <gh_stars>1-10
using SfSdk.Contracts;
namespace SfSdk.Data
{
/// <summary>
/// A monster item.
/// </summary>
internal class MonsterItem : ScrapbookItemBase, IMonsterItem
{
}
} |
TES3Lib/Enums/BodyPartSlot.cs | SaintBahamut/TES3Tool | 3 | 7047120 | <gh_stars>1-10
namespace TES3Lib.Enums
{
public enum BodyPartSlot : byte
{
Head = 0,
Hair = 1,
Neck = 2,
Chest = 3,
Groin = 4,
Skirt = 5,
HandRight = 6,
HandLeft = 7,
WristRight = 8,
WristLeft = 9,
Shield = 10,
Fore... |
FireballEngine/FireballEngine.Core/Content/IContentManager.cs | ClaytonHunt/FireballEngine | 1 | 7047121 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FireballEngine.Core.Content
{
public interface IContentManager
{
Task Register<T>(string label, string source);
}
}
|
Tests/HelpfulErrorsTests.cs | kendaleiv/di-servicelocation-structuremap | 0 | 7047122 | <reponame>kendaleiv/di-servicelocation-structuremap<filename>Tests/HelpfulErrorsTests.cs
using Core;
using StructureMap;
using Xunit;
namespace Tests
{
public class HelpfulErrorsTests
{
[Fact]
public void MissingConfiguration()
{
var container = new Container();
... |
CefSharp/Internals/InMemoryResourceRequestHandler.cs | igandrews/CefSharp | 0 | 7047125 | // Copyright © 2019 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
namespace CefSharp.Internals
{
/// <summary>
/// InMemoryResourceRequestHandler
/// </summary>
public sealed class InMemo... |
common/HR.TA.CommonLibrary/HR.TA.Talent/TalentContracts/Offer/V2/GDPR/JobOfferDetail.cs | microsoft/msrecruit-scheduling-engine | 8 | 7047126 | //-----------------------------------------------------------------------
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
//-----------------------------------------------------------------------
namespace HR.TA.Common.OfferManagement.Contracts.V2.Gdpr
{
using System;
using System.C... |
NShape_test_net/Form1.Designer.cs | jekyll2014/StatesDiagram | 0 | 7047127 | <reponame>jekyll2014/StatesDiagram
namespace StatesDiagram
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... |
AdventOfCode2020/Day23/Day23Tests.cs | rprouse/AdventOfCode2017 | 1 | 7047128 | <gh_stars>1-10
using AdventOfCode.Core;
using FluentAssertions;
using NUnit.Framework;
namespace AdventOfCode2020;
[Parallelizable(ParallelScope.All)]
public class Day23Tests : TestBase
{
const int DAY = 23;
[TestCase("389125467", 10, "92658374")]
[TestCase("389125467", 100, "67384529")]
[TestCase("2... |
samples/StillMotion/StillMotion.cs | kangaroo/monomac | 1 | 7047129 |
using System;
using System.Collections.Generic;
using System.Linq;
using MonoMac.Foundation;
using MonoMac.AppKit;
using MonoMac.QTKit;
using MonoMac.CoreVideo;
using MonoMac.CoreImage;
namespace StillMotion
{
public partial class StillMotionDocument : NSDocument
{
QTMovie movie;
QTCaptureSession captureSession... |
backend/Models/Answer.cs | akshatarrao/CSI5112-Project | 1 | 7047130 | <gh_stars>1-10
using System.Text.Json.Serialization;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
namespace backend.Models;
public class Answer
{
//[BsonId][BsonRepresentation(BsonType.ObjectId)]//[BsonElement("_id")] //Actual name in mongoDB is "_id"
//public string? mongoId { ... |
src/OrigoDB.Core/Compression/GzipCompressor.cs | DevrexLabs/OrigoDB | 112 | 7047131 | using System.IO;
using System.IO.Compression;
namespace OrigoDB.Core.Compression
{
public class GzipCompressor : StreamCompressor
{
protected override Stream CreateStream(Stream inputStream, CompressionMode compressionMode)
{
return new GZipStream(inputStream, compressionMode, lea... |
src/NotaFiscalNet.Core/Transmissao/RetornoCancelamentoNFe.cs | NotaFiscalNet/NotaFiscalNet | 11 | 7047132 | <filename>src/NotaFiscalNet.Core/Transmissao/RetornoCancelamentoNFe.cs
using NotaFiscalNet.Core.Utils;
using System;
using System.Xml.Linq;
namespace NotaFiscalNet.Core.Transmissao
{
/// <summary>
/// Representa o tipo 'TRetCancNFe' do layout NFe.
/// </summary>
public class RetornoCancelamentoNFe
... |
src/Photosphere.SearchEngine/Scheduling/Scheduler.cs | sunloving/photosphere-search-engine | 1 | 7047133 | <reponame>sunloving/photosphere-search-engine
using System.Timers;
using Photosphere.SearchEngine.FileIndexing;
namespace Photosphere.SearchEngine.Scheduling
{
internal class Scheduler : IScheduler
{
private readonly ICleaner _cleaner;
private readonly Timer _timer;
public Scheduler(I... |
lacunachat/console.cs | devich02/lacunachat | 0 | 7047134 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using WebullApi.UI;
namespace lacunachat
{
public partial class console : Form
{
UIStat... |
Data2Lua/Classes/Item.cs | Niunzin/Data2Lua | 2 | 7047135 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Data2Lua.Classes
{
class Item
{
private int _id;
private string _unidentifiedDisplayName;
private string _unidentifiedResourceName;
private string _unidentifiedDescriptio... |
02.ORM Fundamentals/ORMFundamentalsLab/CodeFirstDemo/Program.cs | mirakis97/Entity-Framework | 1 | 7047136 | using CodeFirstDemo.Models;
using System;
namespace CodeFirstDemo
{
class Program
{
static void Main(string[] args)
{
var db = new NewsDbContex();
db.Database.EnsureCreated();
}
}
}
|
tests/Microsoft.Bot.Builder.Dialogs.Tests/DialogSetTests.cs | ForrestGumb/botbuilder-dotnet | 1 | 7047137 | <reponame>ForrestGumb/botbuilder-dotnet
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Microsoft.Bot.Builder.Dialogs.Tests
{
[TestClass]
public class Dial... |
LinqSharp.EFCore/LinqSharp.EFCore - Shared/DbFunc.cs | zmjack/LinqSharp | 57 | 7047139 | <gh_stars>10-100
// Copyright 2020 zmjack
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// See the LICENSE file in the project root for more information.
using System;
using System.Reflection;
using LinqSharp.EFCore.Functions;
n... |
tests/TextToColor.Benchmarks/TextToColorBenchmarks.cs | BerserkerDotNet/TextToColor | 0 | 7047140 | using BenchmarkDotNet.Attributes;
using System.Drawing;
using System.Security.Cryptography;
using System.Text;
namespace TextToColor.Benchmarks
{
[MemoryDiagnoser]
public class TextToColorBenchmarks
{
private string _text;
[Params(1, 10, 100, 1000)]
public int TextLength { get; se... |
ThinkingHome.Migrator.Tests/TestMigrations/TestMigration02.cs | eatskolnikov/migrator | 25 | 7047141 | using ThinkingHome.Migrator.Framework;
namespace ThinkingHome.Migrator.Tests.TestMigrations
{
[Migration(2)]
public class TestMigration02 : Migration
{
public override void Apply()
{
Database.ExecuteNonQuery("up");
}
public override void Revert()
{
... |
SpellFire/Well/Util/Vector3.cs | ybhuxiao/SpellFire | 1 | 7047142 | using System;
using System.Runtime.InteropServices;
namespace SpellFire.Well.Util
{
[Serializable]
[StructLayout(LayoutKind.Sequential)]
public struct Vector3
{
public static readonly Vector3 Zero = new Vector3(0, 0, 0);
public readonly float x;
public readonly float y;
public readonly float... |
WodiLib/WodiLib/Event/Enum/PictureDrawType.cs | kameske/WodiLib | 12 | 7047143 | // ========================================
// Project Name : WodiLib
// File Name : PictureDrawType.cs
//
// MIT License Copyright(c) 2019 kameske
// see LICENSE file
// ========================================
using System.Linq;
using WodiLib.Sys;
namespace WodiLib.Event
{
/// <summary>
///... |
Assets/_Project/Scripts/Cameras/MouseLook.cs | Bennef/FPS | 0 | 7047144 | using Scripts.Inputs;
using UnityEngine;
namespace Scripts.Cameras
{
public class MouseLook : MonoBehaviour
{
[SerializeField] private float _mouseSensitivity = 150;
private Transform _playerBody;
private float _xRotation = 0f;
private InputHandler _inputHandler;
void ... |
src/Win32/Win32Enums.cs | decriptor/axe-windows | 75 | 7047146 | <filename>src/Win32/Win32Enums.cs<gh_stars>10-100
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Axe.Windows.Win32
{
/// <summary>
/// Flag used when in OS comparison methods
/// </summa... |
src/Fpl.Client/Models/ClassicLeague.cs | johnkors/fplbot | 0 | 7047147 | <gh_stars>0
using Newtonsoft.Json;
namespace Fpl.Client.Models
{
public class ClassicLeague
{
[JsonProperty("new_entries")]
public NewLeagueEntries NewEntries { get; set; }
[JsonProperty("league")]
public ClassicLeagueProperties Properties { get; set; }
[JsonProperty(... |
Sting/HostsManager.cs | bstockus/sting | 0 | 7047148 | <filename>Sting/HostsManager.cs
// Copyright 2014-2015, <NAME>
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by a... |
source/Cosmos.Core/IOGroup/VBE.cs | ERamaM/Cosmos | 1 | 7047149 | <reponame>ERamaM/Cosmos
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cosmos.Core.IOGroup
{
public class VBE : IOGroup
{
public IOPort VbeIndex= new IOPort(0x01CE);
public IOPort VbeData = new IOPort(0x01CF);
... |
src/Quest/Infrastructure/Azure.DocumentDb/DocumentReader.cs | patrickCode/Quest | 1 | 7047150 | <reponame>patrickCode/Quest<filename>src/Quest/Infrastructure/Azure.DocumentDb/DocumentReader.cs
using System;
using System.Net;
using System.Linq;
using Common.Model;
using Common.Interfaces;
using Common.Configuration;
using System.Threading.Tasks;
using Azure.DocumentDb.Utility;
using Microsoft.Azure.Documents;
usi... |
TicTacTubeCore/Sources/Files/External/UrlSource.cs | Reason1337/TicTacTube | 0 | 7047151 | using System;
using System.IO;
using System.Net;
using System.Net.Mime;
namespace TicTacTubeCore.Sources.Files.External
{
/// <summary>
/// An external source that fetches from an http url.
/// </summary>
public class UrlSource : BaseExternalFileSource
{
/// <summary>
/// The url from which the file ... |
Sandbox/UsefulExamples/Examples/ScrollbarAboveAxis/ScrollbarAboveAxis.xaml.cs | triphan80/SciChart.Wpf.Examples | 1 | 7047152 | <filename>Sandbox/UsefulExamples/Examples/ScrollbarAboveAxis/ScrollbarAboveAxis.xaml.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
usi... |
Server/Admin.Web/Views/Customers/Index.cshtml | zrusev/microservices-architecture | 0 | 7047153 | @model IEnumerable<CustomerDetailsOutputModel>
@{
ViewData["Title"] = "All Customers";
}
<div class="row">
<div class="col-lg-4">
<h2>All Customers</h2>
</div>
</div>
<table class="table table-striped table-bordered">
<thead>
<tr>
<th scope="col">Id</th>
<th s... |
Inedo.AssetDirectories/ExtendedAssetDirectoryItem.cs | Inedo/Inedo.AssetDirectories | 0 | 7047154 | using System.Collections.Generic;
namespace Inedo.AssetDirectories
{
/// <summary>
/// Represents either a file or a folder in an asset directory that has additional metadata.
/// </summary>
public sealed class ExtendedAssetDirectoryItem : AssetDirectoryItem
{
#if NET452
private static rea... |
Core/Core/Client.cs | Reddit-Mud/RMUD | 27 | 7047155 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RMUD
{
public partial class Client
{
public virtual void Send(String message) { }
public virtual void Disconnect() { }
public virtual String ConnectionDescription { get { re... |
Chilicki.StarWars/Chilicki.StarWars.Application/Factories/CharacterFactory.cs | mchilicki/star-wars-rest-api | 0 | 7047156 | <filename>Chilicki.StarWars/Chilicki.StarWars.Application/Factories/CharacterFactory.cs
using Chilicki.StarWars.Application.Dtos;
using Chilicki.StarWars.Application.Dtos.Characters;
using Chilicki.StarWars.Application.Updaters;
using Chilicki.StarWars.Data.Entities;
using System;
using System.Collections.Generic... |
Mobile/UI/Puzzle/Puzzle/Puzzle/PuzzleSquare.cs | sameerppradhan/Tizen-CSharp-Samples | 0 | 7047157 | <gh_stars>0
/*
* Copyright (c) 2017 Samsung Electronics Co., Ltd 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
... |
src/Authentication.Application.Web/EasyAuth/ClientPrincipal.cs | vip32/Naos.Core | 10 | 7047158 | namespace Naos.Authentication.Application.Web
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class ClientPrincipal
{
[JsonProperty("auth_typ")]
public string AuthenticationType { get; set; }
[JsonProperty("claims")]
public IEnumerable<UserClaim> Clai... |
MovieHunter.API/Controllers/ActorsController.cs | jameyt/personalSiteOld | 0 | 7047159 | <filename>MovieHunter.API/Controllers/ActorsController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace MovieHunter.API.Controllers
{
public class ActorsController : ApiController
{
// GET api/actors
... |
src/NFugue/Staccato/Preprocessors/ParenSpacesPreprocessor.cs | kurena-777/NFugue | 17 | 7047160 | using NFugue.Extensions;
using System.Text;
namespace NFugue.Staccato.Preprocessors
{
/// <summary>
/// Changes spaces in parentheses to underscores, since the Staccato string is split on parentheses
/// </summary>
public class ParenSpacesPreprocessor : IPreprocessor
{
public string Prepro... |
Wollo.Web/obj/Release/AspnetCompileMerge/TempBuildDir/Views/Holiday/Index.cshtml | umangsunarc/OTH | 1 | 7047161 | @model Wollo.Entities.ViewModels.HolidayData
@{
ViewBag.Title = "Holiday/Closing Date";
}
@section header{
<link href="~/css/bootstrap-datepicker.css" rel="stylesheet">
}
<div id="page-wrapper">
<div class="container-fluid">
<!-- Page Heading -->
<div class="row">
<div class="co... |
CottonDBMS/CottonDBMS.TestDataGenerator/Program.cs | bohntech/RFIDGinDataManagement | 2 | 7047162 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//using CottonDBMS.Cloud;
using CottonDBMS.DataModels;
using CottonDBMS.Interfaces;
using CottonDBMS.Data.EF;
namespace CottonDBMS.TestDataGenerator
{
class Program
{
static double feede... |
SmartStoreNET-3.x/src/Presentation/SmartStore.Web.Framework/UI/Components/Menu/MenuItem.cs | jonmcquade/csharp-snippets | 2 | 7047163 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Routing;
using SmartStore.Collections;
namespace SmartStore.Web.Framework.UI
{
public class MenuItem : NavigationItem, ICloneable<MenuItem>
{
public MenuItem()
{
this.Attributes = new Dictionary<str... |
src/BootstrapMvc.BootstrapCommon/Components/Buttons/ButtonType.cs | kbalint/BootstrapMvc | 0 | 7047164 | namespace BootstrapMvc
{
using System;
public enum ButtonType
{
#if BOOTSTRAP3
DefaultGray,
#endif
#if BOOTSTRAP4
SecondaryWhite,
[Obsolete("Use SecondaryWhite instead")]
DefaultGray = SecondaryWhite,
#endif
PrimaryBlue,
InfoCyan,
SuccessGreen,
... |
CloudOps/Generated/OpsWorks/DescribeEcsClustersOperation.cs | austindimmer/AWSRetriever | 0 | 7047165 | <filename>CloudOps/Generated/OpsWorks/DescribeEcsClustersOperation.cs
using Amazon;
using Amazon.OpsWorks;
using Amazon.OpsWorks.Model;
using Amazon.Runtime;
namespace CloudOps.OpsWorks
{
public class DescribeEcsClustersOperation : Operation
{
public override string Name => "DescribeEcsClusters";
... |
Softuniada 2018/EasterEgg/Program.cs | NaskoVasilev/Softuniada | 2 | 7047166 | <gh_stars>1-10
using System;
namespace EasterEgg
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
int width = 5 * n;
int dotsCount = 2 * n;
int middleCount = n;
string dots = new string('.', d... |
Source/Editor/DualityEditor/PackageManagement/PackageCache.cs | megabytefisher/duality | 0 | 7047167 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Xml;
using System.Xml.Linq;
using System.Windows.Forms;
using System.Diagnostics;
using NuGet;
using Duality.IO;
using Duality.Editor.Properties;
using Duality.Editor.Forms;
namespace Duality.Editor.P... |
Tests/Basics/CastsTest1.cs | xdrie/SharpNative | 40 | 7047168 | <gh_stars>10-100
using System;
public static class Program
{
public static void Main()
{
object aString = "hey there";
var strings = (string) aString;
Console.WriteLine(strings);
}
} |
Localization.cs | gamealgorithms/defense | 28 | 7047169 | //-----------------------------------------------------------------------------
// Localization Singleton that stores a Dictionary of all the UI strings
// that are visible in the game.
// Right now there's only an en_us.xml file, but you could easily perform
// translations with this system.
//
// __Defense Sample fo... |
SpotifyAPI.Web/Models/Response/FullArtist.cs | Timmaaaa/SpotifyAPI-NET | 1,198 | 7047170 | using System.Collections.Generic;
namespace SpotifyAPI.Web
{
public class FullArtist
{
public Dictionary<string, string> ExternalUrls { get; set; } = default!;
public Followers Followers { get; set; } = default!;
public List<string> Genres { get; set; } = default!;
public string Href { get; set; } ... |
WebAssembly/ComponentStructure/final/ParentCoordinated/ParentCoordinated/Shared/ChildElement.cs | snapservices/blazor-training-samples | 55 | 7047171 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components;
namespace ParentCoordinated.Shared
{
public abstract class ChildElement<TParent> : ComponentBase
{
[CascadingParameter]
TParent Parent { get; set; }
... |
Ren.CMS.Net/Source/Ren.CMS.Filemanagement/Ren.CMS.Filemanagement/Filemanager.cs | nfMalde/Ren.CMS.NET | 0 | 7047172 | <filename>Ren.CMS.Net/Source/Ren.CMS.Filemanagement/Ren.CMS.Filemanagement/Filemanager.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Html;
using Ren.CMS.Persistence.Rep... |
src/Bitter.NetCore/Base/SetWhere.cs | DavidChild/Bitter.Core.Orm.NetCore | 83 | 7047173 | <filename>src/Bitter.NetCore/Base/SetWhere.cs
namespace Bitter.Core
{
/********************************************************************************
** auth: davidchild
** date: 2016/6/8 13:36:11
** desc:
** Ver.: V1.0.0
** Copyright (C) 2016 Bitter 版权所有。
*******************************... |
src/Yargon.Parser.Sdf/ParseTrees/AsFixTreeBuilder.cs | Virtlink/yargon-parser | 1 | 7047174 | <gh_stars>1-10
using System;
using System.Diagnostics.Contracts;
using System.Linq;
using Yargon.Parser.Sdf.Productions.IO;
using Yargon.ATerms;
namespace Yargon.Parser.Sdf.ParseTrees
{
/// <summary>
/// Builds an AsFix tree from a parse tree.
/// </summary>
public sealed class AsFixTreeBuilder : IParseTreeTransf... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.