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/Ef7Test/Migrations/20150820164355_InitialMigration.Designer.cs
bcrosnier/Ef7_RemoveBug
1
7055955
<filename>src/Ef7Test/Migrations/20150820164355_InitialMigration.Designer.cs using System; using Microsoft.Data.Entity; using Microsoft.Data.Entity.Metadata; using Microsoft.Data.Entity.Migrations.Infrastructure; using Ef7Test; namespace Ef7TestMigrations { [ContextType(typeof(TestDbContext))] partial class In...
Core/ModbusRtuSession.cs
sontx/modbus
30
7055956
<filename>Core/ModbusRtuSession.cs using System; using Modbus.Core.Exceptions; using System.Threading.Tasks; namespace Modbus.Core { public sealed class ModbusRtuSession : IModbusSession { private readonly IModbusProtocol _modbusProtocol; private readonly int _slaveAddress; public Ses...
src/EQueue/Protocols/Brokers/Requests/CreateTopicRequest.cs
scjjcs/equeue
602
7055957
<reponame>scjjcs/equeue using System; namespace EQueue.Protocols.Brokers.Requests { [Serializable] public class CreateTopicRequest { public string Topic { get; private set; } public int? InitialQueueCount { get; private set; } public CreateTopicRequest(string topic, int?...
PerformanceWork/NCuda/CudaManagement.cs
faruknane/PerformanceWork
2
7055958
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Security; using System.Text; namespace PerformanceWork.NCuda { public static unsafe class CudaManagement { [DllImport("NCuda\\NCuda.dll", CallingConv...
IDisposableAnalyzers.Test/IDISP004DontIgnoreCreatedTests/Diagnostics.Invocation.cs
AArnott/IDisposableAnalyzers
1
7055959
<filename>IDisposableAnalyzers.Test/IDISP004DontIgnoreCreatedTests/Diagnostics.Invocation.cs namespace IDisposableAnalyzers.Test.IDISP004DontIgnoreCreatedTests { using Gu.Roslyn.Asserts; using NUnit.Framework; public partial class Diagnostics { public class Invocation { priv...
UniShop.Data/Migrations/201706220329514_Rename table.cs
tonnystark/unishop
1
7055960
namespace UniShop.Data.Migrations { using System; using System.Data.Entity.Migrations; public partial class Renametable : DbMigration { public override void Up() { RenameTable(name: "dbo.IdentityUserClaims", newName: "ApplicationUserClaims"); RenameTable(name...
Adventures/TheTempleOfNgurct/Game/Engine.cs
skyhoshi/Eamon-CS
15
7055961
 // Engine.cs // Copyright (c) 2014+ by <NAME>. All rights reserved. using System; using System.Collections.Generic; using System.Diagnostics; using System.Text; using Eamon.Framework; using Eamon.Framework.Primitive.Enums; using Eamon.Game.Attributes; using EamonRT.Framework.Combat; using EamonRT.Fram...
TestDiceRoller/Grammar/RerollRollShould.cs
skizzerz/DiceRoller
23
7055962
using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using Dice; namespace TestDiceRoller.Grammar { [TestClass] public class RerollRollShould : TestBase { private static RollerConfig RerollConf => new RollerConfig() { GetRandomBytes = GetRNG(0, 1, 0, 9) }; private static Roll...
mcs/class/System.Web.Services/Test/System.Web.Services.Protocols/SoapServerTypeTest.cs
nataren/mono
1
7055963
<gh_stars>1-10 // // SoapServerTypeTest.cs // // Author: // <NAME> <<EMAIL>> // // Copyright (C) 2007 Novell, Inc. // #if NET_2_0 using NUnit.Framework; using System; using System.Globalization; using System.IO; using System.Reflection; using System.Web.Services; using System.Web.Services.Configuration; using System....
SapphireDb/Connection/SapphireMessageSender.cs
greenapp-debug/SapphireDb
1
7055964
<reponame>greenapp-debug/SapphireDb using System; using System.Linq; using SapphireDb.Command.Message; using SapphireDb.Command.SubscribeMessage; using SapphireDb.Connection.Websocket; using SapphireDb.Sync; namespace SapphireDb.Connection { public class SapphireMessageSender { private readonly Connec...
ExtensionsTests/DictionaryExtensions.cs
NMyVision/Extensions
0
7055965
using System; using System.Collections.Generic; using System.Dynamic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using Microsoft.VisualStudio.TestTools.UnitTesting; namespace ConverterTests { [TestClass] public class DictionaryExtensions { [TestMethod] pub...
Assets/Scripts/Editor/EditorHelper.cs
terravision/UnityTextScene
16
7055966
<filename>Assets/Scripts/Editor/EditorHelper.cs /// /// Copyright (c) 2010 TerraVision AS /// See LICENSE file for licensing details /// using UnityEngine; using UnityEditor; using System.Reflection; using System; public class EditorHelper { public static void ClearLog() { Assembly assembly = Assembly.GetA...
OpenBullet2.Native/Views/Pages/ConfigLoliScript.xaml.cs
Enigma422/OpenBullet2
565
7055967
using ICSharpCode.AvalonEdit.Highlighting; using ICSharpCode.AvalonEdit.Highlighting.Xshd; using OpenBullet2.Core.Repositories; using OpenBullet2.Core.Services; using OpenBullet2.Native.Helpers; using RuriLib.Models.Configs; using System; using System.Windows; using System.Windows.Controls; using System.Windows.Input;...
src/core/srcbc/util/Strings.cs
yangli1128/itextsharp.NetCore
1
7055968
/* This file is part of the iText (R) project. Copyright (c) 1998-2019 iText Group NV Authors: iText Software. This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation with the add...
19_RestWithAspNet5_Docker/RestWithAspNet5/RestWithAspNet5/Repository/PersonRepository.cs
Laoviah/restWithAspNet5
0
7055969
using RestWithAspNet5.Model; using RestWithAspNet5.Model.Context; using RestWithAspNet5.Repository.Generic; using System; using System.Collections.Generic; using System.Linq; namespace RestWithAspNet5.Repository { public class PersonRepository : GenericRepository<Person>, IPersonRepository { public P...
Assets/Hot Cursor/Core/Scripts/Invoker.cs
carlostse/acid-gambit
0
7055970
<gh_stars>0 using UnityEngine; using System.Collections.Generic; [AddComponentMenu("Hot Cursor/Invoker")] public class Invoker : MonoBehaviour { public List<Preferences> preferences = new List<Preferences>(); /// <summary> /// Gets the count of the preferences list. /// </summary> public int Count {get {return...
GitHub/com.unity.visualeffectgraph/Editor/Models/Blocks/Implementations/Deprecated/SetSizeVariadic.cs
1-10/VisualEffectGraphSample
2
7055971
<reponame>1-10/VisualEffectGraphSample using System; using System.Linq; using UnityEngine; using System.Collections.Generic; namespace UnityEditor.VFX.Block { //[VFXInfo(category = "Size")] DEPRECATED class SetSizeVariadic : VFXBlock { public enum Mode { X = 0, XY = ...
DailyCodingProblem.Solutions/100-199/120-139/Problem127/Solution.cs
mahmud97/DailyCodingProblem
131
7055972
<filename>DailyCodingProblem.Solutions/100-199/120-139/Problem127/Solution.cs<gh_stars>100-1000 using DailyCodingProblem.Solutions.Common; namespace DailyCodingProblem.Solutions.Problem127 { public class Solution { public static LinkedList<int> SumNumbers(LinkedList<int> left, LinkedList<int> right) { var le...
AvalonStudio/AvalonStudio.Controls.Standard/SolutionExplorer/SolutionExplorerView.paml.cs
juanfranblanco/AvalonStudio
1
7055973
<reponame>juanfranblanco/AvalonStudio using Avalonia.Controls; using Avalonia.Markup.Xaml; namespace AvalonStudio.Controls.Standard.SolutionExplorer { public class SolutionExplorerView : UserControl { public SolutionExplorerView() { InitializeComponent(); } private ...
src/CircuitCalculator.Designer.cs
MomoDeve/CircuitCalculator
1
7055974
<reponame>MomoDeve/CircuitCalculator namespace CircuitCalculator { partial class CircuitCalculator { /// <summary> /// Обязательная переменная конструктора. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Ос...
traits/Room.cs
TomaszKisiel/csharp-console-game
0
7055975
<reponame>TomaszKisiel/csharp-console-game using System; using System.Collections.Generic; namespace RGame { [Serializable] public abstract class Room : Drawable { public abstract string RoomName { get; } public abstract string[] MapLayer { get; } public abstract string[] ColorsLayer { ...
Injector/IRegistrationItem.cs
programmersdigest/Injector
0
7055976
namespace programmersdigest.Injector { /// <summary> /// Interface for all registration items used by the <see cref="DIContainer"/>. /// </summary> internal interface IRegistrationItem { } }
SavingsNearMeApi/Data/SavingsNearMeUow.cs
QuinntyneBrown/SavingsNearMe
1
7055977
<reponame>QuinntyneBrown/SavingsNearMe using System; using System.Collections.Generic; using System.Linq; using System.Web; using Common.Data; using Common.Data.Contracts; using SavingsNearMeApi.Data.Contracts; using SavingsNearMeApi.Models; namespace SavingsNearMeApi { public class SavingsNearMeUow : BaseUow,...
SP_Reports/src/SP_Reports/bin/Release/PublishOutput/Views/vFamilyReports/Details.cshtml
RocketJSC/SchedulerPlusWebApps
0
7055978
<filename>SP_Reports/src/SP_Reports/bin/Release/PublishOutput/Views/vFamilyReports/Details.cshtml @model SP_Common_Classes.Models.DB.vFamilyReport <h2>Family Detail - @Html.DisplayFor(model => model.LastName) Family</h2> <div> <h4>vFamilyReport</h4> <hr /> <dl class="dl-horizontal"> <dt> ...
Controls/SliderValueChangedCommandBehavior.cs
SiliconSquared/ChildrensRehab
0
7055979
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.Input; namespace RehabKiosk.Controls { public static class SliderCommandBehavior { public static readonly Depend...
src/RMS.Persistence.Ef/IMappingConfiguration.cs
EdmondShtogu/rms
3
7055980
<filename>src/RMS.Persistence.Ef/IMappingConfiguration.cs using System.Data.Entity; namespace RMS.Persistence.Ef { /// <summary> /// Represents database context model mapping configuration /// </summary> public interface IMappingConfiguration { /// <summary> /// Add this mapping co...
CamberUI/Civil/CivilObjects/TimeOfConcentrationCalculationMethodsDropDown.cs
mzjensen/camber
9
7055981
#region references using System.Collections.Generic; using CoreNodeModels; using Dynamo.Graph.Nodes; using Dynamo.Utilities; using ProtoCore.AST.AssociativeAST; using Newtonsoft.Json; using System.Linq; #endregion namespace Camber.UI { [NodeName("Time of Concentration Calculation Methods")] [NodeCategory("Cam...
Source/TheBoxSoftware.Reflection/Signatures/CustomAttributeSignature.cs
barry-jones/live-documenter
58
7055982
 namespace TheBoxSoftware.Reflection.Signatures { using System; using Core; /// <summary> /// The signiture for a custom attribute as described in section 23.3 of ECMA 335. /// </summary> internal sealed class CustomAttributeSignature : Signature { /// <summary> /// Initial...
src/LibObjectFile/Elf/ElfHeaderFlags.cs
filipnavara/LibObjectFile
0
7055983
// Copyright (c) <NAME>. All rights reserved. // This file is licensed under the BSD-Clause 2 license. // See the license.txt file in the project root for more information. using System; namespace LibObjectFile.Elf { public readonly struct ElfHeaderFlags : IEquatable<ElfHeaderFlags> { public ElfHeade...
Assets/PlayerController.cs
sukrubeyy/NavMeshUnity
1
7055984
<gh_stars>1-10 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AI; public class PlayerController : MonoBehaviour { NavMeshAgent navmesh; [SerializeField] Camera cam; private void Start() { navmesh = GetComponent<NavMeshAgent>(); } privat...
Actor.Interfaces/Properties/orleans.codegen.cs
amccool/OrleansEventJournal
22
7055985
<filename>Actor.Interfaces/Properties/orleans.codegen.cs //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.0 // // Changes to this file may cause incorrect behavior and will be lost if // ...
src/csharp/Intel/Iced/Intel/DecoderInternal/LegacyHandlerFlags.g.cs
clayne/iced
1,018
7055988
<reponame>clayne/iced // SPDX-License-Identifier: MIT // Copyright (C) 2018-present iced project and contributors // ⚠️This file was generated by GENERATOR!🦹‍♂️ #nullable enable #if DECODER using System; namespace Iced.Intel.DecoderInternal { [Flags] enum LegacyHandlerFlags : uint { HandlerReg = 0x00000001, ...
ExtForms/Controls/ParamSetComboBox.designer.cs
a94827/FreeLibSet
0
7055989
<reponame>a94827/FreeLibSet<filename>ExtForms/Controls/ParamSetComboBox.designer.cs namespace FreeLibSet.Controls { partial class ParamSetComboBox { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// ...
Items/Accessories/AncientDemonShield.cs
W1K1/tsorcRevamp
0
7055990
<reponame>W1K1/tsorcRevamp using System.Collections.Generic; using Terraria; using Terraria.ID; using Terraria.ModLoader; namespace tsorcRevamp.Items.Accessories { public class AncientDemonShield : ModItem { public override void SetStaticDefaults() { Tooltip.SetDefault("Powerful, but slows mov...
px-dotnet/Resources/Payment.cs
fpanaccia/dx-dotnet
1
7055991
<filename>px-dotnet/Resources/Payment.cs using MercadoPago.DataStructures.Payment; using MercadoPago.Common; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using Newtonsoft.Js...
eIVOGo/Module/Common/calendarinputdatepicker.cshtml
uxb2bralph/IFS-EIVO03
0
7055992
<asp:TextBox ID="txtDate" CssClass="textfield" runat="server" Columns="10" ReadOnly="True" /><asp:Label ID="errorMsg" runat="server" Text="請選擇日期!!" Visible="false" EnableViewState="false" ForeColor="Red"></asp:Label> <script runat="server"> protected override void OnInit(EventArgs e) { bas...
Assets/Scripts/Mordor/MDRItem.cs
bsimser/CoM
1
7055993
using System; using System.Collections; using System.Xml.Linq; using UnityEngine; using Data; namespace Mordor { [DataObjectAttribute("ItemClassLibrary")] public class MDRItemClassLibrary : DataLibrary<MDRItemClass> { } /** Library if item classes */ [DataObjectAttribute("ItemClass", true)] ...
LogiCal/Parser.cs
nikolaynikolaevn/LogiCal
0
7055994
<reponame>nikolaynikolaevn/LogiCal using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace LogiCal { public sealed class Parser { public char[] Variables { get; private set; } public bool IsProposition { get; private set; } pub...
CefNet.DevTools.Protocol/Generated/Runtime/RuntimeApi.g.cs
CefNet/CefNet.DevTools.Protocol
0
7055995
// // DO NOT MODIFY. THIS IS AUTOMATICALLY GENERATED FILE. // #nullable enable namespace CefNet.DevTools.Protocol.Runtime { /// <summary> /// Runtime domain exposes JavaScript runtime by means of remote evaluation and mirror objects. /// Evaluation results are returned as mirror object that expose object t...
CodingPlus.Core/Abstractions/IStartupServices.cs
gsan0627/CodingPlus.Core
0
7055996
<filename>CodingPlus.Core/Abstractions/IStartupServices.cs using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using System; using System.Collections.Generic; using System.Text; namespace CodingPlus.Core.Abstractions { /// <summary> /// Especificación del contrato para la...
Core/GameVersionProviders/KspBuildMap.cs
bfrobin446/CKAN
0
7055997
using System; using System.Collections.Generic; using System.IO; using System.Reflection; using log4net; using Newtonsoft.Json; using CKAN.Versioning; using CKAN.Configuration; namespace CKAN.GameVersionProviders { // ReSharper disable once ClassNeverInstantiated.Global public sealed class KspBuildMap : IKspB...
src/Engine/EETypes/Proxy/RoutineReference.cs
Dasync/Dasync
174
7055998
<filename>src/Engine/EETypes/Proxy/RoutineReference.cs using System.Threading.Tasks; namespace Dasync.EETypes.Proxy { /// <summary> /// Used in <see cref="Task.AsyncState"/> to correlate to a routine. /// </summary> public class RoutineReference : IProxyTaskState { public ServiceId Service...
08.C# Fundamentals/08.01.C# Advanced/09.Manual String Processing - Exercise/02.StringLength/StringLength.cs
mdamyanova/C-Sharp-Web-Development
10
7055999
using System; namespace _02.StringLength { public class StringLength { public static void Main() { var input = Console.ReadLine(); if (input.Length >= 20) { Console.WriteLine(input.Substring(0, 20)); } else ...
src/Rebar/Compiler/Nodes/OptionPatternStructureSelector.cs
ni/rustywires
11
7056000
<gh_stars>10-100 using NationalInstruments.DataTypes; using NationalInstruments.Dfir; namespace Rebar.Compiler.Nodes { internal class OptionPatternStructureSelector : BorderNode { public OptionPatternStructureSelector(OptionPatternStructure parentOptionPatternStructure) : base(parentOptionPatternStruc...
sdk/src/Services/SimpleSystemsManagement/Generated/Model/Internal/MarshallTransformations/InstanceInformationUnmarshaller.cs
ChristopherButtars/aws-sdk-net
2
7056001
/* * 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...
src/Xamarin.Android.Build.Tasks/Tasks/BundleToolAdbTask.cs
Wivra/xamarin-android
1,959
7056002
<filename>src/Xamarin.Android.Build.Tasks/Tasks/BundleToolAdbTask.cs using System.IO; using Microsoft.Build.Framework; using Microsoft.Build.Utilities; using Xamarin.Android.Tools; namespace Xamarin.Android.Tasks { public abstract class BundleToolAdbTask : BundleTool { /// <summary> /// This is used to detect th...
BlogEngine/BlogEngine.NET/AppCode/Api/WidgetsController.cs
Solotzy/Analysis-of-BlogEngine.NET
0
7056003
using BlogEngine.Core.Data.Contracts; using BlogEngine.Core.Data.Models; using BlogEngine.Core.Data.ViewModels; using System; using System.Collections.Generic; using System.Net; using System.Net.Http; using System.Web.Http; public class WidgetsController : ApiController { readonly IWidgetsRepository repository; ...
API/PcPartsScrap/PcPartsScrap.Api.Data/Repository/Interfaces/IPcPartsRepository.cs
Shady6/PcPartsScraper
0
7056004
<reponame>Shady6/PcPartsScraper using PcPartsScrap.Api.Data.Entities; using System; using System.Collections.Generic; using System.Linq; namespace PcPartsScrap.Api.Data.Repository.Interfaces { public interface IPcPartsRepository { IEnumerable<string> GetCategories(); IEnumerable<IGrouping<string, PCParts>> GetI...
Utils/Point3D.cs
boombuler/adventofcode
0
7056005
<gh_stars>0 namespace AdventOfCode.Utils; using System; public record Point3D(long X, long Y, long Z) { public static readonly Point3D Origin = (0, 0, 0); public override string ToString() => $"{X}|{Y}|{Z}"; public static implicit operator (long, long, long)(Point3D pt) => (pt.X, pt.Y, pt.Z); publi...
SmartGlass.Clock/Settings/ClockSettings.cs
thibaudcomte/smartmirror
0
7056006
using System; using System.Linq; namespace SmartGlass.Clock { public class ClockSettings : IClockSettings { public TimeZoneInfo[] AuxiliaryTimeZones { get { // todo local/roaming settings var timeZoneIDs = string.Join(",", "Eastern Stand...
C# OOP Basics/Encapsulation/Encapsulation/FootballTeamGenerator/Program.cs
ghostdog87/CSharp_Fundamentals_2018
0
7056007
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; namespace FootballTeamGenerator { public class Program { static void Main(string[] args) { string input = Console.ReadLine(); List<Team> teams = new List<Team>(); while (input !...
src/InfiniSwiss.nRoute/Components/ReaderLockDisposable.cs
InfiniSwiss/InfiniSwiss.nRoute
1
7056008
<gh_stars>1-10 using System; using System.Threading; namespace nRoute.Components { internal sealed class ReadLockDisposable : IDisposable { private readonly ReaderWriterLock _readerWriterLock; public ReadLockDisposable(ReaderWriterLock readerWriterLock) { this._re...
src/DeveelDB/Data/Services/IServiceContainer.cs
deveel/deveeldb
87
7056009
// // Copyright 2010-2018 Deveel // // 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...
LetterCounter/LetterCounter2/Form1.cs
totalintelli/LetterCounter
0
7056010
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace LetterCounter2 { public partial class Form1 : Form { public Form1() { ...
BloodMess/Library/PackageCache/com.unity.adaptiveperformance@2.2.1/Tests/Editor/MetadataTests.cs
FadBy/BloodMess
0
7056011
<reponame>FadBy/BloodMess using NUnit.Framework; using System; using System.Collections; using System.Linq; using UnityEngine.TestTools; using UnityEditor.AdaptivePerformance.Editor.Metadata; using UnityEngine.AdaptivePerformance.TestPackage; using UnityEditor.AdaptivePerformance.TestPackage.Editor; namespace Unity...
ManifestNotFoundException.cs
pwa-builder/pwabuilder-manifest-finder
1
7056012
using System; using System.Collections.Generic; using System.Text; namespace Microsoft.PWABuilder.ManifestFinder { [Serializable] public class ManifestNotFoundException : Exception { public ManifestNotFoundException() { } public ManifestNotFoundException(string message) : base(message) { ...
src/SampleConsumer/Program.cs
msavarian/microlib-AspNetCore-CustomLoggingProviders
0
7056014
<reponame>msavarian/microlib-AspNetCore-CustomLoggingProviders using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using CustomLogProviders; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Hosting; using Microsoft.Exte...
WebApi/Models/Settings.cs
mrwoodo/WebApi
0
7056015
<filename>WebApi/Models/Settings.cs<gh_stars>0 using IdentityServer4.Models; using System.Collections.Generic; namespace WebApi.Models { public class Settings : ISettings { public List<string> APIClientIDs { get; set; } public List<string> APIClientScopes { get; set; } public List<stri...
src/Web.RazorPages/Pages/Shared/_TestimonialsSliderPartial.cshtml
smirnov-coder/startup-creative-agency-razor-pages
1
7056016
@model IEnumerable<Testimonial> <section class="clients-section__testimonials"> <h3 class="sr-only">Testimonials</h3> <div class="testimonials-slider owl-carousel"> @if (Model != null && Model.Any()) { foreach (Testimonial testimonial in Model) { <div cl...
src/SGM.Web.Blog/Startup.cs
suxrobGM/SGM_Website
1
7056017
using System; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Identity; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; u...
src/WebQQ/Im/Bean/UserVipInfo.cs
h0730303779/WebQQWeChat
133
7056018
<reponame>h0730303779/WebQQWeChat<filename>src/WebQQ/Im/Bean/UserVipInfo.cs using Newtonsoft.Json; namespace WebQQ.Im.Bean { public class UserVipInfo { [JsonProperty("u")] public long Uin { get; set; } [JsonProperty("vip_level")] public int VipLevel { get; set; } [Jso...
Sources/Taijutsu/Domain/ISpecification.cs
NikGovorov/Taijutsu
2
7056019
<reponame>NikGovorov/Taijutsu<filename>Sources/Taijutsu/Domain/ISpecification.cs<gh_stars>1-10 // Copyright 2009-2013 <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 // // ...
MsgBox/MsgBoxSamples/App.xaml.cs
Kiho/mongo-edi
0
7056020
namespace MsgBoxSamples { using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Windows; using System.Windows.Threading; using MsgBox; /// <summary> /// Interaction logic for App.xaml /// </summary> public p...
FiremanApi2/Controllers/DepartmentController.cs
Fireman24/FiremanWeb
0
7056021
<reponame>Fireman24/FiremanWeb // //Fireman->FiremanApi->DepartmentController.cs // //andreygolubkow <NAME> using System.Linq; using FiremanApi2.DataBase; using FiremanApi2.Model; using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Cors; using Mi...
Assets/Scripts/ButtonOK.cs
JorgeOchoaReyes/NASA-MINDS-2021
0
7056022
using System.Collections; using System.Collections.Generic; using UnityEngine; using Valve.VR; using Valve.VR.Extras; using TMPro; using UnityEngine.UI; public class ButtonOK : MonoBehaviour { // Start is called before the first frame update public SteamVR_Input_Sources handType; private SteamVR_LaserPoint...
Assets/Scripts/Generation/Dungeon/DungeonGenerator.cs
ruudschouten/ModularDungeons
1
7056023
using System.Collections; using MyMath.Random.Types; using NaughtyAttributes; using Unity.Mathematics; using UnityEngine; using UnityEngine.Events; namespace Generation.Dungeon { public class DungeonGenerator : MonoBehaviour { [SerializeField] protected bool generateOnAwake; [SerializeField] pr...
ODataRoutingSample/Converters/SqlDecimalServerTypeMappingSource.cs
pfedotovsky/OData.Client.Test
0
7056024
using Microsoft.EntityFrameworkCore.Storage; namespace ODataRoutingSample.Converters { [System.Diagnostics.CodeAnalysis.SuppressMessage("Usage", "EF1001:Internal EF Core API usage.", Justification = "<replace decimal(18,2)>")] internal class SqlDecimalServerTypeMappingSource : Microsoft.EntityFrameworkCore.Sq...
Italbytz.Adapters.Exam.OperatingSystems/Italbytz.Adapters.Exam.OperatingSystems/PageReplacement/PageReplacementSolution.cs
Italbytz/operating-systems-exam-nuget
0
7056025
<reponame>Italbytz/operating-systems-exam-nuget using System; using System.Collections.Generic; using Italbytz.Ports.Exam.OperatingSystems; namespace Italbytz.Adapters.Exam.OperatingSystems.PageReplacement { public class PageReplacementSolution : IPageReplacementSolution { public PageReplacementSoluti...
source/ErgoNodeSharp.Common/Constants.cs
chriswill/ergonode
1
7056026
<gh_stars>1-10 namespace ErgoNodeSharp.Common { public static class Constants { public static byte[] MainnetHeader = new byte[] { 1, 0, 2, 4 }; public static byte[] TestnetHeader = new byte[] { 2, 0, 0, 2 }; } }
MD.LojaVirtual.Web.V2/Models/LoginViewModel.cs
MDsolucoesTI/LojaVirtual
0
7056027
////////////////////////////////////////////////////////////////////////// // Criacao...........: 06/2014 // Sistema...........: Loja Virtual // Analistas.........: <NAME> & <NAME> // Desenvolvedores...: <NAME> & <NAME> // Copyright.........: <NAME> & <NAME> //////////////////////////////////////////////////////...
Storage.cs
ThomasGoetzmann/code4life
0
7056029
<gh_stars>0 using System; using System.Collections.Generic; using Molecule = Molecules.Type; public class Storage : Dictionary<Molecule, int> { private Dictionary<Molecule, int> storage; public Storage() { storage = Initialize(); } private Dictionary<Molecule, int> Initialize() { ...
xt-net-web/Task05/BackupSystem.cs
RayHammer/xt-net-web
0
7056030
<filename>xt-net-web/Task05/BackupSystem.cs using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Threading; namespace Task05 { class BackupSystem { public static readonly string BACKUP_DIRECTORY = ".backup"; publ...
tvn-cosine.ai/tvn-cosine.ai/util/math/geom/shapes/Rect2D.cs
itoledo/Birdie.Tesseract
0
7056031
using tvn.cosine.ai.util.math.geom.shapes.api; namespace tvn.cosine.ai.util.math.geom.shapes { /** * This class : a rectangle in a two-dimensional Cartesian plot that has its edges parallel to the axis of the plot.<br/> * With this condition fast operations are possible for ray-casting and point-inside-...
MetCounterService/UnitTests/WindowsMetServiceTest/JsonConv.cs
possibility022/CopyMachineCounterService
0
7056032
<reponame>possibility022/CopyMachineCounterService<filename>MetCounterService/UnitTests/WindowsMetServiceTest/JsonConv.cs using System; using System.Text; using System.Collections.Generic; using System.IO; using System.Linq; using WindowsMetService; using Microsoft.VisualStudio.TestTools.UnitTesting; using Newtonsoft....
WykazPodatnikow.Data/EntityItem.cs
m4rcelpl/WykazPodatnikow
8
7056033
using System.Runtime.Serialization; using System.Text; namespace WykazPodatnikow.Data { /// <summary> /// /// </summary> [DataContract] public class EntityItem { /// <summary> /// Gets or Sets Subject /// </summary> [DataMember(Name = "subject", EmitDefaultValue ...
src/test/TestObjects/CustomActivities/AddContextProperty.cs
OIgnat/corewf
4
7056034
<filename>src/test/TestObjects/CustomActivities/AddContextProperty.cs // This file is part of Core WF which is licensed under the MIT license. // See LICENSE file in the project root for full license information. using System; using CoreWf; using Test.Common.TestObjects.Activities; using System.Collections.Generic; n...
main/external/dev/Server/MS.Portal/Views/Common/FeedbackView.cshtml
cityscapesc/specobs
0
7056035
@using Microsoft.Spectrum.Portal.Helpers @model Microsoft.Spectrum.Portal.Models.FeedbackViewModel @*@{ ViewBag.Title = "FeedbackView"; Layout = "~/Views/Shared/_Layout.cshtml"; }*@ @section Left { <div id="homeLPane" class="content"> <div class="title"> <h2>Fe...
CSharp Web Development Basics/SIS - SoftUni Information Services - Exercises/CakeApp/ViewModels/Home/SearchViewModel.cs
stoyanovmiroslav/CSharp-Web
3
7056036
<filename>CSharp Web Development Basics/SIS - SoftUni Information Services - Exercises/CakeApp/ViewModels/Home/SearchViewModel.cs<gh_stars>1-10 using System; using System.Collections.Generic; using System.Text; namespace CakeApp.ViewModels.Home { public class SearchViewModel { public string Search { g...
xTask/Tasks/UnknownTask.cs
JeremyKuhne/MacIO
1
7056037
<reponame>JeremyKuhne/MacIO<filename>xTask/Tasks/UnknownTask.cs // Copyright (c) <NAME>. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace xTask.Tasks; /// <summary> /// Help for unknown commands. /// </summary> public class UnknownT...
SharpMapExec/Helpers/PsFunction.cs
lunarobliq/SharpMapExec
1
7056038
using System; using System.Collections.Generic; using System.IO; using System.Text; namespace SharpMapExec.Helpers { internal class PsFunction { public static string ImpersonateSystem(string command = "[System.Security.Principal.WindowsIdentity]::GetCurrent()") { string function = ...
02.ProgrammingFundamentalsC#/02.DataTypesAndVariables/07.Greeting/Greeting.cs
V-Uzunov/Soft-Uni-Education
3
7056039
using System; class Greeting { static void Main() { var firstName = Console.ReadLine(); var lastName = Console.ReadLine(); var age = byte.Parse(Console.ReadLine()); Console.WriteLine($"Hello, { firstName } { lastName }. You are { age } years old."); } }
resources/pro-csharp-7-master/Chapter_34/AutoLotAPI_Core2/AutoLotDAL_Core2/Repos/IRepo.cs
6e3veR6k/codewars-csharp
0
7056040
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq.Expressions; namespace AutoLotDAL_Core2.Repos { public interface IRepo<T> { int Add(T entity); int Add(IList<T> entities); int Update(T entity); int Update(IList<T> entities); int Delete(int i...
CustomSpawnPositions/Commands/ListItems.cs
VirtualBrightPlayz/EXILEDCustomSpawns
0
7056041
<filename>CustomSpawnPositions/Commands/ListItems.cs using CommandSystem; using HarmonyLib; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace VirtualBrightPlayz.SCPSL.CustomSpawnPositions.Commands { [CommandHandler(typeof(RemoteAdminComma...
Flaky.Sources/Sources/Notes/ValueAsNote.cs
gnhdnb/Flaky
9
7056042
using System; using System.Collections.Generic; using System.Text; namespace Flaky { public class ValueAsNote : NoteSource, IPipingSource<ISource> { private State state; private ISource source; private int multipliter; internal ValueAsNote(int multipliter, string id) : base(id) { this.multipliter = mu...
ViennaAdvantageWeb/ModelLibrary/Login/LoginProcess.cs
eric-erki/ERP-CMR-DMS
45
7056043
using System; using System.Collections.Generic; using System.Linq; using System.Text; using VAdvantage.Common; using VAdvantage.Classes; using VAdvantage.Model; using VAdvantage.DataBase; using System.Data; using VAdvantage.Utility; using System.Data.SqlClient; namespace VAdvantage.Login { public class LoginPro...
Code/experiences/nostalgicConsole/NostalgicConsoleCtrl.cs
ASofterSpace/vrBase
1
7056044
/** * Unlicensed code created by A Softer Space, 2019 * www.asofterspace.com/licenses/unlicense.txt */ using System.Collections.Generic; using System.Collections; using System; using UnityEngine; public class NostalgicConsoleCtrl : UpdateableCtrl, ResetteableCtrl { private MainCtrl mainCtrl; private GameObj...
Geomethod.SqlServer/SqlServerBackup.cs
AlexAbramov/geomethod
0
7056045
<reponame>AlexAbramov/geomethod using System; using System.Collections.Generic; using System.Text; using System.Data.SqlClient; using Microsoft.SqlServer.Management.Common; using Microsoft.SqlServer.Management.Smo; namespace Geomethod.SqlServer { // public delegate void PercentComplete(object source, PercentComplet...
sdk/dotnet/ObjectStorage/ObjectstorageBucket.cs
EladGabay/pulumi-oci
5
7056046
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** using System; using System.Collections.Generic; using System.Collections.Immutable; using System.Threading.Tasks; using Pulumi.Serialization; names...
PlatformAgileFrameworkCore/PlatformAgileFrameworkCoreStandard/FrameworkServices/PAFServiceExtended.cs
Platform-Agile-Software/PAF-Community
0
7056047
//@#$&+ // //The MIT X11 License // //Copyright (c) 2019 Icucom Corporation // //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 ri...
Source/BoardGameOnline/Game/Settings/Config.cs
yuriusV/BoardGamesOnline
0
7056048
<filename>Source/BoardGameOnline/Game/Settings/Config.cs<gh_stars>0 using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Media; namespace Game.Settings { public class Config { private stat...
MainLoop/MTask.cs
Git0Shuai/MainLoopAsync
0
7056049
<reponame>Git0Shuai/MainLoopAsync using System.Runtime.CompilerServices; namespace NSMainLoop { [AsyncMethodBuilder(typeof(MTaskMethodBuilder))] public class MTask { public bool IsComplete { get; protected set; } = false; private MAwaiter awaiter; public MAwaiter GetAwaiter() ...
Brickster/V1/Clan.cs
TENEIDAE/Brickster
0
7056050
using Brickster.Data; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Text; using System.Threading.Tasks; namespace Brickster.V1 { public class Clan //https://api.brick-hill.com/v1/clan/ranks?id=1 { public strin...
src/EA.Weee.Web/App_Start/FilterConfig.cs
uk-gov-mirror/defra.prsd-weee
2
7056051
<gh_stars>1-10 namespace EA.Weee.Web { using EA.Weee.Web.Services; using Filters; using Infrastructure; using Prsd.Core.Web.Mvc.Filters; using System.Web.Mvc; public class FilterConfig { public static void RegisterGlobalFilters(GlobalFilterCollection filters, IAppConfiguration ...
FashionStore/FashionStore/Areas/Admin/Models/AuthController.cs
nguyenthienthanh/FashionStore
0
7056053
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using FashionStore.Areas.Admin.Models; namespace FashionStore.Areas.Admin.Models { public class AuthController : ActionFilterAttribute { private List<string> GetPermission(int groupID...
src/LogView/Converters/ObjectToStyleConverter.cs
Aldwych-Controls/Aldwych.LogView
1
7056054
<reponame>Aldwych-Controls/Aldwych.LogView using Avalonia.Data.Converters; using Avalonia.Styling; using System; using System.Globalization; namespace Aldwych.Logging.Converters { public class ObjectToStyleConverter : IValueConverter { public object Convert(object value, Type targetType, object parame...
Assets/Moe Baker/Moe Tools/Standalone/Utility/Processing/ModuleFramework.cs
EZKATKAGAMES/OnePunchMang
38
7056055
<reponame>EZKATKAGAMES/OnePunchMang using System; using System.IO; using System.Linq; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.SceneManagement; using UnityEngine.AI; #if UNITY_EDITOR using UnityEditor; using UnityEditorInternal; #endif us...
src/Core/Application/BoxOffice.Application/Producers/Commands/Create/CreateProducerCommandValidator.cs
rameshwky/BoxOffice
0
7056056
using FluentValidation; using System; namespace BoxOffice.Application.Producers.Commands.Create { public class CreateProducerCommandValidator : AbstractValidator<CreateProducerCommand> { public CreateProducerCommandValidator() { RuleFor(x => x.Producer).NotNull(); RuleF...
AoLibs.Sample.Shared/Statics/ResourceLocator.cs
piotrojrzynski1/AoLibs
0
7056057
using System; using System.Collections.Generic; using System.Text; using AoLibs.Adapters.Core.Interfaces; using AoLibs.Sample.Shared.BL; using AoLibs.Sample.Shared.Interfaces; using Autofac; using Autofac.Core; namespace AoLibs.Sample.Shared.Statics { public static class ResourceLocator { private stat...
Assets/Content/Items/Functional/Parts/Power Cells/PowerCellProperties.cs
Ju5raj/SS3D
162
7056058
<gh_stars>100-1000 using UnityEngine; using SS3D.Engine.Inventory; namespace SS3D.Content.Items.Functional.Generic.PowerCells { [CreateAssetMenu(fileName = "Power Cell Properties", menuName = "Power/Power Cell Properties", order = 0)] public class PowerCellProperties : ScriptableObject { [Serialize...
CodeBinder.CLang/CLangModuleContext.cs
ceztko/CodeBinder
0
7056059
// Copyright(c) 2020 <NAME> // This file is subject to the MIT license using CodeBinder.Shared; using Microsoft.CodeAnalysis.CSharp.Syntax; using System; using System.Collections.Generic; using System.Text; namespace CodeBinder.CLang { public abstract class CLangModuleContext : TypeContext<CLangModuleCo...