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/BlockChain/BlockChain.cs | SeppPenner/BlockChain | 4 | 7031410 | <filename>src/BlockChain/BlockChain.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="BlockChain.cs" company="Hämmer Electronics">
// Copyright (c) 2020 All rights reserved.
// </copyright>
// <summary>
// A class represen... |
src/Genocs.Core.Demo.WebApi/Models/DemoResult.cs | Genocs/genocs-library | 0 | 7031411 | <reponame>Genocs/genocs-library
using System;
namespace Genocs.Core.Demo.WebApi.Models
{
public class DemoResult
{
public DateTime Date { get; set; }
public string Name { get; set; }
public int Age { get; set; }
}
}
|
Game/GameHistory/GameMoveCheck.cs | theneongrey/chess | 0 | 7031412 | <filename>Game/GameHistory/GameMoveCheck.cs
namespace GameLogic.GameHistory
{
internal class GameMoveCheck : AGameMove
{
internal override void Redo(Board board)
{
}
internal override void Undo(Board board)
{
}
}
}
|
Microsoft.Toolkit.HighPerformance/Helpers/Internals/RefEnumerableHelper.cs | tt9133github/WindowsCommunityToolkit | 2 | 7031413 | <reponame>tt9133github/WindowsCommunityToolkit<filename>Microsoft.Toolkit.HighPerformance/Helpers/Internals/RefEnumerableHelper.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... |
MPT/CSI/API/MPT.CSI.Serialize/Models/Components/Loads/Cases/ModalRitzLoad.cs | MarkPThomas/MPT.Net | 0 | 7031414 | <filename>MPT/CSI/API/MPT.CSI.Serialize/Models/Components/Loads/Cases/ModalRitzLoad.cs
namespace MPT.CSI.Serialize.Models.Components.Loads.Cases
{
public class ModalRitzLoad
{
public virtual string LoadType { get; internal set; }
public virtual string LoadName { get; internal set; }
pub... |
Assets/Scripts/UI/AnnotationEdit.cs | MixedRealityLab/cardographer-tabletop | 0 | 7031415 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
public class AnnotationEdit : MonoBehaviour
{
public TMP_InputField EditField;
public AnnotationBase AnnotationText;
public UIController Controller;
public string Text;
public void ... |
KHPCPatchManager.cs | o0DemonBoy0o/KHPCPatchManager | 0 | 7031416 | using System;
using System.IO;
using System.Linq;
using System.Reflection;
using Ionic.Zlib;
using Ionic.Zip;
using System.Diagnostics;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using System.Drawing;
using System.ComponentModel;
public class MyBackgroundWorker ... |
MeioMundo.Ferramentas/Barcode/BarcodeEncoding.cs | WinterStudios/MeioMundo.Ferramentas | 0 | 7031417 | <filename>MeioMundo.Ferramentas/Barcode/BarcodeEncoding.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MeioMundo.Ferramentas.Barcode
{
public enum BarcodeEncoding
{
Code39 = 0,
EAN13 = 1
}
}
|
src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayCommerceIotAdvertiserAdCreateModel.cs | LuohuaRain/payment | 1 | 7031419 | <reponame>LuohuaRain/payment
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// AlipayCommerceIotAdvertiserAdCreateModel Data Structure.
/// </summary>
public class AlipayCommerceIotAdvertiserAdCreateModel : ... |
src/Services/Marketing/Marketing.API/Infrastructure/MarketingContext.cs | m-knet/eShopOnContainers | 20 | 7031420 | <reponame>m-knet/eShopOnContainers
namespace Microsoft.eShopOnContainers.Services.Marketing.API.Infrastructure
{
using System;
using System.IO;
using EntityConfigurations;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.eShopOnContainers.Services... |
Packages/lipi.action-flow/Runtime/Nodes/BehaviorTree/BTAlwaysSuccessAsset.cs | piruzhaolu/ActionFlow | 62 | 7031421 | <reponame>piruzhaolu/ActionFlow<gh_stars>10-100
using UnityEngine;
using System.Collections;
using ActionFlow;
namespace ActionFlow
{
/// <summary>
/// 如果子节点不返回Running就
/// 始终返回Success的节点
/// </summary>
[System.Serializable]
[NodeInfo("BT/AlwaysSuccess")]
public class BTAlwaysSuccess : INo... |
ShellBoost.Samples/ShellBoost.Samples.CloudFolderSite/Utilities/FileSystemExtensions.cs | aelyo-softworks/ShellBoost-Samples | 7 | 7031422 | using System;
using System.Collections.Generic;
using System.IO;
using ShellBoost.Samples.CloudFolderSite.FileSystem;
namespace ShellBoost.Samples.CloudFolderSite.Utilities
{
public static class FileSystemExtensions
{
public static bool IsFolder(this IFileSystemInfo info) => (info?.Attributes... |
KailashEngine/External/ColladaLoader/Collada_Physics/Physics_Model/Grendgine_Collada_Rigid_Constraint.cs | Yohanus/MuffinEngine | 95 | 7031424 | using System;
using System.Xml;
using System.Xml.Serialization;
using System.IO;
namespace grendgine_collada
{
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
[System.Xml.Serialization.XmlRootAttribute(ElementName="rigid_constraint", Namespace="http://www.collada.org/... |
alica_turtle/src/Expressions/Position.cs | RedundantEntry/cn-alica-ros-pkg | 0 | 7031425 | using System;
using System.Collections.Generic;
using Alica;
/*PROTECTED REGION ID(eph1337246194633) ENABLED START*/ //Add additional using directives here
/*PROTECTED REGION END*/
namespace Alica.Validators
{
//Plan:Position
public partial class Expressions : AbstractExpressions {
... |
src/Service.Contract/Users/UserData.cs | adams85/aspnetskeleton2 | 2 | 7031426 | using System;
using System.Runtime.Serialization;
namespace WebApp.Service.Users
{
[DataContract]
public class UserData
{
[DataMember(Order = 1)] public int UserId { get; set; }
[DataMember(Order = 2)] public string UserName { get; set; } = null!;
[DataMember(Order = 3)] public str... |
BackendServer/AppStartup/ClientAuthConfigModel.cs | zerotwooneone/BarrensChat | 2 | 7031427 | <reponame>zerotwooneone/BarrensChat<filename>BackendServer/AppStartup/ClientAuthConfigModel.cs
namespace BackendServer.AppStartup
{
public class ClientAuthConfigModel
{
public string Domain { get; set; }
public string Scope { get; set; }
public string ClientId { get; set; }
}
} |
Solution/zapnet/Source/Networking/Events/EarlyEventBuffer.cs | BlackPhoenix134/zapnet | 0 | 7031428 | /*
* Copyright © dead.gg <https://dead.gg>
* All Rights Reserved
*
* kurozael <mailto:<EMAIL>>
* zaekona <mailto:<EMAIL>>
*/
using Lidgren.Network;
using System.Collections.Generic;
using UnityEngine;
namespace zapnet
{
internal class EarlyEventBuffer
{
internal struct EarlyEventData
... |
Server/WatchdogLib/Configuration.cs | pluraltouch/Watchdog | 23 | 7031429 | <gh_stars>10-100
using System;
using System.Collections.Generic;
namespace WatchdogLib
{
public class Configuration
{
public enum RebootModes
{
ShutDown,
Reboot,
PowerOff,
HybridShutdown,
};
public enum Force... |
UI/Menus/StoreMenu.cs | 210503-Reston-NET/Valadez-Mykel-P0 | 0 | 7031430 | using System;
using BuisnessLogic;
using UI;
namespace UI.Menus
{
public class StoreMenu
{
public void Start(BLogic BL)
{
Console.Clear();
Console.WriteLine("[0] Search for Location");
Console.WriteLine("[1] Add a Location");
Console.WriteLine("[2... |
Invaders/Invaders/Computer.cs | StefanRomanov/Softuni-DataStructures | 0 | 7031431 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics.PerformanceData;
using System.Linq;
using Wintellect.PowerCollections;
public class Computer : IComputer
{
public int Energy { get; set; }
private int TotalTurns { get; set; }
private OrderedBag<LinkedListNode<Invader>> ... |
ShopRu.Presentation/Logic/IDiscountLogic.cs | lloyduche/ShopRu | 0 | 7031432 | using ShopRu.Application.Invoices.Model;
using ShopRu.Application.Invoices.Queries;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ShopRu.Application.Logic
{
public interface IDiscountLogic
{
Task<InvoiceDto> CalculateDisco... |
src/Microsoft.PowerShell.Commands.Utility/commands/utility/WaitEventCommand.cs | drakeg/PowerShell | 4 | 7031433 | //
// Copyright (C) Microsoft. All rights reserved.
//
using System;
using System.Management.Automation;
using System.Threading;
namespace Microsoft.PowerShell.Commands
{
/// <summary>
/// Waits for a given event to arrive.
/// </summary>
[Cmdlet(VerbsLifecycle.Wait, "Event", HelpUri = "https://... |
src/Autumn.Mvc.Data/Controllers/IRepositoryControllerAsync.cs | gwendallg/aspnet-core-mongo | 0 | 7031434 | <reponame>gwendallg/aspnet-core-mongo<filename>src/Autumn.Mvc.Data/Controllers/IRepositoryControllerAsync.cs
using System;
using System.Linq.Expressions;
using System.Threading.Tasks;
using Autumn.Mvc.Models.Paginations;
using Microsoft.AspNetCore.Mvc;
namespace Autumn.Mvc.Data.Controllers
{
/// <summary>
///... |
GUI/ModChange.cs | javisar/CKAN | 0 | 7031435 | <filename>GUI/ModChange.cs
namespace CKAN
{
/// <summary>
/// Everything the GUI needs to know about a change, including
/// the mod itself, the change we're making, and the reason why.
/// </summary>
public class ModChange
{
public GUIMod Mod { get; private set; }
public GUIMod... |
GenericODataWebApi/Extensions/TypeExtensions.cs | JPlumridge/GenericODataWebApi | 6 | 7031436 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace GenericODataWebApi.Extensions
{
internal static class TypeExtensions
{
public static IEnumerable<MemberInf... |
Source/Utils/TimeUtil.cs | KhaosCoders/wpf-kanban | 12 | 7031437 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KC.WPF_Kanban.Utils
{
/// <summary>
/// Helps with time stuff ;)
/// </summary>
public static class TimeUtil
{
public static string SecondsSuffix = "s";
pu... |
src/Phema.Validation/Extensions/Conditions/ValidationConditionStringExtensions.cs | sergeyshaykhullin/Phema.Validation | 1 | 7031439 | using System;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text.RegularExpressions;
namespace Phema.Validation.Conditions
{
public static class ValidationConditionStringExtensions
{
private static readonly EmailAddressAttribute EmailAddress = new EmailAddressAttribute();
public s... |
src/SharpLearning.Neural.Test/Layers/SquaredErrorRegressionLayerTest.cs | Thecentury/SharpLearning | 1 | 7031440 | using System;
using System.Text;
using System.Linq;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SharpLearning.Neural.Layers;
using MathNet.Numerics.LinearAlgebra;
using System.Diagnostics;
using SharpLearning.Neural.Activations;
using SharpLearning.Neural.Initializations... |
source/Model/Models/ItemModel.cs | yousefataya/HRMS | 0 | 7031441 | <gh_stars>0
using System.ComponentModel.DataAnnotations;
namespace HRMS.Model
{
public class ItemModel
{
public string ItemName { get; set; }
public string Description { get; set; }
public bool IsExist { get; set; }
public string MaxNum { get; set; }
public string Mi... |
Assets/scripts/dialog/DialogManager.cs | hwelsters/boba | 0 | 7031442 | <gh_stars>0
using System.Collections;
using UnityEngine;
using UnityEngine.UI;
public class DialogManager : MonoBehaviour
{
public const float lettersPerSecond = 10f;
public const float inverseLettersPerSecond = 1f / lettersPerSecond;
public GameObject dialogGameObject;
public Text dialogText;
p... |
down_c#/DS/meuterceiroprograma/meusegundoprograma/Form1.cs | Danieljrsilva/exerc_csharp | 0 | 7031443 | 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 meusegundoprograma
{
public partial class frmCalculadora : Form
{
string ... |
RealArtists.ShipHub.Common/GitHub/Models/WebhookPayloads/PushPayload.cs | opsroller/shiphub-server | 14 | 7031444 | namespace RealArtists.ShipHub.Common.GitHub.Models.WebhookPayloads {
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
public class PushPayload {
public string Ref { get; set; }
public string Before { get; set; }
public string After { get; set; }
public bool Created { get;... |
Services/Export/Dialog/ActionRendering/ConfigObject/ChangeNpcStateActionData.cs | steffendx/GoNorth | 419 | 7031445 | <filename>Services/Export/Dialog/ActionRendering/ConfigObject/ChangeNpcStateActionData.cs<gh_stars>100-1000
namespace GoNorth.Services.Export.Dialog.ActionRendering.ConfigObject
{
/// <summary>
/// Change npc state action data
/// </summary>
public class ChangeNpcStateActionData
{
///... |
src/Azure/Orleans.Hosting.AzureCloudServices/Hosting/AzureConstants.cs | kutensky/orleans | 17 | 7031446 | using System;
namespace Orleans.Runtime.Host
{
internal sealed class AzureConstants
{
public static readonly TimeSpan STARTUP_TIME_PAUSE = TimeSpan.FromSeconds(5); // In seconds
public const int MAX_RETRIES = 120; // 120 x 5s = Total: 10 minutes
public const string DataConnectionConfig... |
NullObjectExample/Common/Strategies/AllAloneStrategy.cs | johnrulon/TechTime | 0 | 7031447 | <gh_stars>0
namespace Common.Strategies
{
using System;
public class AllAloneStrategy : WorkStrategy
{
public override string StrategyText
{
get
{
return "All alone.";
}
}
public override void StartStrategy()
{
Console.WriteLine("Good luck as you begin coding all by your ... |
test/Microsoft.Health.Fhir.Tests.E2E/Rest/Search/SearchTestsBase.cs | hansenms/fhir-server | 1 | 7031448 | <filename>test/Microsoft.Health.Fhir.Tests.E2E/Rest/Search/SearchTestsBase.cs
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for licen... |
ARKBreedingStats/library/Player.cs | JaymeiF/ARKStatsExtractor | 391 | 7031449 | namespace ARKBreedingStats.Library
{
public class Player
{
public string PlayerName = "";
public string Tribe = "";
public int Level = 0;
public string Note = "";
}
}
|
src/Microsoft.Azure.WebJobs.Storage/StorageAccount.cs | alpaix/azure-jobs | 0 | 7031450 | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
#if PUBLICSTORAGE
using Microsoft.Azure.WebJobs.Storage.Blob;
using Microsoft.Azure.WebJobs.Storage.Queue;
using Micros... |
src/LinqToTwitter5/LinqToTwitter.Shared/Streaming/Messages/TooManyFollows.cs | ZavierHenry/LinqToTwitter | 486 | 7031451 | <reponame>ZavierHenry/LinqToTwitter
using System;
using System.Linq;
using LinqToTwitter.Common;
using LitJson;
namespace LinqToTwitter
{
public class TooManyFollows
{
public TooManyFollows() { }
public TooManyFollows(JsonData warning)
{
var warn = warning.GetValue<JsonData... |
src/ExCSS/StyleProperties/Flow/OverflowProperty.cs | cbersch/ExCSS | 18 | 7031452 | <filename>src/ExCSS/StyleProperties/Flow/OverflowProperty.cs
namespace ExCSS
{
internal sealed class OverflowProperty : Property
{
private static readonly IValueConverter StyleConverter =
Converters.OverflowModeConverter.OrDefault(Overflow.Visible);
internal OverflowProperty()
... |
src/Tizen.NUI.Components/Style/PaginationStyle.cs | Coquinho/TizenFX | 0 | 7031453 | /*
* Copyright(c) 2020 Samsung Electronics Co., Ltd.
*
* 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 applicable... |
Allfiles/20486C/Mod01/Labfiles/PhotoSharingSample/PhotoSharingSample/Views/Photo/SlideShow.cshtml | poseidonjm/20486-DevelopingASPNETMVCWebApplications | 172 | 7031454 | <filename>Allfiles/20486C/Mod01/Labfiles/PhotoSharingSample/PhotoSharingSample/Views/Photo/SlideShow.cshtml
@model IEnumerable<PhotoSharingApplication.Models.Photo>
@{
ViewBag.Title = "SlideShow";
}
<script type="text/javascript">
function slideSwitch() {
//Get the currently displayed image and the... |
src/Desktomaton.RulesManagement/RulesEngine.cs | nachmore/Desktomaton | 0 | 7031455 | using System.Collections.Generic;
using System.Threading.Tasks;
namespace Desktomaton.RulesManagement
{
public class RulesEngine
{
/// <summary>
/// Returns the number of groups that triggered successfully
/// </summary>
/// <param name="ruleGroups"></param>
/// <returns></returns... |
src/Native/FlashCards.Android/Renderers/AndroidMulticolorBar.cs | karoletrych/flashcards | 0 | 7031456 | using System;
using System.Collections.Generic;
using System.Linq;
using Android.Content;
using Android.Graphics;
using Android.Views;
using Flashcards.Domain.ViewModels.Tools;
namespace Flashcards.Droid.Renderers
{
public class AndroidMulticolorBar : View
{
public AndroidMulticolorBar(Context context) : base(con... |
FDEV.Rules.Demo.Domain/Rules/Engine/RulesEngine.cs | Feltman-Development/FDev.Rules | 0 | 7031457 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using FDEV.Rules.Demo.Domain.Rules.Actions;
using FDEV.Rules.Demo.Domain.Rules.Conditions;
using FDEV.Rules.Demo.Domain.Rules.Context;
using FDEV.Rules.Demo.Domain.Rules.Expressions;
u... |
src/middleware/Controllers/ApiController.cs | marklise/bcparks.ca | 0 | 7031458 | using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using BCParksApi.Utils;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using NSwag.A... |
Sources/Tests/Showzup/Controls/Virtual/Layout/RectAssertExtensions.cs | silphid/silphid.unity | 32 | 7031459 | using Silphid.Tests;
using UnityEngine;
namespace Silphid.Showzup.Test.Controls.Virtual.Layout
{
public static class RectAssertExtensions
{
public static void Is(this Rect This, Vector2 min, Vector2 size) =>
This.Is(new Rect(min, size));
public static void Is(this Rect This, float ... |
Microsoft.Research/AbstractInterpretation/Abstract Domains/Numerical/SparseArray.cs | jeroen-mostert/CodeContracts | 778 | 7031460 | <filename>Microsoft.Research/AbstractInterpretation/Abstract Domains/Numerical/SparseArray.cs<gh_stars>100-1000
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//An implementation for a sparse array, to optimize
// ... |
GridExample/Form1.Designer.cs | totalintelli/GridExample | 0 | 7031461 | namespace GridExample
{
partial class Form1
{
/// <summary>
/// 필수 디자이너 변수입니다.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 사용 중인 모든 리소스를 정리합니다.
/// </summary>
/// <param name="disposing">관리되는 리소스를 ... |
GD.Game/Screens/Select/SelectScreen.cs | EVAST9919/GDUI | 0 | 7031462 | <reponame>EVAST9919/GDUI<gh_stars>0
using GD.Game.Graphics;
using GD.Game.Legacy;
using GD.Game.Screens.Select.Carousel;
using GD.Game.TransformableExtensions;
using GD.Game.UserInterface;
using osu.Framework.Extensions.Color4Extensions;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osuT... |
src/BaGet.Core/Storage/SymbolStorageService.cs | jkljajic/BaGet | 1 | 7031463 | <reponame>jkljajic/BaGet<gh_stars>1-10
using System;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace BaGet.Core.Storage
{
public class SymbolStorageService : ISymbolStorageService
{
private const string SymbolsPathPrefix = "symbols";
private c... |
Tup.Cobar4Net/Properties/AssemblyInfo.cs | tupunco/Tup.Cobar4Net | 11 | 7031464 | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Tup.Cobar4Net")]
[assembly: AssemblyDescription("Alibaba Cobar .NET 实现版")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("T... |
v3.1/Models/DB/TbaliseLinkReaction.cs | LightosLimited/RailML | 0 | 7031465 | using System;
using System.Collections.Generic;
namespace Models.DB
{
public partial class TbaliseLinkReaction
{
public TbaliseLinkReaction()
{
Tbalise = new HashSet<Tbalise>();
}
public byte TbaliseLinkReactionId { get; set; }
public string Value { get; se... |
src/CavemanTools.MVC/Routing/RoutingPolicy.cs | Rusk85/CavemanToolBySapiensworks | 0 | 7031466 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Routing;
using System.Reflection;
namespace CavemanTools.Mvc.Routing
{
public class RoutingPolicy
{
public RoutingPolicy()
{
UrlFormatPolicies=new List<IRouteUrlFormat... |
src/services/traceability/HFX.Traceability/Program.cs | HelioFlux/Heliosphere | 0 | 7031467 | <reponame>HelioFlux/Heliosphere<gh_stars>0
using Autofac.Extensions.DependencyInjection;
using HFX.Traceability.Extensions;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Newtonsoft.Json;
using Serilog;
using System;
using System.IO;
namespace HF... |
NBCZ.Model/T4.DapperExt/V_PubFunction_Parent.cs | chi8708/NBCZ_Admin_NetCore | 133 | 7031468 | <filename>NBCZ.Model/T4.DapperExt/V_PubFunction_Parent.cs
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由T4模板自动生成
// 生成时间 2019-08-12 11:19:26
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失
// 作者:<NAME>
// </auto-generated>
//----------------... |
RemoteCommunication.Tests/OlderVersions/EmbeddedRemoteCommunication.v01.cs | mojoe-playground/RemoteCommunication | 0 | 7031469 | namespace EmbeddedRemoteCommunication.v01
{
using Internal;
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
internal class Communicator : CommunicatorBase
{
private readonly Dictionary<string, (Func<object[], Task> handler, int p... |
lib/csharp/microsoft.bot.builder.skills/Microsoft.Bot.Builder.Skills.Tests/Mocks/MockSkillHttpAdapter.cs | 3ve4me/botframework-solutions | 1 | 7031470 | <reponame>3ve4me/botframework-solutions
using Microsoft.Bot.Builder.Skills.Auth;
namespace Microsoft.Bot.Builder.Skills.Tests.Mocks
{
public class MockSkillHttpAdapter : SkillHttpAdapter
{
public MockSkillHttpAdapter(
SkillHttpBotAdapter skillHttpBotAdapter,
IAuthenticationProv... |
test/expected/comment/core/Models/Test3.cs | liaoyustudent/darabonba-csharp-generator | 10 | 7031471 | <gh_stars>1-10
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace Darabonba.Test.Models
{
/**
TestModel3
*/
public class Test3 : TeaModel {
// empty comment1
// empy comment2
}
}
|
06.HighQualityMethodsHomework/Methods/Number/TransformationMethods.cs | danisio/danisio-HQC-HighQualityCode-Homeworks | 0 | 7031472 | namespace Methods.Number
{
using System;
public class TransformationMethods
{
public static string NumberToWord(int number)
{
string[] array = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine" };
if (number < 0 || number > 9)
... |
tests/Core.Episerver.Tests/Controllers/SynonymsControllerTests.cs | rholzner/Epinova.Elasticsearch | 0 | 7031473 | <reponame>rholzner/Epinova.Elasticsearch
using System.Collections.Generic;
using System.Globalization;
using System.Web.Mvc;
using Epinova.ElasticSearch.Core.EPiServer.Contracts;
using Epinova.ElasticSearch.Core.EPiServer.Controllers;
using Epinova.ElasticSearch.Core.EPiServer.Models;
using Epinova.ElasticSearch.Core.... |
services/ppt_exporter/PptExporter/Models/PropertySettings.cs | zihbot/architekturak_hf | 1 | 7031474 | <filename>services/ppt_exporter/PptExporter/Models/PropertySettings.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PptExporter.Models
{
public class PropertySettings
{
public string EndIdName { get; set; }
public stri... |
ButorRevolutionWebAPI/src/backend/test/IFPS.Sales.UnitTests/Domain/Model/CustomerAggregateTests.cs | encosoftware/ifps | 0 | 7031475 | using IFPS.Sales.Domain.Enums;
using IFPS.Sales.Domain.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using Xunit;
namespace IFPS.Sales.UnitTests.Domain.Model
{
public class CustomerAggregateTests
{
[Fact]
public void Check_customer_initializing()
{
... |
DaniKarijera/Views/Home/Index.cshtml | wleorule/ConferenceHero | 1 | 7031476 | <reponame>wleorule/ConferenceHero
@using DaniKarijera.Models
@{
Layout = "~/Views/Shared/_DefaultLayout.cshtml";
ViewBag.Title = "FOI Dani karijera [Glavna]";
}
<div id="calendar">
</div>
@Styles.Render("~/Content/css/fullcalendar")
@Scripts.Render("~/bundles/fullcalendar")... |
demo/WalkingTec.Mvvm.Demo/Views/School/Create2.cshtml | jl632541832/WTM | 3,835 | 7031477 | <filename>demo/WalkingTec.Mvvm.Demo/Views/School/Create2.cshtml
@model WalkingTec.Mvvm.Demo.ViewModels.SchoolVMs.SchoolVM
<wt:form vm="@Model">
<wt:row items-per-row="ItemsPerRowEnum.Two">
<wt:textbox field="Entity.SchoolCode" />
<wt:textbox field="Entity.SchoolName" />
<wt:combobox field="Entity.SchoolT... |
Recount.Core/InterpreterStates/InterpreterState.cs | Snuk/Recount | 0 | 7031478 | using Recount.Core.Contexts;
using Recount.Core.Lexemes;
using Recount.Core.Operators;
using Recount.Core.Symbols;
namespace Recount.Core.InterpreterStates
{
public abstract class InterpreterState
{
public static InterpreterState StartFromInitialState(ILexemesStack stack)
{
... |
src/Machete/Tools/SequenceNumber.cs | AreebaAroosh/Machete | 38 | 7031479 | <reponame>AreebaAroosh/Machete
namespace Machete.Tools
{
using System;
using System.Collections.Generic;
/// <summary>
/// Used to generate sequence numbers, which can be nested by type
/// </summary>
public class SequenceNumber
{
readonly int _seed;
readonly object _sync... |
Slicer/Slicer/Clipper/Clip.cs | guuskuiper/Slicer | 0 | 7031481 | <filename>Slicer/Slicer/Clipper/Clip.cs
// unset
using ClipperLib;
using Slicer.Models;
using System.Collections.Generic;
namespace Slicer.Slicer.Clipper
{
public class Clip : IClip
{
private readonly ClipperLib.Clipper _clipper;
public Clip(ClipperLib.Clipper clipper)
{
... |
src/Nest/Modules/SnapshotAndRestore/Snapshot/Snapshot/SnapshotResponse.cs | Brightspace/elasticsearch-net | 0 | 7031482 | <gh_stars>0
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System.Runtime.Serialization;
namespace Nest
{
[DataContract]
public class SnapshotResponse ... |
CoreHelpers.WindowsAzure.Storage.Table.Demo/Models/DemoEntryWithOptionalValues.cs | CoreHelpers/AzureStorageTable | 10 | 7031483 | using System;
using CoreHelpers.WindowsAzure.Storage.Table.Attributes;
namespace CoreHelpers.WindowsAzure.Storage.Table.Demo.Models
{
[Storable(Tablename = "DemoEntryWithOptinalValues")]
public class DemoEntryWithOptionalValues
{
[PartitionKey]
public string PartitionKey { get; set; } = "P... |
tests/TestUtils/Helpers/ProcessManagerExtensions.cs | Cdddo/Git-for-Unity | 151 | 7031484 | <filename>tests/TestUtils/Helpers/ProcessManagerExtensions.cs
using Unity.VersionControl.Git;
using Unity.VersionControl.Git.Tasks;
using System.Collections.Generic;
using System.Threading;
using Unity.VersionControl.Git.IO;
using Unity.Editor.Tasks;
namespace TestUtils
{
static class ProcessManagerExtensions
... |
Hast.Abstractions/Hast.Vitis.Abstractions/Extensions/ConfigurationExtensions.cs | gmb77/Hastlayer-SDK | 248 | 7031485 | using Hast.Layer;
using Hast.Vitis.Abstractions.Models;
namespace Hast.Vitis.Abstractions.Extensions
{
public static class ConfigurationExtensions
{
public static IOpenClConfiguration GetOrAddOpenClConfiguration(this IHardwareGenerationConfiguration configuration) =>
configuration.... |
Assets/ImportedAssets/TirgamesAssets/SchoolScene/Scenes/SchoolSceneAssets/Menu/Scripts/SceneExit.cs | Bluepuff71/DDWorld | 2 | 7031486 | using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class SceneExit : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if (Input.GetKey("escape")) {
SceneManager.LoadScene("SchoolSceneMenu");
}
}
}... |
Source/EasyCNTK/Learning/DoubleComparer.cs | StanislavGrigoriev/EasyCNTK | 19 | 7031487 | //
// Copyright (c) <NAME>. All rights reserved.
// <EMAIL>
// https://github.com/StanislavGrigoriev/EasyCNTK
//
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//
using System;
using System.Collections.Generic;
namespace EasyCNTK.Learning
{
/// <summary>... |
SolutionExportFixer/SolutionExportFixer/Resolvers/RelationshipResolver.cs | pawelgradecki/SolutionExportFixer | 0 | 7031489 | <filename>SolutionExportFixer/SolutionExportFixer/Resolvers/RelationshipResolver.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xrm.Sdk;
using Microsoft.Xrm.Sdk.Messages;
using SolutionExportFixer.Model;
namespace SolutionExportFi... |
framework/Furion/App/Internal/InternalApp.cs | doujia/Furion | 1,071 | 7031491 | <gh_stars>1000+
// Copyright (c) 2020-2021 百小僧, Baiqian Co.,Ltd.
// Furion is licensed under Mulan PSL v2.
// You can use this software according to the terms and conditions of the Mulan PSL v2.
// You may obtain a copy of Mulan PSL v2 at:
// https://gitee.com/dotnetchina/Furion/blob/master/LICENSE
// THIS... |
Engine/CLR/MonitorInstance.cs | nicknash/RelaSharp | 81 | 7031492 | <reponame>nicknash/RelaSharp
using System;
using System.Collections.Generic;
using RelaSharp.MemoryModel;
namespace RelaSharp.CLR
{
interface IMonitor
{
void Enter(object lockObject, string memberName, string sourceFilePath, int sourceLineNumber);
void Enter(object lockObject, ref bool lockTake... |
ProjectArchivist/MainWindow.cs | xLightling/ProjectArchivist_WinForms | 0 | 7031493 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace ProjectArchivist
{
/// <summary>
/// The main window displays a list of archived items, global settings, and the setting for saving and creating a script
/// </summary>
public partial c... |
MirrorInstallerSbos/MirrorInstallerSbos/Form1.cs | 86158/SmartMirror | 0 | 7031494 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Diagnostics;
using System.IO;
namespace MirrorInstallerSbos
{
public par... |
NiftyPerforce/EventHandlers/AutoCheckoutProject.cs | etri3600/niftyplugins | 39 | 7031495 | <gh_stars>10-100
// Copyright (C) 2006-2010 <NAME>. See COPYING for and README for more details.
using System;
using System.IO;
using EnvDTE;
using EnvDTE80;
using System.Collections.Generic;
namespace Aurora
{
namespace NiftyPerforce
{
class AutoCheckoutProject : PreCommandFeature
{
public AutoC... |
src/Google.Cloud.Functions.Invoker/DependencyInjection/FunctionsHostBuilder.cs | amanda-tarafa/functions-framework-dotnet | 0 | 7031496 | // Copyright 2020, 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... |
GutterLines/SigScan.cs | miatribe/GutterLines | 12 | 7031497 | <filename>GutterLines/SigScan.cs<gh_stars>10-100
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace GutterLines
{
class SigScan
{
private byte[] _MemoryDump;
public Process Process { get; set; }
public int DumpSize { get; set; }
[DllImport(... |
UserAgentService/UserAgentSettings.cs | DannyBoyNg/UserAgentService | 3 | 7031498 | <gh_stars>1-10
using System;
using System.Collections.Generic;
namespace Ng.Services
{
/// <summary>
/// UserAgent settings container.
/// </summary>
public class UserAgentSettings
{
/// <summary>
/// Gets or sets the maximum size of the cache. 10000 means it will store 10000 diffe... |
qpmodel/LogicNode.cs | futurewei-cloud/qpmodel | 0 | 7031499 | /*
* The MIT License (MIT)
*
* Copyright (c) 2020 Futurewei Corp.
*
* 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 ... |
LargeCollections.DiskCache/SpatialDiskCache.cs | Developer-Alexander/LargeCollections | 1 | 7031500 | /*
MIT License
SPDX-License-Identifier: MIT
Copyright (c) 2022 Developer Alexander
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... |
src/main/DomainObjects/Renewal.cs | sherif-elmetainy/win-acme | 3 | 7031501 | <filename>src/main/DomainObjects/Renewal.cs
using Newtonsoft.Json;
using PKISharp.WACS.Extensions;
using PKISharp.WACS.Plugins.Base.Options;
using PKISharp.WACS.Services;
using PKISharp.WACS.Services.Serialization;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace P... |
Shop.Database/Migrations/20200602183802_Model Update.cs | DanSivewright/IDV302 | 0 | 7031502 | <reponame>DanSivewright/IDV302
using Microsoft.EntityFrameworkCore.Migrations;
namespace Shop.Database.Migrations
{
public partial class ModelUpdate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: ... |
AgrideaCore/Validation/FluentValidation/IValidatorFactory.cs | ni11c/AkkaJobs | 0 | 7031503 | <reponame>ni11c/AkkaJobs<gh_stars>0
using Agridea.DataRepository;
using FluentValidation;
namespace Agridea.Validation.FluentValidation
{
public interface IValidatorFactory<TPoco> where TPoco : PocoBase
{
AbstractValidator<TPoco> GetValidator(TPoco poco);
}
} |
src/EntityFramework.Storage/src/Options/ConfigurationStoreOptions.cs | Brunni/IdentityServer4 | 9,180 | 7031504 | // Copyright (c) <NAME> & <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System;
using Microsoft.EntityFrameworkCore;
namespace IdentityServer4.EntityFramework.Options
{
/// <summary>
/// Options for configuring ... |
src/SharpNeatLib/Core/IDistanceMetric.cs | AlexLeung/TradingNEAT | 0 | 7031505 | /* ***************************************************************************
* This file is part of SharpNEAT - Evolution of Neural Networks.
*
* Copyright 2004-2016 <NAME> (<EMAIL>)
*
* SharpNEAT is free software; you can redistribute it and/or modify
* it under the terms of The MIT License (MIT).
*
... |
MoPlus.Interpreter/BLL/Interpreter/CodeTemplateOutputGrammar.cs | moplus/modelorientedplus | 5 | 7031506 | /*<copyright>
Mo+ Solution Builder is a model oriented programming language and IDE, used for building models and generating code and other documents in a model driven development process.
Copyright (C) 2013 <NAME>, Intelligent Coding Solutions, LLC
This program is free software: you can redistribute it and/or modify... |
src/Signature.Core/ThreadPool.cs | North-Earth/signature | 0 | 7031507 | <filename>src/Signature.Core/ThreadPool.cs
using Signature.Core.Models;
namespace Signature.Core;
internal class ThreadPool : IDisposable
{
public Thread[] Threads { get; }
public AutoResetEvent[] ResetEvents { get; }
public ThreadPool(LaunchConfiguration configuration, ReadFileConveyor conveyor)
{
... |
Source/Outlook/Behind/DispatchInterfaces/_OlkDateControl.cs | igoreksiz/NetOffice | 0 | 7031508 | <filename>Source/Outlook/Behind/DispatchInterfaces/_OlkDateControl.cs
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
using NetOffice.OutlookApi;
namespace NetOffice.OutlookApi.Behind
{
/// <summary>
/// DispatchInterface _OlkDateControl
/// SupportByVersion... |
FitnessApp/Controllers/UserController.cs | 1337Motya/FitnessApp | 0 | 7031509 | using Application.Services.UserService.Queries;
using Domain.Entitties.Identity;
using FitnessApp.Core.Services.UserService.Commands;
using FitnessApp.Core.Services.UserService.Queries;
using FitnessApp.Domain.Entitties.Identity;
using MediatR;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCor... |
Selliverse.Server/WebsocketExtensions.cs | blaise-braye/selliverse | 0 | 7031510 | <reponame>blaise-braye/selliverse
using System;
using System.Net.WebSockets;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Selliverse.Server.Actors;
namespace Selliverse.Server
{
public static class WebsocketExtensions
{
public static Task SendItRight<T>(this Conn... |
src/IbanNet.DependencyInjection.Autofac/AutofacIbanNetOptionsBuilder.cs | French-Coders-Organization/IbanNet | 74 | 7031511 | <reponame>French-Coders-Organization/IbanNet<gh_stars>10-100
using Autofac;
namespace IbanNet.DependencyInjection.Autofac
{
internal class AutofacIbanNetOptionsBuilder : IIbanNetOptionsBuilder
{
private readonly IbanNetModule _module;
internal AutofacIbanNetOptionsBuilder(IbanNetModule module... |
src/Humidifier/Cognito/UserPool.cs | richarddowner/Humidifier | 49 | 7031512 | namespace Humidifier.Cognito
{
using System.Collections.Generic;
using UserPoolTypes;
public class UserPool : Humidifier.Resource
{
public static class Attributes
{
public static string ProviderName = "ProviderName" ;
public static string ProviderURL = "Provide... |
QueryAnalyzer/Functions/ToUpper.cs | pierresapinault-ef/Sitecore-Rocks-Plugins | 0 | 7031513 | <reponame>pierresapinault-ef/Sitecore-Rocks-Plugins
using Sitecore.Data.Query;
using Sitecore.Diagnostics;
using Sitecore.Exceptions;
namespace Sitecore.Rocks.Server.QueryAnalyzers.Functions
{
[Function("ToUpper", Example = "update set @field = ToUpper(@field) from /sitecore/content/home",
LongHel... |
Source/RageCommunity.Library/Vehicles/Models/Van.cs | furaihan/rage-community-library | 6 | 7031514 | using System;
using System.ComponentModel;
namespace RageCommunity.Library.Vehicles.Models
{
[Description("This classification also includes some pickup trucks.")]
public enum Van : Int64
{
/// <summary>
/// Bravado Bison
/// </summary>
Bison = 4278019151,
/// <su... |
Messenger-API/Messenger.Application/EntitiesContext/UserContext/Commands/Authenticate.cs | M4urici0GM/messenger | 5 | 7031515 | <filename>Messenger-API/Messenger.Application/EntitiesContext/UserContext/Commands/Authenticate.cs
using System.Linq;
using System.Security.Authentication;
using System.Threading;
using System.Threading.Tasks;
using AutoMapper;
using FluentValidation.Results;
using MediatR;
using Messenger.Application.DataTransferObjec... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.