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 |
|---|---|---|---|---|
CheckEngine/CheckParameters/CheckParameter_StringValue.cs | US-EPA-CAMD/easey-quartz-scheduler | 0 | 7035926 | <filename>CheckEngine/CheckParameters/CheckParameter_StringValue.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace ECMPS.Checks.Parameters
{
/// <summary>
/// The string value parameter object used by the check engine.
/// </summary>
public class cCheckParameterStringValue : cChe... |
Assets/UnityTools/SceneManagement/Editor/Style/SceneManagementStyles.cs | Nicolas-Constanty/UnityTools | 4 | 7035927 | <reponame>Nicolas-Constanty/UnityTools
// ReSharper disable once CheckNamespace
namespace UnityTools.SceneManagement.Style
{
public static class SceneManagementStyles
{
public static Header Header;
public static PaneOption PaneOption;
static SceneManagementStyles()
{
... |
Array/sort-a-list-of-names-in-alphabetical-order.cs | chisenoa/csharp-programs | 1 | 7035928 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Chisenoa
{
class Program
{
public static void Main()
{
List<string> names = new List<string>();
names.Add("Ram");
name... |
src/DesktopExtension/DesktopExtension/SavePosition/BackupEventTypeCreator.cs | BADF00D/DesktopExtension | 0 | 7035929 | using System;
using System.Reactive.Linq;
using DesktopExtension.Utils;
using Microsoft.Win32;
namespace DesktopExtension.SavePosition
{
internal static class BackupEventTypeCreator
{
public static IObservable<BackupAndRestorePosition.EventType> CreateFromSystemEvents(INotificationBus bus)
{
... |
src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/HttpAuthority.cs | pyracanda/runtime | 9,402 | 7035930 | <gh_stars>1000+
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
namespace System.Net.Http
{
internal sealed class HttpAuthority : IEquatable<HttpAuthority>
... |
Example/Services/Repositories/CosmosExampleRepository.cs | ryan-h/DependencyInjection.ServiceFactory | 0 | 7035931 | <reponame>ryan-h/DependencyInjection.ServiceFactory
using Example.Services.Interfaces;
namespace Example.Services.Repositories
{
/// <summary>
/// A repository implementation with a Cosmos back-end.
/// </summary>
public class CosmosExampleRepository : IExampleRepository
{
/// <inherit... |
Digitteck.ExpressionParser/FunctionWrapper/Attributes/DeclaredAttribute.cs | ramihamati/expressionparser | 0 | 7035932 | using Digitteck.ExpressionParser.FunctionWrapper.Base;
using System;
namespace Digitteck.ExpressionParser.FunctionWrapper.Attributes
{
public class DeclaredAttribute : Attribute
{
public FunctionDefinitionType FunctionDefinitionType { get;set;}
public DeclaredAttribute()
{
... |
Tourism.Api/Controllers/TravelInfoController.cs | luochenLing/Tourism.Api | 0 | 7035933 | using log4net;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Tourism.Api.Model;
using Tourism.Eums;
using Tourism.IServer;
using Tourism.QueryModel;
using Tourism.Util;
namespace Tourism.Api.Controllers
... |
DadanBinHeap/Program.cs | mangdadan/dadanbinheap | 0 | 7035934 | using System;
using System.Diagnostics;
namespace DadanBinHeap
{
public class TheBlock
{
public int idx;
public int gCost;
public int hCost;
public TheBlock(int gVal, int hVal)
{
gCost = gVal;
hCost = hVal;
}
}
public class PFBi... |
Managed/firstpass/Steamworks/RemoteStorageSubscribePublishedFileResult_t.cs | undancer/oni-data | 1 | 7035935 | using System.Runtime.InteropServices;
namespace Steamworks
{
[StructLayout(LayoutKind.Sequential, Pack = 4)]
[CallbackIdentity(1313)]
public struct RemoteStorageSubscribePublishedFileResult_t
{
public const int k_iCallback = 1313;
public EResult m_eResult;
public PublishedFileId_t m_nPublishedFileId;
}
}
|
BlazingChat/Client/obj/Debug/netstandard2.1/Razor/Pages/Contacts.razor.g.cs | molly34762/BlazorWebAssemblyApplication | 0 | 7035936 | #pragma checksum "C:\Projects\BlazorWebAssemblyApplication\BlazingChat\Client\Pages\Contacts.razor" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "463a52eb90960ecb104cd65815adf942f43f1a7f"
// <auto-generated/>
#pragma warning disable 1591
namespace BlazingChat.Client.Pages
{
#line hidden
using System;
usi... |
src/Eto.Wpf/Drawing/PenHandler.cs | ManuelHu/Eto | 3,222 | 7035937 | <filename>src/Eto.Wpf/Drawing/PenHandler.cs
using Eto.Drawing;
using System;
using swm = System.Windows.Media;
using sw = System.Windows;
namespace Eto.Wpf.Drawing
{
/// <summary>
/// Handler for <see cref="IPen"/>
/// </summary>
/// <copyright>(c) 2012-2014 by <NAME></copyright>
/// <license type="BSD-3">See LIC... |
Src/Lsj.Util.Win32/Structs/MDICREATESTRUCT.cs | sdzxwxlsj/lsjutil | 3 | 7035938 | using Lsj.Util.Win32.BaseTypes;
using Lsj.Util.Win32.Enums;
using System;
using System.Runtime.InteropServices;
using static Lsj.Util.Win32.Enums.WindowMessages;
using static Lsj.Util.Win32.Enums.WindowStyles;
using static Lsj.Util.Win32.User32;
namespace Lsj.Util.Win32.Structs
{
/// <summary>
/// <para>
... |
src/Essensoft.AspNetCore.Payment.LianLianPay/Utility/LianLianPayUtility.cs | tuxuan5200/-Core | 6 | 7035939 | <reponame>tuxuan5200/-Core
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Http.Headers;
using System.Text;
using Microsoft.AspNetCore.Http;
namespace Essensoft.AspNetCore.Payment.LianLianPay.Utility
{
public static class LianLianPayUtility
{
/// <summary>
//... |
WaterPreview/WaterPreview.Service/WaterPreview.Service/Quality_t.cs | Kate605690919/Water-Preview | 0 | 7035940 | //------------------------------------------------------------------------------
// <auto-generated>
// 此代码已从模板生成。
//
// 手动更改此文件可能导致应用程序出现意外的行为。
// 如果重新生成代码,将覆盖对此文件的手动更改。
// </auto-generated>
//------------------------------------------------------------------------------
namespace WaterPreview.Service
{
... |
Tourplaner/TourService/Sha256Wrapper.cs | Ephaltes/Tourplaner | 0 | 7035941 | <reponame>Ephaltes/Tourplaner
using System;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
namespace TourService
{
public class Sha256Wrapper
{
public static string Hash(string value)
{
using (var hash = SHA256.Create())
{
... |
src/AskTheCode.SmtLibStandard/ExpressionFactory.cs | roberthusak/AskTheCode | 15 | 7035942 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CodeContractsRevival.Runtime;
namespace AskTheCode.SmtLibStandard
{
/// <summary>
/// The collection of methods to generate all the expressions.
/// </summary>
public static class ExpressionFactory
{
... |
DD/Form1.Designer.cs | FieryBlackFox/third | 0 | 7035943 | <gh_stars>0
namespace Digdes_konverter
{
partial class Converter
{
/// <summary>
/// Требуется переменная конструктора.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Освободить все используемые ресурсы.
/// ... |
AiryAudioManager/Scripts/AiryAudioSource.cs | whitewield/Hang-Tools | 0 | 7035944 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Hang {
namespace AiryAudio {
public enum AiryAudioSourceAction {
Play,
Stop,
Pause,
UnPause,
}
public class AiryAudioSource : MonoBehaviour {
[SerializeField] AudioSource myAudioSource;
pub... |
Src/SAEA.Audio.Net/Base/NAudio/Wave/Asio/AsioTimeCodeFlags.cs | dsfop/SAEA | 0 | 7035945 | <gh_stars>0
using System;
namespace SAEA.Audio.Base.NAudio.Wave.Asio
{
[Flags]
internal enum AsioTimeCodeFlags
{
kTcValid = 1,
kTcRunning = 2,
kTcReverse = 4,
kTcOnspeed = 8,
kTcStill = 16,
kTcSpeedValid = 256
}
}
|
SpotifyAPI.Web/Clients/Interfaces/IOAuthClient.cs | Timmaaaa/SpotifyAPI-NET | 1,198 | 7035946 | using System.Threading.Tasks;
namespace SpotifyAPI.Web
{
/// <summary>
/// An OAuth Client, which allows to get inital and updated tokens from the Spotify Service
/// </summary>
public interface IOAuthClient
{
/// <summary>
/// Requests a new token using client_ids and client_secrets.
/// If the ... |
vru/Infrastructure/Repositories/RepoEducation.cs | simlex-titul2005/valliulina.ru | 0 | 7035947 | using Dapper;
using SX.WebCore;
using SX.WebCore.DbModels;
using SX.WebCore.SxProviders;
using SX.WebCore.SxRepositories.Abstract;
using SX.WebCore.ViewModels;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using vru.Models;
using vru.ViewModels;
using static SX.WebCore.HtmlHelpers.SxExt... |
Framework.Common/Configurations/Common/SystemSection.cs | josuuribe/nCubed | 4 | 7035948 | using RaraAvis.nCubed.Core.Configurations.Common;
using RaraAvis.nCubed.Core.Configurations.Common.Sections;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RaraAvis.nCubed.Core.Configurations
{
/// <summary>... |
Utility/Helpers/Converters/BooleanToFontWeightConverter.cs | ChristopherGe/vmerge | 2 | 7035949 | <reponame>ChristopherGe/vmerge
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
using System.Windows.Markup;
using System.Windows.Media;
namespace alexbegh.Utility.Helpers.Converters
{
/// <su... |
Assets/_Project/Sources/WG/Player/PrimaryWeapon.cs | RisulKarimWG/GameX | 1 | 7035950 | <filename>Assets/_Project/Sources/WG/Player/PrimaryWeapon.cs
using System.Collections.Generic;
using UnityEngine;
using VSX.Pooling;
using WG.GameX.Common;
namespace WG.GameX.Player
{
public class PrimaryWeapon
{
private float _primaryBulletVelocity;
private List<Transform> _gunPoints;
... |
src/Linguist/Resources/ResourceExtractor.cs | ins0mniaque/Localizer | 3 | 7035951 | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Resources;
namespace Linguist.Resources
{
public abstract class ResourceExtractor : IResourceExtractor
{
private Stream stream;
private string fileName;
protected ResourceExtractor ... |
ChinaMedicalInsurance/MedicalInsuranceServer/frmMain.cs | axzxs2001/ChinaMedicalInsurance | 6 | 7035952 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Reflection;
using System.IO;
using MedicalInsuranceBase;
using MedicalInsuranceServer.Common;
... |
source/XSharp.Compiler/TokenPatterns.cs | ERamaM/Cosmos | 0 | 7035954 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using Cosmos.Assembler;
using Cosmos.Assembler.x86;
using Instruction = Cosmos.Assembler.Instruction;
using static XSharp.Compiler.XSRegisters;
namespace XSharp.Compiler {
/// <summary>This class is abl... |
CPPPresentacion/Maestros/CPPPlanDePagos.aspx.designer.cs | JuanDa90laq/ProyectoCPP | 0 | 7035955 | <reponame>JuanDa90laq/ProyectoCPP<gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... |
AForge.Imaging/AForge/Imaging/Filters/ContrastCorrection.cs | siddhesh-vartak98/Fire-Detection-Using-Infrared-Images | 6 | 7035956 | <filename>AForge.Imaging/AForge/Imaging/Filters/ContrastCorrection.cs<gh_stars>1-10
namespace AForge.Imaging.Filters
{
using AForge;
using AForge.Imaging;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Drawing.Imaging;
public class ContrastCorre... |
PluginBattletoadsRaceEditor/BaseClasses.cs | spiiin/CadEditor | 164 | 7035957 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace BtRaceEditor
{
interface IBaseLoader
{
GameObjectList load(byte[] romdata);
void save(byte[] romdata, GameObjectList o... |
Lib/Neon.Common/ModelGen/ServiceModelAttribute.cs | codelastnight/neonKUBE | 0 | 7035958 | <gh_stars>0
//-----------------------------------------------------------------------------
// FILE: ServiceModelAttribute.cs
// CONTRIBUTOR: <NAME>
// COPYRIGHT: Copyright (c) 2005-2022 by neonFORGE LLC. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use... |
GT Dead Week - Alpha 1/Assets/Scripts/ThirdPersonCamera.cs | mokonzi131/gatech-deadweek | 1 | 7035959 | <reponame>mokonzi131/gatech-deadweek
using UnityEngine;
using System.Collections;
public class ThirdPersonCamera : MonoBehaviour
{
public GameObject target;
//public Collider target;
// The object we're looking at
new public Camera camera;
// The camera to control
public LayerMask obstacleLayers = -1, groundL... |
Source/Api/EtAlii.Ubigia.Api.Logical/_Model/Graph/GraphIdentifiersStartNode.cs | vrenken/EtAlii.Ubigia | 2 | 7035960 | <filename>Source/Api/EtAlii.Ubigia.Api.Logical/_Model/Graph/GraphIdentifiersStartNode.cs
// Copyright (c) <NAME>. All rights reserved. See the license on https://github.com/vrenken/EtAlii.Ubigia
namespace EtAlii.Ubigia.Api.Logical
{
using System.Collections.Generic;
using System.Linq;
public class GraphI... |
Tasks/AccelTask.cs | eatfrog/bulletmllib4unity | 26 | 7035961 | using System;
using UnityEngine;
namespace BulletMLLib
{
/// <summary>
/// This task adds acceleration to a bullet.
/// </summary>
public class AccelTask : BulletMLTask
{
/// <summary>
/// How long to run this task... measured in frames
/// </summary>
public float Duration { get; private set; }
/... |
StoryLine.Selenium.Runner/GuidGenerator/Pages/MainPage.cs | DiamondDragon/StoryLine.Selenium | 0 | 7035962 | using StoryLine.Selenium.Selectors;
namespace StoryLine.Selenium.Runner.GuidGenerator.Pages
{
public static class MainPage
{
public static readonly IElementSelector ResultsTextBox = new ById("txtResults", "Results text box");
public static readonly IElementSelector GenerateButton = new ById("b... |
products.aspx.cs | chinmayamn/vivek_website | 0 | 7035963 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Configuration;
using System.Data;
public partial class products : System.Web.UI.Page
{
admin ad = new admin();
protected void Page... |
PorTrasDoMonitor/Models/IdentityModels.cs | bsdesire/PorTrasDoMonitor-TI2 | 0 | 7035964 | using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using PorTrasDoMonitor.Models;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Security.Claims;
using System.Threading.Tasks;
namespace IdentitySample.Models
{
// You can add profile d... |
WebflowSharp/Entities/BaseCollectionModel.cs | Telzio/WebflowSharp | 0 | 7035965 | <gh_stars>0
using Newtonsoft.Json;
namespace WebflowSharp.Entities
{
public class BaseCollectionModel
{
/// <summary>
/// The unique identifier for the Collection
/// </summary>
[JsonProperty("_id")]
public string Id { get; set; }
/// <summary>
/// Dat... |
Stores/MySQL/Cleipnir.ResilientFunctions.MySQL.Tests/RFunctionTests/PostponedTests.cs | stidsborg/Cleipnir.ResilientFunctions | 0 | 7035966 | <reponame>stidsborg/Cleipnir.ResilientFunctions
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Cleipnir.ResilientFunctions.MySQL.Tests.RFunctionTests;
[TestClass]
public class PostponedTests : ResilientFunctions.Tests.TestTemplates.RFunctionTests.PostponedTests
{
[TestMethod]
public override T... |
ArkBot/Modules/Application/Services/IArkServerService.cs | Hsilamot/ArkBot | 1 | 7035967 | <gh_stars>1-10
using Discord;
using System;
using System.Threading.Tasks;
namespace ArkBot.Modules.Application.Services
{
public interface IArkServerService
{
Task<bool> RestartServer(string serverKey, Func<string, Task<IUserMessage>> sendMessageDirected);
Task<bool> ShutdownServer(string serv... |
Subtext.Web/Controls/Captcha/CaptchaInfo.cs | Dashboard-X/SubText-2.5.2.0.src | 0 | 7035968 | <filename>Subtext.Web/Controls/Captcha/CaptchaInfo.cs<gh_stars>0
#region Disclaimer/Info
///////////////////////////////////////////////////////////////////////////////////////////////////
// Subtext WebLog
//
// Subtext is an open source weblog system that is a fork of the .TEXT
// weblog system.
//
// For updated ... |
WCF/WCFService.cs | alexbabkin/ReCaster | 0 | 7035969 | using System;
using System.Collections.Generic;
using System.ServiceModel;
using System.Threading;
using log4net;
using Recaster.Configuration;
using Recaster.Common;
using Recaster.Service;
namespace Recaster.WCF
{
[ServiceBehavior(ConcurrencyMode = ConcurrencyMode.Single, InstanceContextMode = InstanceContextM... |
src/jr/JiraCredentials.cs | brianmwhite/jira-reporting | 0 | 7035970 | using Newtonsoft.Json;
namespace jr
{
public class JiraCredentials
{
[JsonProperty("jiraUser")]
public string JiraUser { get; set; }
[JsonProperty("jiraPassword")]
public string JiraPassword { get; set; }
[JsonProperty("jiraURL")]
public string... |
samples/ri/Domain.Interfaces.UnitTests/ChangeEventTypeMigratorSpec.cs | jezzsantos/queryany | 1 | 7035971 | <reponame>jezzsantos/queryany
using System;
using System.Collections.Generic;
using Domain.Interfaces.Entities;
using Domain.Interfaces.Properties;
using FluentAssertions;
using UnitTesting.Common;
using Xunit;
namespace Domain.Interfaces.UnitTests
{
[Trait("Category", "Unit")]
public class ChangeEventTypeMig... |
src/Core/src/Platform/iOS/TabbedViewExtensions.cs | jpobst/maui | 0 | 7035972 | using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Maui.Graphics;
using UIKit;
namespace Microsoft.Maui.Platform
{
internal static class TabbedViewExtensions
{
internal static void UpdateiOS15TabBarAppearance(
this UITabBar tabBar,
ref UITabBarAppearance _tabBarAppearance,
... |
Finalaplication/Views/Home/IncorrectFile.cshtml | FleischmanKrisztian/Finalapplication | 2 | 7035973 | @{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<style>
.emp-profile {
padding: 3%;
margin-top: 3%;
margin-bottom: 3%;
border-radius: 0.5rem;
background: #fff;
text-alig... |
src/sdk/PnP.Core.Admin.Test/SharePoint/SiteEnumerationTests.cs | DonKirkham/pnpcore | 160 | 7035974 | <reponame>DonKirkham/pnpcore
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PnP.Core.Admin.Model.SharePoint;
using PnP.Core.Admin.Test.Utilities;
using PnP.Core.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PnP.Core.Admin.Test.SharePoin... |
Rx.NET/Source/src/System.Reactive/Platforms/UWP/IEventPatternSource.cs | tralivali1234/reactive | 1 | 7035975 | <reponame>tralivali1234/reactive<filename>Rx.NET/Source/src/System.Reactive/Platforms/UWP/IEventPatternSource.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more informati... |
sources/engine/Stride.Physics/Simulation.cs | unrealflow/stride | 1 | 7035976 | // Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
using System.Collections.Generic;
usi... |
Source/Web/EugenieWeb.Web/Views/Shared/EditorTemplates/Store.cshtml | svstoichkov/EugenieWeb | 1 | 7035977 | <filename>Source/Web/EugenieWeb.Web/Views/Shared/EditorTemplates/Store.cshtml
@model EugenieWeb.Data.Models.Store
@Html.ValidationSummary("", new { @class = "text-danger" })
<div class="form-group form-group-default required ">
@Html.LabelFor(m => m.Name)
@Html.TextBoxFor(m => m.Name, new { @class = "form... |
net-core/Makc2020.Host.Base/Parts/Auth/Config/Settings/IHostBasePartAuthConfigSettingUser.cs | maxim-kuzmin/Makc2020 | 0 | 7035978 | //Author <NAME>//makc//
namespace Makc2020.Host.Base.Parts.Auth.Config.Settings
{
/// <summary>
/// Хост. Основа. Часть "Auth". Конфигурация. Настройки. Интерфейс.
/// </summary>
public interface IHostBasePartAuthConfigSettingUser
{
#region Properties
/// <summary>
/// Адр... |
cas/csharp/core/Models/WorkspaceRegion.cs | alipay/antchain-openapi-prod-sdk | 6 | 7035979 | <reponame>alipay/antchain-openapi-prod-sdk
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AntChain.SDK.CAS.Models
{
// WorkspaceRegion
public class WorkspaceRegion : TeaModel {
// id
[NameInMap("id")... |
src/NUnitFramework/framework/Internal/On.cs | lsolano/nunit | 2,306 | 7035980 | // Copyright (c) <NAME>, <NAME> and Contributors. MIT License - see LICENSE.txt
using System;
using System.Threading;
namespace NUnit.Framework.Internal
{
/// <summary>
/// Enables the <see cref="On.Dispose"/> syntax.
/// </summary>
internal static class On
{
/// <summary>
/// Wrap... |
src/Nucleo/Text/MessageProvider.cs | brianmains/Nucleo.NET | 2 | 7035981 | <reponame>brianmains/Nucleo.NET
using System;
namespace Nucleo.Text
{
/// <summary>
/// The base interface for the message provider.
/// </summary>
public abstract class MessageProvider : Providers.ProviderBase
{
/// <summary>
/// Adds a new message to the underlying data store.
/// </summary>
/// <para... |
TheExampleApp/ViewComponents/MetaTagsViewComponent.cs | MatKapp/Products-catalog | 0 | 7035982 | using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Localization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace TheExampleApp.ViewComponents
{
/// <summary>
/// View component for the head meta tags.
/// </summary>
public class Me... |
WebApi/Controllers/OrderController.cs | WilsonPan/AspNetCoreExamples | 4 | 7035983 | using System;
using System.Linq;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.JsonPatch;
using Microsoft.AspNetCore.Http;
namespace WebApi.Controllers
{
/// <summary>
/// 订单模块
/// </summary>
[ApiController]
[Route("[controller]")]
[FormatFilter]
... |
Startup.cs | majdikhalil/OdeToFood | 0 | 7035984 | <reponame>majdikhalil/OdeToFood
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
u... |
Assets/Scripts/Game/DummyPlayerEffect.cs | hecomi/LITTAI-game | 18 | 7035985 | using UnityEngine;
using System.Collections;
public class DummyPlayerEffect : MonoBehaviour
{
public GameObject[] parts;
public GameObject deadEffectPrefab;
public GameObject revivalEffectPrefab;
public float blinkTime = 0.5f;
private Coroutine blinkCroutine_;
IEnumerator Blink()
{
bool isShown = false;
f... |
DotNetBungieAPI/Models/Tokens/PartnerOfferSkuHistoryResponse.cs | EndGameGl/.NetBungieAPI | 25 | 7035986 | <gh_stars>10-100
namespace DotNetBungieAPI.Models.Tokens;
public sealed record PartnerOfferSkuHistoryResponse
{
[JsonPropertyName("SkuIdentifier")] public string SkuIdentifier { get; init; }
[JsonPropertyName("LocalizedName")] public string LocalizedName { get; init; }
[JsonPropertyName("LocalizedDescri... |
src/Xwrap/FieldWrappers/TextFieldWrapper.cs | vhil/xWrap | 5 | 7035987 | namespace Xwrap.FieldWrappers
{
using Abstractions;
using Sitecore.Data.Fields;
using Sitecore.Data.Items;
/// <summary>
/// Default field wrapper type for textual Sitecore field types such as 'single line text'. Implements <see cref="IFieldWrapper{string}"/>
/// </summary>
/// <seealso cref="Xwrap.FieldWrappe... |
BalsamicSolutions.CodeCommit2Slack/CodeCommitBranchEvent.cs | BalsamicSolutions/CodeCommit2Slack | 0 | 7035988 | // -----------------------------------------------------------------------------
// Copyright (c) Balsamic Solutions, LLC. All rights reserved.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER
// EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR
// ---------------------... |
XQ.SDK/XQ/XqApi.cs | Awbugl/XQCSharpSDK | 20 | 7035989 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using Newtonsoft.Json;
using XQ.SDK.Core;
using XQ.SDK.Enum;
using XQ.SDK.Model;
using XQ.SDK.Model.Json;
using XQ.SDK.Model.MessageObject;
namespace XQ.SDK.XQ
{
/// <summary>
/// XQApi... |
SF.Core/Infrastructure/Plugins/PluginRouteBuilder.cs | blueskybcl/SF-Boilerplate | 74 | 7035991 | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Routing;
using Microsoft.AspNetCore.Routing.Internal;
using Microsoft.Extensions.DependencyInjection;
using SF.Core.Infrastructure.Plugins.Abstraction;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namesp... |
XTool/code/view.model/my.sql/MySqlCommandViewModel.cs | eXtensoft/xtool | 0 | 7035992 | <filename>XTool/code/view.model/my.sql/MySqlCommandViewModel.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XTool.Inference;
namespace XTool
{
public class MySqlCommandViewModel : ViewModel<Inference.SqlCommand>
{
#region Ti... |
Master40.SimulationCore/Agents/ContractAgent/Contract.Agent.cs | pascalschumann/diploma-thesis-central-production-planning | 0 | 7035993 | using Akka.Actor;
using Master40.SimulationCore.Agents.ContractAgent.Behaviour;
using Master40.SimulationCore.Agents.DispoAgent;
using Master40.SimulationCore.Agents.Guardian;
using Master40.SimulationCore.Helper;
using System.Linq;
namespace Master40.SimulationCore.Agents.ContractAgent
{
public partial class Con... |
Assets/GameMain/Scripts/Editor/DataTableGenerator/DataTableGeneratorMenu.cs | slelay0405/Star-Force | 0 | 7035994 | <reponame>slelay0405/Star-Force
using GameFramework;
using UnityEditor;
using UnityEngine;
using UnityGameFramework.Editor.DataTableTools;
namespace StarForce.Editor.DataTableTools
{
public sealed class DataTableGeneratorMenu
{
[MenuItem("Star Force/Generate DataTables")]
private static void G... |
Blazor/Games/DominosMexicanTrainBlazor/Views/DominosMexicanTrainMainView.razor.cs | musictopia2/GamingPackXV3 | 0 | 7035995 | namespace DominosMexicanTrainBlazor.Views;
public partial class DominosMexicanTrainMainView
{
[CascadingParameter]
public TestOptions? TestData { get; set; }
private readonly BasicList<LabelGridModel> _labels = new();
private readonly BasicList<ScoreColumnModel> _scores = new();
protected override v... |
src/TrayKit/Controllers/PluginController.cs | SvenHarenburg/TrayKit | 6 | 7035996 | <filename>src/TrayKit/Controllers/PluginController.cs<gh_stars>1-10
using System.ComponentModel.Composition;
using System.ComponentModel.Composition.Hosting;
using TrayKit.Base;
using TrayKit.Models;
using TrayKit.Models.Settings;
using System.Reflection;
using System.ComponentModel;
using System.IO;
using System.Runt... |
FoodWasteMS/FoodWasteMS/ViewOrderShopkeeper.cs | AhsanulIslam/Food_waste_Management_sytem_ADMS | 0 | 7035997 | 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 Oracle.ManagedDataAccess.Client;
namespace FoodWasteMS
{
public partial class ViewOrderShopkee... |
Poing2/SerializationHelper.cs | BCProgramming/BASeBlock | 2 | 7035998 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
namespace BASeCamp.BASeBlock
{
class SerializationHelper
{
... |
tests/ImageSharp.Tests/PixelFormats/L16Tests.cs | MatterHackers/ImageSharp | 0 | 7035999 | // Copyright (c) <NAME>.
// Licensed under the Apache License, Version 2.0.
using System.Numerics;
using SixLabors.ImageSharp.PixelFormats;
using Xunit;
namespace SixLabors.ImageSharp.Tests.PixelFormats
{
public class L16Tests
{
[Fact]
public void AreEqual()
{
var color1 =... |
ReOsuStoryboardPlayer.Core/Utils/AnchorConvert.cs | Milkitic/ReOsuStoryboardPlayer | 12 | 7036000 | using ReOsuStoryboardPlayer.Core.Base;
using ReOsuStoryboardPlayer.Core.PrimitiveValue;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ReOsuStoryboardPlayer.Core.Utils
{
public static class AnchorConvert
{
private readonly static Dictionary<Anchor, Half... |
VideoAPI/Video.API/Validations/EmailValidator.cs | ryantestgmail/vh-video-api | 0 | 7036001 | <gh_stars>0
using System;
using System.Net.Mail;
namespace Video.API.Validations
{
/// <summary>Simple validator to check email formats</summary>
public static class EmailValidator
{
/// <summary>
/// Test if the given string is specified and a valid email address
/// </summary>
... |
Assets/_Scripts/PointsController.cs | andersonrsg/Integradora-II | 0 | 7036002 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PointsController : MonoBehaviour {
public VRController[] points;
public int currentPoint = 0;
// Use this for initialization
void Start () {
for (int i = 0; i < points.Length ; i++) {
points[i].isNext = false;
}
... |
src/Models/Suit.cs | Russell-Ford/poker | 0 | 7036003 | <reponame>Russell-Ford/poker
namespace PokerSolver.Models
{
/// <remarks>
/// This encodes some rule logic that is not strictly speaking portable.
/// However, this is believed to be _more generic_ than the Rank enum.
/// </remarks>
public enum Suit
{
Clubs,
Diamonds... |
AdtModelUploader/DtmiNodeBuilder.cs | MatthijsvdVeer/adt-model-uploader | 0 | 7036004 | using System;
using System.Collections.ObjectModel;
using System.Linq;
using Microsoft.Azure.DigitalTwins.Parser;
namespace AdtModelUploader
{
internal sealed class DtmiNodeBuilder
{
private readonly DTInterfaceInfo dtInterfaceInfo;
private readonly Collection<Action<DtmiNode>> builderFunctio... |
src/PactNet.Abstractions/Generators/IGenerator.cs | chad-tw/pact-net | 0 | 7036005 | <gh_stars>0
using Newtonsoft.Json;
using PactNet.Matchers;
namespace PactNet.Generators;
public interface IGenerator : IMatcher
{
/// <summary>
/// Type of the generator
/// </summary>
[JsonProperty("pact:generator:type")]
string GeneratorType { get; }
}
|
src/csharp/Intel/Generator/Formatters/CSharp/CSharpTableGen.cs | moodykeke/iced | 1 | 7036006 | /*
Copyright (C) 2018-2019 <EMAIL>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, su... |
QuickFox/Rendering/StaticCamera.cs | AlexandrYaltychenko/QuickFox2D | 0 | 7036007 | <gh_stars>0
using System;
namespace QuickFox.Rendering
{
public class StaticCamera : ICamera
{
public float X { get; set; } = 0f;
public float Y { get; set; } = 0f;
public float Z { get; set; } = 1f;
public StaticCamera()
{
}
public override string To... |
TubeyForWin3/MyData.cs | OliPicard/TubeyNET | 0 | 7036008 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace TubeyForWin3
{
[JsonConverter(typeof(LineDisplayConverter))] //settin... |
EFAS/EFAS/wrap_csharp64/XsBaudRate.cs | PoxyDoxy/EFAS | 1 | 7036009 | <reponame>PoxyDoxy/EFAS
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 3.0.10
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interf... |
Assets/PicaVoxel/PicaVoxel/Scripts/CollisionDetector.cs | GarethIW/PicaVoxel | 58 | 7036011 | <gh_stars>10-100
/////////////////////////////////////////////////////////////////////////
//
// PicaVoxel - The tiny voxel engine for Unity - http://picavoxel.com
// By <NAME> - @garethiw - http://gareth.pw
// /////////////////////////////////////////////////////////////////////////
using System;
using System.Collec... |
src/Dnn.KeyMaster.Providers/Utilities/DataUtil.cs | ahoefling/Dnn.KeyMaster | 5 | 7036013 | <gh_stars>1-10
using DotNetNuke.Collections;
using DotNetNuke.ComponentModel.DataAnnotations;
using DotNetNuke.Data;
using System;
using System.Data;
using System.Globalization;
using System.Reflection;
using System.Text;
namespace Dnn.KeyMaster.Data.Providers.KeyVault.Utilities
{
internal static class DataUtil
... |
WeatherApp/WeatherApp/ViewModels/NotificationViewModel.cs | kolegs/WeatherApp | 0 | 7036015 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using WeatherApp.Models;
using WeatherApp.Resources;
using Xamarin.Forms;
namespace WeatherApp.ViewModels
{
public class NotificationViewModel : BaseViewModel
{
public Notif... |
Controller/Heroes/Lore/DefenderLorePromoCardUnlockController.cs | wrhyme29/Studio29Mods | 0 | 7036016 | <filename>Controller/Heroes/Lore/DefenderLorePromoCardUnlockController.cs
using Handelabra.Sentinels.Engine.Controller;
using Handelabra.Sentinels.Engine.Model;
using System.Linq;
using Handelabra;
using System.Collections.Generic;
namespace Studio29
{
public class DefenderLorePromoCardUnlockController : PromoCar... |
sdk/dotnet/IoTEvents/Inputs/AlarmModelPayloadArgs.cs | pulumi/pulumi-aws-native | 29 | 7036017 | <reponame>pulumi/pulumi-aws-native
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Se... |
src/apps/logistics-app/domain/store/Logistics.Store.API/Controllers/AccountsController.cs | kostovmichael/devkit-dotnet-core | 4 | 7036018 | // -----------------------------------------------------------------------
// <copyright file="TransactionsController.cs" company="RyanAd">
// See the [assembly: AssemblyCopyright(..)] marking attribute linked in to this file's associated project for copyright © information.
// </copyright>
// -------------------... |
Supplementary Projects/Code Generation/Types/ExternType+TypeReference.cs | AlexanderMorou/AbstractionProject | 0 | 7036019 | using System;
using System.Collections.Generic;
using System.Text;
using System.CodeDom;
using System.Linq;
namespace AllenCopeland.Abstraction.OldCodeGen.Types
{
[Serializable]
partial class ExternType
{
[Serializable]
public class TypeReference :
TypeReferenceBas... |
src/NetCoreOptions.Domain/Extensions/ConfiguraitonExtensions.cs | RodrigoBernardino/NetCoreOptions | 0 | 7036020 | using Microsoft.Extensions.Configuration;
using System;
using System.Linq;
namespace NetCoreOptions.Domain.Extensions
{
public static class ConfiguraitonExtensions
{
public static T SafeGet<T>(this IConfiguration configuration)
{
string typeName = typeof(T).Name;
if (c... |
Sustainsys.Saml2/Configuration/IOptions.cs | UNIFYSolutions/Saml2 | 547 | 7036022 | <gh_stars>100-1000
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Sustainsys.Saml2.Configuration
{
/// <summary>
/// Root interface for the options objects, handling all configuration of
///... |
SampleApp/Samples/MapView.xaml.cs | tom-englert/TomsToolbox1 | 0 | 7036023 | namespace SampleApp.Samples
{
using System.ComponentModel.Composition;
using JetBrains.Annotations;
using TomsToolbox.Desktop.Composition;
using TomsToolbox.Wpf.Composition;
/// <summary>
/// Interaction logic for MapView.xaml
/// </summary>
[DataTemplate(typeof(MapViewMo... |
Bonsai.System/IO/Ports/BaudRateConverter.cs | glopesdev/bonsai | 0 | 7036024 | <gh_stars>0
using System.ComponentModel;
namespace Bonsai.IO
{
/// <summary>
/// Provides a type converter to convert serial baud rates to and from other representations.
/// </summary>
public class BaudRateConverter : Int32Converter
{
/// <inheritdoc/>
public override bo... |
src/Microsoft.Health.Dicom.Core.UnitTests/Features/Validation/LongStringValidationTests.cs | rohankhera/dicom-server | 205 | 7036025 | <gh_stars>100-1000
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// ----------------------------------------... |
LichessApi/LichessApi.Web/Api/Games/Response/StreamCurrentTVGameResponse.cs | tanczosm/LichessNet | 1 | 7036026 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LichessApi.Web.Models;
namespace LichessApi.Web.Api.Games.Response
{
public class StreamCurrentTVGameResponse
{
[Newtonsoft.Json.JsonProperty("t", Requ... |
ConsoleTvMaze/Extensions.cs | simonray/ConsoleTvMaze | 0 | 7036027 | using System;
using System.Text;
public static class Extensions
{
public static string RemovePunctuation(this string @self)
{
StringBuilder sb = new StringBuilder();
foreach (char c in self)
{
if (!char.IsPunctuation(c))
sb.Append(c);
}
re... |
Assets/RockyScene/_Scripts/z_Examples/FPH_Example_InteractIHaveObject.cs | Jetatomic17/PuppetsTear | 0 | 7036028 | using UnityEngine;
using System.Collections;
public class FPH_Example_InteractIHaveObject : MonoBehaviour {
public string neededObj;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
public void Interact(){
if(FPH_InventoryManager.HasObject(neede... |
System.Drawing.Printing/PrintPageEventArgs.cs | PaulBol/sysdrawing-coregraphics | 44 | 7036029 | <filename>System.Drawing.Printing/PrintPageEventArgs.cs
//
// System.Drawing.PrintPageEventArgs.cs
//
// Author:
// <NAME> (<EMAIL>)
// <NAME> (<EMAIL>)
// <NAME> <<EMAIL>>
//
// (C) 2002 Ximian, Inc
// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
// Copyright 2011-2013 Xamarin Inc.
//
// Permission is... |
Jockusch.Common.Debugging/Notifications/Notification.cs | verybadcat/Debugging | 0 | 7036030 | using System;
using Jockusch.Common.Debugging;
namespace Jockusch.Common.Notifications {
public class Notification {
public string Name { get; private set; }
public object Sender { get; private set; }
public object Info { get; private set; }
public Notification(string name, object sender, object inf... |
OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs | AlericInglewood/opensimulator | 1 | 7036031 | <filename>OpenSim/Framework/Servers/HttpServer/PollServiceRequestManager.cs
/*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.