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 |
|---|---|---|---|---|
src/Domain/Entities/Question.cs | NickolayNanov/Maturnik-WASM | 3 | 7025741 | using Maturnik.Domain.Common;
using System.Collections.Generic;
namespace Maturnik.Domain.Entities
{
public class Question : BaseEntity<int>
{
public Question(int correctAnswer, string examId, int points = 1)
{
this.CorrectAnswer = correctAnswer;
this.ExamId = examId;
... |
sdk/quantum/Azure.Quantum.Jobs/src/Generated/JobsRestClient.cs | frank-pang-msft/azure-sdk-for-net | 3,268 | 7025742 | <gh_stars>1000+
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipeline;
using Azure.Quan... |
osu.Game.Tests/NonVisual/Skinning/LegacySkinTextureFallbackTest.cs | ProTheory8/osu | 10,964 | 7025743 | <filename>osu.Game.Tests/NonVisual/Skinning/LegacySkinTextureFallbackTest.cs
// Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Gr... |
src/NML.Parser/objects/options/ConditionalOptions.cs | nml-lang/sdk | 0 | 7025744 | <filename>src/NML.Parser/objects/options/ConditionalOptions.cs<gh_stars>0
using System;
using System.Collections.Generic;
using NML.Parser.Contexts;
using NML.Parser.Objects.Elements;
using NML.Parser.Objects.Values;
using NML.Parser.Visitors;
using Microsoft.CodeAnalysis.CSharp.Scripting;
namespace NML.Parser.Objects... |
Inveigh/NBNS.cs | fraktalcyber/InveighZero | 0 | 7025746 | using System;
using System.Net;
using System.Net.Sockets;
using System.IO;
namespace Inveigh
{
class NBNS
{
public static void NBNSListener(string IP, string spooferIP, string nbnsTTL, string[] nbnsTypes)
{
byte[] spooferIPData = IPAddress.Parse(spooferIP).GetAddressBytes();
... |
Plugins/LightSwitchPlugin/LightSwitch/ILightSwitchChannel.cs | aarondrabeck/zVirtualScenes | 19 | 7025747 | namespace LightSwitchPlugin.LightSwitch
{
interface ILightSwitchChannel
{
void OnIphone();
void OnVersion();
void OnServer();
void OnTerminate();
void OnAList();
void OnSList();
void OnList();
void OnZList();
void OnPassword(string passwor... |
System/net/System/Net/Http/HttpCompletionOption.cs | cnork/referencesource | 911 | 7025748 | <filename>System/net/System/Net/Http/HttpCompletionOption.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace System.Net.Http
{
public enum HttpCompletionOption
{
ResponseContentRead = 0, // default
ResponseHeadersRead,
}
}
|
AGXUnity/FrictionController.cs | Algoryx/AGXUnity-v1 | 52 | 7025749 | <reponame>Algoryx/AGXUnity-v1<gh_stars>10-100
using System;
using UnityEngine;
namespace AGXUnity
{
[AddComponentMenu( "" )]
[HideInInspector]
public class FrictionController : ElementaryConstraintController
{
[SerializeField]
private float m_frictionCoefficient = 0.4167f;
/// <summary>
/// G... |
sdk/monitor/Microsoft.OpenTelemetry.Exporter.AzureMonitor/src/AzureMonitorExporterLoggingExtensions.cs | guandali/azure-sdk-for-net | 0 | 7025750 | <gh_stars>0
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Microsoft.OpenTelemetry.Exporter.AzureMonitor;
using OpenTelemetry;
using OpenTelemetry.Logs;
namespace Microsoft.Extensions.Logging
{
internal static class AzureMonitorExporterLoggin... |
src/QsCompiler/Compiler/RewriteSteps/FunctorGeneration.cs | ricardoprins/qsharp-compiler | 1 | 7025752 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System.Collections.Generic;
using System.Linq;
using Microsoft.Quantum.QsCompiler.SyntaxTree;
namespace Microsoft.Quantum.QsCompiler.BuiltInRewriteSteps
{
/// <summary>
/// Replaces all functor generation d... |
src/Servers/HttpSys/test/FunctionalTests/ResponseSendFileTests.cs | maestro-auth-test/AspNetCore | 73 | 7025753 | // 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.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using Sy... |
Client/Model/Res.Designer.cs | parminder7/DropboxLike | 4 | 7025754 | <filename>Client/Model/Res.Designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18449
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is... |
iothub/service/src/Common/Exceptions/JobNotFoundException.cs | tomkerkhove/azure-iot-sdk-csharp | 3 | 7025755 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Azure.Devices.Common.Exceptions
{
using System;
[Serializable]
public sealed class JobNotFoundException : IotHubException
{
... |
SIS.MvcFramework/Server.cs | ivan-nikolov/SIS | 0 | 7025756 | namespace SIS.MvcFramework
{
using System;
using System.Net;
using System.Net.Sockets;
using System.Threading.Tasks;
using SIS.HTTP.Common;
using SIS.MvcFramework.Routing;
using SIS.MvcFramework.Sessions;
using SIS.Common;
public class Server
{
private const string Loca... |
Assets/01. Scripts/Item/NWayGunItem.cs | TonyChoiMS/Unity3dActionGame | 0 | 7025757 | <filename>Assets/01. Scripts/Item/NWayGunItem.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NWayGunItem : GunItem
{
override protected void CreateGunModule()
{
GunModule gunModule = new NWayGunModule();
gunModule.Init(this);
... |
Runtime/Grid2D/Common/RoomTemplates/TilemapLayers/ITilemapLayersHandlerGrid2D.cs | OndrejNepozitek/ProceduralLevelGenerator-Unity | 123 | 7025758 | <reponame>OndrejNepozitek/ProceduralLevelGenerator-Unity<gh_stars>100-1000
using UnityEngine;
namespace Edgar.Unity
{
/// <summary>
/// Interface for handling tilemap layers.
/// </summary>
public interface ITilemapLayersHandlerGrid2D
{
/// <summary>
/// Initializes the str... |
Core/System.String/System.Web.HttpUtility/String.HtmlEncode.cs | mousavil/Cactus.Blade.Core | 3 | 7025759 | <reponame>mousavil/Cactus.Blade.Core<filename>Core/System.String/System.Web.HttpUtility/String.HtmlEncode.cs
using System.IO;
using System.Web;
public static partial class Extension
{
/// <summary>
/// Converts a string to an HTML-encoded string.
/// </summary>
/// <param name="this">The string to... |
CefSharp/Handler/AudioHandler.cs | maxjove/CefSharp | 8,580 | 7025760 | // Copyright © 2021 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
using CefSharp.Structs;
namespace CefSharp.Handler
{
/// <summary>
/// Inherit from this class to handle audio events
/// All... |
Survi.Prevention.ApiClient/Exceptions/ForbiddenApiException.cs | CAUCA-9-1-1/survip-webapi | 2 | 7025761 | namespace Survi.Prevention.ApiClient.Exceptions
{
public class ForbiddenApiException : ApiClientException
{
public ForbiddenApiException(string url) : base($"API returned a 403 (forbidden) response for url '{url}'.")
{
}
}
} |
Drawing/FontStyle.cs | Jmerk523/automatic-graph-layout | 0 | 7025762 | <reponame>Jmerk523/automatic-graph-layout
using System;
namespace Microsoft.Msagl.Drawing
{
[Flags]
public enum FontStyle
{
Regular = 0x0,
Bold = 0x1,
Italic = 0x2,
Underline = 0x4,
Strikeout = 0x8
}
}
|
Assets/UniVRMUtility/SimpleViewer/AsyncUnityBuilder.cs | ousttrue/UniVRMUtility | 0 | 7025763 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using UnityEngine;
using UniVRM10;
namespace UniVRMUtility.SimpleViewer
{
public static class AsyncUnityBuilder
{
public static IEnumerator ToUnityAssetAsync(VrmLib.Mo... |
Tortuga.Chain/Tortuga.Chain.SqlServer.OleDb/SqlServer/OleDbSqlServerTransactionalDataSource..cs | TortugaResearch/Chain | 2 | 7025764 | using System.Data.OleDb;
using Tortuga.Chain.Core;
using Tortuga.Shipwright;
namespace Tortuga.Chain.SqlServer
{
/// <summary>
/// Class SqlServerTransactionalDataSource.
/// </summary>
[UseTrait(typeof(Traits.TransactionalDataSourceTrait<OleDbSqlServerDataSource, OleDbConnection, OleDbTransaction, OleDbCommand, O... |
src/suporte-z-cmd.cryptof/Properties/AssemblyInfo.cs | sergiocabral/App.Suporte-Z | 1 | 7025765 | using System.Reflection;
using System.Runtime.InteropServices;
/// Informações gerais sobre o Assembly definida através do seguinte conjunto de atributos.
[assembly: AssemblyTitle("sz.exe cryptof /?")]
[assembly: AssemblyDescription("General purpose tools / Ferramentas de uso geral")]
[assembly: AssemblyConfiguration... |
ActivityListener/Gateway/DynamoDbGateway.cs | LBHackney-IT/activity-listener | 0 | 7025766 | <filename>ActivityListener/Gateway/DynamoDbGateway.cs
using ActivityListener.Gateway.Interfaces;
using Amazon.DynamoDBv2.DataModel;
using Hackney.Core.Logging;
using Hackney.Shared.ActivityHistory.Domain;
using Hackney.Shared.ActivityHistory.Factories;
using Microsoft.Extensions.Logging;
using System.Threading.Tasks;
... |
src/EventStore.Core.Tests/ClientAPI/Security/write_stream_security.cs | bartelink/EventStore | 48 | 7025767 | using EventStore.ClientAPI.Exceptions;
using NUnit.Framework;
namespace EventStore.Core.Tests.ClientAPI.Security
{
[TestFixture, Category("LongRunning"), Category("Network")]
public class write_stream_security : AuthenticationTestBase
{
[Test, Category("LongRunning"), Category("Network")]
... |
Assets/AWSSDK/src/Services/S3/Custom/Model/S3ReponseUnmarshaller.cs | SixMinute/aws-sdk-unity-lambda | 0 | 7025768 | //
// Copyright 2014-2015 Amazon.com,
// Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Amazon Software License (the "License").
// You may not use this file except in compliance with the
// License. A copy of the License is located at
//
// http://aws.amazon.com/asl/
//
// or in the "l... |
src/Squidex/Config/Identity/AuthenticationExtensions.cs | maooson/squidex | 0 | 7025769 | // ==========================================================================
// AuthenticationExtensions.cs
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex Group
// All rights reserved.
// ==============================================... |
src/SFA.DAS.Campaign.Infrastructure/Configuration/CampaignConfiguration.cs | SkillsFundingAgency/das-campaign | 3 | 7025770 | using SFA.DAS.Campaign.Application.Configuration;
namespace SFA.DAS.Campaign.Infrastructure.Configuration
{
public class CampaignConfiguration
{
public virtual string QueueConnectionString { get; set; }
public virtual UserDataQueueNames UserDataQueueNames { get; set; }
public virtual ... |
sources/Interop/Windows/um/d3d10/D3D10_BUFFER_DESC.Manual.cs | mfkl/terrafx.interop.windows | 0 | 7025771 | <reponame>mfkl/terrafx.interop.windows
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/d3d10.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using sta... |
unity-sample-app/Assets/MoPub/Sample/Delight/Source/Template.cs | JunGroupProductions/mopub-unity-sdk | 69 | 7025773 | #region Using Statements
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Globalization;
#endregion
namespace Delight
{
/// <summary>
/// View data template. A data template is associated with a view type and allows for the framewor... |
Assets/Scripts/Model/Ships/Z-95/AirenCracken.cs | stwangner/FlyCasual | 0 | 7025774 | using UnityEngine;
using Ship;
using System.Collections;
using System.Collections.Generic;
using SubPhases;
using Abilities;
using Board;
using System.Linq;
namespace Ship
{
namespace Z95
{
public class AirenCracken : Z95
{
public AirenCracken() : base()
{
... |
AWSSDK_DotNet35/Amazon.Redshift/Model/ResetClusterParameterGroupRequest.cs | virajs/aws-sdk-net | 1 | 7025775 | /*
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
WindowsUI.TQS/CloseWin.cs | sndnvaps/OneCard_ | 0 | 7025776 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Model.General;
using WindowsUI.TQS.ClassLibrary.Public;
namespace WindowsUI.TQS
{
public partial class CloseWin : Form
{... |
sdk/src/Services/ConfigService/Generated/Model/BatchGetResourceConfigRequest.cs | sudoudaisuke/aws-sdk-net | 2 | 7025777 | /*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
src/Google.Cloud.Functions.Invoker.Testing/FunctionTestServer.cs | bcoe/functions-framework-dotnet-test | 0 | 7025778 | // Copyright 2020, Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to i... |
Assets/Scripts/Puzzle/Skills/SkillMetaSerializable.cs | BradZzz/Jade | 0 | 7025779 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
[Serializable]
public class SkillMetaSerializable {
public string name;
public SkillReq req1;
public SkillReq req2;
public SkillEffectSerializable[] effects;
}
|
Assets/Scripts/Networking/NetworkPlayer/NetworkPlayerUI.cs | Whystedz/TheWhystedzGame | 0 | 7025780 | <gh_stars>0
using Mirror;
public class NetworkPlayerUI : NetworkBehaviour
{
public string PlayerName { get; set; }
public Team Team { get; private set; }
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}
|
src/SFA.DAS.AssessorService.Application.Api/Controllers/Apply/FinancialController.cs | codescene-org/das-assessor-service | 6 | 7025781 | using System;
using System.Threading.Tasks;
using MediatR;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using SFA.DAS.AssessorService.Api.Types.Models.Apply.Financial;
using SFA.DAS.AssessorService.Api.Types.Models.Apply.Financial.Review;
using SFA.DAS.AssessorService.Application.Api.Prope... |
07-Data Structure/03-LINEAR DS - LIST AND DS COMPLEXITY/LinearDataStructures_Exercises_01_07/_07_DistanceInLabyrinth/StartUp.cs | MrPIvanov/SoftUni | 0 | 7025782 | <reponame>MrPIvanov/SoftUni
using System;
using System.Collections.Generic;
namespace _07_DistanceInLabyrinth
{
public class StartUp
{
static void Main()
{
var n = int.Parse(Console.ReadLine());
var matrix = new string[n][];
for (int i = 0; i < n; i++)
... |
Assets/Epitome/Epitome.LogSystem/Appender/RollingFileAppender.cs | yangjiqiu/Epitome | 4 | 7025783 | <reponame>yangjiqiu/Epitome
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using System.IO;
using System.Threading;
namespace Epitome.LogSystem
{
/// <summary>滚动文件输出</summary>
public class RollingFileAppender : AsyncTask<RollingFileAppender>, ILogAppender
{
#if... |
viewer/Models/CloudEvent.cs | asarRMN/Azure-Samples | 0 | 7025784 |
using Newtonsoft.Json;
namespace viewer.Models
{
public class CloudEvent<T> where T : class
{
[JsonProperty("eventID")]
public string EventId { get; set; }
[JsonProperty("cloudEventsVersion")]
public string CloudEventVersion { get; set; }
[JsonProperty("eventType")]
... |
test/SmartCache.Client.IntegrationTests/EmptyClientCertProvider.cs | Travix-International/Travix.Core.SmartCacheClient | 0 | 7025785 | using System.Collections.Generic;
using System.Security.Cryptography.X509Certificates;
using SmartCache.Client.Certificates;
namespace SmartCache.Client.IntegrationTests
{
public class EmptyClientCertProvider : IClientCertificateProvider
{
public IEnumerable<X509Certificate> GetCertificates()
... |
Slp.Indexer/Program.cs | simpleledger/Slp.Indexer | 1 | 7025786 | using System;
using System.Linq;
using System.Reflection;
using System.Threading;
using Microsoft.Extensions.Hosting;
using Serilog;
using Serilog.Core;
using Serilog.Events;
using Slp.Indexer.Extensions;
namespace Slp.Indexer
{
public class Program
{
public static int Main(string[] args)
{
... |
src/fiskaltrust.Middleware.Interface.Client.Http/HttpPosOptions.cs | steininger/middleware-interface-dotnet | 0 | 7025787 | using fiskaltrust.Middleware.Interface.Client.Shared;
using System;
namespace fiskaltrust.Middleware.Interface.Client.Http
{
public class HttpPosOptions : PosOptions
{
public HttpCommunicationType CommunicationType { get; set; }
public Guid? CashboxId { get; set; }
public string Access... |
Naiad/Runtime/Scheduling/Events.cs | ganu453/Naiad | 341 | 7025788 | <filename>Naiad/Runtime/Scheduling/Events.cs<gh_stars>100-1000
/*
* Naiad ver. 0.5
* Copyright (c) Microsoft Corporation
* All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the L... |
Using_APIs/ViewModels/BaseViewModel.cs | GCruzJoa/Using-APIs | 0 | 7025789 | using System.ComponentModel;
using Using_APIs.Services;
namespace Using_APIs.ViewModels
{
public abstract class BaseViewModel : INotifyPropertyChanged
{
protected IAlertService AlertService { get; }
protected BaseViewModel(IAlertService alertService)
{
AlertService = alert... |
src/RibbonDemo2/frmMainDemo.Designer.cs | Octal450/RibbonWinForms | 649 | 7025790 | using System.ComponentModel;
using System.Windows.Forms;
namespace RibbonDemo2
{
partial class frmMainDemo
{
/// <summary>
/// Required designer variable.
/// </summary>
private IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... |
OpenExcel/Structure/ExcelRow.cs | Anshul-Chandra/OpenExcel | 0 | 7025791 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace OpenExcel
{
/// <summary>
/// Class for Excel Row
/// </summary>
public class ExcelRow
{
public int RowNum { get; private set; }
public Li... |
SpacepuppyAIBehaviourTreeEditor/AI/BehaviourTree/ParallelPassOptionsPropertyDrawer.cs | lordofduct/spacepuppy-unity-framework | 372 | 7025792 | using UnityEngine;
using UnityEditor;
using System.Collections.Generic;
using System.Linq;
using com.spacepuppy.AI.BehaviourTree;
using com.spacepuppy.Utils;
namespace com.spacepuppyeditor.AI.BehaviourTree
{
[CustomPropertyDrawer(typeof(ParallelPassOptions))]
public class ParallelPassOptionsProp... |
src/EditorFeatures/TestUtilities/Structure/AbstractSyntaxNodeStructureProviderTests.cs | petarpetrovt/roslyn | 35 | 7025793 | // 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 disable
using System.Collections.Immutable;
using System.Threading;
using System.Threading.Tasks;
using ... |
PizzaShopWebService/Pages/Menu.cshtml.cs | surafel911/pizza-shop-webservice | 0 | 7025794 | using System.Text.Json;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Http;
using PizzaShopWebService.Models;
using PizzaShopWebService.Services;
namespace PizzaShopWebService.Pages
{
public class MenuModel : PageModel
{
private readonly IPizzaShopDbHa... |
source/wagi/Configuration/WASMModuleDetails.cs | squillace/wagi-dotnet | 0 | 7025795 | <filename>source/wagi/Configuration/WASMModuleDetails.cs
#pragma warning disable CA2227
namespace Deislabs.WAGI.Configuration
{
using System.Collections.Generic;
/// <summary>
/// This class contains configuration for properties for an exposed WASM function.
/// </summary>
public class WASMModuleDetails
{
... |
src/OptionsAttribute.cs | Soldie/FastHttpApi-C- | 0 | 7025796 | using System;
using System.Collections.Generic;
using System.Text;
using BeetleX.Buffers;
namespace BeetleX.FastHttpApi
{
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class)]
public class OptionsAttribute : Attribute, IResult
{
public OptionsAttribute()
{
HasBody ... |
src/COVIDData/COVIDData/Models/DateRange.cs | BryanCAlcorn/COVIDProject | 0 | 7025797 | <filename>src/COVIDData/COVIDData/Models/DateRange.cs
using COVIDData.Exceptions;
using System;
namespace COVIDData.Models
{
public class DateRange
{
public DateRange(DateTime? startDate, DateTime? endDate)
{
StartDate = (startDate ?? DateTime.MinValue).Date;
E... |
project/GACUSMT/ConfigSettingsForm.cs | ITOpsReborn/WindowsMigrationUtility | 0 | 7025798 | <reponame>ITOpsReborn/WindowsMigrationUtility<filename>project/GACUSMT/ConfigSettingsForm.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace WindowsMigrationUtility
{
public partial class... |
Nop.Plugin.Misc.ApplicationInsights/Views/_ViewImports.cshtml | PedroQuelhas/nopApplicationInsightsPlugin | 3 | 7025799 | <reponame>PedroQuelhas/nopApplicationInsightsPlugin<filename>Nop.Plugin.Misc.ApplicationInsights/Views/_ViewImports.cshtml
@inherits Nop.Web.Framework.Mvc.Razor.NopRazorPage<TModel>
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, Nop.Web.Framework
@using Microsoft.AspNetCore.Mvc.ViewFeatures... |
ServiceFabric.PubSubActors/BrokerService.cs | gunnarsireus/SFActors | 0 | 7025800 | <reponame>gunnarsireus/SFActors
using Microsoft.ServiceFabric.Data;
using Microsoft.ServiceFabric.Data.Collections;
using Microsoft.ServiceFabric.Services.Runtime;
using ServiceFabric.PubSubActors.Interfaces;
using ServiceFabric.PubSubActors.State;
using System;
using System.Fabric;
using System.Threading.Tasks;
using... |
sdk/dotnet/Policy/V1/Eviction.cs | polivbr/pulumi-kubernetes | 277 | 7025801 | <gh_stars>100-1000
// *** WARNING: this file was generated by pulumigen. ***
// *** 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.... |
Assets/Polaris - Low Poly Ecosystem/Polaris - Low Poly Terrain Engine/Editor/Scripts/Extensions/ExtensionPlaceholders/MegaWorldPlaceholder.cs | Abelark/Project-3---Rocket-Punch | 0 | 7025802 | #if GRIFFIN
#if GRIFFIN && UNITY_EDITOR
using UnityEngine;
namespace Pinwheel.Griffin.GriffinExtension
{
public static class MegaWorldPlaceholder
{
public static string GetExtensionName()
{
return "Mega World Integration";
}
public static string GetPubl... |
Content/ArcaneDiscoveries/Idealize.cs | ArkiveDev/MagicTime | 1 | 7025804 | <filename>Content/ArcaneDiscoveries/Idealize.cs
using HarmonyLib;
using Kingmaker.Blueprints.Classes;
using Kingmaker.Blueprints.Classes.Spells;
using Kingmaker.Enums;
using Kingmaker.UnitLogic;
using Kingmaker.UnitLogic.FactLogic;
using MagicTime.Utilities;
namespace MagicTime.ArcaneDiscoveries
{
internal static... |
YIF.Core.Domain/ApiModels/Validators/SpecialtyPostApiModelValidator.cs | ita-social-projects/YIF_Backend | 11 | 7025805 | <reponame>ita-social-projects/YIF_Backend
using FluentValidation;
using System.Linq;
using YIF.Core.Data;
using YIF.Core.Domain.ApiModels.RequestApiModels;
namespace YIF.Core.Domain.ApiModels.Validators
{
public class SpecialtyPostApiModelValidator : AbstractValidator<SpecialtyPostApiModel>
{
private ... |
03_SRC/MTV-system/MTV.API/Domain/Users/UsersRequest.cs | binhcan/MTV_API_MVC_Project | 0 | 7025806 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MTV.API.Domain.Users
{
public class UsersRequest
{
public string Ecode { get; set; }
public string FirstName { get; set; }
public string GivenName { get; set; }
public str... |
src/Transports/ServiceBroker/NServiceBus.Unicast.Transport.ServiceBroker/Constants.cs | rmoritz/NServiceBus-Contrib | 1 | 7025807 | namespace NServiceBus.Unicast.Transport.ServiceBroker
{
internal static class Constants
{
public const string NServiceBusTransportMessageContract = "NServiceBusTransportMessageContract";
public const string NServiceBusTransportMessage = "NServiceBusTransportMessage";
}
}
|
PlumMod/MainForm.Designer.cs | Lomeli12/PlumMod | 5 | 7025808 | namespace PlumMod {
partial class MainForm {
/// <summary>
/// Designer variable used to keep track of non-visual components.
/// </summary>
private System.ComponentModel.IContainer components = null;
private System.Windows.Forms.CustomTabControl mainTab;
private Sys... |
Plugin.CustomContent/OptionsStorage.cs | neonowy/vrs | 208 | 7025810 | <reponame>neonowy/vrs
// Copyright © 2013 onwards, <NAME>
// All rights reserved.
//
// Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
// * Redistributions of source code must retain the above copyri... |
src/ResourceManager/Resources/Commands.ResourceManager/Cmdlets/Implementation/Resource/MoveAzureResourceCmdlet.cs | athipp/azure-powershell | 10 | 7025811 | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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://w... |
Source/MVC5/Boilerplate.Web.Mvc5/OpenGraph/ObjectTypes/Facebook/OpenGraphGameAchievement.cs | Li-Yanzhi/ASP.NET-MVC-Boilerplate | 0 | 7025812 | namespace Boilerplate.Web.Mvc.OpenGraph
{
using System.Text;
/// <summary>
/// This object type represents a specific achievement in a game. An app must be in the 'Games' category in App Dashboard to be able to use this
/// object type. Every achievement has a game:points value associate with it. Thi... |
Public/Src/IDE/VsCode/DebugAdapter/Events.cs | miniksa/BuildXL | 448 | 7025813 | <gh_stars>100-1000
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using VSCode.DebugProtocol;
#pragma warning disable 1591 // disabling warning about missing API documentation; TODO: Remove this line and write documentation!
#pragma warning disable SA1649 // File name must match firs... |
SiraUtil/Sabers/SaberModelProvider.cs | Aeroluna/SiraUtil | 36 | 7025814 | using IPA.Utilities;
using SiraUtil.Affinity;
using SiraUtil.Extras;
using SiraUtil.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using Zenject;
namespace SiraUtil.Sabers
{
/// <summary>
/// Provides copies of the active saber model.
/// </summary>
publ... |
sources/AssemblyVisualizer/WindowManager.cs | aolszowka/AssemblyVisualizer | 1 | 7025815 | // Copyright 2011 <NAME>
// This code is distributed under Microsoft Public License
// (for details please see \docs\Ms-PL)
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AssemblyVisualizer.AssemblyBrowser;
using AssemblyVisualizer.AncestryBrowser;
using AssemblyVisualize... |
src/Bicep.LangServer/Configuration/ConfigurationHelper.cs | johnwildes/bicep | 2,288 | 7025816 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using Bicep.Core;
using Bicep.Core.Configuration;
using OmniSharp.Extensions.LanguageServer.Protocol;
namespace Bicep.LanguageServer.Configuration
... |
src/Managers/CustomQuests.cs | sinaioutlander/SideLoader_2 | 2 | 7025817 | <filename>src/Managers/CustomQuests.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SideLoader.Managers
{
public static class CustomQuests
{
const string DEFAULT_FAMILY_NAME = "ASideLoaderEvents";
const string DEF... |
src/maskx.DurableTask.SQLServer.Tests/SampleScenarioTests.cs | maskx/DurableTask.SQLServer | 0 | 7025818 | using DurableTask.Core;
using DurableTask.Core.Exceptions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace maskx.DurableTask.SQLServer.Tests
{
public class SampleScenarioTests : IDisposable
{
private readon... |
DBChm/MainForm.cs | ijlynivfhp/DBCHM | 0 | 7025819 | <filename>DBChm/MainForm.cs
//-----------------------------------------------------------------------
// <copyright file="WinFormRibbon.cs" company="YuGuan Corporation">
// Copyright (c) YuGuan Corporation. All rights reserved.
// </copyright>
//---------------------------------------------------------------------... |
sdk/src/Services/SageMaker/Generated/Model/UpdateProjectRequest.cs | MDanialSaleem/aws-sdk-net | 1,705 | 7025820 | <reponame>MDanialSaleem/aws-sdk-net
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apa... |
src/InventorShaftGenerator/InventorShaftGenerator/Views/Extensions/VisualTargetPresentationSource.cs | celephais19/shaft-component-generator | 3 | 7025821 | using System;
using System.Windows;
using System.Windows.Media;
namespace InventorShaftGenerator.Views.Extensions
{
public class VisualTargetPresentationSource : PresentationSource
{
private readonly VisualTarget visualTarget;
private bool isDisposed;
public VisualTargetPresentationSo... |
SqlRepo/Abstractions/IExecuteQueryProcedureStatement.cs | SqlRepo/SqlRepo | 28 | 7025822 | using System;
using System.Collections.Generic;
namespace SqlRepo.Abstractions
{
public interface
IExecuteQueryProcedureStatement<TEntity> : IExecuteProcedureStatement<IEnumerable<TEntity>>
where TEntity: class, new()
{
IExecuteQueryProcedureStatement<TEntity> UsingMappingProfi... |
src/Stratis.Bitcoin.Features.RPC.Tests/Controller/AddNodeActionTest.cs | danielgerlag/StratisBitcoinFullNode | 0 | 7025823 | <filename>src/Stratis.Bitcoin.Features.RPC.Tests/Controller/AddNodeActionTest.cs
using System;
using Microsoft.Extensions.DependencyInjection;
using Stratis.Bitcoin.Connection;
using Xunit;
namespace Stratis.Bitcoin.Features.RPC.Tests.Controller
{
public class AddNodeActionTest : BaseRPCControllerTest
{
... |
src/Ogmas/Services/GameTypesService.cs | mindaugasdirg/Ogmis | 0 | 7025824 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using AutoMapper;
using Ogmas.Exceptions;
using Ogmas.Models.Dtos.Create;
using Ogmas.Models.Dtos.Get;
using Ogmas.Models.Entities;
using Ogmas.Repositories.Abstractions;
using Ogmas.Services.Abstractions;
name... |
C_Sharp/CSharp Advanced/FunctionalProgramming/ReverseAndExclude/Program.cs | Mithras11/SoftUni-Software-Engineering | 4 | 7025825 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
namespace ReverseAndExclude
{
class Program
{
static void Main(string[] args)
{
List<int> numbers = Console.ReadLine()
.Split()
.Select(int.Parse)
.ToLi... |
ThingsApi/Data/ApplicationDbContext.cs | Languafe/aspnetcore-webapi-identity | 0 | 7025826 | using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using ThingsApi.Models;
namespace ThingsApi.Data
{
public class ApplicationDbContext : IdentityDbContext<ApplicationUser>
{
public ApplicationDbContext(DbContextOptions<App... |
Shoppers Square/Models/SMTPConfigModel.cs | basitmir2020/shopperssquare | 0 | 7025827 | namespace Shoppers_Square.Models
{
public class SMTPConfigModel
{
public string SenderAddress { get; set; }
public string SenderDisplayName { get; set; }
public string Username { get; set; }
public string Password { get; set; }
public string Host { get; set; }
pu... |
CommunityToolkit.WinUI.SampleApp/SamplePages/Incremental Loading Collection/IncrementalLoadingCollectionPage.xaml.cs | unoplatform/Uno.WindowsCommunityToolk | 37 | 7025828 | <reponame>unoplatform/Uno.WindowsCommunityToolk<gh_stars>10-100
// 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.UI.Xaml;
namespace CommunityToolkit... |
FluentBootstrap/Dropdowns/Dropdown.cs | burcinsahin/FluentBootstrap | 0 | 7025829 | using FluentBootstrap.Buttons;
using FluentBootstrap.Forms;
using FluentBootstrap.Html;
using FluentBootstrap.Links;
using FluentBootstrap.Misc;
using FluentBootstrap.Navbars;
using FluentBootstrap.Navs;
using System.IO;
using System.Linq;
namespace FluentBootstrap.Dropdowns
{
public class Dropdown : Tag, IHasBut... |
ScheduleBackendService/Models/Channel.cs | QuinntyneBrown/schedule-api | 0 | 7025830 | <reponame>QuinntyneBrown/schedule-api
namespace ScheduleBackendService.Models
{
public class Channel
{
public int Id { get; set; }
public string Name { get; set; }
public bool IsDeleted { get; set; }
}
}
|
commercetools.NET/Channels/ChannelDraft.cs | DavidDeVries/commercetools-dotnet-sdk | 10 | 7025831 | <gh_stars>1-10
using commercetools.Common;
using commercetools.CustomFields;
using commercetools.GeoLocation;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Collections.Generic;
namespace commercetools.Channels
{
/// <summary>
/// API representation for creating a new channel.
/// <... |
minefieldtests/AnalyseOfMethods.cs | mprzybylak/CSharpConventionTests | 0 | 7025832 | <filename>minefieldtests/AnalyseOfMethods.cs
using System;
using minefield.ECommerce.Pricing;
using NUnit.Framework;
using System.Linq;
using minefield.ECommerce;
using System.IO;
namespace minefieldtests
{
public class AnalyseOfMethods
{
[Test]
public void ShouldCheckIfClassHaveZeroArgContruc... |
AsyncMvvm/Portable/Internal/PropertyExtensions.cs | dmitry-shechtman/AsyncMvvm | 8 | 7025833 | using System.Reflection;
namespace Ditto.AsyncMvvm
{
internal static class PropertyInfoExtensions
{
//[Property]
public static MethodInfo GetGetMethod(this PropertyInfo propertyInfo)
{
return propertyInfo.GetMethod;
}
}
}
|
src/System.Private.CoreLib/src/System/Reflection/Emit/SymbolType.cs | HarrievG/coreclr | 6 | 7025834 | // 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 CultureInfo = System.Globalization.CultureInfo;
namespace System.Reflection.Emit
{
internal enum TypeKind... |
templates/ServiceTemplate.Tests/WebApi/DtoMappingProfileTest.cs | ISTAnsver/ServiceTemplate | 0 | 7025835 | <reponame>ISTAnsver/ServiceTemplate
using AutoMapper;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ServiceTemplate.Dto;
using ServiceTemplate.Model;
using ServiceTemplate.WebApi;
namespace ServiceTemplate.Tests.WebApi;
[TestClass]
public class DtoMappingProfileTest
{
[TestInitialize]
public void ... |
src/DataGate/Data/DataGate.Data.Models/Entities/TbMapNavFrequencyValuation.cs | atk0dev/DataGate | 14 | 7025836 | namespace DataGate.Data.Models.Entities
{
using System.Collections.Generic;
using DataGate.Data.Models.Domain;
public partial class TbMapNavFrequencyValuation
{
public TbMapNavFrequencyValuation()
{
TbCalendar = new HashSet<TbCalendar>();
}
publ... |
src/ConsoleAppFramework/ConsoleAppEngine.cs | epsilonGtMyon/ConsoleAppFramework | 0 | 7025837 | <reponame>epsilonGtMyon/ConsoleAppFramework
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Text.Json;
using System.Threading;
using System.Threading.Tasks;
namespace C... |
CFX/Sensor/Identification/IdentifiersNotRead.cs | SarumathiGetech/CFX | 52 | 7025838 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CFX.Sensor.Identification
{
/// <summary>
/// Sent by an identification device (barcode scanner, RFID reader, etc.) when the device attempts to read or interpret
/// an identifier,... |
Sources/Core/Microsoft.StreamProcessing/Operators/Afa/CompiledPartitionedAfaPipe_EventList.cs | AlgorithmsAreCool/Trill | 1 | 7025839 | <gh_stars>1-10
// *********************************************************************
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License
// *********************************************************************
using System;
using System.Collections.Generic;
using System.R... |
Assets/scripts/Familiar Scripts/FamiliarAttributes.cs | Artoriasakabls/BB1 | 0 | 7025840 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FamiliarAttributes
{
public string FamiliarName;
public Sprite FamiliarSprite;
public enum Growthtype { Fast, Normal, LateBloomer }; // 1 = Fast; 2= Normal; 3 = Late Bloomer
public enum FamiliarRarity { Common... |
ZptSharp.Abstractions/Metal/MacroNotFoundException.cs | csf-dev/ZPT-Sharp | 1 | 7025841 | <filename>ZptSharp.Abstractions/Metal/MacroNotFoundException.cs
using System;
namespace ZptSharp.Metal
{
/// <summary>
/// Thrown when a 'use-macro' attribute indicates that a macro should be used, but the macro to use cannot be found.
/// </summary>
[System.Serializable]
public class MacroNotFoundE... |
src/linker/Linker/XmlDependencyRecorder.cs | jonfortescue/linker | 0 | 7025842 | //
// Tracer.cs
//
// Copyright (C) 2017 Microsoft Corporation (http://www.microsoft.com)
//
// 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 limit... |
V.1.0.8/EclipsePOS.WPF.SystemManager/EclipsePOS.WPF.SystemManager.Data/organizationDataSet.Designer.cs | naushard/EclipsePOS | 7 | 7025843 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
07_For Loop - Lab/11_Clever_Lily/Program.cs | NeSh74/Programing-Basic-CSharp-October-2020 | 0 | 7025844 | using System;
namespace _11_Clever_Lily
{
class Program
{
static void Main(string[] args)
{
int age = int.Parse(Console.ReadLine());
double washmachine = double.Parse(Console.ReadLine());
double toysPrice = double.Parse(Console.ReadLine());
doubl... |
src/Uno.UI/Mock/ElementStub.wasm.cs | AlexTrepanier/Uno | 2 | 7025845 | <reponame>AlexTrepanier/Uno
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Windows.UI.Xaml
{
public partial class ElementStub
{
FrameworkElement MaterializeContent() => throw new NotImplementedException();
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.