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 |
|---|---|---|---|---|
Pokemon Unity/Assets/Scripts/Overworld/Map/Tile.cs | jackchristenson/PokemonUnity | 1 | 7045397 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
//using Newtonsoft.Json;
//using Newtonsoft.Json.Serialization;
//using UnityEngine;
using PokemonUnity;
using PokemonUnity.Monster;
using PokemonUnity.Overworld;
namespace PokemonUnity
{
public struct Tile
{
#r... |
Source/Coinbase.Tests/ApiTests/CheckoutData.cs | annetexpt/coinbase-commerce-app | 49 | 7045398 | <reponame>annetexpt/coinbase-commerce-app
using System.Collections.Generic;
using Coinbase.Commerce.Models;
namespace Coinbase.Tests.ApiTests
{
public static class CheckoutData
{
public const string Checkout = @"{
""id"": ""30934862-d980-46cb-9402-43c81b0cabd5"",
""name"": ""The Sovereign... |
DialogueZoneItems/DialogueZoneItems.cs | nick0937/CorgiEngineExtensions | 139 | 7045400 | <gh_stars>100-1000
using UnityEngine;
using UnityEngine.Events;
using System.Collections;
using System.Collections.Generic;
using MoreMountains.Tools;
namespace MoreMountains.CorgiEngine
{
[RequireComponent(typeof(Collider2D))]
/// <summary>
/// This script allow you to create requesting items dialogues
/// In... |
src/Kritner.AdventOfCode2018/Day4/Puzzle.cs | Kritner/Kritner.AdventOfCode2018 | 2 | 7045401 | <filename>src/Kritner.AdventOfCode2018/Day4/Puzzle.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Kritner.AdventOfCode2018.Day4
{
public class Puzzle
{
private readonly GuardLogParser _parser = new GuardLogParser();
public int GetPuzzle1(IEn... |
Assets/HoloToolkit/Utilities/Editor/BuildMenu.cs | Polyrhythm/bud | 1 | 7045402 | using System.IO;
using System.Linq;
using UnityEditor;
using UnityEngine;
namespace HoloToolkit.Unity
{
/// <summary>
/// Contains menu items for building HoloLens projects
/// </summary>
public static class BuildMenu
{
/// <summary>
/// Builds the project configured for the HoloLe... |
Framework/Framework/Util/AddReplyType.cs | adrianlulea/ConversationsManager | 0 | 7045403 | <reponame>adrianlulea/ConversationsManager
namespace Framework.Util
{
/// <summary>
/// AddReplyType enumeration.
/// </summary>
public enum AddReplyType
{
/// <summary>
/// Add a reply manually.
/// </summary>
FromUser,
/// <summary>
/// ... |
ImageViewer/Web/Client/Silverlight/Actions/IToolstripButton.cs | SNBnani/Xian | 1 | 7045404 | <filename>ImageViewer/Web/Client/Silverlight/Actions/IToolstripButton.cs
#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/O... |
ImportOMatic3000/Filters/MatchFilter.cs | rottedfrog/importomatic | 0 | 7045405 | <reponame>rottedfrog/importomatic
using System;
using System.Text.RegularExpressions;
namespace ImportOMatic3000.Filters
{
public class MatchFilter : IStringFilter
{
readonly Regex _matchExpression;
public MatchFilter(Regex matchExpression) => _matchExpression = matchExpression;
publi... |
Particle/Extensions.cs | holtsoftware/ParticleSDK | 10 | 7045407 | <filename>Particle/Extensions.cs
/*
Copyright 2016 ParticleNET
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 agr... |
Action.cs | chvia223/csharp-metroidvania | 0 | 7045408 | using System;
using System.Collections.Generic;
using cse210_final_metroidvania.Casting;
namespace cse210_final_metroidvania
{
/// <summary>
/// The base class of all other actions.
/// </summary>
public abstract class Action
{
protected string _newRoom = "";
public abstract string... |
Hospital_ERP_VS13-WCF_WF/AH.INVMS/MODEL/ItemIssue.cs | atiq-shumon/DotNetProjects | 0 | 7045409 | <reponame>atiq-shumon/DotNetProjects<filename>Hospital_ERP_VS13-WCF_WF/AH.INVMS/MODEL/ItemIssue.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AH.Shared.MODEL;
using AH.PRMS.MODEL;
using AH.ACCMS.MODEL;
using AH.HR.MODEL;
namespace AH.INVMS... |
input/_partials/_favicons.cshtml | dave-007/website | 154 | 7045410 | <link rel="apple-touch-icon" sizes="180x180" href="img/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="img/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="img/favicon/favicon-16x16.png">
<link rel="manifest" href="manifest.json">... |
build/CliWrapCommandExtensions.cs | Themodem/Stl.Fusion | 2 | 7045411 | <reponame>Themodem/Stl.Fusion
using System;
using System.IO;
using CliWrap;
namespace Build
{
internal static class CliWrapCommandExtensions
{
internal static Stream _stdout = Console.OpenStandardOutput();
internal static Stream _stderr = Console.OpenStandardError();
internal static C... |
Assets/Scripts/PlayerHealth.cs | OzgeKocaoglu/TankWarz | 2 | 7045412 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Photon.Pun;
using Photon;
using Photon.Realtime;
public class PlayerHealth : MonoBehaviourPunCallbacks
{
private int Health = 100;
public PhotonPlayerCreator _playerCreator;
private DeathCounter deathCounter;
publi... |
src/StreamAnalytics/generated/api/Models/Api20170401Preview/StreamInputDataSource.cs | mbentancour/azure-powershell | 3,336 | 7045413 | namespace Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Models.Api20170401Preview
{
using static Microsoft.Azure.PowerShell.Cmdlets.StreamAnalytics.Runtime.Extensions;
/// <summary>Describes an input data source that contains stream data.</summary>
public partial class StreamInputDataSource :
... |
src/EditorFeatures/Core/Implementation/CallHierarchy/Finders/AbstractCallFinder.cs | akoeplinger/roslyn | 85 | 7045414 | <filename>src/EditorFeatures/Core/Implementation/CallHierarchy/Finders/AbstractCallFinder.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Collections.Immuta... |
src/Pevac/other_stuff/Void.cs | BusHero/Notion-SDK | 0 | 7045415 | <reponame>BusHero/Notion-SDK
using System;
using System.Diagnostics.CodeAnalysis;
namespace Pevac;
/// <summary>
/// Represents a type with a single value.
/// </summary>
public readonly struct Void : IEquatable<Void>
{
/// <summary>
/// Gets the single <see cref="Void"/> value.
/// </summary>
public... |
src/Services/Ordering/Ordering.API/Application/IntegrationEvents/Events/OrderCreatedIntegrationEvent.cs | hulyav/eShopContainersSmall | 0 | 7045416 | using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Events;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Ordering.API.Application.IntegrationEvents.Events
{
public class OrderCreatedIntegrationEvent : IntegrationEvent
{
public string ... |
Editor/common/AutoGrayableImage.cs | MovGP0/math-editor | 1 | 7045417 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Controls;
using System.Windows;
using System.Windows.Media.Imaging;
using System.Windows.Media;
namespace Editor
{
public class AutoGreyableImage : Image
{
static AutoGreyableImage()
... |
BaseRecyclerViewAdapterHelper.Sample/Base/BaseActivity.cs | dminta/BaseRecyclerViewAdapterHelperXamarinAndroidBinding | 1 | 7045418 | using System;
using Android.OS;
using Android.Support.V7.App;
using Android.Views;
using Android.Widget;
using Com.Orhanobut.Logger;
using Toolbar = Android.Support.V7.Widget.Toolbar;
namespace BaseRecyclerViewAdapterHelper.Sample.Base
{
public class BaseActivity : AppCompatActivity
{
class OnClickLis... |
src/Library/Core/IDictionaryEntryConverter.cs | RobertGiesecke/PlainCsv | 0 | 7045420 | using System;
using System.Collections.Generic;
namespace RGiesecke.PlainCsv.Core
{
public interface IDictionaryEntryConverter
{
Func<object, KeyValuePair<object, object>> FromUntyped(object dictionary);
DictionaryWrapper<TKey, TValue> WrapDictionary<TKey, TValue>(
IEnumerable<KeyValuePair<TKey, TVa... |
WebApplication1/Services/Retrieve.cs | robertbutacu/LoLPlayerInfo | 1 | 7045421 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WebApplication1.LolAPIServices;
using WebApplication1.Models;
namespace WebApplication1.Services
{
public static class Retrieve
{
public static int ParticipantIdForCurrentMatch(List<ParticipantIde... |
TabbedEditor/WorldEditor/Tools/LandBrushTool.cs | foxscore/TabbedEditor | 0 | 7045422 | using System.Windows.Input;
using TabbedEditor.WorldEditor.Data;
namespace TabbedEditor.WorldEditor.Tools
{
public class LandBrushTool : IWorldEditorTool
{
private WorldEditorControl _editor;
public LandBrushTool(WorldEditorControl editor)
{
_editor = editor;
}
... |
src/SFA.DAS.EmployerUsers.Support.Infrastructure/Settings/EmployerUserDatabaseSettings.cs | scottcowan/das-support-employerusers | 0 | 7045423 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sfa.Das.Console.Core.Configuration;
using Sfa.Das.Console.Core.Services;
namespace Sfa.Das.Console.Infrastructure.Settings
{
public class EmployerUserDatabaseSettings : IEmployerUserDatabaseSe... |
Api/ShoppingList.Api.Domain/Common/Queries/IQueryHandler.cs | Velociraptor45/ProjectHermes-ShoppingList | 0 | 7045424 | <filename>Api/ShoppingList.Api.Domain/Common/Queries/IQueryHandler.cs
using System.Threading;
using System.Threading.Tasks;
namespace ProjectHermes.ShoppingList.Api.Domain.Common.Queries
{
public interface IQueryHandler<in TQuery, TValue>
where TQuery : IQuery<TValue>
{
Task<TValue> HandleAsyn... |
Neemo.Web/Neemo.CartParts.EntityFramework/Models/Mapping/YearMap.cs | wijayakoon/Unixmo | 0 | 7045425 | using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
namespace Neemo.CarParts.EntityFramework.Models.Mapping
{
public class YearMap : EntityTypeConfiguration<Year>
{
public YearMap()
{
// Primary Key
this.HasKey(t => t.YearID);... |
src/Delta.CapiNet/Internals/CtlContextHandle.cs | odalet/CertXplorer | 6 | 7045426 | <filename>src/Delta.CapiNet/Internals/CtlContextHandle.cs<gh_stars>1-10
using System;
using System.Runtime.InteropServices;
using System.Security.Cryptography.X509Certificates;
using Microsoft.Win32.SafeHandles;
namespace Delta.CapiNet.Internals
{
/// <summary>
/// <b>Safely</b> holds a CTL (Certificate Trus... |
sar/Tools/LogForm.cs | kboronka/sar-tool | 1 | 7045427 | <gh_stars>1-10
/* Copyright (C) 2021 <NAME>
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SH... |
crp-lib-api net/orders/OrderHistory.cs | IvanDanshin/crp-lib-api-net | 0 | 7045428 | using System;
using System.Collections.Generic;
using System.Text;
namespace crp_lib_api_net.orders
{
class OrderHistory
{
public Order order;
public LinkedList<string> history;
public PairStr pair;
public OrderHistory(
Order ... |
NQuery/NQuery/Query.cs | saeb-panahifar/QueryBuilder | 5 | 7045430 | <reponame>saeb-panahifar/QueryBuilder
namespace NQuery
{
public static class Query
{
public static SelectStatement<T> From<T>()
{
return new SelectStatement<T>();
}
}
}
|
source/Calamari.Tests/Fixtures/FunctionCodeGen/DynamicFunctionFixture.cs | tfly0072/Calamari | 198 | 7045431 | using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Assent;
using Calamari.Common;
using Calamari.Common.Commands;
using Calamari.Common.Features.Deployment;
using Calamari.Common.Features.FunctionScriptContributions;
using Calamari.Common.Features.Scripts;
using Calama... |
src/CherryCollections.Benchmarks/PriorityQueue/ConstructionBenchmark.cs | apoorvkhurasia/cherry | 0 | 7045432 | <gh_stars>0
using System.Collections.Generic;
using BenchmarkDotNet.Attributes;
namespace CherryCollections.Benchmarks.PriorityQueue
{
public class ConstructionBenchmark : AbstractPriorityQueueBenchmark
{
public ConstructionBenchmark() : base(100000) { }
[Benchmark(Baseline = true)]
... |
src/ProGetNuGetPruner/Model/Feed.cs | jokokko/ProGetNuGetPruner | 0 | 7045433 | using System.Xml.Serialization;
namespace ProGetNuGetPruner.Model
{
[XmlRoot(ElementName = "feed", Namespace = "http://www.w3.org/2005/Atom")]
public sealed class Feed
{
[XmlElement(ElementName = "entry")] public Entry[] Entries { get; set; }
}
} |
sources/Interop/Windows/um/wincodecsdk/IWICMetadataBlockWriter.cs | mfkl/terrafx.interop.windows | 0 | 7045434 | // Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/wincodecsdk.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runtime.Compile... |
01.ProgrammingBasicsC#/05.SimpleLoops/12.EqualPairs/EqualPairs.cs | Steffkn/SoftUni | 1 | 7045435 | <reponame>Steffkn/SoftUni<filename>01.ProgrammingBasicsC#/05.SimpleLoops/12.EqualPairs/EqualPairs.cs
namespace _12.EqualPairs
{
using System;
public class EqualPairs
{
static void Main()
{
int N = int.Parse(Console.ReadLine());
int pairA = 0;
int pairB =... |
src/PSDocs/Processor/Markdown/MarkdownProcessor.cs | cporteou/PSDocs | 1 | 7045436 | <filename>src/PSDocs/Processor/Markdown/MarkdownProcessor.cs<gh_stars>1-10
using PSDocs.Configuration;
using PSDocs.Models;
using System.Diagnostics;
using System.IO;
namespace PSDocs.Processor.Markdown
{
public sealed class MarkdownProcessor
{
private const string MARKDOWN_BLOCKQUOTE = "> ";
... |
src/CryptoCurrency.Core/Currency/Nexus.cs | smnplicity/cryptocurrency | 6 | 7045437 | <gh_stars>1-10
namespace CryptoCurrency.Core.Currency
{
public class Nexus : ICurrency
{
public CurrencyCodeEnum Code => CurrencyCodeEnum.NXS;
public string Label => "Nexus";
public string Symbol => "NXS";
}
}
|
OOP/4.OOPPrinciples/OOPPrinciples/03.AnimalHierarchy/Cat.cs | iliantrifonov/TelerikAcademy | 0 | 7045438 | namespace _03.AnimalHierarchy
{
public class Cat : Animal, ISound
{
public Cat(string name, int age, string sex)
: base(name, age, sex)
{ }
public override string MakeSound()
{
return "Meow Meow";
}
}
} |
Src/CSharpier/SyntaxPrinter/SyntaxNodePrinters/CompilationUnit.cs | shocklateboy92/csharpier | 207 | 7045439 | using System.Collections.Generic;
using System.Linq;
using CSharpier.DocTypes;
using CSharpier.SyntaxPrinter;
using CSharpier.Utilities;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace CSharpier.SyntaxPrinter.SyntaxNodePrinters
{
public static class CompilationUnit
{
public static Doc Print(Compi... |
source/Lilac.Decompiler/Decompiler.cs | Siaranite-Solutions/Lilac-IDE | 1 | 7045440 | <reponame>Siaranite-Solutions/Lilac-IDE
using System;
using System.Collections.Generic;
using System.Text;
namespace Lilac.Decompiler
{
public class Decompiler
{
public Decompiler(byte[] byteCode)
{
this.Executable = byteCode;
}
/// <summary>
/// Get the op... |
Rx.Net/ObservableGroupByScan/ObservableDemo/ObservableDemo/Repository.cs | rrajeshkannan/RnD | 0 | 7045441 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
namespace ObservableDemo
{
public class Repository<TItem>
{
private class ItemAddedEventArgs<T> : EventArgs
{
public T Item { get; }
public ItemAddedEventArgs(T number) => It... |
LiveSplit/LiveSplit.Core/Model/SumOfSegmentsHelper.cs | chloe747/LiveSplit | 4 | 7045442 | using System;
using System.Linq;
namespace LiveSplit.Model
{
public static class SumOfSegmentsHelper
{
public static IndexedTime TrackCurrentRun(IRun run, TimeSpan? currentTime, int segmentIndex, TimingMethod method = TimingMethod.RealTime)
{
if (segmentIndex > 0 && !run[segmentInd... |
src/Swan.Core/Mapping/ObjectMap.cs | unosquare/swan | 231 | 7045443 | namespace Swan.Mapping;
using Swan.Reflection;
/// <summary>
/// Provides a basic implementation of a <see cref="IObjectMap"/>
/// It's basically a dictionary of target properties to value providers.
/// </summary>
internal class ObjectMap : ConcurrentDictionary<IPropertyProxy, SourceValueProvider>, IObjectMap
{
... |
SpectrumAnalyzer/Models/DatapointCollection.cs | Grahmification/SpectrumAnalyzer | 0 | 7045444 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
namespace SpectrumAnalyzer.Models
{
public class DatapointCollection: ObservableCollection<Datapoint>
{
public IList<double> XValues { get { return Items.Select(c => c.X).ToList(); } }
publ... |
src/Conesoft.DNSimple/Domains/Domain.cs | conesoft/dnsimple | 0 | 7045445 | using System;
namespace Conesoft.DNSimple
{
namespace Domains
{
public class Domain
{
public int id { get; set; }
public int account_id { get; set; }
public int registrant_id { get; set; }
public string name { get; set; }
public strin... |
YusX.Api/YusX.Entity/Domain/System/Sys_ApiLog.cs | SakuraYuki/YusX | 0 | 7045446 | <reponame>SakuraYuki/YusX
/*
* Author:SakuraYuki
* Contact:<EMAIL>
* ----------
* 1.此代码为自动生成,自行修改将会导致不可预知的问题
* 2.数据库更新时需重新生成此代码文件
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using YusX.Entit... |
Settings.Wpf/Binding/DataGridColumnsBinding.cs | morsiu/Settings | 0 | 7045447 | <reponame>morsiu/Settings
// Copyright (C) 2013 <NAME>
// 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,... |
AddressesApi/V1/UseCase/GetAllUseCase.cs | humulla/addresses-api | 0 | 7045448 | <filename>AddressesApi/V1/UseCase/GetAllUseCase.cs
using BaseApi.V1.Boundary;
using BaseApi.V1.Boundary.Response;
using BaseApi.V1.Factories;
using BaseApi.V1.Gateways;
using BaseApi.V1.UseCase.Interfaces;
namespace BaseApi.V1.UseCase
{
//TODO: Rename class name and interface name to reflect the entity they are r... |
CountriesDemo.WPF/Classes/CountryModel.cs | poiasd3241/CountriesDemo.WPF | 0 | 7045449 | <gh_stars>0
using System;
namespace CountriesDemo.WPF
{
public class CountryModel
{
public string Name { get; set; }
public string Alpha3Code { get; set; }
public string Capital { get; set; }
public string Area { get; set; }
public string Population { get; set; }
public string Region { get; s... |
Src/IronText.Build/Derived.cs | sucaba/IronTextLibrary | 9 | 7045450 | using System;
using System.IO;
using System.Reflection;
namespace IronText.Build
{
public class Derived
{
public void Execute(
ILogger logger,
string sourceAssemblyPath,
string derivatorClassName,
string derivedPath)
{
var sourceAssem... |
NestedLayerManager/NodeControl/Engines/NodeCreateEngine.cs | timhawker/nlm3 | 4 | 7045451 | <filename>NestedLayerManager/NodeControl/Engines/NodeCreateEngine.cs<gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Autodesk.Max;
using System.Windows.Forms;
using NestedLayerManager.SubControls;
using NestedLayerManager.MaxInteractiv... |
course_1/informatics/2 лаба-1/2 лаба-1/Form3.cs | IlonaZellka/DonNU | 0 | 7045452 | <filename>course_1/informatics/2 лаба-1/2 лаба-1/Form3.cs
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 _2_лаба_1
{
public... |
SampleControlLibrary/MinInput.cs | robertvazan/assisticantfacades | 0 | 7045453 | // Part of Assisticant.Facades: https://blog.machinezoo.com/easy-wpf-control-authoring-with
using Assisticant.Facades;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace SampleControlLibrary
{
public class M... |
Items/MarivsWingBone.cs | CircleCly/Terraria-Chaos-Rings-III-Mod | 0 | 7045454 | <reponame>CircleCly/Terraria-Chaos-Rings-III-Mod<gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
using Terraria.ModLoader;
using Terraria.ID;
using Terraria;
namespace ChaosRings3Mod.Items
{
class MarivsWingBone : ModItem
{
public override void SetStaticDefaults()
... |
src/digitalcounterfeit.mediaplayer.api/Controllers/ArtistController.cs | stevendenniston/digitalcounterfeit.mediaplayer | 0 | 7045455 | using digitalcounterfeit.mediaplayer.api.Data.Interfaces;
using digitalcounterfeit.mediaplayer.api.Models;
using Microsoft.AspNetCore.JsonPatch;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namesp... |
MainWindow.cs | jjvanzon/JJ.PictureViewer2 | 1 | 7045456 | //
// PictureViewer2.MainWindow
//
// Author: <NAME>
// Date: 29-10-2010 - 30-10-2020
//
// -----
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Sy... |
src/System/Extensions/StringBuilderEx.cs | micexu/Sudoku | 1 | 7045457 | <gh_stars>1-10
using System.Collections.Generic;
using System.Text;
namespace System.Extensions
{
/// <summary>
/// Provides extension methods on <see cref="StringBuilder"/>.
/// </summary>
/// <seealso cref="StringBuilder"/>
public static class StringBuilderEx
{
/// <summary>
/// Reverse all characters in ... |
Src/Melville.Pdf.ReferenceDocuments/Graphics/FormXobjects/ClipAndScale.cs | DrJohnMelville/Pdf | 0 | 7045458 | namespace Melville.Pdf.ReferenceDocuments.Graphics.FormXobjects;
public class ClipAndScale: FormXObjectBase
{
public ClipAndScale() : base("Uses a simple form xobject")
{
}
protected override PdfStream FormDefinition() =>
new DictionaryBuilder()
.WithItem(KnownNames.Type, Know... |
Engine/GameAudioManager.cs | Selinux24/SharpDX-Tests | 2 | 7045459 | using SharpDX;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace Engine
{
using Engine.Audio;
using Engine.Content;
/// <summary>
/// Audio manager
/// </summary>
public class GameAudioManager : IDisposable
{
... |
src/Microsoft.Data.SqlClient/tests/ManualTests/AlwaysEncrypted/TestFixtures/SQLSetupStrategy.cs | yesmey/SqlClient | 0 | 7045460 | <gh_stars>0
// 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;
using System;
using System.Collections.Generic;
using System.Security.Cryptography.X509Cer... |
build.cake | azurevoodoo/Swetugg2018 | 0 | 7045461 | FilePath solution = "./src/hwapp.sln";
FilePath testProject = "./src/hwapp.tests/hwapp.tests.csproj";
Task("Clean")
.Does( () => {
CleanDirectories("./src/**/obj/*");
}
);
Task("Restore")
.Does( () => {
DotNetCoreRestore(
solution.FullPath
);
}
);
Task("Bui... |
Symbioz/World/Records/Alliances/GuildAllianceRecord.cs | CarlCochet/Symbioz | 2 | 7045462 | using Symbioz.Network.Servers;
using Symbioz.ORM;
using Symbioz.World.Records.Guilds;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Symbioz.DofusProtocol.Types;
using Symbioz.DofusProtocol.Messages;
using Symbioz.Network.Clients;
namespace Sy... |
src/FDTeamSDK/Extensions/StreamExtensions.cs | oopsReach/FDTeamSDK | 0 | 7045463 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing.Imaging;
using System.Drawing;
using System.IO;
using System.Web.Script.Serialization;
using System.Windows;
using System.Windows.Forms;
using System.Runtime.InteropServices;
namespace FDSDK.Extensions
{
///... |
Teams.Services.Core/Services/Data/DocumentService.cs | andtkach/teams-api | 1 | 7045464 | <filename>Teams.Services.Core/Services/Data/DocumentService.cs
namespace Teams.Services.Core.Services.Data
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Net;
using System.Threading.Tasks;
using Core.Services.Interfaces;
... |
Cesil/TypeDescriber/Wrappers/ShouldSerialize.cs | kevin-montrose/Cesil | 66 | 7045465 | <filename>Cesil/TypeDescriber/Wrappers/ShouldSerialize.cs<gh_stars>10-100
using System;
using System.Linq.Expressions;
using System.Reflection;
namespace Cesil
{
/// <summary>
/// Delegate type for 'should serialize' that don't take a row.
/// </summary>
public delegate bool StaticShouldSerializeDeleg... |
src/CloudStack.Net/Generated/ListTrafficTypeImplementors.cs | mrehman29/cloudstack.net | 0 | 7045466 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace CloudStack.Net
{
public class ListTrafficTypeImplementorsRequest : APIListRequest
{
public ListTrafficTypeImplementorsRequest() : base("listTr... |
ONBOXApp/RenumberColumns/RenumberColumnsUI.xaml.cs | engthiago/OnboxApp | 17 | 7045467 | <reponame>engthiago/OnboxApp
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.Med... |
src/Simpbot.Service.Search/Contracts/SearchPayload.cs | Trapov/Simpbot | 1 | 7045468 | using System.Collections.Generic;
using Newtonsoft.Json;
namespace Simpbot.Service.Search.Contracts
{
public class Url
{
[JsonProperty("type")]
public string Type { get; set; }
[JsonProperty("template")]
public string Template { get; set; }
}
public class Request
... |
src/Dynatrace.Net/Environment/UserSessions/Models/DtaqlResultAsTable.cs | lvermeulen/Dynatrace.Net | 1 | 7045469 | <gh_stars>1-10
using System.Collections.Generic;
namespace Dynatrace.Net.Environment.UserSessions.Models
{
public class DtaqlResultAsTable
{
public int? ExtrapolationLevel { get; set; }
public IEnumerable<string> AdditionalColumnNames { get; set; }
public IEnumerable<object> AdditionalValues { get; se... |
WmcSoft.Core/Symbol.cs | vjacquet/WmcSoft | 3 | 7045470 | <filename>WmcSoft.Core/Symbol.cs<gh_stars>1-10
#region Licence
/****************************************************************************
Copyright 1999-2016 <NAME>. All rights reserved.
Permission is granted to anyone to use this software for any purpose on
any computer system, and to alter it... |
src/Cofoundry.Domain/Domain/Cryptography/Bootstrap/CryptographyDependencyRegistration.cs | BearerPipelineTest/cofoundry | 0 | 7045471 | <filename>src/Cofoundry.Domain/Domain/Cryptography/Bootstrap/CryptographyDependencyRegistration.cs
using Cofoundry.Core.DependencyInjection;
using Cofoundry.Domain.Cryptography;
using Cofoundry.Domain.Extendable;
using Cofoundry.Domain.Internal;
using Microsoft.AspNetCore.Identity;
namespace Cofoundry.Domain.Registra... |
templates/Dev_Template/ICoreServices.cs | manutdkid77/shiny | 0 | 7045472 | <reponame>manutdkid77/shiny
using System;
using Acr.UserDialogs.Forms;
using Shiny;
using Shiny.Net;
using Shiny.Logging;
namespace $safeprojectname$
{
public interface ICoreServices
{
ILocalize Localize { get; }
ILogger Logger { get; }
IUserDialogs Dialogs { get; }
IConnectiv... |
src/Hazelcast.Net.Examples/Client/HostedExample.cs | emreyigit/hazelcast-csharp-client | 94 | 7045473 | <gh_stars>10-100
// Copyright (c) 2008-2021, Hazelcast, Inc. 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
//
// U... |
NodeTapGui/WinFormComponent/NotifyIconComponent.cs | JerryAJ/node-tap-gui | 33 | 7045474 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace NodeTapGui.WinFormComponent
{
public partial class NotifyIconComponent: Component
{
#region propert... |
Project source codes/Unity Project/NBodySim1.0/Assets/Scripts/Integrators/AdamsBashforth.cs | panosjuanis/3D-N-body-simulator | 0 | 7045475 | <reponame>panosjuanis/3D-N-body-simulator<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class AdamsBashforth {
public static double[] evaluate(double[] y, double[] masses, double G) {
int nBodies = y.Length / 6;
double[] solved_vecto... |
density_checcker2/Form1.cs | kyohei0718/density_checcker_ | 0 | 7045476 | using System;
using System.IO;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using static density_checcker2.octree;
using System.Timers;
using System.Runtime.Compile... |
C#/src/Hubble.Data/Hubble.Core/Query/Optimize/ContainsOptimize.cs | eaglet2006/HubbleDotNet | 14 | 7045477 | /*
* 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 "License"); yo... |
NBitcoin/PrecomputedTransactionData.cs | bedeabza/NBitcoin | 4 | 7045478 | <reponame>bedeabza/NBitcoin<gh_stars>1-10
namespace NBitcoin
{
public class PrecomputedTransactionData
{
public PrecomputedTransactionData(Transaction tx)
{
HashOutputs = tx.GetHashOutputs();
HashSequence = tx.GetHashSequence();
HashPrevouts = tx.GetHashPrevouts();
}
public uint256 HashPrevouts
{
... |
Yafex/FileFormats/Lzhs/HuffmanDecoder.cs | smx-smx/yafex | 0 | 7045479 | <gh_stars>0
using Smx.Yafex.Support;
using System.Collections.Generic;
using System.Linq;
namespace Smx.Yafex.FileFormats.Lzhs
{
public class HuffmanDecoder
{
private IEnumerator<byte> it;
private BitStream reader;
public HuffmanDecoder(IEnumerable<byte> data) {
it = data.GetEnumerator();
reader = new ... |
code/ui/SmashFeed.cs | TehFlaminTaco/supersmashterrys | 0 | 7045480 | <reponame>TehFlaminTaco/supersmashterrys
using Sandbox;
using Sandbox.UI;
using Sandbox.UI.Construct;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace Sandbox.UI
{
public partial class SmashFeed : KillFeed
{
public SmashFeed() : base()
{
}
public override Panel AddEntry( ulong lste... |
src/Monitor.Service.Shared/Services/Policy/UserPolicy.cs | parad74/Count4U.Service.5 | 0 | 7045481 | <filename>src/Monitor.Service.Shared/Services/Policy/UserPolicy.cs
using Microsoft.AspNetCore.Authorization;
using Monitor.Service.Model;
namespace Count4U.Service.Shared
{
public static class UserPolicy
{
public const string IsUser = "IsUser";
public const string IsOwner = "IsOwner";
public const string IsAd... |
tdlr/tdlr.cs | skwan/cloudroadshow-xamarin | 0 | 7045482 | <filename>tdlr/tdlr.cs
using System;
using Xamarin.Forms;
using Microsoft.IdentityModel.Clients.ActiveDirectory;
using System.Linq;
namespace tdlr
{
public class App : Application
{
// App Config Values
public static AuthenticationContext AuthContext;
public static string clientId = "<KEY>";
public static ... |
LINQ-To-Jive/Jive.Linq/Models/JiveContent.cs | glen-nicol/LINQ-to-Jive | 0 | 7045483 | <filename>LINQ-To-Jive/Jive.Linq/Models/JiveContent.cs
using System;
using System.Collections.Generic;
namespace Jive.Linq.Models
{
public abstract class JiveContent : IJiveContent
{
public virtual string ApiId { get { return ContentId; } }
public virtual string ContentId { get; private set; }
public string I... |
Assets/Scripts/CameraMove.cs | lnos/Lower-Bound | 0 | 7045484 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraMove : MonoBehaviour
{
public GameObject camera;
public float speed;
// Update is called once per frame
void Update()
{
speed += 0.00008f;
camera.transform.position += Ve... |
src/PandocNet/Input/RoffManIn.cs | SimonCropp/PandocNet | 9 | 7045485 | namespace Pandoc;
/// <summary>
/// https://man.cx/groff_man(7)
/// </summary>
public class RoffManIn :
InOptions
{
protected override string Format => "man";
} |
src/E01D.Base.Data.Models/Coding/Code/Models/E01D/Base/Data/Contexts/DataGlobalContext.cs | E01D/Base | 0 | 7045487 | using System.Collections.Generic;
namespace Root.Coding.Code.Models.E01D.Base.Data.Contexts
{
public class DataGlobalContext: DataGlobalContext_I
{
public Dictionary<long, object> DataApis { get; set; } = new Dictionary<long, object>();
public Dictionary<long, object> DataApisByModelType { get... |
src/Catel.MVVM/Catel.MVVM.Shared/Services/AccelerometerService.cs | nix63/Catel | 1 | 7045488 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="AccelerometerService.cs" company="Catel development team">
// Copyright (c) 2008 - 2015 Catel development team. All rights reserved.
// </copyright>
// -------------------------... |
rx_job_webapi/Services/UnitOfWork.cs | luisdvalle/RX_Job | 0 | 7045489 | <reponame>luisdvalle/RX_Job
using rx_job_webapi.Interfaces;
using System.Threading.Tasks;
namespace rx_job_webapi.Services
{
public class UnitOfWork : IUnitOfWork
{
private readonly RxJobDbContext _rxJobDbContext;
public IJobRepository Jobs { get; private set; }
public IRoomTypeReposit... |
src/XamlStyler/DocumentManipulation/SortableNumericAttribute.cs | Silic0nS0ldier/XamlStyler | 802 | 7045490 | // (c) Xavalon. All rights reserved.
using System;
using System.Diagnostics.CodeAnalysis;
namespace Xavalon.XamlStyler.DocumentManipulation
{
// TODO: Fully implement IComparable interface.
[SuppressMessage("Design", "CA1036:Override methods on comparable types", Justification = "No clear ROI and introduces m... |
Assets/_Resoruces/Scripts/DancerCanvus.cs | ResolveStudios/ClubOrbital | 0 | 7045491 |
using System;
using UdonSharp;
using UnityEngine;
using VRC.SDKBase;
using VRC.Udon;
public class DancerCanvus : UdonSharpBehaviour
{
[SerializeField] private int cardIndex;
public float _time = 0f;
public float _maxTime = 5f;
public override void PostLateUpdate()
{
var pivot = transfor... |
IoT/Azure IoT Suite/Session 3 - Building Practical IoT Solutions/Solutions/Demo 3.2/DeviceAdministration/Web/Views/Actions/_ActionPropertiesUpdateAction.cshtml | Anchinga/TechnicalCommunityContent | 1 | 7045492 | <gh_stars>1-10
@using System.Web.Mvc.Html
@using GlobalResources
@model Microsoft.Azure.Devices.Applications.RemoteMonitoring.DeviceAdmin.Web.Models.UpdateActionModel
<header class="header_grid header_grid_general">
<h3 class="grid_subheadhead_detail">@Strings.ActionIDProperties</h3>
</header>
<section class... |
Backend/Hale.MsiInterop/MsiInterop.cs | arcticbit/Hale.Monitoring | 2 | 7045493 | <filename>Backend/Hale.MsiInterop/MsiInterop.cs
/*
Copyright (C) 2004 Model Matter, Inc. Distributed under the GNU Lesser License V2.1
Purpose: Windows Installer Support
Original Author: <NAME>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Publ... |
Assets/_Scripts/Services/PersistentService.cs | arijoon/FreeFall-Unity3D-Game | 0 | 7045494 | using UnityEngine;
using Zenject;
using _Scripts.Backend.Interfaces;
using _Scripts.Definitions.ConstantClasses.ThirdParty;
using _Scripts.Services.Interfaces;
namespace _Scripts.Services
{
public class PersistentService : MonoBehaviour, IPersistentServices
{
public static IPersistentServices Instance... |
course-2020-1/exercises/03-boring-vector/BoringVector/BoringVector.Test/UnitTest.cs | Anton788/net-study | 0 | 7045495 | <filename>course-2020-1/exercises/03-boring-vector/BoringVector/BoringVector.Test/UnitTest.cs<gh_stars>0
using System;
using Xunit;
namespace BoringVector.Test
{
public class UnitTest
{
[Theory]
[InlineData(3, 3, 18)]
[InlineData(-3, 2, 13)]
public void TestSquareLength(double x... |
HReader.Desktop/ViewModels/Tabs/ConfigurationViewModel.cs | HReader/HReader.Desktop | 0 | 7045496 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Caliburn.Micro;
using HReader.Utility;
using HReader.Wpf.Shortcuts;
namespace HReader.ViewModels.Tabs
{
internal sealed class ConfigurationViewModel : TabViewModelBase
{
public Con... |
Authorization/Requests/RegisterRequest.cs | HerringTheCoder/Judge-em-Api | 2 | 7045498 | using System.ComponentModel.DataAnnotations;
namespace Authorization.Requests
{
public class RegisterRequest
{
[Required]
public string Nickname { get; set; }
[Required]
public string Email { get; set; }
}
}
|
template/Content/src/Template.Infrastructure/ConfigurationExtensions.cs | jonechenug/MSFramework | 0 | 7045499 | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using MSFramework.Domain;
using MSFramework.Ef.Extensions;
namespace Template.Infrastructure
{
public static class ConfigurationExtensions
{
public static void ConfigureCreationAudited<T>(this EntityTypeBuilder<T> builder)
... |
capeit.barcodes/Code128.cs | capeit-pl/barcodes | 0 | 7045500 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace capeit.barcodes
{
public static class Code128
{
private const int FUNC1 = 102;
private const int START_A = 103;
private const int START_B = 104... |
src/Model/Item/DM_Throwable.cs | sinaioutlander/Outward-Dataminer | 0 | 7045501 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dataminer
{
public class DM_Throwable : DM_Item
{
public float DestroyDelay;
public override void SerializeItem(Item item)
{
base.SerializeItem(ite... |
src/DevCitel.Api/Configuration/DependencyInjectionConfig.cs | JeffersonLuizLima/TesteCitelSoftware.Api | 0 | 7045502 | <gh_stars>0
using DevCitel.Business.Intefaces;
using DevCitel.Business.Notificacoes;
using DevCitel.Business.Services;
using DevCitel.Data.Context;
using DevCitel.Data.Repository;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Swashbuckle.AspNetCore.SwaggerGen;
namespace Dev... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.