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 |
|---|---|---|---|---|
CodeLab1_Week10/Assets/Scripts/Loader.cs | paosalcedo/pls306_CodeLab1_WK10HW | 0 | 7026369 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Loader : MonoBehaviour {
GameObject[] asteroids;
// Use this for initialization
// GameObject[] spheres;
void Start ()
{
AsteroidData loadAD = new AsteroidData ("Asteroid.txt");
// print(loadAD.position);
// prin... |
src/SFA.DAS.Campaign.Web/Controllers/Redesign/HubController.cs | SkillsFundingAgency/das-campaign | 3 | 7026370 | <gh_stars>1-10
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using SFA.DAS.Campaign.Infrastructure.Api.Queries;
namespace SFA.DAS.Campaign.Web.Controllers.Redesign
{
public class HubController : Controller
{
private readonly IMediator _mediator;
... |
ToxDialog/TDialog.cs | Toxaris-NL/ToxDialog | 0 | 7026371 | using System;
using System.Windows.Forms;
namespace ToxDialog
{
/// <summary>
/// Displays a Vista-like message box or task dialog that can contain text, buttons, symbols and other elements that inform and instruct the user.
/// </summary>
public sealed class TDialog
{
#region Messagebox
... |
src/AddIns/Misc/Reporting/ICSharpCode.Reporting.Addin/src/Dialogs/ExpressionEditor.cs | TetradogOther/SharpDevelop | 2 | 7026372 | /*
* Created by SharpDevelop.
* User: <NAME>
* Date: 11.05.2014
* Time: 18:37
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.ComponentModel;
using System.Drawing.Design;
using System.Windows.Forms;
using ICSharpCode.Reports.Core.Dialogs;
namespa... |
SkyCommerce.Loja/SkyCommerce.Domain/Extensions/FreteExtensions.cs | phillrog/curso-is4 | 0 | 7026373 | using SkyCommerce.Models;
using System.Collections.Generic;
using System.Linq;
using SkyCommerce.ViewObjects;
namespace SkyCommerce.Extensions
{
public static class FreteExtensions
{
public static Frete Modalidade(this IEnumerable<Frete> fretes, string modalidade) =>
fretes.FirstOrDefault(... |
KMS/Admin/Year.aspx.cs | juuliusJuul/AppealWeb | 0 | 7026374 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
//using System.Windows.Forms;
public partial class Admin_Year : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
S... |
api/Entities/Relationships/MaterialWorkOrder.cs | marqueone/time-and-materials | 0 | 7026375 | using System.ComponentModel.DataAnnotations.Schema;
namespace Marqueone.TimeAndMaterials.Api.Entities.Relationships
{
[Table(name: "material_work_order")]
public class MaterialWorkOrder
{
public int MaterialId { get; set; }
public virtual Material Material { get; set; }
public int W... |
src/Echo/Echo.Server/Program.cs | Caskia/DotNetty-Practice | 0 | 7026376 | <reponame>Caskia/DotNetty-Practice
using DotNetty.Codecs;
using DotNetty.Codecs.Mqtt;
using DotNetty.Common.Internal.Logging;
using DotNetty.Handlers.Logging;
using DotNetty.Transport.Bootstrapping;
using DotNetty.Transport.Channels;
using DotNetty.Transport.Libuv;
using Echo.Codecs;
using Microsoft.Extensions.Logging... |
aspnet-core/src/Azmoon.Application.Shared/Mappings/Converters/CreateUpdateQuestionConverter.cs | mahdighorbanpour/Azmoon | 0 | 7026377 | <filename>aspnet-core/src/Azmoon.Application.Shared/Mappings/Converters/CreateUpdateQuestionConverter.cs
using AutoMapper;
using Azmoon.Application.Shared.Quiz.Questions.Dto;
using Azmoon.Core.Quiz.Entities;
using System;
using System.Linq;
namespace Azmoon.Application.Shared.Mappings.Converters
{
public class Cr... |
connect-sdk-dotnet/Ingenico/Connect/Sdk/Domain/Definitions/RedirectDataBase.cs | AlexXx777/connect-sdk-dotnet | 29 | 7026378 | /*
* This class was auto-generated from the API references found at
* https://epayments-api.developer-ingenico.com/s2sapi/v1/
*/
using Newtonsoft.Json;
namespace Ingenico.Connect.Sdk.Domain.Definitions
{
public class RedirectDataBase
{
[JsonProperty(PropertyName = "RETURNMAC")]
public string... |
LitleW/Views/MasterDetail/MyMasterDetailPageMenuItem.cs | frs535/LitleW | 1 | 7026379 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LitleW.Views.MasterDetail
{
public class MyMasterDetailPageMenuItem
{
public MyMasterDetailPageMenuItem()
{
TargetType = typeof(MyMasterDetai... |
src/ComputeSharp/Core/Primitives/Int/Int2.g.cs | Avid29/ComputeSharp | 0 | 7026380 | using System;
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if !NET6_0_OR_GREATER
using RuntimeHelpers = ComputeSharp.NetStandard.System.Runtime.CompilerServices.RuntimeHelpers;
using MemoryMarshal = ComputeSharp.NetStandard.System.Runtime.InteropServices.Mem... |
SharpHook.Sample/Program.cs | pikokr/SharpHook | 0 | 7026381 | namespace SharpHook.Sample;
using System;
using System.IO;
using System.Reactive.Linq;
using System.Reflection;
using System.Threading.Tasks;
using SharpHook.Native;
using SharpHook.Reactive;
public static class Program
{
private static async Task Main()
{
Directory.SetCurrentDirectory(
P... |
src/Microsoft.TestPlatform.ObjectModel/Adapter/Interfaces/ITestLog.cs | ntovas/vstest | 480 | 7026382 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;
#nullable disable
namespace Microsoft.VisualStudio.TestP... |
EntityFrameWorkIniciante/Introducao/Curso/Data/ApplicationContext.cs | leozim/Entity-Framework-Iniciante | 0 | 7026383 | <reponame>leozim/Entity-Framework-Iniciante
using CursoEFCore.Domain;
using Microsoft.EntityFrameworkCore;
namespace CursoEFCore.Data
{
public class ApplicationContex : DbContext
{
public DbSet<Pedido> Pedidos { get; set; }
public DbSet<Produto> Produtos { get; set; }
public Db... |
WPFAIReportCheck/MainWindow/MainWindow.CheckForUpdate.xaml.cs | zjkl19/WPFAIReportCheck | 0 | 7026384 | using Aspose.Words;
using Microsoft.WindowsAPICodePack.Dialogs;
//using log4net;
//using log4net.Repository;
using Ninject;
using System.Windows;
namespace WPFAIReportCheck
{
public partial class MainWindow : Window
{
private void CheckForUpdateButton_Click(object sender, RoutedEventArgs e)
... |
src/CoreApi/RepositoryData.cs | wforney/net-ipfs-core | 0 | 7026385 | namespace Ipfs.CoreApi;
/// <summary>
/// The statistics for <see cref="IStatsApi.RepositoryAsync" />.
/// </summary>
public class RepositoryData
{
/// <summary>
/// The number of blocks in the repository.
/// </summary>
/// <value>The number of blocks in the <see cref="IBlockRepositoryApi">... |
source/Infrastructure/Azure/Infrastructure.Azure.IntegrationTests/SendReceiveIntegration.cs | gmelnik/cqrs-journey-code | 2 | 7026386 | // ==============================================================================================================
// Microsoft patterns & practices
// CQRS Journey project
// ==============================================================================================================
// ©2012 Microsoft. All right... |
Assets/TriggerLights.cs | gregklw/inlustris-src | 0 | 7026387 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TriggerLights : MonoBehaviour {
public float targetIntensity;
private IEnumerator GraduallyTurnOnLights()
{
while (true)
{
bool allLightsOn = true;
foreach (Transform light... |
Programming Fundamentals/15. Regular-Expressions-RegEx/03. Word encounter/Program.cs | NikolaySpasov/Softuni | 0 | 7026388 | <reponame>NikolaySpasov/Softuni<filename>Programming Fundamentals/15. Regular-Expressions-RegEx/03. Word encounter/Program.cs
namespace Word_encounter
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
public class WordEncounter
{
... |
X10D.Performant/src/ReExposed/StringExtensions/System.Bool.cs | rubiksmaster02/X10D | 0 | 7026390 | <reponame>rubiksmaster02/X10D
namespace X10D.Performant.ReExposed;
[SuppressMessage("ReSharper", "UnusedMember.Global")]
[SuppressMessage("ReSharper", "UnusedType.Global")]
public static partial class StringExtensions
{
/// <inheritdoc cref="bool.Parse(string)"/>
public static bool ToBool(this string value)
... |
client_packages/cs_packages/character/Selector.cs | Test83318/Downtown-RAGE | 0 | 7026391 | <reponame>Test83318/Downtown-RAGE
using System;
using System.Collections.Generic;
using System.Text;
using RAGE;
using RAGE.Game;
namespace DowntownRP_cs.character
{
public class Selector : Events.Script
{
private static RAGE.Ui.HtmlWindow selectorBrowser;
public Selector()
{
... |
CloudRoboticsDefTool/CloudRoboticsDefTool/DeviceGroupProcessor.cs | seijim/cloud-robotics-fx-v3 | 8 | 7026392 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Data;
namespace CloudRoboticsDefTool
{
public class DeviceGroupProcessor
{
private string sqlConnectionString;
public DeviceGroupProcessor(string sqlConnectionString)
{
... |
TDLib.Api/Functions/GetFileExtension.cs | dancojocaru2000/tdsharp | 156 | 7026393 | <filename>TDLib.Api/Functions/GetFileExtension.cs
using System;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace TdLib
{
/// <summary>
/// Autogenerated TDLib APIs
/// </summary>
public static partial class TdApi
{
/// <summary>
/// Returns the extension of a file, gue... |
Notifications.Wpf.Core.Caliburn.Micro.Sample/Bootstrapper.cs | Mgamerz/Notifications.Wpf.Core | 36 | 7026394 | using Caliburn.Micro;
using Notifications.Wpf.Core.Caliburn.Micro.Sample.ViewModels;
using System;
using System.Collections.Generic;
using System.Timers;
using System.Windows;
namespace Notifications.Wpf.Core.Caliburn.Micro.Sample
{
public class Bootstrapper : BootstrapperBase
{
private readonly Simpl... |
Source/Ra2Bunker/PlaceWorker_ShowBunkerRadius.cs | emipa606/Ra2Bunker | 0 | 7026395 | using UnityEngine;
using Verse;
namespace Ra2Bunker
{
public class PlaceWorker_ShowBunkerRadius : PlaceWorker
{
public override void DrawGhost(ThingDef def, IntVec3 center, Rot4 rot, Color ghostCol, Thing thing = null)
{
_ = Find.CurrentMap;
GenDraw.DrawFieldEdges(Toils... |
ldap/LdapCompareResponse.cs | zivillian/ldap.net | 6 | 7026396 | using zivillian.ldap.Asn1;
namespace zivillian.ldap
{
public class LdapCompareResponse : LdapResponseMessage
{
internal LdapCompareResponse(Asn1LdapMessage message)
: base(message.ProtocolOp.CompareResponse, message)
{
}
internal override void SetProtocolOp(Asn1Pro... |
ParkingBill/Ticket.cs | psid23/ParkingBill | 0 | 7026397 | /*
You parked your car in a parking lot and want to compute the total cost of the ticket.
The billing rules are as follows:
The entrance fee of the car parking lot is 2;
The first full or partial hour costs 3;
Each successive full or partial hour (after the first) costs 4.
You entered the car... |
Xamarin/SampleXamarin.Common/AccountDetails.cs | rajneeshpandey433/azure-spatial-anchors-samples | 258 | 7026398 | <gh_stars>100-1000
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
namespace SampleXamarin
{
public static class AccountDetails
{
/// <summary>
/// The Azure Spatial Anchors account identifier.
/// </summary>
/// <remarks>
... |
Assets/Scripts/Stubs/Generated/Assembly-CSharp-firstpass/UnityBishamon/Native/UpdateArgument.cs | tech-ticks/RTDXTools | 1 | 7026400 | <filename>Assets/Scripts/Stubs/Generated/Assembly-CSharp-firstpass/UnityBishamon/Native/UpdateArgument.cs
/*
* Generated code file by Il2CppInspector - http://www.djkaty.com - https://github.com/djkaty
*/
using System;
using System.Diagnostics;
using System.Runtime.CompilerServices;
// Image 45: Assembly-CSharp-fi... |
Game/Events/SetCombatDelayEvent.cs | mrwillbarnz/ualbion | 0 | 7026401 | <filename>Game/Events/SetCombatDelayEvent.cs
using UAlbion.Api;
namespace UAlbion.Game.Events
{
[Event("set_combat_delay")]
public class SetCombatDelayEvent : GameEvent
{
public SetCombatDelayEvent(int value)
{
Value = value;
}
[EventPart("value")]
publ... |
Module 1/[03] CSharp OOP/[exams] C# OOP/TelerikAcademy[100]/Academy/Models/Lecture.cs | VProfirov/Telerik-Academy-BetaRun | 0 | 7026402 | using Academy.Models.Contracts;
using Academy.Models.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Academy.Models
{
public class Lecture : ILecture
{
private string name;
private ITrainer trainer;
p... |
tests/Tests.Jeebs.Data/- Test Abstracts -/QueryPartsBuilder/AddInnerJoin_Tests.cs | bencgreen/jeebs | 3 | 7026403 | <filename>tests/Tests.Jeebs.Data/- Test Abstracts -/QueryPartsBuilder/AddInnerJoin_Tests.cs
// Jeebs Unit Tests
// Copyright (c) bfren.uk - licensed under https://mit.bfren.uk/2013
using Xunit;
namespace Jeebs.Data.Querying.QueryPartsBuilder_Tests
{
public abstract class AddInnerJoin_Tests<TBuilder, TId> : QueryPar... |
DotNet/DotNet/UE4/Generated/Engine/InterpGroupInst.cs | UE4DotNet/Plugin | 2 | 7026404 | <reponame>UE4DotNet/Plugin<filename>DotNet/DotNet/UE4/Generated/Engine/InterpGroupInst.cs
// Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE... |
UnLighted/MotionBlurObject.cs | k3min/UnLighted | 1 | 7026405 | <gh_stars>1-10
using UnityEngine;
namespace UnLighted
{
[AddComponentMenu(""), RequireComponent(typeof(MeshFilter), typeof(MeshRenderer))]
public class MotionBlurObject : MonoBehaviour
{
private Vector3 prvPos;
private Quaternion prvRot;
private Matrix4x4 prvMVP;
private Matrix4x4 MVP;
private Mesh mesh;... |
ZGAF_ACT2_3P/ZGAF_ACT2_3P/Controller/ControllerMedicamento.cs | FabricioZAGA/programacion-entornos-visuales-issc | 0 | 7026406 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZGAF_06.Db;
using ZGAF_ACT2_3P.Model;
using System.Windows;
namespace ZGAF_ACT2_3P.Controller
{
public class ControllerMedicamento
... |
Zombie/Program.cs | Lazcse/Zombie | 0 | 7026407 |
namespace Zombie
{
class Program
{
static void Main(string[] args)
{
var app = new Application();
app.Run();
}
}
}
|
DuplicateSheets/DuplicateSheets.cs | NiWeiNi/BIMiconToolbar | 11 | 7026408 | <gh_stars>10-100
using Autodesk.Revit.Attributes;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI;
using System.Collections.Generic;
using System.Linq;
namespace BIMiconToolbar.DuplicateSheets
{
[TransactionAttribute(TransactionMode.Manual)]
class DuplicateSheets : IExternalCommand
{
public Resul... |
HairSalon/Views/Shared/NavBar.cshtml | fetonecontrol/Salon | 0 | 7026409 | <div class="nav-bar-container">
<nav class="navbar navbar-expand-sm bg-light navbar">
<ul class="navbar-nav">
<li class="nav-item" onclick="location.href='@Url.Action("Index", "Home")'">
<div class ="weHateRazorStyling">
<a class="nav-link">Home</a>
</div>
</li>
<li class="na... |
src/Microsoft.Extensions.ML/ModelLoaders/FileModelLoader.cs | rounakc2k/machinelearning | 1 | 7026410 | <filename>src/Microsoft.Extensions.ML/ModelLoaders/FileModelLoader.cs
// 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 System;
using System.Diagnostics;
using... |
src/Bet.Extensions.LetsEncrypt/Account/IAcmeContextClientFactory.cs | mlnethub/Bet.AspNetCore | 2 | 7026412 | using System.Threading;
using System.Threading.Tasks;
using Certes;
namespace Bet.Extensions.LetsEncrypt.Account
{
public interface IAcmeContextClientFactory
{
Task<IAcmeContext> GetContext(string named, CancellationToken cancellationToken);
}
}
|
Framework/DragonSpark/Aspects/Relay/Descriptor.cs | DragonSpark/VoteReporter | 0 | 7026413 | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using DragonSpark.Activation;
using DragonSpark.Aspects.Build;
using DragonSpark.Extensions;
using DragonSpark.Sources.Parameterized;
using DragonSpark.TypeSystem;
using PostSharp.Aspects;
namespace DragonSpark.Aspe... |
src/Skybrud.Umbraco.GridData/Config/GridEditorMediaConfigSize.cs | nvisage-gf/Skybrud.Umbraco.GridData | 0 | 7026414 | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Skybrud.Umbraco.GridData.Extensions.Json;
using Skybrud.Umbraco.GridData.Json;
namespace Skybrud.Umbraco.GridData.Config {
/// <summary>
/// Class describing the desired size of a media (image).
/// </summary>
public class GridEditorMediaCo... |
NdisApiDotNet/Native/NdisApi/NdisApi.IP_V6_FILTER.cs | ntkernelcom/ndisapi.net | 12 | 7026415 | // ----------------------------------------------
// <copyright file="NdisApi.IP_V6_FILTER.cs" company="NT Kernel">
// Copyright (c) 2000-2018 NT Kernel Resources / Contributors
// All Rights Reserved.
// http://www.ntkernel.com
// <EMAIL>
// </copyright>... |
Entity Framework Core - October 2019/09. XML Processing/ProductShop/StartUp.cs | MertYumer/C-DB---September-2019 | 0 | 7026416 | <reponame>MertYumer/C-DB---September-2019
namespace ProductShop
{
using AutoMapper;
using Data;
using Dtos.Import;
using Models;
using Dtos.Export;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml.Serialization;
using AutoM... |
src/Modules/GraphEngine.DynamicCluster/Trinity.Azure.Storage.Test/PersistentStorageLoadTest.cs | erinloy/GraphEngine | 370 | 7026417 | <filename>src/Modules/GraphEngine.DynamicCluster/Trinity.Azure.Storage.Test/PersistentStorageLoadTest.cs<gh_stars>100-1000
using System;
using System.Linq;
using System.Reflection;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Trinity.DynamicCluster.Persistency;
using Trinity.Utilities;
namespace Trinity... |
sdk/synapse/Azure.Analytics.Synapse.Artifacts/src/Generated/Models/SqlPoolStoredProcedureActivity.cs | frank-pang-msft/azure-sdk-for-net | 3,268 | 7026418 | <reponame>frank-pang-msft/azure-sdk-for-net
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure.Core;
namespace Azure.Analytics.Synapse.Artifacts.Models
{
/// <summary> ... |
android/generated/java/lang/ClassCastException.cs | gordonjohnpatrick/XobotOS | 263 | 7026419 | <filename>android/generated/java/lang/ClassCastException.cs
using Sharpen;
namespace java.lang
{
/// <summary>
/// Thrown when a program attempts to cast a an object to a type with which it is
/// not compatible.
/// </summary>
/// <remarks>
/// Thrown when a program attempts to cast a an object to a type with w... |
src/ResourceManagement/Batch/Domain/BatchAccount/Update/IUpdate.cs | abharath27/azure-libraries-for-net | 1 | 7026420 | <filename>src/ResourceManagement/Batch/Domain/BatchAccount/Update/IUpdate.cs<gh_stars>1-10
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.Management.Batch.Fluent.BatchAccount.Update
{
... |
TrayConsoleDemo/Extension/ENotifyIcon.cs | NeverSinkDev/Csharp-Newproj-Templates | 1 | 7026421 | using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
namespace TrayConsoleDemo.Extension
{
public static class ENotifyIcon
{
public static void ShowBalloonMessage(this NotifyIcon icon, string title, string message, int duration = 3000)
{
ic... |
Assets/DirectrionalButtonScripty.cs | eXish/Directional-Button | 0 | 7026422 | <reponame>eXish/Directional-Button
using System.Collections;
using System.Text.RegularExpressions;
using UnityEngine;
public class DirectrionalButtonScripty : MonoBehaviour {
public KMAudio Audio;
public KMColorblindMode CB;
static int moduleIdCounter = 1;
int moduleID;
private int Presses = 0;
private boo... |
1.3/Source/ESCP_RaceTools/ESCP_RaceTools/LeatherThoughtWorkers/ThoughtWorker_AkaviriLeatherApparel.cs | SirMashedPotato/ESCP-Race_Tools | 2 | 7026423 | using RimWorld;
using Verse;
using System.Collections.Generic;
//Big thanks to Razza for letting me use MorrowRim Leather Thoughts as a base
namespace ESCP_RaceTools
{
class ThoughtWorker_AkaviriLeatherApparel : ThoughtWorker
{
public static ThoughtState CurrentThoughtState(Pawn p)
{
//settings check
... |
Src/Core/Studio.Application/Addresses/Commands/Update/UpdateAddressCommandHandler.cs | VeselinBPavlov/studioto.bg | 0 | 7026424 | namespace Studio.Application.Addresses.Commands.Update
{
using System;
using System.Threading;
using System.Threading.Tasks;
using Common;
using Domain.ValueObjects;
using Exceptions;
using Interfaces.Persistence;
using MediatR;
using Microsoft.EntityFrameworkCore;
public class... |
C# Fundamentals/06_ObjectsAndClasses/Exercises/03_Articles2.0/Program.cs | q2kPetrov/SoftUni | 4 | 7026425 | <filename>C# Fundamentals/06_ObjectsAndClasses/Exercises/03_Articles2.0/Program.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
namespace Articles2_0
{
class Program
{
static void Main()
{
int number = int.Parse(Console.ReadLine());
... |
src/Dfe.Spi.UkrlpAdapter.Domain/UkrlpApi/IUkrlpApiClient.cs | DFE-Digital/spi-ukrlp-adapter | 0 | 7026426 | using System;
using System.Threading;
using System.Threading.Tasks;
namespace Dfe.Spi.UkrlpAdapter.Domain.UkrlpApi
{
public interface IUkrlpApiClient
{
Task<Provider> GetProviderAsync(long ukprn, CancellationToken cancellationToken);
Task<Provider[]> GetProvidersAsync(long[] ukprns, Cancellatio... |
src/Ascom.Alpaca.Client/Devices/ObservingConditionsCommand.cs | elendil-software/ASCOM.Alpaca.Client.Toolkit | 2 | 7026427 | <reponame>elendil-software/ASCOM.Alpaca.Client.Toolkit<filename>src/Ascom.Alpaca.Client/Devices/ObservingConditionsCommand.cs
namespace ES.Ascom.Alpaca.Client.Devices
{
internal enum ObservingConditionsCommand
{
AveragePeriod,
CloudCover,
DewPoint,
Humidity,
Pressure,
... |
PanCardView/Enums/AnimationDirection.cs | AlfredoSolisFrausto/CardView | 0 | 7026428 | namespace PanCardView.Enums
{
public enum AnimationDirection
{
Prev = -1,
Current = 0,
Next = 1,
Null = 999 // No backView selected
}
} |
src/app/ApplicationTemplate.Shared/Presentation/Diagnostics/ExceptionsDiagnosticsViewModel.cs | MatFillion/UnoApplicationTemplate | 0 | 7026429 | using System;
using System.Threading;
using System.Threading.Tasks;
using Chinook.DynamicMvvm;
using Nventive.MessageDialog;
using Windows.UI.Core;
namespace ApplicationTemplate
{
public class ExceptionsDiagnosticsViewModel : ViewModel
{
public IDynamicCommand TestErrorInCommand => this.GetCommand(() =>
{
th... |
Source/Tests/Trakt.NET.Objects.Get.Tests/Users/Json/Reader/UserSettingsObjectJsonReader/UserSettingsObjectJsonReader_Stream_Tests.cs | henrikfroehling/Trakt.NET | 39 | 7026430 | <reponame>henrikfroehling/Trakt.NET
namespace TraktNet.Objects.Get.Tests.Users.Json.Reader
{
using FluentAssertions;
using System;
using System.IO;
using System.Threading.Tasks;
using Trakt.NET.Tests.Utility;
using Trakt.NET.Tests.Utility.Traits;
using TraktNet.Objects.Get.Users;
using ... |
Bindings/Portable/Generated/ConstraintPulley2D.cs | Haukinger/urho | 502 | 7026431 | <reponame>Haukinger/urho
// WARNING - AUTOGENERATED - DO NOT EDIT
//
// Generated using `sharpie urho`
//
// ConstraintPulley2D.cs
//
// Copyright 2015 Xamarin Inc. All rights reserved.
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Urho.Urho2D;
using Urho.Gui;
using Urh... |
Editor/RemoveTagData.cs | vverum/Unity_BuildObjectRemover | 6 | 7026432 | <filename>Editor/RemoveTagData.cs
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace Vverum.Tools.BuildObjectRemover
{
[Serializable]
internal class RemoveTagData
{
public BuildTarget buildTarget = BuildTarget.NoTarget;
public bool enable;
... |
TradeBot/TradeBotAPI/Models/Constants.cs | Konigstiger/TradeBot | 0 | 7026433 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace TradeBotAPI.Models
{
public static class Constants
{
public static string number_type_name = "number";
public static string datetime_type_name = "datetimeV2.datetime";
public stat... |
CyclopsAutoZapper/QPatch.cs | Denkkar/PrimeSonicSubnauticaMods | 0 | 7026434 | <filename>CyclopsAutoZapper/QPatch.cs
namespace CyclopsAutoZapper
{
using System.Reflection;
using Common;
using Harmony;
public static class QPatch
{
public static void Patch()
{
QuickLogger.Info("Started patching " + QuickLogger.GetAssemblyVersion());
var... |
src/Batch/Client/Src/AsyncListSubtasks.cs | dnelly/azure-sdk-for-net | 0 | 7026435 | // Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by a... |
Apollo/Util/HttpContentExtensions.cs | kaanid/apollo.net | 0 | 7026436 | <reponame>kaanid/apollo.net<gh_stars>0
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Com.Ctrip.Framework.Apollo.Util
{
... |
SalesApp.Droid/Services/Device/AndroidInformation.cs | mkopadev/salesapp | 0 | 7026437 | using System;
using Android.Content.PM;
using Android.Util;
using SalesApp.Core.Services.Device;
namespace SalesApp.Droid.Services.Device
{
public class AndroidInformation : Information, IInformation
{
public AndroidInformation() : base()
{
}
public string DeviceAp... |
HoloXPLOR.Data/DataForge/AutoGen/UIGraph_Group.cs | dolkensp/HoloXPLOR | 21 | 7026438 | <filename>HoloXPLOR.Data/DataForge/AutoGen/UIGraph_Group.cs
using System;
using System.Xml.Serialization;
namespace HoloXPLOR.Data.DataForge
{
[XmlRoot(ElementName = "UIGraph_Group")]
public partial class UIGraph_Group : CtxGraph_Group
{
[XmlAttribute(AttributeName = "name")]
public String ... |
Xe.Tools.Components.AnimationEditor/ViewModels/WindowTexturesViewModel.cs | XeEngine/XeTools | 0 | 7026439 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using Xe.Game;
using Xe.Tools.Wpf;
namespace Xe.Tools.Components.AnimationEdito... |
Unianio_Framework_Project/Assets/Unianio_Framework/Unianio/Animations/Common/CycleAni.cs | vbodurov/unianio-framework | 2 | 7026440 | <gh_stars>1-10
using System;
using Unianio.Services;
namespace Unianio.Animations.Common
{
public class CycleAni : StateHolderAni
{
readonly TimeRange _time = new TimeRange();
float _seconds;
Action<float> _update;
Action<CycleAni, int> _cycleStarts;
int _cycleNumber;
... |
Media Inventory Manager/BestWebBuysDotCom.cs | davidgn/Prager-Software | 0 | 7026441 | <filename>Media Inventory Manager/BestWebBuysDotCom.cs
using System;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
using System.Windows.Forms;
namespace Media_Inventory_Manager
{
public class BestWebBuysDotCom // has no media inf... |
src/Workshell.PE/LocationCalculator.cs | Workshell/pe | 20 | 7026442 | <filename>src/Workshell.PE/LocationCalculator.cs
#region License
// Copyright(c) Workshell Ltd
//
// 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 w... |
src/Infrastructure/Authentication/RolesAuthorizationHandler.cs | mohamedelnagar1/MeowStory | 0 | 7026443 | <filename>src/Infrastructure/Authentication/RolesAuthorizationHandler.cs
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Authorization.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;
... |
src/History.Accessor.Contracts/IHistoryAccessor.cs | ByteRain0/NetTemplate | 0 | 7026444 | using System.Threading;
using System.Threading.Tasks;
using ExecutionPipeline.MediatRPipeline.ExceptionHandling;
using History.Accessor.Contracts.Commands;
using History.Accessor.Contracts.DTO_s;
using History.Accessor.Contracts.Queries;
namespace History.Accessor.Contracts
{
/// <summary>
/// Service methods... |
Kooboo.Dom/DomExtension/HtmlElementContentModel.cs | tenghui-kooboo/Kooboo | 296 | 7026445 | //Copyright (c) 2018 Yardi Technology Limited. Http://www.kooboo.com
//All rights reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Kooboo.Dom.Dom
{
public class HtmlElementContentModel
{
//http://www.w3.org/TR/html5/dom.html... |
misc/mono/src/wb/Slices/Slice.cs | waybuild/wb | 0 | 7026446 | <gh_stars>0
using System.Collections.Generic;
using System.Linq;
using wb.Utils;
namespace wb.Slices
{
public class Slice
{
public Slice(SemName semName, IList<string> lines)
{
SemName = semName;
SemVersion = new SemVersion(semName.VersionPart, semName.PreReleasePart);
... |
samples/news/News/ViewModels/FavoritesViewModel.cs | codechem/mobcat | 0 | 7026447 | using System.Linq;
using System.Threading.Tasks;
using News.Helpers;
using News.Models;
using News.Services.Abstractions;
using Xamarin.Forms;
namespace News.ViewModels
{
/// <summary>
/// Favorite news view model.
/// </summary>
public class FavoritesViewModel : BaseNewsViewModel
{
public... |
src/devices/Buzzer/samples/MelodyPlayer.cs | Rdlprmpf/iot | 1,662 | 7026448 | <filename>src/devices/Buzzer/samples/MelodyPlayer.cs<gh_stars>1000+
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
namespace Iot.Device.... |
External/Archive/FlashDebugger/FlexSDK/FlashDbg/Flash/Tools/Debugger/Events/FaultEvent.cs | Klug76/flashdevelop | 577 | 7026449 | ////////////////////////////////////////////////////////////////////////////////
//
// ADOBE SYSTEMS INCORPORATED
// Copyright 2003-2006 Adobe Systems Incorporated
// All Rights Reserved.
//
// NOTICE: Adobe permits you to use, modify, and distribute this file
// in accordance with the terms of the license ... |
src/Expressions.Splicer/Expr.cs | akritikos/Splicer | 8 | 7026450 | <reponame>akritikos/Splicer
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text;
namespace Nessos.Expressions.Splicer
{
public static class Expr
{
public static Expression<Func<T, bool>> True<T>()
{
return _ => true;
}
public static Expression<Func<T, bool>> F... |
UnityProject/Assets/Scripts/Core/Notifications.cs | zachvp/ZenMode | 0 | 7026451 | <filename>UnityProject/Assets/Scripts/Core/Notifications.cs
using System;
using UnityEngine;
using System.Collections.Generic;
// Responsible for defining delegates and events.
namespace Core
{
public delegate void EventHandler();
public delegate void EventHandler<EventArgs>(EventArgs args);
public static class N... |
src/NmeaParser.WinDesktop/SerialPortFixer.cs | 5e/NmeaParser | 0 | 7026452 | <reponame>5e/NmeaParser<filename>src/NmeaParser.WinDesktop/SerialPortFixer.cs
using System;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
using Microsoft.Win32.SafeHandles;
namespace NmeaParser
{
public class SerialPortFixer : IDisposable
{
public static void Execute(string... |
FeatureFlagsCo.APIs/FeatureFlags.APIs/Repositories/GenericRepository.cs | Lianghn/feature-flags-co | 0 | 7026453 | using FeatureFlags.APIs.Authentication;
using FeatureFlags.APIs.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace FeatureFlags.APIs.Repositories
{
public interface IGenericRepository
{
Task<List<T>> S... |
Mobile/ContosoFieldService.Core/Helpers/DummyData.cs | FrancisND/app-innovation-workshop | 144 | 7026454 | using System;
using System.Collections.ObjectModel;
using ContosoFieldService.Models;
using MvvmHelpers;
using ContosoFieldService.ViewModels;
using System.Linq;
using System.Collections.Generic;
namespace ContosoFieldService.Helpers
{
public static class DummyData
{
public static ObservableRangeColle... |
Assets/Scripts/OccupyNode.cs | JamesMarcil/GGJ18 | 0 | 7026455 | using UnityEngine;
public class OccupyNode : MonoBehaviour
{
public Node Current
{
get
{
return m_current;
}
set
{
Node previous = m_current;
m_current = value;
Node current = value;
if (previous)
... |
src/SharpVk/SparseImageFormatProperties.gen.cs | Y-Less/SharpVk | 0 | 7026456 | <reponame>Y-Less/SharpVk
// The MIT License (MIT)
//
// Copyright (c) <NAME>/FacticiusVir 2019
//
// 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 l... |
Write Model/WriteModel.Domain/CQRS/Exceptions/EventMissingIdException.cs | HaddadBenjamin/APIStarter | 0 | 7026457 | using System;
namespace WriteModel.Domain.CQRS.Exceptions
{
public class EventMissingIdException : Exception
{
public EventMissingIdException(Type aggregateType, Type eventType) :
base($"The event {eventType.FullName} don't have an id and come from the aggregate {aggregateType.Name}")
... |
src/MailCheck.Mx.TlsTester/Domain/TlsTestPending.cs | ukncsc/MailCheck.Public.Mx | 0 | 7026459 | <filename>src/MailCheck.Mx.TlsTester/Domain/TlsTestPending.cs
namespace MailCheck.Mx.TlsTester.Domain
{
public class TlsTestPending : Contracts.TlsEntity.TlsTestPending
{
public TlsTestPending(string id) : base(id)
{
}
public string ReceiptHandle { get; set; }
}
}
|
Donut3/Donut3/Donut3/Tests/Common/DDResourceTest.cs | stackprobe/Fairy | 0 | 7026460 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Charlotte.Common;
using Charlotte.Tools;
namespace Charlotte.Tests.Common
{
public class DDResourceTest
{
public void Test01()
{
ProcMain.WriteLog(Encoding.ASCII.GetString(DDResource.Load(@"Fairy\Donut3\Resource テスト用\... |
CloudDT.Shared/Pages/Ports.razor.cs | lixinyang123/CloudDT | 0 | 7026461 | <gh_stars>0
using BlazorFluentUI;
using CloudDT.Shared.Services;
using Microsoft.AspNetCore.Components;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CloudDT.Shared.Pages
{
public class PortsBase : ComponentBase
{
[Inject]
public ContainerService?... |
src/MahApps.Metro/Controls/SplitButton.cs | helloausrine/MahApps.Metro | 8,016 | 7026462 | // 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 System;
using System.ComponentModel;
using System.Windows;
using System.Windows.Controls;
using System.Window... |
Assets/Scripts/Map/Construct.cs | ThirdHandAlgorithms/VampireDrama | 0 | 7026463 | using UnityEngine;
namespace VampireDrama
{
public class Construct
{
public PossibleConstruct Template;
private float SpawnerCooldownTimer = 0;
public Construct(PossibleConstruct construct)
{
Template = new PossibleConstruct();
Template.LoadFrom(constru... |
src/SolidifyProject.Engine.Utils/Cache/LazyCache.cs | PBVK/engine | 1 | 7026464 | <gh_stars>1-10
using System;
using System.Collections.Concurrent;
using System.Threading.Tasks;
namespace SolidifyProject.Engine.Utils.Cache
{
public sealed class LazyCache<T> where T : class
{
public delegate Task<T> LoadToCacheAsyncDelegate(string key);
private readonly LoadToCacheAsyncDel... |
CP/Games/PickelCardGameCP/ViewModels/PickelCardGameShellViewModel.cs | musictopia2/GamingPackXV3 | 0 | 7026465 | namespace PickelCardGameCP.ViewModels;
public class PickelCardGameShellViewModel : BasicTrickShellViewModel<PickelCardGamePlayerItem>
{
public PickelCardGameShellViewModel(IGamePackageResolver mainContainer,
CommandContainer container,
IGameInfo gameData,
BasicData basicData,
IMultip... |
C# OOP/Extension-Methods-Delegates-Lambda-LINQ/First Before Last/Student.cs | EmilPopov/C-Sharp | 2 | 7026466 | <gh_stars>1-10
namespace First_Before_Last
{
public class Student
{
public string FirstName { get; set; }
public string LastName { get; set; }
public int Age { get; set; }
public Student(string firstName,string lastName,int age)
{
this.FirstName = firstName... |
Daeira/Extensions/SimdExtensions.cs | Dersei/Daeira | 0 | 7026467 | <reponame>Dersei/Daeira
using System;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;
using System.Runtime.Intrinsics.X86;
// Following methods are based on source code of .NET provided by .NET Foundation
namespace Daeira.Extensions
{
public static cla... |
ToDoListWeekSix/Migrations/UsersDb/20200611163845_AddNormalizedNameToSeededRoles.cs | cnickels21/ToDoListWeekSix | 0 | 7026468 | using Microsoft.EntityFrameworkCore.Migrations;
namespace ToDoListWeekSix.Migrations.UsersDb
{
public partial class AddNormalizedNameToSeededRoles : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.UpdateData(
table: "AspN... |
TSManager/Setting.xaml.cs | noriokun4649/TSManager | 3 | 7026469 | using Microsoft.WindowsAPICodePack.Dialogs;
using System.Windows;
namespace TSManager
{
/// <summary>
/// Setting.xaml の相互作用ロジック
/// </summary>
public partial class Setting : Window
{
public Setting()
{
InitializeComponent();
TVTestPath.Text = Properties.Set... |
Source/ED-ReverseCycleCooler/enumCoolerMode.cs | emipa606/EDReverseCycleCooler | 0 | 7026470 | <gh_stars>0
namespace EnhancedDevelopment.ReverseCycleCooler
{
// Token: 0x02000003 RID: 3
public enum enumCoolerMode
{
// Token: 0x04000009 RID: 9
Cooling,
// Token: 0x0400000A RID: 10
Heating,
// Token: <KEY> RID: 11
Auto
}
} |
BlackJacker/BlackJacker/MainWindow.xaml.cs | gogus4/BlackJacker | 0 | 7026471 | using BlackJacker.Model;
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 Syst... |
Kudu.Core/Infrastructure/StringExtensions.cs | shanselman/kudu | 2 | 7026472 | <filename>Kudu.Core/Infrastructure/StringExtensions.cs
using System;
using System.Globalization;
namespace Kudu.Core
{
public static class StringExtensions
{
public static string FormatInvariant(this string format, params object[] args)
{
return String.Format(CultureInfo.InvariantC... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.