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/Bechtle.A365.ConfigService/Cli/Commands/MigrationModels/MigrationReplayException.cs | bechtleav360/Maverick.ConfigService | 0 | 7057654 | <reponame>bechtleav360/Maverick.ConfigService
using System;
using System.Runtime.Serialization;
namespace Bechtle.A365.ConfigService.Cli.Commands.MigrationModels
{
/// <summary>
/// Exception indicating that some invalid operation occurred in the EventStream, which may alter the result of the Migration.
... |
Acquaintance.Tests/PubSub/PubSub.Router.Tests.cs | Whiteknight/Acquaintance | 2 | 7057655 | using FluentAssertions;
using NUnit.Framework;
namespace Acquaintance.Tests.PubSub
{
[TestFixture]
public class PubSub_Router_Tests
{
private class TestPubSubEvent
{
public int Number { get; }
public TestPubSubEvent(int number)
{
Number ... |
src/Converters/ReferenceTypeNodeToBrushConverter.cs | mattwhitfield/NetDependencyWalker | 0 | 7057656 | namespace NetDependencyWalker.Converters
{
using System;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Media;
using NetDependencyWalker.ViewModel;
public class ReferencedTypeNodeToBrushConverter : IValueConverter
{
public object Convert(object value, T... |
src/ReqToCurl/RequestToCurlMiddleware.cs | JamieKeeling/ReqToCurl | 1 | 7057657 | <filename>src/ReqToCurl/RequestToCurlMiddleware.cs<gh_stars>1-10
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using System.Threading.Tasks;
namespace ReqToCurl
{
public class RequestToCurlMiddleware
{
private readonly RequestDelegate _next;
private readonly ILogger<Requ... |
src/EventCore.AggregateRoots/AggregateRootState.cs | geteventcore/eventcore | 0 | 7057658 | <gh_stars>0
using EventCore.EventSourcing;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
namespace EventCore.AggregateRoots
{
// Basic aggregate root state implementation.
public abstract class AggregateRootState : IAggregateRootState
{
private readonly IBusinessEventRe... |
Services/MailGunEmailSettings.cs | ValleyWulf/NETCore | 7 | 7057659 | <filename>Services/MailGunEmailSettings.cs
namespace MailGun.Services
{
public class MailGunSmtpEmailSettings
{
public string SmtpHost { get; set; }
public int SmtpPort { get; set; }
public string SmtpLogin { get; set; }
public string SmtpPassword { get; set; }
publ... |
Behavior WPF/Class.cs | codingseb/MyVSItemTemplates | 0 | 7057660 | using Microsoft.Xaml.Behaviors;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Data;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;... |
src/NUnitTestAdapter/StackTraceFilter.cs | tomaszstrejczek/nunit3-vs-adapter | 0 | 7057662 | <filename>src/NUnitTestAdapter/StackTraceFilter.cs
// ***********************************************************************
// Copyright (c) 2011 <NAME>, <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software")... |
OAuth2.Example/Global.asax.cs | rafaelgpo/OAuth2 | 1 | 7057663 | using System.Reflection;
using System.Web.Mvc;
using System.Web.Routing;
using Autofac;
using Autofac.Core;
using Autofac.Integration.Mvc;
using OAuth2.Client;
using OAuth2.Configuration;
using RestSharp;
namespace OAuth2.Example
{
public class MvcApplication : System.Web.HttpApplication
{
protected v... |
NLP/TopicExtraction/LatentDirichletAllocation/TopicBrowser/LoadModel/Program.cs | oswaldor/Plume | 0 | 7057664 |
namespace Microsoft.Content.Recommendations.Common
{
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threadi... |
HCalc/HCalc/ExpressionHelper/ParseBuffer.cs | differentrain/HCalc | 4 | 7057665 | <reponame>differentrain/HCalc<gh_stars>1-10
using System;
#if USING_EXP_TREE
using System.Collections.Generic;
using System.Linq.Expressions;
#else
using System.Runtime.InteropServices;
#endif
namespace HCalc.ExpressionHelper
{
/// <summary>
/// Buffer to store parse infos.
/// </summary>
/// <remark... |
WhoisClient.NET.Test.Core20/DomainTests.cs | m4lrik/WhoisClient.NET | 23 | 7057666 | <gh_stars>10-100
using System.Threading.Tasks;
using Whois.NET;
using Xunit;
namespace WhoisClient_NET.Test
{
public class DomainTests
{
/* facebook.com, microsoft.com, google.com, yahoo.com, github.com and most all large domains use MarkMonitor which rate limits queries.
* If you are using a... |
src/Hybrid.Quartz/QuartzPack.cs | ArcherTrister/ESoftor | 0 | 7057668 | <reponame>ArcherTrister/ESoftor
using System.ComponentModel;
namespace Hybrid.Quartz
{
/// <summary>
/// Quartz模块
/// </summary>
[Description("Quartz模块")]
public class QuartzPack : QuartzPackBase
{
/// <summary>
/// 获取 模块启动顺序,模块启动的顺序先按级别启动,级别内部再按此顺序启动
/// </summary>
... |
FizzBuzz-20180222-1/BarTests.cs | jspeaker/FizzBuzz-20180222-1 | 0 | 7057669 | using FluentAssertions;
using NUnit.Framework;
namespace FizzBuzz_20180222_1
{
[TestFixture]
public class BarTests
{
[Test, Category("Unit")]
public void GivenFoo_WhenBarring_ThenItShouldBaz()
{
// arrange
// act
// assert
... |
src/HtmlToPdf/Exceptions/UpdatePdfLinksException.cs | icnocop/HtmlToPdf | 1 | 7057670 | // <copyright file="UpdatePdfLinksException.cs" company="HtmlToPdf">
// Copyright (c) HtmlToPdf. All rights reserved.
// </copyright>
namespace HtmlToPdf.Exceptions
{
using System;
using System.Collections.Concurrent;
using System.IO;
using System.Linq;
using System.Text;
using TheCodingMonkey... |
Assets/GameEngine/WallBuilder.cs | Bodzounet/Barrack | 0 | 7057671 | using System;
using UnityEngine;
namespace GameEngine
{
public class WallBuilder : MonoBehaviour
{
public const float WallWidth = 0.1f;
[SerializeField]
private Ray[] halfrays;
private Action _onComplete;
private Action _onFail;
private void Awake()
{... |
ArchPM.NetCore.Http/Notifications/MicrosoftTeams/Clients/Settings/DefaultMicrosoftTeamsLogicAppReplyMessageClientSettings.cs | tugbayatilla/ArchPM.NetCore.Http | 0 | 7057672 | <filename>ArchPM.NetCore.Http/Notifications/MicrosoftTeams/Clients/Settings/DefaultMicrosoftTeamsLogicAppReplyMessageClientSettings.cs
namespace ArchPM.NetCore.Http.Notifications.MicrosoftTeams.Clients.Settings
{
public class DefaultMicrosoftTeamsLogicAppReplyMessageClientSettings
{
public string Endpo... |
AddressDataType/AddressFormatter.cs | microposmp/OrchardCore.Commerce | 154 | 7057673 | <gh_stars>100-1000
using System;
namespace InternationalAddress
{
/// <summary>
/// A flexible address formatter that can be built with a couple format strings.
/// </summary>
public class AddressFormatter : IAddressFormatter
{
private readonly string _addressFormat;
private readonl... |
src/Serilog.Sinks.HttpLogstashEcsSink/ElasticCommonSchema/DeviceModel.cs | ehsan-maleki/serilig-logstash-ecs-sink | 0 | 7057674 | <filename>src/Serilog.Sinks.HttpLogstashEcsSink/ElasticCommonSchema/DeviceModel.cs
using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace Serilog.ElasticCommonSchema
{
[DataContract]
public class DeviceModel
{
/// <summary>
/// Name of the device.
/// type: k... |
EventManagement.Registration/EventManagement.Registration.Data/RegistrationDbContext.cs | atanas-georgiev/EventManagement | 0 | 7057675 | <filename>EventManagement.Registration/EventManagement.Registration.Data/RegistrationDbContext.cs
namespace EventManagement.Registration.Data
{
using EventManagement.Registration.Data.Models;
using Microsoft.EntityFrameworkCore;
public class RegistrationDbContext : DbContext
{
public Registra... |
SageFrame.Core/Services/Minifiers/JsMinifier.cs | Sageframe/Sageframe | 22 | 7057677 | <reponame>Sageframe/Sageframe
#region "Copyright"
/*
FOR FURTHER DETAILS ABOUT LICENSING, PLEASE VISIT "LICENSE.txt" INSIDE THE SAGEFRAME FOLDER
*/
#endregion
#region "References"
using System;
using System.IO;
using System.Text;
#endregion
/* Originally written in 'C', this code has been converted to the C# la... |
Assets/Scripts/Utils/Translate.cs | Plimsky/Stress-Test | 1 | 7057678 | <filename>Assets/Scripts/Utils/Translate.cs
using UnityEngine;
namespace Utils
{
public class Translate : MonoBehaviour
{
public Vector3 Direction;
public float SpeedMin = 1f;
public float SpeedMax = 10f;
private float _currentSpeed;
private void Awake()
{
... |
MoonMisadventures/Game/Locations/DungeonLevelGenerators/CaveDungeonLevelGenerator.cs | elizabethcd/StardewValleyMods | 30 | 7057679 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using StardewValley;
using xTile;
namespace MoonMisadventures.Game.Locations.DungeonLevelGenerators
{
public class CaveDungeonLevelGenerator : BaseDungeonLevelGenerator... |
ForwardRendering/Squall Graphics/Assets/SqScripts/SqMaterial.cs | SquallLiu99/SqGraphic-D3D12-Library | 3 | 7057680 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UnityEngine;
using UnityEngine.Rendering;
/// <summary>
/// material constant
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct MaterialConstant
{
public Vector4 _MainTex_ST;
public Vect... |
Assets/Scripts/GhostGlimpse/GhostGlimpse.cs | EGD-Collective/studio-aaa-2021 | 0 | 7057681 | <reponame>EGD-Collective/studio-aaa-2021
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class GhostGlimpse : MonoBehaviour
{
private NavMeshAgent navMeshAgent;
private bool reachedEnd = false;
[SerializeField]
private AudioClip[] spawnClips;... |
src/shortcut/ImeSwitch.cs | okamototomoyuki/tools-tray-win-45 | 0 | 7057682 | <reponame>okamototomoyuki/tools-tray-win-45
using System;
using System.Runtime.InteropServices;
namespace toolstray
{
/// <summary>
/// 全角半角切り替え
/// </summary>
public class ImeSwitch : IShortcut
{
[DllImport("User32.dll")]
static extern int SendMessage(IntPtr hWnd, uint Msg, IntP... |
source/Core/Configuration/X509CertificateTicketDataProtector.cs | LarsKemmann/IdentityServer3.Admin | 95 | 7057683 | <reponame>LarsKemmann/IdentityServer3.Admin
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Owin.Security.DataProtection;
namespace IdentityAdmin.Configuration
{
/// <summary>
/// X.509 certificate based data protector
/// </summary>
public clas... |
TestDay1_Q04/Program.cs | thyangDTOL/EduCsharp | 0 | 7057684 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//4. 다음 코드에 사용된 Custom 클래스 구조를 유추하여 작성하시오.
namespace TestDay1_Q04
{
// ICustomEvent 정의 -->
interface ICustomEvent
{
void iEvent();
}
// ICustomEvent 정의 <--
/... |
source/NCBSInstall/Integration/Processes/CommandLineInvocation.cs | NEC-IBERICA-CCBU/NCBSInstall | 0 | 7057685 | using System;
namespace Calamari.Integration.Processes
{
public class CommandLineInvocation
{
readonly string executable;
readonly string arguments;
readonly string workingDirectory;
public CommandLineInvocation(string executable, string arguments)
{
this.e... |
Behavioral/Visitor/Program.cs | dioguima/DesignPatterns | 0 | 7057686 | <filename>Behavioral/Visitor/Program.cs
using System;
namespace Visitor
{
class Program
{
static void Main(string[] args)
{
//Reference: https://sourcemaking.com/design_patterns/visitor
Circle circleA = new Circle(5, 5, 5);
Circle circleB = new Circle(15, 5,... |
src/AntiDuplWPF/AntiDuplWPF/Helper/GroupHelper.cs | yfdyh000/AntiDupl | 674 | 7057687 | <reponame>yfdyh000/AntiDupl
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AntiDuplWPF.ObjectModel;
using AntiDuplWPF.ViewModel;
namespace AntiDuplWPF.Helper
{
class GroupHelper
{
public static void ConvertToGroup(IList<Duplica... |
src/Net/PacketContentType.cs | eaba/rtmp-sharp | 53 | 7057688 | namespace RtmpSharp.Net
{
enum PacketContentType : byte
{
SetChunkSize = 1,
AbortMessage = 2,
Acknowledgement = 3,
UserControlMessage = 4,
WindowAcknowledgementSize = 5,
SetPeerBandwith = 6,
Audio ... |
src/PandaPlayer/ViewModels/AdviseGroups/FolderAdviseGroupHolder.cs | CodeFuller/music-library | 0 | 7057689 | <gh_stars>0
using System;
using System.Threading;
using System.Threading.Tasks;
using PandaPlayer.Core.Models;
using PandaPlayer.Services.Interfaces;
namespace PandaPlayer.ViewModels.AdviseGroups
{
internal class FolderAdviseGroupHolder : BasicAdviseGroupHolder
{
private readonly ShallowFolderModel fold... |
MVC_Azure_Explorer/MVC_Azure_Explorer/Models/ManejadorArchivos.cs | walalm/MVC-Azure-Explorer | 2 | 7057690 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.IO;
namespace MVC_Azure_Explorer.Models
{
public class ManejadorArchivos
{
public string RutaRelativa { get; set; }
public string Nombre { get; set; }
public string Tamano { get; set; }
... |
Assets/Scripts/Powerups/Online/BulletPowerupOnline.cs | jonisavo/space-invaders-vs | 0 | 7057691 | <filename>Assets/Scripts/Powerups/Online/BulletPowerupOnline.cs
using UnityEngine;
namespace SIVS
{
public class BulletPowerupOnline : PowerupOnline
{
private const int BulletInUsePoints = 250;
[Tooltip("The id of the bullet given by this powerup.")]
public PlayerBulletType bu... |
DBMS/DbmsApi/API/Model.cs | csydora/BIMkit | 2 | 7057692 | using DbmsApi.Mongo;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DbmsApi.API
{
public class Model : MongoDocument
{
public string Name;
public Properties Properties;
public List<Mod... |
Runtime/Injectable/InjectionBinder.cs | ertrkumut/unity-mvc | 3 | 7057693 | using System;
using System.Collections.Generic;
using System.Linq;
using MVC.Runtime.Attributes;
using MVC.Runtime.Bind.Bindings.Pool;
using MVC.Runtime.Injectable.Utils;
using MVC.Runtime.Root;
using UnityEngine;
using Object = UnityEngine.Object;
namespace MVC.Runtime.Injectable
{
[HideInModelViewer]
public... |
TikTokForWindows/Protobuf/LifeStoryBlockStructV2.cs | Dorifor/TikTokForWindows | 20 | 7057694 | using ProtoBuf;
using System.Collections.Generic;
namespace TikTokForWindows {
[ProtoContract]
class LifeStoryBlockStructV2 {
[ProtoMember(1)]
public bool life_story_block{ get; set; }
[ProtoMember(2)]
public bool life_story_blocked{ get; set; }
}
} |
TheManager/Exportation/Exporteur.cs | nickLepy/TheManager | 1 | 7057695 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using TheManager.Comparators;
namespace TheManager.Exportation
{
public class Exporteur
{
public static void ExporterClubs()
{
StringBuilder sb = new StringBuilder();
... |
src/BeyondEarthApp.Web.Api/MaintenanceProcessing/LocationLinkCalculator.cs | camjm/beyond-earth-app | 0 | 7057696 | <gh_stars>0
using System;
using System.Linq;
using BeyondEarthApp.Common;
using BeyondEarthApp.Web.Api.Models;
namespace BeyondEarthApp.Web.Api.MaintenanceProcessing
{
/// <summary>
/// Utility class that returns the Location url from the service model's collection of Links
/// </summary>
public stati... |
src/NRuneScape.Rest/Entities/GrandExchange/RSItem.cs | AntiTcb/NRuneScape | 3 | 7057697 | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using System.Diagnostics;
using Model = NRuneScape.API.ItemModel;
namespace NRuneScape.Rest
{
[DebuggerDisplay("{DebuggerDisplay, nq}")]
public class Item : RestEntity<RuneScapeRestClient>, IItem
... |
SwizzleMyVectors.Test/Geometry/BoundingSphereTests/BoundingSphereTest.cs | martindevans/SwizzleMyVectors | 4 | 7057698 | <reponame>martindevans/SwizzleMyVectors<filename>SwizzleMyVectors.Test/Geometry/BoundingSphereTests/BoundingSphereTest.cs<gh_stars>1-10
using System;
using System.Numerics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SwizzleMyVectors.Geometry;
namespace SwizzleMyVectors.Test.Geometry.BoundingSphereTests... |
ImageViewer/Graphics/AddGraphicUndoableCommand.cs | nhannd/Xian | 1 | 7057699 | <reponame>nhannd/Xian
#region License
// Copyright (c) 2011, ClearCanvas Inc.
// All rights reserved.
// http://www.clearcanvas.ca
//
// This software is licensed under the Open Software License v3.0.
// For the complete license, see http://www.clearcanvas.ca/OSLv3.0
#endregion
using System;
using ClearC... |
MVC-5/Lections-Examples/StudentsLabs.HtmlHelpers/Models/Editor/EditorForModel.cs | pryabov/Trainings-Examples | 0 | 7057700 | <filename>MVC-5/Lections-Examples/StudentsLabs.HtmlHelpers/Models/Editor/EditorForModel.cs
using System;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;
namespace WorkWithHtmlHelpers.Models.Editor
{
public class EditorForModel
{
[DataType(DataType.EmailAddress)]
public string StringField { ge... |
sources/Interop/Windows/Windows/um/winioctl/STORAGE_HW_FIRMWARE_SLOT_INFO.cs | reflectronic/terrafx.interop.windows | 0 | 7057701 | // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/winioctl.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
using System.Runtime.CompilerServices;
names... |
src/Model/MethodArgumentDescriptor.cs | AlexaLempel/UnitTestBoilerplateGenerator | 110 | 7057702 | <gh_stars>100-1000
namespace UnitTestBoilerplate.Model
{
public class MethodArgumentDescriptor
{
public MethodArgumentDescriptor(TypeDescriptor typeInformation, string argumentName, ParameterModifier modifier)
{
TypeInformation = typeInformation;
ArgumentName = argumentName;
Modifier = modifier;
}
... |
Controllers/ResponseController.cs | Rud156/Forms | 1 | 7057703 | <gh_stars>1-10
using Forms.Models.DBModels;
using Forms.Models.NewModels;
using Forms.ServiceInterfaces;
using Microsoft.AspNetCore.Mvc;
using MongoDB.Bson;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Forms.Controllers
{
[Produces("application/json")]
[Route("api/[co... |
Company/CompanySampleDataGenerator/ReportsDataGenerator.cs | bstaykov/Telerik-DB | 0 | 7057704 | namespace CompanySampleDataGenerator
{
using CompanyData;
using RandomGenerator;
using System;
using System.Data.SqlClient;
class ReportsDataGenerator : DataGenerator, IDataGenerator
{
public ReportsDataGenerator(IRandomDataGenerator randomDataGenerator, CompanyEntities companyEntities... |
NetBike.Xml/Contracts/Builders/XmlKnownTypeBuilder.cs | jamesquox/netbike.xml | 0 | 7057705 | namespace NetBike.Xml.Contracts.Builders
{
using System;
public class XmlKnownTypeBuilder : XmlMemberBuilder, IXmlObjectBuilder
{
public XmlKnownTypeBuilder(Type valueType)
: base(valueType)
{
}
public XmlNullValueHandling? NullValueHandling { get; set; }
... |
NetFull/Codout.Framework.Data/AdoDatabaseUtil.cs | Caio-Sousa/Codout.Framework | 2 | 7057706 | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Codout.Framework.NetFull.Data
{
/// <summary>
///
/// </summary>
public class AdoDatabaseUtil
{
private NetStandard.D... |
src/UIWeb/Models/ExpenseCategories/QueryExpenseCategoryEditorForm.cs | NotMyself/Gringotts | 7 | 7057707 | <filename>src/UIWeb/Models/ExpenseCategories/QueryExpenseCategoryEditorForm.cs
using System.Data.Entity;
using System.Threading.Tasks;
using Autofac.Extras.NLog;
using MediatR;
namespace Wiz.Gringotts.UIWeb.Models.ExpenseCategories
{
public class ExpenseCategoryEditorFormQuery : IAsyncRequest<ExpenseCategoryEdito... |
Libraries/BrnShop.Core/Search/ISearchStrategy.cs | leafcxy/BrnShop | 2 | 7057708 | using System;
using System.Collections.Generic;
namespace BrnShop.Core
{
/// <summary>
/// 搜索策略接口
/// </summary>
public partial interface ISearchStrategy
{
#region 分词相关
/// <summary>
/// 分词
/// </summary>
/// <param name="text">文本</param>
/// <retur... |
Source/Api/EtAlii.Ubigia/_Model/Entries/Relations/Relation.Comparison.cs | vrenken/EtAlii.Ubigia | 2 | 7057709 | // Copyright (c) <NAME>. All rights reserved. See the license on https://github.com/vrenken/EtAlii.Ubigia
namespace EtAlii.Ubigia
{
using System;
public partial struct Relation
{
public override bool Equals(object obj)
{
// If parameter is null, return false.
if (... |
DataAccess/Abstract/IFuelTypeDal.cs | cemozaydin/CarRentalProject | 64 | 7057710 | <gh_stars>10-100
using Core.DataAccess;
using Entities.Concrete;
using System;
using System.Collections.Generic;
using System.Text;
namespace DataAccess.Abstract
{
public interface IFuelTypeDal : IEntityRepository<FuelType>
{
}
}
|
StubbUnity/StubbUnity/Src/Unity/Scenes/SceneName.cs | VirtualMaestro/StubbUnity | 2 | 7057711 | <filename>StubbUnity/StubbUnity/Src/Unity/Scenes/SceneName.cs
using System.Text.RegularExpressions;
using StubbUnity.StubbFramework.Common.Names;
namespace StubbUnity.Unity.Scenes
{
public class SceneName : BaseAssetName
{
private static readonly Regex NormalizePathRegex =
new Regex(@"^\s*/... |
src/mono/wasm/debugger/DebuggerTestSuite/AsyncTests.cs | pyracanda/runtime | 9,402 | 7057712 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.WebAssembly.Diagnostics;
using Newtonsoft.Json.Linq;
using Xunit;
namespace DebuggerTests
{
public... |
src/02.data/01-Alabo.Data.People/Users/UI/BillReport.cs | tongxin3267/alabo | 0 | 7057713 | using Alabo.Data.People.Users.Domain.Repositories;
using Alabo.Domains.Repositories.EFCore;
using Alabo.Extensions;
using Alabo.Helpers;
using Alabo.UI;
using Alabo.UI.Design.AutoReports;
using Alabo.UI.Design.AutoReports.Enums;
using System.Collections.Generic;
namespace Alabo.Data.People.Users.UI
{
public class... |
CardGame.Client/Models/PlayerActions/Cards/Creatures/PlayCardAction.cs | davidetestoni/CardGame | 3 | 7057714 | using CardGame.Client.Instances.Cards;
namespace CardGame.Client.Models.PlayerActions.Cards.Creatures
{
/// <summary>
/// Action used to play a card from your hand.
/// </summary>
public class PlayCardAction : PlayerAction
{
/// <summary>
/// The card you want to play.
/// ... |
Shared/Crosschat.Server.Application.DataTransferObjects/Requests/UserFriendsRequest.cs | ian-hamlin/CrossChat-Xamarin.Forms | 305 | 7057715 | <filename>Shared/Crosschat.Server.Application.DataTransferObjects/Requests/UserFriendsRequest.cs
using Crosschat.Server.Application.DataTransferObjects.Messages;
namespace Crosschat.Server.Application.DataTransferObjects.Requests
{
public class UserFriendsRequest : RequestBase
{
}
public class UserFri... |
NIDashboard/NIDashboard.Data/ISection.cs | niteshrestha/NI-Dashboard | 0 | 7057716 | using NIDashboard.Data.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace NIDashboard.Data
{
public interface ISection
{
Section GetByID(int id);
IEnumerable<Section> GetAll();
Task Create(Section section);
Task Delete(int Id);
}
}
|
build.cake | cluesblues/okta-sdk-abstractions-dotnet | 1 | 7057718 | <filename>build.cake
#addin nuget:?package=Cake.Figlet&version=1.3.1
// Default MSBuild configuration arguments
var configuration = Argument("configuration", "Release");
Task("Clean")
.Does(() =>
{
CleanDirectory("./artifacts/");
GetDirectories("./src/**/bin")
.ToList()
.ForEach(d => CleanDir... |
sqlite3_analyzer_toObject/sqlite3_analyzer_Table.cs | gmoreno90/sqlite3_analyzer_toObject | 3 | 7057720 | using System;
using System.Collections.Generic;
using System.Text;
namespace sqlite3_analyzer_toObject
{
public class sqlite3_analyzer_Table
{
public string Name { get; set; }
public double Percentaje { get; set; }
public sqlite3_analyzer_Table()
{
}
}
}
|
src/Razor/src/RazorDeveloperTools/RazorInfo/TagHelperCollectionViewModel.cs | JalilAzzad1993/ASPNET | 0 | 7057721 | // 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.ObjectModel;
using System.Threading.Tasks;
using System.Windows;
using Microsoft.CodeAnalysis.Razor.ProjectSyste... |
src/Amazon.Tests/SignerTests.cs | TheJVaughan/Amazon | 22 | 7057722 | <gh_stars>10-100
using System.Security.Cryptography;
using System.Text;
using System.Text.Encodings.Web;
using Carbon.Data.Encodings;
namespace Amazon.Security.Tests;
public class SignerTests
{
[Fact]
public void Encode()
{
Assert.Equal("abc%3D34", UrlEncoder.Default.Encode("abc=34"... |
DriverSolutions.Patcher/Options.cs | Ravenheart/driversolutions | 0 | 7057723 | <reponame>Ravenheart/driversolutions<filename>DriverSolutions.Patcher/Options.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DriverSolutions.Patcher
{
public class Options
{
public static string UpdateServer = "http://ra... |
Yawat.Servers/VirtualData/Entry.cs | helmuttheis/Yawat | 0 | 7057724 | <gh_stars>0
namespace VirtualData
{
public class Entry
{
public Entry(int number, int totalCount, int groupSize = -1, int size = -1)
{
if (groupSize <= 0)
{
groupSize = totalCount / 10;
}
var groupNumber = number / groupSize;
... |
Pages/CollectionRules/TraceConfiguration1.cshtml | kkeirstead/DotnetMonitorConfiguration | 0 | 7057725 | <reponame>kkeirstead/DotnetMonitorConfiguration<filename>Pages/CollectionRules/TraceConfiguration1.cshtml
@page
@using DotnetMonitorConfiguration.Models
@model TraceConfiguration1Model
<form method="post">
<div class="row-narrow">
<div class="label">Trace Selection</div>
<a href="https://github.com/d... |
services/red/src/ambassador/artiso.AdsdHotel.Red.Ambassador/RedAmbassador.cs | artiso-solutions/adsd-hotel | 4 | 7057726 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using artiso.AdsdHotel.Red.Contracts;
using artiso.AdsdHotel.Red.Contracts.Grpc;
using Grpc.Net.Client;
using CancellationFee = artiso.AdsdHotel.Red.Contracts.CancellationFee;
using RoomRate = artiso.AdsdHotel.Red.Contract... |
src/Server/App_Start/RouteConfig.cs | mitchabaza/EazyStub | 0 | 7057727 | using System.Web.Http;
namespace EasyStub.Server
{
/// <summary>
/// Represents route configuration.
/// </summary>
public class RouteConfig
{
/// <summary>
/// Configures Web API routes.
/// </summary>
/// <param name="configuration"></param>
public static ... |
Tests/TypingRealm.Messaging.Core.Tests/MessageSenderExtensionsTests.cs | ewancoder/typingrealm | 1 | 7057728 | <reponame>ewancoder/typingrealm
using System.Threading.Tasks;
using Moq;
using TypingRealm.Testing;
using Xunit;
namespace TypingRealm.Messaging.Tests
{
public class MessageSenderExtensionsTests : TestsBase
{
[Theory, AutoMoqData]
public async Task SendAsync_ShouldWrapClientMessageToMessageWit... |
Assets/Scripts/MainInstaller.cs | futurice/HoloLens-and-Leap-Motion | 39 | 7057729 | using Futulabs.HoloFramework;
using UniRx;
using UnityEngine;
using UnityEngine.UI;
using Zenject;
public class MainInstaller : MonoInstaller<MainInstaller>
{
[SerializeField]
[Tooltip("General purpose text field for displaying instructions to user")]
private Text InfoTextField;
[SerializeField]... |
Assets/Scripts/NetworkController.cs | s4safeld/BeV2V | 0 | 7057731 | using Photon.Pun;
using Photon.Realtime;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
using TMPro;
using System.Linq;
public class NetworkController : MonoBehaviourPunCallbacks
{
public int RoomSize;
public int multiplayerSceneIndex;
public TextMeshPro l... |
HsH2Brain/HsH2Brain/LoginPage.cs | srcmkr/HsH2Brain | 0 | 7057732 | <filename>HsH2Brain/HsH2Brain/LoginPage.cs
using System;
using HsH2Brain.Models;
using Plugin.Toast;
using Xamarin.Forms;
namespace HsH2Brain
{
public class LoginPage : ContentPage
{
private readonly App _app;
private readonly Entry _usernameInput;
private readonly Entry _passwordInput... |
MedicalUniversityStudentManagement/MUSMDataLibrary/DataAccess/SQLDataAcess.cs | MintyDoggo/SystemAnalysisGroupProject | 0 | 7057733 | <gh_stars>0
using System.Collections.Generic;
using Dapper;
using System.Data;
using Microsoft.Data.SqlClient;
using System.Threading.Tasks;
// Dapper functions notes:
// - Query: Use when loading data since you will probably want the rows returned to you.
// - QueryMultiple: Used for when you need multiple result ... |
Platforms/Anf.Platform/ViewModels/VisitingViewModel.cs | Cricle/Anf | 0 | 7057734 | using Anf.Easy.Visiting;
using Anf.Models;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.IO;
using System;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Anf.Services;
using Anf.P... |
src/System.CommandLine.Suggest/SuggestionShellScriptHandler.cs | belav/command-line-api | 0 | 7057735 | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO;
using System.Reflection;
namespace System.CommandLine.Suggest
{
internal static class SuggestionShellScriptHandler
{
... |
BaphoDashBoard/Controllers/ManagementController.cs | Sh4rk0-666/BaphoDashBoard | 26 | 7057736 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BaphoDashBoard.Models;
using System.Security.Cryptography;
using Microsoft.AspNetCore.Mvc;
using System.Text;
using BaphoDashBoard.DAL.Services;
using BaphoDashBoard.ViewModels;
using BaphoDashBoard.DTO;
using Micros... |
UnitTests/RESTTests.cs | Sauceforge/Saucery | 6 | 7057737 | <filename>UnitTests/RESTTests.cs
using NUnit.Framework;
using Saucery.Dojo;
using Saucery.Dojo.Platforms.ConcreteProducts.Apple;
using Saucery.Dojo.Platforms.ConcreteProducts.Google;
using Saucery.Dojo.Platforms.ConcreteProducts.PC;
using Saucery.RestAPI.FlowControl;
using Shouldly;
using System.Collections.Generic;
... |
src/System.Text.Primitives/System/Text/Encoders/Ascii/Ascii_casing.cs | colombod/corefxlab | 1,642 | 7057738 | <filename>src/System.Text.Primitives/System/Text/Encoders/Ascii/Ascii_casing.cs
// 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.Buffers.Operations;
n... |
ARESCore/ErrorSupport/Impl/RetryInfos/StepRetryInfo.cs | AFRL-ARES/ARES_OS | 11 | 7057739 | <reponame>AFRL-ARES/ARES_OS
using System.Collections.Generic;
using ARESCore.Commands;
using ARESCore.Experiment.Results;
namespace ARESCore.ErrorSupport.Impl.RetryInfos
{
public class StepRetryInfo
{
public IAresCommand Step { get; set; }
public List<string> SubList { get; set; }
public IStepExecutio... |
WebOA.UI/Areas/HelpPage/ModelDescriptions/IModelDocumentationProvider.cs | Cloudyang/WebOA | 1 | 7057740 | <reponame>Cloudyang/WebOA
using System;
using System.Reflection;
namespace WebOA.UI.Areas.HelpPage.ModelDescriptions
{
public interface IModelDocumentationProvider
{
string GetDocumentation(MemberInfo member);
string GetDocumentation(Type type);
}
} |
src/TcpFramework/TcpService.Generic.cs | moien007/TcpFramework | 7 | 7057741 | <gh_stars>1-10
using System;
using System.Net;
using System.Net.Sockets;
namespace TcpFramework
{
public class TcpService<TClient> : TcpService
where TClient : TcpServiceClientBase, new()
{
public TcpService(TcpServiceConfiguration configuration) : base(configuration)
{
}
... |
Assets/KoboldKare/Scripts/PlayerKoboldLoader.cs | chrapacz2000/KoboldKare | 0 | 7057742 | <reponame>chrapacz2000/KoboldKare
using Photon.Pun;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class PlayerKoboldLoader : MonoBehaviour {
public static string[] settingNames = {"Sex", "Hue", "Brightness", "Saturation", "Contrast", "Dick", ... |
src/GitExtensions.GerritPlugin/FormGerritBase.cs | lekhmanrus/GitExtensions.GerritPlugin | 11 | 7057743 | using System;
using GitUI;
using GitUIPluginInterfaces;
namespace GitExtensions.GerritPlugin
{
public class FormGerritBase : GitExtensionsForm
{
protected GerritSettings Settings { get; private set; }
protected readonly IGitUICommands UiCommands;
protected IGitModule Module => UiComman... |
Assets/Scripts/Enemy.cs | maslychm/SpaceRailShooter | 0 | 7057744 | <reponame>maslychm/SpaceRailShooter
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Enemy : MonoBehaviour
{
[SerializeField] GameObject deathFX;
[SerializeField] Transform parent;
[SerializeField] int scorePerHit = 12;
[SerializeField] int hits = 5;
Sc... |
EasyNetwork/Network/Abstract/IDataFormatters.cs | JTKlemmensen/ObjectNetwork | 5 | 7057745 | <reponame>JTKlemmensen/ObjectNetwork
using System;
using System.Collections.Generic;
using System.Text;
namespace EasyNetwork.Network.Abstract
{
/// <summary>
/// Stores a ISerializer, ISymmetricCipher and a IAsymmetricCipher
/// </summary>
public interface IDataFormatters
{
ISerializer Se... |
src/backend/api/Fusion.Resources.Domain/NotificationHandlers/PersonnelUpdatedHandler.cs | equinor/fusion-app-resources | 1 | 7057746 | <filename>src/backend/api/Fusion.Resources.Domain/NotificationHandlers/PersonnelUpdatedHandler.cs
using Fusion.Integration.Diagnostics;
using Fusion.Integration.Profile;
using Fusion.Resources.Database;
using Fusion.Resources.Database.Entities;
using MediatR;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extens... |
CodeWars/7kyu/12DaysOfChristmas.cs | a-kozhanov/codewars_csharp | 11 | 7057747 | /*
https://www.codewars.com/kata/57dd3a06eb0537b899000a64/csharp
7 kyu
The 12 Days of Christmas
Oh No!
The song sheets have been dropped in the snow and the lines of each verse have become all jumbled up.
Task
You have to write a comparator function which can sort the lines back into their correct order, otherwise... |
nBayes/MemoryIndex.cs | HMBSbige/NoScam.Net | 1 | 7057748 | using System.Linq;
namespace nBayes
{
internal class MemoryIndex : Index
{
internal IndexTable<string, int> Table = new IndexTable<string, int>();
public override int EntryCount => Table.Values.Sum();
public override void Add(Entry document)
{
foreach (var token in document)
{
if (Table.Contains... |
Unity/Assets/Editor/ILRuntimeEditor/ILRuntimeCLRBinding.cs | passiony/ETFramework | 7 | 7057749 | <gh_stars>1-10
#if ILRuntime
using UnityEditor;
using UnityEngine;
using System;
using System.Collections.Generic;
using System.IO;
using ETModel;
using XAsset;
public static class ILRuntimeCLRBinding
{
//[MenuItem("Tools/ILRuntime/Generate CLR Binding Code")]
static void GenerateCLRBinding()
{
Li... |
Unity/ZigZegg/Assets/Scripts/Managers/GameManager.cs | jerrytron/pfp-zig-zegg | 0 | 7057750 | using UnityEngine;
using System;
using System.Collections.Generic;
public class GameManager {
public bool BleInitialized { get; set; }
private GameObject _sceneRoot;
private IStateBase _activeState;
private Dictionary<string, ZeggDevice> _zeggDeviceList;
private string _selectedZeggAddress;
public GameManage... |
Source/LiLo.Lite/LiLo.Lite.Android/AlarmHandler.cs | jamesmontemagno/LiLo.Lite | 1 | 7057751 | <gh_stars>1-10
//-----------------------------------------------------------------------
// <copyright file="AlarmHandler.cs" company="InternetWideWorld.com">
// Copyright (c) <NAME>, InternetWideWorld. All rights reserved.
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY
// OF ANY KIND, EITHER E... |
src/Comet.Account/Server.cs | inburst21/ConquerServer | 0 | 7057752 | // //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (C) FTW! Masters
// Keep the headers and the patterns adopted by the project. If you changed anything in the file just insert
// your name below, but don't remove the names of who worke... |
Editor/Halodi/PackageRegistry/RegistryManager.cs | prefrontalcortex/halodi-unity-package-registry-manager | 0 | 7057753 | <filename>Editor/Halodi/PackageRegistry/RegistryManager.cs<gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace Halodi.PackageRegistry
{
public class RegistryManager : EditorWindow
{
[MenuItem("Packages/Manage sc... |
src/Core/Models/AmbariResponseEntities/ClusterHost/HostDetails.cs | saritng/AmbariBasedHadoopExporter | 18 | 7057754 | // <copyright file="HostDetails.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// </copyright>
namespace Core.Models.AmbariResponseEntities.ClusterHost
{
using Newtonsoft.Json;
public class HostDetails
{
[JsonProperty(Prope... |
Assets/Libraries/Anthill/Filters/Editor/AntShockwaveFilterEditor.cs | AntKarlov/Anthill-ECS-Framework | 7 | 7057755 | namespace Anthill.Filters
{
using UnityEngine;
using UnityEditor;
using UnityEditorInternal;
// using Anthill.Editor;
[CustomEditor(typeof(AntShockWaveFilter))]
public class AntShockwaveFilterEditor : Editor
{
private AntShockWaveFilter _self;
private ReorderableList _reorderableList;
private int _curren... |
ReMi.Api/Tests/ReMi.CommandHandlers.Tests/Metrics/CreateReleaseMetricsHandlerTests.cs | vishalishere/remi | 1 | 7057756 | using System;
using System.Collections.Generic;
using System.Linq;
using Moq;
using NUnit.Framework;
using ReMi.BusinessEntities.ReleaseCalendar;
using ReMi.BusinessLogic.ReleasePlan;
using ReMi.CommandHandlers.Metrics;
using ReMi.Commands.Metrics;
using ReMi.Common.Constants.ReleaseCalendar;
using ReMi.Common.Constant... |
Assets/Scripts/BallSelection.cs | vonWolfehaus/unity-billiards-trajectory | 2 | 7057757 | <filename>Assets/Scripts/BallSelection.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BallSelection:MonoBehaviour {
[HideInInspector]
public Rigidbody activeBody;
List<BallController> allBalls;
int clickedId = 0;
bool isMouseDown = false;
/********************... |
SteamP2PInfo/WinAPI/CWPRETSTRUCT.cs | tremwil/SteamP2PInfo | 2 | 7057758 | <reponame>tremwil/SteamP2PInfo<filename>SteamP2PInfo/WinAPI/CWPRETSTRUCT.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
namespace SteamP2PInfo.WinAPI
{
[StructLayout(LayoutKind.Sequential)]
public str... |
src/DataXml/Utd820/Hyphens/ON_NSCHFDOPPR_UserContract_820_05_01_01_Hyphen.cs | ThisIsBuddyRIch/diadocsdk-csharp | 1 | 7057759 | <gh_stars>1-10
//------------------------------------------------------------------------------
// <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-... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.