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 |
|---|---|---|---|---|
WABA360Dialog.NET/ApiClient/Payloads/Models/WebhookObjects/WebhookButtonReplyObject.cs | yuenkik6/360Dialog.NET | 5 | 7040660 | <reponame>yuenkik6/360Dialog.NET<filename>WABA360Dialog.NET/ApiClient/Payloads/Models/WebhookObjects/WebhookButtonReplyObject.cs
using Newtonsoft.Json;
namespace WABA360Dialog.ApiClient.Payloads.Models.WebhookObjects
{
public class WebhookButtonReplyObject
{
[JsonProperty("id")]
public string ... |
sources/shaders/Stride.Core.Shaders/Ast/IronyBrowsableNode.cs | hjred/stride | 2,251 | 7040661 | // 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;
using System... |
StudioCore/MsbEditor/NavmeshEditor.cs | Philiquaz/DSMapStudio | 0 | 7040662 | using System;
using System.Collections.Generic;
using System.Text;
using System.Numerics;
using ImGuiNET;
namespace StudioCore.MsbEditor
{
/// <summary>
/// Editor used to bake new navmeshes for cols
/// </summary>
public class NavmeshEditor
{
private Scene.RenderScene Scene;
priva... |
WalksInNature.Test/Routing/InsurancesControllerTest.cs | irenamikovska/MyWebProject | 0 | 7040663 | <filename>WalksInNature.Test/Routing/InsurancesControllerTest.cs
using MyTested.AspNetCore.Mvc;
using Xunit;
using WalksInNature.Controllers;
using WalksInNature.Models.Insurances;
namespace WalksInNature.Test.Routing
{
public class InsurancesControllerTest
{
[Fact]
public void GetMyI... |
tests/DependabotHelper.Tests/Builders/ResponseBuilder.cs | martincostello/dependabot-helper | 3 | 7040664 | // Copyright (c) <NAME>, 2022. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
using System.Security.Cryptography;
namespace MartinCostello.DependabotHelper.Builders;
public abstract class ResponseBuilder
{
public int Id { get... |
SoundCloudLists/SoundCloudLists/API/ISoundCloudAPIConstants.cs | gregJOE/SoundCloudLists | 0 | 7040665 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SoundCloudLists.API
{
public interface ISoundCloudAPIConstants
{
//Dictionary<string, Action> SoundCloudCommands;
}
} |
SignalRLiveGrid/Migrations/20200623070822_Init.Designer.cs | mohsenRi/Live-Grid-With-Asp.net-Core-2.2-SignalR | 0 | 7040666 | <gh_stars>0
// <auto-generated />
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using SignalRLiveGrid.Data;
namespace Si... |
MethodBoundaryAspect.Fody/InstructionBlockCreator.cs | piRepos/MethodBoundaryAspect.Fody | 0 | 7040667 | using System;
using System.Collections.Generic;
using System.Linq;
using Mono.Cecil;
using Mono.Cecil.Cil;
using Mono.Cecil.Rocks;
namespace MethodBoundaryAspect.Fody
{
public class InstructionBlockCreator
{
private const string VoidType = "Void";
private readonly MethodDefinition _method;
... |
src/MicroHttpd.Core/RollbackableStream.cs | nam178/MicroHttpd | 7 | 7040668 | <filename>src/MicroHttpd.Core/RollbackableStream.cs
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace MicroHttpd.Core
{
/// <summary>
/// When reading HTTP headers,
/// we don't know exactly when the header ends, and usually read
/// more than the actual length of the... |
TipsTrade-HMRC/Api/Model/Attributes/GovTestScenarioAttribute.cs | tipstrade/TipsTrade-HMRC | 0 | 7040669 | <filename>TipsTrade-HMRC/Api/Model/Attributes/GovTestScenarioAttribute.cs
using System;
namespace TipsTrade.HMRC.Api.Model.Attributes {
/// <summary>Represents an attribute that indicates that the field is a Gov Test Scenario.</summary>
[AttributeUsage(AttributeTargets.Field)]
public class GovTestScenarioAttrib... |
DemoApp.Infrastructure/Identity/IIdentityService.cs | Lasanga/JWTDemo | 0 | 7040670 | <filename>DemoApp.Infrastructure/Identity/IIdentityService.cs
using DemoApp.Infrastructure.Identity.Dtos;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace DemoApp.Infrastructure.Identity
{
public interface IIdentityService
{
Task<LoginResponseD... |
tests/NuGet.Tests/ProjectUsingTheNuGet/NuGetTestDefinition.cs | jshield/sharpliner | 0 | 7040671 | <filename>tests/NuGet.Tests/ProjectUsingTheNuGet/NuGetTestDefinition.cs
using System.IO;
using Sharpliner;
using Sharpliner.AzureDevOps;
using Sharpliner.AzureDevOps.Tasks;
namespace Tests.NuGetWithBasePipeline;
// These NuGet.Tests are E2E testing following scenario:
// 1. We create a "library" project with an arbit... |
ButorRevolutionWebAPI/src/backend/sales/IFPS.Sales.Application/Dto/Languages/LanguageListDto.cs | encosoftware/ifps | 0 | 7040672 | <gh_stars>0
using ENCO.DDD.Domain.Model.Enums;
namespace IFPS.Sales.Application.Dto
{
public class LanguageListDto
{
public LanguageTypeEnum LanguageType { get; set; }
public string Translation { get; set; }
}
}
|
CSharp/09_CreatingAndUsingObjectsExercise/DateModifier/Date.cs | VeselinovStf/Telerik_Alpha_NET_Prep | 0 | 7040673 | <filename>CSharp/09_CreatingAndUsingObjectsExercise/DateModifier/Date.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
namespace DateModifier
{
public class Date
{
public static void DateModifier(string dateOne, string dateTwo)
{
var ... |
acroyoga.it.admin/Controllers/PicturesController.cs | mcampulla/acroyoga | 0 | 7040674 | using acroyoga.it.admin.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Cors;
using System.Web.OData;
namespace acroyoga.it.admin.Controllers
{
[EnableCors(origins: "*", headers: "*", methods: "*")]
... |
EsentCollections/KeyRange.cs | robertmuehsig/ManagedEsent | 83 | 7040675 | <filename>EsentCollections/KeyRange.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="KeyRange.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation.
// </copyright>
// <summary>
// Code that repr... |
src/Generators/ILanguageGenerator.cs | hypar-io/IFC-gen | 78 | 7040676 | using Express;
using System.Collections.Generic;
namespace IFC4.Generators
{
/// <summary>
/// ILanguageGenerator provides the interface for classes which
/// are used to generate source code from various data classes corresponding
/// to types used in the IFC schema.
/// </summary>
public inte... |
src/ProstoA.Documents.Xlsx/Generators/WorkbookPartGenerator.cs | ProstoA/Core | 0 | 7040677 | using System.Linq;
using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Spreadsheet;
using ProstoA.Documents.Xlsx.Model;
using ProstoA.Common;
namespace ProstoA.Documents.Xlsx.Generators {
internal sealed class WorkbookPartGenerator {
public WorkbookPart Do(S... |
Public/Src/Cache/ContentStore/Test/Synchronization/SingleInstanceTests.cs | miniksa/BuildXL | 448 | 7040678 | <gh_stars>100-1000
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Linq;
using System.Threading.Tasks;
using BuildXL.Cache.ContentStore.Interfaces.FileSystem;
using BuildXL.Cache.ContentStore.Interfaces.Logging;
using BuildXL.Cache.ContentStore.Interfaces.S... |
CW2/Library/PackageCache/com.unity.burst@1.6.4/Tests/Runtime/Shared/MonoOnlyAttribute.cs | JZ76/Bad-Mutha-Truckers | 7 | 7040679 | <filename>CW2/Library/PackageCache/com.unity.burst@1.6.4/Tests/Runtime/Shared/MonoOnlyAttribute.cs
using System;
namespace Burst.Compiler.IL.Tests
{
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false)]
#if BURST_INTERNAL
public
#else
internal
#endif
class MonoOnlyAttribute : Attribute
{... |
mockup/Controllers/PersonsController.cs | simonmika/WebApiTester | 0 | 7040680 | <filename>mockup/Controllers/PersonsController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace Cogneco.WebApiTester.Mockup.Controllers
{
[Route("api/[controller]")]
[ApiController()]
public class PersonsController : Contro... |
ui/Models/Forms/FormDiaryJournalEntry.cs | fredericodes/diarynote | 1 | 7040681 | <reponame>fredericodes/diarynote
namespace ui.Models.Forms {
public class FormDiaryJournalEntry {
public string Date { get; }
public string Content { get; }
public FormDiaryJournalEntry(string date, string content) {
Date = date;
Content = content;
}
}
} |
src/StripController/StripController/Converters/BooleanToVisibilityConverter.cs | anatoly-kryzhanovsky/Pulsar | 0 | 7040682 | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
namespace StripController.Converters
{
public class BooleanToVisibilityConverter : IValueConverter
{
public Visibility VisibleForTrue { get; set; }
public Visibility VisibleForFalse { get; set; }
... |
src/Redwood.Framework/Hosting/IMarkupFileLoader.cs | exyi/redwood | 4 | 7040683 | using System;
using System.Collections.Generic;
using System.Linq;
using Redwood.Framework.Configuration;
namespace Redwood.Framework.Hosting
{
public interface IMarkupFileLoader
{
/// <summary>
/// Gets the markup file from the current request URL.
/// </summary>
MarkupFile G... |
Source/Hypermedia.Client.Extensions/SystemTextJson/SystemTextJsonStringParser.cs | bluehands/WebApiHypermediaExtensions | 20 | 7040684 | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.Json;
using System.Threading.Tasks;
using Bluehands.Hypermedia.Client.Reader;
namespace Bluehands.Hypermedia.Client.Extensions.SystemTextJson
{
public class SystemTextJsonStringParser : ... |
test/NuGet.Core.FuncTests/NuGet.Packaging.FuncTest/SigningTests/RepositoryCountersignatureTests.cs | carpnick/NuGet.Client | 4 | 7040685 | <reponame>carpnick/NuGet.Client<filename>test/NuGet.Core.FuncTests/NuGet.Packaging.FuncTest/SigningTests/RepositoryCountersignatureTests.cs
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#if IS_DESKT... |
F_CadConvenio.cs | JulioAlgouver/MyAcademy | 0 | 7040686 | <reponame>JulioAlgouver/MyAcademy
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MyAcademy
{
public partial class F_CadConvenio : Form
... |
src/Common/src/Internal/Runtime/TypeManagerHandle.RVA.cs | lambdageek/corert | 9 | 7040687 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;... |
Httwrap/HttwrapException.cs | ziyasal/Httwrap | 44 | 7040688 | using System;
using System.Net;
namespace Httwrap
{
public class HttwrapException : Exception
{
public HttwrapException(string message, Exception innerException)
: base(message, innerException)
{
}
public HttwrapException(string message)
: base(message)... |
EditorControls/FindControl.xaml.cs | DPS2004/quest | 282 | 7040689 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windo... |
Peppol.NETCoreLib/publisher/syntax/SyntaxPublisher.cs | BartVertongen/Peppol.NETCoreLib | 2 | 7040690 |
using System;
using System.Xml;
using System.Xml.Serialization;
using VertSoft.Peppol.Publisher.Api;
using VertSoft.Peppol.Publisher.Model;
namespace VertSoft.Peppol.Publisher.Syntax
{
/// <summary>
/// Maps XML TO/FROM an Object
/// </summary>
public abstract class SyntaxPublisher : IPublisherSyntax
{
public... |
src/DAL/Migrations/20220210205435_OrderMigration.Designer.cs | mustaphash/EShop | 0 | 7040691 | // <auto-generated />
using System;
using DAL;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespac... |
sdk/dotnet/ECS/Outputs/TaskDefinitionHealthCheck.cs | AaronFriel/pulumi-aws-native | 29 | 7040692 | // *** 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.Serialization;
namespace Pulumi.AwsN... |
Assets/Scripts/EncounterGenerator/EncounterManager.cs | MatousK/ThesisQuest | 0 | 7040693 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using Assets.Scripts.Analytics;
using Assets.Scripts.Combat;
using Assets.Scripts.DungeonGenerator;
using Assets.Scripts.EncounterGenerator.Algorithm;
using Assets.Scripts.EncounterGenerator.Configuration;
using Assets.Scripts.EncounterGene... |
ParkingLot/ParkingLot.StateMachine/States/ClosingState.cs | TheIncredibleK/parking-lot | 0 | 7040694 | using System;
using ParkingLot.IO;
using ParkingLot.StateMachine.MessageHandlers;
namespace ParkingLot.StateMachine.States
{
/// <summary>
/// State for when the Gate is in the process of closing
/// </summary>
public class ClosingState : AbstractState
{
public ClosingState()
{
... |
other/Utils/LayerUtil.cs | fqkw6/RewriteFrame | 0 | 7040695 | using Assets.Scripts.Define;
using UnityEngine;
public class LayerUtil
{
public const int MAX_LAYER_COUNT = 32;
private static int LayersCanCollideWithSkillProjectile = 0;
/// <summary>
/// 获取与技能投射物相交的所有层
/// </summary>
/// <returns></returns>
public static int GetLayersIntersectWithSkillProjectile(bool ignor... |
DumbQQ/Helpers/ExtensionMethods.cs | TJYSunset/DumbQQ | 73 | 7040696 | <reponame>TJYSunset/DumbQQ
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text.RegularExpressions;
using DumbQQ.Models.Abstract;
using DumbQQ.Models.Utilities;
using MoreLinq;
using RestSharp;
using SimpleJson;
namespace DumbQQ.Helpers
{
public static class ... |
src/System.Activities/Activity.ReflectedInformation.DictionaryArgumentHelper.cs | wforney/corewf | 0 | 7040697 | <reponame>wforney/corewf
// This file is part of Core WF which is licensed under the MIT license.
// See LICENSE file in the project root for full license information.
namespace System.Activities
{
using System.Collections.Generic;
public abstract partial class Activity
{
internal partial class R... |
src/Core/EverisHire.HireManagement.Application/Features/Recruiters/Queries/GetRecruiterListQueryHandler.cs | makampos/everis-hire | 0 | 7040698 |
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using AutoMapper;
using EverisHire.HireManagement.Application.Contracts.Persistence;
using EverisHire.HireManagement.Domain.Entities;
using MediatR;
namespace EverisHire.HireManagement.Application.Features.Recruiters.Queries
{
... |
Data/iRocks.DataLayer/Entities/TwitterPostDetail.cs | pyDez/SocialFootprintAPI | 0 | 7040699 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
namespace iRocks.DataLayer
{
public class TwitterPostDetail : DapperManagedObject<TwitterPostDetail>, IGetId, IDeeplyCloneable<TwitterPostDetail>
{
public TwitterPostDetail()
... |
source/libs/Common/TypeSystem/IPolymorphicMember.cs | GrapeCity/pagefx | 18 | 7040700 | <reponame>GrapeCity/pagefx
namespace DataDynamics.PageFX.Common.TypeSystem
{
/// <summary>
/// Base interface for polymorphic members (method or property).
/// </summary>
public interface IPolymorphicMember : ITypeMember
{
/// <summary>
/// Idicates whether the member is abtract.
... |
BettingApp.Services.DataServices/CompetitorsService.cs | bMedarski/BettingWebApp | 0 | 7040701 | namespace BettingApp.Services.DataServices
{
using System.Linq;
using System.Threading.Tasks;
using Contracts;
using Data.Common;
using Data.Models;
using Microsoft.EntityFrameworkCore;
using ViewModels.Competitor;
using ViewModels.Season;
public class CompetitorsService:ICompetitorsService
{
private read... |
Assets/uMMORPG/Scripts/_UI/UIDragAndDropable.cs | thoang126/RPG2D-10-6-18-Morning-Working-Saved | 0 | 7040702 | <gh_stars>0
// Drag and Drop support for UI elements. Drag and Drop actions will be sent to
// the local player GameObject.
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
public class UIDragAndDropable : MonoBehaviour , IBeginDragHandler, IDragHandler, IEndDragHandler, IDropHandler
{
// ... |
JanD.Lib/IpcClient.cs | Jan0660/JanD | 3 | 7040703 | using System.Diagnostics.CodeAnalysis;
using System.IO.Pipes;
using System.Text;
using System.Text.Json;
using System.Text.RegularExpressions;
using JanD.Lib.Objects;
namespace JanD.Lib
{
public class IpcClient
{
public const string DefaultPipeName = "jand";
public NamedPipeClientStream Stream... |
src/BLOBi.Core/Models/BlobContainerPropertiesAndBlobList.cs | Cr3ature/BLOBi | 0 | 7040704 | using Azure.Storage.Blobs.Models;
namespace BLOBi.Core.Models
{
public sealed class BlobContainerPropertiesAndBlobList
{
public BlobContainerProperties BlobContainerProperties { get; set; }
public BlobItem[] BlobItems { get; set; }
}
}
|
archive/tests/VolleyManagement.UnitTests/WebApi/ViewModels/PivotStandingsGameViewModelServiceTestFixture.cs | VolleyManagement/volley-management | 10 | 7040705 | <gh_stars>1-10
namespace VolleyManagement.UnitTests.WebApi.ViewModels
{
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using UI.Areas.WebApi.ViewModels.GameReports;
/// <summary>
/// Generates <see cref="PivotStandingsGameViewModel"/> test data for unit tests.
/// </s... |
DevTeam.QueryMappings/src/Mappings/QueryMapping.cs | DevTeamHub/QueryMappings | 7 | 7040706 | using DevTeam.QueryMappings.Base;
using System;
using System.Linq;
namespace DevTeam.QueryMappings.Mappings
{
/// <summary>
/// Describes mapping from one type to another using provided expression and Entity Framework Context that is injected inside of the expression.
/// </summary>
/// <typeparam na... |
src/Starlight.Server/Security/GeneratedPassword.cs | mrseeker/Starlight | 1 | 7040707 | <reponame>mrseeker/Starlight<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace Starlight.Server.Security
{
public class GeneratedPassword
{
public string Salt { get; set; }
public string PasswordHash { get; set; }
public GeneratedPassword(strin... |
src/Workspaces/SharedUtilitiesAndExtensions/Workspace/CSharp/Utilities/NullableHelpers/NullableExtensions.cs | myblindy/roslyn | 8 | 7040708 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
namespace Microsoft.CodeAnalysis
{
internal static partial class NullableExtensions
{
... |
UnitTest.TestBuilder.Core/PropertyCreator.cs | Jacky-Mo/UnitTest.TestBuilder.Core | 1 | 7040711 | <filename>UnitTest.TestBuilder.Core/PropertyCreator.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Linq;
using UnitTest.TestBuilder.Core.Abstracts;
namespace UnitTest.TestBuilder.Core
{
internal class PropertyCreator
{
private readonly IObjectBui... |
src/Merchello.Core/Logging/ILoggerProvider.cs | raindigi/Merchello | 191 | 7040712 | namespace Merchello.Core.Logging
{
using System;
using Umbraco.Core.Services;
/// <summary>
/// Defines a remote logging provider.
/// </summary>
/// <remarks>
/// Allows for developers to wire in external logging services
/// This is designated as a service due to legacy reasons.
... |
BookOrganizer2.IntegrationTests/Helpers/GenreHelpers.cs | SocialParasite/BookOrganizer2 | 0 | 7040713 | using BookOrganizer2.DA.Repositories;
using BookOrganizer2.DA.SqlServer;
using BookOrganizer2.Domain.BookProfile.GenreProfile;
using BookOrganizer2.Domain.Shared;
using System.Threading.Tasks;
using Commands = BookOrganizer2.Domain.BookProfile.GenreProfile.Commands;
namespace BookOrganizer2.IntegrationTests.Helpers
{... |
src/Extensions/ServiceCollectionExtensions.cs | fire-puma/Firepuma.Api.Common | 1 | 7040714 | using System;
using Firepuma.Api.Abstractions.Actor;
using Firepuma.Api.Common.Services;
using Microsoft.Extensions.DependencyInjection;
namespace Firepuma.Api.Common.Extensions
{
public static class ServiceCollectionExtensions
{
public static void AddCachedActorProvider<TActor>(
this IServ... |
RazzleServer.Shop/ShopClient.cs | razfriman/RazzleServer | 25 | 7040715 | using System;
using System.Net.Sockets;
using System.Threading;
using RazzleServer.Common;
using RazzleServer.Common.Util;
using RazzleServer.Data;
using RazzleServer.Game.Maple.Characters;
using RazzleServer.Game.Server;
using RazzleServer.Net.Packet;
using Serilog;
namespace RazzleServer.Shop
{
public class Sho... |
src/projects/DatapatchWrapper/DatapatchBuilder.cs | matei-tm/SSDT-Continuous-Deployment-Project-Template-Helpers | 1 | 7040716 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text.Operations;
namespace DatapatchWra... |
Gymnasie Arbete/Assets/BallGhost.cs | timrundstrom/GyArb | 0 | 7040717 | <filename>Gymnasie Arbete/Assets/BallGhost.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Valve.VR;
using Valve.VR.InteractionSystem;
public class BallGhost : MonoBehaviour
{
MeshRenderer mesh;
public GameObject text;
MeshRenderer textMesh;
public Material ghostmat;
... |
NetScriptTest/NetScriptTest.language.punctuators.cs | MatthewSmit/.netScript | 1 | 7040718 | using Xunit;
namespace NetScriptTest.language
{
public sealed class Test_punctuators : BaseTest
{
[Fact(DisplayName = "/language/punctuators/S7.7_A1.js")]
public void Test_S7_7_A1_js()
{
RunTest("language/punctuators/S7.7_A1.js");
}
[Fact(Display... |
src/MobileApp/XamarinCRM.UITest/Pages/ABSFilamentPage.cs | Li-Yanzhi/app-crm | 451 | 7040720 | <filename>src/MobileApp/XamarinCRM.UITest/Pages/ABSFilamentPage.cs
using Xamarin.UITest;
using Query = System.Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery>;
namespace XamarinCRM.UITest
{
public class ABSFilamentPage : BasePage
{
public ABSFilamentPage(IApp app, Platform platfo... |
src/Novacta.Analytics/Infrastructure/TreeNode.cs | Novacta/analytics | 0 | 7040721 | <reponame>Novacta/analytics<filename>src/Novacta.Analytics/Infrastructure/TreeNode.cs
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Linq;
using System.Collections.Object... |
Rendering2D/Fonts/Font.cs | HLSW/DeltaEngine | 81 | 7040722 | <filename>Rendering2D/Fonts/Font.cs
using System;
using System.Diagnostics;
using System.IO;
using DeltaEngine.Content;
using DeltaEngine.Content.Xml;
using DeltaEngine.Core;
namespace DeltaEngine.Rendering2D.Fonts
{
/// <summary>
/// Holds the image and data for rendering a smoothly drawn font.
/// </s... |
source/RAML.Parser/Mappers/FlowMapper.cs | raml-org/raml-dotnet-parser | 28 | 7040723 | using RAML.Parser.Model;
using RAML.Parser.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
namespace RAML.Parser.Mappers
{
internal class FlowMapper
{
internal static IEnumerable<Flow> Map(IEnumerable<object> flows)
{
if (flows == null)
ret... |
samples/snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.IdentitySection/CS/identitysection.cs | hamarb123/dotnet-api-docs | 421 | 7040724 | <filename>samples/snippets/csharp/VS_Snippets_WebNet/System.Web.Configuration.IdentitySection/CS/identitysection.cs
using System;
using System.Collections;
using System.Collections.Specialized;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Configuration;
using System.Web... |
ViennaAdvantageWeb/ViennaAdvantageWeb/Areas/VIS/Views/ValuePreference/Index.cshtml | eric-erki/ERP-CMR-DMS | 45 | 7040725 | <reponame>eric-erki/ERP-CMR-DMS
<div style="width: 100%; float: left" id="@("fisrt_" + ViewBag.WindowNumber)">
<label class=" VIS_Pref_Label_Font" style="width:15% ;text-align: left;" id="@("vlblAttributeText_" + ViewBag.WindowNumber)">test</label>
<input class="VIS_Pref_pass vis-gc-vpanel-table-readOnly" st... |
ScharlachTravis_P03/Assets/Scripts/MarioController.cs | SquireTilde/SMS-dive | 0 | 7040726 | <reponame>SquireTilde/SMS-dive<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MarioController : MonoBehaviour
{
private MarioInput _input = null;
private MarioMotor _motor = null;
private GroundDetector _grndDet = null;
[SerializeField] private B... |
Data/Templates/GenericArticle.cs | qkmaxware/RpgNotes.Desktop | 0 | 7040727 | namespace RpgNotes.Desktop.Data.Templates {
public class GenericArticle : IArticleTemplate {
public string TemplateName() => "Generic";
public string TemplateHint() => "general purpose articles";
public Image TemplateIcon() => new Image { WebPath="static/images/icons/article.logo.svg" };
public Articl... |
languages.cshtml | letsbelopez/asp.net-snippets | 0 | 7040728 | <filename>languages.cshtml
@{
Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
ViewBag.Title = "Angular";
}
<div class="content-heading">
<div class="pull-right">
<div class="btn-group">
<button type="button" data-toggle="dropdown" class="btn btn-default">English</button>
<ul... |
src/FastEnum/FastEnum.cs | ikihiki/FastEnum | 0 | 7040729 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using FastEnumUtility.Internals;
namespace FastEnumUtility
{
/// <summary>
/// Provides high performance utilitis for enum type.
/// </summary>
public static class FastEnum
{
#region... |
csharp/ILUtils.cs | mozsakalli/GamaVM | 0 | 7040730 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using dnlib.DotNet;
using dnlib.DotNet.Emit;
namespace csharp
{
static class ILUtils
{
public static string GetLabel(MethodDef method, int id)
{
return $"M{method.Rid:X4}... |
src/DotNet/Chit/addon365.Chit.DataService/IChitFeatureService.cs | addon365/b1ke-sh0wr00m | 0 | 7040731 | using addon365.Chit.DomainEntity;
using System;
using System.Collections.Generic;
using System.Text;
namespace addon365.Chit.DataService
{
public interface IChitFeatureService
{
public Feature GetFeature();
}
}
|
src/Captura/ValueConverters/StateToTrayIconSourceConverter.cs | Lakritzator/Captura | 1 | 7040732 | <gh_stars>1-10
using System;
using System.Globalization;
using Captura.Core.Models;
namespace Captura.ValueConverters
{
public class StateToTrayIconSourceConverter : OneWayConverter
{
public override object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
... |
src/Stl.Fusion/Extensions/ILiveClock.cs | riesvriend/Stl.Fusion255 | 2 | 7040733 | using System;
using System.Threading.Tasks;
namespace Stl.Fusion.Extensions
{
public interface ILiveClock
{
Task<DateTime> GetUtcNow();
Task<DateTime> GetUtcNow(TimeSpan updatePeriod);
Task<string> GetMomentsAgo(DateTime time);
}
}
|
JCTools.I18N/JCTools.I18N.Test/Controllers/HomeController.cs | jeancarlo13/JCTools.I18N | 0 | 7040734 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using JCTools.I18N.Services;
namespace JCTools.I18N.Test.Controllers
{
public class HomeController : Controller
{
/// <summary>
/// Used for access at the resources ... |
WishlistAPI.Domain/Model/PresentType.cs | ketiovv/wishlist-api | 0 | 7040735 | using System.Collections.Generic;
namespace WishlistAPI.Domain.Model
{
public class PresentType
{
public int Id { get; set; }
public string Name { get; set; }
public ICollection<Present> Presents { get; set; }
}
} |
tests/CroquetAustralia.QueueProcessor.Specifications/Steps/EmailsTo_2016_GC_Open_Doubles_Entries_Steps.cs | croquet-australia/api.croquet-australia.com.au | 1 | 7040736 | <filename>tests/CroquetAustralia.QueueProcessor.Specifications/Steps/EmailsTo_2016_GC_Open_Doubles_Entries_Steps.cs
using System;
using System.IO;
using System.Linq;
using ApprovalTests;
using ApprovalTests.Reporters;
using ApprovalTests.Writers;
using CroquetAustralia.Domain.Features.TournamentEntry;
using CroquetAus... |
src/Quality/constants/RangeTestKeys.cs | jirikostiha/quality | 0 | 7040737 | <filename>src/Quality/constants/RangeTestKeys.cs
namespace Wayout.Quality
{
//co test zahrnuje - TestInclusionKeys or TestInvolvementKeys
/// <summary>
/// System range level test types.
/// Jak velka oblast kodu je zahrnuta ado testu..
/// https://en.wikipedia.org/wiki/Software_perform... |
CautionaryAlertsApi/V1/UseCase/GetAlertsForPeople.cs | LBHackney-IT/cautionary-alerts-api | 0 | 7040738 | using System.Linq;
using CautionaryAlertsApi.V1.Boundary.Response;
using CautionaryAlertsApi.V1.Domain;
using CautionaryAlertsApi.V1.Factories;
using CautionaryAlertsApi.V1.Gateways;
using CautionaryAlertsApi.V1.UseCase.Interfaces;
namespace CautionaryAlertsApi.V1.UseCase
{
public class GetAlertsForPeople : IGetAl... |
Monopoly/Monopoly.Core/UseCases/MonopolyDices/Queries/GetDices/GetDicesQuery.cs | GoToWinThat/Wieczny-Student | 1 | 7040739 | using AutoMapper;
using AutoMapper.QueryableExtensions;
using MediatR;
using Microsoft.EntityFrameworkCore;
using Monopoly.Core.Base.Interfaces;
using System.Threading;
using System.Threading.Tasks;
namespace Monopoly.Core.UseCases.MonopolyDices.Queries.GetDices
{
public class GetDicesQuery :IRequest<DicesVm> {}
... |
VS2013/Chapter_16/StarryNight/StarryNight/Model/StarChangedEventArgs.cs | nickchobotar/HeadFirstC | 147 | 7040740 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StarryNight.Model
{
class StarChangedEventArgs : EventArgs
{
public Star StarThatChanged { get; private set; }
public bool Removed { get; private set; }
... |
App/Kira.LaconicInvoicing.Web/Migrations/20190428172415_V15.cs | zzq424/Kira.LaconicInvoicing | 0 | 7040741 | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Kira.LaconicInvoicing.Web.Migrations
{
public partial class V15 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Custo... |
src/Uno.UI.RuntimeTests/Tests/Windows_UI_Xaml_Controls/Given_ContentControl.cs | luke-welton/uno | 0 | 7040743 | <reponame>luke-welton/uno<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Private.Infrastructure;
using Uno.Extensions;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Data... |
Source/Engine/CoreInterfaces/Logging/ILogger.cs | chicken-with-lips/duck | 0 | 7040744 | namespace Duck.Logging;
public interface ILogger
{
public void LogDebug(string message, params object[] args);
public void LogInformation(string message, params object[] args);
public void LogError(string message, params object[] args);
public void LogWarning(string message, params object[] args);
}
|
Symbioz.Protocol/Types/Types/game/paddock/PaddockPrivateInformations.cs | CarlCochet/Symbioz | 2 | 7040745 | <gh_stars>1-10
// Generated on 06/04/2015 18:45:36
using System;
using System.Collections.Generic;
using System.Linq;
using Symbioz.Utils;
namespace Symbioz.DofusProtocol.Types
{
public class PaddockPrivateInformations : PaddockAbandonnedInformations
{
public const short Id = 131;
public override ... |
Photon Server/src-server/Hive/PhotonHive/Common/GameHttpQueueSettings.cs | swDill/PacManProject | 0 | 7040746 | using Photon.Common.Configuration;
namespace Photon.Hive.Common
{
/// <summary>
/// Provides http queue settings that we set in game server config section
/// </summary>
public class GameHttpQueueSettings : HttpQueueSettings
{
public GameHttpQueueSettings()
{
this.MaxEr... |
Sensus.Shared.NuGet/Probes/Location/ILocationDatum.cs | bzd3y/sensus | 3 | 7040747 | namespace Sensus.Probes.Location
{
public interface ILocationDatum : IDatum
{
double Latitude { get; set; }
double Longitude { get; set; }
}
} |
test/Server.Test/ServerPackageRepositoryTest.cs | bobstrickland03/nuget2 | 0 | 7040748 | <gh_stars>0
using Moq;
using NuGet.Server.Infrastructure;
using NuGet.Test.Mocks;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Runtime.Versioning;
using Xunit;
namespace NuGet.Test.Server.Infrastructure
{
public class ServerPackageRep... |
BarberShop.Tests/Services/EmployeeServiceTests.cs | MarianaSS/barber-shop | 0 | 7040749 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using BarberShop.Service.Models;
using BarberShop.Service.Repository.Interfaces;
using BarberShop.Service.Repository.Interfaces.ModelsRepository;
using BarberShop.Service.Services;
using BarberShop.Service.Utilities;
using Moq;
using Xunit;... |
Data/YJC.Toolkit.Web.Common/Web/_Redirector/RegRedirectorAttribute.cs | madiantech/tkcore | 4 | 7040750 | using System;
using YJC.Toolkit.Sys;
namespace YJC.Toolkit.Web
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public sealed class RegRedirectorAttribute : BaseRedirectorAttrbiute
{
/// <summary>
/// Initializes a new instance of the SourceRedirectorAtt... |
Source/Classic/Libs/AM.Win32/AM/Win32/SMALL_RECT.cs | fossabot/ManagedIrbis | 0 | 7040751 | // This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
/* SMALL_RECT.cs -- coordinates of the upper left and lower right corners of a rectangle
Ars Magna project, http://arsmagna.ru */
#region Using directives... |
GFStokTakip/GFStokTakip/Modul_Personel/frmPersonelEkle.Designer.cs | Furkan581907/GFStokTakip | 0 | 7040752 | <filename>GFStokTakip/GFStokTakip/Modul_Personel/frmPersonelEkle.Designer.cs
namespace GFStokTakip.Modul_Musteri
{
partial class frmMusteriEkle
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
///... |
C# part 1/Exam1Preparation/01.TrippleRotationOfDigits/TrippleRotationOfDigits.cs | iliantrifonov/TelerikAcademy | 0 | 7040753 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _01.TrippleRotationOfDigits
{
class TrippleRotationOfDigits
{
static void Main(string[] args)
{
long number = long.Parse(Console.ReadLine());
... |
Convo19Admin/NewRegister.aspx.cs | Indra02101997/Convolution2019 | 0 | 7040754 | <reponame>Indra02101997/Convolution2019
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
public partial class Convo19Admin_NewRegister : System.Web.UI.Page
{
String code = "";
... |
KPComponents/Asset/KPCssClass.cs | NumericTechnology/Platanum.Net | 0 | 7040755 | /*
* Copyright 2011-2015 Numeric Technology
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable l... |
C# Advanced/04.Strings/06.Count Substring Occurrences/Substring Occurrences.cs | stoianov00/C-Advanced | 2 | 7040756 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _06.Count_Substring_Occurrences
{
class Program
{
static void Main(string[] args)
{
string text = Console.ReadLine().ToLower();
string word = Co... |
src/Tests/TestablePJ64.cs | bryanperris/cor64 | 38 | 7040757 | <filename>src/Tests/TestablePJ64.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using cor64.IO;
using cor64.Mips;
using Newtonsoft.Json;
using NUnit.Framework;
namespace Tests
{
public sealed class TestableP... |
20. Homeworks/07. Associative Arrays - Exercise/Program.cs | pirocorp/CSharp-Fundamentals | 0 | 7040758 | namespace _07._Associative_Arrays___Exercise
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
public class Program
{
public static void Main()
{
//Task01();
//Task02();
//Task03();
... |
Source/lib/microqrcode/encoder/MicroQRCodeEncodingOptions.cs | tranvuthien/ZXing-CSharp-MicroQR-Detector | 1 | 7040759 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ZXing.Common;
using ZXing.QrCode.Internal;
namespace ZXing.MicroQrCode.Internal
{
/// <summary>
/// The class holds the available options for the QrCodeWriter
/// </summary>
[Serializable]
public class Micr... |
PDP.DREAM.ScribeWebLib/Components/ScribeParentViewComponent.cs | BHAVIUS/PDP-DREAM | 0 | 7040760 | <filename>PDP.DREAM.ScribeWebLib/Components/ScribeParentViewComponent.cs<gh_stars>0
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace PDP.DREAM.ScribeWebLib.Components
{
// for views corresponding to parent tables in database
public class ScribeParentViewComponent : ViewComponent
{
pu... |
SynHao/ExcelAddIn/Google_Ribbon.cs | SynHao/demo | 0 | 7040761 | <reponame>SynHao/demo<filename>SynHao/ExcelAddIn/Google_Ribbon.cs
using System.Linq;
using Microsoft.Office.Tools.Ribbon;
using Analytics.Authorization;
using UI;
using Microsoft.Office.Interop.Excel;
using System.Windows.Forms;
using System.Net;
using Analytics.Data;
using System.Collections.Generic;
using System;
n... |
V1096133/Diga.WebView2.Wrapper.V1096133/EventArguments/DownloadStartingEventArgs.cs | ITAgnesmeyer/Diga.WebView2 | 13 | 7040762 | using Diga.WebView2.Interop;
namespace Diga.WebView2.Wrapper.EventArguments
{
public class DownloadStartingEventArgs : ICoreWebView2DownloadStartingEventArgs
{
private ICoreWebView2DownloadStartingEventArgs _Args;
public DownloadStartingEventArgs(ICoreWebView2DownloadStartingEventArgs args)
... |
SparkEngine/Time/TimeManager.cs | Kazzymodus/Spark | 2 | 7040763 | using System.Collections.Generic;
using Microsoft.Xna.Framework;
namespace SparkEngine.Time
{
public static class TimeManager
{
#region Fields
private static readonly List<TemporaryTicker> temporaryTickers = new List<TemporaryTicker>();
#endregion
#region Methods
in... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.