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 |
|---|---|---|---|---|
T5 - A textured cube/Program.cs | xposure/opengl-tutorial-csharp | 0 | 7053622 | using System;
using OpenTK;
using OpenTK.Input;
using OpenTK.Graphics;
using OpenTK.Graphics.OpenGL;
using System.IO;
namespace T5___A_textured_cube
{
class Program
{
static void Main(string[] args)
{
using (var game = new GameWindow(1024, 768, //ask for this wi... |
aspnet/web-forms/overview/moving-to-aspnet-20/data-source-controls/samples/sample11.cs | SeanKilleen/Docs | 159 | 7053623 | <gh_stars>100-1000
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
public class NorthwindData {
pri... |
src/PayPal.Sdk.Checkout/Payments/StatusDetails.cs | aviationexam/Checkout-NET-SDK | 0 | 7053624 | using System.Runtime.Serialization;
namespace PayPal.Sdk.Checkout.Payments
{
/// <summary>
/// The details of the captured payment status.
/// </summary>
[DataContract]
public class StatusDetails
{
/// <summary>
/// Required default constructor
/// </summary>... |
Src/Domain.Tests/Users/UserCreateCollector.cs | nrslib/PracticeOfCleanArchitecture | 45 | 7053626 | <gh_stars>10-100
using System.Collections.Generic;
using UseCase.Users.Create;
namespace Domain.Tests.Users
{
public class UserCreateCollector : IUserCreatePresenter
{
public List<int> Percentages { get; } = new List<int>();
public UserCreateResponse Response { get; private set; }
... |
SuperCrafts/Framework/ResourceInfo.cs | ruaduck/Core | 13 | 7053627 | <reponame>ruaduck/Core<filename>SuperCrafts/Framework/ResourceInfo.cs<gh_stars>10-100
#region Header
// Vorspire _,-'/-'/ ResourceInfo.cs
// . __,-; ,'( '/
// \. `-.__`-._`:_,-._ _ , . ``
// `:-._,------' ` _,`--` -: `_ , ` ,' :
// `---..__,,--' (C) 2018 ` -'. -'
// #... |
WebApp/Views/Home/Index.cshtml | jteazure/AzDOGitHub | 1 | 7053628 | <gh_stars>1-10
@{
ViewData["Title"] = "Home Page";
}
<div class="text-center">
<h1 class="display-4">Welcome</h1>
<p>Learn about <a href="https://docs.microsoft.com/aspnet/core">Hello ! building Web apps with ASP.NET Core !</a>.</p>
<p><a href="./swagger">Swagger page</a></p>
<br/></br>
<i>la... |
src/git.web.apis/RepositoryCommitController.cs | linianhui/git.web | 0 | 7053629 | <reponame>linianhui/git.web
using Git.Web.Apis.Extensions;
using Git.Web.Apis.Links;
using Git.Web.Apis.Responses;
using LibGit2Sharp;
using Microsoft.AspNetCore.Mvc;
namespace Git.Web.Apis
{
[Route("v1/repository/{repository_name}/commit")]
public class RepositoryCommitController : Controller
{
pr... |
src/MarginTrading.Backend.Contracts/IAccountsApi.cs | lykkecloud/MT | 0 | 7053630 | // Copyright (c) 2019 Lykke Corp.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Threading.Tasks;
using JetBrains.Annotations;
using MarginTrading.Backend.Contracts.Account;
using MarginTrading.Backend.Contracts.Common;
using Refit;
namespace MarginTr... |
Samples~/Scripts/Managers/CursorButtonsMovementProvider.cs | marosicsaba91/LooseLink | 0 | 7053631 | using System;
using MUtility;
using UnityEngine;
using LooseLink;
using Object = UnityEngine.Object;
[ServiceType]
public class CursorButtonsMovementProvider : MonoBehaviour, IMovementInputProvider, IUnityComponent
{
public Object UnityObject => gameObject;
public bool IsDirectionCommandPressed(GeneralDirect... |
HallRental.Web/Infrastructure/Mapping/AutoMapperProfile.cs | nstalev/HallRental | 0 | 7053632 | <filename>HallRental.Web/Infrastructure/Mapping/AutoMapperProfile.cs
namespace HallRental.Web.Infrastructure.Mapping
{
using AutoMapper;
using HallRental.Data.Models;
using HallRental.Services.Admin.Models;
using HallRental.Services.Admin.Models.Contracts;
using HallRental.Services.Admin.Models.Ev... |
Tono/SpanKeeper.cs | tmctono/Tono | 1 | 7053633 | <reponame>tmctono/Tono
// (c) 2019 <NAME>
// Licensed under the MIT license.
using System;
namespace Tono
{
/// <summary>
/// Checking span utility
/// </summary>
/// <example>
/// var sk = new SpanKeeper
/// {
/// Span = TimeSpan.FromMinutes(20),
/// };
///
/// ...
/// ... |
ColorCoder/ColorCoderCore/ProviderCache.cs | HamidMosalla/ColorCoder | 30 | 7053634 | namespace ColorCoder.ColorCoderCore
{
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Text;
using Microsoft.VisualStudio.Text;
using System.Threading.Tasks;
public class ProviderCache
{
public Workspace Workspace { get; private set; }
public Document Docume... |
test/AWS.Deploy.CLI.IntegrationTests/Helpers/ElasticBeanstalkHelper.cs | awschristou/aws-dotnet-deploy | 0 | 7053635 | <reponame>awschristou/aws-dotnet-deploy
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Amazon.ElasticBeanstalk;
u... |
Termigram/Extensions/ParameterInfoExtensions.cs | Kir-Antipov/Termigram | 6 | 7053636 | using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
namespace Termigram.Extensions
{
internal static class ParameterInfoExtensions
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static bool CanBeNull(this ParameterInfo parameter) => parameter.CustomA... |
ShellBoost.Samples/ShellBoost.Samples.CloudFolderSite/Startup.cs | aelyo-softworks/ShellBoost-Samples | 7 | 7053637 | using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.StaticFiles;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using ShellBoost.Core;
... |
lib/Microsoft.Data.Services.Client/ODataLib/Spatial/Desktop/.Net4.0/Microsoft/Data/Spatial/WellKnownTextLexer.cs | tapika/choco | 3 | 7053638 | <filename>lib/Microsoft.Data.Services.Client/ODataLib/Spatial/Desktop/.Net4.0/Microsoft/Data/Spatial/WellKnownTextLexer.cs
// OData .NET Libraries ver. 5.6.3
// Copyright (c) Microsoft Corporation
// All rights reserved.
// MIT License
// Permission is hereby granted, free of charge, to any person obtain... |
MonoIO/UI/Widget/BlockView.cs | darcythomas/monodroid-samples | 1,862 | 7053639 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.Text.Format;
using Android.Graphics.Drawables;
using Android.Graphics;
using TimeZone = Java.... |
Source/Cheviri.Client.Web/Models/InputModels/LongInputModel.cs | CeyrekMuhendiz/translation | 0 | 7053640 | namespace Cheviri.Client.Web.Models.InputModels
{
public class LongInputModel : InputModel
{
public LongInputModel(string name, string labelKey, bool isRequired = false, string value = "") : base(name, labelKey, isRequired, value)
{
}
}
} |
src/SmartSql.Test.Unit/Tags/IsLessThanTest.cs | gmij/SmartSql | 249 | 7053641 | <reponame>gmij/SmartSql<filename>src/SmartSql.Test.Unit/Tags/IsLessThanTest.cs
using SmartSql.Configuration.Tags;
using System;
using System.Collections.Generic;
using System.Text;
using SmartSql.Configuration;
using Xunit;
namespace SmartSql.Test.Unit.Tags
{
[Collection("GlobalSmartSql")]
public class IsLess... |
Algorithm/MergeSort.cs | isdaniel/algorithm_practice | 0 | 7053642 | <reponame>isdaniel/algorithm_practice
using System;
namespace Algorithm
{
public class MergeSort
{
/// <summary>
/// 合併算法 核心每次遞規都對於新陣列進行排序
/// </summary>
/// <param name="arr"></param>
public int[] Sort(int[] arr)
{
int totalLength = arr.Length;
... |
src/DependencyInjection.Analyzers/Internals/IServiceTypeDescriptor.cs | RocketSurgeonsGuild/Extensions | 0 | 7053643 | <gh_stars>0
using Microsoft.CodeAnalysis;
namespace Rocket.Surgery.DependencyInjection.Analyzers.Internals;
internal interface IServiceTypeDescriptor
{
}
internal struct SelfServiceTypeDescriptor : IServiceTypeDescriptor
{
}
internal struct ImplementedInterfacesServiceTypeDescriptor : IServiceTypeDescriptor
{
}
in... |
Octokit.GraphQL.Core/Core/Introspection/IntrospectionQuery.cs | tedvanderveen/octokit.graphql.net | 113 | 7053644 | using System;
using Octokit.GraphQL.Core.Builders;
namespace Octokit.GraphQL.Core.Introspection
{
public class IntrospectionQuery : QueryableValue<IntrospectionQuery>, IQuery
{
public IntrospectionQuery()
: base(null)
{
}
[GraphQLIdentifier("__schema")]
pub... |
Assets/TatemonSugoroku/Scripts/Scene/UINoneSMScene.cs | gforestshade/TatemonSugorokuGame | 0 | 7053645 | <filename>Assets/TatemonSugoroku/Scripts/Scene/UINoneSMScene.cs
using SubmarineMirage.Scene;
namespace TatemonSugoroku.Scripts {
/// <summary>
/// ■ 非表示のUIシーンクラス
/// </summary>
public class UINoneSMScene : UISMScene {
/// <summary>
/// ● コンストラクタ
/// </summary>
public UINoneSMScene() {
}
}
} |
CCR Create/CCR003 Count references per person/C4+_Count_References_Per_Person.cs | Mo-Gul/Macros | 25 | 7053646 | using System;
using System.Linq;
using System.ComponentModel;
using System.Collections.Generic;
using System.Windows.Forms;
using SwissAcademic.Citavi;
using SwissAcademic.Citavi.Metadata;
using SwissAcademic.Citavi.Shell;
using SwissAcademic.Collections;
public static class CitaviMacro
{
public static void Main()
... |
dependencies/m3pd-common/sources/Collections/Interfaces/ImmutableCollection.cs | rharel/m3pd-example-couples-therapy | 1 | 7053647 | using System.Collections;
using System.Collections.Generic;
namespace rharel.M3PD.Common.Collections
{
/// <summary>
/// Represents an immutable collection.
/// </summary>
/// <remarks>
/// <see cref="ImmutableCollection{T}"/> for the generic version.
/// </remarks>
public interface Immut... |
CSharp Pattern Programs/Symbol Patterns/Pattern 78.cs | gitter-badger/Printing-Pattern-Programs | 61 | 7053648 | <filename>CSharp Pattern Programs/Symbol Patterns/Pattern 78.cs
using System;
class HeartPattern
{
public static void Main()
{
for (int row = 0; row < 6; row++)
{
for (int col = 0; col < 7; col++)
{
if ((row == 0 && col % 3 != 0) || (row == 1 && col % 3 ... |
BIExchangeRates.Client.Tests/ExchangeRatesClientTests.cs | maurizuki/BIExchangeRates.Client | 0 | 7053649 | <reponame>maurizuki/BIExchangeRates.Client
// Copyright (c) 2020 <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 t... |
AutoSharpporting/Plugins/Warwick.cs | toannatkm0/LOZ | 0 | 7053650 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using LeagueSharp;
using LeagueSharp.Common;
using SharpDX;
using Support.Evade;
using Support.Util;
using ActiveGapcloser = Support.Util.ActiveGapcloser;
using SpellData = LeagueSharp.SpellData;
namespace Support.Plugins
{
public clas... |
src/template-roslyn-analyzer/AvoidSomething/AvoidSomethingAnalyzer.Fixer.cs | mrahhal/template-roslyn-analyzer | 0 | 7053651 | <reponame>mrahhal/template-roslyn-analyzer
using System.Collections.Immutable;
using System.Composition;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp;
namespace TemplateRoslynAnalyzer;
[ExportCodeFixProvider(Languag... |
SupportManager/MemoEngine/Controllers/Market/ProductsController.cs | VisualAcademy/AspNetCoreBook | 1 | 7053652 | using MemoEngine.Models;
using System.Collections.Generic;
using System.Web.Http;
namespace MemoEngine.Controllers
{
public class ProductsController : ApiController
{
private ProductRepository repo;
public ProductsController()
{
repo = new ProductRepository();
}
... |
src/Libraries/cecil/Test/Mono.Cecil.Tests/WindowsRuntimeAssemblyResolver.cs | TetradogOther/SharpDevelop | 2 | 7053653 | using System;
using System.IO;
using Microsoft.Win32;
namespace Mono.Cecil.Tests
{
public class WindowsRuntimeAssemblyResolver : DefaultAssemblyResolver
{
public static WindowsRuntimeAssemblyResolver CreateInstance ()
{
if (Platform.OnMono)
return null;
try {
return new WindowsRuntimeAssemblyResol... |
src/Result/Neuz.DevKit.Result/Reasons/Reason.cs | Neuz/DevKit | 0 | 7053654 | using System.Collections.Generic;
using Neuz.DevKit.Extensions;
namespace Neuz.DevKit.Result
{
public class Reason
{
protected Reason(string message = null)
{
if (!message.IsNullOrEmpty()) Message = message;
}
public string Message { get; set; } = string.Empty;
... |
Senai.Opflix.WebApi/Domains/Conteudo.cs | GuigaxD/2s2019-sprint-1-bd-opflix- | 0 | 7053655 | <reponame>GuigaxD/2s2019-sprint-1-bd-opflix-
using System;
using System.Collections.Generic;
namespace Senai.Opflix.WebApi.Domains
{
public partial class Conteudo
{
public Conteudo()
{
Favoritos = new HashSet<Favoritos>();
}
public int IdConteudo { get; set; }
... |
ExtraDry/ExtraDry.Core/Core/DataValidator.cs | fmi-works/extra-dry | 2 | 7053656 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace ExtraDry.Core {
/// <summary>
/// Designed to facility the validation of properties of objects, especially when not all of the object is validated.
/// </summary>
public class Dat... |
src/Assets.Scripts.Condition/AttackerIsBeAttacker.cs | moto2002/kaituo_src | 1 | 7053657 | using Assets.Scripts.Tool;
using LitJson;
using NodeCanvas.Framework;
using ParadoxNotion.Design;
using System;
namespace Assets.Scripts.Condition
{
[Category("✫ GOG/Battle"), Name("Attacker is Beattacker")]
public class AttackerIsBeAttacker : ConditionTask
{
protected override bool OnCheck()
{
JsonData valu... |
any.mt_sample.user_create_service/Program.cs | namikbarisidil/any.mt_sample | 0 | 7053658 | using System.Threading.Tasks;
using any.mt_sample.user_create_service.HostedServices;
using any.mtsample.user_create_service.SagaStateMachines;
using any.mtsample.user_create_service.States;
using MassTransit;
using MassTransit.Definition;
using MassTransit.RabbitMqTransport;
using Microsoft.Extensions.Configuration;
... |
Tourism.Server/Common/AdministrativeAreaService.cs | luochenLing/Tourism.Api | 0 | 7053659 | <reponame>luochenLing/Tourism.Api<filename>Tourism.Server/Common/AdministrativeAreaService.cs
using log4net;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
using Tourism.IServer;
using Tourism.Model;
using Tourism.Repository.MongoDb;
... |
WaesDiff/WaesDiff.Domain/Services/Commands/CheckEqualCommand.cs | mathiasdouglas/diff | 0 | 7053660 | <gh_stars>0
namespace WaesDiff.Domain.Services.Commands
{
using Microsoft.Extensions.Options;
using WaesDiff.Domain.Entities;
using WaesDiff.Domain.Models;
using WaesDiff.Domain.Settings;
public class CheckEqualCommand : IDiffCommand
{
public int Order => 1;
private readonly S... |
src/VisualStudio/ShowUsageException.cs | kzu/dotnet-visualstudio | 22 | 7053661 | using System;
namespace Devlooped
{
class ShowUsageException : Exception
{
public ShowUsageException(CommandDescriptor commandDescriptor)
{
CommandDescriptor = commandDescriptor;
}
public CommandDescriptor CommandDescriptor { get; }
}
}
|
Controllers/WelcomeMessageController.cs | jeffgbutler/csharp-payment-calculator | 0 | 7053662 | <filename>Controllers/WelcomeMessageController.cs
using Microsoft.AspNetCore.Mvc;
namespace PaymentCalculator.Controllers
{
[Route("/[controller]")]
[ApiController]
public class WelcomeMessageController
{
[HttpGet]
public ActionResult<string> Welcome()
{
return "Hell... |
src/Horton/Scripts/MigrationScript.cs | jdaigle/SqlMigrate | 17 | 7053663 | <reponame>jdaigle/SqlMigrate
using System;
namespace Horton.Scripts
{
public class MigrationScript : ScriptFile, IComparable<MigrationScript>
{
public MigrationScript(string filePath, string fileName, int serialNumber)
: base(filePath, fileName)
{
SerialNumber ... |
src/Aggregator/Exceptions/AggregateRootNotFoundException.cs | huysentruitw/AggregatR | 21 | 7053664 | <reponame>huysentruitw/AggregatR
using System;
using Aggregator.Persistence;
namespace Aggregator.Exceptions
{
/// <summary>
/// Thrown by <see cref="IRepository{TIdentifier, TEventBase, TAggregateRoot}"/> when the requested aggregate root was not found.
/// </summary>
/// <typeparam name="TIdentifier"... |
Assets/Scripts/ModePlot.cs | ageldert/MagicAcoustics | 0 | 7053665 | <gh_stars>0
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.XR.MagicLeap;
[ExecuteInEditMode]
public class ModePlot : MonoBehaviour
{
[SerializeField] private RectTransform plotContent;
[SerializeField] private Image freqAxis;
[SerializeField] private ... |
src/LevelUp.StateMachine/StateMachine.cs | larrynung/LevelUp.StateMachine | 2 | 7053666 | <reponame>larrynung/LevelUp.StateMachine
using System;
using System.Collections.Generic;
using System.Linq;
using LevelUp.StateMachine.EventArgs;
using LevelUp.StateMachine.Models;
namespace LevelUp.StateMachine
{
/// <summary>
///
/// </summary>
/// <typeparam name="TState"></typeparam>
public c... |
RequestsManagerPlugin/Conditions/TSPlayerConditions/ManaCondition.cs | AnzhelikaO/RequestsManager | 0 | 7053667 | <reponame>AnzhelikaO/RequestsManager
#region Using
using System;
using TShockAPI;
#endregion
namespace RequestsManagerPlugin
{
public sealed class ManaCondition : TSPlayerCondition<(int Mana, bool Greater, bool OrEquals)>
{
public ManaCondition(int Mana, bool Greater, bool OrEquals) : base((Mana, Great... |
Assets/Plugins/xLayout/Animations/Trigger/OnPointerEnterPlayAnimation.cs | BAndysc/xLayout | 6 | 7053668 | using UnityEngine;
using UnityEngine.EventSystems;
namespace xLayout.Animations
{
public class OnPointerEnterPlayAnimation : UITrigger, IPointerEnterHandler
{
public void OnPointerEnter(PointerEventData eventData)
{
TryPlay();
}
}
} |
Programming Fundamentals Exam -01 July 2018PartI/01. SoftUni Reception/Program.cs | theoners/Progr.-Fundamentals---Exams | 3 | 7053669 | using System;
namespace _01._SoftUni_Reception
{
class Program
{
static void Main(string[] args)
{
int firstEmployeeEfficiency = int.Parse(Console.ReadLine());
int secondEmployeeEfficiency = int.Parse(Console.ReadLine());
int thirdEmployeeEfficiency = int.Pa... |
Vulkan/Enums/VkFenceImportFlagBits.cs | trmcnealy/Vulkan | 0 | 7053670 | using System;
namespace Vulkan
{
[Flags]
public enum VkFenceImportFlagBits : uint
{
Temporary = 0x00000001,
MaxEnumFlag = 0x7FFFFFFF
}
}
|
F12020-Telemetry/F12020-Telemetry/PacketCarSetupData.cs | AntoineMoghaddar/F12020-Telemetry | 9 | 7053671 | <reponame>AntoineMoghaddar/F12020-Telemetry
using System.Runtime.InteropServices;
namespace F12020Telemetry
{
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct CarSetupData
{
/// <summary>
/// Front wing aero
/// </summary>
public byte frontWing;
/// <s... |
src/ResourceManagement/AzureStackAdmin/AzureStackManagement/Generated/ImportedSubscriptionOperations.cs | hchungmsft/azure-sdk-for-net | 0 | 7053672 | //
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless requi... |
src/DotnetSpider/DataFlow/Parser/DataParserHelper.cs | hquangthinh/DotnetSpider | 2 | 7053673 | <reponame>hquangthinh/DotnetSpider
using System;
using System.Collections.Generic;
using System.Net;
using System.Text.RegularExpressions;
using DotnetSpider.Downloader;
namespace DotnetSpider.DataFlow.Parser
{
/// <summary>
/// 数据解析相关的帮助文件
/// </summary>
public static class DataParserHelper
{
/// <summary>
/... |
src/Services/Abstractions/Search/SearchFacetItem.cs | philbir/magic-media | 38 | 7053674 | namespace MagicMedia.Search
{
public class SearchFacetItem
{
public string Text { get; set; }
public string Value { get; set; }
public int Count { get; set; }
}
}
|
test/OpenQA.Selenite.Tests/Shared/Pages/Implementation/PageWithJQuery.cs | novikov-school/NSpectator.Selenium | 11 | 7053676 | using System;
using OpenQA.Selenite.Implementation;
using OpenQA.Selenite.Setup;
namespace OpenQA.Selenite.Tests.Shared.Pages.Implementation
{
public class PageWithJQuery : WebBlock
{
public PageWithJQuery(Session session) : base(session, TimeSpan.FromSeconds(5))
{
}
}
} |
ATF/Framework/Atf.Core/OutputMessageType.cs | T-rvw/LevelEditor | 0 | 7053677 | //Copyright ?2014 Sony Computer Entertainment America LLC. See License.txt.
namespace Sce.Atf
{
/// <summary>
/// Log message types</summary>
public enum OutputMessageType
{
/// <summary>
/// Error message</summary>
Error,
/// <summary>
/// Warning ... |
src/RxTelegram.Bot/Interface/BaseTypes/Requests/Base/BaseTextRequest.cs | RxTelegram/RxTelegram.Bot | 3 | 7053678 | <reponame>RxTelegram/RxTelegram.Bot
using RxTelegram.Bot.Interface.BaseTypes.Enums;
namespace RxTelegram.Bot.Interface.BaseTypes.Requests.Base
{
public abstract class BaseTextRequest : BaseRequest
{
public ParseMode ParseMode { get; set; }
}
}
|
source/Net/CreativeCoders.Net.WebApi/Execution/Requests/StreamApiRequestHandler.cs | CreativeCodersTeam/Core | 0 | 7053679 | using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using CreativeCoders.Core.IO;
using CreativeCoders.Net.WebApi.Specification;
namespace CreativeCoders.Net.WebApi.Execution.Requests
{
public class StreamApiRequestHandler : ApiRequestHandlerBase
{
public StreamApiRequestHandler(Http... |
src/ICSharpCode.Decompiler.Extensions/SimpleDecompiler.cs | christophwille/ilspy-pscore | 1 | 7053680 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using ICSharpCode.Decompiler.CSharp;
using ICSharpCode.Decompiler.CSharp.OutputVisitor;
using ICSharpCode.Decompiler.CSharp.Syntax;
using ICSharpCode.Decompiler.CSharp.Transforms;
using ICSharpCode.Decompiler.TypeSystem;
using Mono.Cec... |
Controls/GrowLabel.cs | busayn/Afterburner-Data-Handler | 3 | 7053681 | <filename>Controls/GrowLabel.cs
using System;
using System.Text;
using System.Drawing;
using System.Windows.Forms;
using System.ComponentModel;
public class GrowLabel : Label
{
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public override bool AutoSize { get ... |
SKDB/Boundary/IDatabaseContextAsync.cs | SamirKharchi/SKDB | 0 | 7053682 | <filename>SKDB/Boundary/IDatabaseContextAsync.cs
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
using SKDB.MongoDB;
namespace SKDB.Boundary
{
/// <summary>
/// Represents a database context, which is e.g. a MongoDB collection (or an SQL table) and... |
test/LightBDD.AcceptanceTests/Helpers/Extensions.cs | LightBDD/LightBDD | 240 | 7053683 | using System;
using System.Collections.Generic;
using System.Linq;
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
namespace LightBDD.AcceptanceTests.Helpers
{
public static class Extensions
{
public static IWebElement FindFeature(this ChromeDriver driver, int featureNo)
{
retu... |
tests/mockCommandAssemblies/Color-Chan.Discord.Commands.Tests.Valid/ValidMockCommandModule6.cs | Color-Chan/Color-Chan.Discord | 28 | 7053684 | <reponame>Color-Chan/Color-Chan.Discord
#pragma warning disable 1998
using System.Threading.Tasks;
using Color_Chan.Discord.Commands.Attributes;
using Color_Chan.Discord.Commands.Modules;
using Color_Chan.Discord.Core.Common.API.DataModels.Interaction;
using Color_Chan.Discord.Core.Common.Models.Interaction;
using Col... |
Examples/Searching.cs | groupdocs/GroupDocs.Search-for-.NET | 1 | 7053685 | <reponame>groupdocs/GroupDocs.Search-for-.NET
using Aspose.Email.Outlook.Pst;
using GroupDocs.Search;
using GroupDocs.Search.Events;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace GroupDocs.Search_for_.NET
{
cla... |
04. Streams, Files and Directories/04. CSharp-Advanced-Streams-Files-and-Directories-Lab/5_Slice_A_File/Program.cs | NeSh74/Advanced-Csharp-May-2021 | 0 | 7053686 | <filename>04. Streams, Files and Directories/04. CSharp-Advanced-Streams-Files-and-Directories-Lab/5_Slice_A_File/Program.cs
using System;
using System.IO;
using System.Threading.Tasks;
namespace _5_Slice_A_File
{
class Program
{
static async Task Main(string[] args)
{
int parts = ... |
src/Crowdin.Api/Users/UsersApiExecutor.cs | crowdin/crowdin-dotnet-client | 6 | 7053687 |
using System.Collections.Generic;
using System.Net;
using System.Threading.Tasks;
using Crowdin.Api.Core;
using JetBrains.Annotations;
#nullable enable
namespace Crowdin.Api.Users
{
public class UsersApiExecutor
{
private readonly ICrowdinApiClient _apiClient;
private readonly IJsonParser _... |
Unity/Assets/Scripts/Client/UI/View/Map/View_coordinates_button.cs | Noname-Studio/ET | 0 | 7053688 | <filename>Unity/Assets/Scripts/Client/UI/View/Map/View_coordinates_button.cs
/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
using FairyGUI;
using FairyGUI.Utils;
namespace UI.Story.Map
{
public partial class View_coordinates_button: GButton
{
public Controller D... |
Source/Core/CrossApplication.Core.Contracts/Common/Navigation/IRegionManager.cs | jan-schubert/CrossApplication | 1 | 7053689 | <reponame>jan-schubert/CrossApplication
using System;
using System.Threading.Tasks;
namespace CrossApplication.Core.Contracts.Common.Navigation
{
public interface IRegionManager
{
Task RequestNavigateAsync(string regionName, Uri uri);
Task RequestNavigateAsync(string regionName, Uri uri, Navig... |
Bakery/Controllers/TreatsController.cs | chloeloveall/BakeryTreats.Solution | 0 | 7053690 | <gh_stars>0
using Bakery.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
... |
Assets/Scripts/GameManager.cs | PascalHaemmerle/Somewhat_Hot | 1 | 7053691 |
using UnityEngine;
using UnityEngine.SceneManagement;
public class GameManager : MonoBehaviour
{
bool gameHasEnded = false;
public float restartDelay = 1f;
public GameObject completeUI;
public GameObject xHair;
public void EndGame()
{
if (gameHasEnded == false)
{
... |
EnglishGo/Assets/ChallengeDefinition.cs | iDuran90/english-go | 0 | 7053692 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ChallengeDefinition : MonoBehaviour {
public string id;
public List<GameObject> miniGames;
private int currentGameIndex;
private int currentGems;
private bool soundMutedByMe;
p... |
v5/src/main/CsharpDotNet2/IO/Swagger/Model/AgreementAssetEventRequest.cs | superbee66/AdobeSignCSharpSdk | 0 | 7053693 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
using Newtonsoft.Json;
namespace AdobeSignClient.V5.Model
{
/// <summary>
/// </summary>
[DataContract]
public class AgreementAssetEventRequest
{
/// <summary>
/// ... |
SecureAuth.Admin.Sdk/SecureAuth.Admin.Sdk/ConfigService.cs | frojoamadeo/saidp-sdk-csharp | 0 | 7053694 | using System;
using SecureAuth.Admin.Sdk.Models;
namespace SecureAuth.Admin.Sdk
{
public class ConfigService : IConfigService
{
private readonly ApiClient _apiClient;
protected internal ConfigService(ApiClient apiClient)
{
this._apiClient = apiClient;
}
/... |
Lost Dungeon/Assets/My Scripts/Old Scripts (dont look pls)/Room.cs | CaptainHummus/Lost-Dungeon | 0 | 7053696 | <reponame>CaptainHummus/Lost-Dungeon<filename>Lost Dungeon/Assets/My Scripts/Old Scripts (dont look pls)/Room.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Room : MonoBehaviour
{
private bool explored = false;
public GameObject explorationMarker;
//public G... |
Assets/Scripts/Proxies/CameraObjectProxy.cs | noirhero/PixelArtSims | 5 | 7053697 | // Copyright 2018-2019 TAP, Inc. All Rights Reserved.
using Unity.Entities;
using UnityEngine;
using Unity.Transforms;
using Components;
namespace Proxies {
[DisallowMultipleComponent]
[RequiresEntityConversion]
public class CameraObjectProxy : MonoBehaviour, IConvertGameObjectToEntity {
public ... |
Cake.Baker/parameters.cake | akordowski/Cake.Baker | 1 | 7053698 | public class Parameters
{
public string Target { get; }
public string Configuration { get; }
public Cake.Core.Configuration.ICakeConfiguration CakeConfiguration { get; }
public ReleaseNotes ReleaseNotes => _builder.Paths.Files.ReleaseNotes.Exists()
? _context.ParseReleaseNotes(_builder.Paths.Fil... |
FSNEP.Controllers/Helpers/Attributes/AuthorizationAttributes.cs | ucdavis/FSNEP | 0 | 7053699 | <reponame>ucdavis/FSNEP
using System.Web.Mvc;
using FSNEP.Core.Abstractions;
using System;
namespace FSNEP.Controllers.Helpers.Attributes
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class AdminOnlyAttribute : AuthorizeAttribute
{
public AdminOnlyAttribute()
... |
Pericia.Storage.Core/FileStorageServiceCollectionExtensions.cs | glacasa/Pericia.Storage | 1 | 7053700 | using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Pericia.Storage;
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Text;
namespace Microsoft.Extensions.DependencyInjection
{
public static class FileStorageSer... |
Assets/Scripts/LineCreater.cs | rishavnathpati/Fruit_Ninja-Unity-Android | 2 | 7053701 | <reponame>rishavnathpati/Fruit_Ninja-Unity-Android
using System.Security.Cryptography;
using UnityEngine;
using UnityEngine.SceneManagement;
public class LineCreater : MonoBehaviour
{
int vertexCount = 0;
bool mouseDown = false;
LineRenderer line;
public GameObject blast;
public GameObject gameOve... |
Assets/VRCSDK/Dependencies/VRChat/Editor/FixConstraintUpdateOrder.cs | SiTae9317/VRChatJeju | 22 | 7053702 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.LowLevel;
using UnityEngine.PlayerLoop;
namespace VRC.SDKBase.Editor
{
#if !VRC_CLIENT
public static class FixConstraintUpdateOrder
{
[RuntimeInitializeOnLoadMethod]
private ... |
VueNote.WebApi/ViewModels/CreateTagForm.cs | brightman9/VueNote | 2 | 7053703 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace VueNote.WebApi.ViewModels
{
public class CreateTagForm
{
[Required]
public string TagName { get; set; }
... |
Programing Fundamentals C#/08_Regular Expressions (RegEx) - EXE/5_Key Replacer/5_Key Replacer.cs | GabrielGardev/skill-receiving | 3 | 7053704 | using System;
using System.Text;
using System.Text.RegularExpressions;
namespace _5_Key_Replacer
{
class Program
{
static void Main(string[] args)
{
string keyString = Console.ReadLine();
string pattern1 = @"^([A-Za-z]*)[\|<\.]*(.+)[\|<\.]([A-Za-z]*)$";
var ... |
WallWalker/Assets/SceneParent.cs | immiao/Wall-Walker | 1 | 7053705 | <reponame>immiao/Wall-Walker<filename>WallWalker/Assets/SceneParent.cs<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SceneParent : MonoBehaviour {
public Transform[] state = new Transform[3];
private bool m_isRotating;
private float m_rotatingT... |
Compiler/TFlat.Compiler/Parser/Expression/UnaryOperationParser.cs | srmagura/TFlat | 0 | 7053706 | using TFlat.Compiler.Lexer;
namespace TFlat.Compiler.Parser.Expression;
internal static class UnaryOperationParser
{
internal static ParseResult<ParseNode>? Parse(Token[] tokens, int position)
{
var unaryOperation = ParseUnaryOperation(tokens, position);
if(unaryOperation != null)
... |
src/UA.Medics.Application/UseCases/Doctors/Queries/GetDoctorsQueryHandler.cs | viacheslave/ua-medics | 0 | 7053708 | <reponame>viacheslave/ua-medics
using MediatR;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using UA.Medics.Domain;
namespace UA.Medics.Application.UseCases.Doctors.Queries
{
public class GetDoctorsQueryHandler : IRequestHandler<GetDoctorsQuery, IEnumerable<DoctorIn... |
Assets/Plugins/Ludiq/Ludiq.PeekCore/Editor/Plugins/RegisterPluginModuleTypeAttribute.cs | DuLovell/Rhythm-Game | 3 | 7053709 | using System;
namespace Ludiq.PeekCore
{
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public class RegisterPluginModuleTypeAttribute : Attribute, ITypeRegistrationAttribute
{
public RegisterPluginModuleTypeAttribute(Type type, bool required)
{
Ensure.That(nameof(type)).IsNotNull(type);
... |
Tests/SelectFromWaitConditionTests.cs | YousicianGit/Responsible | 37 | 7053710 | using System;
using NUnit.Framework;
using Responsible.Tests.Utilities;
using static Responsible.Responsibly;
namespace Responsible.Tests
{
public class SelectFromWaitConditionTests : ResponsibleTestBase
{
[Test]
public void SelectFromCondition_GetsApplied_WhenSuccessful()
{
var result = ImmediateTrue
.... |
RCDSystem/DAL/CidadeDAL.cs | gtardim/Projeto-RCD | 0 | 7053711 | <reponame>gtardim/Projeto-RCD
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
namespace RCDSystem.DAL
{
public class CidadeDAL
{
private Banco b;
internal CidadeDAL()
{
b = Banco.GetInstance();
}
... |
Configgy.Tests/Coercion/JsonCoercerTests.cs | LazyTarget/Configgy | 0 | 7053712 | using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.Serialization;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Configgy.Coercion;
namespace Configgy.Tests.Coercion
{
[TestClass]
[ExcludeFromCodeCoverage]
public class JsonCoercerTests
{
[T... |
Extensions/Vector.cs | mbcrawfo/genetic-tanks | 0 | 7053713 | <gh_stars>0
using Microsoft.Xna.Framework;
using SFML.Window;
namespace GeneticTanks.Extensions
{
/// <summary>
/// Extensions to help with conversions between the vector classes.
/// </summary>
static class Vector
{
/// <summary>
/// Converts <see cref="Vector2"/> to <see cref="Vector2f"/>.
///... |
src/OpenProtocolInterpreter.Messages.Desoutter/DetailedTightening/Mid7404.cs | qniff/OpenProtocolInterpreter.Messages.Desoutter | 1 | 7053714 | using OpenProtocolInterpreter.Converters;
using OpenProtocolInterpreter.Messages.Desoutter.Converters;
using OpenProtocolInterpreter.Tightening;
namespace OpenProtocolInterpreter.Messages.Desoutter.DetailedTightening
{
/// <summary>
/// Last detailed tightening result data
/// <para>Upload last detailed t... |
src/GoatFarm.Management.API/IdentityManagment/IAccessTokenService.cs | Sumarga-Farm/goat.managment.system | 0 | 7053715 | using GoatFarm.Management.API.IdentityManagement.Models.Command;
using GoatFarm.Management.API.IdentityManagement.Models.Response;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GoatFarm.Management.API.IdentityManagement
{
public interface IAccessTokenSe... |
src/Tests/Gaucho.Test/Storage/ListItemTests.cs | WickedFlame/Gaucho | 0 | 7053716 | <filename>src/Tests/Gaucho.Test/Storage/ListItemTests.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Gaucho.Storage;
using Gaucho.Storage.Inmemory;
using NUnit.Framework;
namespace Gaucho.Test.Storage
{
public class ListItemTests
{
[Test]
public void ... |
CIB/CIB Core/Exception/LexerException.cs | WilliamRagstad/CIB | 1 | 7053717 | using CIB.Core.Util;
using System;
using System.Collections.Generic;
using System.Text;
namespace CIB.Core.Exception
{
internal class LexerException : System.Exception
{
public LexerException(string message) : base(message) { }
public static LexerException UnexpectedToken(string expected, stri... |
src/NVelocity/Runtime/Log/NullLogSystem.cs | leevipietilainen/NVelocity | 51 | 7053718 | <gh_stars>10-100
// Copyright 2004-2010 Castle Project - http://www.castleproject.org/
//
// 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... |
Source/XdsKit.Oasis/RegRep/Models/RegistryObjectList.cs | haboustak/XdsKit | 3 | 7053719 | <filename>Source/XdsKit.Oasis/RegRep/Models/RegistryObjectList.cs
using System.Collections.Generic;
using System.Xml;
using System.Xml.Serialization;
namespace XdsKit.Oasis.RegRep.Models
{
[XmlRoot(Namespace = Namespaces.Rim)]
public class RegistryObjectList
{
// Core Information Model
[Xm... |
DefaultPlugins/GlobalcachingApplication.Plugins.OLMap/OpenLayersMapForm.cs | GlobalcachingEU/GAPP | 2 | 7053720 | 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 System.IO;
using System.Reflection;
namespace GlobalcachingApplication.Plugins.OLMap
{
public partial class OpenLayersMapFor... |
Laravel NET Connector/Laravel NET Connector/Host.cs | adamwoodhead/laravel-net-connector | 0 | 7053721 | <gh_stars>0
using LaravelNETConnector.OLDMODELS;
using RestSharp;
using RestSharp.Authenticators;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Runtime.Serialization;
using System.Security.Cryptography.X509Certificates;
usin... |
Assets/Scripts/UI/AchievementsListUI.cs | solfen/Rogue_Cadet | 2 | 7053722 | <filename>Assets/Scripts/UI/AchievementsListUI.cs
using UnityEngine;
using System.Collections;
public class AchievementsListUI : MonoBehaviour {
[SerializeField] private AchievementUIMain UIprefab;
// Use this for initialization
void Start () {
EventDispatcher.AddEventListener(Events.ACHIEVMENT_CREATED... |
TakeALook.API/AssemblyResourceProvider.cs | yilmazuur/TakeALook | 1 | 7053723 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.Hosting;
namespace TakeALook.API
{
/// <summary>
/// LoadControl yaparken VirtualPathi(ascx dosyası dll içerisinde o yüzden virtual path) bulmaya yarayan classlar
/// </summary>
publi... |
src/Dfc.CourseDirectory.WebV2/RedirectToActionResultExtensions.cs | uk-gov-mirror/SkillsFundingAgency.dfc-coursedirectory | 4 | 7053724 | <reponame>uk-gov-mirror/SkillsFundingAgency.dfc-coursedirectory
using System.Collections.Generic;
using Dfc.CourseDirectory.WebV2.Middleware;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Routing;
namespace Dfc.CourseDirectory.WebV2
{
public static class RedirectToActionResultExtensions
{
... |
source/Producer/Jambo.Producer.Application/CommandHandlers/Posts/CreateCommentCommandHandler.cs | airesdiegom66/event-sourcing-master | 105 | 7053725 | <filename>source/Producer/Jambo.Producer.Application/CommandHandlers/Posts/CreateCommentCommandHandler.cs
using Jambo.Producer.Application.Commands.Posts;
using Jambo.Domain.Model.Blogs;
using Jambo.Domain.Model.Posts;
using Jambo.Domain.ServiceBus;
using MediatR;
using System;
using System.Threading.Tasks;
namespace... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.