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/DependencyManagement/DependencyManifestEntry.cs | yojagad/azure-functions-powershell-worker | 0 | 7058822 | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
namespace Microsoft.Azure.Functions.PowerShellWorker.DependencyManagement
{
internal class DependencyManifestEntry
{
public string Name { get; }
... |
ThreadCancelInterrupt/ThreadCancelInterrupt/ThreadCancelInterruptActionConfig.cs | mikomac405/webcon-plugins | 0 | 7058823 | <gh_stars>0
using WebCon.WorkFlow.SDK.Common;
using WebCon.WorkFlow.SDK.ConfigAttributes;
namespace ThreadCancelInterrupt
{
public class ThreadCancelInterruptActionConfig : PluginConfiguration
{
[ConfigEditableInteger(DisplayName = "Number of seconds to sleep for, on the launched work thread.")]
public int Seco... |
src/Servers/Identity/Hl.Identity.Domain/Authorization/Permissions/ClassMappers/PermissionFunctionMapper.cs | wenfeifei/Surging.Sample | 3 | 7058824 | using Hl.Core.ClassMapper;
using System;
using System.Collections.Generic;
using System.Text;
namespace Hl.Identity.Domain.Authorization.Permissions.ClassMappers
{
public class PermissionFunctionMapper : HlClassMapper<PermissionFunction>
{
public PermissionFunctionMapper()
{
Table(... |
SpriteAnimator/AvailableFormats.cs | lirmont/Sprite-Animator | 0 | 7058825 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.IO;
using System.Windows.Forms;
namespace SpriteAnimator
{
public partial class AvailableFormats : Form
{
private Main parent = null;
private ImageViewer im = nul... |
spec/csharp/kaitai_struct_csharp_tests/tests/SpecRepeatUntilComplex.cs | cherue/kaitai_struct_tests | 0 | 7058826 | using NUnit.Framework;
namespace Kaitai
{
[TestFixture]
public class SpecRepeatUntilComplex : CommonSpec
{
[Test]
public void TestRepeatUntilComplex()
{
var r = RepeatUntilComplex.FromFile(SourceFile("repeat_until_complex.bin"));
Assert.AreEqual(r.First.Count... |
Assets/Scripts/EnemySpawnManager.cs | MarcoNaik/Emoji-FPS-Roguelike | 0 | 7058827 | <filename>Assets/Scripts/EnemySpawnManager.cs
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Random = UnityEngine.Random;
public class EnemySpawnManager : MonoBehaviour
{
public int baseDamage;
public float baseSpeed;
public int baseMoney;
public int bas... |
Construct3/Construct3/Construct.Server.Entities/Generated/SensorRuntime.generated.cs | dgerding/Construct | 0 | 7058828 | #pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by the ClassGenerator.ttinclude code generation file.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regene... |
src/DbEngines/SqlServer/SqlCEProvider.cs | LogicAndTrick/LinqToSQL2 | 6 | 7058829 | namespace System.Data.Linq.DbEngines.SqlServer
{
internal class SqlCEProvider : Sql2000Provider
{
#warning [FB] REFACTOR Might be removed, CE has been discontinued by MS.
}
} |
POI.Core/Models/ScoreSaber/Profile/FullProfile.cs | ErisApps/POI | 6 | 7058830 | <reponame>ErisApps/POI
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace POI.Core.Models.ScoreSaber.Profile
{
public class FullProfile : BasicProfile
{
[JsonPropertyName("badges")]
public List<Badge> Badges { get; }
[JsonPropertyName("scoreStats")]
public ScoreStats ScoreStat... |
MigAz.Azure/UserControls/MigrationAzureSourceContext.Designer.cs | halasznandras/migAz | 103 | 7058832 | <filename>MigAz.Azure/UserControls/MigrationAzureSourceContext.Designer.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace MigAz.Azure.UserControls
{
partial class MigrationAzureSourceContext
{
/// <summary>
/// Required designer variab... |
src/BlazorShop.Models/Orders/OrdersDetailsResponseModel.cs | aynur-safin/BlazorShop | 189 | 7058833 | namespace BlazorShop.Models.Orders
{
using System.Collections.Generic;
public class OrdersDetailsResponseModel : OrdersBaseResponseModel
{
public IEnumerable<OrdersProductsResponseModel> Products { get; set; }
}
}
|
Uniti.Core/UnitOfWorks/UnitOfWorkBuilder.cs | jaseaman/Uniti | 1 | 7058834 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Uniti.Core.UnitOfWorks.Util;
namespace Uniti.Core.UnitOfWorks
{
/// <summary>
/// Default implementation of unit of work management
/// </summary>
public class UnitOfWorkBuilder : IUnitOfWorkBuilder
... |
Assets/P-BaseDefenseAssets/GameCode/Camp/TrainCost/TrainCost.cs | LittleCopernicus/DPGame | 0 | 7058835 | using UnityEngine;
using System.Collections;
// 訓練費用計算
public class TrainCost : ITrainCost
{
public TrainCost(){}
public override int GetTrainCost( ENUM_Soldier emSoldier,int CampLv, ENUM_Weapon emWeapon)
{
int Cost = 0;
// 依兵種
switch( emSoldier )
{
case ENUM_Soldier.Rookie:
Cost = 5;
break;
cas... |
src/HotChocolate/Analyzers/src/Analyzers/Types/FilterOperationType.cs | ezarko/hotchocolate | 0 | 7058836 | <gh_stars>0
using HotChocolate.Types;
namespace HotChocolate.Analyzers.Types
{
public class FilterOperationType : EnumType<FilterOperation>
{
protected override void Configure(IEnumTypeDescriptor<FilterOperation> descriptor)
{
descriptor.Name("_FilterOperation");
}
}
}
|
QuietTime/Wpf/ViewModels/NavigationBarVM.cs | jkendall327/QuietTime | 3 | 7058837 | using System;
using System.IO;
using System.Reflection;
using System.Windows.Input;
using Microsoft.Toolkit.Mvvm.Input;
using QuietTime.Navigation;
namespace QuietTime.Wpf.ViewModels
{
internal class NavigationBarVM
{
public ICommand NavigateCommand { get; set; }
public MainPageVM HomeVM { ge... |
Common/Scripts/Agents/AI/Graph/Actions/Editor/AIActionUnityEventsNodeEditor.cs | marcosecchi/ai-brain-graph-for-corgi | 29 | 7058838 | using TheBitCave.MMToolsExtensions.AI.Graph;
using UnityEditor;
using XNodeEditor;
namespace TheBitCave.CorgiExensions.AI.Graph
{
[CustomNodeEditor(typeof(AIActionUnityEventsNode))]
public class AIActionUnityEventsNodeEditor : AIActionNodeEditor
{
private SerializedProperty _targetEvent;
p... |
src/Bet.BuildingBlocks.Domain.Abstractions/Interfaces/IRepository{T}.cs | kdcllc/Bet.BuildingBlocks | 4 | 7058839 | namespace Bet.BuildingBlocks.Domain.Abstractions.Interfaces
{
/// <summary>
/// Repository for the aggregate root entity.
/// </summary>
/// <typeparam name="T"></typeparam>
public interface IRepository<T> where T : IAggregateRoot
{
IUnitOfWork UnitOfWork { get; }
}
}
|
src/Chromamboo/Providers/Triggers/TriggerBuilder.cs | salfab/chromamboo | 2 | 7058840 | using System;
using System.Linq;
using Chromamboo.Providers.Triggers.Contracts;
using Chromamboo.Providers.Triggers.Factories;
namespace Chromamboo.Providers.Triggers
{
public class TriggerBuilder : ITriggerBuilder
{
private readonly ITriggerProviderFactory[] factories;
public TriggerBuilder(... |
windows-desktop/MagiZile.CustomUI/Timeline.cs | MagiZile/Acadiverse | 1 | 7058841 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MagiZile.CustomUI
{
public partial class Timeline : UserControl
{
public Timel... |
System/Security/Util/Tokenizer.cs | SinsofSloth/RF5-global-metadata | 1 | 7058842 | internal sealed class Tokenizer // TypeDefIndex: 901
{
// Fields
public int LineNo; // 0x10
private int _inProcessingTag; // 0x14
private byte[] _inBytes; // 0x18
private char[] _inChars; // 0x20
private string _inString; // 0x28
private int _inIndex; // 0x30
private int _inSize; // 0x34
private int _inSavedCh... |
Core/Tests/Autofac.Tests/Core/Resolving/ResolveOperationTests.cs | OrchardCMS/Autofac | 5 | 7058843 | using System;
using Autofac.Builder;
using NUnit.Framework;
using Autofac.Core;
using Autofac.Tests.Scenarios.Dependencies;
namespace Autofac.Tests.Core.Resolving
{
[TestFixture]
public class ResolveOperationTests
{
[Test]
public void CtorPropDependencyOkOrder1()
{
... |
OctoAwesome/OctoAwesome.Basics/EntityComponents/ForceComponent.cs | TheBlubb14/octoawesome | 86 | 7058844 | using engenious;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OctoAwesome.Basics.EntityComponents
{
public abstract class ForceComponent : EntityComponent
{
public Vector3 Force { get; set; }
}
}
|
Tests/Apex.Serialization.Tests/EventTests.cs | Blok-Dev1/Apex.Serialization | 70 | 7058846 | <gh_stars>10-100
using FluentAssertions;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace Apex.Serialization.Tests
{
public class EventTests : AbstractSerializerTestBase
{
public class Test
{
public delegate void EventHandler(int v);
... |
Tests/WeaverTests/AssemblyToProcess/IPersonTest.cs | drungrin/realm-dotnet | 0 | 7058847 | /* Copyright 2015 Realm Inc - All Rights Reserved
* Proprietary and Confidential
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AssemblyToProcess
{
public interface IPersonTest
{
string Name { get; }
}
}
|
13. ExamPreparation/PlayersAndMonsters/PlayersAndMonsters/IO/FileWriter.cs | Vladimir-Dodnikov/CSharp-OOP-Problems | 7 | 7058848 | <reponame>Vladimir-Dodnikov/CSharp-OOP-Problems
using System;
using System.IO;
using PlayersAndMonsters.IO.Contracts;
namespace PlayersAndMonsters.IO
{
public class FileWriter : IWriter
{
private FileStream fs;
private StreamWriter sw;
public FileWriter()
{
this.fs... |
MetaFoo/MetaFoo.Core/Reflection/IMethodFinderContext.cs | philiplaureano/MetaFoo | 14 | 7058849 | using System;
using System.Collections.Generic;
using Optional;
namespace MetaFoo.Core.Reflection
{
public interface IMethodFinderContext
{
Option<string> MethodName { get; }
IEnumerable<Option<Type>> ArgumentTypes { get; }
Option<Type> ReturnType { get; }
}
} |
src/SFA.DAS.RoatpAssessor/SFA.DAS.RoatpAssessor.Web/Views/Dashboard/ClosedApplications.cshtml | SkillsFundingAgency/das-roatp-assessor | 0 | 7058850 | <filename>src/SFA.DAS.RoatpAssessor/SFA.DAS.RoatpAssessor.Web/Views/Dashboard/ClosedApplications.cshtml<gh_stars>0
@using SFA.DAS.RoatpAssessor.Web.ApplyTypes.Apply
@using SFA.DAS.AdminService.Common.Extensions
@model SFA.DAS.RoatpAssessor.Web.ViewModels.ClosedApplicationsViewModel
@{
ViewBag.Title = "Application... |
src/Tests/IntegrationTests/Graphs/CustomTypeGraph.cs | phated/GraphQL.EntityFramework | 0 | 7058851 | using GraphQL.EntityFramework;
public class CustomTypeGraph :
EfObjectGraphType<IntegrationDbContext, CustomTypeEntity>
{
public CustomTypeGraph(IEfGraphQLService<IntegrationDbContext> graphQlService) :
base(graphQlService)
{
Field(x => x.Id);
Field(x => x.Property);
}
} |
Tangerine/Tangerine.UI/PropertyEditors/NodeIdPropertyEditor.cs | game-forest/Citrus | 14 | 7058853 | using Lime;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tangerine.Core;
namespace Tangerine.UI
{
public class NodeIdPropertyEditor : CommonPropertyEditor<string>
{
private EditBox editor;
public NodeIdPropertyEditor(IPropertyEditorPar... |
Assets/Scripts/Playmode/Tales Of Ascaria/Actuator/EntityDestroyer.cs | LuckyLph/Tales-Of-Ascaria | 0 | 7058854 | using Harmony;
using UnityEngine;
namespace TalesOfAscaria
{
public delegate void EntityDestroyedEventHandler();
[AddComponentMenu("Game/World/Object/Actuator/EntityDestroyer")]
public class EntityDestroyer : GameScript
{
private GameObject parent;
public virtual event EntityDestroyedEventHandler On... |
SendMail/Views/Home/Index.cshtml | Tasqat-Inc/SendMailTester | 0 | 7058855 | @model SendMail.ViewModel.EmailSettings
@{
ViewBag.Title = "Index";
}
<script type="text/javascript">
$(document).ready(function () {
$('#txtSubject').val('Default Text');
$('#txtBody').val('Default Text');
$("#btnSend").click(function () {
var obj = {};
ob... |
tests/Integration/RandomCharacterSelectorIntegrationTests.cs | steve-warren/random-string | 0 | 7058856 | <filename>tests/Integration/RandomCharacterSelectorIntegrationTests.cs<gh_stars>0
using System;
using RandomString;
using Xunit;
using FluentAssertions;
using SecurityDriven.Inferno;
namespace UnitTests
{
public class RandomCharacterSelectorIntegrationTests
{
private const string Symbols = "0123456789... |
live/email-templates/EmailToCustomer.cs | 2sic/app-events-and-courses | 1 | 7058857 | <gh_stars>1-10
using ToSic.Razor.Blade;
using System.Collections.Generic;
using System;
public class EmailToCustomer: Custom.Hybrid.Code12
{
// This generates the e-mail subject
public string Subject() {
return Resources.MailCustomerSubject;
}
// This generates the e-mail body
public string Message(Dicti... |
Assets/Plugins/HoudiniEngineUnity/Scripts/Utility/HEU_ToolsInfo.cs | Quickkrueger/DGM-260R-002_Spring-2022 | 5 | 7058858 | /*
* Copyright (c) <2020> Side Effects Software Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list o... |
src/Directory/Biobanks.Web/Models/Search/DetailedCapabilitySearchModel.cs | biobankinguk/biobankinguk | 5 | 7058860 | <filename>src/Directory/Biobanks.Web/Models/Search/DetailedCapabilitySearchModel.cs
using System.Collections.Generic;
namespace Biobanks.Web.Models.Search
{
public class DetailedCapabilitySearchModel
{
public string OntologyTerm { get; set; }
public string SelectedFacets { get; set; }
... |
src/go-src-converted/mime/multipart/writer_WriterStruct.cs | rgwood/go2cs | 249 | 7058861 | //---------------------------------------------------------
// <auto-generated>
// This code was generated by a tool. Changes to this
// file may cause incorrect behavior and will be lost
// if the code is regenerated.
//
// Generated on 2020 October 09 04:56:16 UTC
// </auto-generated>
//--------------... |
FasTnT.Application/Queries/GetVendorVersion/GetVendorVersionQueryHandler.cs | FasTnT/epcis-ef-core | 5 | 7058862 | <filename>FasTnT.Application/Queries/GetVendorVersion/GetVendorVersionQueryHandler.cs
using FasTnT.Domain;
using FasTnT.Domain.Queries;
using MediatR;
namespace FasTnT.Application.Queries;
public class GetVendorVersionQueryHandler : IRequestHandler<GetVendorVersionQuery, GetVendorVersionResult>
{
public Task<Get... |
SGC/Core/Negocio/stEstoque/stBaixaEstoqueChamado.cs | MM-Andrade/LES | 0 | 7058863 | <reponame>MM-Andrade/LES
using Core.Aplicacao;
using Core.Controle;
using Core.Core;
using Dominio;
using System.Linq;
namespace Core.Negocio.stEstoque
{
public class stBaixaEstoqueChamado : IStrategy
{
/// <summary>
/// regra responsável por dar baixa do estoque
/// </summary>
... |
Assets/Code/MyPostProcessing.cs | heyx3/Rammission | 1 | 7058864 | using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.PostProcessing;
[RequireComponent(typeof(PostProcessingBehaviour))]
public class MyPostProcessing : MonoBehaviour
{
private Transform tr;
private PostProcessingProfile profile;
private void Start()
{
tr = ... |
Tests/MathCore.WPF.WindowTest/Program.cs | Platonenkov/MathCore.WPF | 5 | 7058865 | <filename>Tests/MathCore.WPF.WindowTest/Program.cs<gh_stars>1-10
using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace MathCore.WPF.WindowTest
{
internal static class Program
{
[STAThread]
public static void Main(string[] Args)
{
var app = new App();
... |
tvos/UICatalog/UICatalog/DataItems/DataItem.cs | susairajs/ios-samples | 863 | 7058866 | <reponame>susairajs/ios-samples
using System;
using System.Collections.Generic;
using Foundation;
namespace UICatalog {
public class DataItem {
static DataItem[] sampleItems;
public static DataItem[] SampleItems {
get {
if (sampleItems == null) {
var items = new List<DataItem> ();
foreach (Gro... |
Shared/Dtos/Users/ChangePasswordDto.cs | MurielSoftware/MyArt | 0 | 7058867 | <filename>Shared/Dtos/Users/ChangePasswordDto.cs
using Shared.Core.Attributes;
using Shared.Core.Constants;
using Shared.Core.Validators;
using Shared.Core.Validators.Comparators;
using Shared.I18n.Constants;
using Shared.I18n.Resources;
using System;
using System.ComponentModel.DataAnnotations;
namespace Shared.Dtos... |
Assets/Plugins/Editor/HideIfDrawer.cs | TheRensei/GrandGeoGrass-Public | 56 | 7058868 | <reponame>TheRensei/GrandGeoGrass-Public
#if UNITY_EDITOR
#if UNITY_2019_3_OR_NEWER
/* Original code[1] Copyright (c) 2015 jistyles[2]
Released as "public domain, no restrictions, no requirements, no support"
Modified code[3] Copyright (c) 2018 <NAME>[4]
Licensed under the MIT License[5]
This commen... |
CommonAlgo/ADT/LinkedList/DoublyLinkedList.cs | dampir/GoogleInterviewPreparation | 0 | 7058869 | using System;
using System.Collections.Generic;
using CommonAlgo.ADT.Interfaces;
namespace CommonAlgo.ADT.LinkedList
{
public class DoublyLinkedList<T> : IPrintableList, IDoublyLinkedList<T> where T : IComparable
{
private int _count;
private Element _head;
private Element _tail;
... |
Seq2SeqSharp/LearningRate/DecayLearningRate.cs | artepic/Seq2SeqSharp | 0 | 7058870 | <reponame>artepic/Seq2SeqSharp<gh_stars>0
using AdvUtils;
using System;
namespace Seq2SeqSharp
{
public class DecayLearningRate : ILearningRate
{
private readonly float m_startLearningRate = 0.001f;
private int m_weightsUpdateCount;
private readonly int m_warmupSteps = 8000;
p... |
src/Backend/Core/src/IMountPointNode.cs | Azure/RingMaster | 9 | 7058871 | <gh_stars>1-10
// <copyright file="IMountPointNode.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
namespace Microsoft.Azure.Networking.Infrastructure.RingMaster.Backend.Persistence
{
#pragma warning disable CS1591, SA1600 // add documentation later
... |
LukasKabrt-typelite-076249af9d12/TypeLite/TsMemberIdentifierFormatter.cs | WolfyUK/TypeGap | 9 | 7058872 | <filename>LukasKabrt-typelite-076249af9d12/TypeLite/TsMemberIdentifierFormatter.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TypeLite.TsModels;
namespace TypeLite {
/// <summary>
/// Defines a method used to format class member identifiers.
/// </summary>
/// <par... |
EasyCodeBuilder/Contlols/Method/MainMethod.cs | binary-number/EasyCodeBuilder | 5 | 7058873 | <reponame>binary-number/EasyCodeBuilder<filename>EasyCodeBuilder/Contlols/Method/MainMethod.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace... |
Rec2/Rec2/Rec.cs | AflDavid/Recursivitate2 | 0 | 7058874 | <filename>Rec2/Rec2/Rec.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Rec2
{
class Rec
{
public static int Maxim(int[] vector, int n, int maxx)
{
if (n == 0)
{
... |
RX_Explorer/Interface/ICoreStorageItem.cs | zhuxb711/USBManager | 9 | 7058875 | <gh_stars>1-10
using RX_Explorer.Class;
using Windows.Storage;
namespace RX_Explorer.Interface
{
public interface ICoreStorageItem<T> where T : IStorageItem
{
public T StorageItem { get; }
}
}
|
GlassPad3CameraBehavior/Plugin.cs | Ibodan/GlassPad3CameraBehavior | 0 | 7058876 | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using IPA;
using IPALogger = IPA.Logging.Logger;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace GlassPad3CameraBehavior
{
[Plugin(RuntimeOptions.SingleStartInit)]
internal class Plugin
{
p... |
IndrivoPM/IndrivoPM.Application/EntityServices/Candidates/Queries/GetCandidateListByStage/GetCandidateListByStageQuery.cs | indrivo/bizon360_pm | 0 | 7058877 | using System;
using System.Collections.Generic;
using Gear.Domain.HrmEntities.Enums;
using Gear.Manager.Core.EntityServices.Candidates.Queries.GetCandidateList;
using MediatR;
namespace Gear.Manager.Core.EntityServices.Candidates.Queries.GetCandidateListByStage
{
public class GetCandidateListByStageQuery : IReque... |
Tracer/Tracer/Services/NotesService.cs | HugsGaming/Tracer | 0 | 7058878 | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Tracer.Models;
namespace Tracer.Services
{
class NotesService
{
private static NotesService _instance;
private FirebaseService _service = new FirebaseService();
public static NotesSer... |
Rukia [Bankai]/ProjectEuler/Utility/BigOperation.cs | ANamelessWolf/Rukia | 0 | 7058879 | <reponame>ANamelessWolf/Rukia<filename>Rukia [Bankai]/ProjectEuler/Utility/BigOperation.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Nameless.Libraries.Rukia.ProjectEuler.Utility
{
public class BigOperation
{
/// <summ... |
Hto3.NetworkHelpers.Test/GetNetworkInterfaceVendorNameByMACAddress.cs | HTO3/Hto3.NetworkHelpers | 1 | 7058880 | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Hto3.NetworkHelpers.Test
{
[TestClass]
public class GetNetworkInterfaceVendorNameByMACAddress
{
[TestMethod]
public void Vendor_Found()
{
//Prepare
const String MAC_ADDRESS = "40-8D-... |
src/SmartFormat.Tests/Core/LiteralTextTests.cs | axuno/SmartFormat.NET | 56 | 7058881 | <filename>src/SmartFormat.Tests/Core/LiteralTextTests.cs
using NUnit.Framework;
using SmartFormat.Core.Settings;
using SmartFormat.Extensions;
namespace SmartFormat.Tests.Core;
/// <summary>
/// Settings.ConvertCharacterStringLiterals is required, if the format string does not
/// come from code but from a file (e.g... |
src/LeytePond/Bridge/unit_database.cs | ropufu/settlers_online | 1 | 7058883 | <gh_stars>1-10
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Ropufu.LeytePond.Bridge
{
/** Mirrors structural behavior of \c unit_database.hpp. */
public class UnitDatabase : NameDatabase<UnitType, Int32>
{
protected override... |
src/Libraries/Frapid.Messaging/SmsQueueManager.cs | towhidulmannanuae/frapid | 2 | 7058884 | using System;
using System.Threading.Tasks;
using Frapid.Messaging.DAL;
using Frapid.Messaging.DTO;
using Frapid.Messaging.Smtp;
namespace Frapid.Messaging
{
public sealed class SmsQueueManager
{
public SmsQueueManager()
{
}
public SmsQueueManager(string database, SmsQueue sms)... |
CSharpPartOne/2. PrimitiveDataTypesAndVariables/13. CompareFloats/CompareFloats.cs | HMNikolova/Telerik_Academy | 0 | 7058885 | //13.* Comparing Floats
//Write a program that safely compares floating-point numbers (double) with precision eps = 0.000001.
//Note: Two floating-point numbers a and b cannot be compared directly by a == b because of the nature of the floating-point arithmetic. Therefore, we assume two numbers are equal if they are ... |
ElementServices/DataService.cs | sundy39/xf | 0 | 7058886 | <reponame>sundy39/xf<filename>ElementServices/DataService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using XData.Data.Components;
using XData.Data.Configuration;
using XData.Data.Element;
namespace XData.Data.... |
samples/NeoModulesBlazor/NeoModulesBlazor.App/Pages/Network.cshtml | CityOfZion/NeoModules | 17 | 7058887 | @page "/network"
@using NeoModules.Rest.Interfaces
@using NeoModules.Rest.DTOs.HappyNodes
@inject IHappyNodesService HappyNodesService
@if (isLoading == true)
{
<p><em>Loading...</em></p>
}
else
{
<h2>HappyNodes Service Demo</h2>
<br />
<h4>Last Block: @lastBlock</h4>
<h4>Average block time: @blo... |
CoreAPI/RemoteHosts/HostPriorityAttribute.cs | mderu/LinkWheel | 0 | 7058888 | <gh_stars>0
using System;
namespace CoreAPI.RemoteHosts
{
public class HostPriorityAttribute : Attribute
{
/// <summary>
/// The priority this <see cref="RemoteRepoHost"/> has over others. Higher is better.
/// </summary>
public int Priority { get; set; }
public HostPri... |
6FeetUnder/Assets/Deform/Code/Editor/Mesh/Data/VertexCacheCreator.cs | chrsjwilliams/6feetunder | 0 | 7058889 | using UnityEngine;
using UnityEditor;
using Deform;
namespace DeformEditor
{
/// <summary>
/// Handles creating vertex caches in the Editor.
/// </summary>
public static class VertexCacheCreator
{
/// <summary>
/// Returns true if a mesh asset or GameObject is selected that a vertex cache can be ... |
src/Modules/Security/EventGenerators/Windows/Utils/FirewallRulePropertyExtensions.cs | shashishailaj/Azure-IoT-Security-Agent-CS | 12 | 7058890 | // <copyright file="FirewallRulePropertyExtensions.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
using Microsoft.Azure.Security.IoT.Contracts.Events.Payloads;
using NetFwTypeLib;
using System;
namespace Microsoft.Azure.Security.IoT.Agent.EventGenerators.Windows... |
Models/Tool.cs | flood-hack/flood-hack-bff | 0 | 7058891 | using System.Collections.Generic;
namespace flood_hackathon.Models
{
public class Tool
{
public string Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public IEnumerable<Issues> Issues { get; set; }
public IEnumerable<Regions... |
Buildit/Buildit/Areas/Admin/Controllers/AddPublicationController.cs | Aimanan/BuildItRepo | 0 | 7058892 | using Buildit.Common.Providers;
using Buildit.Common.Providers.Contracts;
using Buildit.Services;
using Buildit.Services.Contracts;
using Buildit.Web.Models;
using Buildit.Web.Models.Admin;
using Bytes2you.Validation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web... |
cSmo/cSmo/SqlServerSmo.cs | yorch81/cSqlTools | 0 | 7058893 | <filename>cSmo/cSmo/SqlServerSmo.cs
using System;
using Microsoft.SqlServer.Management.Common;
using Microsoft.SqlServer.Management.Smo;
using System.IO;
using System.Data;
using System.Data.SqlClient;
// SqlServerSmo
//
// SqlServerSmo Implementation of absSmo for SQL Server
//
// Copyright 2015 <NAME>
//
// Licens... |
cecs_343/demo/abstraction-demo/After/Formats/IFormat.cs | julianpoy/csulb | 16 | 7058894 | <gh_stars>10-100
namespace abstraction_demo.After.Formats
{
/// <summary>
/// Contract for applying a specific format
/// </summary>
public interface IFormat
{
string ApplyFormat(string data);
}
} |
City/Snapshot/TrafficAgent/TrafficSnapshot.cs | vladkar/pulse-project-open | 1 | 7058895 | using System.Collections.Generic;
using City.Snapshot.Snapshot;
using DistributedTraffic.Emergency;
namespace City.Snapshot.TrafficAgent
{
public class TrafficSnapshot: ISnapshot
{
public IList<TrafficAgentData> Agents { set; get; }
public IList<TrafficEdgeData> Edges { set; get; }
pub... |
src/CSN.Net/Performance/PerfDouble.cs | rdadbhawala/csn.net | 0 | 7058896 | <reponame>rdadbhawala/csn.net<gh_stars>0
using Csn;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Running;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Linq;
namespace Performance
{
public static class... |
ESIConnectionLibrary/ESIConnectionLibrary/ESIModels/EsiV3CorporationStructuresServices.cs | Dusty-Meg/ESIConnectionLibrary | 4 | 7058897 | <filename>ESIConnectionLibrary/ESIConnectionLibrary/ESIModels/EsiV3CorporationStructuresServices.cs<gh_stars>1-10
using Newtonsoft.Json;
namespace ESIConnectionLibrary.ESIModels
{
internal class EsiV3CorporationStructuresServices
{
[JsonProperty(PropertyName = "name")]
public string Name { get... |
Tests/TestingServices.Tests/Machines/Integration/DiningPhilosophersTest.cs | pdeligia/psharp-ql | 2 | 7058898 | // ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// --------------------------------------------------------... |
Src/WindowsFormsSample/GridSamples/frmSample45.Designer.cs | janis3000/sourcegrid | 20 | 7058899 | <gh_stars>10-100
namespace WindowsFormsSample.GridSamples
{
partial class frmSample45
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... |
src/Markdig/Syntax/CharIteratorHelper.cs | wagnerhsu/nuget-markdig | 616 | 7058900 | // 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 Markdig.Helpers;
namespace Markdig.Syntax
{
/// <summary>
/// Helpers for the <see cref="ICharIterator"/> class.
/// </summary... |
FitPlan/Controls/DailyPanel.cs | mechgt/fitplan | 1 | 7058901 | namespace FitPlan.Controls
{
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using ZoneFiveSoftware.Common.Data.Measurement;
using ZoneFiveSoftware.Common.Visuals;
using System.Drawing.Imaging;
using System.Drawing.Drawing2D;
using FitPla... |
Assets/Scripts/HotFixProj~/HotFix/Component/UIView/Basic/UIViewBasic.cs | javelinlin/ILRuntimeU3DDemo | 0 | 7058902 | // jave.lin 2021/09/22
// UI 基类
using HotFix.Behavior;
using UnityEngine;
namespace HotFix.Component.UIView.Basic
{
public abstract class UIViewBasic : IComp, IUIView
{
public GameObject Owner { get; set; }
public bool IsDisposed { get; private set; }
public bool IsStarted { get; pri... |
src/Comformation/Generated/MediaLive/Channel/InputLossFailoverSettings.cs | stanb/Comformation | 17 | 7058903 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Comformation.IntrinsicFunctions;
namespace Comformation.MediaLive.Channel
{
/// <summary>
/// AWS::MediaLive::Channel InputLossFailoverSettings
/// https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aw... |
src/Schema/Keyword/BicepObjectKeywordSchema.cs | LaudateCorpus1/PSArm | 69 | 7058904 | <gh_stars>10-100
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Azure.Bicep.Types.Concrete;
using PSArm.Completion;
using PSArm.Internal;
using System;
using System.Collections.Generic;
namespace PSArm.Schema.Keyword
{
internal class BicepObjectKeywordSchema : BicepKeywordSchema... |
DE/Tests/Lorn.ADSP.DE.AdFilters.Tests/TestAdPositionAdFilter.cs | uwitec/Lorn.ADSP | 79 | 7058905 | <reponame>uwitec/Lorn.ADSP
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Lorn.ADSP.DE.DataModels;
using Lorn.ADSP.DE.Interfaces;
using Lorn.ADSP.DE.AdFilters;
using System.Collections.Generic;
using System.Linq;
namespace Lorn.ADSP.DE.AdFilters.Tests
{
[TestClass]
public class TestAd... |
src/libs/SoloX.TableModel.Server/TableDataControllerBase.cs | xaviersolau/TableModel | 2 | 7058906 | // ----------------------------------------------------------------------
// <copyright file="TableDataControllerBase.cs" company="<NAME>">
// Copyright © 2021 <NAME>.
// Licensed under the MIT license.
// See LICENSE file in the project root for full license information.
// </copyright>
// ---------------------------... |
Client/Services/Primitives/BaseService.cs | 923946240/TianYiSdtdServerTools | 9 | 7058907 | <reponame>923946240/TianYiSdtdServerTools
using IceCoffee.DbCore;
using IceCoffee.DbCore.Primitives;
using IceCoffee.DbCore.Primitives.Dto;
using IceCoffee.DbCore.Primitives.Entity;
using IceCoffee.DbCore.Primitives.Repository;
using IceCoffee.DbCore.Primitives.Service;
using IceCoffee.DbCore.UnitWork;
using System.Co... |
UnbiasedTimeManager/ThreatedJob.cs | Lordinarius/unbiasedtime | 25 | 7058908 | //Copyright(c) 2017 <NAME>
//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 rights
//to use, copy, modify, merge, publish, distribute, su... |
sdk/dotnet/Connect/Outputs/QuickConnectUserQuickConnectConfig.cs | AaronFriel/pulumi-aws-native | 29 | 7058909 | // *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** 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;
namespace Pulumi.AwsN... |
aspnet-core/modules/common/LINGYUN.Abp.Location.Amap/LINGYUN/Abp/Location/Amap/AmapPositiveHttpRequestParamter.cs | ai408/abp-vue-admin-element-typescript | 389 | 7058910 | <filename>aspnet-core/modules/common/LINGYUN.Abp.Location.Amap/LINGYUN/Abp/Location/Amap/AmapPositiveHttpRequestParamter.cs
using JetBrains.Annotations;
namespace LINGYUN.Abp.Location.Amap
{
/// <summary>
/// 高德地图正地址解析请求参数
/// </summary>
public class AmapPositiveHttpRequestParamter
{
/// <... |
Andrei15193.Interactive.Tests.WindowsPhone/App.xaml.cs | Andrei15193/Andrei15193.Interactive | 0 | 7058911 | <gh_stars>0
using System;
using System.Diagnostics;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Globalization;
using Windows.Phone.UI.Input;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media.Animation;
using Windows.UI.Xaml.Navigation;
name... |
src/I18Next.Net.Extensions/Builder/I18NextBuilder.cs | Shaddix/I18Next.Net | 0 | 7058912 | <reponame>Shaddix/I18Next.Net
using System;
using System.Collections.Generic;
using System.Linq;
using I18Next.Net.Backends;
using I18Next.Net.Plugins;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Localization;
using Microsoft.Ext... |
AWSSDK_DotNet35/Amazon.S3/Util/S3PostUploadException.cs | zz0733/aws-sdk-net | 1 | 7058913 | <gh_stars>1-10
/*******************************************************************************
* Copyright 2008-2013 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 cop... |
RobinhoodNet/RobinhoodClient.cs | xethm55/RobinhoodNet | 2 | 7058914 | // The MIT License (MIT)
//
// Copyright (c) 2015 <NAME>
//
// 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 rights
// to use, c... |
test/AM.Common.RegularExpressions.Tests/TestData/InvalidUrls.cs | mkArtak/AM.Common.RegularExpressions | 0 | 7058915 | using System.Collections;
using System.Collections.Generic;
namespace AM.Common.RegularExpressions.Tests.TestData
{
public class InvalidUrls : IEnumerable<object[]>
{
public IEnumerator<object[]> GetEnumerator()
{
yield return new object[] { "httpp://abcdef.gklm" };
yie... |
Source/WbTstrNet.ProjectTemplate/Pages/BasePage.cs | mirabeau-nl/WbTstr.Net-Template | 2 | 7058916 | using System;
using System.Collections.Generic;
$if$ ($targetframeworkversion$ >= 3.5)using System.Linq;
$endif$using System.Text;
using FluentAutomation;
namespace $safeprojectname$.Pages
{
public class BasePage<T> : PageObject<T> where T : PageObject
{
public BasePage(FluentTest test) : base(test)
... |
Source/Excel/Interfaces/IModule.cs | igoreksiz/NetOffice | 0 | 7058917 | using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.ExcelApi
{
/// <summary>
/// Interface IModule
/// SupportByVersion Excel, 9,10,11,12,14,15,16
/// </summary>
[SupportByVersion("Excel", 9, 10, 11, 12, 14, 15, 16)]
[Ent... |
src/SDKs/DevTestLabs/Management.DevTestLabs/Generated/Models/Disk.cs | juniwang/azure-sdk-for-net | 1 | 7058918 | <reponame>juniwang/azure-sdk-for-net<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.
//
// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
// Changes may cause incorrect behavi... |
ArkhenManufacturing/ArkhenManufacturing.WebApp/Models/Services/CartService.cs | 2011-nov02-net/damien-project1 | 0 | 7058919 | using System.Collections.Generic;
namespace ArkhenManufacturing.WebApp.Models.Services
{
public class CartService
{
private List<ProductRequestViewModel> _products;
public List<ProductRequestViewModel> ProductRequests { get => _products; }
public CartService() {
_products... |
PacketViewer.Core/Heuristic/S_LOAD_TOPO.cs | ori-d/ShinraMeter | 169 | 7058920 | <filename>PacketViewer.Core/Heuristic/S_LOAD_TOPO.cs
using System.Collections.Generic;
using System.Linq;
using Tera.Game;
using Tera.Game.Messages;
namespace PacketViewer.Heuristic
{
class S_LOAD_TOPO : AbstractPacketHeuristic
{
private static Dictionary<ushort, Vector3f> PossibleMessages = new Dicti... |
src/FubuTransportation/TransportSettings.cs | RyanHauert/FubuTransportation | 2 | 7058921 | using System;
using System.Collections.Generic;
using FubuMVC.Core.Registration;
using FubuTransportation.Sagas;
namespace FubuTransportation
{
[ApplicationLevel]
public class TransportSettings
{
public readonly IList<ISagaStorage> SagaStorageProviders;
public readonly IList<Typ... |
chapter7/MarkdownTestLite/Program.cs | jmwinn21/my-dotnetcoreinaction | 0 | 7058922 | using System;
using System.IO;
using System.Net.Http;
using Microsoft.DocAsCode.MarkdownLite;
namespace MarkdownTestLite {
class Program {
static void Main (string[] args) {
var client = new HttpClient ();
var response = client.PostAsync (
"http://localh... |
src/AnalysisLib/Hexadecimal.cs | DefectiveCube/FlightDataAnalyzer | 0 | 7058923 | <reponame>DefectiveCube/FlightDataAnalyzer
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace XPlaneGenConsole
{
[Obsolete()]
internal class Hexadecimal<T> where T : struct
{
... |
MyerSplash/Adapter/AnimatedAdapter.cs | toraidl/MyerSplash.UWP | 146 | 7058924 | <gh_stars>100-1000
using MyerSplash.Common;
using MyerSplash.Common.Composition;
using MyerSplashCustomControl.Adapter;
using System;
using System.Numerics;
using Windows.UI.Composition;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
namespace MyerSplash.Adapter
{
public class AnimatedAdapter : IListViewA... |
Source/SharpFont/MultipleMasters/MultiMaster.cs | ezequias2d/SharpFont | 3 | 7058925 | <reponame>ezequias2d/SharpFont<filename>Source/SharpFont/MultipleMasters/MultiMaster.cs
#region MIT License
/*Copyright (c) 2012-2013 <NAME> <<EMAIL>>
SharpFont based on Tao.FreeType, Copyright (c) 2003-2007 Tao Framework Team
Permission is hereby granted, free of charge, to any person obtaining a copy of
this softw... |
test/Opdex.Platform.Infrastructure.Tests/CirrusFullNodeApiTests/Handlers/Vaults/CallCirrusGetVaultProposalSummaryByProposalIdQueryHandlerTests.cs | Opdex/opdex-v1-api | 7 | 7058926 | using FluentAssertions;
using Moq;
using Opdex.Platform.Common.Constants.SmartContracts;
using Opdex.Platform.Common.Models;
using Opdex.Platform.Common.Models.UInt;
using Opdex.Platform.Domain.Models.Transactions;
using Opdex.Platform.Domain.Models.Vaults;
using Opdex.Platform.Infrastructure.Abstractions.Clients.Cirru... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.