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 |
|---|---|---|---|---|
Sifon.Code/Helpers/StaticsHelper.cs | ampach/Sifon | 10 | 7045184 | <reponame>ampach/Sifon
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Sifon.Code.Helpers
{
internal static class StaticsHelper
{
private static Type _passedType;
private static readonly Lazy<Dictionary<string, string>> ConstantsDictionary ... |
src/Assets/Assets.cs | randym32/Anki.Resources.SDK | 4 | 7045185 | // Copyright © 2020 <NAME>. All rights reserved.
// See LICENSE file in the project root for full license information.
using Resource = Anki.Resources.SDK.Properties.Resources;
using System;
using System.IO;
using Anki.AudioKinetic;
using System.Drawing;
using Blackwood;
namespace Anki.Resources.SDK
{
//... |
PS2Disassembler.Core/Instructions/Immediate/SLTIU.cs | HankiDesign/EmotionEngineDisassembler | 2 | 7045187 | namespace PS2Disassembler.Core.Instructions.Immediate
{
public class SLTIU : ImmediateBase
{
public SLTIU(uint rs, uint rt, uint imm) : base("SLTIU", rs, rt, imm)
{
}
}
}
|
Assets/Grove/Editor/Variables/DataEditor.cs | jsmouret/grove | 0 | 7045188 | using UnityEditor;
using UnityEngine;
using Grove.Common.Editor;
namespace Grove.Variables.Editor
{
[CustomEditor(typeof(Data), true)]
public class DataEditor : UnityEditor.Editor
{
// Because Data inherits from Constant, create this dummy editor
// to avoid Data being rendered by ConstantEditor which expects ... |
Cassandra.DistributedTaskQueue.Tests/RemoteTaskQueue/ExchangeTests/PeriodicTaskTest.cs | skbkontur/cassandra-distributed-task-queue | 5 | 7045189 | using System;
using NUnit.Framework;
using SkbKontur.Cassandra.DistributedTaskQueue.Cassandra.Entities;
using SkbKontur.Cassandra.DistributedTaskQueue.FunctionalTests.Common.TaskDatas;
using SkbKontur.Cassandra.DistributedTaskQueue.Handling;
namespace SkbKontur.Cassandra.DistributedTaskQueue.Tests.RemoteTaskQueue.E... |
src/SteamWebAPI2/Interfaces/IGameServersService.cs | Jcw87/SteamWebAPI2 | 208 | 7045190 | using Steam.Models.GameServers;
using SteamWebAPI2.Utilities;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace SteamWebAPI2.Interfaces
{
public interface IGameServersService
{
Task<ISteamWebResponse<AccountListModel>> GetAccountListAsync();
Task<ISteamWebResponse<Crea... |
src/Eximia.CleanArchitecture.WebAPI/Infraestrutura/ActionResults/ErrorObjectResult.cs | gabriel-sk-dev/EximiaCleanArchitecture | 2 | 7045191 | <gh_stars>1-10
namespace Eximia.CleanArchitecture.WebAPI.Infraestrutura.ActionResults
{
public class ErrorObjectResult
{
public ErrorObjectResult(string erro, string[] motivos)
{
Erro = erro;
Motivos = motivos;
}
public string Erro { get; set; }
p... |
UnitTests/Watchables.cs | jtheisen/moldinium | 2 | 7045192 | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace IronStone.Moldinium.UnitTests
{
[TestClass]
public class WatchablesTests
{
[TestMethod]
public void Fundamentals()
{
var foo = Watchable.Var(42);
Assert.AreEqual(42, foo.Value);
... |
HCMS.Web/Areas/Administration/Views/Salary/Index.cshtml | IwanGaydarow/InternProject | 0 | 7045193 | @model HCMS.Web.ViewModels.Administration.Salary.AllSalaries
@{
ViewData["Title"] = "Index";
}
<div class="container-fluid">
<div class="action-conteiner"></div>
<!-- DataTales Example -->
<div class="card shadow mb-4">
<div class="card-header py-3">
<h6 class="m-0 font-weight-bol... |
SampleApplication/Models/IndexModel.cs | bobtjanitor/SampleTDDApp | 0 | 7045194 | namespace SampleApplication.Models
{
public class IndexModel
{
}
public class PartialModel
{
public string Text { get; set; }
}
} |
src/Cryptography/OpenPgp/Packet/ExperimentalPacket.cs | filipnavara/springburg | 3 | 7045195 | <reponame>filipnavara/springburg
using Springburg.IO;
using System;
using System.IO;
namespace Springburg.Cryptography.OpenPgp.Packet
{
class ExperimentalPacket : ContainedPacket
{
private readonly PacketTag tag;
private readonly byte[] contents;
internal ExperimentalPacket(
... |
applications/sudokumb/WebLib/InMemoryGameBoardStack.cs | bdonkey/dotnet-docs-samples | 1 | 7045196 | <reponame>bdonkey/dotnet-docs-samples<gh_stars>1-10
// Copyright (c) 2018 Google LLC.
//
// 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
//
/... |
Assets/Scripts/Experiment/ResultsAnalysis/Model/CsvLine.cs | MatousK/ThesisQuest | 0 | 7045197 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assets.Scripts.Experiment.ResultsAnalysis.Model
{
/// <summary>
/// This objects represents a single CSV line that can appear in the results CSV line that was previously logged by the ... |
OOP/Lab-11/Problem-02-Dot/Dot3D.cs | emilia98/TU-OOP | 0 | 7045198 | <filename>OOP/Lab-11/Problem-02-Dot/Dot3D.cs
using System;
namespace Problem_02_Dot
{
public class Dot3D : Dot2D
{
private double z;
public double Z
{
get { return this.z; }
}
public Dot3D() : base()
{
Console.Write("z = ");
... |
Assets/Experience/Scripts/SpawnNPC.cs | HajjSimulationVR/HajjSimulationUnity | 1 | 7045199 | <filename>Assets/Experience/Scripts/SpawnNPC.cs<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SpawnNPC : MonoBehaviour {
public GameObject NPC;
public float initialNPCs;
public float minOffsetX;
public float maxOffsetX;
public float minOffsetZ;
public... |
CilView/Properties/AssemblyInfo.cs | MSDN-WhiteKnight/CilBytecodeParser | 10 | 7045200 | <filename>CilView/Properties/AssemblyInfo.cs
/* CIL Tools
* Copyright (c) 2022, MSDN.WhiteKnight (https://github.com/MSDN-WhiteKnight)
* License: BSD 2.0 */
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
[assembly... |
Game/Entities/Components/AI/Agent.cs | mk-dev-team/mk-hevadea | 14 | 7045201 | using System.Collections.Generic;
using Hevadea.Framework;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Hevadea.Entities.Components.AI
{
public enum AgentAbortReason
{
None,
ImStuck,
PickedUp,
TagetLost
}
public class Agent : EntityC... |
Heath.Lister/ViewModels/ItemDetailsViewModel.cs | ibanezht/Lister | 0 | 7045202 | <filename>Heath.Lister/ViewModels/ItemDetailsViewModel.cs<gh_stars>0
#region usings
using System;
using System.ComponentModel;
using System.Windows.Media;
using Heath.Lister.Infrastructure;
using Heath.Lister.Infrastructure.ViewModels;
using Heath.Lister.ViewModels.Abstract;
#endregion
namespace Heath.Lister.ViewMo... |
src/Thread/ThreadPoolRunner.cs | dp9u0/Notebook-DotNet | 0 | 7045203 | <reponame>dp9u0/Notebook-DotNet<gh_stars>0
using Common;
using System;
using System.Threading;
namespace ThreadSample {
class ThreadPoolRunner : Runner {
protected override void RunCore() {
Console.WriteLine("Main thread: queuing an asynchronous operation");
ThreadPool.QueueUserWor... |
BookLovers.Auth/Domain/RegistrationSummaries/BusinessRules/FinishRegistrationWithoutCompletionRules.cs | kamilk08/BookLoversApi | 0 | 7045204 | <filename>BookLovers.Auth/Domain/RegistrationSummaries/BusinessRules/FinishRegistrationWithoutCompletionRules.cs
using System.Collections.Generic;
using BookLovers.Base.Domain.Rules;
namespace BookLovers.Auth.Domain.RegistrationSummaries.BusinessRules
{
internal sealed class FinishRegistrationWithoutCompletionRul... |
Ereceipt/Ereceipt.Application/ViewModels/Users/LoginEmailCreateModel.cs | Yaroslav08/Ereceipt | 0 | 7045205 | <gh_stars>0
using System.ComponentModel.DataAnnotations;
namespace Ereceipt.Application.ViewModels.Users
{
public class LoginEmailCreateModel : DeviceCreateModel
{
[Required, MinLength(3), MaxLength(100)]
public string Login { get; set; }
[MinLength(8), MaxLength(30), RegularExpression... |
src/Nimbus.Tests.Unit/Conventions/CoreInfrastructureInterfaces.cs | dogfeeder/Nimbus | 93 | 7045206 | using Nimbus.InfrastructureContracts;
using NUnit.Framework;
using Shouldly;
namespace Nimbus.Tests.Unit.Conventions
{
[TestFixture]
[Category("Convention")]
public class CoreInfrastructureInterfaces
{
[Test]
public void MustAdhereToConventions()
{
var coreInfrastru... |
StorageTool.Lib/AzureBlob/AzureStorageBlobContainer.cs | caitlinsalt/storage-tool | 0 | 7045207 | <reponame>caitlinsalt/storage-tool
using Microsoft.Azure.Storage.Blob;
using StorageTool.Lib.Interfaces;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace StorageTool.Lib.AzureBlob
{
public class AzureStorageBlobContainer : AzureStorageBlobFolder,... |
src/Saklient/Cloud/Resources/Activity.cs | 223n/saklient.cs | 1 | 7045208 | <reponame>223n/saklient.cs<filename>src/Saklient/Cloud/Resources/Activity.cs
using Util = Saklient.Util;
using Client = Saklient.Cloud.Client;
namespace Saklient.Cloud.Resources
{
public class Activity
{
internal Client _Client;
internal string _SourceId;
internal virtual string _ApiPathPrefix()
{
... |
VolumeMountPoint.cs | KsWare/KsWare.IO.FileSystem | 0 | 7045209 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq.Expressions;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using System.Text.RegularExpressions;
using KsWare.IO.FileSystem.Internal;
using static KsWare.IO.FileS... |
WebApplication/Repositories/ParticipantsRepository.cs | kasp470f/3semester | 1 | 7045210 | <reponame>kasp470f/3semester
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebApplication.Models.Repositories
{
/// <summary>
/// <para>Created by Rezan</para>
/// </summary>
public class ParticipantsRepositor... |
src/Microsoft.Graph/Models/Extensions/PlannerAssignment.cs | Aliases/msgraph-sdk-dotnet | 474 | 7045212 | <gh_stars>100-1000
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -------------------------------------------------------------... |
07. Data-Types-and-Variables-Exercises/03. Practice Characters and Strings/Practice Characters and Strings.cs | kostadinlambov/Programming-Fundamentals | 1 | 7045213 | using System;
public class Practice_Characters_and_Strings
{
public static void Main()
{
string firstString = "Software University";
char firstLetter = 'B';
char secondLetter = 'y';
char thirdLetter = 'e';
string secondString = "I love programming";
Console.Wri... |
Pages/Index.cshtml | GregorBiswanger/AspCoreMyBroker | 1 | 7045214 | <reponame>GregorBiswanger/AspCoreMyBroker
@page
@model IndexModel
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>My Broker</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
... |
eShop-WebAPI/Eshop.Web/GraphQL/Shipments/ShipmentQueries.cs | Venik-com/eShop-Backend-WebAPI | 0 | 7045215 | <gh_stars>0
using Eshop.Web.Data.EFModels;
using Eshop.Web.GraphQL.DataLoader;
using Eshop.Web.GraphQL.Extensions;
using HotChocolate;
using HotChocolate.Types;
using HotChocolate.Types.Relay;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading... |
CosmosGlobalDistDemos/CosmosGlobalDistDemosv3/SingleMultiMaster.cs | markjbrown/cosmos-global-distribution-demos | 35 | 7045217 | <reponame>markjbrown/cosmos-global-distribution-demos<gh_stars>10-100
using Microsoft.Azure.Cosmos;
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace CosmosGlobalDistDemosCore
{
/*
* Resources needed for this demo:
*
*... |
src/ivaldez.SqlMergeQueryObject/IMergeQueryObject.cs | JasonDV/MergeQueryObject | 0 | 7045218 | using System.Data.SqlClient;
namespace ivaldez.Sql.SqlMergeQueryObject
{
/// <summary>
/// MergeQueryObject
/// An abstraction for the SQL Merge statement with many options and efficiencies.
/// Author: <NAME>
/// Repository: https://github.com/JasonDV/MergeQueryObject
/// </summary>
publi... |
src/Microsoft.FamilyShow/Framework/NotConverter.cs | VincentH-Net/FamilyShow2022 | 0 | 7045219 | <gh_stars>0
using System;
using System.Globalization;
using System.Windows.Data;
namespace Microsoft.FamilyShow.Framework;
public class NotConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
return !(bool)value;
}
public... |
src/Vernuntii.SemVer.Parser/Parsers/IPrefixValidator.cs | Teneko-NET-Tools/Teneko.MessagesVersioning | 0 | 7045220 | namespace Vernuntii.SemVer.Parser.Parsers
{
/// <summary>
/// Validator for prefix.
/// </summary>
public interface IPrefixValidator
{
/// <summary>
/// Validates prefix.
/// </summary>
/// <param name="prefix"></param>
/// <returns>True if prefix is valid.</... |
WeaverCore/Settings/SettingsScreen.cs | nickc01/WeaverCore | 4 | 7045221 | using WeaverCore.Attributes;
using WeaverCore.Features;
using UnityEngine;
using WeaverCore.Utilities;
using System.Collections.Generic;
using WeaverCore.Settings.Elements;
using System;
using System.Linq;
using TMPro;
using System.Reflection;
using System.Collections.ObjectModel;
namespace WeaverCore.Settings
{
cla... |
Assets/Scripts/Manager.cs | Atharv24/NEAT | 11 | 7045222 | <filename>Assets/Scripts/Manager.cs
using System.Collections.Generic;
using UnityEngine;
public class Manager : MonoBehaviour
{
public GameObject playerPrefab;
private List<GameObject> playerList;
private List<Genome> genomes;
private List<Network> nets;
private Dictionary<Genome, Network> network... |
src/BuildVision/Extensions/BuildStateExtensions.cs | davkean/BuildVision | 202 | 7045223 | <reponame>davkean/BuildVision
using System.Windows.Shell;
using BuildVision.Contracts;
namespace BuildVision.Extensions
{
public static class BuildStateExtensions
{
public static TaskbarItemProgressState ToTaskBarItemProgressState(this BuildState buildState, BuildScope buildScope)
{
... |
C# Fundamentals/C# Advanced/03. Sets and Dictionaries - Lab/04. Academy Graduation/Startup.cs | MihailDobrev/SoftUni | 10 | 7045224 | namespace _04.Academy_Graduation
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Startup
{
public static void Main()
{
int students = int.Parse(Console.ReadLine());
SortedDictionary<string, double> studentRecord = new Sorte... |
Sudoku/Sudoku Game/fmEngine.cs | erosalain23/C- | 0 | 7045225 | 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 Sudoku_Game
{
public partial class fmEngine : Form
{
Random random = new Rando... |
src/Shouldly.Tests/Strings/ShouldBeEmpty/ActualIsNull.cs | stop-cran/shouldly | 1 | 7045226 | using Xunit;
namespace Shouldly.Tests.Strings.ShouldBeEmpty
{
public class ActualIsNull
{
[Fact]
public void ActualIsNullShouldFail()
{
var str = ((string)null);
Verify.ShouldFail(() =>
str.ShouldBeEmpty("Some additional context"),
errorWithSource:
@"str
sh... |
Projects/AAXDataEntityPerfTest/ConsoleApp1/Connected Services/D365/EducationDisciplineGroup.cs | NathanClouseAX/AAXDataEntityPerfTest | 1 | 7045228 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
HaloOnline.Server.Model/Presence/OnlineStats.cs | no1dead/HaloOnlineServer | 10 | 7045229 | namespace HaloOnline.Server.Model.Presence
{
public class OnlineStats
{
public int UsersMainMenu { get; set; }
public int UsersQueue { get; set; }
public int UsersIngame { get; set; }
public int UsersRematch { get; set; }
public int MatchmakeSessions { get; set; }
}
}... |
SleepEx/Program.cs | eladkarako/SleepEx | 0 | 7045230 | using System;
using System.Runtime.InteropServices;
namespace SleepEx{
public class Program{
[DllImport("kernel32.dll")]
static extern int SleepEx(
UInt32 dwMilliseconds,
bool bAlertable);
[STAThread]
public static void Main(string[] args){
UInt32 value = 0;
E... |
ControleDeGastos.Web/obj/Debug/netcoreapp2.1/Razor/Views/Usuario/Dashboard.cshtml.g.cs | luizous/spending-control-web | 2 | 7045231 | #pragma checksum "D:\Projetos\spending-control-web\ControleDeGastos.Web\Views\Usuario\Dashboard.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "c3de6f67f425216d30c3c486041b3fbdcda7d16a"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(t... |
Elide/Elide.CodeEditor/Infrastructure/ICodeParser.cs | vorov2/ela | 18 | 7045232 | <filename>Elide/Elide.CodeEditor/Infrastructure/ICodeParser.cs
using System;
using Elide.Core;
using Elide.Environment;
namespace Elide.CodeEditor.Infrastructure
{
public interface ICodeParser<out T> where T : IAst
{
T Parse(string source, Document doc, IBuildLogger logger);
IApp Ap... |
Hyperion.ControlClient/Model/UnifiedNode.cs | robertzml/Hyperion | 2 | 7045233 | <reponame>robertzml/Hyperion
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hyperion.ControlClient.Model
{
using Hyperion.ControlClient.Protocol;
/// <summary>
/// 统一操作结果信元
/// </summary... |
Assets/Scripts/NormalCanon.cs | SebaLenny/AsteroidsOfSeba | 0 | 7045234 | using UnityEngine;
public class NormalCanon : MonoBehaviour, IShootable
{
private InputController inputController;
[SerializeField]
private float shootingPeriod = 1f;
private float lastShoot;
[SerializeField]
private GameObject bullet;
[SerializeField]
private Transform spawnPoint;... |
src/BlockChyp/Entities/TerminalStatusResponse.cs | blockchyp/blockchyp-csharp | 0 | 7045235 | <filename>src/BlockChyp/Entities/TerminalStatusResponse.cs
// Copyright 2019 BlockChyp, Inc. All rights reserved. Use of this code is
// governed by a license that can be found in the LICENSE file.
//
// This file was generated automatically. Changes to this file will be lost
// every time the code is regenerated.
usi... |
DBADashGUI/Common.cs | carehart/dba-dash | 0 | 7045236 | <filename>DBADashGUI/Common.cs
using SpreadsheetLight;
using System;
using System.Collections.Generic;
using System.Data;
using Microsoft.Data.SqlClient;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
na... |
resharper/resharper-unity/src/Unity.Rider/Core/Feature/UnitTesting/IUnityUnitTestingZone.cs | SirDuke/resharper-unity | 0 | 7045238 | <reponame>SirDuke/resharper-unity
using JetBrains.Application.BuildScript.Application.Zones;
using JetBrains.ReSharper.UnitTestFramework;
namespace JetBrains.ReSharper.Plugins.Unity.Rider.Core.Feature.UnitTesting
{
[ZoneDefinition]
[ZoneDefinitionConfigurableFeature("Exploration for UnityTests", "Support for [... |
src/Socks5.Net/Logging/NoOpLogger.cs | Hugozys/Socks5.Net | 0 | 7045239 | using System;
using Microsoft.Extensions.Logging;
namespace Socks5.Net.Logging
{
public class NoOpLogger<T> : ILogger<T>
{
public static NoOpLogger<T> Instance = new NoOpLogger<T>();
public IDisposable BeginScope<TState>(TState state) => NullScope.Instance;
public... |
csharp/core/Common.cs | 18730298725/alibabacloud-rpc-util-sdk | 4 | 7045240 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Security.Cryptography;
using System.Text;
using Newtonsoft.Json;
using Tea;
using Tea.Utils;
namespace AlibabaCloud.Commons
{
public sta... |
ReadItLater.Data/Entities/Folder.cs | Grigorenko/ReadItLater | 5 | 7045241 | <filename>ReadItLater.Data/Entities/Folder.cs
using System;
using System.Collections.Generic;
namespace ReadItLater.Data
{
public class Folder : IEntity
{
public Guid Id { get; set; }
public Guid? ParentId { get; set; }
public string Name { get; set; }
public int Order { get; s... |
Logger/Logger/FileLogger.cs | Granerkbrand/Logging | 0 | 7045242 | <reponame>Granerkbrand/Logging<gh_stars>0
using Logging.Core;
using Logging.Core.Output;
using Logging.Logger.FileUtils;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
namespace Logging.Logger
{
public class FileLogger : ILogger
{
public string Basepath { get;... |
projeto_teste/EntidadesBasicas/EntidadesBasicas/ClassificacaoPlano.cs | josenildolins/CRUDE | 0 | 7045243 | namespace EntidadesBasicas
{
public class ClassificacaoPlano
{
public int Id { get; set; }
public string Descricao { get; set; }
}
}
|
src/SFA.DAS.ProviderCommitments/SFA.DAS.ProviderCommitments.Web/Views/Cohort/SelectAddDraftApprenticeshipJourney.cshtml | SkillsFundingAgency/das-providercommitments | 3 | 7045244 | <reponame>SkillsFundingAgency/das-providercommitments
@model SFA.DAS.ProviderCommitments.Web.Models.Cohort.SelectAddDraftApprenticeshipJourneyViewModel
@{
ViewBag.Title = "Add Apprentice";
ViewBag.GaData.Vpv = "/unapproved/add/select-journey";
}
<div class="govuk-grid-row">
<div class="govuk-grid-column-t... |
src/Autumn.Mvc.Samples/Models/Generators/BirthDateGenerator.cs | gwendallg/autumn.mvc | 1 | 7045245 | <reponame>gwendallg/autumn.mvc
using System;
namespace Autumn.Mvc.Samples.Models.Generators
{
public class BirthDateGenerator : NullableGenerator<DateTime>
{
public BirthDateGenerator() : base(9)
{
}
protected override DateTime OnGenerate()
{
return DateT... |
Gol-Domain/Interfaces/Services/IAirplaneService.cs | caiozinx/GolAirlines | 1 | 7045246 | <filename>Gol-Domain/Interfaces/Services/IAirplaneService.cs
using Gol_Domain.Entities;
using System.Collections.Generic;
namespace Gol_Domain.Interfaces.Services
{
public interface IAirplaneService : IService<Airplane>
{
new IList<Airplane> Get();
new Airplane Get(int id);
}
}
|
frmFind.cs | mrprint/SBuilderXX | 0 | 7045247 | using System;
using System.Media;
using System.Windows.Forms;
//using Microsoft.VisualBasic;
namespace SBuilderXX
{
internal partial class FrmFind
{
public FrmFind()
{
InitializeComponent();
_cmdAll.Name = "cmdAll";
_cmdCancel.Name = "cmdCancel";
... |
test/Swan.Test/ExtensionsReflectionTest.cs | pgrawehr/swan | 0 | 7045248 | namespace Swan.Test.ExtensionsReflectionTest
{
using Mocks;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Threading.Tasks;
[TestFixture]
public class GetDefault : TestFixtureBase
{
[TestCase(null, typeof(Fish))]... |
src/fhir-tool/Model/UsageContextElement.cs | losolio/fhir-tools | 0 | 7045249 | <filename>src/fhir-tool/Model/UsageContextElement.cs
namespace FhirTool.Model
{
public class UsageContextElement
{
public CodingElement Code { get; set; }
public CodeableConceptElement ValueCodeableConcept { get; set; }
public QuantityElement ValueQuantity { get; set; }
public R... |
Assets/Scripts/DeskWorker.cs | hassanali1228/Arnolds-Office-GameJam | 2 | 7045250 | using UnityEngine;
using System.Collections;
public class DeskWorker : MonoBehaviour {
public int pointsGained;
public EnemySpawn m_spawn;
public Rigidbody2D m_rigidBody2D;
public BoxCollider2D m_collider;
public GameManager m_gameManager;
public AudioSource m_audioSource;
public AudioClip hurtSound;
public ... |
Assets/Plugins/LeapMotion/Modules/GraphicRenderer/Scripts/Utility/Editor/VariantEnabler.cs | mortenhillbom/Touchless-ATM | 0 | 7045251 | /******************************************************************************
* Copyright (C) Ultraleap, Inc. 2011-2020. *
* Ultraleap proprietary and confidential. *
* ... |
HealthInsuranceMgmt/HealthInsuranceMgmt/Views/Shared/Components/AdNavBar/FManagerNav.cshtml | minhkhoi260199/CoolCare-eProject-PcT | 1 | 7045252 | <!-- HEADER DESKTOP-->
<header class="header-desktop3 d-none d-lg-block">
<div class="section__content section__content--p35">
<div class="header3-wrap">
<div class="header__logo">
<a href="#">
<img src="... |
tests/MiniCover.UnitTests/CommandLine/Commands/CoberturaReportCommandTests.cs | lucaslorentz/minicover | 212 | 7045253 | using System.IO.Abstractions;
using System.Threading.Tasks;
using FluentAssertions;
using MiniCover.CommandLine.Commands;
using MiniCover.CommandLine.Options;
using MiniCover.Core.Model;
using MiniCover.Reports.Cobertura;
using Moq;
using Xunit;
namespace MiniCover.UnitTests.CommandLine.Commands
{
public class... |
src/Shared/Models/Audit.cs | ElevateData/OpenTemenos | 0 | 7045255 | namespace Shared.Models;
public class Audit
{
public Audit(int? t24Time, string versionNumber, double? requestParseTime, double? responseParseTime)
{
T24Time = t24Time;
VersionNumber = versionNumber;
RequestParseTime = requestParseTime;
ResponseParseTime = responseParseTime;
... |
third-party/DotNet.Glob/GlobStringReader.cs | workgroupengineering/FtpServer | 351 | 7045256 | <filename>third-party/DotNet.Glob/GlobStringReader.cs
// This file isn't generated, but this comment is necessary to exclude it from StyleCop analysis.
// <auto-generated/>
using System.IO;
using System.Linq;
using System.Text;
namespace DotNet.Globbing
{
internal class GlobStringReader : StringReader
{
... |
stellar-dotnet-sdk/responses/OfferResponseLinks.cs | bazooka70/dotnet-stellar-sdk | 0 | 7045257 | using Newtonsoft.Json;
namespace stellar_dotnet_sdk.responses
{
public class OfferResponseLinks
{
public OfferResponseLinks(Link self, Link offerMager)
{
Self = self;
OfferMager = offerMager;
}
[JsonProperty(PropertyName = "self")] public Link Self { ge... |
aspnet-core/src/AbpCompanyName.AbpProjectName.Application/MultiTenancy/ITenantAppService.cs | ltm0203/module-zero-core-template | 73 | 7045258 | <gh_stars>10-100
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using AbpCompanyName.AbpProjectName.MultiTenancy.Dto;
namespace AbpCompanyName.AbpProjectName.MultiTenancy
{
public interface ITenantAppService : IAsyncCrudAppService<TenantDto, int, PagedTenantResultRequestDto, CreateTenantDto, ... |
src/Apprentice.Bot.Connectors/Middleware/SmsMessageQueue.cs | SkillsFundingAgency/das-provide-feedback-apprentice | 1 | 7045259 | <gh_stars>1-10
namespace ESFA.DAS.ProvideFeedback.Apprentice.Bot.Connectors.Middleware
{
using System;
using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
using ESFA.DAS.ProvideFeedback.Apprentice.Bot.Connectors.Interfaces;
using ESFA.DAS.ProvideFeedback.Apprentice... |
Assets/Scripts/Tutorials/StickmanController.cs | miko-t/stickman_new | 8 | 7045260 | <reponame>miko-t/stickman_new
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StickmanController : IController {
public Animator animator;
public Limb handR;
public Limb handL;
public Limb legR;
public Limb legL;
public float hipForce = 500;
pub... |
src/API/CompanyName.MyMeetings.API/Modules/Payments/PriceListItems/GetPriceListItemRequest.cs | gerriten/modular-monolith-with-ddd | 6,859 | 7045261 | namespace CompanyName.MyMeetings.API.Modules.Payments.PriceListItems
{
public class GetPriceListItemRequest
{
public string CountryCode { get; set; }
public string CategoryCode { get; set; }
public string PeriodTypeCode { get; set; }
}
} |
JerkyCentralWeb/JerkyCentralWeb/Views/Manager/ManagerOptions.cshtml | 201019-UiPath/BachkabakianMichael-P1 | 0 | 7045262 |
@{
ViewData["Title"] = "Options";
}
<div class="text-center">
<h1 class="display-4">JerkyCentral Manager Options Page</h1>
<p>What Would You Like To Do?</p>
</div>
@*@Html.Partial("_DateTimePartial")*@
<section id="cover" class="min-vh-100">
<div id="cover-caption">
<div class="container">
... |
Formall.Persistence/Persistence/Store.cs | InnPad/Formall.NET | 1 | 7045263 | <filename>Formall.Persistence/Persistence/Store.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
namespace Formall.Persistence
{
using Formall.Navigation;
using Formall.R... |
GoogleApi/Entities/Places/Search/Find/Request/Enums/FieldTypes.cs | truongsofm/GoogleApi | 1 | 7045264 | <filename>GoogleApi/Entities/Places/Search/Find/Request/Enums/FieldTypes.cs
using System;
namespace GoogleApi.Entities.Places.Search.Find.Request.Enums
{
/// <summary>
/// Field Types.
/// </summary>
[Flags]
public enum FieldTypes
{
/// <summary>
/// Formatted Address (billing:... |
Src/Dictator.Common/Extensions/ArrayExtensions.cs | sfvicente/Dictator | 1 | 7045265 | <reponame>sfvicente/Dictator
using System;
using System.Collections.ObjectModel;
namespace Dictator.Common.Extensions
{
/// <summary>
/// Provides extension methods for the <see cref="T[]" /> type.
/// </summary>
public static class ArrayExtensions
{
public static bool IsEmpty<T>(this ... |
NSUI/NSUI.Sample.Wpf/Views/MainView.xaml.cs | h82258652/NSUI | 0 | 7045266 | using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
namespace NSUI.Sample.Views
{
public partial class MainView
{
public MainView()
{
InitializeComponent();
}
private void MainView_OnKeyDown(obj... |
ExcelExport/SheetConfiguration.cs | mathi123/excel-export | 0 | 7045267 | using System.Collections.Generic;
namespace ExcelExport
{
public class SheetConfiguration
{
public string Name { get; set; } = "data";
public IList<object> Data { get; set; }
public List<ColumnBase> Columns { get; set; } = new List<ColumnBase>();
}
} |
src/JNCC.PublicWebsite.Core/Services/ScienceLandingPageService.cs | uk-gov-mirror/jncc.jncc-website | 0 | 7045268 | <reponame>uk-gov-mirror/jncc.jncc-website
using JNCC.PublicWebsite.Core.Extensions;
using JNCC.PublicWebsite.Core.Models;
using JNCC.PublicWebsite.Core.Utilities;
using JNCC.PublicWebsite.Core.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using Umbraco.Web;
namespace JNCC.PublicWebsit... |
Mappings/BitbayProfile.cs | coinbotnet/bitbay-connector | 0 | 7045269 | using System.Linq;
using AutoMapper;
using Coinbot.Bitbay.Models;
using Coinbot.Domain.Contracts.Models.StockApiService;
namespace Coinbot.Bitbay.Mappings
{
public class BitbayProfile : Profile
{
public BitbayProfile()
{
CreateMap<TickDTO, Tick>()
.ForMember(dest => ... |
Tasks/OperationResult.cs | dubit/duck-package-manager | 3 | 7045270 | <gh_stars>1-10
using System;
using System.Text;
namespace DUCK.Tasks
{
public class OperationResult
{
public bool IsError { get; set; }
public Error Error { get; set; }
public void Err()
{
IsError = true;
Error = new Error("unknown", "An unknown error occurred");
}
public void Err(Error error)
... |
test/Itinero.Optimization.Tests/Solvers/WeightMatrixHelpers.cs | itinero/optimization | 43 | 7045271 | /*
* Licensed to SharpSoftware under one or more contributor
* license agreements. See the NOTICE file distributed with this work for
* additional information regarding copyright ownership.
*
* SharpSoftware licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not us... |
CMS/Views/Account/Register.cshtml | ahmedayman6038/CMS | 1 | 7045272 | <filename>CMS/Views/Account/Register.cshtml
@model CMS.Models.RegisterViewModel
@{
Layout = "~/Views/Shared/_LayoutDashboard.cshtml";
ViewBag.Title = "Create";
}
<h2>@ViewBag.Title.</h2>
@using (Html.BeginForm("Register", "Account", FormMethod.Post, new { role = "form" }))
{
@Html.AntiForgeryToken()
... |
source/Components/AvalonDock/Commands/RelayCommand.cs | rwg0/AvalonDock | 816 | 7045273 | /************************************************************************
AvalonDock
Copyright (C) 2007-2013 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at https://opensource.org/licenses/MS-PL
*********************************... |
MultidimensionalArrays/MultidimensionalArrays/KnightGameEXERCISE/StartUp.cs | Monna9505/CSharp-Advanced | 0 | 7045274 | <reponame>Monna9505/CSharp-Advanced
using System;
namespace KnightGameEXERCISE
{
class StartUp
{
static void Main(string[] args)
{
int size = int.Parse(Console.ReadLine());
char[,] matrix = new char[size, size];
PopulateMatrix(matrix, size);
in... |
Assets/B4D/Scripts/DataManagement/Storage.cs | pmendezb4d/b4d-ndi-engineers | 0 | 7045275 | using System.IO;
using System.Text;
using UnityEngine;
namespace B4D.DataManagement
{
public class Storage : MonoBehaviour
{
private const string CACHE_FOLDER = "Cache";
public static Storage Instance { get; private set; }
private void Awake()
{
if (Instance == nu... |
DataStructuresAndAlgorithms/07.Recursion/06.SubsetOfStrings/Program.cs | TsvetanKT/TelerikHomeworks | 0 | 7045276 | namespace _06.SubsetOfStrings
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
class Program
{
//06. Write a program for generating and printing all subsets of k strings from given set of strings.
// Ex... |
src/04 Shared/Mileage.Shared/Entities/Users/User.cs | haefele/Mileage | 0 | 7045277 | using System.Collections.Generic;
using Mileage.Shared.Entities.Search;
namespace Mileage.Shared.Entities.Users
{
public class User : AggregateRoot, ITaggable
{
/// <summary>
/// Gets or sets the email address.
/// </summary>
public string EmailAddress { get; set; }
///... |
Assets/Scripts/Ui/InputManager.cs | ElasticSea/CitySheep | 1 | 7045278 | using System;
using System.Collections.Generic;
using UnityEngine;
namespace Assets.Scripts.Ui
{
public class InputManager : MonoBehaviour
{
[SerializeField] private Player player;
[SerializeField] private MiniGestureRecognizer gestureRecognizer;
private Dictionary<KeyCode, Action> ma... |
Kalliope.DTO/AutoGenDto/FrequencyConstraint.cs | RHEAGROUP/Kalliope | 0 | 7045279 | <filename>Kalliope.DTO/AutoGenDto/FrequencyConstraint.cs<gh_stars>0
// -------------------------------------------------------------------------------------------------
// <copyright file="FrequencyConstraint.cs" company="RHEA System S.A.">
//
// Copyright 2022 RHEA System S.A.
//
// Licensed under the Apache ... |
src/Adliance.AspNetCore.Buddy.Highcharts/Plotband.cs | afuersch/Buddy | 0 | 7045280 | using Newtonsoft.Json;
namespace Adliance.AspNetCore.Buddy.Highcharts
{
public class Plotband
{
[JsonProperty("color")] public string? Color { get; set; }
[JsonProperty("from")] public double? From { get; set; }
[JsonProperty("to")] public double? To { get; set; }
[JsonProperty... |
Assets/RockVR/Vive/Scripts/Controls/Base/VIVE_EventDelegate.cs | cyj407/VR-Tape-Tutorial | 0 | 7045281 | namespace RockVR.Vive
{
/// <summary>
/// The Vive button event delegate class
/// </summary>
public class VIVE_EventDelegate
{
public delegate void PressTrigger();
public delegate void PressTriggerDown();
public delegate void PressTriggerUp();
public delegate voi... |
src/DownKyi.Core/BiliApi/Users/Models/SpaceCheese.cs | light-come/downkyiX | 0 | 7045282 | using DownKyi.Core.BiliApi.Models;
using Newtonsoft.Json;
namespace DownKyi.Core.BiliApi.Users.Models
{
public class SpaceCheese : BaseModel
{
[JsonProperty("cover")]
public string Cover { get; set; }
[JsonProperty("ep_count")]
public int EpCount { get; set; }
[JsonProp... |
CrudModule/Module.cs | Aim-Educational/FarmMaster | 0 | 7045283 | using CrudModule.GraphQL;
using DataAccess.Constants;
using FarmMaster.Module.Core;
using FarmMaster.Module.Core.Api;
using GraphQLModule.Api;
using Microsoft.AspNetCore.Mvc.ApplicationParts;
using System;
using System.Collections.Generic;
using System.Text;
namespace CrudModule
{
public class CrudGraphQLProvider... |
lib/ast/syntax/ast/BaseSyntax.cs | 0xF6/wave_vm | 0 | 7045284 | <filename>lib/ast/syntax/ast/BaseSyntax.cs
namespace vein.syntax
{
using System;
using System.Collections.Generic;
using System.Linq;
using extensions;
using Sprache;
public abstract class BaseSyntax : IPositionAware<BaseSyntax>, IPassiveParseTransition
{
public abstract SyntaxType ... |
Zergatul.Cryptocurrency.Tests/Bitcoin/P2SHP2WPKHAddressTests.cs | Zergatul/ZergatulLib | 5 | 7045285 | <reponame>Zergatul/ZergatulLib
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Zergatul.Cryptocurrency.Bitcoin;
namespace Zergatul.Cryptocurrency.Tests.Bitcoin
{
[TestClass]
public class P2SHP2WPKHAddressTests
{
[TestMethod]
public void FromPublicKeyHashTest1()
... |
PurificationPioneer/Assets/PurificationPioneer/Dialog/PpCaptionChooseUi.cs | LaudateCorpus1/distributed-architecture-of-moba-game-server | 37 | 7045286 | using System;
using DialogSystem.Model;
using DialogSystem.View;
using PurificationPioneer.Const;
using UnityEngine;
namespace PurificationPioneer.Dialog
{
public class PpCaptionChooseUi:AbstractChooseDialogUI
{
public PpCaptionChooseUi(DialogUnitInfo dialogUnitInfo) : base(dialogUnitInfo)
{
... |
Source/Classic/Libs/AM.Core/AM/IO/ByteNavigator.cs | fossabot/ManagedIrbis | 0 | 7045287 | // This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
/* ByteNavigator.cs --
* Ars Magna project, http://arsmagna.ru
* -------------------------------------------------------
* Status: poor
*/
#region Using ... |
Classes/Services/RecordingService.cs | lulzsun/RePlays | 3 | 7045288 | using RePlays.Recorders;
using RePlays.Utils;
using System.Timers;
using System;
namespace RePlays.Services {
public static class RecordingService {
public static BaseRecorder ActiveRecorder = null;
private static Timer recordingTimer = new Timer(1000);
private static int recordingElapsed... |
src/Sidekick.Mediator/Mediator.cs | pobiega/Sidekick | 440 | 7045289 | <filename>src/Sidekick.Mediator/Mediator.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using Microsoft.Extensions.Logging;
using Sidekick.Mediator.Internal;
namespace Sidekick.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.