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 |
|---|---|---|---|---|
sam-app/src/JiraGitHubIntegration/Comment.cs | demaskey/jira-github-integration | 0 | 7054776 | using Newtonsoft.Json;
using System;
namespace JiraGitHubIntegration
{
public class Comment
{
[JsonProperty("url")]
public string Url { get; set; }
[JsonProperty("pull_request_review_id")]
public int PullRequestReviewId { get; set; }
[JsonProperty("id")]
public i... |
Example.Models/Common/SortModel.cs | justinscoderepo/CodeGeneratorCSharpDemo | 0 | 7054777 | <reponame>justinscoderepo/CodeGeneratorCSharpDemo
using System;
using System.Collections.Generic;
using System.Text;
namespace Example.Models.Common
{
public class SortModel
{
public string SortField { get; set; }
public string SortOrder { get; set; }
}
}
|
src/NetatmoAzure/PowerBiDto/MeasurementPowerBi.cs | jiri-vinarek/netatmo-azure | 1 | 7054778 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NetatmoAzure
{
public sealed class MeasurementPowerBi
{
public string MacAddress { get; set; }
public DateTime DateTimeUtc { get; set; }
public DateTime DateTim... |
src/Quartz.Tests.Unit/Impl/Calendar/DailyCalendarTest.cs | raouldke/quartznet | 4,575 | 7054779 | <gh_stars>1000+
#region License
/*
* All content copyright <NAME>, unless otherwise indicated. 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.ap... |
src/Test/L1/Mock/FakeCustomerIntelligenceServer.cs | catatonicprime/azure-pipelines-agent | 1 | 7054780 | <filename>src/Test/L1/Mock/FakeCustomerIntelligenceServer.cs
using Microsoft.VisualStudio.Services.Agent.Worker.Telemetry;
using Microsoft.VisualStudio.Services.Common;
using Microsoft.VisualStudio.Services.WebApi;
using Microsoft.VisualStudio.Services.WebPlatform;
using System.Collections.Generic;
using System.Threadi... |
C#/Conways_Game_of_Life/Conways_Game_of_Life/Game Objects/Cell.cs | Hartoe/Stream_Projects | 1 | 7054781 | <reponame>Hartoe/Stream_Projects
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace Conways_Game_of_Life
{
class Cell : GameObject
{
public bool alive { get... |
src/NodaTime/Fields/OffsetDateTimeField.cs | haf/NodaTime | 6 | 7054782 | <filename>src/NodaTime/Fields/OffsetDateTimeField.cs
#region Copyright and license information
// Copyright 2001-2009 <NAME>
// Copyright 2009-2011 <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 ... |
src/HallOfBeorn/Models/LotR/Sets/ShadowsOfMirkwood/AJourneyToRhosgobelSet.cs | danpoage/hall-of-beorn | 5 | 7054783 | /* Generated CardSet class: A Journey To Rhosgobel */
using System;
namespace HallOfBeorn.Models.LotR.Sets.ShadowsOfMirkwood
{
public class AJourneyToRhosgobelSet : CardSet
{
protected override void Initialize()
{
Name = "<NAME>";
Abbreviation = "AJtR";
... |
src/Connection/IConnectionDetails.cs | Yamithorn/Gossip | 1 | 7054784 | <gh_stars>1-10
namespace Gossip.Connection
{
/// <summary>
/// Database connection details
/// </summary>
public interface IConnectionDetails
{
/// <summary>
/// Server name (e.g. localhost)
/// </summary>
string Server { get; }
/// <summary>
... |
CasparCG.AmcpClient/Commands/AbstractChannelCommand.cs | sasestil/CasparCG.AmcpClient | 13 | 7054785 | //////////////////////////////////////////////////////////////////////////////////
//
// Author: Sase
// Email: <EMAIL>
//
// This software may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
//
///////////////////////////////////////////////////////////////////////... |
RIS/Synchronization/LeftRight/LeftRight.cs | RISStudio-tm/RIS-Libraries | 5 | 7054786 | // Copyright (c) RISStudio, 2020. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE file in the project root for license information.
using System;
namespace RIS.Synchronization
{
public class LeftRight<TInner>
{
private enum LeftRightChoice : byte
{
... |
CS/GrowthWare.Framework/Common/SortTable.cs | Kahiko/Growthware | 4 | 7054788 | <reponame>Kahiko/Growthware<filename>CS/GrowthWare.Framework/Common/SortTable.cs
using System;
using System.Data;
using System.Globalization;
namespace GrowthWare.Framework.Common
{
/// <summary>
/// Class SortTable
/// </summary>
public class SortTable
{
private DateTime m_Star... |
eBank/Views/Student/TransferFunds.cshtml | lucaswalter/eBank | 1 | 7054789 | @model eBank.ViewModels.TransferFundsViewModel
<nav>
<ul id="menu">
<li>@Html.ActionLink("OVERVIEW", "Index")</li>
<li>@Html.ActionLink("ACCOUNTS", "AccountSummary")</li>
<li>@Html.ActionLink("TRANSFERS", "TransferFunds", "Student")</li>
<li>@Html.ActionLink("BILLPAY", "ViewExpense... |
RiotCaller/NonStaticEndPoints/Team/TeamStatDetail.cs | MSAlih1/RiotCaller | 0 | 7054790 | <filename>RiotCaller/NonStaticEndPoints/Team/TeamStatDetail.cs
using Newtonsoft.Json;
namespace RiotCaller.EndPoints.Team
{
public class TeamStatDetail
{
[JsonProperty("averageGamesPlayed")]
public int AverageGamesPlayed { get; set; }
[JsonProperty("losses")]
public int Losses... |
AcManager.Controls/Graphs/CatmulLineSeries.cs | Ultrawipf/actools | 209 | 7054791 | using System;
using System.Collections.Generic;
using AcManager.Tools.Helpers;
using OxyPlot;
using OxyPlot.Series;
namespace AcManager.Controls.Graphs {
public class CatmulLineSeries : LineSeries {
private readonly double _smoothessMultipler;
public CatmulLineSeries(double smoothessMultipler = 0.... |
vartsTradeGuild/src/gauntlet/viewModel/VartsLeaderboardWorkshopVM.cs | aoakalin/bannerlord-mods | 0 | 7054792 | <reponame>aoakalin/bannerlord-mods<gh_stars>0
using System;
using System.Collections.Generic;
using TaleWorlds.CampaignSystem;
using TaleWorlds.Core;
using TaleWorlds.Library;
using vartsTradeGuild.dto;
using vartsTradeGuild.localization;
namespace vartsTradeGuild.gauntlet.viewModel
{
public class VartsLeaderboard... |
server/gameserver/networking/messages/outgoing/PLAYSOUND.cs | OryxSlayer1337/LoE-Realm-NC-2 | 2 | 7054793 | #region
using LoESoft.Core;
#endregion
namespace LoESoft.GameServer.networking.outgoing
{
public class PLAYSOUND : OutgoingMessage
{
public int OwnerId { get; set; }
public int SoundId { get; set; }
public override MessageID ID => MessageID.PLAYSOUND;
public override Messag... |
YuzuMarker/YuzuMarker/Converter/NotationGroup2CanvasItem.cs | JeffersonQin/YuzuMarker | 45 | 7054794 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Media;
using System.Windows.Shapes;
using OpenCvSharp;
using OpenCvSharp.Internal;
using OpenCvSharp.WpfExtensions;
using YuzuMarker.Control;
usi... |
src/Extensions/QueryExtensions.cs | Talegen/Talegen.Common.Core | 0 | 7054795 | /*
*
* (c) Copyright Talegen, LLC.
*
* 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 wr... |
src/Munchkin.Runtime/Entities/Actions/IPlayerActionRepository.cs | walking-down-the-silence/munchkin | 0 | 7054798 | <filename>src/Munchkin.Runtime/Entities/Actions/IPlayerActionRepository.cs
using Munchkin.Core.Contracts;
using Munchkin.Core.Model;
using System.Threading.Tasks;
namespace Munchkin.Runtime.Entities.Actions
{
public interface IPlayerActionRepository
{
Task AddActionForPlayer(Player player, IAction<Tab... |
LogFlandersApache/LogFlandersApache/MainWindow.xaml.cs | paulozanardo/super-flanders-system | 0 | 7054799 | <filename>LogFlandersApache/LogFlandersApache/MainWindow.xaml.cs
using System;
using System.Collections.Generic;
using System.Windows;
using Microsoft.Win32;
namespace LogFlandersApache
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
... |
Assets/_Scripts/StateMachine/StateMachine.cs | fafimba/LastShot | 0 | 7054800 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class StateMachine
{
public class State
{
public string stateName;
public event Action EnterState;
public event Action ExitState;
public void Enter() { EnterState?.Invoke(); }
... |
kernel/ByteViewReader.cs | shuice/universal-file-parser | 2 | 7054801 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace kernel
{
public class ByteViewReader
{
private ByteView byteView;
public ByteViewReader(ByteView byteView)
... |
csharp/IxExample/ix_example/UnitTests/Creation/DeferExample.cs | RyotaMurohoshi/snippets | 1 | 7054802 | <gh_stars>1-10
using NUnit.Framework;
using System.Linq;
using System.Collections.Generic;
namespace IxExample
{
[TestFixture ()]
public class DeferExample
{
// see https://github.com/Reactive-Extensions/Rx.NET/blob/master/Ix.NET/Source/System.Interactive/EnumerableEx.Creation.cs#L99
[Test ()]
public void Te... |
ConsoleUtilities/ConsoleNavigationTheme.cs | falahati/ConsoleUtilities | 5 | 7054803 | using System;
namespace ConsoleUtilities
{
public class ConsoleNavigationTheme
{
public virtual ConsoleColor DisabledItemNameColor { get; } = ConsoleColor.Gray;
public virtual ConsoleColor DisabledItemNumberColor { get; } = ConsoleColor.DarkGray;
public virtual ConsoleColor ItemNameCol... |
PaladinsAPI/Models/TopMatch.cs | luissilva1044894/PaladinsAPIWrapper | 0 | 7054804 | <reponame>luissilva1044894/PaladinsAPIWrapper
namespace PaladinsAPI.Models {
public class TopMatch : APIResponse {
public string Ban1 { get; set; }
public int Ban1Id { get; set; }
public string Ban2 { get; set; }
public int Ban2Id { get; set; }
public string Entry_Datetime {... |
.NET/Microsoft.Recognizers.Text.DataTypes.DataDrivenTests/TestTimexCreator.cs | AhmedLeithy/Recognizers-Text | 688 | 7054805 | <filename>.NET/Microsoft.Recognizers.Text.DataTypes.DataDrivenTests/TestTimexCreator.cs<gh_stars>100-1000
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Microsoft.Recognizers.Text.DataTypes.Ti... |
Assets/Scripts/Victory.cs | AlexandreCln/OneHourJam361 | 0 | 7054806 | <gh_stars>0
using TMPro;
using UnityEngine;
namespace OneHourJam362
{
public class Victory : MonoBehaviour
{
public static Victory Instance { private set; get; }
private void Awake()
{
Instance = this;
}
public bool IsWon { private set; get; }
[Se... |
DirectN/DirectN/Generated/IWMWriterFileSink3.cs | riQQ/DirectN | 1 | 7054807 | <gh_stars>1-10
// c:\program files (x86)\windows kits\10\include\10.0.18362.0\um\wmsdkidl.h(9948,5)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[Guid("3fea4feb-2945-47a7-a1dd-c53a8fc4c45c"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public partial interface IWMWriterFile... |
src/Okra/Okra/ViewModels/FavoritesViewModel.cs | gitLucasHenrique/xamarinPos | 0 | 7054808 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using Okra.Models;
using Okra.Services;
using Prism.Commands;
using Prism.Navigation;
namespace Okra.ViewModels
{
... |
NetworkTools/Networking/Scripts/Controller/NetworkManagerUNET.cs | harschell/YourNetworkTools | 1 | 7054809 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Collections;
using UnityEngine;
using UnityEngine.Networking;
using UnityEngine.SceneManagement;
namespace YourNetworkingTools
{
/*******************... |
src/VS.Mefx/Program.cs | sarda-devesh/vs-mef | 0 | 7054810 | <gh_stars>0
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace VS.Mefx
{
using System;
using System.Collections.Generic;
using System.CommandLine.DragonFruit;
using System.IO;
... |
Vostok.Commons.Primitives.Tests/Parsers/DataRateParser_Tests.cs | vostok/commons.primitives | 0 | 7054811 | using System;
using FluentAssertions;
using NUnit.Framework;
using Vostok.Commons.Primitives.Parsers;
namespace Vostok.Commons.Primitives.Tests.Parsers
{
[TestFixture]
public class DataRateParser_Tests
{
[TestCase("10 /s", true, 10)]
[TestCase("10/sec", true, 10)]
[TestCase("10 /se... |
Assets/Code/Stores/JewelryBox.cs | ckidwell/GDTVGameJam2021 | 0 | 7054812 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
[Serializable]
public class JewelryBox
{
public JewelryBoxSizes size;
public bool isOpen;
public List<Jewelry> itemsInside;
public LockTypes lockType;
public GameObject[] jewelrySpots... |
LuduStack.Web/Areas/Community/Views/Forum/CreateEditPostWrapper.cshtml | anteatergames/ludustack | 8 | 7054813 | @model ForumPostViewModel
@{
var isAjax = ViewContext.HttpContext.Request.IsAjaxRequest();
var canInteract = User.Identity.IsAuthenticated;
}
@section ComponentStyles {
<environment include="Development">
<link rel="stylesheet" href="~/lib/highlightjs/styles/default.min.css">
<link rel="st... |
Mirai-CSharp-release-1.0.2.2/Mirai-CSharp/Models/MessageBuilder.cs | PoH98/QQBotXClashOfClans | 2 | 7054814 | <gh_stars>1-10
using System.Collections.Generic;
namespace Mirai_CSharp.Models
{
public interface IMessageBuilder
{
int Count { get; }
IMessageBase[] Build();
IMessageBuilder Add(IMessageBase message);
}
public class MessageBuilder : IMessageBuilder
{
protected r... |
release/Views/Shared/EditorTemplates/DatabaseSettings.cshtml | BostonPublicSchools/EdFi-to-OneRoster-Utility | 0 | 7054815 | @model EF2OR.ViewModels.InitialSetup
<div class="form-group">
<p><strong>Note: Modifying the Database Settings will restart your application</strong></p>
@Html.LabelFor(m => m.DatabaseServer, new { @class = "col-md-3 control-label" })
<div class="col-md-9">
@Html.TextBoxFor(m => m.DatabaseServer, n... |
VncLib/VncCommands/IVncCommand.cs | Buerkert/Buerkert.VncLib | 0 | 7054816 | // Copyright 2017 The VncLib Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
using System;
using System.Threading.Tasks;
namespace VncLib.VncCommands
{
public interface IVncCommand
{
Task Execute(IRfbClient vncClien... |
src/Server/RceServer.Front/Controllers/ServerController.cs | pre-alpha-final/remote-controlled-electronics | 1 | 7054817 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Microsoft.ApplicationInsights;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using RceServer.Core.Helpers;
using RceServer.Domain.Services;
using RceServer.Front.Controll... |
GlobalGameJam/Assets/Scripts/CarFlipper.cs | ToniGalmes/GlobalGameJam2020 | 0 | 7054818 | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CarFlipper : MonoBehaviour
{
[SerializeField] private float timeToFlip;
private float currentTime;
private void Update()
{
float angle = Vector3.Dot(transform.up, Vector3.up);... |
src/DaaSDemo.KubeClient/Models/TokenReviewV1.cs | DimensionDataResearch/daas-demo | 14 | 7054819 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace DaaSDemo.KubeClient.Models
{
/// <summary>
/// TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.
/// </s... |
UnitySound/Scripts/Sound/AudioMixerEffectController.cs | Cova8bitdots/UnitySound | 2 | 7054820 | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Audio;
namespace CovaTech.UnitySound
{
public class AudioMixerEffectController : IMixerEffectController
{
//------------------------------------------------------------------
// 定数関... |
FlightGearSerialConnector/ArgumentParser.cs | GWillemsen/FlightGearSerialConnector | 1 | 7054821 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace FlighGearSerialConnector
{
/// <summary>
/// Some helpers to parse the argument list
/// </summary>
internal static class ArgumentParser
{
/// <summary>
/// Parse all arguments from the ... |
ABC/ABC100/Tests/DTests.cs | AconCavy/atcoder-challenges-cs | 0 | 7054822 | <reponame>AconCavy/atcoder-challenges-cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tests
{
[TestClass]
public class DTests
{
[TestMethod]
public void TestMethod1()
{
var input = @"5 3
3 1 4
1 5 9
2 6 5
3 5 8
9 7 9";
var output = @"56";
... |
DHTMLX.Export.PDF/MonthRow.cs | DHTMLX/scheduler-to-pdf-net | 1 | 7054823 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DHTMLX.Export.PDF
{
public class MonthRow
{
public double Height { get; set; }
public string[] Cells { get; set; }
}
}
|
sceneObjects/MeshSO.cs | Jmerk523/frame3Sharp | 107 | 7054824 | using System;
using System.Collections.Generic;
using UnityEngine;
using g3;
namespace f3
{
public class MeshSO : BaseSO
{
protected fGameObject parentGO;
protected GameObject meshGO;
public MeshSO ()
{
}
public virtual MeshSO Create(SimpleMesh mesh, SOMaterial setMaterial)
{
... |
dotnet/Turmerik.Core/FileSystem/FilePathHelperMethods.cs | dantincu/turmerik | 0 | 7054825 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace Turmerik.Core.FileSystem
{
public static class FilePathHelperMethods
{
public static FilePathHelper WfsPh(this FilePathHelperOpts opts)
{
FilePathHelper filePathHelp... |
tests/Envelop.Tests/ExceptionsTests.cs | kthompson/envelop | 0 | 7054826 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Envelop.Tests.TestDependencies;
using Xunit;
namespace Envelop.Tests
{
public class ExceptionsTests
{
[Fact]
public void IncompleteBindingExceptio... |
DeploymentWatcher/DeploymentWatcher.cs | kaburkett/Deployment-Watcher | 1 | 7054827 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DeploymentWatcher
{
public class DeploymentWatcher
{
FileSystemWatcher watcher;
string directoryToWatch;
// Some of t... |
Storage/UnitOfWork.cs | MatthewTheroux/project_rvtr_campground | 0 | 7054828 | <filename>Storage/UnitOfWork.cs<gh_stars>0
// [I]. HEAD
// A] Libraries
using Campgrounds.Storage.Repositories;
///
namespace Campgrounds.Storage
{
/// leverages the repositories, and more
public class UnitOfWork
{
private readonly CampgroundsContext _campgroundsContext;
public CampgroundRepository Ca... |
LibMMD/Pmx/PmxRigidBody.cs | Xalcon/LibMMD | 2 | 7054829 | <filename>LibMMD/Pmx/PmxRigidBody.cs
using System;
using System.Collections.Generic;
using System.Text;
using LibMMD.DataTypes;
namespace LibMMD.Pmx
{
public class PmxRigidBody
{
public string NameLocal;
public string NameUniversal;
public int RelatedBoneIndex;
public byte Grou... |
samples/DotnetIsolated-BidirectionChat/Models/HttpHeaderDictionaryConverter.cs | xingsy97/AzureSignalR-samples | 0 | 7054830 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using System.Text.Json.Serialization;
using Microsoft.Extensions.Primitives;
namespace Microsoft.Azure.Functions.Worker.Extensions.SignalRService
{
internal class HttpHeaderDictionaryConverter : JsonConverter<IDictionary<st... |
src/Orient.Nunit.Test/TestConfigurationOperation.cs | orientechnologies/OrientDB-NET.binary | 100 | 7054831 | <filename>src/Orient.Nunit.Test/TestConfigurationOperation.cs<gh_stars>10-100
using System.Collections.Generic;
using NUnit.Framework;
using Orient.Client;
namespace Orient.Nunit.Test
{
[TestFixture]
public class TestConfigurationOperation
{
[Test]
public void TestConfigGet()
... |
CollapseXml/CollapseXml/Filter/FilterDefinition.cs | kornelijepetak/collapse-xml | 2 | 7054832 | <filename>CollapseXml/CollapseXml/Filter/FilterDefinition.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Kaisean.Tools.CollapseXml.Helpers;
using Kaisean.Tools.CollapseXml.Errors;
namespace Kaisean.Tools.CollapseXml
{
internal class FilterDefinition
{
/// <summary>
/// Function name
... |
TableOfNothing/Configuration/EsotericKnowledgeSource.cs | allenmichael/TableOfNothing | 0 | 7054833 | using Microsoft.Extensions.Configuration;
namespace TableOfNothing.Configuration
{
public class EsotericKnowledgeSource : IConfigurationSource
{
public EsotericKnowledgeSource(EsotericKnowledgeOptions options)
{
}
public IConfigurationProvider Build(IConfigurationBuilder build... |
MapWinGIS/Interop.MapWinGIS/Com Classes/GridColorScheme.cs | MapWindow/MapWinGIS-API-Documentation | 0 | 7054834 | <filename>MapWinGIS/Interop.MapWinGIS/Com Classes/GridColorScheme.cs
#if nsp
namespace MapWinGIS
{
#endif
using System;
/// <summary>
/// A grid color scheme defines how a grid will be colored.
/// </summary>
/// <remarks>A grid color scheme may either contain grid color breaks created by
///... |
Liberfy/Components/ImageCacheInfo.cs | atst1996/Liberfy | 8 | 7054835 | <filename>Liberfy/Components/ImageCacheInfo.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;
namespace Liberfy
{
internal class ImageCacheInfo : NotificationObject
{
private volatile int _taskId;
... |
Runtime/Attributes/DeclareVerticalGroupAttribute.cs | codewriter-packages/Tri-Inspector | 9 | 7054836 | using System;
using System.Diagnostics;
namespace TriInspector
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct, AllowMultiple = true)]
[Conditional("UNITY_EDITOR")]
public class DeclareVerticalGroupAttribute : DeclareGroupBaseAttribute
{
public DeclareVerticalGroupAttribute(... |
binding-library/TokenStoreInputBinding/TokenStoreBindingProject/TokenStoreInputBinding_ExtensionProvider.cs | amelhassan-msft/TokenStoreExtension | 1 | 7054837 | using System;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Threading.Tasks;
using Microsoft.Azure.Services.AppAuthentication;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Description;
using Microsoft.Azure.WebJobs.Host.Bindings;
using Microsoft.Azure.WebJobs.Host.Config; // must i... |
TestConsole/TestApplication.cs | PelleRavn/ArloDotNet | 1 | 7054838 | using System;
using System.IO;
using System.Linq;
using System.Text.Json;
using System.Threading.Tasks;
using Arlo;
using TestConsole.Models;
namespace TestConsole
{
public class TestApplication
{
public TestApplication()
{
}
public async Task Run()
{
var c... |
Cubic-engine/Model/Material.cs | MMDaemon/Cubic-engine | 0 | 7054839 | namespace CubicEngine.Model
{
internal struct Material
{
public Material(string typeName, int amount)
{
TypeId = MaterialManager.Instance.GetMaterialId(typeName);
Amount = amount;
}
public Material(int typeId, int amount)
{
TypeId = typeId;
Amount = amount;
}
public int TypeId { get; }
... |
TS3QueryLib.Core.Framework/Common/IQueryDispatcher.cs | fa-dx/TS3QueryLib.Net | 63 | 7054840 | using System;
using TS3QueryLib.Core.Common.Responses;
using TS3QueryLib.Core.Server.Responses;
namespace TS3QueryLib.Core.Common
{
public interface IQueryDispatcher: IDisposable
{
bool IsDisposed { get; }
string Dispatch(string commandText);
int? LastServerConnectionHandlerId { get; }... |
Vvertigoo.Authentication.Bearer/BearerAuthenticationOptions.cs | vvertigoo/Vvertigoo.Authentication.Bearer | 1 | 7054841 | <reponame>vvertigoo/Vvertigoo.Authentication.Bearer
using Microsoft.AspNetCore.Authentication;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.DataProtection;
using Microsoft.Extensions.Options;
using System;
using Vvertigoo.Authentication.Bearer.Events;
namespace Vvertigoo.Authentication.Bearer
{
... |
BandAid/Units/ElectricPotential.cs | ryanthompson0123/BandDiagram | 0 | 7054842 | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Band.Units
{
[JsonConverter(typeof(ElectricPotential.Converter))]
public class ElectricPotential : IComparable<ElectricPotential>
{
public readonly double Volts;
public ElectricPotential(double volts)
{
Volts = vol... |
Week5/ParallerlVersion_Crawler/ParallerlVersion_Crawler/ParallerCrawler.cs | LONG-xy/DotNetHomeWork | 0 | 7054843 | <gh_stars>0
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
na... |
src/Castle.ActiveRecord/Attributes/Validations/ValidateIsUniqueAttribute.cs | chenbojian/ActiveRecord | 72 | 7054844 | // Copyright 2004-2011 Castle Project - http://www.castleproject.org/
//
// 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 ... |
src/EzrealClient/Internals/UriValue.cs | EzrealJ/EzrealClient | 0 | 7054845 | <gh_stars>0
using System;
namespace EzrealClient.Internals
{
/// <summary>
/// 表示Uri值
/// </summary>
public ref struct UriValue
{
/// <summary>
/// uri
/// </summary>
private readonly Uri? uri;
/// <summary>
/// uri文本
/// </summary>
... |
src/Web/Dalmatian.Web.ViewModels/Kennels/KennelAllViewModel.cs | angelneychev/Dalmatian | 3 | 7054846 | <reponame>angelneychev/Dalmatian
namespace Dalmatian.Web.ViewModels.Kennels
{
using System;
using System.Collections.Generic;
using Dalmatian.Data.Models;
using Dalmatian.Data.Models.Enum;
using Dalmatian.Services.Mapping;
public class KennelAllViewModel : IMapFrom<Kennel>, IMapFrom<Applicati... |
src/KafkaFlow.UnitTests/Consumer/WorkerPoolFeederTests.cs | martinhonovais/kafka-flow | 0 | 7054848 | <reponame>martinhonovais/kafka-flow<filename>src/KafkaFlow.UnitTests/Consumer/WorkerPoolFeederTests.cs
namespace KafkaFlow.UnitTests.Consumer
{
using System;
using System.Threading;
using System.Threading.Tasks;
using Confluent.Kafka;
using KafkaFlow.Consumers;
using Microsoft.VisualStudio.TestT... |
src/Test_1/ConnectionStringBuilderFluentApi/ConnectionStringBuilder.cs | Memoyu/Newbe.ObjectVisitor | 98 | 7054849 | <reponame>Memoyu/Newbe.ObjectVisitor
using System;
using System.Text;
namespace Newbe.ObjectVisitor.Tests.ConnectionStringBuilderFluentApi
{
public class ConnectionStringBuilder : Newbe.ObjectVisitor.IFluentApi
, ConnectionStringBuilder.IConnectionStringBuilder_SetHost
, ConnectionStringBuilder.ICo... |
src/TaposcopeWindows/Server/Services/Auth0/Auth0SignupRequest.cs | ikhramts/maesure-oss | 2 | 7054851 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Server.Services.Auth0
{
public class Auth0SignupRequest
{
[JsonProperty("client_id")]
public string ClientId { get; set; }
[JsonProperty("email")]
... |
Source/Csla.Analyzers/Csla.Analyzers.Tests/IsBusinessObjectSerializableAnalyzerTests.cs | ronnymgm/csla-light | 0 | 7054852 | <filename>Source/Csla.Analyzers/Csla.Analyzers.Tests/IsBusinessObjectSerializableAnalyzerTests.cs<gh_stars>0
using Microsoft.CodeAnalysis;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Threading.Tasks;
namespace Csla.Analyzers.Tests
{
[TestClass]
public sealed class IsBusinessObjec... |
src/ConFormSimProject/Assets/Examples/StorageEnvironment/Scripts/CamMouseController.cs | JohnBergago/ConFormSim | 0 | 7054853 | using UnityEngine;
public class CamMouseController : MonoBehaviour
{
private Vector2 mouseLook;
private Vector2 smoothV;
public float sensitivity = 5.0f;
public float smoothing = 2.0f;
GameObject character;
// Start is called before the first frame update
void Start()
... |
SportsBetting/IoCContainer/SportsBetting.IoCContainer.Packages/Feeder/FeederPackage.cs | itplamen/SportsBetting | 1 | 7054854 | namespace SportsBetting.IoCContainer.Packages.Feeder
{
using SimpleInjector;
using SimpleInjector.Packaging;
using SportsBetting.Feeder.Core;
using SportsBetting.Feeder.Core.Contracts;
using SportsBetting.Feeder.Core.Contracts.Factories;
using SportsBetting.Feeder.Core.Contracts.Managers;
... |
Assets/Scripts/PoolManager.cs | tiagoair/collectorpjd4m20202 | 0 | 7054855 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PoolManager : MonoBehaviour
{
#region Serializable Private Fields
[SerializeField] private GameObject objectToPool;
[SerializeField] private int initialPoolSize;
#endregion
#region Private Fields
... |
UriTemplates.Tests/UsagesTests.cs | halex2005/uri-templates | 6 | 7054856 | <gh_stars>1-10
using System;
namespace Resta.UriTemplates.Tests
{
using System.Collections.Generic;
using NUnit.Framework;
[TestFixture]
public class UsagesTests
{
[Test]
public void PathSegmentTest()
{
var template = new UriTemplate("http://example.com/{path}"... |
NtApiDotNet/NtEvent.cs | B2AHEX/sandbox-attacksurface-analysis-tools | 0 | 7054857 | // Copyright 2016 Google 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
//
// Unless required by applica... |
MVPNClientTest/MVPNClientTest/PipeTest.cs | dnobori/DNT-Jikken | 0 | 7054858 | <filename>MVPNClientTest/MVPNClientTest/PipeTest.cs
using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Net.Security;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Security.Cryptography.X509... |
Cs2Py/Features/NodeTranslators/GeneralRulesForMetodBrackets.cs | isukces/cs2python | 0 | 7054859 | using Cs2Py.Source;
namespace Cs2Py.NodeTranslators
{
class GeneralRulesForMetodBrackets
{
public static bool Bla(PyMethodCallExpression q)
{
if (q.Arguments.Count != 1)
return false; // many arguments
var firstArg = q.Arguments[0];
if (!str... |
HighPaw/HighPaw.Tests/Mocks/DatabaseMock.cs | HostVanyaD/ASP.NET-Core-Web-Project | 1 | 7054860 | <filename>HighPaw/HighPaw.Tests/Mocks/DatabaseMock.cs
namespace HighPaw.Tests.Mocks
{
using HighPaw.Data;
using Microsoft.EntityFrameworkCore;
using System;
public class DatabaseMock
{
public static HighPawDbContext Instance
{
get
{
var optio... |
MiFloraGateway/Sensors/SendValuesCommand.cs | AnderssonPeter/MiFloraSwarm | 8 | 7054861 | using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Hangfire;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
using MiFloraGateway.Database;
namespace MiFloraGateway.Sensors
{
public interface ISendValuesCommand
{
Task CommandAsync(int sensorId);
... |
Win/PPDCoreModel/ISoundManager.cs | KHCmaster/PPD | 16 | 7054862 | <reponame>KHCmaster/PPD<gh_stars>10-100
using PPDCoreModel.Data;
namespace PPDCoreModel
{
public interface ISoundManager
{
bool Play(MarkType button, double playRatio);
bool Play(MarkType button, int volume, double playRatio);
bool Play(int index, int volume, double playRatio);
... |
src/Commands/Modules/BotOwner/CreateConfigCommand.cs | Perksey/Volte | 0 | 7054863 | <filename>src/Commands/Modules/BotOwner/CreateConfigCommand.cs
using System.Threading.Tasks;
using Discord;
using Discord.WebSocket;
using Qmmands;
using Volte.Core.Attributes;
using Volte.Commands.Results;
namespace Volte.Commands.Modules
{
public sealed partial class BotOwnerModule : VolteModule
{
[... |
Less.Common/Less.Network/EmailClient.cs | bibaoke/Less.Common | 5 | 7054864 | <gh_stars>1-10
//<EMAIL>
using System.Net.Mail;
using System.Net;
using Less.Encrypt;
namespace Less.Network
{
/// <summary>
/// 电子邮件客户端
/// </summary>
public class EmailClient
{
private string UserName
{
get;
set;
}
private SmtpClient Smtp... |
WebhookInfo.cs | kentico-ericd/xperience-zapier-common | 0 | 7054865 | using System;
using System.Data;
using System.Runtime.Serialization;
using CMS;
using CMS.DataEngine;
using CMS.Helpers;
using Xperience.Zapier;
[assembly: RegisterObjectType(typeof(WebhookInfo), WebhookInfo.OBJECT_TYPE)]
namespace Xperience.Zapier
{
/// <summary>
/// Data container class for <see cref="Webh... |
RealEstateApp/Windows/AddOffer.xaml.cs | xTVaser/wpf-database-app | 0 | 7054866 | <filename>RealEstateApp/Windows/AddOffer.xaml.cs
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.W... |
HTMLHelp/default.aspx.cs | john-nance/HTMLHelp | 0 | 7054867 | <reponame>john-nance/HTMLHelp
using Markdig;
using pureHelp.classes;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace pureHelp
{
public partial class Default : pureHelp.classes... |
Assets/GAME/1_SCRIPTS/Player/Player.cs | TheMaker-93/2020-Fun_Race_3d_SpeedTest | 0 | 7054868 | <filename>Assets/GAME/1_SCRIPTS/Player/Player.cs
using System.Collections;
using System.Collections.Generic;
using UnityEditor.Rendering;
using UnityEngine;
using UnityEngine.Animations;
[RequireComponent(typeof(CharacterInput))]
[RequireComponent(typeof(CheckPointsHandler))]
[RequireComponent(typeof(Rigidbody))]
pub... |
PruebaGestionVentas/Shared/DTOs/ClientDTO.cs | edgaralvarezrengifo/gestionventas_blazor | 0 | 7054869 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace PruebaGestionVentas.Shared.DTOs
{
public class ClientDTO
{
public int Id {get;set;}
[Required]
public decimal DocumentId { get; set; }
[Require... |
src/SFA.Apprenticeships.Application.Communication/EmployerCommunicationService.cs | BugsUK/FindApprenticeship | 2 | 7054872 | <filename>src/SFA.Apprenticeships.Application.Communication/EmployerCommunicationService.cs
namespace SFA.Apprenticeships.Application.Communication
{
using System;
using System.Collections.Generic;
using Interfaces;
using Interfaces.Communications;
using Strategies;
public class EmployerCommun... |
CCMS.Server/Services/SessionService/SessionService.cs | aditya119/CCMS | 0 | 7054873 | <reponame>aditya119/CCMS
using CCMS.Server.Models;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Data;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Security.Claims;
namespace CCMS.Server.Services
{
public class SessionService : ISessionServ... |
src/2Day.App/Tools/Behavior/MenuItemContextMenuBehavior.cs | gordonlyle/2DAY | 34 | 7054874 | using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Input;
using Chartreuse.Today.App.Shared.ViewModel;
using Chartreuse.Today.App.ViewModel;
using Chartreuse.Today.App.Views;
using Chartreuse.Today.Core.Shared.Manager;
using Chartreuse.Today.Core.Shared.Model;
using Chartreuse.Today.Core.Shar... |
src/Stump.DofusProtocol/Messages/Messages/Game/Context/Fight/GameFightPlacementPossiblePositionsMessage.cs | Daymortel/Stump | 2 | 7054875 | namespace Stump.DofusProtocol.Messages
{
using System;
using System.Linq;
using System.Text;
using Stump.DofusProtocol.Types;
using System.Collections.Generic;
using Stump.Core.IO;
[Serializable]
public class GameFightPlacementPossiblePositionsMessage : Message
{
public con... |
Packages/com.unity.entities@0.17.0-preview.42/Unity.Entities.Tests/ForEachCodegen/ForEachCodegenTests.cs | polartron/open-netcode | 7 | 7054876 | <filename>Packages/com.unity.entities@0.17.0-preview.42/Unity.Entities.Tests/ForEachCodegen/ForEachCodegenTests.cs
using System;
using System.Collections.Generic;
using NUnit.Framework;
using Unity.Collections;
using Unity.Entities.CodeGeneratedJobForEach;
using Unity.Jobs;
using Unity.Transforms;
using UnityEngine;
us... |
tests/Helios.FsCheck.Tests/Channels/ChannelPipelineModels.cs | i-yangchun/Helios | 483 | 7054877 | <filename>tests/Helios.FsCheck.Tests/Channels/ChannelPipelineModels.cs
// Copyright (c) Petabridge <https://petabridge.com/>. All rights reserved.
// Licensed under the Apache 2.0 license. See LICENSE file in the project root for full license information.
// See ThirdPartyNotices.txt for references to third party code... |
DataWeb/DbContents/V2RayDbContent.cs | shby0527/v2data | 3 | 7054878 | <gh_stars>1-10
using DataWeb.DbEntities;
using Microsoft.EntityFrameworkCore;
namespace DataWeb.DbContents
{
public class V2RayDbContent : DbContext
{
public V2RayDbContent(DbContextOptions options)
: base(options)
{
}
public virtual DbSet<DataEntity> DataEntity { ... |
csharp.test/TestColumn.cs | TimeSeriesInsights/ParquetSharp | 2 | 7054879 | using System;
using ParquetSharp.Schema;
using NUnit.Framework;
namespace ParquetSharp.Test
{
[TestFixture]
internal static class TestColumn
{
[Test]
public static void TestPrimitives()
{
var expectedPrimitives = CreateExpectedPrimitives();
foreach (var exp... |
DirectN/DirectN/Generated/_D3DLIGHTTYPE.cs | Steph55/DirectN | 124 | 7054880 | <gh_stars>100-1000
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\d3dtypes.h(778,9)
namespace DirectN
{
public enum _D3DLIGHTTYPE
{
D3DLIGHT_POINT = 1,
D3DLIGHT_SPOT = 2,
D3DLIGHT_DIRECTIONAL = 3,
D3DLIGHT_PARALLELPOINT = 4,
D3DLIGHT_FORCE_DWO... |
Login/Extencions/DependencyInjection.cs | gustavoguerra/user_login_api | 0 | 7054881 | using Login.Business;
using Login.Business.Interface;
using Login.Infrrastructure;
using Login.Infrrastructure.Interface;
using Login.Repository;
using Login.Repository.Interface;
using Microsoft.Extensions.DependencyInjection;
namespace Login.Extencions
{
public static class DependencyInjection
{
pub... |
src/lib/Engine/Actors/GameActorMessages.cs | crasshacker/STak | 1 | 7054882 | <reponame>crasshacker/STak
using System;
using System.Linq;
using Akka.Actor;
using STak.TakEngine;
using STak.TakHub.Interop;
using STak.TakHub.Interop.Dto;
namespace STak.TakEngine.Actors
{
// *** GAME ACTOR MESSAGE CLASSES ***
[Serializable] public class GameActorMessage { }
// Property Getter method ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.