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 |
|---|---|---|---|---|
Repositories/Migrations/Repositories.Migrations.DbUp/Extensions/UpgradeEngineBuilderExtensions.cs | TheName/DistributedLocking | 0 | 7037286 | using DbUp.Builder;
using DistributedLocking.Abstractions.Repositories.Migrations;
namespace DistributedLocking.Repositories.Migrations.DbUp.Extensions
{
/// <summary>
/// Extensions for <see cref="UpgradeEngineBuilder"/>
/// </summary>
public static class UpgradeEngineBuilderExtensions
{
... |
CSETWebApi/CSETWeb_Api/BusinessLogic/AssessmentIO/export/ExportAssessmentManager.cs | gaobrian/cse | 0 | 7037287 | <filename>CSETWebApi/CSETWeb_Api/BusinessLogic/AssessmentIO/export/ExportAssessmentManager.cs<gh_stars>0
////////////////////////////////
//
// Copyright 2020 Battelle Energy Alliance, LLC
//
//
////////////////////////////////
using BusinessLogic.Models;
using CSETWeb_Api.BusinessLogic.Helpers;
using CSETWeb_... |
EFGetStarted.AspNetCore.ExistingDb/EFGetStarted.AspNetCore.ExistingDb/Models/EFGetStartedAspNetCoreNewDbContext.cs | marciocleberbrazil/aspnetcore-studies | 0 | 7037288 | <gh_stars>0
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata;
namespace EFGetStarted.AspNetCore.ExistingDb.Models
{
public partial class EFGetStartedAspNetCoreNewDbContext : DbContext
{
public EFGetStartedAspNetCoreNewDbContext()
{
... |
src/FluentKnockoutHelpers.Mvc/Builders/InstanceBuilder.cs | AbraaoAlves/FluentKnockoutHelpers | 1 | 7037289 | using System;
using System.Web;
using System.Web.Mvc;
using FluentKnockoutHelpers.Core;
using FluentKnockoutHelpers.Core.Builders;
namespace FluentKnockoutHelpers.Mvc.Builders
{
//TODO maybe bring this back or delete it
//public class InstanceBuilder<TModel, TKoModel> : Builder<TKoModel>
//{
// pri... |
src/DaxnetBlog.WebServices/Controllers/AccountsController.cs | daxnet/daxnet-blog | 36 | 7037290 | <gh_stars>10-100
// ===========================================================================================================
// _ _ _ _
// | | | | | | | |
// __| | __ _ _... |
Projet-Tangram/Assets/UMI3D SDK/common/Dto/objects/BoneDto.cs | UMI3D/UMI3D-Tangram | 0 | 7037291 | /*
Copyright 2019 Gfi Informatique
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 law or agreed to in writing, softwa... |
SilverBotDS/Commands/giphy.cs | zurgeg/SilverBot | 0 | 7037292 | <filename>SilverBotDS/Commands/giphy.cs
using DSharpPlus;
using DSharpPlus.CommandsNext;
using DSharpPlus.CommandsNext.Attributes;
using DSharpPlus.Entities;
using DSharpPlus.Interactivity;
using DSharpPlus.Interactivity.Extensions;
using GiphyDotNet.Model.Parameters;
using GiphyDotNet.Model.Results;
using SilverBotDS... |
Python/Product/Debugger/Debugger/TryHandlerWalker.cs | Cellule/PTVS | 0 | 7037293 | <gh_stars>0
// Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the License); you may not use
// this file except in compliance with the License. You may obtain a copy of the
// License at http://www.apache.org/licenses/LI... |
EventLoggerConnector/Message.cs | jh-isw/EventLoggerConnector | 8 | 7037294 | <filename>EventLoggerConnector/Message.cs
using System;
namespace EventLoggerConnector
{
public class Message
{
public int Id { get; internal set; }
public Guid EventClass { get; internal set; }
public int EventId { get; internal set; }
public string Text { get; internal set; }... |
UserManagement.Application/Common/Interfaces/IConfigConstants.cs | fullstackhub-io/UserManagement | 13 | 7037295 | <reponame>fullstackhub-io/UserManagement
namespace UserManagement.Application.Common.Interfaces
{
public interface IConfigConstants
{
string FullStackConnection { get; }
string TestFullStackConnection { get; }
int LongRunningProcessMilliseconds { get; }
string MSG_USER_NULLUSERI... |
Dashboard/AirlineReservation.aspx.designer.cs | syncfusion/aspnet-ej1-demos | 3 | 7037296 | #region Copyright Syncfusion Inc. 2001-2021.
// Copyright Syncfusion Inc. 2001-2021. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// <EMAIL>. Any infringement will be prosecuted under
// applicable laws.
#endr... |
src/steps/Microsoft.DotNet.UpgradeAssistant.Steps.Templates/RuntimeItemSpec.cs | vlader08/upgrade-assistant | 1 | 7037297 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.DotNet.UpgradeAssistant.Extensions;
namespace Microsoft.DotNet.UpgradeAssis... |
src/System.Runtime.InteropServices/src/System/Runtime/InteropServices/IMarshal.cs | itrofimow/corefx | 15 | 7037298 | <filename>src/System.Runtime.InteropServices/src/System/Runtime/InteropServices/IMarshal.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System.Runtime... |
Platformer/Nez/Nez.ImGui/Core/ImGuiOptions.cs | AlmostBearded/monogame-platformer | 0 | 7037299 | <reponame>AlmostBearded/monogame-platformer<filename>Platformer/Nez/Nez.ImGui/Core/ImGuiOptions.cs
using ImGuiNET;
using System;
using System.Collections.Generic;
using Num = System.Numerics;
namespace Nez.ImGuiTools
{
public class ImGuiOptions
{
internal bool _includeDefaultFont = true;
internal List<Tuple<str... |
src/FubuMVC.Core/ServiceBus/ErrorHandling/ErrorHandler.cs | RyanHauert/fubumvc | 100 | 7037300 | using System;
using System.Collections.Generic;
using System.Linq;
using FubuCore;
using FubuCore.Descriptions;
using FubuMVC.Core.ServiceBus.Runtime;
using FubuMVC.Core.ServiceBus.Runtime.Invocation;
namespace FubuMVC.Core.ServiceBus.ErrorHandling
{
public class ErrorHandler : IErrorHandler, IExceptionMatch, Des... |
src/FubuTransportation/Polling/PollingJobDeactivator.cs | RyanHauert/FubuTransportation | 2 | 7037301 | <filename>src/FubuTransportation/Polling/PollingJobDeactivator.cs
using System;
using System.Collections.Generic;
using Bottles;
using Bottles.Diagnostics;
namespace FubuTransportation.Polling
{
public class PollingJobLatch
{
public bool Latched;
}
public class PollingJobDeactivat... |
DesignPatternSamples/CSharpLib.FactoryPattern/Wrox_FactorySample/RoyalMail.cs | DefectBuster/DesignPatterns | 0 | 7037302 | <reponame>DefectBuster/DesignPatterns
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CSharpLib.FactoryPattern.Wrox_FactorySample
{
public class RoyalMail : IShippingCourier
{
public string GenerateConsignmentLabelFor(Addres... |
Cvl.DynamicForms/Cvl.DynamicForms.Server/Areas/DynamicForms/Pages/Index.cshtml.cs | cv-lang/dynamic-forms | 0 | 7037303 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Cvl.DynamicForms.Base;
using Cvl.DynamicForms.Services;
using Cvl.DynamicForms.Services.Base;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace Cvl.DynamicForms.Areas.DynamicForms.P... |
FrameCapturer/Assets/UTJ/FrameCapturer/Scripts/Encoder/WaveEncoder.cs | tolgaeren/FrameCapturer | 1,021 | 7037304 | <gh_stars>1000+
using System;
using UnityEngine;
namespace UTJ.FrameCapturer
{
public class WaveEncoder : AudioEncoder
{
fcAPI.fcWaveContext m_ctx;
fcAPI.fcWaveConfig m_config;
public override void Release() { m_ctx.Release(); }
public override bool IsValid() { ret... |
MsgKeyGen/PTCustomizeUtil.cs | TaylorClark/PrimeTime | 0 | 7037305 | using System;
using System.IO;
using System.Text;
using System.Drawing;
namespace PTWebApp
{
public class PTCustomizeUtil
{
// Message lengths in characters for both the title screen message and custom picture
// message
public const int MSG_NUM_MSG_LEN = 64;
public const int MSG_NUM_FRONT_PAD = 7;
public... |
Logic.WPF/Core/Shapes/XWire.cs | JackWangCUMT/Logic.WPF | 14 | 7037306 | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Logic.Core
{
public class XWire : IShape
{
publ... |
Exams/C# OOP Demo Exam - 07 December 2019/MXGP/Core/Contracts/Engine.cs | drapperr/CSharp-OOP | 1 | 7037307 | using System;
using System.Collections.Generic;
using System.Text;
namespace MXGP.Core.Contracts
{
public class Engine : IEngine
{
private IChampionshipController championshipController;
public Engine()
{
this.championshipController=new ChampionshipController();
}
... |
src/ItsMyConsole/Models/CommandPattern.cs | dtarroz/ItsMyConsole | 0 | 7037308 | using System.Text.RegularExpressions;
namespace ItsMyConsole
{
internal class CommandPattern
{
public string Pattern { get; set; }
public RegexOptions RegexOptions { get; set; }
}
}
|
src/Abstractions/MapperExtensions.cs | me-viper/MappingGenerator | 1 | 7037309 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace Talk2Bits.MappingGenerator.Abstractions
{
public static class MapperExtensions
{
public static IEnumerable<TOut> Map<TIn, TOut>(this IMapper<TIn, TOut> mapper, IEnumerable<TIn>? source)
{
... |
src/Never.Web.Mvc/WebStartup.cs | shelldudu/never_web | 17 | 7037310 | <reponame>shelldudu/never_web
#if !NET461
using Never.IoC.Injections;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Never.Web.Mvc
{
/// <summary>
/// 定义对 .NET Core 应用程序内所有应用程序对象公用的方法、属性和事件。
/// </summary>
public class WebS... |
Code/0_Domain/WebForLink.Domain/Services/Process/TabelaBP.cs | nelson1987/ProjetoPadraoTDD | 0 | 7037311 | using System.Collections.Generic;
using WebForDocs.Business.Manager;
using WebForDocs.Data.ModeloDB;
namespace WebForDocs.Business.Process
{
/*
public class QuestionarioAbaBP : BPBase
{
readonly QuestionarioAbaBM _questionarioAbaBM = new QuestionarioAbaBM();
public QIC_QUEST_ABA BuscarPorI... |
FUNDArraysLab/CondenseArrayToNumber/Program.cs | tonchevaAleksandra/C-Fundamentals | 2 | 7037312 | <reponame>tonchevaAleksandra/C-Fundamentals<gh_stars>1-10
using System;
using System.Linq;
namespace CondenseArrayToNumber
{
class Program
{
static void Main(string[] args)
{
int[] numbers = Console.ReadLine()
.Split()
.Select(int.Parse)
... |
src/Umbraco.Web/PublishedElementExtensions.cs | bharanijayasuri/umbraco8 | 0 | 7037313 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Umbraco.Core;
using Umbraco.Core.Composing;
using Umbraco.Core.Models.PublishedContent;
namespace Umbraco.Web
{
/// <summary>
/// Provides extension methods for <c>IPublishedElement</c>.
/// </summary>
public st... |
source/SheepIt.Api/Model/Packages/VariableForEnvironment.cs | sheepit/sheepit | 12 | 7037314 | namespace SheepIt.Api.Model.Packages
{
public class VariableForEnvironment
{
public string Name { get; }
public string Value { get; }
public VariableForEnvironment(string name, string value)
{
Name = name;
Value = value;
}
}
} |
Assets/Scripts/Entity/Player.cs | aerosolswe/Bunker-32 | 0 | 7037315 | <reponame>aerosolswe/Bunker-32
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Player : Entity {
public static void Create(Vector3 position) {
GameObject plObject = Instantiate(GameManager.instance.playerPrefab);
plObject.transform.p... |
src/Twilio/Rest/Preview/Understand/AssistantResource.cs | jbonner89/twilio-csharp | 0 | 7037316 | /// This code was generated by
/// \ / _ _ _| _ _
/// | (_)\/(_)(_|\/| |(/_ v1.0.0
/// / /
/// <summary>
/// PLEASE NOTE that this class contains preview products that are subject to change. Use them with caution. If you
/// currently do not have developer preview access, please contact <EMAIL>.
//... |
ConceptMatrix/Views/CharacterDetailsView4.xaml.cs | Sparrows413/CMTool | 1 | 7037317 | <reponame>Sparrows413/CMTool
using ConceptMatrix.Models;
using ConceptMatrix.Utility;
using ConceptMatrix.ViewModel;
using MaterialDesignThemes.Wpf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Win... |
Samples.Specifications.Server.Host/Controllers/WarehouseController.cs | IlyaFinkelshteyn/Samples.Specifications | 0 | 7037318 | <filename>Samples.Specifications.Server.Host/Controllers/WarehouseController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNetCore.Mvc;
using Samples.Specifications.Server.Domain.Services.Storage;
using Samples.Specifications.Server.Host.Data;
using Samples.Specifications.Ser... |
unity/Assets/Code/Debugging/DebugOverviewMode.cs | kruzifix/Klaesh-Proto | 3 | 7037319 | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace Klaesh.Debugging
{
public class DebugOverviewMode : AbstractDebugMode
{
public override string Name => "Overview";
public override string Description => string.Empty;
private De... |
DemoCore/src/Entity/Models/OccupationBestWorkTime.cs | hugomarshall/Demo | 0 | 7037320 | using System.ComponentModel.DataAnnotations.Schema;
namespace DemoCore.Domain.Models
{
[Table("OccupationBestWorkTime", Schema = "DemoCoreData")]
public class OccupationBestWorkTime
{
public int BestWorkTimeId { get; set; }
public virtual BestWorkTime BestWorkTime { get; set; }
pub... |
Ryujinx.HLE/HOS/Services/Sockets/Bsd/BsdContext.cs | 2579768776/Ryujinx | 6 | 7037321 | using System.Collections.Concurrent;
using System.Collections.Generic;
namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd
{
class BsdContext
{
private static ConcurrentDictionary<ulong, BsdContext> _registry = new ConcurrentDictionary<ulong, BsdContext>();
private readonly object _lock = new obje... |
Framework/DragonSpark.Types/ContentPropertyAttribute.cs | DragonSpark/VoteReporter | 0 | 7037322 | // ReSharper disable once CheckNamespace
namespace System.Windows.Markup
{
[AttributeUsage( AttributeTargets.Class )]
public sealed class ContentPropertyAttribute : Attribute
{
public ContentPropertyAttribute( string name )
{
Name = name;
}
public string Name { get; }
}
} |
FairiesDataCenter/Views/StockManage/BatchWarehouseInventory.cshtml | zhenghua75/DXInfo | 1 | 7037323 | <gh_stars>1-10
@using Trirand.Web.Mvc
@model ynhnTransportManage.Models.StockManage.BatchWarehouseInventoryGridModel
@Html.HiddenFor(m=>m.WhId)
@Html.Trirand().JQGrid(Model.BatchWarehouseInventoryGrid, "BatchWarehouseInventoryGrid")
<script type="text/javascript">
$(document).ready(function () {
$("#BatchW... |
Assets/Scripts/PlayerController.cs | Wingedevil/orbital-2020 | 0 | 7037324 | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class PlayerController : MonoBehaviour
{
public float PlayerSpeed = 5.0f;
public GameObject Bullet;
public GameObject ProjectileSpawnPoint;
private Rigidb... |
C#/Sieve of Eratosthenes/Sieve of Eratosthenes/Program.cs | KaronisInProgram/Sieve-of-Eratosthenes | 0 | 7037325 | <gh_stars>0
using System;
using System.Collections.Generic;
namespace SieveOfEratosthenes
{
internal static class Program
{
#region Private Methods
public static void Main()
{
List<int> startNumbers = new List<int>()
{
2, 5, 10, 247, 500, 1029
... |
source/R5T.D0070.Default/Code/Extensions/IServiceCollectionExtensions-Old.cs | SafetyCone/R5T.D0070 | 0 | 7037326 | <filename>source/R5T.D0070.Default/Code/Extensions/IServiceCollectionExtensions-Old.cs
using System;
using Microsoft.Extensions.DependencyInjection;
using R5T.Dacia;
using R5T.Lombardy;
using R5T.D0062;
using R5T.D0065;
using R5T.D0070.Default;
namespace R5T.D0070
{
public static partial class IServiceCollec... |
Segmenter/Properties/Resources.Designer.cs | symanto-research/Jieba.Core | 0 | 7037327 | //------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace S... |
WzComparerR2.Avatar/UI/AvatarPartButtonItem.Designer.cs | seotbeo/WzComparerR2 | 0 | 7037328 | <gh_stars>0
namespace WzComparerR2.Avatar.UI
{
partial class AvatarPartButtonItem
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param na... |
src/Infra.CrossCutting.Identity/Users/IAspNetUser.cs | PauloGaldino/Projeto-Controle_de_Estoque | 0 | 7037329 | <reponame>PauloGaldino/Projeto-Controle_de_Estoque
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Security.Claims;
namespace Infra.CrossCutting.Identity.Users
{
public interface IAspNetUser
{
string Name { get; }
Guid GetUserId();
string G... |
System.Data/cdf/src/NetFx40/Tools/System.Activities.Presentation/System/Activities/Presentation/FreeFormEditing/ConnectorLabelMarginConverter.cs | cnork/referencesource | 911 | 7037330 | <filename>System.Data/cdf/src/NetFx40/Tools/System.Activities.Presentation/System/Activities/Presentation/FreeFormEditing/ConnectorLabelMarginConverter.cs
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-------------------------------------... |
Assets/Scripts/IsoGrid.cs | XiaodiW/CityBuilder | 0 | 7037331 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using Unity.Mathematics;
using UnityEngine;
namespace DefaultNamespace {
public class IsoGrid : MonoBehaviour {
public Cell[,] cells;
public int width;
public int height;
public Cell prefab;
publ... |
samples/Corpo.Skeleton/tests/Corpo.Skeleton.PageTests/Pages/Categories/CategoryEditPageTest.cs | MiruFx/Miru | 11 | 7037332 | using Corpo.Skeleton.Domain;
using Corpo.Skeleton.Features.Categories;
using Miru.PageTesting;
using Miru.Testing;
using NUnit.Framework;
namespace Corpo.Skeleton.PageTests.Pages.Categories
{
public class CategoryEditPageTest : PageTest
{
[Test]
public void Can_edit_category()
{
... |
net-core/Vlad2020.Mods.Product.Caching/Jobs/List/Get/ModProductCachingJobListGetService.cs | balkar20/Vlad | 0 | 7037334 | <filename>net-core/Vlad2020.Mods.Product.Caching/Jobs/List/Get/ModProductCachingJobListGetService.cs
//Author <NAME>//makc//
using Vlad2020.Core.Base.Resources.Errors;
using Vlad2020.Core.Caching;
using Vlad2020.Core.Caching.Common.Client.Config;
using Vlad2020.Core.Caching.Clients;
using Vlad2020.Core.Caching.Resour... |
10.InterfacesAndAbstraction/04.Telephony/StartUp.cs | ShadyObeyd/CSharp-OOP-Basics-February2018 | 1 | 7037335 | <reponame>ShadyObeyd/CSharp-OOP-Basics-February2018
using System;
class StartUp
{
static void Main()
{
string[] numbers = ReadInput();
string[] sites = ReadInput();
Smarthphone phone = new Smarthphone(numbers, sites);
phone.Call();
phone.Browse();
}
private s... |
Cielo/Configuration/CieloVersion.cs | oforia/Cielo | 7 | 7037336 | namespace Cielo.Configuration
{
public class CieloVersion
{
public static string Version
{
get { return "3.0.0"; }
}
}
}
|
Helpers/zz_Extensions.cs | jasonswearingen/parallel-work-gc-benchmarks | 1 | 7037337 | <reponame>jasonswearingen/parallel-work-gc-benchmarks
using lowlevel_benchmark.Helpers;
using Microsoft.Toolkit.HighPerformance.Helpers;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace lowlevel_benchmark;
/// <summary>
/// various extension methods munged together for use in be... |
CS_MovieTicketBookingApp/Users/LOGIN.aspx.cs | AkshayBhanawala/ASP-MovieTicketBookSystem | 0 | 7037338 | using System;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
namespace CS_MovieTicketBookingApp.Users
{
partial class LOGIN : System.Web.UI.Page
{
private SqlConnection CN = new SqlConnection(ConfigurationManager.ConnectionStrings["CN_MOVIE_TICKET_BOOKING"].ConnectionStrin... |
LAB3/ManagerDatabase.cs | akiaki-47/heroku-test | 0 | 7037339 | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.OleDb;
using System.Linq;
using System.Text;
namespace LAB3
{
class ManagerDatabase
{
}
}
|
WUD240B1299/Interop.WUApiLib.dll/WUApiLib/IInstallationProgress.cs | eladkarako/WUD-Source | 1 | 7037340 | namespace WUApiLib
{
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[ComImport, TypeLibType((short) 0x10c0), Guid("345C8244-43A3-4E32-A368-65F073B76F36")]
public interface IInstallationProgress
{
[DispId(0x60020001)]
int CurrentUpdate... |
source/Xamarin.Cognitive.Face.Sample.Droid/Activities/Admin/PersonActivity.cs | robece/xamarin-droid-face-api | 1 | 7037341 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.OS;
using Android.Support.V4.Content;
using Android.Support.V7.App;
using Android.Views;
using Android.Widget;
using Xamarin.Cognitive.Face.... |
Tests/CSharp/StatementTests/LoopStatementTests.cs | jrmoreno1/CodeConverter | 0 | 7037342 | using System.Threading.Tasks;
using ICSharpCode.CodeConverter.Tests.TestRunners;
using Xunit;
namespace ICSharpCode.CodeConverter.Tests.CSharp.StatementTests
{
/// <summary>
/// For generic loop related tests. Also see ExitableMethodExecutableStatementTests for tests of Exit Do, Exit For, etc.
///... |
Interfaces and Abstraction/03. Telephony/Smartphone.cs | MiroslavPeychev/C-Sharp-OOP | 1 | 7037343 | namespace P04.Telephony
{
using System.Linq;
public class Smartphone : ICaller, IBrowser
{
public string Call(string phoneNumber)
{
if (phoneNumber.All(x => char.IsLetter(x)))
{
return "Invalid number!";
}
return $"Calling..... |
Orderkeeper.Core/Orders/Commands/UpdateOrder/UpdateOrderCommand.cs | pkritiotis/orderkeeper-clean | 0 | 7037344 | <gh_stars>0
using MediatR;
using Orderkeeper.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace Orderkeeper.Core.Orders.Commands.UpdateOrder
{
public class UpdateOrderCommand : IRequest
{
public UpdatedOrderDto UpdatedOrder { get; set; }
}
}
|
Api/Contracts/AvailableAssignmentsResult.cs | flowertwig-org/polisensvolontarer-api | 0 | 7037345 | using System.Linq;
namespace Api.Contracts
{
public class AvailableAssignmentsResult
{
public int TotalNumberOfItems { get; set; }
public int FilteredNofItems { get; set; }
public IGrouping<string, Assignment>[] Items { get; set; }
public int NextStartIndex { get; set; }
... |
TestScene/FrmGenNormal.cs | asheigithub/MiniRenderer | 10 | 7037346 | using MiniRender;
using MiniRender.geom;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace TestScreen
{
public partial class FrmGenNormal : Form
{
public FrmGenNormal()
... |
src/Microsoft.VisualStudio.ProjectSystem.Managed/ProjectSystem/UpToDate/UpToDateCheckItemComparer.cs | jasonmalinowski/project-system | 0 | 7037347 | <reponame>jasonmalinowski/project-system<filename>src/Microsoft.VisualStudio.ProjectSystem.Managed/ProjectSystem/UpToDate/UpToDateCheckItemComparer.cs<gh_stars>0
using System.Collections.Generic;
namespace Microsoft.VisualStudio.ProjectSystem.UpToDate
{
internal class UpToDateCheckItemComparer : IEqualityComparer... |
Source/Assets/Plugins/uFrame.ECS/Component/EcsComponent.cs | npruehs/teaching-ecs | 0 | 7037348 | <reponame>npruehs/teaching-ecs<gh_stars>0
using System;
using uFrame.Attributes;
using uFrame.Kernel;
using UniRx;
using UnityEngine;
namespace uFrame.ECS
{
/// <summary>
/// The base class for all ECS components, these components are nothing more than just data.
/// For the sake of Unity Compatability, ... |
src/Dodo/Resources/Framework/Schema/OwnedResourceSchemaBase.cs | cowtrix/dodo | 4 | 7037349 | using Common;
using MongoDB.Bson.Serialization.Attributes;
using Newtonsoft.Json;
using Resources;
using System;
using System.ComponentModel;
namespace Dodo
{
public abstract class OwnedResourceSchemaBase : DescribedResourceSchemaBase
{
[Name("Parent")]
[View(EPermissionLevel.PUBLIC, customDrawer:"parentRefStrin... |
backend/src/Application/Vacancies/Commands/Edit/EditVacancyCommand.cs | BinaryStudioAcademy/bsa-2021-scout | 0 | 7037350 | <reponame>BinaryStudioAcademy/bsa-2021-scout<filename>backend/src/Application/Vacancies/Commands/Edit/EditVacancyCommand.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Application.Common.Commands;
using Application.El... |
src/Orange.ApiTokenValidation.Metrics/MeasurerConfiguration.cs | ReyStar/Orange.ApiTokenValidation | 0 | 7037351 | using System;
namespace Orange.ApiTokenValidation.Metrics
{
class MeasurerConfiguration
{
public string PullMetricsUrl { get; set; } = "metrics/";
public bool UsePushMetricsServer { get; set; } = true;
public string PushMetricsServerEndpoint { get; set; }
public TimeSpan FlushP... |
Shojy.FF7.Elena/Items/Restrictions.cs | Shojy/Shojy.FF7.Elena | 4 | 7037352 | using System;
namespace Shojy.FF7.Elena.Items
{
[Flags]
public enum Restrictions : ushort
{
CanBeSold = 1,
CanBeUsedInBattle = 2,
CanBeUsedInMenu = 4
}
} |
Core/Goldfish/Cache/MemCache.cs | ravindranathw/Goldfish | 1 | 7037354 | /*
* Copyright (c) 2014 <NAME>
*
* See the file LICENSE for copying permission.
*/
using System;
using System.Collections.Generic;
namespace Goldfish.Cache
{
/// <summary>
/// The mem cache stores values in process memory.
/// </summary>
public sealed class MemCache : ICacheProvider
{
#reg... |
src/Meziantou.Framework.Win32.CredentialManager/CredentialResult.cs | LePtitDev/Meziantou.Framework | 304 | 7037355 | <gh_stars>100-1000
namespace Meziantou.Framework.Win32
{
public sealed class CredentialResult
{
public CredentialResult(string userName, string password, string? domain, CredentialSaveOption credentialSaved)
{
UserName = userName;
Password = password;
Domain ... |
Private/Tools/Mimic/ReadFile.cs | nayanshah/BuildXL | 1 | 7037356 | <filename>Private/Tools/Mimic/ReadFile.cs
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.IO;
namespace Tool.Mimic
{
/// <summary>
/// Reades a file
/// </summary>
... |
MattEland.Common/ExceptionExtensions.cs | IntegerMan/MattEland.Common | 0 | 7037357 | // ---------------------------------------------------------
// ExceptionExtensions.cs
//
// Created on: 08/20/2015 at 10:28 PM
// Last Modified: 08/21/2015 at 12:44 AM
//
// Last Modified by: <NAME>
// ---------------------------------------------------------
using System;
using System.Globalization;
using ... |
src/NetSparkle.UI.Avalonia/UpdateAvailableWindow.xaml.cs | devlabpro/NetSparkle | 0 | 7037358 | <gh_stars>0
using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.Html;
using Avalonia.Markup.Xaml;
using Avalonia.Media.Imaging;
using Avalonia.Threading;
using NetSparkleUpdater.Enums;
using NetSparkleUpdater.Events;
using NetSparkleUpdater.Interfaces;
using NetSparkleUpdater.UI.Avalonia.Controls;
using N... |
DogScepterLib/Core/Models/GMAudioGroup.cs | Miepee/dog-scepter | 0 | 7037359 | <gh_stars>0
namespace DogScepterLib.Core.Models;
/// <summary>
/// A representation of a GameMaker audio group.
/// </summary>
public class GMAudioGroup : IGMSerializable
{
/// <summary>
/// The name of the audio group.
/// </summary>
public GMString Name;
public void Serialize(GMDataWriter write... |
Func_Expression/Func_Expression/Func_Expression/ProdutosQuery.cs | Maltasga/sand-box | 0 | 7037360 | <reponame>Maltasga/sand-box
using System;
namespace Func_Expression
{
public static class ProdutosQuery
{
public static Func<Produto, bool> FiltroContainsNome(string nome)
{
return new Func<Produto, bool>(x => x.Nome.ToLower().Contains(nome.ToLower()));
}
public st... |
OverflowStack.GenericData.SharedDomains/Models/DataList.cs | unruledboy/GenericData | 4 | 7037361 | using System.Collections.Generic;
namespace OverflowStack.GenericData.SharedDomains.Models
{
public class DataList
{
public List<string> Columns { get; set; }
public List<DataRecord> Records { get; set; }
}
}
|
Tida.Canvas.Contracts/Contracts/ICanvasContext.cs | JanusTida/Tida.CAD | 38 | 7037362 | <filename>Tida.Canvas.Contracts/Contracts/ICanvasContext.cs
using Tida.Canvas.Events;
using Tida.Canvas.Input;
using Tida.Geometry.Primitives;
using System;
using System.Collections.Generic;
using System.Linq;
namespace Tida.Canvas.Contracts {
/// <summary>
/// 画布数据协约;
/// </summary>
public interface ... |
Assets/Resources/Editor/CustomTileImporters/ImportNPCTile.cs | ArekusuNaito/unity-top-down-movement | 3 | 7037363 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
[Tiled2Unity.CustomTiledImporter]
public class ImportNPCTile : Tiled2Unity.ICustomTiledImporter
{
public void HandleCustomProperties(GameObject gameObject,IDictionary<string, string> customProperties)
{
if (customPropertie... |
src/Bubblz/ViewModel/MainViewModel.cs | timunie/Bubblez | 1 | 7037364 | using Bubblz.Model;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml;
namespace Bubblz.ViewModel
{
public class MainView... |
MobileApp/MobileApp/Views/PokloniPage.xaml.cs | tarikcosovic/pokloni | 2 | 7037365 | using MobileApp.ViewModels;
using System;
using Pokloni.ba.Model.Requests.Proizvodi;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace MobileApp.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class PokloniPage : ContentPage
{
private readonly PokloniViewModel mode... |
src/CodeFriendly.Patch.Abstractions/IPatchStore.cs | crazyman1979/Friendly | 0 | 7037366 |
using System.Collections.Generic;
namespace CodeFriendly.Patch
{
public interface IPatchStore
{
void Set(object model, string property);
void Set(object model, IEnumerable<string> properties);
IEnumerable<string> Get(object model);
}
} |
Compression/PackArchiveToCbz.cs | aikoofujimotoo/asuka | 5 | 7037367 | using System;
using System.IO;
using System.IO.Compression;
using System.Threading.Tasks;
using asuka.Utils;
using ShellProgressBar;
namespace asuka.Compression;
public class PackArchiveToCbz : IPackArchiveToCbz
{
public async Task RunAsync(string folderName, string[] imageFiles, string output, IProgressBar pare... |
src/Essensoft.AspNetCore.Payment.Alipay/Domain/EcoMockGroupInfo.cs | LuohuaRain/payment | 0 | 7037368 | using System.Text.Json.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// EcoMockGroupInfo Data Structure.
/// </summary>
public class EcoMockGroupInfo : AlipayObject
{
/// <summary>
/// appId
/// </summary>
[JsonPropertyName("ap... |
Design-Architecture-Series/HybridTestFramework.UITests.Core.Behaviours/TestsEngine/ExecutionEngineBehaviorObserver.cs | pravrawa/AutomateThePlanet | 0 | 7037369 | <gh_stars>0
// <copyright file="ExecutionEngineBehaviorObserver.cs" company="Automate The Planet Ltd.">
// Copyright 2016 Automate The Planet 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 Licen... |
backend/Diggel.Logic/Seeding/SeedTestSessions.cs | Citolab/diggel | 0 | 7037370 | <reponame>Citolab/diggel<gh_stars>0
using System;
using System.Collections.Generic;
using Diggel.Logic.Helpers;
using Diggel.Logic.Models;
namespace Diggel.Logic.Seeding
{
public class SeedTestSessions
{
public static (List<TestSession> testSessions, List<ItemResult> itemResponses, List<ItemLogRow> ite... |
tools/Beef.CodeGen.Core/ResourceManager.cs | ciaranodonnell/Beef | 104 | 7037371 | // Copyright (c) Avanade. Licensed under the MIT License. See https://github.com/Avanade/Beef
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
namespace Beef.CodeGen
{
/// <summary>
/// Resource management functions.
... |
SmartHome.API/Controllers/MeterReadingController.cs | nikhilBirage/SmartHomes-Service | 0 | 7037372 | <gh_stars>0
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using SmartHome.API.Models;
using SmartHome.API.Repositories;
namespace SmartHome.API.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class MeterReadingController : ControllerBase
{
pub... |
Sources/MyBlog.Engine/Urls.cs | JeremyJeanson/MyBlog.net | 1 | 7037374 | using System;
namespace MyBlog.Engine
{
public static class Urls
{
public const String ContentDefault = "~/Content/bundle-default";
public const String ContentDys = "~/Content/bundle-dys";
}
}
|
Common/Npcs/NpcModel.cs | jSandhu/multiplayer_game | 0 | 7037375 | using Common.Combat;
using Common.Rarity;
using Common.Serialization;
namespace Common.Npcs
{
/// <summary>
/// Computer controller character. Usually an enemy.
/// </summary>
public class NpcModel : ISerializableModel
{
public string ID;
public string Name;
public NpcRole ... |
Report.cs | JeloH/RegisterManagment | 0 | 7037376 | <filename>Report.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Microsoft.Reporting.WinForms;
using System.Data.SqlClient;
using System.Configuration;
using S... |
src/Core/Analyzer.cs | AlexandrPavlovski/CommandEventLogicFlow | 2 | 7037377 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Core.Graph;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.FindSymbols;
using Microsoft.Cod... |
src/AspNetCore.EventLog.PostgreSQL/Infrastructure/DesignTimePostgresDbContext.cs | dev-mich/AspNetCore.EventLog | 0 | 7037378 | using AspNetCore.EventLog.PostgreSQL.Configuration;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.Extensions.Options;
namespace AspNetCore.EventLog.PostgreSQL.Infrastructure
{
class DesignTimePostgresDbContext : IDesignTimeDbContextFactory<PostgresDbContext>
... |
MicaForEveryone.Win32/NotifyIcon.cs | uDEV2019/MicaForEveryone | 263 | 7037379 | <reponame>uDEV2019/MicaForEveryone
using System;
using System.ComponentModel;
using System.Drawing;
using System.Runtime.InteropServices;
using MicaForEveryone.Win32.PInvoke;
using static MicaForEveryone.Win32.PInvoke.NativeMethods;
namespace MicaForEveryone.Win32
{
public class NotifyIcon : Window
{
... |
Wivuu.GlobalCache/FileStorageProvider.cs | wivuu/Wivuu.GlobalCache | 0 | 7037380 | using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace Wivuu.GlobalCache
{
internal class FileStorageProvider : IStorageProvider
{
/// <summary>
/// File storage provider
/// </summary>
/// <param name="root">Directory to store cached item... |
Src/FinanceCalculator.Services/CalculatorService.cs | FinanceCalculatorNBU/finance-calculator | 0 | 7037381 | <filename>Src/FinanceCalculator.Services/CalculatorService.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FinanceCalculator.Services.Contracts;
using FinanceCalculator.Models;
using FinanceCalculator.Calculators.Contracts;
namesp... |
DefaultConfigResource.Designer.cs | IsaacJuracich/Replay-MCBot | 0 | 7037382 | <reponame>IsaacJuracich/Replay-MCBot
//------------------------------------------------------------------------------
// <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 r... |
src/Unitverse.Core/Helpers/Generate.cs | andy-clymer/unittestgenerator | 0 | 7037383 | <filename>src/Unitverse.Core/Helpers/Generate.cs<gh_stars>0
namespace Unitverse.Core.Helpers
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;... |
CefSharp/DevTools/Accessibility/Enums/AXValueSourceType.cs | campersau/CefSharp | 0 | 7037384 | // Copyright © 2020 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
namespace CefSharp.DevTools.Accessibility
{
/// <summary>
/// Enum of possible property sources.
/// </summary>
public enum AXValueSource... |
IIS.SLSharp.Bindings.OpenTK/Textures/FramebufferObject.cs | circler3/SLSharpEngine | 33 | 7037385 | using System;
using OpenTK.Graphics.OpenGL;
namespace IIS.SLSharp.Bindings.OpenTK.Textures
{
/// <summary>
/// Manages an OpenGl framebuffer object
/// This is normally only used internally by the RenderToTexture class
/// </summary>
public sealed class FramebufferObject : IDisposable
{
... |
DocTermMatrix.cs | BUTTER-Tools/DocTermMatrix | 0 | 7037386 | using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.IO;
using System.Text;
using System.Drawing;
using PluginContracts;
using OutputHelperLib;
using System.Linq;
namespace DocTermMatrix
{
public class DocTermMatrix : Plugin
{
public string[] InputType { get; } =... |
tests/AwsLambdaTestServer.Tests/MyFunctionEntrypoint.cs | martincostello/lambda-test-server | 14 | 7037387 | // Copyright (c) <NAME>, 2019. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace MartinCostello.Testing.AwsLambdaTestServer
{
internal static ... |
src/Equinor.ProCoSys.IPO.Query/GetInvitationsQueries/GetInvitationsForExport/GetInvitationsForExcelQueryHandler.cs | equinor/procosys-invitation-for-punch-out-api | 2 | 7037388 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Equinor.ProCoSys.IPO.Domain;
using Equinor.ProCoSys.IPO.Domain.AggregateModels.HistoryAggregate;
using Equinor.ProCoSys.IPO.Domain.AggregateModels.InvitationAggregate;
using Equ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.