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 |
|---|---|---|---|---|
EnvironmentAssessment.Wizard/Common/VimApi/V/VirtualDiskSparseVer2BackingOption.cs | octansIt/environmentassessment | 1 | 7041499 | <gh_stars>1-10
namespace EnvironmentAssessment.Common.VimApi
{
public class VirtualDiskSparseVer2BackingOption : VirtualDeviceFileBackingOption
{
protected ChoiceOption _diskMode;
protected BoolOption _split;
protected BoolOption _writeThrough;
protected bool _growable;
protected bool _hotGrowable;
protec... |
src/CSharpGuidelinesAnalyzer/CSharpGuidelinesAnalyzer.Test/Specs/Maintainability/DoNotAssignToParameterSpecs.cs | safescan/CSharpGuidelinesAnalyzer | 89 | 7041500 | <reponame>safescan/CSharpGuidelinesAnalyzer
using CSharpGuidelinesAnalyzer.Rules.Maintainability;
using CSharpGuidelinesAnalyzer.Test.TestDataBuilders;
using Microsoft.CodeAnalysis.Diagnostics;
using Xunit;
namespace CSharpGuidelinesAnalyzer.Test.Specs.Maintainability
{
public sealed class DoNotAssignToParameterSp... |
Common/Systems/DamageSources/DamageSourceSystem.cs | J00niper/TerrariaOverhaul | 78 | 7041501 | <filename>Common/Systems/DamageSources/DamageSourceSystem.cs<gh_stars>10-100
using Terraria.ModLoader;
using TerrariaOverhaul.Utilities.Extensions;
namespace TerrariaOverhaul.Common.Systems.DamageSources
{
//This weird system tries to guess damage sources based on callstack locations.
//Used in places like StrikeNP... |
Web/RentCar.Web.ViewModels/CarModels/CarFilter.cs | dimitarkole/RentACarManager | 0 | 7041502 | using System;
using System.Collections.Generic;
using System.Text;
namespace RentCar.Web.ViewModels.CarModels
{
public class CarFilter
{
public DateTime DateFrom { get; set; }
public DateTime DateTo { get; set; }
}
}
|
test/SharpVectorCss/SharpVectors/Dom/Css/CssValue.cs | codebutler/savagesvg | 5 | 7041503 | using NUnit.Framework;
[TestFixture]
public class CssValueTests
{
protected virtual string aCssText
{
get{return "sometext";}
}
protected virtual string anotherCssText
{
get{return "kalle";}
}
protected virtual CssValueType cssValueType
{
get{return CssValueType.Custom;}
... |
Code/Synnotech.DatabaseAbstractions.Mocks.Tests/BaseTransactionalSessionMockTests.cs | Synnotech-AG/Synnotech.DatabaseAbstractions.Mocks | 2 | 7041504 | using System;
using System.Linq;
using FluentAssertions;
using Humanizer;
using Light.GuardClauses.Exceptions;
using Xunit;
namespace Synnotech.DatabaseAbstractions.Mocks.Tests
{
public static class BaseTransactionalSessionMockTests
{
[Fact]
public static void MustDeriveFromAsyncDisposableMock... |
client/Assets/Test/Scripts/GSLoading.cs | twenty0ne/unity-x | 0 | 7041505 |
public class GSLoading : GameState
{
private LoadingStep _loadingStep = LoadingStep.None;
public override void Enter(GameState gs)
{
UIManager.Instance.OpenMenu(MenuLoading.Name);
}
public override void Exit(GameState gs)
{
}
public override void Tick()
{
if (_loadingStep == LoadingStep.None)
Cha... |
ProxySwitcher.UI/NetworkTreeViewItem.cs | goldfish1974/ProxySwitcher | 128 | 7041506 | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;
using ProxySwitcher.Core;
using ProxySwitcher.Common;
using System.Windows;
using System.Windows.Media.Imaging;
using System.Windows.Documents;
namespace ProxySwitcher.UI
{
publi... |
src/Foundation/MSSDK/code/Language/Models/Luis/Connector/ConversationReference.cs | markstiles/SitecoreCognitiveServices.Core | 0 | 7041507 | using Newtonsoft.Json;
using System;
namespace SitecoreCognitiveServices.Foundation.MSSDK.Language.Models.Luis.Connector {
public class ConversationReference : IEquatable<ConversationReference> {
/// <summary>
/// (Optional) ID of the activity to refer to
///
/// </summary>
... |
C#2/Arrays/20.Variations/20.Variations.cs | hackohackob/TelerikAcademy | 0 | 7041508 | <reponame>hackohackob/TelerikAcademy
using System;
//Write a program that reads two numbers N and K and generates all the variations of K elements from the set [1..N]. using System;
class VariationsClass
{
static int n = int.Parse(Console.ReadLine());
static int k = int.Parse(Console.ReadLine());
public ... |
Font/PdfStandardFont.cs | jannesen/Jannesen.FileFormat.Pdf | 0 | 7041509 | using System;
using System.IO;
using System.Text;
using Jannesen.FileFormat.Pdf.Internal;
namespace Jannesen.FileFormat.Pdf
{
public class PdfStandardFont : PdfFont
{
internal PdfStandardFont(System.IO.BinaryReader reader): base(reader)
{
}
#if DEBUG
... |
Remnant.DataGateway.Sdk/Types.cs | RemnantSoftware/Remnant.DataGateway.Sdk | 0 | 7041510 | using System;
using System.ComponentModel;
namespace Remnant.DataGateway
{
public enum DatabaseType
{
Undefined = 0,
SqlServer,
MySql,
Db2,
Firebird,
PostgreSqL,
Sybase,
Oracle,
MsAccess
}
public enum SqlAggregate
{
[Description("Min")]
Minim... |
src/System.Globalization/tests/NumberFormatInfo/NumberFormatInfoPercentDecimalDigits.cs | itrofimow/corefx | 15 | 7041511 | // 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 Xunit;
namespace System.Globalization.Tests
{
public class NumberFormatInfoPercentDecimalDigits
{
... |
SRP/Controls/ChangePassword.ascx.designer.cs | CityOfBurlington/btvsrp | 1 | 7041512 | //------------------------------------------------------------------------------
// <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>
//----------------------------------------... |
Assets/Minigames/Fally Bird/FallyBirdController.cs | pdalaya/openware | 0 | 7041513 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using TMPro;
namespace FallyBird {
public class FallyBirdController : MonoBehaviour {
public float JumpPower;
public TextMeshProUGUI ResultText;
public TextMeshPr... |
src/Opw.PineBlog.Core/Files/AbstractUploadFileCommandValidator.cs | ofpinewood/pineblog | 43 | 7041514 | using FluentValidation;
using Opw.PineBlog.FluentValidation;
using System.IO;
namespace Opw.PineBlog.Files
{
/// <summary>
/// Base class for validators for UploadFileCommand requests.
/// </summary>
public abstract class AbstractUploadFileCommandValidator<TRequest> : AbstractValidator<TRequest>
wh... |
Tests/BddHabitat.IntegrationTests/Pages/MoreInfo.cs | dawiddworak88/BddHabitat | 0 | 7041515 | using System.IO;
using BddHabitat.IntegrationTests.Pages.Components;
using OpenQA.Selenium;
namespace BddHabitat.IntegrationTests.Pages
{
/// <summary>
/// The more info page.
/// </summary>
/// <seealso cref="BddHabitat.IntegrationTests.Pages.PageBase" />
public class MoreInfo : PageBase
{
... |
FTX.Net/Enums/AirdropStatus.cs | wclark17/FTX.Net | 23 | 7041516 | <filename>FTX.Net/Enums/AirdropStatus.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace FTX.Net.Enums
{
/// <summary>
/// Status of an airdrop
/// </summary>
public enum AirdropStatus
{
/// <summary>
/// Pending
/// </summary>
Pending,
... |
Programming with C#/0. Exams/Telerik 2013-2014 - ASP.NET MVC/ASP.NET MVC - 17 November 2014/ForumSystemExam/Data/ForumSystem.Data.Models/Vote.cs | elena-andonova/telerik-academy | 2 | 7041518 | <reponame>elena-andonova/telerik-academy
namespace ForumSystem.Data.Models
{
using System;
using System.ComponentModel.DataAnnotations;
using System.Linq;
public class Vote
{
[Key]
public int Id { get; set; }
// Like -> +1 / Dislike -> -1 / Neutral -> 0
public int ... |
Databases/Homework Assignments/11. NoSQL Databases/01. MongoDictionary/MongoDictionary.cs | vic-alexiev/TelerikAcademy | 4 | 7041519 | using MongoDB.Bson;
using MongoDB.Driver;
using MongoDB.Driver.Builders;
using System.Collections.Generic;
public class MongoDictionary
{
private MongoCollection<Entry> entriesCollection;
public MongoDictionary(string connectionString, string databaseName, string collectionName)
{
var client = ne... |
LmpClient/Systems/VesselUpdateSys/VesselUpdateMessageSender.cs | mhitchens/LunaMultiplayer | 0 | 7041520 | using LmpClient.Base;
using LmpClient.Base.Interface;
using LmpClient.Network;
using LmpClient.Systems.TimeSync;
using LmpCommon.Message.Client;
using LmpCommon.Message.Data.Vessel;
using LmpCommon.Message.Interface;
namespace LmpClient.Systems.VesselUpdateSys
{
public class VesselUpdateMessageSender : SubSystem<... |
SharpPulsar/SubscriptionMode.cs | eaba/SharpPulsar | 26 | 7041521 | <gh_stars>10-100
namespace SharpPulsar
{
public enum SubscriptionMode
{
// Make the subscription to be backed by a durable cursor that will retain messages and persist the current
// position
Durable,
// Lightweight subscription mode that doesn't have a durable cursor associate... |
Updater/UpdaterUI/Form_UpdateConfig.Designer.cs | VelinoStudio/Updater | 1 | 7041522 | namespace VelinoStudio.Updater.UpdaterUI
{
partial class Form_UpdateConfig
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="dis... |
src/CMS/CMSModules/Chat/Controls/UI/ChatRoom/Edit.ascx.cs | JFouts-BlueModus/kentico-contrib | 1 | 7041523 | <gh_stars>1-10
using System;
using CMS.Base;
using CMS.Base.Web.UI;
using CMS.Chat;
using CMS.Chat.Web.UI;
using CMS.FormEngine.Web.UI;
using CMS.Helpers;
using CMS.PortalEngine.Web.UI;
using CMS.UIControls;
public partial class CMSModules_Chat_Controls_UI_ChatRoom_Edit : CMSAdminEditControl
{
#re... |
Rikrop.Core.Wpf.40/Async/DeleyedExecutor.cs | rikrop/Rikrop.Core.Wpf | 2 | 7041524 | using System;
using System.Diagnostics.Contracts;
using System.Windows.Threading;
namespace Rikrop.Core.Wpf.Async
{
public class DelayedExecutor
{
private readonly Action _execute;
private readonly DispatcherTimer _timer;
public DelayedExecutor(Action execute)
: this(exec... |
Website/SourceCode/Profiles/Profiles/ORCID/Utilities/ProfilesRNSDLL/_CG/BO/Meta/ORCID/Person.cs | kapelletier/ProfilesRNS-Orchard | 13 | 7041525 | <filename>Website/SourceCode/Profiles/Profiles/ORCID/Utilities/ProfilesRNSDLL/_CG/BO/Meta/ORCID/Person.cs
namespace Profiles.ORCID.Utilities.ProfilesRNSDLL.BO.ORCID
{
public partial class Person
{
public override int TableId { get { return 3566;} }
public enum FieldNames : int { PersonID... |
Kroeg.Server/Program.cs | cobalto/Kroeg | 1 | 7041526 | <filename>Kroeg.Server/Program.cs
using System.IO;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using System;
namespace Kroeg.Server
{
public class Program
{
public static void Main(string[] args)
{
var config = new ConfigurationBuilder()
... |
source/Cosmos.Core/Memory/Heap.cs | Geramy/Cosmos | 3 | 7041527 | <gh_stars>1-10
using System;
using System.Linq;
using System.Threading.Tasks;
using Native = System.UInt32;
namespace Cosmos.Core.Memory
{
public static unsafe class Heap
{
public static void Init()
{
HeapSmall.Init();
HeapMedium.Init();
HeapLarge.Init();
... |
test/Microsoft.OpenAPI.OData.Reader.Tests/PathItem/RefPathItemHandlerTests.cs | edevoogd/OpenAPI.NET.OData | 0 | 7041528 | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// ------------------------------------------------------------
using System;
using System.Coll... |
src/chocolatey.tests2/commands/TestUpgradeCommand.cs | tapika/choco | 0 | 7041529 | <gh_stars>0
using chocolatey.infrastructure.app;
using chocolatey.infrastructure.app.configuration;
using chocolatey.infrastructure.app.domain;
using chocolatey.infrastructure.filesystem;
using chocolatey.infrastructure.logging;
using logtesting;
using NuGet;
using NUnit.Framework;
using System;
using System.... |
ProyectoFinalAplicada1-JohnsielCastanos/UI/Reportes/ProductosReporte.cs | Johnsiel19/ProyectoFinalAplicada1-Johnsiel | 0 | 7041530 | <reponame>Johnsiel19/ProyectoFinalAplicada1-Johnsiel
using Entidades;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ProyectoFinalAplicada1_J... |
MMDB.Shared/RecordNotFoundException_Generic.cs | mmooney/MMDB.Shared | 0 | 7041531 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace MMDB.Shared
{
[Serializable]
public class RecordNotFoundException<T> : Exception
{
public RecordNotFoundException(object recordID) : base(FormatMessage<T>(recordID))
{
}
public RecordN... |
Meetup20190112/Controllers/TestQnAController.cs | isdaviddong/Meetup20190112 | 0 | 7041532 | <reponame>isdaviddong/Meetup20190112
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace StudyHostExampleLinebot.Controllers
{
public class TestQnAController : isRock.LineBot.LineWebHookControllerBase
{
const strin... |
Socolin.RabbitMQ.Client.Tests.Integration/RabbitMqDockerHelper.cs | Socolin/Socolin.RabbitMQ.Client | 1 | 7041533 | #nullable enable
using System;
using System.Diagnostics;
namespace Socolin.RabbitMQ.Client.Tests.Integration
{
public class RabbitMqDockerHelper
{
private const int RabbitMqPort = 5672;
public static void StopDocker(string name)
{
Process? process = null;
try
{
process = ExecuteCommand($"stop {na... |
ISAAR.MSolve.MSAnalysis/IntegrationClasses/SubdomainCalculations.cs | lewpapado92/MSolve-ImmunoMech | 1 | 7041534 | using System;
using System.Collections.Generic;
using ISAAR.MSolve.Discretization.FreedomDegrees;
using ISAAR.MSolve.Discretization.Interfaces;
using ISAAR.MSolve.FEM.Entities;
using ISAAR.MSolve.LinearAlgebra.Matrices;
using ISAAR.MSolve.LinearAlgebra.Vectors;
using ISAAR.MSolve.MultiscaleAnalysis.Interfaces;
namesp... |
test/Nuuvify.CommonPack.Domain.xTest/ValueObjects/FuncaoOpcaoTests.cs | lzocateli00/Lzfy.DevPack | 0 | 7041535 | <filename>test/Nuuvify.CommonPack.Domain.xTest/ValueObjects/FuncaoOpcaoTests.cs
using Nuuvify.CommonPack.Domain.ValueObjects;
using Nuuvify.CommonPack.Extensions.Implementation;
using Xunit;
namespace Nuuvify.CommonPack.Domain.xTest.ValueObjects
{
public class FuncaoOpcaoTests
{
[Theory]
[Trai... |
SygUnity/Assets/Scripts/Contracts/GalaxyToken/GalaxyTokenService.cs | zurfluh/syg-ethlisbon | 0 | 7041536 | <filename>SygUnity/Assets/Scripts/Contracts/GalaxyToken/GalaxyTokenService.cs<gh_stars>0
using System;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Numerics;
using Nethereum.Hex.HexTypes;
using Nethereum.ABI.FunctionEncoding.Attributes;
using Nethereum.Web3;
using Nethereum.RPC.Eth.DTOs;... |
OnlineStore_Back.API/Controllers/ProductController.cs | pkostereva/OnlineStore_Back | 0 | 7041537 | <reponame>pkostereva/OnlineStore_Back
using AutoMapper;
using Microsoft.AspNetCore.Mvc;
using OnlineStoreBack.API.Models.InputModels;
using OnlineStoreBack.API.Models.OutputModels;
using OnlineStoreBack.DB.Models;
using OnlineStoreBack.Repository;
using System.Collections.Generic;
using System.Threading.Tasks;
namesp... |
src/Reni/Type/IReference.cs | hahoyer/reni.cs | 2 | 7041538 | using Reni.Code;
using Reni.Feature;
namespace Reni.Type
{
interface IReference : IContextReference
{
IConversion Converter { get; }
bool IsWeak { get; }
}
} |
~Library/Dawnx.AspNetCore.IdentityUtility/Areas/IdentityUtility/Pages/Index.cshtml.cs | zmjack/Dawnx | 4 | 7041539 | <reponame>zmjack/Dawnx
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
namespace Dawnx.AspNetCore.IdentityUtility.Pages
{
[AllowAnonymous]
public class IndexModel : PageModel
{
private readonly... |
src/LibLog.Tests/LogProviders/LogExtensons.cs | qetza/LibLog | 0 | 7041540 | <filename>src/LibLog.Tests/LogProviders/LogExtensons.cs<gh_stars>0
namespace LibLog.Logging.LogProviders
{
using System;
using Shouldly;
using YourRootNamespace.Logging;
internal static class LogExtensons
{
public static void AssertCanCheckLogLevelsEnabled(this ILog logger)
{
... |
src/Host/Controllers/ViewController.cs | SwissLife-OSS/magnet | 9 | 7041541 | <filename>src/Host/Controllers/ViewController.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
namespace Magnet.Server.Controllers
{
[Route("view")]
... |
src/bitOxide.MarioWiiPowerup.Javascript/ItemImageStore.cs | wischi-chr/MarioWiiPowerUps | 4 | 7041542 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using bitOxide.MarioWiiPowerup.Core;
using Bridge.Html5;
namespace bitOxide.MarioWiiPowerup.Javascript
{
public class ItemImageStore
{
private readonly Dictionary<string, ScaledImage> itemImages = new Dictionary<stri... |
Atlass.Framework.Models/BaseData/question_theme.cs | xw328907/EasyCMS | 1 | 7041543 | <reponame>xw328907/EasyCMS<filename>Atlass.Framework.Models/BaseData/question_theme.cs
using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Text;
namespace Atlass.Framework.Models
{
/// <summary>
/// 咨询主题设置
/// </summary>
public class question_theme
{
... |
src/Common/IConfigurationContract.cs | albedoteam/dll-communications-contracts | 0 | 7041544 | <filename>src/Common/IConfigurationContract.cs
namespace AlbedoTeam.Communications.Contracts.Common
{
public interface IConfigurationContract
{
MessageType MessageType { get; set; }
IFromAddress From { get; set; }
int FreeQuota { get; set; }
decimal TaxPerMessage { get; set; }
... |
NIEM/EMS.NIEM.EMLC/IComposable.cs | 1stResponder/em-serializers | 1 | 7041545 | // ———————————————————————–
// <copyright file="IComposable.cs" company="EDXLSharp">
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.... |
vidly/App_Start/MappingProfile.cs | baher-zakhary/vidly | 1 | 7041546 | <filename>vidly/App_Start/MappingProfile.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using AutoMapper;
using vidly.DTOs;
using vidly.Models;
namespace vidly.App_Start
{
public class MappingProfile : Profile
{
public MappingProfile()
{
//M... |
src/CareBreeze.Core/Models/TreatmentMachine.cs | joacar/CareBreeze | 0 | 7041547 | namespace CareBreeze.Core.Models
{
public class TreatmentMachine
{
public string Name { get; set; }
public string Capability { get; set; }
}
}
|
src/Demo.WebAPI.MediatRPipeline/Handlers/DemoHandler.cs | NelsonBN/demo-dotnet-mediatr-pipeline | 0 | 7041548 | using Demo.WebAPI.MediatRPipeline.Commands;
using Demo.WebAPI.MediatRPipeline.DTOs;
using MediatR;
using Microsoft.Extensions.Logging;
using System.Threading;
using System.Threading.Tasks;
namespace Demo.WebAPI.MediatRPipeline.Handlers
{
public class DemoHandler : IRequestHandler<DemoCommand, DemoResponse>
{
... |
Netx/WebSocket/WebsocketServerWindow.xaml.cs | atsushinee/Netx | 2 | 7041549 | using Netx.Base;
using Netx.Dialog;
using Netx.Util;
using SuperSocket.WebSocket;
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace Netx.WebSocket
{
/// <summary>
/// WebsocketServer.xaml 的交互逻辑
/// </summary>
publ... |
DUMS.SharedArchitecture.Logging/ILoggerStrategy.cs | keeed/DUMS | 0 | 7041551 | <gh_stars>0
using System;
using DUMS.SharedArchitecture.Logging.Enums;
namespace DUMS.SharedArchitecture.Logging
{
/// <summary>
/// Interface implementation for a logger strategy.
/// </summary>
public interface ILoggerStrategy
{
/// <summary>
/// Logs a log entry.
/// </s... |
Unity/Packages/DCET.Core/Editor/LuaCompiler.cs | DukeChiang/DCET.Game | 333 | 7041552 | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Linq;
using System.Text;
using UnityEditor;
using UnityEngine;
namespace DCETEditor
{
public static class LuaCompiler
{
private sealed class CompiledFail : Exception
... |
src/JoinRpg.Services.Impl/ClaimImplBase.cs | HeyLaurelTestOrg/joinrpg-net | 0 | 7041553 | <filename>src/JoinRpg.Services.Impl/ClaimImplBase.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using JetBrains.Annotations;
using JoinRpg.Data.Write.Interfaces;
using JoinRpg.DataModel;
using JoinRpg.Domain;
using JoinRpg.Domain.Chara... |
SerilogPerfTest/BenchmarkApp/Program.cs | ltd65/SerilogExtensionPerfTest | 0 | 7041554 | <filename>SerilogPerfTest/BenchmarkApp/Program.cs
using System;
using BenchmarkDotNet.Running;
namespace BenchmarkApp
{
class Program
{
static void Main(string[] args)
{
var summary = BenchmarkRunner.Run<HereBenchmark>();
}
}
}
|
Assets/Scripts/BulletObject.cs | ProtossGameJam/20-08-ColorShift | 0 | 7041555 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BulletObject : MonoBehaviour
{
public GameObject MuzzleFlash;
public string Color = "Blue";
void OnCollisionEnter2D(Collision2D collision)
{
Instantiate(MuzzleFlash, transform.position, transform.rotati... |
src/DAYLY/DAYLY/DAYLY/Views/Settings_SyncData.xaml.cs | LDwhoRU/DAYLY | 0 | 7041556 | using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace DAYLY.Views
{
public partial class Settings_SyncData : ContentPage
{
public Settings_SyncData()
{
InitializeComponent();
BindingContext = Settings_Main.settingsViewModel;
}
... |
src/Services/Food/Food.Core/Requests/Recipes/Handler.cs | denkrv/food_tracker | 0 | 7041557 | <gh_stars>0
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Food.Core.Data;
using Food.Core.Domain;
using MediatR;
using Microsoft.EntityFrameworkCore;
namespace Food.Core.Requests.Recipes
{
public class DishesHandler : IRequestHandler<CreateDish, i... |
Core/StatementConverter/ExpressionInterpreter/Keyword/DefaultExpressionInterpreter.cs | pranshaggarwal/HotReloading | 40 | 7041558 | <gh_stars>10-100
using System.Linq.Expressions;
using HotReloading.Syntax.Statements;
namespace StatementConverter.ExpressionInterpreter
{
internal class DefaultExpressionInterpreter : IExpressionInterpreter
{
private DefaultStatement defaultStatement;
public DefaultExpressionInterpreter(Defa... |
UnityProject/VidStreamComp/Assets/VidStreamComp/Scripts/WebcamStream.cs | ManageableIT/VidStreamComp | 23 | 7041559 | <gh_stars>10-100
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace VidStreamComp
{
/// <summary>
/// Acquire images from a video stream coming from a local webcam
/// </summary>
[RequireComponent(typeof(WebcamComponent))]
public class WebcamStream : VideoStre... |
dot-net-sdk/Impl/ObjectClient.cs | mauroarias/smartobjects-net-client | 0 | 7041560 | using System;
using Mnubo.SmartObjects.Client.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Net.Http;
using Newtonsoft.Json;
using System.Linq;
namespace Mnubo.SmartObjects.Client.Impl
{
internal class ObjectClient : IObjectClient
{
/// <summary>
... |
SilentStreamBugFix/Silence.cs | marcosbozzani/SilentStreamBugFix | 0 | 7041561 | using System;
using System.Diagnostics;
using System.IO;
using System.Windows.Forms;
namespace SilentStreamBugFix
{
/// <summary>
/// <remarks>
/// References:
/// https://github.com/mvaneerde/blog/tree/master/silence
/// https://blogs.msdn.microsoft.com/matthew_van_eerde/2008/12/10/sam... |
src/Datadog.Trace/Util/UriHelpers.cs | ganeshkumarsv/dd-trace-dotnet | 1 | 7041562 | // <copyright file="UriHelpers.cs" company="Datadog">
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2017 Datadog, Inc.
// </copyright>
using System;
namespace Da... |
NUnitTestCustardApi/ModelsTest/Todolist.cs | bricefriha/CustardApi | 1 | 7041563 | <reponame>bricefriha/CustardApi
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace NUnitTestCustardApi.ModelsTest
{
public class Todolist
{
[JsonProperty("_id")]
public string Id { get; set; }
[JsonProperty("title")]
public strin... |
src/web-apis/LetPortal.Portal/Models/Databases/ParsingRawQueryModel.cs | phucan1108/letportal | 31 | 7041564 | using System.Collections.Generic;
using LetPortal.Portal.Entities.EntitySchemas;
namespace LetPortal.Portal.Databases.Models
{
public class ParsingRawQueryModel
{
public List<EntityField> EntityFields { get; set; } = new List<EntityField>();
}
}
|
Multiplayer/Utilities/Files and Pathing.cs | TotiVM/GDM-Windows | 3,920 | 7041565 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Multiplayer.Utilities
{
public static class Files_and_Pathing
{
public static void ValidateDirectory(string dirname)
{
if (!Directory.Exist... |
source/DemoAndTest/Generate/Step/ModulateStep.cs | runerback/FindDuplicatedImages | 0 | 7041566 | using ImageMagick;
namespace DemoAndTest
{
sealed class ModulateStep : IGenerateStep
{
public string Name => "Modulate";
public void Apply(MagickImage image)
{
image.Modulate(new Percentage(100));
}
}
}
|
Treinamento HBSIS/TCC FINAL Edicao 28-08/project/ProjetoFInal/Controllers/LocacaosController.cs | odorizzi28/GitC | 0 | 7041567 | <reponame>odorizzi28/GitC
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.Description;
using Proje... |
NDB.Covid19/NDB.Covid19.iOS/Views/HelpCustomView/HelpCustomView.designer.cs | Sundhedsdatastyrelsen/Smittestop.Mobile | 5 | 7041568 | // WARNING
//
// This file has been generated automatically by Visual Studio from the outlets and
// actions declared in your storyboard file.
// Manual changes to this file will not be maintained.
//
using System.CodeDom.Compiler;
using Foundation;
namespace NDB.Covid19.iOS.Views.HelpCustomView
{
[Register ("Hel... |
src/TinyXamarinFirebase.Forms.Abstractions/FirebaseXamarinHelper.cs | JTOne123/TinyXamarinFirebase.Forms | 0 | 7041569 | using System;
namespace TinyXamarinFirebase.Forms
{
public static class FirebaseXamarinHelper
{
public static Action<Action> RunOnUIThread { get; set; } = (action) => action?.Invoke();
}
}
|
src/MarkPad/Framework/ObjectExtensions.cs | jongalloway/DownmarkerWPF | 1 | 7041570 | using System;
namespace MarkPad.Framework
{
public static class ObjectExtensions
{
/// <summary>
/// Returns the result of <paramref name="func"/> if <paramref name="obj"/> is not null.
/// <example>
/// <code>
/// Request.Url.Evaluate(x => x.Query)
//... |
src/Tests/BeHealthy.Services.Data.Tests/ExercisesServiceTests.cs | vas-ang/BeHealthy | 0 | 7041571 | <filename>src/Tests/BeHealthy.Services.Data.Tests/ExercisesServiceTests.cs
[assembly: Xunit.CollectionBehavior(DisableTestParallelization = true)]
namespace BeHealthy.Services.Data.Tests
{
using System;
using System.Linq;
using System.Threading.Tasks;
using BeHealthy.Data;
using BeHealthy.Data.Mo... |
2. solutions/resource-finder/source/Services/RF.Contracts.Api/AuthorizationRequirements/IsMemberOfGroupRequirement.cs | Bhaskers-Blu-Org2/app-innovation-team | 28 | 7041572 | <filename>2. solutions/resource-finder/source/Services/RF.Contracts.Api/AuthorizationRequirements/IsMemberOfGroupRequirement.cs
using Microsoft.AspNetCore.Authorization;
namespace RF.Contracts.Api.AuthorizationRequirements
{
public class IsMemberOfGroupRequirement : IAuthorizationRequirement
{
p... |
Examples/TempHum9Click/Program.cs | valoni/MBN-TinyCLR | 3 | 7041573 | <reponame>valoni/MBN-TinyCLR
using MBN;
using MBN.Modules;
using System.Diagnostics;
using System.Threading;
namespace Examples
{
internal class Program
{
private static TempHum9Click _sensor;
private static void Main()
{
_sensor = new TempHum9Click(Hardware... |
TextGameExperiment/TextGameExperiment.Android/Renderers/FrameRenderer.cs | pingzing/text-game | 1 | 7041574 | <filename>TextGameExperiment/TextGameExperiment.Android/Renderers/FrameRenderer.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.Graphics;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;... |
src/State/InAnalyse.cs | ericperin/design-patterns | 0 | 7041575 | namespace src.State
{
public class InAnalyse : IStateOfBudget
{
public void ApplyDiscount(Budget budget)
{
budget.Value = budget.Value - (budget.Value * 0.05);
}
public void Approve(Budget budget)
{
budget.State = new Approve();
}
... |
Code/ShipGame/GameObjects/Starship/Units/Player/PlayerBomb/BigBomb.cs | ben-gibbons-github/SpaceTowerDefense | 0 | 7041576 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
namespace BadRabbit.Carrot
{
public class BigBomb
{
static Color ParticleColor = new Color(0.4f, 0.175f, 0.15f);
static Color ParticleColor2 = new Color(0... |
SDK/Centaurus.SDK/Models/BalanceModel.cs | amissine/centaurus | 3 | 7041577 | using Centaurus.Models;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
namespace Centaurus.SDK.Models
{
public class BalanceModel
{
public int AssetId { get; set; }
public string Asset { get; set; }
public long Amount {... |
MangoPay.SDK/Core/APIs/ApiBankingAliases.cs | M0ns1gn0r/mangopay2-net-sdk | 17 | 7041578 | using MangoPay.SDK.Core.Enumerations;
using MangoPay.SDK.Entities;
using MangoPay.SDK.Entities.GET;
using MangoPay.SDK.Entities.POST;
using MangoPay.SDK.Entities.PUT;
using System;
using System.Threading.Tasks;
namespace MangoPay.SDK.Core.APIs
{
/// <summary>API for manage banking aliases.</summary>
public cl... |
src/SIM.Tool.Base/Wizards/StepInfo.cs | sc-spl/Sitecore-Instance-Manager | 119 | 7041579 | namespace SIM.Tool.Base.Wizards
{
using System;
#region
#endregion
public class StepInfo
{
#region Fields
public Type Control { get; }
public string Param { get; }
public string Title { get; }
#endregion
#region Constructors
public StepInfo(string title, Type control, str... |
KHAOSS/ITransactionStore.cs | keithwill/khaoss | 0 | 7041580 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace KHAOSS
{
public interface ITransactionStore : IDisposable
{
void WriteTransaction(Transaction transaction);
void StartFileManagement();
IEnumerable<TransactionR... |
aliyun-net-sdk-imm/Imm/Transform/V20170906/ListFaceSearchGroupImagesResponseUnmarshaller.cs | brightness007/unofficial-aliyun-openapi-net-sdk | 2 | 7041581 | <gh_stars>1-10
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "... |
src/Storage/Abstractions/StorageExtensions.cs | iotbusters/assistant.net | 0 | 7041582 | <reponame>iotbusters/assistant.net<filename>src/Storage/Abstractions/StorageExtensions.cs
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Assistant.Net.Storage.Abstractions
{
/// <summary>
/// Storage extensions.
/// </summary>
public static class StorageExtensions
... |
DayFixApp/DayFixAPI/Controllers/LoginController.cs | irshyn/DayFixApp | 0 | 7041583 | <gh_stars>0
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using DayFixAPI.Models;
using DayFixAPI.Services;
namespace DayFixAPI.Cont... |
src/Coldairarrow.Util/Extention/Extention.IQueryable.cs | yunyongzhang/Colder.Admin.AntdVue | 1 | 7041584 | <filename>src/Coldairarrow.Util/Extention/Extention.IQueryable.cs
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.EntityFrameworkCore.Query.Internal;
using Microsoft.EntityFrameworkCore.Storage;
using System;
using System.Collections.Generic;
using System.Linq;
using Sys... |
VegaLite.NET/Schema/SignalRefExtentConverter.cs | trmcnealy/VegaLite.NET | 4 | 7041585 | using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace VegaLite.Schema
{
internal class SignalRefExtentConverter : JsonConverter
{
public override bool CanConvert(Type t)
{
return t == typeof(SignalRefExtent) || t == typeof(SignalRefExtent?);
}
... |
src/Color-Chan.Discord.Rest/Policies/DiscordRateLimitPolicy.cs | Color-Chan/Color-Chan.Discord | 28 | 7041586 | using System;
using System.Globalization;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading;
using System.Threading.Tasks;
using Color_Chan.Discord.Caching.Services;
using Color_Chan.Discord.Rest.Configurations;
using Color_Chan.Discord.Rest.Extensions;
using Color_Chan.Dis... |
King-of-the-Garbage-Hill/Game/GameLogic/CheckIfReady.cs | mylorik/King-of-the-Garbage-Hill | 0 | 7041587 | using King_of_the_Garbage_Hill.DiscordFramework;
using King_of_the_Garbage_Hill.Game.Classes;
using King_of_the_Garbage_Hill.Game.DiscordMessages;
using King_of_the_Garbage_Hill.Game.GameGlobalVariables;
using King_of_the_Garbage_Hill.Helpers;
using King_of_the_Garbage_Hill.LocalPersistentData.FinishedGameLog;
using K... |
Parse/Infrastructure/Control/ParseSetOperation.cs | sschaub/Parse-SDK-dotNET | 174 | 7041588 | // Copyright (c) 2015-present, Parse, LLC. All rights reserved. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. An additional grant of patent rights can be found in the PATENTS file in the same directory.
using Parse.Abstractions.Infrastr... |
SslTunnel/Test/TestPort.cs | git-thinh/CSharpTest.Net-source-v2.12.810.409 | 0 | 7041589 | <reponame>git-thinh/CSharpTest.Net-source-v2.12.810.409
#region Copyright 2009-2012 by <NAME>, Licensed under the Apache License, Version 2.0
/* 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... |
MyTestDemo/MyTestDemo/SillyCode.cs | marcusjobb/TestIgnore | 0 | 7041590 | <reponame>marcusjobb/TestIgnore
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyTestDemo
{
public class SillyCode
{
public int Value { get; set; }
public string GetName(string[] names, int index)
{
... |
src/GriffinPlus.Lib.FastActivator.Tests/TestStruct.cs | GriffinPlus/dotnet-libs-fastactivator | 7 | 7041591 | <gh_stars>1-10
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// This file is part of the Griffin+ common library suite.
// Project URL: https://github.com/griffinplus/dotnet-libs-fastactivator
// The source code is licensed under the MIT license... |
sdk/dotnet/Outputs/GlobalClientJwtConfiguration.cs | kevinschoonover/pulumi-auth0 | 15 | 7041592 | <reponame>kevinschoonover/pulumi-auth0<filename>sdk/dotnet/Outputs/GlobalClientJwtConfiguration.cs<gh_stars>10-100
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collec... |
Power IoT Interface/Power IoT Interface/Entities/Sensor.cs | KhyatiNinad/QuickBase-MQQT-Interface | 0 | 7041593 | <filename>Power IoT Interface/Power IoT Interface/Entities/Sensor.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Power_IoT_Interface.Entities
{
public class Sensor : BaseEntity
{
public String Sensor_Name { get; set; } = "";
public String Tag { get; set; } = ""... |
ScanMonitorApp/ScanMonitorApp/PathSubstView.xaml.cs | robdobsn/ScanMonitor | 0 | 7041595 | using NLog;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.... |
UnityEngineAdapter/UnityEngine/TextGenerator.cs | Lanboost/LansUnityUIAdapter | 0 | 7041596 | <gh_stars>0
using System;
using System.Collections.Generic;
namespace UnityEngine
{
public sealed class TextGenerator : IDisposable
{
bool _invalidated = true;
//
// Summary:
// Create a TextGenerator.
//
// Parameters:
// initialCapacity:
public TextGenerator() { }
//
// Summary:
// ... |
src/Services/FileConversion.Service/FileConversion.Core/Parsers/BeanParser.cs | doitsu2014/doitsu-ecosystem-identity-service | 0 | 7041597 | <filename>src/Services/FileConversion.Service/FileConversion.Core/Parsers/BeanParser.cs
using System.Collections.Generic;
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using System.Text;
using BeanIO;
using FileConversion.Abstraction;
using FileConversion.Abstraction.Model;
using FileConversi... |
src/Compilers/CSharp/Portable/Binder/BindingDiagnosticBag.cs | belav/roslyn | 0 | 7041598 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable enable
using System.Collections.Generic;
using System.Collections.Immutable;
using Microsoft.CodeAnalysi... |
Objects/Objects/BuiltElements/Beam.cs | OswaldoHernandezB/speckle-sharp | 0 | 7041599 | <reponame>OswaldoHernandezB/speckle-sharp
using Objects.Geometry;
using Objects.Structural.Materials;
using Objects.Structural.Properties.Profiles;
using Objects.Utils;
using Speckle.Core.Kits;
using Speckle.Core.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Speckl... |
src/sourcers/meetup/svc/Utilities/MsUnixDateTimeOffsetConverter.cs | bgever/techeventshk | 0 | 7041600 | <reponame>bgever/techeventshk<gh_stars>0
using System;
using Newtonsoft.Json;
namespace Tehk.Sourcers.Meetup.Svc.Utilities
{
/// <summary>
/// Supports Unix timestamps defined in miliseconds, and are converted into DateTimeOffset.
/// </summary>
public class MsUnixDateTimeOffsetConverter : JsonConverte... |
EmmaSharp/Models/Response/ResponseShares.cs | NCARB/EmmaSharp | 14 | 7041601 | <gh_stars>10-100
using EmmaSharp.Extensions;
using EmmaSharp.Models.Members;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace EmmaSharp.Models.Response
{
public class ResponseSharesBase
{
[JsonProperty("network")]
public string Network { get; set; }
[Js... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.