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/PostmanSchema/Response/PostmanResponse.cs | donalfenwick/Swashbuckle.SwaggerToPostman | 1 | 7062223 | <reponame>donalfenwick/Swashbuckle.SwaggerToPostman
using Swashbuckle.SwaggerToPostman.PostmanSchema.Request;
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Swashbuckle.SwaggerToPostman.PostmanSchema.Response
{
[DataContract]
public class PostmanResponse
{
/// <sum... |
TestSuites/BranchCache/src/MS-PCHC/Shared/PchcStack/DecodeMessage.cs | Grom-Li/WindowsProtocolTestSuites | 332 | 7062224 | <gh_stars>100-1000
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Protocols.TestTools.StackSdk.BranchCache.Pchc
{
using System;
using Microsoft.Protocols.TestTools.StackSdk.BranchCache.P... |
Plugins/NullPopPoSpecial/src/SceneInfo.cs | NullPopPoLab/PluggableVR_Unity | 0 | 7062225 | <filename>Plugins/NullPopPoSpecial/src/SceneInfo.cs
/*! @file
@brief NullPopPoSpecial: シーン情報
@author NullPopPoLab
@sa https://github.com/NullPopPoLab/NullPopPoSpecial
*/
using System;
using System.Collections.Generic;
using UnityEngine.SceneManagement;
namespace NullPopPoSpecial
{
public class SceneRe... |
Tests/Domain.UnitTests/Collecting/Wishlists/WishlistTests.cs | CarloMicieli/dotnetcore-clean-architecture | 1 | 7062226 | using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using NodaTime;
using TreniniDotNet.Domain.Collecting.Shared;
using TreniniDotNet.SharedKernel.Slugs;
using TreniniDotNet.TestHelpers.SeedData.Catalog;
using TreniniDotNet.TestHelpers.SeedData.Collecting;
using Xunit;
namespace TreniniDotNet.... |
SRP_DAL/SRPGlobalSettingsHelper.cs | iafb/greatreadingadventure | 0 | 7062227 | <reponame>iafb/greatreadingadventure<filename>SRP_DAL/SRPGlobalSettingsHelper.cs
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using Microsoft.ApplicationBlocks.Data;
using GRA.SRP.Core.Utilities;
namespace SRPApp.Classes
{
[Serial... |
tests/Website.Tests/TaskExtensions.cs | martincostello/website | 9 | 7062228 | // Copyright (c) <NAME>, 2016. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.Website;
internal static class TaskExtensions
{
public static async Task<T2> ThenAsync<T1, T2>(this Task<T1> value, Func<T1... |
Assets/Scripts/ChangeMusic.cs | Brutalibre/GGJ2021 | 0 | 7062229 | <reponame>Brutalibre/GGJ2021<filename>Assets/Scripts/ChangeMusic.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ChangeMusic : MonoBehaviour {
public bool inMenu = true;
void Start() {
AudioManager.instance.ChangeScene(inMenu);
}
}
|
Source/Core/System/DefaultAction.cs | corranrogue9/FxCore | 0 | 7062230 | namespace System
{
/// <summary>
/// Contains singletons for pre-defined <see cref="Action"/>s
/// </summary>
/// <threadsafety static="true"/>
public static class DefaultAction
{
/// <summary>
/// A singleton <see cref="Action"/> that has no side-effects
/// <... |
src/SFA.DAS.Activities.Jobs.Common/Infrastructure/AdHoc/TriggeredJob.cs | SkillsFundingAgency/das-activities | 1 | 7062231 | using System;
using System.Reflection;
using Microsoft.Azure.WebJobs;
namespace SFA.DAS.Activities.Jobs.Common.Infrastructure.AdHoc
{
public class TriggeredJob
{
public Type ContainingClass { get; set; }
public MethodInfo InvokedMethod { get; set; }
public string FullName => $"{Contain... |
test/Halcyon.Tests/ObjectExtensionTests.cs | Lutando/halcyon | 80 | 7062232 | <filename>test/Halcyon.Tests/ObjectExtensionTests.cs<gh_stars>10-100
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Halcyon.Tests.HAL.Models;
using Xunit;
namespace Halcyon.Tests {
public class ObjectExtensionT... |
FlashMastersEnemyAi.cs | shanjohnkj/ShanJohn_Programming_Portfolio | 0 | 7062233 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class EnemyAi : MonoBehaviour
{
public bool destroyBool = false;
public Enemy_Destroy enemy_Destroy_Script;
public Collider Main_Collider;
public Collider[] All_Colliders;
Vecto... |
OlapExplorer/src/OlapExplorer/Controllers/Olap/RemoteBindController.cs | GrapeCity/ComponentOne-ASPNET-MVC-Samples | 3 | 7062234 | <reponame>GrapeCity/ComponentOne-ASPNET-MVC-Samples
using C1.Web.Mvc;
using C1.Web.Mvc.Serialization;
using OlapExplorer.Models;
using System.Linq;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
namespace OlapExplorer.Controllers.Olap
{
partial class OlapController : Controller
{
pr... |
external/source/Scanner/smb/SharpCifs.shack2.SmbClient/Dcerpc/DcerpcBinding.cs | 0x727/metasploit-framework | 1 | 7062235 | <filename>external/source/Scanner/smb/SharpCifs.shack2.SmbClient/Dcerpc/DcerpcBinding.cs<gh_stars>1-10
using System;
using SharpCifs.Dcerpc.Msrpc;
using SharpCifs.Util.Sharpen;
namespace SharpCifs.Dcerpc
{
// Token: 0x020000DE RID: 222
public class DcerpcBinding
{
// Token: 0x06000768 RID: 1896 RVA: 0x0... |
FsxWebApi/FsxWebApi/App_Start/WebApiStarter.cs | Krzyrok/FsxWebApi | 0 | 7062236 | namespace FsxWebApi
{
using System;
using System.Web.Http.SelfHost;
public static class WebApiStarter
{
public static void StartServer(HttpSelfHostConfiguration configuration)
{
using (var server = new HttpSelfHostServer(configuration))
{
server.... |
StkUiPlugins/CSharp/OperatorsToolBox/Stk12.OperatorsToolBox/OperatorsToolbox/AppPreferences.cs | ningwersen/STKCodeExamples | 78 | 7062237 | <filename>StkUiPlugins/CSharp/OperatorsToolBox/Stk12.OperatorsToolBox/OperatorsToolbox/AppPreferences.cs
using System.Collections.Generic;
namespace OperatorsToolbox
{
public class AppPreferences
{
//Plugin toolbar config
public List<int> PluginConfigList;
//Event Type Data
pub... |
Centipede/API/Common/IBaseAPI.cs | qinxg/ExchangeSharp | 0 | 7062238 | using System;
using System.Collections.Generic;
using System.Security;
using System.Threading.Tasks;
namespace Centipede
{
/// <summary>
/// Base interface for all API implementations
/// </summary>
public interface IBaseAPI : INamed
{
#region Properties
/// <summary>
/// O... |
VROOM/Models/Violation.cs | calebfaith/VROOM.NET | 3 | 7062240 | using System;
using System.Text.Json.Serialization;
namespace VROOM
{
public class Violation
{
/// <summary>
/// The cause of the violation.
/// </summary>
[JsonPropertyName("cause")]
public ViolationCause Cause { get; set; }
[JsonPropertyName("duration... |
MipsSharp/Extensions/IEnumerableExtensions.cs | kskjer/MipsSharp | 3 | 7062241 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MipsSharp
{
public static class IEnumerableExtensions
{
public static IEnumerable<T> ToIEnumerable<T>(this IEnumerator<T> enumerator)
{
while (enumerator.Mo... |
src/Build.UnitTests/BackEnd/DebugUtils_tests.cs | xen2/msbuild | 509 | 7062242 | <gh_stars>100-1000
// 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.IO;
using System.Linq;
using Microsoft.Build.Shared;
using Shouldly;
using Xunit;
namespace Microsoft.Build.UnitTests
{
... |
Tests_IAGrim/SessionFactory.cs | MartinRohrbach/iagd | 0 | 7062243 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using NHibernate;
using NHibernate.Cfg;
using NHibernate.Tool.hbm2ddl;
using log4net;
using IAGrim.Utilities;
using System.Security.Permissions;
using System.Security;
namespace IAGrim.Tests... |
src/Clients/DesktopClient/Common/Dialog.cs | catarina/SC2LiquipediaStatistics | 3 | 7062244 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using FirstFloor.ModernUI.Windows.Controls;
namespace SC2LiquipediaStatistics.DesktopClient.Common
{
public static class Dialog
... |
BlazorWeather/Pages/Home/WeatherStat.cs | bhogiraju/BlazorWeather | 228 | 7062245 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BlazorWeather.Pages.Home
{
public enum WeatherStat
{
Temperature,
RelativeHumidity,
WindSpeed
}
}
|
Koszyk/ViewComponents/CartQuantity.cs | miloszkulesza/Koszyk | 0 | 7062246 | <reponame>miloszkulesza/Koszyk
using Koszyk.Controllers;
using Koszyk.Helpers;
using Koszyk.Models;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Koszyk.ViewComponents
{
public class CartQuantity : ViewComponent
{
... |
Prompton/Yaml/Converters/RegexConverter.cs | DanBiscotti/Prompton | 0 | 7062247 | <gh_stars>0
using System.Text.RegularExpressions;
using YamlDotNet.Core;
using YamlDotNet.Core.Events;
using YamlDotNet.Serialization;
namespace Prompton.Yaml.Converters;
public class RegexConverter : IYamlTypeConverter
{
public bool Accepts(Type type)
{
return type == typeof(Regex);
}
publi... |
Assets/_Scripts/Sensors/Senses/Perspective.cs | Guityyo/minerparty | 0 | 7062248 | using UnityEngine;
using System.Collections;
public class Perspective : Sense
{
public int FieldOfView = 45;
public int ViewDistance = 100;
private Transform playerTrans;
private Vector3 rayDirection;
protected override void Initialise()
{
playerTrans = GameObject.FindGameObjectWithT... |
api/trunk/CACI.Tests/Web/Controllers/User/UniqueUserControllerTest.cs | DPD-30/devStack | 0 | 7062249 | using CACI.BAL;
using CACI.Web.Controllers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
namespace CACI.Tests.Web.Controllers.User
{
[TestClass]
public class UniqueUserControllerTest
{
private readonly Mock<IUserService> _mockService = new Mock<IUserService>();
... |
Mustern/core-releases-v1.3/OsmSharp.Osm/Data/KeyGenerator.cs | fakit/OSM-AutoCAD | 0 | 7062250 | // OsmSharp - OpenStreetMap (OSM) SDK
// Copyright (C) 2013 <NAME>
//
// This file is part of OsmSharp.
//
// OsmSharp is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 2 of the License, or
/... |
samples/MvcView/MvcView/Views/Helper/Custom.cshtml | nodashin/MvcTraning | 0 | 7062251 | <gh_stars>0
@*@using MvcView.Helpers;*@
@{
ViewBag.Title = "Custom";
}
<h2>Custom</h2>
@MyHelper.Mailto("<EMAIL>", "連絡したい")
@Html.Image("~/Content/wings.jpg", "WINGSプロジェクト")
@Html.Video("~/Content/toy.mp4",
new { loop = "loop", width = 300, height = 300 })
|
src/Magellan/Controls/Conventions/IFieldConvention.cs | CADbloke/magellan-framework | 0 | 7062252 | namespace Magellan.Controls.Conventions
{
/// <summary>
/// Implemented by objects which can take information about a field and infer settings about it.
/// </summary>
public interface IFieldConvention
{
/// <summary>
/// Configures the field using all of the information in ... |
src/Spear.Core/Micro/Implementation/MicroClient.cs | ohngahng/spear | 1 | 7062253 | using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using Spear.Core.Message;
using System;
using System.Collections.Concurrent;
using System.Threading.Tasks;
namespace Spear.Core.Micro.Implementation
{
/// <summary> 默认服务客户端 </summary>
public class MicroClient : IMicroClient, IDisposable
{
... |
Simple.Xml/Simple.Xml.Dynamic.UnitTests/DynamicElementTests.cs | baks/Simple.Xml | 0 | 7062254 | using System;
using NSubstitute;
using Ploeh.AutoFixture.Idioms;
using Simple.Xml.Structure;
using Simple.Xml.Structure.Constructs;
using Xunit;
namespace Simple.Xml.Dynamic.UnitTests
{
public class DynamicElementTests
{
private readonly IElementContainer element;
private readonly dynamic sut;... |
EasyGradeManager/Controllers/HTML/HomeController.cs | kianschmalenbach/easygrademanager | 0 | 7062255 | using EasyGradeManager.Models;
using EasyGradeManager.Static;
using System;
using System.Web.Mvc;
using static EasyGradeManager.Static.Initialize;
using static EasyGradeManager.Static.Webpage;
namespace EasyGradeManager.Controllers
{
public class HomeController : Controller
{
public ActionResult Detai... |
test/FunctionalTests/Taupo/Source/Taupo.Astoria/EntityModel/AstoriaAttributeToPropertyMappingAnnotationConverter.cs | Sreejithpin/odata.net | 629 | 7062256 | //---------------------------------------------------------------------
// <copyright file="AstoriaAttributeToPropertyMappingAnnotationConverter.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//... |
uter.tuwienscrm.authtwitter/Repository/CRMConnection.cs | Uter1007/socialmscrm | 2 | 7062257 | <filename>uter.tuwienscrm.authtwitter/Repository/CRMConnection.cs<gh_stars>1-10
using System;
using System.ServiceModel.Description;
using Microsoft.Xrm.Sdk;
using Microsoft.Xrm.Sdk.Client;
namespace uter.tuwien.authservice.Repository
{
public class CRMConnection
{
private static NLog.Logger ... |
src/ObjectManager/Other/Windows/NativeMethods.cs | BclEx/object-assets | 2 | 7062258 | using Microsoft.Win32.SafeHandles;
using System;
using System.IO;
using System.Runtime.InteropServices;
namespace OA.Core.Windows
{
public delegate IntPtr WndProcHandler(IntPtr hWnd, uint msg, IntPtr wParam, IntPtr lParam);
class NativeMethods
{
//#if WINDOWS
// [DllImport("Kernel32")]... |
src/Dapper.Razor.Demo/Configuration/SqlServerOptions.cs | matjazbravc/Dapper.Razor.Demo | 1 | 7062259 | namespace Dapper.Razor.Demo.Configuration
{
public class SqlServerOptions : ISqlServerOptions
{
public string SqlServerConnection { get; set; }
public string ProductsTableName { get; set; }
}
}
|
RagnarsRokare.Factions/Patches/Sign_patches.cs | di98feja/JotunnModStub | 0 | 7062260 | <reponame>di98feja/JotunnModStub
using HarmonyLib;
using RagnarsRokare.MobAI;
using System;
using System.Linq;
using UnityEngine;
namespace RagnarsRokare.Factions.Patches
{
public static class Sign_patches
{
[HarmonyPatch(typeof(Sign), nameof(Sign.GetHoverText))]
static class Sign_GetHoverText... |
SdvCode/SdvCode/Areas/Administration/Services/DeleteChatSticker/DeleteChatStickerService.cs | biproberkay/SdvCodeWebsite | 37 | 7062261 | // Copyright (c) SDV Code Project. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace SdvCode.Areas.Administration.Services.DeleteChatSticker
{
using System;
using System.Collections.Generic;
using System.Linq;
using Sys... |
src/Urho3DNet.MVVM/ButtonView.cs | gleblebedev/Urho3DNet.Extras | 1 | 7062262 | <reponame>gleblebedev/Urho3DNet.Extras
using System.Windows.Input;
using Urho3DNet.MVVM.Binding;
namespace Urho3DNet.MVVM
{
public partial class ButtonView
{
#region Property Command
public static readonly DirectProperty<ButtonView, ICommand> CommandProperty =
UrhoProperty.Registe... |
InFurSec.Devices.PoolTable/StartupTask.cs | TCFox/InFurSec.Devices.PoolTable | 0 | 7062263 | <reponame>TCFox/InFurSec.Devices.PoolTable
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Http;
using System.Threading;
using Windows.ApplicationModel.Background;
using IotWeb.Server;
using IotWeb.Common.Util;
using IotWeb.Common.Http;
using System.Reflection;
/... |
DumpDiag.Tests/RingBufferTests.cs | kevin-montrose/DumpDiag | 1 | 7062264 | using DumpDiag.Impl;
using DumpDiag.Tests.Helpers;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Xunit;
namespace DumpDiag.Tests
{
public class RingBufferTests
{
public static IEnumerable<object[]> ReadSizeParameters
{
... |
src/Rxmxnx.PInvoke.Extensions.Tests/TestUtilities.cs | josephmoresena/PInvoke.Extensions | 1 | 7062265 | using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using AutoFixture;
namespace Rxmxnx.PInvoke.Extensions.Tests
{
internal delegate T GetValue<T>(T value);
internal delegate Byte GetByteVa... |
src/JetBrains.Space.Client/Generated/Partials/CodeReviewParticipantPartialBuilder.generated.cs | PatrickRatzow/space-dotnet-sdk | 0 | 7062266 | // ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ---------------------------------------... |
DataTypes/TimeSinceBirthday/Program.cs | NikolaVodenicharov/ProgrammingFundamentalsExtended | 0 | 7062267 | <reponame>NikolaVodenicharov/ProgrammingFundamentalsExtended<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TimeSinceBirthday
{
//Write program to enter an integer number of years and convert it to days, hours and minutes.
... |
Infrastructure/DRMFSS.Shared/StringResourcesDALC.cs | ndrmc/cats-hub | 0 | 7062268 | using System;
using System.Data.SqlClient;
using System.Collections.Specialized;
using System.Globalization;
using System.Threading;
using System.Data;
using System.Runtime.CompilerServices;
using System.Configuration;
namespace DRMFSS.Shared
{
/// <summary>
/// Data access component for the StringResources ta... |
Ramsey.NET.Auto/Implementations/RamseyAuto.cs | jollescott/FeedMe.Backend | 0 | 7062269 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using HtmlAgilityPack;
using MoreLinq.Extensions;
using Ramsey.Core;
using Ramsey.NET.Auto.Extensions;
using ... |
src/ThisNetWorks.OrchardCore.OpenApi.Abstractions/Options/OpenApiQueriesApiOptions.cs | kast-cloud/ThisNetWorks.OrchardCore.OpenApi | 12 | 7062270 | namespace ThisNetWorks.OrchardCore.OpenApi.Options
{
public class OpenApiQueriesApiOptions
{
public bool AlterPathSchema { get; set; } = true;
public string PostOperationId { get; set; } = "Api_Query_Post";
public string GetOperationId { get; set; } = "Api_Query_Get";
public str... |
GluePlugin/Converters/VariableGroupDictionary.cs | gitter-badger/Gum | 23 | 7062271 | using FlatRedBall.Content.Instructions;
using FlatRedBall.Glue.SaveClasses;
using Gum.DataTypes.Variables;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GluePlugin.Converters
{
public class GlueVariableData
{
public Instru... |
Source/VFECore/VFECore/HarmonyPatches/GenStep_Terrain_TerrainFrom_Patch.cs | AndroidQuazar/VanillaFactionsExpanded-Core | 2 | 7062272 | <reponame>AndroidQuazar/VanillaFactionsExpanded-Core<gh_stars>1-10
using HarmonyLib;
using RimWorld;
using Verse;
namespace VFECore
{
[HarmonyPatch(typeof(GenStep_Terrain), "TerrainFrom")]
public static class GenStep_Terrain_TerrainFrom_Patch
{
public static void Postfix(Map map, ref TerrainDef __... |
Seatown.Data/Repositories/IRepository.cs | KevinWiener/Seatown.Data | 0 | 7062273 | using System;
using Seatown.Data.Validation;
namespace Seatown.Data.Repository
{
public interface IRepository<T>
{
IValidationResult[] Delete(params T[] objects);
IValidationResult[] Exists(params T[] objects);
T[] Load();
T[] Load(object filter);
IValidationResult[] Sa... |
Demo1/Sources/TestSupport/api/BlogController.cs | thomasbruggink/isks | 0 | 7062274 | <reponame>thomasbruggink/isks<filename>Demo1/Sources/TestSupport/api/BlogController.cs
using System.Net;
using System.Net.Http;
using System.Web.Http;
using Business.Repositories;
namespace TestSupport.api
{
public class BlogController : ApiController
{
private readonly UserRepository _userRepository;... |
sample/main/Blog-Service-Contract/IBlogService.cs | ialekseev/Antler | 4 | 7062276 | using System.Collections.Generic;
using Blog.Service.Contract.Dto;
namespace Blog.Service.Contract
{
public interface IBlogService
{
int? CreateUser(CreatedUserDto userDto);
UserDto FindUserByName(string name);
PostDto GetPost(int postId);
IList<PostDto> GetAllPosts();
... |
ical.NET/DataTypes/PeriodList.cs | jhsowter/ical.net | 3 | 7062277 | using System.Collections;
using System.Collections.Generic;
using System.IO;
using Ical.Net.Evaluation;
using Ical.Net.Interfaces.DataTypes;
using Ical.Net.Interfaces.General;
using Ical.Net.Serialization.iCalendar.Serializers.DataTypes;
namespace Ical.Net.DataTypes
{
/// <summary>
/// An iCalendar list of rec... |
backend/src/Application/Projects/CommandQuery/Update/UpdateProjectCommand.cs | BinaryStudioAcademy/bsa-2021-scout | 0 | 7062278 | <reponame>BinaryStudioAcademy/bsa-2021-scout<filename>backend/src/Application/Projects/CommandQuery/Update/UpdateProjectCommand.cs
using Application.Common.Commands;
using Application.ElasticEnities.Dtos;
using Application.Projects.Dtos;
using AutoMapper;
using Domain.Entities;
using Domain.Interfaces.Abstractions;
us... |
Mapping/CommandBlockFlags.cs | IsaacJuracich/Replay-MCBot | 0 | 7062279 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MinecraftClient.Mapping
{
/// <summary>
/// Represents a unit movement in the world
/// </summary>
/// <see href="http://minecraft.gamepedia.com/Coordinates"/>
public enum CommandBlockFlags
... |
Assets/CristianoRonaldo/Crirona/CrironaServer.cs | hiro-yd/AR-Shoothing | 0 | 7062280 | <gh_stars>0
using System;
using UnityEngine;
using UnityEngine.Networking;
public class CrironaServer : NetworkDiscovery
{
public CrironaNet networkManager;
public BroadcastData broadcastDataObject;
public bool isOpen { get { return broadcastDataObject.isOpen; } set { broadcastDataObject.isOpen = value; }... |
Solution.Base/Controllers/FaqController.cs | davidikin45/DigitalNomadDave | 0 | 7062281 | <filename>Solution.Base/Controllers/FaqController.cs
using AutoMapper;
using Solution.Base.Alerts;
using Solution.Base.Helpers;
using Solution.Base.Implementation.DTOs;
using Solution.Base.Interfaces.Logging;
using Solution.Base.Interfaces.Services;
using Solution.Base.ModelMetadata;
using System;
using System.Collect... |
Assets/Script/Update/UpdateIndicatorUI.cs | oviebd/Immune-System | 1 | 7062282 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UpdateIndicatorUI : PanelBase
{
public static UpdateIndicatorUI instance;
[SerializeField] private Text _updateStatus;
[SerializeField] private Image _filledIndicatorImage;
[SerializeField] private Te... |
fontes/so-sysacad/wf-sysacad/frmCursosPesquisa.cs | cassiocamargos/SYSACAD | 1 | 7062284 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using cl_regras;
using cl_modelos;
namespace wf_sysacad
{
public partial class frmCursosPesquisa : ... |
Amaranth.Engine.Tests/RollerFixture.cs | LambdaSix/Amaranth | 92 | 7062285 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Amaranth.Engine;
namespace Amaranth.Engine.Tests
{
[TestFixture]
public class RollerFixture
{
#region Parse
[Test]
public void Tes... |
07_ZooTask/P02_Zoo/Constants/Messages/ErrorMessages.cs | Statev7/CSharp-OOP-Course | 0 | 7062286 | <reponame>Statev7/CSharp-OOP-Course
namespace P02_Zoo.Constants.Messages
{
public static class ErrorMessages
{
public const string INVALID_AGE = "Age cannot be zero or negative!";
public const string NULL_NAME = "Name cannot be null or empty!";
public const string NAME_LENGHT = "The n... |
TestProject/Code/NestedTestModule.cs | Keswiik/juicy | 1 | 7062287 | <reponame>Keswiik/juicy
using Juicy.Inject.Injection;
using System;
using System.Collections.Generic;
using System.Text;
namespace TestProject.Code {
internal class NestedTestModule : AbstractModule {
public override void Configure() {
Bind<int>() //
.Named("Num1") //
... |
ReMi.Api/DataAccess/ReMi.DataAccess/Helpers/DatabaseAdapter.cs | vishalishere/remi | 1 | 7062288 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using ReMi.Common.Utils.Repository;
namespace ReMi.DataAccess.Helpers
{
public class DatabaseAdapter : IDatabaseAdapter
{
public IUnitOfWork UnitOfWork { get; set; }
public List<List<... |
Aplikacija/KonacniProjekat/Pages/TuraIzmeni.cshtml | aleksija16/ONT | 2 | 7062289 | @page
@model KonacniProjekat.TuraIzmeniModel
@{
ViewData["Title"] = "Izmeni turu";
}
<div class="text-center">
<h2 class="display-4">Izmena ture: @Model.OvaTura.NazivTure</h2>
</div>
<nav aria-label="Page navigation">
<ul class="pagination">
<li class="page-item"><a class="page-link" asp-page="./T... |
Rich.HaoDanKu/Client/HaoDanKuClient.cs | Jesn/Rich.HaoDanKu | 0 | 7062290 | <filename>Rich.HaoDanKu/Client/HaoDanKuClient.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
using Rich.HaoDanKu.Extensions;
using Rich.HaoDanKu.Parser;
namespace Rich.HaoDanKu
{
public class HaoDanKuClient :... |
kdyf.umbraco9.headless/Services/UmbracoMetaPropertyResolverService.cs | kreadyf/kdyf.umbraco.headless | 0 | 7062291 |
using kdyf.umbraco9.headless.Interfaces;
using Slugify;
using Umbraco.Cms.Core.Models.PublishedContent;
using Umbraco.Extensions;
namespace kdyf.umbraco9.headless.Services
{
public class UmbracoMetaPropertyResolverService : IMetaPropertyResolverService<IPublishedContent>
{
private static SlugHelper s... |
Doraemon.Services/PromotionServices/PromotionService.cs | That-One-Nerd/Doraemon | 0 | 7062292 | <filename>Doraemon.Services/PromotionServices/PromotionService.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Doraemon.Data;
using Discord.WebSocket;
using Doraemon.Services.Core;
using Doraemon.Common;
using Doraemon.Data.Models.Promotion;
... |
CSharp/Method/ReturnVoid.cs | piovezan/SOpt | 148 | 7062293 | using static System.Console;
public class Program {
public static void Main() {
WriteLine("Digite um numero: ");
var numero = ReadLine();
WriteLine("Digite uma letra: (opcional)");
var letra = ReadLine();
WriteLine("O resultado é");
MostraNaTela(numero, letra);
}
... |
src/Nvelope/IO/CommandInterpreter.cs | jeremiahredekop/Nvelope | 0 | 7062294 | <reponame>jeremiahredekop/Nvelope<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Reflection;
using Nvelope.Reflection;
using Nvelope.Collections;
namespace Nvelope.IO
{
public class CommandInterpreter
{
public... |
cs/contrib/unity/Assets/Scripts/PomeloClient.cs | capellaresumo/libpitaya | 126 | 7062295 | <reponame>capellaresumo/libpitaya<gh_stars>100-1000
/**
* Copyright (c) 2014-2015 NetEase, Inc. and other Pomelo contributors
* MIT Licensed.
*/
using UnityEngine;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UnityThreading;
//________________________________________... |
Yoga.Net.Tests/Functional/YGFlexTest.cs | NZMob/Yoga.Net | 4 | 7062296 | using NUnit.Framework;
using static Yoga.Net.YogaGlobal;
namespace Yoga.Net.Tests
{
[TestFixture]
public class YGFlexTest
{
[Test]
public void flex_basis_flex_grow_column()
{
YogaConfig config = YGConfigNew();
YogaNode root = YGNodeNewWithConfig(config);
... |
src/SDL2Net/Input/Events/KeyPressEvent.cs | italodirenzo93/SDL2.NET | 1 | 7062297 | <gh_stars>1-10
using SDL2Net.Events;
namespace SDL2Net.Input.Events
{
public class KeyPressEvent : Event
{
public Key Key { get; internal set; }
public bool IsRepeat { get; internal set; }
public ButtonState KeyState { get; internal set; }
}
} |
BookApi.Client/Models/Author.cs | AngelaE/open-api-netcore6-swashbuckle | 0 | 7062298 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace BookApi.Models
{
/// <summary> The Author. </summary>
public partial class Author
{
/// <summary> Initializes a new instance of Author. </su... |
BlogMvcApp/BlogMvcApp/Controllers/HomeController.cs | HuseynHuseynzade/BlogApplicationMVC | 0 | 7062299 | using BlogMvcApp.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace BlogMvcApp.Controllers
{
public class HomeController : Controller
{
private BlogContext context = new BlogContext();
// GET: Home
public ActionR... |
Source/EasyNetQ/Producer/IPublishConfirmationListener.cs | crookedbard/EasyNetQ | 0 | 7062300 | using System;
using RabbitMQ.Client;
namespace EasyNetQ.Producer;
/// <summary>
/// A listener of publish confirmations
/// </summary>
public interface IPublishConfirmationListener : IDisposable
{
/// <summary>
/// Creates pending confirmation for a next publish
/// </summary>
/// <param name="model">... |
Services/Order/Course.Services.Order.API/Controllers/OrdersController.cs | mustafafindik/CourseMicroservices | 0 | 7062301 | <reponame>mustafafindik/CourseMicroservices<gh_stars>0
using Course.Services.Order.Application.Commands;
using Course.Services.Order.Application.Queries;
using Course.Shared.Services;
using MediatR;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using S... |
Web/BestPaws.Web/Controllers/TreatmentsController.cs | mplachkova/BestPaws | 1 | 7062302 | <gh_stars>1-10
namespace BestPaws.Web.Controllers
{
using BestPaws.Services.Data;
using BestPaws.Web.ViewModels.Treatments;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
public class TreatmentsController : BaseController
{
private readonly ITreatmentsService... |
samples/apps/Hanselman.Forms/src/Hanselman/Models/Book.cs | moljac/Samples.AndroidX | 676 | 7062303 | <gh_stars>100-1000
using Xamarin.Forms;
namespace Hanselman.Models
{
public class Book
{
public ImageSource? ArtSource { get; set; }
public string? Art { get; set; }
public string? Url { get; set; }
}
}
|
src/SFA.DAS.Activities/IntegrityChecker/FixLogging/FixActionLoggerItem.cs | SkillsFundingAgency/das-activities | 1 | 7062304 | <reponame>SkillsFundingAgency/das-activities<gh_stars>1-10
using System;
using System.Collections.Generic;
using SFA.DAS.Activities.IntegrityChecker.Dto;
namespace SFA.DAS.Activities.IntegrityChecker.FixLogging
{
public class FixActionLoggerItem
{
private readonly List<FixActionHandlerLoggerItem> _han... |
yycms.entity/yy_SysError.cs | fasrcow/yycms | 80 | 7062305 | <reponame>fasrcow/yycms
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码已从模板生成。
//
// 手动更改此文件可能导致应用程序出现意外的行为。
// 如果重新生成代码,将覆盖对此文件的手动更改。
// </auto-generated>
//------------------------------------------------------------------------------
namespace ... |
src/ClearScript.Manager.Http/Packages/HttpPackageHelpers.cs | yuzd/ClearScript.Manager | 247 | 7062306 | using JavaScript.Manager.Loaders;
namespace JavaScript.Manager.Http.Packages
{
/// <summary>
/// Helpers for registering packages.
/// </summary>
public static class HttpPackageHelpers
{
/// <summary>
/// Registers packages needed for using the request include.
/// </summar... |
Opserver/Views/Elastic/Cluster.Indices.cshtml | michaelholzheimer/Opserver | 1 | 7062307 | @using StackExchange.Opserver.Views.Elastic
@model DashboardModel
@{
Layout = null;
var clusters = Model.Clusters.Where(c => c.HealthStatus.Data != null && c.HealthStatus.Data.Indices.Any()).ToList();
}
@foreach (var c in clusters.OrderByWorst())
{
@Html.Partial("Indices", new DashboardModel {
Curr... |
GZipFileCompressor/Decompress.cs | vladimir-shmidt/GZipFileCompressor | 1 | 7062308 | <filename>GZipFileCompressor/Decompress.cs
using System.IO;
using System.IO.Compression;
namespace GZipFileCompressor
{
public class Decompress : IOperation
{
private readonly int _blockLenght;
public Decompress(int blockLenght)
{
_blockLenght = blockLenght;
}
... |
Shapes/Shapes/WCircle.cs | WithoutHaste/WithoutHaste.Drawing.Shapes | 0 | 7062310 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WithoutHaste.Drawing.Shapes
{
/// <summary>
/// A circle shape. Immutable.
/// </summary>
public class WCircle : WShape, IDraw//, IClosedFigure
{
/// <summary></su... |
(CSharp)/3) MVP Pattern/ModelViewPresenter/Presentador/PresentadorOperaciones.cs | zherar7ordoya/AP3 | 0 | 7062311 | <filename>(CSharp)/3) MVP Pattern/ModelViewPresenter/Presentador/PresentadorOperaciones.cs<gh_stars>0
using Modelo;
namespace Presentador
{
public class PresentadorOperaciones
{
private readonly IVistaOperaciones _vista;
private ModeloOperaciones _modelo;
public PresentadorOperaciones(... |
dnSpy.Languages/MSBuild/WinFormsProjectFile.cs | haise0/reAtomizer | 1 | 7062312 | /*
Copyright (C) 2014-2016 <EMAIL>
This file is part of dnSpy
dnSpy is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version... |
Assets/_Project/Scripts/Game/UIScripts/RoomScreen.cs | guraysenova/NOTDungeonDiceMonsters | 0 | 7062313 | <reponame>guraysenova/NOTDungeonDiceMonsters
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class RoomScreen : MonoBehaviour
{
[SerializeField]
GameObject nameGO;
[SerializeField]
List<GameObject> playerNameGOs = new List<GameOb... |
SpoopyBloqs/Plugin.cs | DeadlyKitten/SpoopyBloqs | 0 | 7062314 | using IPA;
using UnityEngine.SceneManagement;
using IPALogger = IPA.Logging.Logger;
using Harmony;
using System.Reflection;
namespace SpoopyBloqs
{
public class Plugin : IBeatSaberPlugin
{
public static bool IsEnabled = false;
internal static HarmonyInstance harmony;
public void Init(... |
wrappers/C#/VSCsharp/unit_constants.cs | perrante/coolprop | 12 | 7062315 | /* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 2.0.8
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------... |
Services/StaffService.cs | sammyach/hrisAPI | 0 | 7062316 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebApi.Data;
namespace WebApi.Services
{
public interface IStaffService
{
Task<Staff> FindStaffByUsernameAsync(string username);
}
public class StaffService : IStaffService
{
priv... |
DataCentre/DataCentreWebServer/DataCentreWebServer/MachineLearning/MovieParser.cs | ConnorDickson/FinalYearProject | 0 | 7062317 | namespace DataCentreWebServer.MachineLearning
{
//Parses movies
public class MovieParser
{
/// <summary>
/// Converts an array of raw movie strings to an equivilant array of Movie objects
/// </summary>
/// <param name="rawMovies"></param>
/// <returns></returns>
... |
App/AssignmentsManager/AssignmentsManager/Data/DbFunctions.cs | fabianmuscat/Assignment-Manager | 1 | 7062318 | <reponame>fabianmuscat/Assignment-Manager
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Data.SqlClient;
using Microsoft.EntityFrameworkCore;
namespace AssignmentsManager.Data
{
public static class DbFunctions
{
private static readonly AssignmentsEntities Db = new();... |
mcs/errors/cs1965.cs | lefb766/mono | 469 | 7062319 | <reponame>lefb766/mono
// CS1965: Class `C' cannot derive from the dynamic type
// Line: 4
class C : dynamic
{
}
|
G1/Class 04/Notes/Notes/Models/Dto/NoteDto.cs | sedc-codecademy/skwd9-09-aspnetwebapi | 0 | 7062320 | using Notes.Models.Enums;
using System;
namespace Notes.Models.Dto
{
public class NoteDto
{
public int Id { get; set; }
public string Text { get; set; }
public string Color { get; set; }
public TagType TagType { get; set; }
public int UserId { get; set; }
public... |
src/Blueprint/Errors/ConflictException.cs | michaeldtaylor/blueprint | 8 | 7062321 | <gh_stars>1-10
using System;
namespace Blueprint.Errors
{
public class ConflictException : ApiException
{
public ConflictException(string title, string type, string detail)
: base(title, type, detail, 409)
{
}
public ConflictException(string title, string type, str... |
StatsdNet/Middleware/Service/StatsdServiceStatConstants.cs | evolutional/StatsdNet | 1 | 7062322 | namespace StatsdNet.Middleware.Service
{
public static class StatsdServiceStatConstants
{
public const string DefaultPrefix = "statsd";
public const string PacketBadFormat = "{0}.packets.bad";
public const string PacketCountFormat = "{0}.packets.count";
public const string Metric... |
src/MiningMonitor.Alerts/IScanFactory.cs | lennykean/MiningMonitor | 15 | 7062323 | using System;
using MiningMonitor.Model;
using MiningMonitor.Model.Alerts;
namespace MiningMonitor.Alerts
{
public interface IScanFactory
{
IScan CreateScan(AlertDefinition definition, Miner miner, DateTime scanTime);
}
} |
Source/Tests/Trakt.NET.Objects.Basic.Tests/Json/Writer/CastMemberArrayJsonWriter/CastMemberArrayJsonWriter_JsonWriter_Tests.cs | henrikfroehling/Trakt.NET | 39 | 7062324 | <filename>Source/Tests/Trakt.NET.Objects.Basic.Tests/Json/Writer/CastMemberArrayJsonWriter/CastMemberArrayJsonWriter_JsonWriter_Tests.cs<gh_stars>10-100
namespace TraktNet.Objects.Basic.Tests.Json.Writer
{
using FluentAssertions;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
... |
05.CSharpWeb/01.Basics/05.WebServer-CSS/WebServer/GameStoreApplication/Utilities/Templates.cs | Steffkn/SoftUni | 1 | 7062325 | namespace HTTPServer.GameStoreApplication.Utilities
{
using HTTPServer.GameStoreApplication.Models;
using HTTPServer.Server.Common;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
public class Templates
{
public static string FillTemplate(str... |
DateExpressions/DateExpressions.Generated/Infrastructure/ThrowExceptionErrorListener.cs | damian-krychowski/date-expressions | 0 | 7062326 | <gh_stars>0
using System;
using Antlr4.Runtime;
namespace DateExpressions.Generated.Infrastructure
{
public class ThrowExceptionErrorListener : BaseErrorListener, IAntlrErrorListener<int>
{
public override void SyntaxError(IRecognizer recognizer, IToken offendingSymbol, int line, int charPositionInLine, string ms... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.