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 |
|---|---|---|---|---|
Comments/ViewModels/Chapter.cs | nice-digital/consultations | 3 | 7028681 | using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using NICE.Feeds.Indev.Models.Chapter;
using NICE.Feeds.Indev.Models.Detail;
namespace Comments.ViewModels
{
public class Chapter
{
[JsonConstructor]
public Chapter(string slug, string title)
{
Slug... |
Forms/TitleSetupEditor.designer.cs | pasztorpisti/vs-window-title-changer | 20 | 7028682 | namespace VSWindowTitleChanger
{
partial class TitleSetupEditor
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - d... |
Source/Krypton Toolkit Suite Extended/Componentisation/Extended Dialogs/Dialogs/Colour/KryptonColourPickerDialog.cs | Krypton-Suite-Legacy/Krypton-Toolkit-Suite-Extended-NET-5.462 | 0 | 7028683 | <gh_stars>0
#region BSD License
/*
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE.md file or at
* https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.462/blob/master/LICENSE
*
*/
#endregion
using System;
using System.ComponentModel;
using System.Drawin... |
System.Web/Configuration/RegexWorker.cs | cnork/referencesource | 911 | 7028684 | <gh_stars>100-1000
//------------------------------------------------------------------------------
// <copyright file="RegexWorker.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
... |
src/Itofinity.Appveyor.Cli/Program.cs | mminns/Itofinity.Appveyor.Refit | 0 | 7028685 | <filename>src/Itofinity.Appveyor.Cli/Program.cs<gh_stars>0
using Itofinity.Appveyor.Refit.Client;
using Itofinity.Refit.Cli.Utils;
using System.Collections.Generic;
namespace Itofinity.Appveyor.Cli
{
internal class Program
{
private static void Main(string[] args)
{
CliBuilder<ApiC... |
ModIso8583/Impl/SimpleTraceGenerator.cs | Tochemey/Iso85834Net | 5 | 7028686 | using System;
namespace Iso85834Net.Impl
{
public class SimpleTraceGenerator : ITraceNumberGenerator
{
private readonly object synclock = new object();
private volatile int value;
public SimpleTraceGenerator(int initialValue)
{
if (initialValue < 1 || initialValue ... |
Nvisibl.Cloud/Models/Responses/UserChatroomsResponse.cs | ful-stackz/nvisibl | 0 | 7028687 | using System;
using System.Collections.Generic;
namespace Nvisibl.Cloud.Models.Responses
{
public class UserChatroomsResponse
{
public IEnumerable<ChatroomResponse> Chatrooms { get; set; } = Array.Empty<ChatroomResponse>();
}
}
|
Backend/Application/DTOs/DomainDTOs/SpotDto.cs | Shady6/SkateSpot_v2 | 0 | 7028688 | <reponame>Shady6/SkateSpot_v2
using SkateSpot.Domain.Common;
using System;
using System.Collections.Generic;
namespace SkateSpot.Application.DTOs.DomainDTOs
{
public class SpotDto : IWithSocialDto
{
public Guid Id { get; set; }
public DateTime CreatedAt { get; set; }
public string Name { get; set; }
public ... |
ThumbnailsMaker/Configuration/Models/Text/Nullable/NullableTextPosition.cs | kubagdynia/ThumbnailsMaker | 0 | 7028689 | <filename>ThumbnailsMaker/Configuration/Models/Text/Nullable/NullableTextPosition.cs
using System;
using System.Text.Json.Serialization;
namespace ThumbnailsMaker
{
[Serializable]
public class NullableTextPosition
{
[JsonPropertyName("x")]
public int? X { get; set; }
[JsonPropertyN... |
ElasticSearch/Configuration/JwtTokenService.cs | hasansahinnn/ElasticSearch | 7 | 7028690 | using ElasticSearch.Models;
using Microsoft.IdentityModel.Tokens;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;
namespace ElasticSearch.Configuration
{
... |
src/Xamarin.Android.NUnitLite/NUnitLite/Constraints/NUnitEqualityComparer.cs | cherry003/xamarin-android | 1,959 | 7028691 | <filename>src/Xamarin.Android.NUnitLite/NUnitLite/Constraints/NUnitEqualityComparer.cs<gh_stars>1000+
// ***********************************************************************
// Copyright (c) 2009 <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associ... |
FeatureFlagsCo.APIs/FeatureFlags.APIs/Models/Environment.cs | feature-flags-co/feature-flags-co | 681 | 7028693 | <filename>FeatureFlagsCo.APIs/FeatureFlags.APIs/Models/Environment.cs
using System;
using System.ComponentModel.DataAnnotations;
using FeatureFlags.APIs.Services.MongoDb;
namespace FeatureFlags.APIs.Models
{
public class Environment
{
[Key]
public int Id { get; set; }
public string Nam... |
src/Bytewizer.TinyCLR.Http/Http/Query/QueryEnumerator.cs | microcompiler/microserver | 34 | 7028694 | using System.Collections;
namespace Bytewizer.TinyCLR.Http.Query
{
/// <summary>
/// Provides a class for enumerating over key/value pairs.
/// </summary>
public class QueryEnumerator : IEnumerator
{
private readonly QueryCollection _collection;
private int _index = -1;
//... |
BizHawk.Emulation.Cores/Consoles/Nintendo/GBHawk/Mappers/Mapper_Camera.cs | Gorialis/BizHawk | 0 | 7028695 | using BizHawk.Common;
using BizHawk.Emulation.Cores.Components.LR35902;
using System;
namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
{
// Gameboy Camera Mapper (no camera support yet)
// 128 kb of RAM
public class MapperCamera : MapperBase
{
public int ROM_bank;
public int RAM_bank;
public b... |
test/dotnet-new3.UnitTests/DotnetNewInstantiate.cs | xtqqczze/templating | 1,247 | 7028696 | <filename>test/dotnet-new3.UnitTests/DotnetNewInstantiate.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#nullable enable
using System.IO.Compression;
using FluentAssertions;
using Microsoft.NET.TestFramework.Assertions;
usin... |
Runtime/Core/Extensions/MonoBehaviourExt.cs | GoodCatGames/UnInventory | 18 | 7028697 | using System.Linq;
using UnityEngine;
namespace UnInventory.Core.Extensions
{
public static class MonoBehaviourExt
{
public static bool OnScene<T>(this T component)
where T : MonoBehaviour
{
return Object.FindObjectsOfType<T>().ToList().Contains(component);
}
... |
src/Cdn/generated/api/Models/Api20210601/DeliveryRuleCondition.cs | jago2136/azure-powershell | 0 | 7028698 | <filename>src/Cdn/generated/api/Models/Api20210601/DeliveryRuleCondition.cs
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause inc... |
Components/UpdateHook.cs | Folcon/Arcadia | 1,447 | 7028699 | <filename>Components/UpdateHook.cs
using UnityEngine;
using UnityEngine.EventSystems;
using clojure.lang;
public class UpdateHook : ArcadiaBehaviour
{
public void Update()
{
RunFunctions();
}
} |
Elicon.DataAccess/Files/Common/Read/StreamReaderProvider.cs | Elicon-IL/EDA-Tools | 5 | 7028700 | using Elicon.Domain;
using Elicon.Framework;
using System.IO;
using Elicon.Domain.GateLevel.Contracts.DataAccess;
using Elicon.Domain.GateLevel.Read;
namespace Elicon.DataAccess.Files.Common.Read
{
public class StreamReaderProvider : IStreamReaderProvider
{
private readonly IPubSub _pubSub;
pr... |
src/Helpers/RibbonHelper.cs | salaros/wakatime-revit | 0 | 7028701 | <reponame>salaros/wakatime-revit<filename>src/Helpers/RibbonHelper.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
using System.Windows.Interop;
using System.Windows.Media.Imaging;
using Autodesk.Revit.... |
src/Core.Reference/OperationAspect.cs | robertogiachetta/aegis | 4 | 7028702 | // <copyright file="OperationAspect.cs" company="Eötvös Loránd University (ELTE)">
// Copyright 2016-2019 <NAME>. Licensed under the
// Educational Community 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... |
Assets/Wave One/Assets/Scripts/Spawners/SpawnerPickers/ReverseOrderSpawner.cs | Smehi/WaveOne | 15 | 7028703 | <gh_stars>10-100
using UnityEngine;
namespace SemihOrhan.WaveOne.Spawners.SpawnerPickers
{
[RequireComponent(typeof(ISpawner))]
public class ReverseOrderSpawner : MonoBehaviour, ISpawnerPicker
{
private int size;
private int index;
public void SetListSize(int size)
{
... |
src/Server/Grpc.Server/Grpc.Server/Common/IRequestsHandler.cs | mihailpw/GrpcSandbox | 0 | 7028704 | <reponame>mihailpw/GrpcSandbox
using System;
using System.Threading;
using System.Threading.Tasks;
using Grpc.Services;
namespace Grpc.Server.Common
{
public interface IRequestsHandler
{
Task HandleAsync(
Guid clientId,
Request request,
CancellationToken cancellatio... |
Distributed-eStore.UI/src/Controllers/ProductsController.cs | KrishnaVadlamudi44/Distributed-eStore | 104 | 7028706 | using DistributedEStore.Api.Services;
using Microsoft.AspNetCore.Mvc;
using DistributedEStore.Common.Queries;
using System.Threading.Tasks;
using System;
namespace DistributedEStore.UI.Controllers
{
[ApiController]
public class ProductsController : BaseController
{
private readonly IApiGatewayServ... |
DevGuild.AspNetCore.Services.Permissions/Override/QueryPermissionsOverrideMode.cs | DevGuildRu/libraries-aspnetcore | 2 | 7028707 | <reponame>DevGuildRu/libraries-aspnetcore
using System;
using System.Collections.Generic;
using System.Text;
namespace DevGuild.AspNetCore.Services.Permissions.Override
{
/// <summary>
/// Represents query permissions override mode.
/// </summary>
public enum QueryPermissionsOverrideMode
{
... |
samples/core/Miscellaneous/CompiledModels/Post000.cs | meesaltena/EntityFramework.Docs | 518 | 7028708 | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Microsoft.EntityFrameworkCore;
namespace CompiledModelTest
{
public class Post0000
{
public int Id { get; set; }
public ICollection<Tag0000> Tags { get; set; }
public Blog0000 Blog00 { get; s... |
Install/FluvioFXInstall.cs | mjducharme/fluviofx | 347 | 7028709 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using UnityEditor;
using UnityEditor.PackageManager;
using UnityEditorInternal;
using UnityEngine;
using Debug = UnityEngine.Debug;
namespace FluvioFX.Editor
{
[InitializeOnLoad]
internal static class ... |
CinemaWrld.Application/Areas/Making/Views/Actors/Index.cshtml | Destru1/CinemaWrld | 0 | 7028710 | @model PaginationActorsViewModel
@{
ViewData["Title"] = "Index";
}
<h1 class="text-center">Actors</h1>
@if (this.User.IsInRole(RolesConstants.USER_ROLE_NAME) || this.User.IsInRole(RolesConstants.ADMIN_ROLE_NAME))
{
<div>
<a class="btn btn-outline-dark " asp-action="Create">Create actor</a>
</div>
}
<br />
<t... |
source/Jitter/Collision/Shapes/SphereShape.cs | dsonbill/jitterphysics | 0 | 7028711 | /* Copyright (C) <2009-2011> <<NAME>, Jitter Physics>
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* ... |
src/SentencesHost/Startup/Bootstrapper.cs | petar-m/examples | 0 | 7028712 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Web.Http;
using M.EventBroker;
using M.EventBroker.EvenHandlerRunners;
using M.Executables;
using M.Executables.Executors.SimpleInjector;
using M.Repository;
using M.Repository.EntityFramework;
using Newtonsoft.Json.Seri... |
Rant/Unmanaged/UnmanagedPattern.cs | strogonoff/Manhood | 0 | 7028713 | <filename>Rant/Unmanaged/UnmanagedPattern.cs
#if !UNITY
using System;
using System.Runtime.InteropServices;
namespace Rant.Unmanaged
{
internal class UnmanagedPattern : IDisposable
{
private GCHandle _handle;
private bool _disposed;
public RantPattern Pattern { get; }
public ... |
DialogueScriptLibrary/Token.cs | RangHo/DialogueScript | 0 | 7028714 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RangHo.DialogueScript
{
public class Token
{
[Flags]
public enum Classification
{
Punctuation = 1,
Number = 2,
String = 4,
Keyword = 8,
... |
compo_ref/Editor/Compo_ref_processor.cs | raveaf/unity_utils | 0 | 7028715 | /*
Copyright 2018 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing... |
samples/TinyHelpers.Dapper.Sample/Models/Post.cs | marcominerva/TinyNetHelpers | 2 | 7028716 | <gh_stars>1-10
using System;
using System.Collections.Generic;
namespace TinyHelpers.Dapper.Sample.Models;
public class Post
{
public Guid Id { get; set; }
public string Title { get; set; }
public string Content { get; set; }
public IEnumerable<string> Authors { get; set; }
public DateTime Da... |
XGENO.UWP.Controls/XGENO.UWP.Controls.CoverFlow.New/XGENO.UWP.Controls.CoverFlow/CoverFlow.cs | naweed/SeriesTrackerV3 | 1 | 7028717 | <reponame>naweed/SeriesTrackerV3
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Windows.Foundation;
using Windows.System;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Media.Animation;
namespac... |
Fuji.Generated.Tests/ExampleServiceProviderTests.cs | bkohrs/Fuji | 0 | 7028718 | using System.Collections.Immutable;
using Fuji.Generated.Services;
using Microsoft.Extensions.DependencyInjection;
using NUnit.Framework;
namespace Fuji.Generated.Tests;
[TestFixture]
public class ExampleServiceProviderTests
{
private IServiceProvider? _provider;
[SetUp]
public void SetUp()
{
... |
src/SFA.DAS.ApplyService.Web/Views/Users/CreateAccount.cshtml | uk-gov-mirror/SkillsFundingAgency.das-apply-service | 0 | 7028719 | <gh_stars>0
@model SFA.DAS.ApplyService.Web.ViewModels.CreateAccountViewModel
@{
var isError = !ViewData.ModelState.IsValid;
ViewBag.Title = (isError ? "Error: " : "") + "Get set up as a user";
}
<a class="govuk-back-link" asp-controller="Home" asp-action="Index">Back</a>
<main class="govuk-main-wrapper " id="... |
Trinity.Tests/dotnetrdf/ResourceMappingTest.cs | IgorKaplya/trinity-rdf | 16 | 7028720 | // LICENSE:
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, subli... |
day05/Program.cs | bradwilson/advent-2021 | 2 | 7028721 | <filename>day05/Program.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
var stopwatch = Stopwatch.StartNew();
var data =
(from line in File.ReadAllLines("input.txt")
where !string.IsNullOrWhiteSpace(line)
select line).ToArray();
long GetPart1() =>... |
SolidRpc.OpenApi.Model/Generator/SettingsSpecGen.cs | aarrgard/solidrpc | 2 | 7028722 | using System;
using System.Collections.Generic;
using System.Text;
namespace SolidRpc.OpenApi.Model.Generator
{
/// <summary>
/// Settings for generating a swagger file from code.
/// </summary>
public class SettingsSpecGen : SettingsGen
{
/// <summary>
/// Constructs a new instanc... |
AdditionalQuestsCode/AdditionalQuestsCode/Quests/VillageBanditArmyRaidIssueBehavior.cs | CollinHerber/AdditionalQuests | 0 | 7028723 | using System;
using System.Collections.Generic;
using System.Linq;
using Helpers;
using TaleWorlds.CampaignSystem;
using TaleWorlds.CampaignSystem.Actions;
using TaleWorlds.CampaignSystem.CharacterDevelopment.Managers;
using TaleWorlds.CampaignSystem.GameMenus;
using TaleWorlds.CampaignSystem.SandBox;
using TaleWorlds... |
tests/MongoFramework.Benchmarks/MongoDbSetComparisonBenchmark.cs | Bruslega/EntityFramework_InterfaceLikeMongoDB | 3 | 7028724 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Jobs;
using MongoFramework.Attributes;
namespace MongoFramework.Benchmarks
{
[SimpleJob(RuntimeMoniker.NetCoreApp30), MemoryDiagnoser]
public class MongoDbSetComparisonBenchm... |
Sources/VRage.Library/Profiler/MyProfiler.cs | Legion2/PCSS | 0 | 7028725 | <gh_stars>0
#region Using
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using ParallelTasks;
using System.Threading;
using VRage.Library.Utils;
#endregion
namespace VRage.Profiler
{
/// <summary>
/// Par... |
src/ServiceManagement/HDInsight/Microsoft.WindowsAzure.Management.HDInsight/ClusterProvisioning/SubscriptionRegistration/SubscriptionRegistrationClient.cs | cwickham3/azure-sdk-for-net | 1 | 7028727 | // Copyright (c) Microsoft Corporation
// All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
// use this file except in compliance with the License. You may obtain a copy
// of the License at http://www.apache.org/licenses/LICENSE-2.0
//
// THIS CODE IS PROVIDED *... |
WCAE/Mesh/WMesh_Common/Funcs/WMFuncs2D.cs | wuxiaod1987/WCAE | 0 | 7028728 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using WCAE.Entities;
using WCAE.WGeos2D;
using WCAE.WGeos2D.Funcs;
using WCAE.WGeos2D.Entities;
using WCAE.WMesh2D;
namespace WCAE.WMesh2D.Funcs
{
/// <summary>
/// 常用的Mesh功能函数放置在此静态类中
/// </summary>
... |
src/ServiceBusAdmin.Tool/Queue/DeleteCommand.cs | sszlachetka/ServiceBusAdmin | 0 | 7028729 | using System;
using System.Threading;
using System.Threading.Tasks;
using McMaster.Extensions.CommandLineUtils;
using ServiceBusAdmin.CommandHandlers.Queue.Delete;
namespace ServiceBusAdmin.Tool.Queue
{
public class DeleteCommand : SebaCommand
{
private readonly Func<string> _getQueueName;
pub... |
Content.Client/Lobby/UI/ObserveWarningWindow.xaml.cs | TheMoogle/space-station-14 | 21 | 7028731 | using JetBrains.Annotations;
using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.CustomControls;
using Robust.Client.UserInterface.XAML;
using Robust.Shared.IoC;
using Robust.Shared.Localization;
namespace Content.Client.Lobby.UI
{
[GenerateTypedNameReferences]
[UsedImplicitly]
internal se... |
VectorObjects/Objects/Interfaces/IControlPointsProvider.cs | aurigma/WinControls | 1 | 7028732 | // Copyright (c) 2018 Aurigma Inc. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
namespace Aurigma.GraphicsMill.WinControls
{
/// <summary>
/// Control point collection interface.
/// </summary>
public interface IControlPoin... |
EasyIoC/Attributes/DependencyAttribute.cs | hartmannr76/EasyIoC | 0 | 7028733 | <gh_stars>0
using System;
namespace EasyIoC.Attributes
{
[AttributeUsage(AttributeTargets.Class)]
public class DependencyAttribute : Attribute
{
public DependencyAttribute(Lifetime lifetime = Lifetime.Transient) {
Lifetime = lifetime;
}
public Lifetime Lifetime;
... |
Code/DigitalSignage_v1.0/Device Code/UWP Code/IoTCoreDefaultApp/obj/ARM/Debug/UserControls/TopBarUC.g.i.cs | WiproDS2018/DS_FR | 3 | 7028734 | #pragma checksum "D:\Windows-iotcore-samples\Samples\IoTCoreDefaultApp\CS\IoTCoreDefaultApp\UserControls\TopBarUC.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "DBA708360FC1B329BDF827B47F1EF743"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was g... |
ProfileManager.AppService/BlobProviderOptions.cs | jpda/profile-manager | 0 | 7028735 | <reponame>jpda/profile-manager
namespace ProfileManager.AppService
{
// options feel very bound to an implementation, perhaps they should be named stronger? like AzureStorageBlobOptions? I guess that wouldn't work well for injecting options.
public class BlobProviderOptions
{
public string Connecti... |
test/TestServer.Tests/AddUserAgentHandler.cs | atwayne/TestServer | 2 | 7028736 | <reponame>atwayne/TestServer
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace Dubstep.TestUtilities.Tests
{
/// <summary>
/// A dummy http message handler for testing purpose
/// </summary>
internal class AddUserAgentHandler : DelegatingHandler
{
publi... |
src/DotNet/ITokenResolver.cs | ElenaMilito/dnlib | 53 | 7028737 | <gh_stars>10-100
// dnlib: See LICENSE.txt for more info
namespace dnlib.DotNet {
/// <summary>
/// Resolves tokens
/// </summary>
public interface ITokenResolver {
/// <summary>
/// Resolves a token
/// </summary>
/// <param name="token">The metadata token</param>
/// <param name="gpContext">Generic pa... |
src/L3-solution/BoSSS.Solution.Statistic/ForeignGridValue.cs | FDYdarmstadt/BoSSS | 22 | 7028738 | using BoSSS.Foundation;
using BoSSS.Foundation.IO;
using ilPSP;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace BoSSS.Solution.Statistic {
/// <summary>
/// This class allows to us... |
CP/Games/ThreeLetterFunCP/Logic/GlobalHelpers.cs | musictopia2/GamingPackXV3 | 0 | 7028739 | <reponame>musictopia2/GamingPackXV3
namespace ThreeLetterFunCP.Logic;
[SingletonGame]
[AutoReset]
public class GlobalHelpers
{
public BasicList<ThreeLetterFunWordModel>? SavedWords;
public BasicList<char>? SavedTiles { get; set; }
public BasicList<SavedCard>? SavedCardList { get; set; }
internal Custom... |
TemplateKafka.Consumer/TemplateKafka.Consumer.Infra.Data/Repositories/MongoRepository.cs | poferrari/estudo-kafka | 3 | 7028740 | <gh_stars>1-10
using MongoDB.Bson;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using TemplateKafka.Consumer.Domain.Mongo.Attributes;
using TemplateKafka.Consumer.Domain.Mongo.Interfaces;
using TemplateKafka.Consum... |
Matrix.Web/Models/EmailListViewModel.cs | matrix-platform/web | 1 | 7028741 | using System;
using System.Collections.Generic;
using Matrix.Agent.Postman.Model;
using Matrix.Agent.Registry.Model;
namespace Matrix.Web.Models
{
public class EmailListViewModel
{
public Guid Application { get; set; }
public IList<Application> Applications { get; set; }
... |
src/public API/Solution/ApplicationLogic/Repositories/DB/IInventoryItemDBRepository.cs | lneninger/quickbookdestop-integrator | 1 | 7028742 | <reponame>lneninger/quickbookdestop-integrator<filename>src/public API/Solution/ApplicationLogic/Repositories/DB/IInventoryItemDBRepository.cs
using ApplicationLogic.Business.Commands.InventoryItem.DeleteCommand.Models;
using ApplicationLogic.Business.Commands.InventoryItem.PageQueryCommand.Models;
using DomainModel;
... |
source/Src/Infra.DataAccess/DataAccessBase.cs | moein-shafiei/test | 0 | 7028743 | <filename>source/Src/Infra.DataAccess/DataAccessBase.cs
using DotFramework.Infra.DataAccessFactory;
using DotFramework.Infra.Model;
using System;
using System.Linq;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using DotFramework.DynamicQuery;
namespace DotFramework.Infra.DataAccess
{
... |
Backend/Backend.Services/SaleService.cs | Alkiimista/angular-app | 0 | 7028744 | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using Backend.Data;
using Newtonsoft.Json;
namespace Backend.Services
{
public class SaleService : ISaleService
{
private readonly CSVParser _data;
private readonly SalesTable _salesTable;
... |
SharedLibraryCore/Interfaces/IRConConnection.cs | Lemur2906/IW4M-Admin | 129 | 7028745 | <reponame>Lemur2906/IW4M-Admin<filename>SharedLibraryCore/Interfaces/IRConConnection.cs<gh_stars>100-1000
using SharedLibraryCore.RCon;
using System.Threading.Tasks;
namespace SharedLibraryCore.Interfaces
{
/// <summary>
/// defines the capabilities of an RCon connection
/// </summary>
public interfac... |
src/Web/FiscalInfoApp.Web.ViewModels/CommDevice/ComDeviceListViewModel.cs | vmmateev/Fiscal-Info.ASP-App | 3 | 7028746 | <reponame>vmmateev/Fiscal-Info.ASP-App
namespace FiscalInfoApp.Web.ViewModels.CommDevice
{
using System.Collections.Generic;
public class ComDeviceListViewModel : PagingViewModel
{
public IEnumerable<CommDeviceInListViewModel> CommDevices { get; set; }
}
}
|
src/Extensions/Simulations/DifferentialGrowth/Spring.cs | visose/Extensions | 4 | 7028747 | using Rhino.Geometry;
namespace Extensions.Simulations.DifferentialGrowth;
public class Spring
{
public Particle Start;
public Particle End;
double _restLength;
public double Length;
public Vector3d Vector;
readonly DifferentialGrowth _simulation;
public Line Line { get { return new Line... |
api/JiraAPI/JiraAPI.cs | Cultrarius/Fast-Jira | 2 | 7028748 | <filename>api/JiraAPI/JiraAPI.cs<gh_stars>1-10
// Code generated by Microsoft (R) AutoRest Code Generator 0.16.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
namespace FastJira
{
using System;
using System.Linq;
using System.Collections.Generic;
using Syste... |
src/Simulation/Simulators/QuantumSimulator/MZ.cs | Bradben/qsharp-runtime | 260 | 7028749 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.Quantum.Simulation.Core;
using Microsoft.Quantum.Intrinsic.Interfaces;
namespace Microsoft.Quantum.Simulation.Simulators
{
public partial class QuantumSimulator
{
Result IIntrinsicMZ.Body(Q... |
src/Cake.Sonar.Test/VersionAttributeTest.cs | lol987lol/Cake.Sonar | 31 | 7028750 | <gh_stars>10-100
using System;
using Cake.Sonar.Attributes;
using Xunit;
namespace Cake.Sonar.Test
{
public class VersionAttributeTest
{
[Theory]
[InlineData("7.0", null, "7.0", true)]
[InlineData("7.0", null, "6.9", false)]
[InlineData("7.0", null, "7.1", true)]
[Inli... |
Dicom/DicomPixelData.cs | econmed/ImageServer20 | 1 | 7028751 | #region License
// Copyright (c) 2009, ClearCanvas Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright not... |
Open-Lab-04.06/Numbers.cs | martinorion/Open-Lab-04.06 | 0 | 7028752 | <filename>Open-Lab-04.06/Numbers.cs
using NUnitLite;
using System;
using System.Collections.Generic;
using System.ComponentModel;
namespace Open_Lab_04._06
{
public class Numbers
{
public int[] NoOdds(int[] numbers)
{
var retl = new List<int>();
for (int i = 0; i < numbe... |
src/Endzone.uSplit/RouteConfig.cs | ptilsed/uSplit | 12 | 7028753 | <filename>src/Endzone.uSplit/RouteConfig.cs
using System.Web.Mvc;
using System.Web.Routing;
using Umbraco.Core;
namespace Endzone.uSplit
{
public class RouteConfig : ApplicationEventHandler
{
protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext appli... |
test/Libraries/CoreNodesTests/StringTests.cs | talrasha/Dynamo | 1,202 | 7028754 | <reponame>talrasha/Dynamo<gh_stars>1000+
//using System;
using DSCore;
using NUnit.Framework;
namespace DSCoreNodesTests
{
[TestFixture]
internal static class StringTests
{
[Test]
[Category("UnitTests")]
public static void ToNumber()
{
Assert.AreEqual(10, String... |
Tools/SharePoint.Modernization/SharePointPnP.Modernization.Framework/Publishing/PublishingPageHeaderTransformator.cs | sajithgh/sp-dev-modernization | 0 | 7028755 | <filename>Tools/SharePoint.Modernization/SharePointPnP.Modernization.Framework/Publishing/PublishingPageHeaderTransformator.cs
using Microsoft.SharePoint.Client;
using OfficeDevPnP.Core.Pages;
using SharePointPnP.Modernization.Framework.Cache;
using SharePointPnP.Modernization.Framework.Telemetry;
using SharePointPnP.... |
src/IX.StandardExtensions/StandardExtensions/Threading/TaskFactoryExtensions.cs | adimosh/IX.StandardExtensions | 0 | 7028756 | <filename>src/IX.StandardExtensions/StandardExtensions/Threading/TaskFactoryExtensions.cs
// <copyright file="TaskFactoryExtensions.cs" company="<NAME>">
// Copyright (c) <NAME> with all rights reserved. Part of the IX Framework.
// </copyright>
using System;
using System.Globalization;
using System.Threading;
using S... |
src/MatrixDotNet/Extensions/Statistics/TableSetup/ConfigVariations.cs | toor1245/MatrixDotNet | 6 | 7028757 | <reponame>toor1245/MatrixDotNet
namespace MatrixDotNet.Extensions.Statistics.TableSetup
{
/// <summary>
/// Represents configuration for <c>Variations</c>
/// </summary>
/// <typeparam name="T">unmanaged type</typeparam>
public class ConfigVariations<T> : IConfig<T> where T : unmanaged
{
... |
Assets/Scripts/ssj2019/Players/PlayerBehavior.cs | pdxparrot/ssj2019 | 1 | 7028758 | <reponame>pdxparrot/ssj2019
using pdxpartyparrot.Core.Data;
using pdxpartyparrot.Core.Effects.EffectTriggerComponents;
using pdxpartyparrot.Core.Util;
using pdxpartyparrot.Core.World;
using pdxpartyparrot.Game.Actors;
using pdxpartyparrot.ssj2019.Characters.Brawlers;
using pdxpartyparrot.ssj2019.Data.Players;
using pd... |
Kinetix.Search.Models/Annotations/SearchFieldIndexing.cs | klee-contrib/kinetix | 0 | 7028759 | namespace Kinetix.Search.Models.Annotations;
/// <summary>
/// Type d'indexage pour le moteur de recherche.
/// </summary>
public enum SearchFieldIndexing
{
/// <summary>
/// Le champ n'est pas indexé.
/// </summary>
None,
/// <summary>
/// Champ de recherche : indexé tokenisé en... |
MasterDevs.ChromeDevTools/Protocol/Network/DeleteCookieCommand.cs | brewdente/AutoWebPerf | 0 | 7028760 | using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Network
{
/// <summary>
/// Deletes browser cookie with given name, domain and path.
/// </summary>
[Command(ProtocolName.Network.DeleteCookie)]
public class DeleteCookieCommand
... |
NotesFETelegramBot/Commands/Command.cs | DipCoy/NotesFE | 0 | 7028761 | using System.Threading.Tasks;
using Telegram.Bot;
using Telegram.Bot.Types;
namespace NotesFETelegramBot.Commands
{
public abstract class Command
{
public abstract string Name { get; }
public abstract Task Execute(Message message, TelegramBotClient client);
public bool Contains(string... |
src/GitVersionCore/IncrementStrategyFinder.cs | WalkerCodeRanger/GitVersion | 0 | 7028762 | using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using GitVersion.Configuration;
using GitVersion.VersionCalculation.BaseVersionCalculators;
using LibGit2Sharp;
using GitVersion.Helpers;
namespace GitVersion
{
public enum CommitMessageIncrementMode
{
... |
FamilyTreeNet/Pages/Admin/_FamilyBlockAdmin.cshtml | hdkesting/FamilyTreeNet | 0 | 7028763 | @model FamilyTreeNet.ViewModels.FamilyVm
@if (Model != null)
{
<div class="marriage">
<p style="font-size: x-large">×</p>
@if (Model.MarriageDate != null || !string.IsNullOrEmpty(Model.MarriagePlace))
{
<p><span title="Married" class="symbol">⚭</span> <span>@Model.MarriageDateFmt</span> <spa... |
src/UploadImagesSample/UploadImagesSample/Universal.cs | wilsonvargas/UploadImage | 0 | 7028764 | <filename>src/UploadImagesSample/UploadImagesSample/Universal.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace UploadImagesSample
{
public static class Universal
{
public const string StorageConnectionString = "";
public const string NameContainerReference = "";
... |
src/Cabinet.Web/Files/FileTypeProvider.cs | johncmckim/cabinet | 11 | 7028765 | <gh_stars>10-100
using System.Collections.Generic;
namespace Cabinet.Web.Files {
// Complete list of MIME types
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Complete_list_of_MIME_types
// Annotation of /httpd/httpd/branches/2.2.x/docs/conf/mime.types
// http://svn.ap... |
WindowsGSM/GameServer/CS.cs | CatWithAutism/WindowsGSM | 207 | 7028766 | namespace WindowsGSM.GameServer
{
class CS : Engine.GoldSource
{
public const string FullName = "Counter-Strike: 1.6 Dedicated Server";
public override string Defaultmap { get { return "de_dust2"; } }
public override string Game { get { return "cstrike"; } }
public override stri... |
src/common/Edelstein.Common.Gameplay/Users/CharacterDataFlags.cs | R3DIANCE/Edelstein | 0 | 7028767 | using System;
namespace Edelstein.Common.Gameplay.Users
{
[Flags]
public enum CharacterDataFlags
{
Character = 0x1,
Money = 0x2,
ItemSlotEquip = 0x4,
ItemSlotConsume = 0x8,
ItemSlotInstall = 0x10,
ItemSlotEtc = 0x20,
ItemSlotCash = 0x40,
Inve... |
Assets/CosmosFramework/Runtime/Modules/Audio/EventArgs/AudioRegistSuccessEventArgs.cs | DonnYep/CosmosFramework | 110 | 7028768 | using UnityEngine;
namespace Cosmos.Audio
{
public class AudioRegistSuccessEventArgs : GameEventArgs
{
public string AudioName { get; private set; }
public string AudioGroupName { get; private set; }
public AudioClip AudioClip { get; private set; }
public override void Release()... |
message-builder-release-v01_r04_3/Main/Ca/Infoway/Messagebuilder/Model/Pcs_cerx_v01_r04_3/Iehr/Merged/MedicalConditionStatusChanges.cs | freddycoder/message-builder-dotnet | 1 | 7028769 | /**
* Copyright 2015 Canada Health Infoway, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by... |
Samples/dot net/SOI/NetUNEditAreasSOI/SOIUtil.cs | hanhansun/arcgis-enterprise-sdk-resources | 6 | 7028770 | <filename>Samples/dot net/SOI/NetUNEditAreasSOI/SOIUtil.cs
using ESRI.ArcGIS.Carto;
using ESRI.ArcGIS.esriSystem;
using ESRI.ArcGIS.Geodatabase;
using ESRI.ArcGIS.Server;
using ESRI.Server.SOESupport;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
n... |
ClickHouse.Client/Types/AbstractDateTimeType.cs | olafbuitelaar/ClickHouse.Client | 0 | 7028771 | using System;
using NodaTime;
using NodaTime.TimeZones;
namespace ClickHouse.Client.Types
{
internal abstract class AbstractDateTimeType : ParameterizedType
{
public override Type FrameworkType => typeof(DateTime);
public DateTimeZone TimeZone { get; set; }
public DateTime FromUnixTi... |
RuralAPI/RuralAPI/Repositories/IPersonRepository.cs | e310905-Saimia/rural-api | 0 | 7028772 | <reponame>e310905-Saimia/rural-api<filename>RuralAPI/RuralAPI/Repositories/IPersonRepository.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using RuralAPI.Models;
namespace RuralAPI.Repositories
{
public interface IPersonRepository
{
List... |
komodo-desktopgl/Common/Behaviors/PlayerBehavior.cs | ExoKomodo/KomodoTemplates | 0 | 7028773 | using Komodo.Core.ECS.Components;
using Color = Microsoft.Xna.Framework.Color;
using GameTime = Microsoft.Xna.Framework.GameTime;
using SoundEffectInstance = Microsoft.Xna.Framework.Audio.SoundEffectInstance;
namespace Common.Behaviors
{
public class PlayerBehavior : BehaviorComponent
{
#region Const... |
src/Dtmcli/Barrier/DbUtils.cs | yedf/dtmcli-csharp | 21 | 7028775 | using Dapper;
using Dtmcli.DtmImp;
using System.Data.Common;
using System.Threading.Tasks;
namespace Dtmcli
{
public static class DbUtils
{
public static async Task<int> InsertBarrier(DbConnection db, string transType, string gid, string branchID, string op, string barrierID, string reason, DbTransact... |
src/AddIns/Analysis/UnitTesting/Test/Utils/Tests/MockTestResultsMonitorTestFixture.cs | dongdapeng110/SharpDevelopTest | 11 | 7028776 | // Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using ICSharpCode.UnitTesting;
using NUnit.Framework;
using UnitTesting.Tests;
namespace UnitTesting.Tests.Util... |
Assets/Udon/Editor/ProgramSources/UdonGraphProgram/UI/GraphView/UdonProgramSourceView.cs | aiya000/VRChat-EasyAudioPlayer | 3 | 7028778 | <filename>Assets/Udon/Editor/ProgramSources/UdonGraphProgram/UI/GraphView/UdonProgramSourceView.cs
using UnityEngine.Experimental.UIElements;
namespace VRC.Udon.Editor.ProgramSources.UdonGraphProgram.UI.GraphView
{
public class UdonProgramSourceView : VisualElement
{
private UdonProgramAsset _as... |
LoopingAudioConverter/AACQualityForm.cs | eliboa/LoopingAudioConverter | 2 | 7028779 | <filename>LoopingAudioConverter/AACQualityForm.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Windows.Forms;
namespace LoopingAudioConverter {
public part... |
AOC1.1/Y2021/Day7Y2021.cs | QLerin/AdventOfCode | 0 | 7028780 | using System;
using System.Linq;
namespace AOC1._1.Y2021
{
public class Day7Y2021
{
public static void Task1()
{
var lines = System.IO.File.ReadAllLines(@"C:\Coding\AdventOfCode\AOC1.1\Y2021\Data7.txt");
var crabbies = lines[0].Split(',').Select(int.Parse).ToList();
... |
src/Umbraco.Web.Common/Extensions/CacheHelperExtensions.cs | rustybox/Umbraco-CMS | 2 | 7028781 | <gh_stars>1-10
using System;
using Microsoft.AspNetCore.Html;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Umbraco.Cms.Core.Cache;
using Umbraco.Cms.Core.Hosting;
namespace Umbraco.Extensions
{
/// <summary>
/// Extension methods for the cache helper
/// </s... |
Unity/Packages/com.arongranberg.astar/Generators/Utilities/Voxels/CompactVoxelFieldBurst.cs | Noname-Studio/ET | 0 | 7028782 | <reponame>Noname-Studio/ET<filename>Unity/Packages/com.arongranberg.astar/Generators/Utilities/Voxels/CompactVoxelFieldBurst.cs
using Unity.Collections;
using Unity.Mathematics;
using UnityEngine.Assertions;
namespace Pathfinding.Voxels.Burst {
/// <summary>Stores a compact voxel field. </summary>
public struct Comp... |
sdk/dotnet/Networking/V1Beta1/Inputs/IngressClassSpecArgs.cs | csssuf/pulumi-kubernetes | 0 | 7028783 | <gh_stars>0
// *** WARNING: this file was generated by pulumigen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Kuberne... |
Views/ChartView.xaml.cs | Daxxn/FlightSimChecklist | 0 | 7028784 | <gh_stars>0
using ChecklistApp.ViewModels;
using System;
using System.Collections.Generic;
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.Windows... |
EditorConfigGenerator.Core/Styles/CSharpStylePatternLocalOverAnonymousFunctionStyle.cs | AnqiLi6/EditorConfigGenerator | 0 | 7028785 | <reponame>AnqiLi6/EditorConfigGenerator
using EditorConfigGenerator.Core.Statistics;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System;
using System.Linq;
using static EditorConfigGenerator.Core.Extensions.EnumExtensions;
namespace EditorConfig... |
TrafficSignal.API/Dtos/JunctionDto.cs | gaureshph/TrafficSignalTest | 0 | 7028786 | namespace TrafficSignal.Web.DomainModels
{
public class JunctionDto
{
public int Id { get; set; }
public string Name { get; set; }
public bool IsActive { get; set; }
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.