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 |
|---|---|---|---|---|
System.Messaging/System/Messaging/Design/MessageQueueConverter.cs | fernetowac/referencesource | 911 | 7028371 | //------------------------------------------------------------------------------
// <copyright file="MessageQueueConverter.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------... |
ProjO1Test/ProjO1Test/MockDBTest.cs | Gforteau/GregForteauRevature1 | 0 | 7028372 | <filename>ProjO1Test/ProjO1Test/MockDBTest.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ProjO1Test
{
class MockDBTest
{
public List<Customer> GetCustomer()
{
List<Customer> customers =... |
sdk/dotnet/DataFactory/Outputs/DatasetBinarySftpServerLocation.cs | henriktao/pulumi-azure | 109 | 7028373 | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... |
Behaviors/IStatelessBehavior.cs | npolyak/NP.Concepts | 0 | 7028374 | // (c) <NAME> 2018 - http://awebpros.com/
// License: Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html)
//
// short overview of copyright rules:
// 1. you can use this framework in any commercial or non-commercial
// product as long as you retain this copyright message
// 2. Do not blame the aut... |
unity_test/HarmoniaTest/Assets/Harmonia/Harmonia.cs | Hiiragi/Harmonia | 0 | 7028375 | using AOT;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UnityEngine;
using UnityEngine.Events;
namespace jp.Hiiragi
{
public class Harmonia
{
#if(UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR
[DllImport("__Internal")]
#else
[Dl... |
src/Tests/Microsoft.NET.Publish.Tests/GivenThatWeWantToPublishTrimmedWindowsFormsAndWPFApps.cs | tarekgh/sdk | 0 | 7028376 | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO;
using System.Linq;
using System.Xml.Linq;
using FluentAssertions;
using Microsoft.NET.Build.Tasks;
using Microsoft.NET.TestFram... |
src/Serenity.Net.CodeGenerator/Generator/Templates.cs | vooba/Serenity | 0 | 7028377 | <filename>src/Serenity.Net.CodeGenerator/Generator/Templates.cs
using Scriban;
using Scriban.Runtime;
using System;
using System.Collections.Concurrent;
using System.IO;
using System.Linq;
namespace Serenity.CodeGenerator
{
public static class Templates
{
public static string TemplatePath {... |
Standard/essentialMix/Extensions/BinaryWriterExtension.cs | asm2025/asm | 0 | 7028378 | using System.IO;
using JetBrains.Annotations;
namespace essentialMix.Extensions
{
public static class BinaryWriterExtension
{
public static void Write([NotNull] this BinaryWriter thisValue, [NotNull] params byte[] buffer)
{
thisValue.Write(buffer, 0, buffer.Length);
}
public static void Write([NotNull] t... |
ICSharpCode.Decompiler/TypeSystem/Implementation/TypeParameterReference.cs | Nyerst/ILSpy | 6 | 7028379 | <gh_stars>1-10
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team
//
// 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 t... |
Source/TimeWarp.Blazor.Template/templates/TimeWarp.Blazor/Tests/Server.Integration.Tests/Features/WeatherForecast/Get/GetWeatherForecastsRequestValidator_Tests.cs | mikeyoshino/timewarp-templates | 36 | 7028380 | <reponame>mikeyoshino/timewarp-templates
namespace GetWeatherForecastRequestValidator_
{
using FluentAssertions;
using FluentValidation.Results;
using FluentValidation.TestHelper;
using TimeWarp.Blazor.Features.WeatherForecasts;
public class Validate_Should
{
private GetWeatherForecastsRequestValidator... |
src/Persistence/InMemory/InMemoryPersistenceContextProvider.cs | nathanenglert/OpenMU | 0 | 7028381 | // <copyright file="InMemoryPersistenceContextProvider.cs" company="MUnique">
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
// </copyright>
namespace MUnique.OpenMU.Persistence.InMemory
{
/// <summary>
/// A context provider which uses in-memory reposito... |
src/EasyMWS/EasyMWS/WebService/MarketplaceWebService/IMarketplaceWebServiceClient.cs | TechyChap/EasyMWS | 12 | 7028382 | <gh_stars>10-100
using MountainWarehouse.EasyMWS.WebService.MarketplaceWebService.Model;
namespace MountainWarehouse.EasyMWS.WebService.MarketplaceWebService
{
public interface IMarketplaceWebServiceClient
{
/// <summary>
/// Get Report
/// </summary>
/// <param name="request">Get Report request</param>
... |
BioinformaticsSuite.Module/Views/PopupViews/DnaHelpPopupView.xaml.cs | jemd321/Bioinformatics-Suite | 0 | 7028383 | <gh_stars>0
using System;
using System.Windows;
using Prism.Interactivity.InteractionRequest;
namespace BioinformaticsSuite.Module.Views.PopupViews
{
/// <summary>
/// Interaction logic for DnaHelpPopupView.xaml
/// </summary>
public partial class DnaHelpPopupView : IInteractionRequestAware
{
... |
PluginHost/Tasks/IEventLoop.cs | bitwalker/pluginhost | 34 | 7028384 | using System.Threading;
namespace PluginHost.Tasks
{
public interface IEventLoop
{
/// <summary>
/// Starts the event loop
/// </summary>
void Start();
/// <summary>
/// An alternate start method which allows us to proactively stop execution of
/// the e... |
StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp7/Lightup/DeclarationPatternSyntaxWrapperTests.cs | wdolek/StyleCopAnalyzers | 2,228 | 7028385 | <reponame>wdolek/StyleCopAnalyzers
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Test.CSharp7.Lightup
{
using System;
using Microsoft.CodeAnalysis;
using Micros... |
FortnoxSDK.Tests/ConnectorTests/TrustedEmailDomainsTests.cs | vanillajonathan/csharp-api-sdk | 44 | 7028386 | using System.Threading.Tasks;
using Fortnox.SDK;
using Fortnox.SDK.Entities;
using Fortnox.SDK.Exceptions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace FortnoxSDK.Tests.ConnectorTests
{
[TestClass]
public class TrustedEmailDomainsTests
{
public FortnoxClient FortnoxClient = TestUti... |
Chapter 9/OSIM/src/OSIM/OSIM.Core/Entities/ItemType.cs | hippieZhou/Professional-Test-Driven-Development-with-C-Sharp | 0 | 7028387 | <filename>Chapter 9/OSIM/src/OSIM/OSIM.Core/Entities/ItemType.cs
namespace OSIM.Core.Entities
{
public class ItemType
{
public virtual int Id { get; set; }
public virtual string Name { get; set; }
}
} |
src/Core/Application/Catalog/Brands/DeleteBrandRequest.cs | cwoodruff/dotnet-webapi-boilerplate | 2 | 7028388 | using FSH.WebApi.Application.Catalog.Products;
namespace FSH.WebApi.Application.Catalog.Brands;
public class DeleteBrandRequest : IRequest<Guid>
{
public Guid Id { get; set; }
public DeleteBrandRequest(Guid id) => Id = id;
}
public class DeleteBrandRequestHandler : IRequestHandler<DeleteBrandRequest, Guid>... |
HexgridPanel/Example/HexGridPanelExample.Designer.cs | robinz0ne/HexGridUtilitiesForGames | 94 | 7028389 | #region License - Copyright (C) 2012-2019 <NAME>, all rights reserved.
/////////////////////////////////////////////////////////////////////////////////////////
// PG Software Solutions - Hex-Grid Utilities
//
// Use of this software is permitted only as described in the attached file: license.txt.
////... |
Assets/scripts/animal3.cs | Prossac/PARCIAL-JUEGO-ALIEN | 0 | 7028391 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class animal3 : MonoBehaviour
{
[SerializeField] float speed;
[SerializeField] bool movingRight;
[SerializeField] gAMEmANAGER gm;
float minX, maxX;
public int vida = 3;
// Start is called b... |
sdk/dotnet/Gke/Inputs/ElastigroupIntegrationDockerSwarmGetArgs.cs | pulumi/pulumi-spotinst | 4 | 7028392 | <filename>sdk/dotnet/Gke/Inputs/ElastigroupIntegrationDockerSwarmGetArgs.cs<gh_stars>1-10
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using Syst... |
Idoit.API.Client/CMDB/Category/Response/Attribute/AssignedPort.cs | Kleinrotti/Idoit.API.Client | 0 | 7028393 | using Newtonsoft.Json;
namespace Idoit.API.Client.CMDB.Category
{
public class AssignedPort : IdoitAttribute
{
[JsonProperty("reference")]
public string reference { get; set; }
}
} |
Editor/Core/Config/Common/ImportProjectSettings.cs | pikokr/ThunderKit | 0 | 7028394 | using AssetsExporter;
using System;
using System.Collections.Generic;
using System.IO;
using ThunderKit.Common;
using ThunderKit.Core.Data;
using UnityEditor;
using UnityEngine;
namespace ThunderKit.Core.Config.Common
{
[Serializable]
public class ImportProjectSettings : OptionalExecutor
{
public ... |
Auditor/Options.cs | JoeBiellik/auditor | 1 | 7028395 | <filename>Auditor/Options.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using CommandLine;
namespace Auditor
{
public class Options
{
[Value(0, MetaName = "Rulebook", MetaValue = "FILE", HelpText = "Rulebook file to run.")]
public string Rulebook { get; set; } = "rules.yml";
[Opt... |
src/RhinoLSystemModelerCommands/PointStack/PopPointsToPolyline.cs | t-c-/RhinoLSystem | 2 | 7028396 | <filename>src/RhinoLSystemModelerCommands/PointStack/PopPointsToPolyline.cs
using System;
using System.Collections.Generic;
using Rhino;
using Rhino.Geometry;
namespace RhinoLSystem.Commands {
public class PopPointsToPolyline : ModelerCommand {
public override string CommandName() {
... |
MMO_Server/DummyClient/ServerSession.cs | 610ksh/CSharpGameServer | 0 | 7028397 | using System;
using System.Collections.Generic;
using System.Text;
using System.Net;
using ServerCore;
namespace DummyClient
{
class ServerSession : PacketSession
{
public override void OnConnected(EndPoint endPoint)
{
Console.WriteLine($"OnConnected : {endPoint}");
}
public override void OnDisconnec... |
mcs/tests/gtest-124.cs | lefb766/mono | 469 | 7028398 | <reponame>lefb766/mono<gh_stars>100-1000
using System;
interface IFoo <T>
{
T this [int index] {
get; set;
}
}
public class FooCollection <T> : IFoo <T>
{
T IFoo<T>.this [int index] {
get {
return default(T);
}
... |
Chess/Hash/Zobrist.cs | rudzen/ChessLib | 36 | 7028399 | /*
ChessLib, a chess data structure library
MIT License
Copyright (c) 2017-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 righ... |
src/core/Jenetics.Tests/ProbabilitySelectorTesterBase.cs | lvv88/jenetics.net | 6 | 7028400 | // Java Genetic Algorithm Library.
// Copyright (c) 2017 <NAME>
//
// 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 require... |
src/Hamster.Web/DependencyInjection.cs | georgiikl/Hamster | 0 | 7028401 | <filename>src/Hamster.Web/DependencyInjection.cs
using Autofac;
namespace Hamster.Web
{
public class DependencyInjection : Module
{
protected override void Load(ContainerBuilder builder)
{
}
}
} |
src/SFA.DAS.AssessorService.Api.Types/Models/CompaniesHouse/DateOfBirth.cs | codescene-org/das-assessor-service | 6 | 7028402 | namespace SFA.DAS.AssessorService.Api.Types.Models.CompaniesHouse
{
public class DateOfBirth
{
public int? day { get; set; }
public int month { get; set; }
public int year { get; set; }
}
}
|
Public/Src/Utilities/Utilities/StringSegment.cs | nayanshah/BuildXL | 1 | 7028403 | <reponame>nayanshah/BuildXL
// 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.Diagnostics.CodeAnalysis;
using System.Diagnostics.ContractsLight;
using System.Text;
namespace BuildXL.... |
src/Sir.Store/VectorOperations.cs | bradparks/resin___google_and_altavista_killer_search_engine | 0 | 7028404 | <reponame>bradparks/resin___google_and_altavista_killer_search_engine
using System;
using System.Collections.Generic;
using System.IO;
namespace Sir.Store
{
public static class VectorOperations
{
public static long Serialize(this SortedList<char, double> vec, Stream stream)
{
var p... |
Sources/MinerWars.GameLib/AppCode/Game/GUI/MyGuiScreenStartQuickLaunch.cs | emperorstarfinder/Miner-Wars-2081 | 118 | 7028405 | using System;
using MinerWars.AppCode.Game.GUI.Core;
using MinerWars.AppCode.Game.GUI.ScreenEditor;
using MinerWars.AppCode.Game.Localization;
using MinerWars.AppCode.Game.Utils;
using MinerWars.AppCode.Game.World;
using SysUtils.Utils;
using MinerWars.CommonLIB.AppCode.Networking;
using KeenSoftwareHouse.Library.Trac... |
Firebend.AutoCrud.Core/Interfaces/Services/DomainEvents/IEntityDomainEventPublisher.cs | djayd/auto-crud | 16 | 7028406 | using System.Threading;
using System.Threading.Tasks;
using Firebend.AutoCrud.Core.Interfaces.Models;
using Firebend.AutoCrud.Core.Models.DomainEvents;
namespace Firebend.AutoCrud.Core.Interfaces.Services.DomainEvents
{
public interface IEntityDomainEventPublisher
{
Task PublishEntityAddEventAsync<TEnt... |
KingKarel/KingKarel/Migrations/20220325160552_Initial migration.cs | tenhobi-masters-thesis/backend | 0 | 7028407 | using Microsoft.EntityFrameworkCore.Migrations;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
#nullable disable
namespace KingKarel.Migrations
{
public partial class Initialmigration : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
m... |
Assets/Labs/Momentum/Scripts/HintController.cs | JJAYCHENooo/ARKitLab | 2 | 7028408 | <reponame>JJAYCHENooo/ARKitLab
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HintController : MonoBehaviour {
public GameObject[] Array;
// Use this for initialization
void Start() {
}
// Update is called once per frame
void Update() {
}
... |
JSFrameworkGenerator/Services/CompanyGenerator.cs | waf/js-framework-generator | 3 | 7028409 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace StandaloneApp.JSFrameworkGenerator.Services
{
public class CompanyGenerator
{
private readonly MarkovGenerator companyGenerator;
public CompanyGenerator(IReadOnlyCollection<string> compa... |
coreservices/invitation/src/CatenaX.NetworkServices.Invitation.Service/Startup.cs | AsafCX/tractusx | 9 | 7028410 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CatenaX.NetworkServices.Mailing.SendMail;
using CatenaX.NetworkServices.Mailing.Template;
using CatenaX.NetworkServices.Invitation.Identity;
using CatenaX.NetworkServices.Invitation.Identity.Identity;
... |
cricarba.RememberMe.bot/Implementations/ReminderValidate.cs | cricarba/rememberitBot | 0 | 7028411 | <filename>cricarba.RememberMe.bot/Implementations/ReminderValidate.cs
using cricarba.RememberMe.bot.Domain;
using cricarba.RememberMe.bot.Implementations.Validates;
using cricarba.RememberMe.bot.Interfaces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tas... |
Source/Assembly-CSharp/TaskDataMap.cs | Shadowrabbit/BigBiaDecompilation | 1 | 7028412 | using System;
using System.Collections.Generic;
using UnityEngine;
public class TaskDataMap
{
[SerializeField]
public List<TaskData> Tasks { get; set; }
public TaskData getTaskDataByModID(string modId)
{
foreach (TaskData taskData in this.Tasks)
{
if (taskData.ModID.Equals(modId))
{
return taskData... |
AutoRegularInspection/MainWindow/MainWindow.GenerateDamageStatisticsTable.xaml.cs | zjkl19/AutoRegularInspection | 3 | 7028413 | <gh_stars>1-10
using AutoRegularInspection.Models;
using AutoRegularInspection.Services;
using OfficeOpenXml;
using System;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Windows;
namespace AutoRegularInspection
{
public partial class MainWindow : ... |
src/Services/Ordering/Ordering.Domain/AggregatesModel/OrderAggregate/IOrderRepository.cs | XpiritBV/eShopOnContainers | 0 | 7028415 | <reponame>XpiritBV/eShopOnContainers<filename>src/Services/Ordering/Ordering.Domain/AggregatesModel/OrderAggregate/IOrderRepository.cs
using Microsoft.eShopOnContainers.Services.Ordering.Domain.Seedwork;
namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.AggregatesModel.OrderAggregate
{
//This is just... |
sources/AssemblyVisualizer/Controls/PopupNonTopmost.cs | saeidmh83/AssemblyVisualizer | 4 | 7028416 | <gh_stars>1-10
// Adopted, originally created by <NAME>
// This code is distributed under Microsoft Public License
// (for details please see \docs\Ms-PL)
using System;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Interop;
using System.Windows.Media.Animation;
namespace AssemblyV... |
RulerMath/RulerMath32.cs | LIB53/Grid-Math | 8 | 7028417 | /*
RulerMath32
————————————————————————————————————————————————————————————————————
32-bit, coordinate based, grid hashing and hash introspection
library.
'3D Tick Mark Hash' and 'Tick Mark Hash' uniquely identify discrete
regions, or "cells", of a grid.
Author: <NAME>
Version: 1.0.... |
src/modules/imageresizer/ui/Models/ResizeFit.cs | tameemzabalawi/PowerToys | 76,518 | 7028418 | // Copyright (c) <NAME>
// The Brice Lambson licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information. Code forked from Brice Lambson's https://github.com/bricelam/ImageResizer/
namespace ImageResizer.Models
{
public enum ResizeFit
{
Fi... |
Assets/JCSUnity/Scripts/Effects/2D/JCS_2DPushLiveObject.cs | mike316mike316/JCSUnity_Framework | 56 | 7028419 | <filename>Assets/JCSUnity/Scripts/Effects/2D/JCS_2DPushLiveObject.cs
/**
* $File: JCS_2DPushLiveObject.cs $
* $Date: $
* $Revision: $
* $Creator: <NAME> $
* $Notice: See LICENSE.txt for modification and distribution information
* Copyright (c) 2016 by <NAME> $
*/
using UnityEngine;
namespa... |
Unity/Assets/Hotfix/GameGather/Common/Module/UI/BaseView.cs | dingxing123/fivestar | 121 | 7028420 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ETModel;
using UnityEngine;
namespace ETHotfix
{
public class BaseView : InitBaseItem
{
protected ReferenceCollector rc;
public override void Init(GameObject go)
... |
ARMeilleure/Decoders/IOpCodeLit.cs | BSoDGamingYT/Ryujinx | 11,580 | 7028421 | <gh_stars>1000+
namespace ARMeilleure.Decoders
{
interface IOpCodeLit : IOpCode
{
int Rt { get; }
long Immediate { get; }
int Size { get; }
bool Signed { get; }
bool Prefetch { get; }
}
} |
sources/Dot.Demo/Objects/NorthRoad.cs | lastunicorn/Dot | 0 | 7028422 | <gh_stars>0
using System.Collections;
using DustInTheWind.Dot.AdventureGame.ActionResults;
using DustInTheWind.Dot.AdventureGame.ObjectModel;
using DustInTheWind.Dot.Domain.AudioTextModel;
namespace DustInTheWind.Dot.Demo.Objects
{
internal class NorthRoad : ObjectBase, IExitWay
{
public override stri... |
src/Akka.Persistence.EventStore/LegacyEventAdapter.cs | ismaelhamed/Akka.Persistence.EventStore | 10 | 7028423 | <reponame>ismaelhamed/Akka.Persistence.EventStore
using Akka.Actor;
using EventStore.ClientAPI;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Reflection;
using System.Text;
namespace Akka.Persistence.EventStore
{
/// <summary>
/// Preserves behavior pre-1.4. This adapter does ... |
src/Microsoft.DotNet.Interactive.Jupyter.Tests/TextSocket.cs | funkrider/interactive | 1,712 | 7028424 | <filename>src/Microsoft.DotNet.Interactive.Jupyter.Tests/TextSocket.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Text;
using NetMQ;
namespace Microsoft.DotNet... |
src/GameEstate.Abstract/Explorer/ViewModel/ExplorerItemNode.cs | smorey2/GameEstate | 0 | 7028426 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace GameEstate.Explorer.ViewModel
{
[DebuggerDisplay("{Name}, items: {Items.Count}")]
public class ExplorerItemNode
{
[DebuggerDisplay("{Name}")]
public class Filter
... |
src/Infrastructure/Services/PageProviders/PageManager.cs | Smahdie/Blog | 0 | 7028427 | <filename>src/Infrastructure/Services/PageProviders/PageManager.cs
using Core.Dtos.CommonDtos;
using Core.Dtos.PageDtos;
using Core.Dtos.Settings;
using Core.FilterAttributes;
using Core.Helpers;
using Core.Interfaces.PageProviders;
using Core.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Opt... |
Sharpnado.Presentation.Forms.Droid/Effects/AndroidTapCommandEffect.cs | TingtingAn/Sharpnado.Presentation.Forms | 1 | 7028428 | // https://github.com/mrxten/XamEffects/blob/master/src/XamEffects.Droid/CommandsPlatform.cs
//
// 4502b59 on 26 Dec 2017
// @mrxten mrxten Updated for xf 2.5
// This will exclude this file from stylecop analysis
// <auto-generated/>
using System;
using System.Threading.Tasks;
using Android.Widget;
using Sharpnado.P... |
src/Io/Autometa/Redis/RedisOptions.cs | erinpentecost/io.autometa.lobby | 6 | 7028429 | using System;
using System.IO;
using System.Net.Sockets;
using Microsoft.Extensions.Logging;
namespace Io.Autometa.Redis
{
/// <summary>
/// Connection options to use when creating a new connection to Redis.
/// Unlike the stackexchange implementation, initialization is very lightweight.
/// </summary>... |
Plugins/iHRTF.cs | EEEDSPLab/iHRTF-Spatializer | 0 | 7028430 | using UnityEngine;
using System;
using System.Collections;
using System.Runtime.InteropServices;
public class iHRTF : MonoBehaviour
{
[DllImport("iHRTF-Spatializer")]
public static extern int iHRTF_loadSOFA(string path);
[DllImport("iHRTF-Spatializer")]
public static extern void iHRTF_selectSOFA(int... |
Assets/Common/Code/Scripts/DatastoreScript.cs | TAPeri/WordsMatter | 0 | 7028431 | /*
* Copyright (c) 2015, iLearnRW. Licensed under Modified BSD Licence. See licence.txt for details.
*/
using UnityEngine;
using System.Collections.Generic;
public class DatastoreScript : MonoBehaviour
{
Dictionary<string,System.Object> store = new Dictionary<string, object>();
public bool containsData(string ... |
Ibarra.MarsRover/Commands/Parser/CommandParser.cs | pengii23/MarsRover | 0 | 7028432 | using System;
using System.Collections.Generic;
using System.Linq;
using Ibarra.MarsRover.Navigation;
namespace Ibarra.MarsRover.Commands.Parser {
/// <inheritdoc />
public class CommandParser : ICommandParser {
private readonly IDictionary<CommandChainType, Func<string, IExplorerCommand>> _commandCha... |
SharpIrcBot/Chunks/TextMessageChunk.cs | RavuAlHemio/SharpIrcBot | 8 | 7028433 | using JetBrains.Annotations;
namespace SharpIrcBot.Chunks
{
/// <summary>
/// A text-only message chunk.
/// </summary>
public class TextMessageChunk : IMessageChunk
{
[NotNull]
public string Text { get; }
public TextMessageChunk([NotNull] string text)
{
... |
Xunit.Extensions.Tests/Startup.cs | ku3mich/XUnit.Extensions | 0 | 7028434 | // Copyright (C) 2020 <NAME> (<EMAIL>)
// Licensed under the terms of the MIT license. See LICENCE for details.
using Microsoft.Extensions.Hosting;
using Xunit.Extensions.Essentials;
namespace Xunit.Extensions.Tests
{
public class Startup
{
public void ConfigureHost(IHostBuilder hostBuilder... |
Lombiq.Tests.UI.Samples/Tests/AccessibilityTest.cs | Finitive-LLC/UI-Testing-Toolbox | 0 | 7028435 | using Lombiq.Tests.UI.Attributes;
using Lombiq.Tests.UI.Extensions;
using Lombiq.Tests.UI.Services;
using System.Threading.Tasks;
using Xunit;
using Xunit.Abstractions;
namespace Lombiq.Tests.UI.Samples.Tests
{
// Here we'll see how to check some web accessibility rules. Keeping our app accessible helps people wit... |
Northwind.Application/Rooms/Commands/CreateRoom/CreateRoomCommandHandler.cs | KarolinaPiskadlo/PatronageZadanie3 | 0 | 7028436 | <reponame>KarolinaPiskadlo/PatronageZadanie3
using AutoMapper;
using MediatR;
using Northwind.Application.Rooms.Models;
using Northwind.Application.Rooms.Services;
using Northwind.Domain.Entities;
using Northwind.Persistence;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Northwind.Appl... |
src/Agents.Net.Designer.FileSystem/Agents/FileSystemAgent.cs | agents-net/agents.net.designer | 0 | 7028437 | <gh_stars>0
#region Copyright
// Copyright (c) <NAME> and contributors
// This file is licensed under MIT
#endregion
using System;
using System.IO;
using System.Runtime.ExceptionServices;
using Agents.Net.Designer.FileSystem.Messages;
namespace Agents.Net.Designer.FileSystem.Agents
{
[Produces(typeo... |
Cpix/ContentKeyResolveAmbiguityException.cs | Heronyme/cpix | 14 | 7028438 | using System;
namespace Axinom.Cpix
{
/// <summary>
/// Thrown when resolving a content key for a content key context results in ambiguity.
/// </summary>
[Serializable]
public class ContentKeyResolveAmbiguityException : ContentKeyResolveException
{
public ContentKeyResolveAmbiguityException() { }
public Co... |
Plugins/Vizql/Models/Events/Compute/VizqlComputeXAxisDescriptor.cs | jdomingu/Logshark | 1 | 7028439 | <reponame>jdomingu/Logshark<gh_stars>1-10
using Logshark.PluginLib.Helpers;
using MongoDB.Bson;
namespace Logshark.Plugins.Vizql.Models.Events.Compute
{
public class VizqlComputeXAxisDescriptor : VizqlEvent
{
public double Elapsed { get; set; }
public VizqlComputeXAxisDescriptor() { }
... |
UI/EIP.Web/Areas/Workflow/Views/Form/Edit.cshtml | woshisunzewei/EIP | 9 | 7028440 | @using EIP.Common.Entities.Dtos
@using EIP.Web.DataUsers.Helpers
@{
ViewBag.Title = "表单基本信息";
ViewBag.Require = "workflow-form-edit";
Layout = "~/Views/Shared/_LayoutPageEditSubmit.cshtml";
}
@model EIP.Workflow.Models.Entities.WorkflowForm
@Html.EditTopRemark(new EditTopRemarkInput
{
Title = "请填写配置信息... |
Assets/Scripts/TomatoKiller.cs | Niark-Jamers/Paint-Jam-2021 | 0 | 7028441 | <reponame>Niark-Jamers/Paint-Jam-2021
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TomatoKiller : MonoBehaviour
{
private void OnTriggerEnter2D(Collider2D other) {
if (other.tag == "TomatoNinja")
Destroy(other.gameObject);
}
}
|
sources/Google.Solutions.IapDesktop.Application/Services/SecureConnect/ChromePolicyUrlPattern.cs | tonisolikin/iap-desktop | 24 | 7028442 | <gh_stars>10-100
//
// Copyright 2021 Google LLC
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Ap... |
TestGrain/IAdderGrain.cs | MV10/OrleansHostedClientService | 1 | 7028443 | using Orleans;
using System.Threading.Tasks;
namespace TestGrain
{
public interface IAdderGrain : IGrainWithIntegerKey
{
Task<int> Add(int value1, int value2);
}
}
|
src/Apis/Info/Api.cs | boulix3/avalanchedotnet | 0 | 7028444 | <reponame>boulix3/avalanchedotnet
using AvalancheDotNet.Common;
using AvalancheDotNet.Common.Records;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
na... |
src/Prodigy.Logging/Extensions/HttpContextExtensions.cs | mr0fka/HoneyComb | 3 | 7028445 | using System;
using System.Linq;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Primitives;
namespace Prodigy.Logging
{
public static class HttpContextExtensions
{
public static string GetHeaderValue(this HttpContext httpContext, string headerName)
{
if (htt... |
aspnet/DevUrlRewrite.cs | TikiBIll/dotnet-hints | 0 | 7028446 | <gh_stars>0
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using System.Text.RegularExpressions;
namespace Http.Extensions
{
public static class DevUrlRewriteExtensions
{
/// <summary>
/// Looks for /DEV/ a... |
PandemicWeb/Assets/Scripts/AnimationScripts/AscendingAnimationScript.cs | BlopaSc/PAIndemic | 5 | 7028447 | <filename>PandemicWeb/Assets/Scripts/AnimationScripts/AscendingAnimationScript.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AscendingAnimationScript : MonoBehaviour
{
private static readonly float ascend = 1f;
private Vector3 position;
private float tStar... |
src/Cometary.Expressions/Internal/Utils.cs | 71/Cometary | 20 | 7028448 | <reponame>71/Cometary
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Runtime.CompilerServices;
namespace Cometary.Expressions
{
internal static class Utils
{
internal static IEnumerable<MemberInfo> GetMembers(this... |
samples/Clients/src/SampleApi/Startup.cs | guanglu-kim/identityserver4-doc | 1 | 7028449 | using Clients;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.IdentityModel.Tokens.Jwt;
using System.Threading.Tasks;
namespace SampleApi
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
... |
Client/ChatClient/ChatClient/frmQuickConnect.Designer.cs | Marc2009/C-Sharp-Chat-Programm | 5 | 7028450 | namespace ChatClient
{
partial class frmQuickConnect
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
//... |
Sledge.Graphics/Arrays/ArrayIndex.cs | tohateam/SledgeEditorRu | 1 | 7028451 | <filename>Sledge.Graphics/Arrays/ArrayIndex.cs
using System;
using OpenTK.Graphics.OpenGL;
namespace Sledge.Graphics.Arrays
{
/// <summary>
/// An array index is a point within an array specification.
/// It defines the name (for display purposes), type, length, size, and offset of an array data point.
... |
Templates/C#-Full-Ded/WinterLeaf.Demo.Full.Dedicated/Models.Base/GuiInspectorField_Base.cs | RichardRanft/OmniEngine.Net | 1 | 7028452 |
#region
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WinterLeaf.Engine;
using WinterLeaf.Engine.Classes;
using WinterLeaf.Engine.Containers;
using WinterLeaf.Engine.Enums;
using System.ComponentModel;
using System.Threading;
using WinterLeaf.Engine.Classe... |
src/Pages/Settings/GeneralSubPage.xaml.cs | AdisonCavani/RSA-WPF | 2 | 7028453 | <filename>src/Pages/Settings/GeneralSubPage.xaml.cs<gh_stars>1-10
using System.Diagnostics;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
namespace RSA_WPF.Pages.Settings
{
/// <summary>
/// Interaction logic for GeneralSubPage.xaml
/// </summary>
public partial clas... |
XamarinTriggers/MainPage.xaml.cs | jorgediegocrespo/XamarinTriggers | 0 | 7028454 | <reponame>jorgediegocrespo/XamarinTriggers
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using Xamarin.Forms;
namespace XamarinTriggers
{
public partial class MainPage : ContentPage, INotifyPropertyChanged
{
private string _name;
private string _surname;... |
Programming Fundamentals C#/5.Array And List Algorithms-Exercices/Average Character Delimiter/Program.cs | MiraNedeva/SoftUni | 0 | 7028455 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/* You will receive an array of strings as input. Your task is to find the average character within every string in the array. As in,
take every character’s ASCII code, sum it and divide th... |
Source/SeasonUtility_Patch.cs | feynmanliang/RimThreaded | 97 | 7028456 | using System;
using System.Collections.Generic;
using RimWorld;
using Verse;
namespace RimThreaded
{
public class SeasonUtility_Patch
{
internal static void RunDestructivePatches()
{
Type original = typeof(SeasonUtility);
Type patched = typeof(SeasonUtility_Patch);
... |
eBordo.Model/Requests/Trener/TrenerUpdateRequest.cs | harispandzic/eBordo-desktop-mobile | 0 | 7028458 | <gh_stars>0
using eBordo.Model.Requests.Korisnik;
using eBordo.Model.Requests.Ugovor;
using System;
using System.Collections.Generic;
using System.Text;
namespace eBordo.Model.Requests.Trener
{
public class TrenerUpdateRequest
{
public KorisnikUpdateRequest korisnikUpdateRequest { get; set; }
... |
app/NHtmlUnit/Generated/Html/HtmlSection.cs | JonAnders/NHtmlUnit | 0 | 7028459 | <filename>app/NHtmlUnit/Generated/Html/HtmlSection.cs
// Generated class v2.19.0.0, don't modify
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
namespace NHtmlUnit.Html
{
public partial class HtmlSection : NHtmlUnit.Html.HtmlEle... |
Gwen.Renderer.OpenTK/OpenTKGL40.cs | phinoox/Gwen.CS | 0 | 7028460 | using System;
using System.Runtime.InteropServices;
using OpenTK.Graphics.OpenGL;
namespace Gwen.Renderer.OpenTK{
public class OpenTKGL40 : OpenTKBase
{
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct Vertex
{
public float x, y;
public float u, v;
public float r, g, b, a;
}
private... |
UAlive/Definitions/Constructors.cs | Tanner555/UAlive | 1 | 7028461 | using System.Collections.Generic;
using System;
using System.Linq;
namespace Lasm.UAlive
{
[Serializable]
public class Constructors : List<Constructor>
{
public Constructor GetConstructor(string name)
{
return this.Where((constructor) => { return constructor.name == name; }).Si... |
Standard/essentialMix.Cryptography/Hash/SHA256.cs | asm2025/essentialMix | 1 | 7028462 | using System.Security.Cryptography;
using System.Text;
using JetBrains.Annotations;
namespace essentialMix.Cryptography.Hash;
public abstract class SHA256<T> : HashAlgorithmBase<T>
where T : System.Security.Cryptography.SHA256
{
protected SHA256([NotNull] T algorithm)
: base(algorithm)
{
}
protected SHA256([N... |
src/SapCo2/SapCo2/ReadBapi.cs | harunemre/SapCo2 | 2 | 7028463 | <reponame>harunemre/SapCo2
using SapCo2.Abstract;
using SapCo2.Core.Abstract;
using SapCo2.Extensions;
using SapCo2.Wrapper.Abstract;
namespace SapCo2
{
public sealed class ReadBapi<T> : RfcFunctionBase, IReadBapi<T> where T:IRfcBapiOutput
{
public ReadBapi(IRfcInterop interop) : base(interop)
... |
ExtendedWPFToolkitSolution_35/Src/Xceed.Wpf.Toolkit/TimelinePanel/Implementation/DateElement.cs | zxyacb/wpftoolkit | 10 | 7028464 | /*************************************************************************************
Extended WPF Toolkit
Copyright (C) 2007-2013 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http://wpftoolkit.codeplex.com/license
... |
TimeCat.Core/TimeCat.Core/Driver/Windows/Common/EnvironmentSupport.cs | LiteHell/TimeCat | 22 | 7028465 | <filename>TimeCat.Core/TimeCat.Core/Driver/Windows/Common/EnvironmentSupport.cs<gh_stars>10-100
using System.IO;
namespace TimeCat.Core.Driver.Windows.Common
{
public static class EnvironmentSupport
{
const string cacheDir = "Cache";
static readonly string _storage = $@"{System.Environment.Ge... |
ICSharpCode.AvalonEdit/Xml/TrackedSegmentCollection.cs | Kiho/mongo-edi | 0 | 7028466 | <filename>ICSharpCode.AvalonEdit/Xml/TrackedSegmentCollection.cs
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Collections.Generic;
using Sy... |
SalesTracker/Models/Book.cs | Sara-Hamilton/SalesTracker | 0 | 7028467 | <reponame>Sara-Hamilton/SalesTracker
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace SalesTracker.Models
{
[Table("Books")]
public class Book
{
... |
SimpleReport.Model/Helpers/DetailReportUrlHelper.cs | tronelius/simplereport | 1 | 7028468 | <reponame>tronelius/simplereport<gh_stars>1-10
using System;
using System.Web;
namespace SimpleReport.Model.Helpers
{
public static class DetailReportUrlHelper
{
public static string GetUrl(Report report, Report detailReport, string[] headers, string[] r)
{
//Home/Report?reportId=c... |
Project 0/Assets/Addons/LightingBox2/Scripts/LB_CheckforUpdates.cs | TheWickedKraken/ESS_Project-0 | 1 | 7028469 | <filename>Project 0/Assets/Addons/LightingBox2/Scripts/LB_CheckforUpdates.cs
// <EMAIL>/
// Lighting Box is an "paid" asset. Don't share it for free
#if UNITY_EDITOR
using UnityEngine;
using System.Collections;
using UnityEditor;
using SharpConfig;
[ExecuteInEditMode]
public class LB_CheckforUpdates : EditorW... |
Construct3/Construct3/Construct.UX.Views.Visualizations/LoadVisualizationDialog.xaml.cs | dgerding/Construct | 0 | 7028470 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windo... |
SCP_ET.API/Events/EventsArgs/PlayerPreJoinEvent.cs | SCPET/SCP_ET_Plugin_Framework | 0 | 7028471 | <reponame>SCPET/SCP_ET_Plugin_Framework<gh_stars>0
using SCP_ET.API.Classes;
using System;
namespace SCP_ET.API.Events.EventsArgs
{
public class PlayerPreJoinEvent : EventArgs
{
public Player Player { get; set; }
}
}
|
Mantis/Mantis/Tests/RemoveProjectTests.cs | ElenaSadovskaya/c-_test | 0 | 7028472 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using System.IO;
namespace Mantis
{
[TestFixture]
public class RemoveProjectTests : AuthTestBase
{
[Test]
public void RemoveProjectTest()
{
... |
Unicord.Universal/Converters/TruncateConverter.cs | WamWooWam/Unicord | 106 | 7028473 | using System;
using Windows.UI.Xaml.Data;
namespace Unicord.Universal.Converters
{
class TruncateConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, string language)
{
if (value is string str)
{
return str... |
src/System.Web.Mvc/Html/DefaultEditorTemplates.cs | Icenium/aspnetwebstack | 0 | 7028475 | <reponame>Icenium/aspnetwebstack
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Data.Linq;
using System.Drawing;
using System.Globalization;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.