max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
src/client/WhoWhat.UI.WindowsPhone/Services/Model/Responses/QuestionDetailsResponse.cs | Ontropix/whowhat | 0 | 7041707 | <reponame>Ontropix/whowhat<gh_stars>0
using System.Collections.Generic;
namespace WhoWhat.UI.WindowsPhone.Services.Model
{
public class QuestionDetailsResponse : RestResponse
{
public Question Question { get; set; }
public Dictionary<string, VoteDirection> Votes { get; set; }
public Li... |
src/Uno.UI/Microsoft/UI/Xaml/Controls/Repeater/RecyclePoolFactory.cs | Daoting/uno | 1 | 7041708 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Windows.UI.Xaml;
namespace Microsoft.UI.Xaml.Controls
{
partial class RecyclePool
{
internal static DependencyProperty ReuseKeyProperty { get; } = Dependen... |
Lists/Lists - Exercise - MoreEx/05. Bomb Numbers/Program.cs | Anzzhhela98/CSharp-Fundamentals-Course | 2 | 7041709 | using System;
using System.Collections.Generic;
using System.Linq;
namespace _05._Bomb_Numbers
{
class Program
{
static void Main(string[] args)
{
List<int> list = Console
.ReadLine()
.Split()
.Select(int.Parse)
... |
docs before all script/database-justin/code/database/mongo/mongodbread/mongodbreadfunctionupdater.cs | gititGoro/linx5bootstrapjekyll | 0 | 7041710 | using System;
using System.Collections.Generic;
using System.Linq;
using Twenty57.Linx.Components.Database.Mongo.MongoDBRead;
using Twenty57.Linx.Plugin.Common;
using Twenty57.Linx.Plugin.Utilities;
namespace Twenty57.Linx.Components.MongoDB
{
internal class MongoDBReadFunctionUpdater : IFunctionUpdater
{... |
SafeboardSnake.Web/Pages/Index.cshtml | DeagleGross/OnlineSnakeTraining | 0 | 7041711 | @page
@model TurnDescriptor
@{
ViewData["Title"] = "Home page";
}
<body onload="loadPage()">
<div class="text-center">
<h1 class="display-4">Welcome</h1>
<p>This is a snake game developed for Safeboard-Internship-Program</p>
<p id="serverErrorMessage" hidden>
Serve... |
CreationalDesignPatterns/AbstractFactoryPattern/AfricaFactory.cs | PhilShishov/Design-Patterns | 0 | 7041712 | <filename>CreationalDesignPatterns/AbstractFactoryPattern/AfricaFactory.cs
namespace AbstractFactoryPattern
{
public class AfricaFactory : ContinentFactory
{
public override Herbivore CreateHerbivore() => new Wildebeest();
public override Carnivore CreateCarnivore() => new Lion();
}
}
|
source/ST/Parcer.cs | midhunxavier/fb2smv | 2 | 7041713 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FB2SMV
{
namespace ST
{
internal enum NodeType
{
Expression,
Condition,
ConditionAlternative,
ConditionAlternativeElsif,
ConditionEndPoint... |
src/FubuCore.Testing/CommandLine/DumpCommandSmokeTester.cs | RyanHauert/fubucore | 15 | 7041715 | using System;
using System.Linq;
using FubuCore.CommandLine;
using FubuTestingSupport;
using NUnit.Framework;
namespace FubuCore.Testing.CommandLine
{
[TestFixture]
public class DumpCommandSmokeTester
{
[SetUp]
public void SetUp()
{
theFactory = new Comman... |
src/Compilers/Core/Portable/Operations/IDeclarationExpressionOperation.cs | stark-lang/stark-roslyn | 13 | 7041716 | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace StarkPlatform.CodeAnalysis.Operations
{
/// <summary>
/// Represents a declaration expression operation. Unlike a regular variable declarat... |
src/Cistern.Linq/Chain.cs | FrancisChung/Cistern.Linq | 38 | 7041717 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Threading;
namespace Cistern.Linq
{
abstract class Chain
{
public abstract ChainStatus ChainComplete(ChainStatus status);
public abstract void ChainDispose();
}
... |
Parse/Internal/Operation/ParseAddUniqueOperation.cs | valery-shinkevich/Parse-SDK-dotNET | 1 | 7041718 | // 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 System;
using System.Collec... |
UserManagementApplication.Client.Models/ServiceProxy/SessionServiceProxy.cs | mejas/UserManagementApplication | 1 | 7041719 | <reponame>mejas/UserManagementApplication
using UserManagementApplication.Remoting.Data;
using UserManagementApplication.Remoting.Data.Request;
using UserManagementApplication.Remoting.Services;
namespace UserManagementApplication.Client.Models.ServiceProxy
{
public class SessionServiceProxy : ProxyBase<ISessionS... |
Audio/MicManager.cs | enmoku/taskmaster | 5 | 7041720 | <filename>Audio/MicManager.cs
//
// MicManager.cs
//
// Author:
// M.A. (https://github.com/mkahvi)
//
// Copyright (c) 2016-2020 M.A.
//
// 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 Soft... |
Johnny.CodeGenerator.Core/DatabaseCtrl.cs | SammyEnigma/code-generator-winform | 3 | 7041721 | <filename>Johnny.CodeGenerator.Core/DatabaseCtrl.cs
using System;
using System.Data;
using System.Collections.ObjectModel;
using Johnny.CodeGenerator.Core;
using Johnny.CodeGenerator.DBEngine;
using Johnny.Library.Helper;
namespace Johnny.CodeGenerator.Core
{
public sealed class DatabaseCtrl
{
public ... |
quest-experiments-unity/Assets/HandsGrabControl/Scripts/IFingerTouchDetector.cs | vbodurov/quest-experiments | 0 | 7041722 | <reponame>vbodurov/quest-experiments
using UnityEngine;
namespace OvrAltGrab
{
public interface IFingerTouchDetector
{
void Update();
void OnAuraEnter(OVRSkeleton.BoneId id, Collider other);
void OnAuraWithin(OVRSkeleton.BoneId id, Collider other);
void OnAuraExit(OVRSkeleton.B... |
Distance.NoServerLimit/Harmony/Assembly-CSharp/NetworkingManager/CreateServer.cs | Distance-Modding/Mod.NoServerLimit | 0 | 7041724 | <reponame>Distance-Modding/Mod.NoServerLimit<gh_stars>0
using HarmonyLib;
using System;
using UnityEngine;
namespace Distance.NoServerLimit.Harmony
{
[HarmonyPatch(typeof(NetworkingManager), "CreateServer")]
internal static class NetworkingManager__CreateServer
{
internal static bool Prefix(NetworkingManager __i... |
Bromine.Core/Wait.cs | tecnocrata/Bromine | 0 | 7041725 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bromine.Core
{
public static class Wait
{
public static WaitCondition Until(WaitingConditionType waitingConditionType, string textContained, int timeout =... |
external/aspnetwebstack/src/System.Web.Razor/Parser/SyntaxTree/SpanBuilder.cs | Distrotech/mono | 10 | 7041726 | <filename>external/aspnetwebstack/src/System.Web.Razor/Parser/SyntaxTree/SpanBuilder.cs
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Web.... |
src/Sakuno.UserInterface/Interactivity/MethodArgument.cs | KodamaSakuno/Sakuno.UserInterface | 6 | 7041727 | <reponame>KodamaSakuno/Sakuno.UserInterface
using System;
using System.Windows;
namespace Sakuno.UserInterface.Interactivity
{
public class MethodArgument : Freezable
{
public static readonly DependencyProperty TypeProperty =
DependencyProperty.Register(nameof(Type), typeof(Type), typeof(M... |
SharpCommands/SharpCommands.Tests/Fixtures/Commands/AliasTestCommand.cs | swelham/sharp-commands | 0 | 7041728 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharpCommands.Tests.Fixtures.Commands
{
internal class AliasTestCommand : ICommand
{
public const string RUN_OUTPUT = "alias-cmd#run";
public string Alias
{
... |
CottonDBMS/CottonDBMS.GinApp/Dialogs/AddEditDriver.Designer.cs | bohntech/RFIDGinDataManagement | 2 | 7041729 | namespace CottonDBMS.GinApp.Dialogs
{
partial class AddEditDriver
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summar... |
Shared/DefaultNetworkEntityManager.cs | actionk/ECSPowerNetcode | 36 | 7041730 | using System.Collections.Generic;
using Unity.Entities;
namespace Plugins.ECSPowerNetcode.Shared
{
public class DefaultNetworkEntityManager : INetworkEntityManager
{
protected readonly Dictionary<uint, Entity> entities = new Dictionary<uint, Entity>();
public void Add(uint networkEntityId, Ent... |
EmberLib.net/EmberLib.Glow/GlowStreamCollection.cs | disguise-one/ember-plus | 0 | 7041731 | <gh_stars>0
/*
EmberLib.net -- .NET implementation of the Ember+ Protocol
Copyright (C) 2012-2014 L-S-B Broadcast Technologies GmbH
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software F... |
TLM/TLM/Manager/AbstractSegmentGeometryObservingManager.cs | vitalii2011/Cities-Skylines-Traffic-Manager-President-Edition | 1 | 7041732 | using CSUtil.Commons;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using TrafficManager.Geometry;
using TrafficManager.Geometry.Impl;
using TrafficManager.State;
using TrafficManager.Util;
namespace TrafficManager.Manager {
public abstract class Abstra... |
RdpKeeper.Console/ConsoleEventLogWrapper.cs | jermaine121/RdpKeeper | 1 | 7041734 | <filename>RdpKeeper.Console/ConsoleEventLogWrapper.cs
using System;
using System.Diagnostics;
using RdpKeeper.Common;
namespace RdpKeeper.Console
{
public class ConsoleEventLogWrapper : IEventLogWrapper
{
public void WriteEntry(string message, EventLogEntryType type)
{
System.Console.WriteLine("{0}\t{1}\t{2}... |
Sombra.DonateService.UnitTests/GetCharityActionsRequestHandlerTests.cs | JelleKerkstra/Sombra | 2 | 7041735 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Sombra.DonateService.DAL;
using Sombra.Infrastructure;
using Sombra.Messaging.Requests.Donate;
using Sombra.Messaging.Responses.Donate;
using Charity = Sombra.DonateService.DAL.Charit... |
DnDGen.CreatureGen.Tests.Integration.Tables/Feats/Requirements/RequiredAlignmentsTests.cs | DnDGen/CreatureGen | 0 | 7041736 | <reponame>DnDGen/CreatureGen<gh_stars>0
using DnDGen.CreatureGen.Alignments;
using DnDGen.CreatureGen.Creatures;
using DnDGen.CreatureGen.Feats;
using DnDGen.CreatureGen.Magics;
using DnDGen.CreatureGen.Selectors.Helpers;
using DnDGen.CreatureGen.Tables;
using DnDGen.CreatureGen.Tests.Integration.Tables.Feats.Data;
us... |
src/MyToolkit/Html/HtmlTextNode.cs | SammyEnigma/MyToolkit | 210 | 7041737 | namespace MyToolkit.Html
{
/// <summary>Represents an XML text node.</summary>
public class HtmlTextNode : HtmlNode
{
/// <summary>Gets the text.</summary>
public string Text { get; private set; }
/// <summary>Initializes a new instance of the <see cref="HtmlTextNode"/> class.</summ... |
csharp-client/src/Camunda.OpenApi.Client/Api/IdentityApi.cs | silvanbrenner/camunda-csharp-client | 5 | 7041738 | /*
* Camunda Platform REST API
*
* OpenApi Spec for Camunda Platform REST API.
*
* The version of the OpenAPI document: 7.16.0
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using ... |
CSharpFundamental/BasicSyntax,ConditionalStatementsAndLoops-Exercise/10.RageExpenses/Program.cs | Miroslav-Miro/SoftUni-Software-Engineering | 4 | 7041739 | <filename>CSharpFundamental/BasicSyntax,ConditionalStatementsAndLoops-Exercise/10.RageExpenses/Program.cs
using System;
namespace _10.RageExpenses
{
class Program
{
static void Main(string[] args)
{
int lostGame = int.Parse(Console.ReadLine());
double headsetPrice = dou... |
Framework/CQRSlite.Tests/Domain/When_getting_aggregate_without_contructor.cs | mvandevy/CQRSlite | 1 | 7041740 | <reponame>mvandevy/CQRSlite
using System;
using CQRSlite.Domain;
using CQRSlite.Domain.Exception;
using CQRSlite.Tests.Substitutes;
using NUnit.Framework;
namespace CQRSlite.Tests.Domain
{
[TestFixture]
public class When_getting_aggregate_without_contructor
{
private ISession _session;
... |
VSharp.Test/Tests/InsInfException.cs | mxprshn/VSharp | 0 | 7041741 | <filename>VSharp.Test/Tests/InsInfException.cs
using System;
using NUnit.Framework;
using VSharp.Test;
namespace IntegrationTests
{
[TestSvmFixture]
public class InsInfException
{
// Such situations were not tested:
// 1) isNullable: execution fails during MakeSymbolicValue
// 2) _... |
BTCPayServer.Common/BTCPayNetworkProvider.Vertcoin.cs | vertcoin-project/btcpayserver | 0 | 7041742 | <filename>BTCPayServer.Common/BTCPayNetworkProvider.Vertcoin.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NBitcoin;
using NBXplorer;
namespace BTCPayServer
{
public partial class BTCPayNetworkProvider
{
public void InitVertcoin()
{
... |
src/Server/Formatters/Zaaby.AspNetCore.Formatters.ZeroFormatter/MvcOptionsExtension.cs | PicoHex/Zaaby | 0 | 7041743 | namespace Zaaby.AspNetCore.Formatters.ZeroFormatter;
public static class MvcOptionsExtension
{
public static void AddZeroFormatter(this MvcOptions options, string contentType = "application/x-zeroformatter",
string format = "zeroformatter")
{
if (string.IsNullOrWhiteSpace(contentType)) throw n... |
CurrieTechnologies.Blazor.WebAuthentication/Options/PublicKeyCredentialUserEntity.cs | Basaingeal/Blazor.WebAuthentication | 0 | 7041744 | <filename>CurrieTechnologies.Blazor.WebAuthentication/Options/PublicKeyCredentialUserEntity.cs
namespace CurrieTechnologies.Blazor.WebAuthentication
{
public class PublicKeyCredentialUserEntity
{
/// <summary>
/// A string which is human readable and intended for display.
/// It may be ... |
PrimaryEntityType.cs | Jameshannah3rd/Compass | 4 | 7041745 | using System;
namespace Cosential.Integrations.Compass.Client
{
public enum PrimaryEntityType
{
Personnel,
Company,
Contact,
Opportunity
}
public static class PrimaryEntityTypeExtensions
{
public static string ToPlural(this PrimaryEntityType type)
... |
Samples/WaveEngine_MRTK_Demo/WaveEngine_MRTK_Demo.Common/ViewModels/Base/RelayCommandOfT.cs | WaveEngine/MixedRealityToolkit-WaveEngine | 29 | 7041746 | using System;
using System.Windows.Input;
namespace WaveEngine_MRTK_Demo.Common.ViewModels.Base
{
public class RelayCommand<T> : ICommand
{
private Action<T> execute;
private Func<T, bool> canExecute;
#pragma warning disable 0067
public event EventHandler CanExecuteChanged;
#pragma wa... |
src/Test/DefaultTestFactory.cs | pip-services-dotnet/pip-services-components-dotnet | 0 | 7041747 | using PipServices3.Commons.Refer;
using PipServices3.Components.Build;
using System;
using System.Collections.Generic;
using System.Text;
namespace PipServices3.Components.Test
{
/// <summary>
/// Creates test components by their descriptors.
/// </summary>
/// <see cref="Factory"/>, <see cref="Shutdo... |
CodeContracts.Fody/ContractScanners/MethodScanner.cs | NickRusinov/CodeContracts.Fody | 2 | 7041748 | <reponame>NickRusinov/CodeContracts.Fody<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CodeContracts.Fody.ContractDefinitions;
using CodeContracts.Fody.Internal;
using Mono.Cecil;
namespace Co... |
src/Suspension.SourceGenerator/Generator/ControlFlowGraphExtensions.cs | pepelev/Suspension | 0 | 7041749 | using System.Collections.Generic;
using System.Linq;
using Microsoft.CodeAnalysis.FlowAnalysis;
namespace Suspension.SourceGenerator.Generator
{
internal static class ControlFlowGraphExtensions
{
public static BasicBlock Entry(this ControlFlowGraph graph) => graph.Find(BasicBlockKind.Entry);
... |
SdkManager.UI/ViewModels/Core/SdkItems/Base/SdkItemBaseViewModel.cs | GlassToeStudio/Standalone-Android-Sdk-Manager | 16 | 7041750 | <gh_stars>10-100
using System.Linq;
using SdkManager.Core;
using System.Collections.ObjectModel;
using System;
namespace SdkManager.UI
{
/// <summary>
/// Standard data container view model for each high-level sdk platform,
/// </summary>
public class SdkItemBaseViewModel : BaseViewModel
{
... |
Editor/Modules/TextureEditModule.cs | yayorozu/UnityEditorTextureEdit | 1 | 7041751 | using System;
using UnityEditor;
using UnityEngine;
using UnityEngine.Serialization;
using Object = UnityEngine.Object;
namespace Yorozu.EditorTool.TextureEdit
{
[Serializable]
internal abstract class TextureEditModule
{
internal abstract string Name { get; }
internal abstract string Description { get; }
/... |
Assets/Scripts/UI/UISegmentsDisplay.cs | Megapop/feed-the-monster | 0 | 7041753 | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
[System.Serializable]
public class SegmentDisplay
{
public Sprite SegmentEmpty;
public Sprite SegmentFull;
}
public class UISegmentsDisplay : MonoBehaviour
{
//public SegmentDisplay[] segmentsDisplays;
public Sprite SegmentEmpty;
... |
Source/TeaCommerce.Umbraco.Install/InstallTasks/DataTypeDefinitionInstallTask.cs | dsm-tea/Tea-Commerce-for-Umbraco | 0 | 7041754 | <filename>Source/TeaCommerce.Umbraco.Install/InstallTasks/DataTypeDefinitionInstallTask.cs
using System.Collections.Generic;
using System.Linq;
using Umbraco.Core;
using Umbraco.Core.Models;
namespace TeaCommerce.Umbraco.Install.InstallTasks {
public class DataTypeDefinitionInstallTask : IInstallTask {
private... |
ProjectApollo/Logging/ConsoleLogger.cs | vegaslon/project-apollo | 0 | 7041755 | <reponame>vegaslon/project-apollo<filename>ProjectApollo/Logging/ConsoleLogger.cs<gh_stars>0
// Copyright 2020 Vircadia
//
// 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
//
// ... |
ShortDash.Server/Services/TargetLinkedEventArgs.cs | CodePenguin/shortdash | 3 | 7041756 | using System;
namespace ShortDash.Server.Services
{
public class TargetLinkedEventArgs : EventArgs
{
public string TargetId { get; set; }
public string TargetLinkCode { get; set; }
public string TargetPublicKey { get; set; }
}
}
|
mcs/class/System/System.Net.Sockets/Socket.jvm.cs | DavidKarlas/mono | 4 | 7041757 | <filename>mcs/class/System/System.Net.Sockets/Socket.jvm.cs
// System.Net.Sockets.Socket.cs
//
// Authors:
// <NAME> (<EMAIL>)
// <NAME> <<EMAIL>>
// <NAME> (<EMAIL>)
//
// Copyright (C) 2001, 2002 <NAME> and Ximian, Inc.
// http://www.myelin.co.nz
// (c) 2004 Novell, Inc. (http://www.novell.com)
//
//
// Per... |
TechnologyToolbox/SubtextToHugoBlogConversion/TechnologyToolboxCodeBlockLanguageMapper.cs | jeremy-jameson/BlogML2Hugo | 0 | 7041758 | using ReverseMarkdown;
namespace TechnologyToolbox.SubtextToHugoBlogConversion
{
public class TechnologyToolboxCodeBlockLanguageMapper :
DefaultCodeBlockLanguageMapper
{
public TechnologyToolboxCodeBlockLanguageMapper()
{
AddMapping("ASP.NET", "aspnet");
AddMap... |
AspNetCoreImageResizingService/AspNetCoreImageResizingService/Controllers/ImageController.cs | Demonslyr/blog-examples | 323 | 7041759 | <filename>AspNetCoreImageResizingService/AspNetCoreImageResizingService/Controllers/ImageController.cs<gh_stars>100-1000
// Copyright © 2017 <NAME>. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.IO;
using System.Net.Ht... |
UnitTests/OptionsManagerTests.cs | pluralsight/git-switch | 6 | 7041760 | using System.IO;
using GitSwitch;
using Moq;
using NUnit.Framework;
namespace UnitTests
{
[TestFixture]
class OptionsManagerTests
{
OptionsManager classUnderTest;
Mock<IFileHandler> mockFileHandler;
GitSwitchOptions expectedOptions;
[SetUp]
public ... |
src/Feign/RequestHeaderAttribute.cs | daixinkai/feign.net | 52 | 7041761 | using Feign.Request.Headers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Reflection.Emit;
using System.Text;
using System.Threading.Tasks;
namespace Feign
{
/// <summary>
/// 将参数转换到请求头中
/// </summary>
[Attribut... |
addressbook-web-tests/addressbook-web-tests/addressbook-data-generators/Program.cs | SuhanovPV/csharp-training | 0 | 7041763 | <gh_stars>0
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Serialization;
using WebAddressbookTests;
using Newtonsoft.Json;
using Excel = Microsoft.Office.Interop.Excel;
namespace addressbook_data_... |
DrinksProg/DrinksProg/Resources/Localization.Designer.cs | Firkata/Drinks-System | 0 | 7041764 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
DDay.iCal/Serialization/iCalendar/Serializers/DataTypes/DataTypeSerializer.cs | jeremymeng/dday.ical | 3 | 7041765 | using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Collections;
using System.Reflection;
namespace DDay.iCal.Serialization.iCalendar
{
public abstract class DataTypeSerializer :
SerializerBase
{
#region Constructors
public Da... |
iviz_msgs_gen_lib/MessageGenException.cs | KIT-ISAS/iviz | 79 | 7041766 | <reponame>KIT-ISAS/iviz<filename>iviz_msgs_gen_lib/MessageGenException.cs
using System;
namespace Iviz.MsgsGen
{
public class MessageGenException : Exception
{
public MessageGenException()
{
}
public MessageGenException(string message) : base(message)
{
}
... |
OneSky.CSharp/OneSky.CSharp/Json/IPluginItem.cs | LykkeCity/Lykke.OneSky | 0 | 7041767 | <filename>OneSky.CSharp/OneSky.CSharp/Json/IPluginItem.cs<gh_stars>0
namespace Lykke.OneSky.Json
{
using System.Collections.Generic;
/// <summary>
/// Plugin API Item endpoints interface.
/// </summary>
public interface IPluginItem
{
/// <summary>
/// Lists all items in the pro... |
DocSas/PropertyServiceAPI/Startup.cs | dsasu1/DocSasCorporation | 0 | 7041768 | <reponame>dsasu1/DocSasCorporation
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extension... |
racewrangler/Migrations/20200521155444_AddOrganizer.cs | c4tachan/racewrangler | 0 | 7041769 | using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace racewrangler.Migrations
{
public partial class AddOrganizer : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Organizers",
... |
Unity/PathOS/Assets/OGVis/Editor/OGVisEditor.cs | samanthastahlke/pathos | 10 | 7041770 | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEditor;
using UnityEngine;
using UnityEditor.SceneManagement;
using UnityEngine.SceneManagement;
using OGVis;
/*
OGVisEditor.cs
OGVisEditor (c) <NAME> 2018
This class manages the Unity Inspector pane for vis custom... |
src/FluentHub/Views/Home/UserHomePage.xaml.cs | esibruti/FluentHub | 1 | 7041771 | <filename>src/FluentHub/Views/Home/UserHomePage.xaml.cs
using FluentHub.Views.Users;
using System.Linq;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
using muxc = Microsoft.UI.Xaml.Controls;
namespace FluentHub.Views.Home
{
public sealed partial class UserHomePage : Page... |
StratedgemeMonitor/ViewComponents/AlertsListViewComponent.cs | gsgfintech/monitoring-aspnetcore | 0 | 7041772 | <filename>StratedgemeMonitor/ViewComponents/AlertsListViewComponent.cs<gh_stars>0
using Capital.GSG.FX.Utils.Core.Logging;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using StratedgemeMonitor.Controllers.Alerts;
using StratedgemeMonitor.ViewModels.Alerts;
using System;
using System.Threading.Ta... |
Store.Service/Services/ProductInCartService.cs | georgiyazovaliiski/Ta5Fabrixs | 0 | 7041773 | <filename>Store.Service/Services/ProductInCartService.cs<gh_stars>0
using Store.Data.Infrastructure;
using Store.Data.IRepositories;
using Store.Data.Repositories;
using Store.Model;
using Store.Model.Models;
using Store.Service.IServices;
using System;
using System.Collections.Generic;
using System.Linq;
using System... |
NuGet.Extensions.Tests/Commands/FixReferencesTests.cs | biohazard999/NuGet.Extensions | 18 | 7041775 | <filename>NuGet.Extensions.Tests/Commands/FixReferencesTests.cs
using System.Linq;
using NUnit.Framework;
using NuGet.Extensions.Commands;
using NuGet.Extensions.Tests.Mocks;
using Console = NuGet.Common.Console;
namespace NuGet.Extensions.Tests.Commands
{
public class FixReferencesTests
{
[Test]
... |
RapChessGui/CBoard.cs | Thibor/RapChessGu | 4 | 7041776 | using System;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Collections.Generic;
using NSChess;
using NSRapColor;
namespace RapChessGui
{
class CPiece
{
public int desImage = -1;
public int image = -1;
public Point curXY = new Point();
public Point souXY = new ... |
docs/csharp/programming-guide/classes-and-structs/snippets/using-constructors/Program.cs | alex-jitbit/docs | 1 | 7041777 | <filename>docs/csharp/programming-guide/classes-and-structs/snippets/using-constructors/Program.cs
//<Snippet1>
public class Taxi
{
public bool IsInitialized;
public Taxi()
{
IsInitialized = true;
}
}
class TestTaxi
{
static void Main()
{
Taxi t = new Taxi();
Console.W... |
Source/FikaAmazonAPI/AmazonSpApiSDK/Models/MerchantFulfillment/FileType.cs | stokebob/Amazon-SP-API-CSharp | 41 | 7041778 | /*
* Selling Partner API for Merchant Fulfillment
*
* The Selling Partner API for Merchant Fulfillment helps you build applications that let sellers purchase shipping for non-Prime and Prime orders using Amazon’s Buy Shipping Services.
*
* OpenAPI spec version: v0
*
* Generated by: https://github.com/swagger-a... |
Assets/ROSBridgeSharp/Assets/RBSocket/Message/DefaultMsgs/diagnostic_msgs/KeyValue.cs | yuyaushiro/ARviz_unity | 1 | 7041779 | using System;
namespace RBS.Messages.diagnostic_msgs
{
[System.Serializable]
public class KeyValue : ExtendMessage
{
public string key;
public string value;
public override string Type() { return "diagnostic_msgs/KeyValue"; }
public KeyValue()
{
key = "";... |
ArkBot/Commands/WebAppCommand.cs | Betrail/ArkBot | 73 | 7041780 | <gh_stars>10-100
using System;
using System.Text;
using System.Threading.Tasks;
using Discord.Commands;
using ArkBot.Helpers;
using System.Reflection;
using ArkBot.Discord.Command;
using ArkBot.Configuration.Model;
namespace ArkBot.Commands
{
public class WebAppCommand : ModuleBase<SocketCommandContext>
{
... |
Client/API/Models/DecimalConverter.cs | reinderien/BrickLink | 0 | 7041781 | namespace BrickLink.Client.API.Models
{
using System;
using System.Text.Json;
using System.Text.Json.Serialization;
public class DecimalConverter : JsonConverter<decimal>
{
public override decimal Read(
ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions option... |
DNN Platform/Library/Services/Installer/InstallerInfo.cs | Mariusz11711/DNN | 0 | 7041782 | <reponame>Mariusz11711/DNN<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
namespace DotNetNuke.Services.Installer
{
using System;
using System.Co... |
scripts/check-deployment-type.cs | vlobzakov/git-push-deploy | 24 | 7041783 | <reponame>vlobzakov/git-push-deploy
//@req(next)
envName = '${env.envName}'
nodes = jelastic.env.control.GetEnvInfo(envName, session).nodes
addon = 'unknown'
for (i = 0; i < nodes.length; i++){
if (nodes[i].nodeGroup == 'cp') {
type = nodes[i].engineType || (nodes[i].activeEngine || {}).type;
addon = type ?... |
src/ImageSharp/Common/Helpers/DenseMatrixUtils.cs | dannsam/ImageSharp | 1 | 7041784 | // Copyright (c) <NAME> and contributors.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Numerics;
using SixLabors.ImageSharp.Memory;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Primitives;
namespace SixLabors.ImageSharp
{
/// <summary>
/// Extension met... |
src/Persistence/Storage/Adapters/ResourceResponseAdapter.cs | dsm-sogeti-usa-llc/dotnet-sogeti-academy | 0 | 7041785 | <reponame>dsm-sogeti-usa-llc/dotnet-sogeti-academy<gh_stars>0
using Microsoft.Azure.Documents;
using Microsoft.Azure.Documents.Client;
namespace Sogeti.Academy.Persistence.Storage.Adapters
{
public class ResourceResponseAdapter<T> : IResourceResponse<T> where T : Resource, new()
{
private readonly Res... |
Assets/Scripts/Core/F/F.cs | KingVanti/AChildsCourage | 0 | 7041786 | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
namespace AChildsCourage
{
public static partial class F
{
internal static TItem For<TItem>(this TItem input, int times, Func<TItem, TItem> function)
{
var result = input;
... |
InstrumentedLibrary/Color/Validation/ValidateHSVATests.cs | Shkyrockett/CSharpSpeed | 0 | 7041787 | <filename>InstrumentedLibrary/Color/Validation/ValidateHSVATests.cs
using CSharpSpeed;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using static InstrumentedLibrary.Maths;
namespace InstrumentedLibrary
{
//... |
src/Practice/CozyLauncher.PluginBase/IPublicApi.cs | zpublic/cozy | 48 | 7041788 | <gh_stars>10-100
using System.Collections.Generic;
namespace CozyLauncher.PluginBase
{
public interface IPublicApi
{
void CloseApp();
void HideApp();
void Clear();
void HideAndClear();
void ShowApp();
void ShowPanel(string command);
void Update();
... |
Defs/Yui/Y_/EventTarget.cs | SharpKit/SharpKit-SDK | 12 | 7041789 | //***************************************************
//* This file was generated by tool
//* SharpKit
//***************************************************
using System;
using System.Collections.Generic;
using SharpKit.JavaScript;
namespace Y_
{
/// <summary>
/// EventTarget provides the implementation for any... |
Source/SDO.SnipsAI.Client/Hermes/AudioServer/IAudioServerApi.cs | sdoempke/snipsai | 1 | 7041791 | using SDO.SnipsAI.Client.Hermes.Dialog;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace SDO.SnipsAI.Client.Hermes.AudioServer
{
public interface IAudioServerApi
{
/// <summary>
///
/// </summary>
IAudioServerOnFrameRece... |
DreamNucleus.Heos/Commands/Browse/BrowseServerCommand.cs | dreamnucleus/Heos | 10 | 7041792 | <reponame>dreamnucleus/Heos
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DreamNucleus.Heos.Infrastructure.Heos;
namespace DreamNucleus.Heos.Commands.Browse
{
public sealed class BrowseServerCommand : Command<List<B... |
src/main/API/CNWTileSetManager.cs | Jorteck/NWN.Native | 0 | 7041793 | //------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 4.0.2
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file instead.
//-----... |
src/ReusableTasks.Tests/AsyncBoundedQueueTests.cs | FrancisChung/ReusableTasks | 35 | 7041794 | <gh_stars>10-100
using System;
using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
namespace ReusableTasks.Tests
{
[TestFixture]
public class AsyncProducerConsumerQueueTests
{
[Test]
public void CancelBeforeAsynchronousDequeue()
{
var cts = new ... |
Angular2.Leaning.API/DTOAdapter/EmployeeAdapter.cs | Xushlin/Angular2-learning | 0 | 7041795 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Angular2.Leaning.DTO;
namespace Angular2.Leaning.API.DTOAdapter
{
public static class EmployeeAdapter
{
public static Employee ToDto(this Domain.Employee me)
{
return new Employee... |
src/Sandwych.MapMatchingKit/Spatial/Projection/WellKnownConstants.cs | oldrev/mapmatchingkit | 67 | 7041796 | using System;
using System.Collections.Generic;
using System.Text;
namespace Sandwych.MapMatchingKit.Spatial.Projection
{
public static class WellKnownConstants
{
public const string Epsg3395 = @"PROJCS[""WGS 84 / World Mercator"",GEOGCS[""WGS 84"",DATUM[""WGS_1984"",SPHEROID[""WGS 84"",6378137,298.25... |
C# Basics/PB C#/Tasks/While Loop - Exercise/Moving/Program.cs | Tencho0/SoftuniEducation | 0 | 7041797 | using System;
namespace Moving
{
class Program
{
static void Main(string[] args)
{
int a = int.Parse(Console.ReadLine());
int b = int.Parse(Console.ReadLine());
int h = int.Parse(Console.ReadLine());
int totalSpace = a * b * h;
while... |
Assets/Scripts/VRPawn.cs | oshaikh13/Boxy | 0 | 7041798 | using UnityEngine;
using UnityEngine.Networking;
using System.Collections;
using System.Linq;
using RootMotion.FinalIK;
public class VRPawn : NetworkBehaviour {
public Transform Head;
public Transform LeftController;
public Transform RightController;
public bool isDazAvatar;
public bool isMixamo... |
dac-notes/App/Program.cs | MikeMKH/book-of-the-runtime | 0 | 7041799 | using System;
namespace App
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine($"0th={Fib(0)}");
Console.WriteLine($"1th={Fib(1)}");
Console.WriteLine($"2th={Fib(2)}");
Console.WriteLine($"3th={Fib(3)}");
... |
ThePLeagueDomain/ViewModels/Merchandise/GearImageViewModel.cs | omikolaj/the-p-league-api | 0 | 7041800 | namespace ThePLeagueDomain.ViewModels.Merchandise
{
public class GearImageViewModel : ImageBaseViewModel
{
public const string DefaultGearItemImageUrlSmall = "https://res.cloudinary.com/dkbelxhih/image/upload/f_auto,q_70,w_360/v1581902163/pleague/gear_placeholder_flvhmb.jpg";
public const string... |
sdk/dotnet/Synapse/Inputs/WorkspaceCustomerManagedKeyGetArgs.cs | henriktao/pulumi-azure | 109 | 7041801 | // *** 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.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... |
Database/DbFunctions.cs | Nasus20202/AspShop | 4 | 7041802 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ShopWebApp
{
public class DbFunctions
{
//Categories
public static Category FindCategoryById(int id)
{
using(var db = new ShopDatabase())
{
... |
Packages/com.alelievr.mixture/Runtime/Nodes/AutoComputeShaderNode.cs | jjmac/Mixture | 607 | 7041803 | using System.Collections.Generic;
using UnityEngine;
using GraphProcessor;
using System.Linq;
using UnityEngine.Rendering;
using UnityEngine.Experimental.Rendering;
using System;
using System.IO;
namespace Mixture
{
[Documentation(@"
Compute Shader Node behaves like the Shader Node but with a Compute Shader.
Note tha... |
contract/Lykke.Job.BlockchainOperationsExecutor.Contract/Events/OperationExecutionFailedEvent.cs | LykkeCity/Lykke.Job.BlockchainTransferExecutor | 0 | 7041804 | <reponame>LykkeCity/Lykke.Job.BlockchainTransferExecutor
using System;
using JetBrains.Annotations;
using MessagePack;
namespace Lykke.Job.BlockchainOperationsExecutor.Contract.Events
{
/// <summary>
/// Operation execution is failed
/// </summary>
[PublicAPI]
[MessagePackObject(keyAsPropertyName:... |
Material/TypelessConstantBuffer.cs | Marc56K/IgnitionDX.Graphics | 0 | 7041805 | <gh_stars>0
/* MIT License (MIT)
*
* Copyright (c) 2020 <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,... |
Serializer/Serializer.Csv/Common/CsvSerializerOptions.cs | EnD1ZeR/otus_serializer | 0 | 7041806 | using System;
using System.Collections.Generic;
using System.Text;
using Serializer.Abstractions;
using Serializer.Common;
namespace Serializer.Csv.Common
{
/// <summary>
/// Options for CSV serializer
/// </summary>
public sealed class CsvSerializerOptions : SerializerOptions, ISerializerOptions
... |
PropertyInterception/PropertyInterception/Interfaces/IExitInterceptor.cs | LLukas22/PropertyInterception | 0 | 7041807 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace PropertyInterception.Interfaces
{
public interface IExitInterceptor
{
/// <summary>
/// Gets triggered after a Setter/Getter is exited.
/// </summary>
void OnExit(PropertyInterceptionInfo p... |
Code/Blumind/Model/IExtendActionProvider.cs | ZaynMalik1/Blumind | 88 | 7041808 | <reponame>ZaynMalik1/Blumind
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
namespace Blumind.Model
{
interface IExtendActionProvider
{
IEnumerable<ExtendActionInfo> GetExtendActions(bool readOnly);
}
class ExtendActionInfo
{
... |
tutorials/tutorial_1/unity/Assets/Scripts/behaviac/runtime/FSM/AlwaysTransition.cs | nefeithu/behaviac | 2,504 | 7041809 | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Tencent is pleased to support the open source community by making behaviac available.
//
// Copyright (C) 2015-2017 THL A29 Limited, a Tencent company. All rights reserved.
//
// Licensed under the BSD 3... |
Wivuu.Reconcile.Tests/TestReconciliation.cs | onionhammer/Wivuu.Reconcile | 0 | 7041810 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Wivuu.Reconcile.Tests
{
[TestClass]
public class TestReconciliation
{
[TestMethod]
public void TestZipAddOnly()
{
in... |
Assets/Scripts/Foxy.cs | BakersDozenBagels/UltraCustomNight | 0 | 7041811 | <filename>Assets/Scripts/Foxy.cs
using System.Collections;
using UnityEngine;
using Rng = UnityEngine.Random;
class Foxy : Animatronic, ITP
{
private int _currentState = 1;
public Foxy(UltraCustomNightScript instance) : base(instance)
{
Instance.Log("Foxy is coming to attack! Watch out for cam 3.... |
src/Core/PlayerPageRender.cs | GengGode/GenshinPlayerQuery | 4 | 7041813 | using GenshinPlayerQuery.Model;
using GenshinPlayerQuery.Properties;
namespace GenshinPlayerQuery.Core
{
internal static class PlayerPageRender
{
public static string RenderHtml(PlayerQueryResult playerData)
{
return Resources.ResourceManager.GetString("index")?
.Re... |
Alexa.NET.SkillFlow.Interpreter.Tests/IncrementTests.cs | stoiveyp/Alexa.NET.SkillFlow.Interpreter | 1 | 7041814 | <filename>Alexa.NET.SkillFlow.Interpreter.Tests/IncrementTests.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using Alexa.NET.SkillFlow.Instructions;
using Alexa.NET.SkillFlow.Interpreter;
using Xunit;
namespace Alexa.NET.SkillFlow.Tests
{
public class IncrementTests
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.