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/Frapid.Web/Areas/Frapid.Config/Entities/Flag.cs | 2ia/frapid | 2 | 7051401 | // ReSharper disable All
using System;
using Frapid.DataAccess;
using Frapid.NPoco;
namespace Frapid.Config.Entities
{
[TableName("config.flags")]
[PrimaryKey("flag_id", AutoIncrement = true)]
public sealed class Flag : IPoco
{
public long FlagId { get; set; }
public int UserId { get; s... |
SmileLogistics.Web/modules/global/SideBarLeft.ascx.cs | linhnpwork/SmileLogistics | 0 | 7051402 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SmileLogistics.Web.bases;
using SmileLogistics.DAL;
using SmileLogistics.DAL.Entities;
using SmileLogistics.DAL.Helpers;
namespace SmileLogistics.Web.modules.glob... |
src/Scriban/Runtime/Accessors/ListAccessor.cs | volkanceylan/scriban | 2 | 7051403 | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the BSD-Clause 2 license.
// See license.txt file in the project root for full license information.
using System.Collections;
using Scriban.Parsing;
namespace Scriban.Runtime.Accessors
{
public class ListAccessor : IListAccessor
{
public ... |
CuteGame/Objects/Helper/Circle.cs | Imbutt/CuteGame | 0 | 7051404 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
namespace CuteGame.Objects.Helper
{
public struct Circle
{
public Circle(int x, int y, int radius)
{
Center = new Point(x, y);
Radius = radius;
}
public Point Cente... |
SimpleIdentityServer/src/Apis/Uma/SimpleIdentityServer.Uma.Host/Extensions/ServiceCollectionExtensions.cs | appkins/SimpleIdentityServer | 71 | 7051405 | #region copyright
// Copyright 2015 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law... |
Assets/_Scripts/Managers/TriggerManager.cs | johannesCmayer/oVRflow | 0 | 7051406 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TriggerManager : MonoBehaviour
{
public static TriggerManager instance;
public delegate void cubeWasDestroyed(ColorID colorID);
public cubeWasDestroyed cubeDestroyedEvent;
public delegate void cubeWasCritical... |
Blue Eyes White Dragon/DataAccess/Repository/ImageRepository.cs | sadams115/Wolf | 32 | 7051407 | <reponame>sadams115/Wolf<gh_stars>10-100
using System;
using System.IO;
using Blue_Eyes_White_Dragon.DataAccess.Interface;
using Blue_Eyes_White_Dragon.Misc;
using Blue_Eyes_White_Dragon.Misc.Interface;
using PhotoSauce.MagicScaler;
namespace Blue_Eyes_White_Dragon.DataAccess.Repository
{
public class ImageReposi... |
Source/EatVillagers.WolfLab.Console/Program.cs | kinetiq/WolfLab.NET | 0 | 7051408 | <reponame>kinetiq/WolfLab.NET
using System;
using System.Drawing;
using EatVillagers.WolfLab.Console.ProjectLoader;
using EatVillagers.WolfLab.Console.UI;
using EatVillagers.WolfLab.Logic;
using EatVillagers.WolfLab.Logic.Analytics;
using Humanizer;
using WolfLab.Core.Configuration;
using Z.Core.Extensions;
namespace... |
src/ZendeskApi_v2/Models/Forums/Forum.cs | PRiSMiWi/ZendeskApi_v2-master | 0 | 7051409 | <reponame>PRiSMiWi/ZendeskApi_v2-master
// JSON C# Class Generator
// http://at-my-window.blogspot.com/?page=json-class-generator
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Linq;
namespace ZendeskApi_v2.Models.Forums
{
public cl... |
packages/gudusoft.gsqlparser.trial.3.3.2.6/src/test/scriptWriter/testGenerator.cs | TraceabilityInternet/TraceabilityDriver | 2 | 7051410 | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using gudusoft.gsqlparser;
using System.IO;
namespace gudusoft.gsqlparser.test.scriptWriter
{
[TestClass]
public class testGenerator
{
internal virtual bool supportedSqlType(ESqlStatementType sqlStatementType)
{
... |
Framework/Atf.Gui.WinForms/DragDrop/DragDataHelper.cs | jethac/ATF | 821 | 7051411 | <gh_stars>100-1000
//Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt.
using System.Drawing;
using System.Windows.Forms;
namespace Sce.Atf
{
using IComDataObject = System.Runtime.InteropServices.ComTypes.IDataObject;
/// <summary>
/// Provides extended functionality fo... |
CommandDotNet.Tests/FeatureTests/Help/ArgumentAttributesHelpTests.cs | giuliov/commanddotnet | 0 | 7051412 | using CommandDotNet.TestTools.Scenarios;
using Xunit;
using Xunit.Abstractions;
namespace CommandDotNet.Tests.FeatureTests.Help
{
public class ArgumentAttributesHelpTests
{
public ArgumentAttributesHelpTests(ITestOutputHelper output)
{
Ambient.Output = output;
}
[Fa... |
Kuzzle.Tests/API/Controllers/AdminControllerTest.cs | kuzzleio/sdk-csharp | 7 | 7051413 | <gh_stars>1-10
using Xunit;
using KuzzleSdk.API.Controllers;
using Newtonsoft.Json.Linq;
namespace Kuzzle.Tests.API.Controllers {
public class AdminControllerTest {
private readonly AdminController _adminController;
private readonly KuzzleApiMock _api;
public AdminControllerTest() {
_api = new Ku... |
Code/environment/rooms/PrettyDome2Ctrl.cs | ASofterSpace/vrBase | 1 | 7051414 | <gh_stars>1-10
using System.Collections.Generic;
using System.Collections;
using System;
using UnityEngine;
public abstract class PrettyDome2Ctrl: PrettyDomeCtrl {
public PrettyDome2Ctrl(MainCtrl mainCtrl, GameObject thisRoom): base(mainCtrl, thisRoom) {
// this pretty room needs looooots of beams!
this.be... |
WebApp/Views/Entities/Details.cshtml | niltor/entitylib | 1 | 7051415 | @model WebApp.Data.Entity.Entity
@{
ViewData["Title"] = "Details";
var lib = Model.Lib;
}
<head>
<link href="~/js/vs/editor/editor.main.css" rel="stylesheet" />
</head>
<div>
<h4>Entity Detail</h4>
<hr />
<dl class="row">
<dt class="col-sm-2">
@Html.DisplayNameFor(model => m... |
mcs/errors/cs1061-7.cs | lefb766/mono | 469 | 7051416 | <gh_stars>100-1000
// CS1061: Type `int' does not contain a definition for `Foo' and no extension method `Foo' of type `int' could be found. Are you missing an assembly reference?
// Line: 9
public class M
{
public static void Main ()
{
1.Foo ("foo");
}
}
|
Source/Therm/Therm/ThermApp.cs | WildernessLabs/Therm | 4 | 7051417 | using System;
using Meadow;
using Meadow.Devices;
using Meadow.Foundation.Sensors.Temperature;
using Meadow.Peripherals.Sensors.Atmospheric;
using System.Threading.Tasks;
using Meadow.Foundation.Web.Maple.Server;
using Meadow.Gateway.WiFi;
namespace Therm
{
public class ThermApp : App<F7Micro, ThermApp>
{
... |
BuilderModule/Main.cs | MrPurple6411/Subnautica-Mods | 14 | 7051418 | namespace BuilderModule
{
using Module;
using HarmonyLib;
using QModManager.API.ModLoading;
using System.Collections.Generic;
using System.Reflection;
#if BZ
using QModManager.API;
using SMLHelper.V2.Handlers;
#endif
[QModCore]
public static class Main
{
internal static... |
glytics/Attributes/AuthenticatedAttribute.cs | kanersps/glytics | 0 | 7051419 | <gh_stars>0
using System;
using glytics.Common.Models;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
namespace glytics.Attributes
{
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
public class AuthenticatedAttribute : Attribute, IAu... |
org.conqat.engine.sourcecode/test-data/org.conqat.engine.sourcecode.analysis.shallowparsed/Nesting.cs | assessorgeneral/ConQAT | 1 | 7051420 | namespace Foo {
class Bar {
public void test () {
for (int i = 0; i < 17; ++i)
for (int j = 0; j < 15; ++j) {
for (int k = 0; k < 1; ++k)
if (i < j)
callFoo();
}
callMethod (5, x => {
int a = 17;
int b = 15;
return innerCall (a, b, (i,j) => {
if (i < j)
return i*... |
iNQUIRE.v2/Startup.cs | armadillo-systems/inquire | 14 | 7051421 | using Microsoft.Owin;
using Owin;
[assembly: OwinStartupAttribute(typeof(iNQUIRE.Startup))]
namespace iNQUIRE
{
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
ConfigureAuth(app);
}
}
}
|
ListProcessingProject/ListProcessingProject/IO/InputReader.cs | tanyta78/CSharpOOPAdv | 0 | 7051422 | namespace ListProcessingProject.IO
{
using System;
public class InputReader
{
private CommandInterpreter interpreter;
private const string endCommand = "end";
public InputReader(CommandInterpreter interpreter)
{
this.interpreter = interpreter;
}
... |
ZFS.Client/ViewModel/GroupViewModel.cs | lhyGH/wpf-mvvm-DeskTop-Sample | 279 | 7051423 | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZFS.Client.LogicCore.Common;
using ZFS.Client.LogicCore.Configuration;
using ZFS.Client.LogicCore.Enums;
using ZFS.Client.ViewModel.VMBase;
using ZFS.Core.Interfaces;
using ZFS.M... |
test/Mono.Linker.Tests.Cases/DataFlow/TypeHandleDataFlow.cs | jtschuster/linker | 0 | 7051424 | // Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using Mono.Linker.Tests.Cases.Expectations.Assertions;
using Mono.L... |
src/Gang.State/Storage/GangStateStore.cs | MrAntix/gang | 0 | 7051425 | <gh_stars>0
using Gang.Management;
using Gang.Serialization;
using Gang.State.Events;
using Gang.Storage;
using Gang.Tasks;
using System;
using System.Reactive.Subjects;
using System.Threading.Tasks;
namespace Gang.State.Storage
{
public sealed class GangStateStore<TStateData> :
IGangStateStore<TStateData>... |
src/Identity.Api/Extensions/DtoExtensions.cs | duospeak/IdentityService | 1 | 7051426 | using Application.Models;
using IdentityServer4;
using Microsoft.AspNetCore.Authentication;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
namespace Identity.Api.Extensions
{
internal static class DtoExtensions
{
public st... |
GraphQL.NodaTime.Tests/Types/OffsetGraphType.cs | shoooe/graphql-nodatime | 4 | 7051427 | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using NodaTime;
using Xunit;
namespace GraphQL.NodaTime.Tests
{
using Builder = TestBuilder<OffsetGraphType, Offset>;
public class OffsetGraphTypeTests
{
[Fact]
public void QueryReturnsSerializedDataIgnoringMilliseconds()
... |
Assets/Scripts/UIFramework/BlueUIFrame.Easy/Interface/AUIRoot.cs | BlueMonk1107/BlueUIFrame | 14 | 7051428 | <reponame>BlueMonk1107/BlueUIFrame
//=======================================================
// 作者:BlueMonk
// 描述:基于UGUI的简易UI框架
//=======================================================
using UnityEngine;
using System.Collections;
namespace BlueUIFrame.Easy
{
/// <summary>
/// 负责所有系统的初始化,并保存所有系统的引用
/// </s... |
tests/Proto.Cluster.Tests/GossipCoreTests.cs | codrut51/protoactor-dotnet | 0 | 7051429 | <reponame>codrut51/protoactor-dotnet
// -----------------------------------------------------------------------
// <copyright file="GossipCoreTests.cs" company="Asynkron AB">
// Copyright (C) 2015-2022 Asynkron AB All rights reserved
// </copyright>
// --------------------------------------------------------------... |
src/PandaPlayer/Adviser/PlaylistAdvisers/RankBasedAdviser.cs | CodeFuller/music-library | 0 | 7051430 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using PandaPlayer.Adviser.Grouping;
using PandaPlayer.Adviser.Interfaces;
using PandaPlayer.Adviser.Internal;
namespace PandaPlayer.Adviser.PlaylistAdvisers
{
internal class RankBasedAd... |
Multiplayer/GDM/Lobby Status.cs | TotiVM/GDM-Windows | 3,920 | 7051431 | <filename>Multiplayer/GDM/Lobby Status.cs
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media.Imaging;
namespace Multiplayer.GDM
{
... |
electron-dotnet/src/websharpjs/WebSharp.js/dotnet/WebSharpJs.DOM/HtmlEventNames.cs | xamarin/WebSharp | 352 | 7051432 | <reponame>xamarin/WebSharp
// HTMLEventNames.cs - Predefined event names https://developer.mozilla.org/en-US/docs/Web/Events
using System;
namespace WebSharpJs.DOM
{
public static class HtmlEventNames
{
#region MouseEvents
public static readonly String MouseUp = "mouseup";
public s... |
Source/SharperArchitecture.Reporting/Settings/XlsxReportSettings.cs | maca88/SharperArchitecture | 1 | 7051433 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharperArchitecture.Common.Reporting
{
public class XlsxReportSettings : IReportSettings
{
public XlsxReportSettings()
{
FontSize = ReportSettings.DefaultFo... |
test/NuGet.Core.Tests/NuGet.Commands.Test/RestoreCommand/RequestFactory/DependencyGraphSpecRequestProviderTests.cs | huangqinjin/NuGet.Client | 654 | 7051434 | <gh_stars>100-1000
// Copyright (c) .NET Foundation. 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 NuGet.Common;
using NuGet.ProjectModel;
using Xunit;
namespace NuGet.Commands.Test
{
pub... |
src/exercise1/start/GreatQuotes/ViewModels/QuoteViewModel.cs | D-M4N/mvvm_ViewModel_Assessment | 6 | 7051436 | <gh_stars>1-10
using System;
using GreatQuotes.Data;
using GreatQuotes.Infrastructure;
namespace GreatQuotes.ViewModels
{
public class QuoteViewModel : SimpleViewModel
{
readonly GreatQuote quote;
public string FirstName
{
get { return quote.FirstName; }
set {
... |
StackSplitX/MenuHandlers/ShopMenuHandlers/ShopAction.cs | pepoluan/StackSplitX | 0 | 7051437 | <reponame>pepoluan/StackSplitX<filename>StackSplitX/MenuHandlers/ShopMenuHandlers/ShopAction.cs
using Microsoft.Xna.Framework;
using StardewModdingAPI;
using StardewValley;
using StardewValley.Menus;
using System;
namespace StackSplitX.MenuHandlers
{
public abstract class ShopAction : IShopAction
{
//... |
staticMethods/staticMethods/L1801.cs | cxii112/csharp-bachelor-2 | 0 | 7051438 | using System;
namespace staticMethods
{
/**
* @author <NAME> ММТ-2-2021
*/
internal class L1801
{
public static void Main(string[] args)
{
int a, b, c, d;
Console.Write($"Числитель 1-й дроби ");
a = Convert.ToInt32(Console.ReadLine());
... |
tests/Paramore.Brighter.Tests/FeatureSwitch/TestDoubles/FakeConfigRegistry.cs | Retail-Success/Brighter | 1 | 7051440 | <filename>tests/Paramore.Brighter.Tests/FeatureSwitch/TestDoubles/FakeConfigRegistry.cs<gh_stars>1-10
#region Licence
/* The MIT License (MIT)
Copyright © 2014 <NAME> <<EMAIL>>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Softwa... |
Domain/Entities/ncmaccountmaster.cs | arvindgawas/rcmconvapi | 0 | 7051441 | using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
namespace Domain.Entities
{
public class ncmaccountmaster
{
public string customercode { get; set; }
public string customerbranchcode { get; set; }
[Key]
public stri... |
ReCollect/ReCollect/Assets/dearVR/Scene/Scripts/FlyCam.cs | jessemerida/Re-Collect | 0 | 7051442 | using UnityEngine;
using System.Collections;
public class FlyCam : MonoBehaviour
{
#if UNITY_EDITOR || UNITY_STANDALONE
public float lookSpeed = 5.0f;
public float moveSpeed = 1.0f;
public float rotationX = 0.0f;
public float rotationY = 0.0f;
void Update()
{
if (Input.GetMouseButton(0))
{
rotationX +=... |
Assets/AnimationBaker/StateMachine/Editor/StateGraphEditor.cs | zulfajuniadi/Animation-Texture-Baker | 43 | 7051443 | using System;
using System.Reflection;
using UnityEngine;
using UnityEngine.Rendering;
using UnityEditor;
using AnimationBaker.StateMachine.Nodes;
using AnimationBaker.StateMachine.XNode;
using AnimationBaker.StateMachine.XNodeEditor;
using UEditor = UnityEditor.Editor;
namespace AnimationBaker.StateMachine.Editor
{
... |
src/Wiz.Template.CrossCutting/Binding/AccessToken/AccessTokenAttribute.cs | juscelior/fn-wiz-template | 0 | 7051445 | <gh_stars>0
using Microsoft.Azure.WebJobs.Description;
using System;
using System.Collections.Generic;
using System.Text;
namespace Wiz.Template.CrossCutting.Binding.AccessToken
{
/// <summary>
/// Atributo customizado para poder acessar um objeto do tipo <see cref="ClaimsPrincipal"/> dentro da definição da f... |
src2/flowmaker.web/Views/Shared/Components/Lonely/Default.cshtml | mindmakr/flowmaker | 0 | 7051447 | @*
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
}
<h2>It is lonely here, lets make this site an incredible site today!</h2> |
src/Contact/CRM.Contact/IntegrationHandlers/ContactCreatedEventHandler.cs | geffzhang/crm | 1 | 7051448 | <filename>src/Contact/CRM.Contact/IntegrationHandlers/ContactCreatedEventHandler.cs
using System.Threading.Tasks;
using CRM.IntegrationEvents;
using CRM.Shared.EventBus;
using Microsoft.Extensions.Logging;
namespace CRM.Contact.IntegrationHandlers
{
public class ContactCreatedEventHandler : IIntegrationEventHandle... |
Photon/Model/ConstantSet.cs | davyxu/PhotonSharp | 35 | 7051449 | using MarkSerializer;
using System.Collections.Generic;
namespace Photon
{
class ConstantSet : DataAccessor, IMarkSerializable
{
List<Value> _cset = new List<Value>();
public void Serialize(BinarySerializer ser)
{
ser.Serialize(ref _cset);
}
... |
Editor/Helpers/FileReader.cs | HLSW/DeltaEngine | 81 | 7051450 | using System.IO;
namespace DeltaEngine.Editor.Helpers
{
public class FileReader
{
//ncrunch: no coverage start
public virtual byte[] ReadAllBytes(string filePath)
{
return File.ReadAllBytes(filePath);
}
}
} |
src/Microsoft.Graph/Generated/requests/AccessReviewInstanceDecisionItemInsightsCollectionPage.cs | ScriptBox99/msgraph-beta-sdk-dotnet | 71 | 7051453 | <reponame>ScriptBox99/msgraph-beta-sdk-dotnet
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// -----------------------------------... |
Dataphor/Frontend.Client.Silverlight/Frontend.Client.Silverlight/Controls/MenuItem.cs | johanduf/Dataphor | 57 | 7051454 | <filename>Dataphor/Frontend.Client.Silverlight/Frontend.Client.Silverlight/Controls/MenuItem.cs
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Media;
namespace Alphora.Dataphor.Frontend.Client.Silverlight
{
[TemplatePart(Name ... |
Store/Store/Views/Admin/ProductProccessError.cshtml | unitx/ASP.NET | 0 | 7051455 | <filename>Store/Store/Views/Admin/ProductProccessError.cshtml
@{
ViewBag.Title = "Product Process Error";
}
<h2>Product Proccess Error</h2>
<div class="col-xs-12 hclearfix">
<p class="alert-danger">There was a problem while trying to add a new Product.</p>
<p><a href="/Admin/AddProducts" title="Back to ... |
Intersect (Core)/Extensions/StringExtensions.cs | TalikanPDMO/Intersect-Engine | 146 | 7051456 |
using JetBrains.Annotations;
namespace Intersect.Extensions
{
public static class StringExtensions
{
[NotNull]
public static string TerminateWith(this string self, char terminateWith, bool condition = true) =>
TerminateWith(self, new[] {terminateWith}, condition);
[NotNul... |
AzureSearchToolkit.IntegrationTest/Tests/OrderTests.cs | xperiandri/AzureSearchToolkit | 8 | 7051457 | <reponame>xperiandri/AzureSearchToolkit
using AzureSearchToolkit.IntegrationTest.Models;
using System.Linq;
using Xunit;
namespace AzureSearchToolkit.IntegrationTest.Tests
{
[Collection("QueryTestCollection 1")]
public class OrderTests
{
[Fact]
public void OrderByDouble()
{
... |
Components/OnDeselectHook.cs | pjago/Arcadia | 0 | 7051458 | <filename>Components/OnDeselectHook.cs<gh_stars>0
using UnityEngine;
using UnityEngine.EventSystems;
using clojure.lang;
public class OnDeselectHook : ArcadiaBehaviour, IDeselectHandler
{
public void OnDeselect(BaseEventData a)
{
RunFunctions(a);
}
} |
Assets/Scripts/GameManager.cs | Renardjojo/TAT-TinyAnimalTown | 0 | 7051459 | using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public struct LevelData
{
public Tile from;
public Tile to;
public Character character;
public float bestTime;
public GameObject mParticleFeedBackGO;
}
public class GameManager : MonoBehaviour
{
[Header("Objects")]
p... |
Test/InverserTest.cs | marcusrunge/NetGatewayInverser | 1 | 7051460 | using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using NetGatewayInverser;
namespace Test
{
[TestClass]
public class InverserTest
{
[TestMethod]
public void GetWhiteListTest()
{
List<Network> blackList = new... |
src/Stubble.Compilation/Contexts/CompilerContext.cs | CarbonSft/Stubble.Xamarin | 0 | 7051461 | <reponame>CarbonSft/Stubble.Xamarin
// <copyright file="CompilerContext.cs" company="Stubble Authors">
// Copyright (c) Stubble Authors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
// </copyright>
using System;
using System.Collectio... |
OwinDemo/Global.asax.cs | wangchez/Learn-Owin-Demo | 0 | 7051462 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace OwinDemo
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_S... |
V.01P/POS-LATEST/CalciumsComponents/Keybrd.Designer.cs | SariSultan/RMS | 3 | 7051464 | <reponame>SariSultan/RMS
namespace CalciumsComponents
{
partial class Keybrd
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... |
EWork/Data/Interfaces/IFreelancingPlatformDbContext.cs | SaveliyKolesnikov/EWork | 28 | 7051465 | using System;
using System.Threading.Tasks;
using EWork.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.ChangeTracking;
namespace EWork.Data.Interfaces
{
public interface IFreelancingPlatformDbContext : IDisposable
{
DbSet<Job> Jobs { get; set; }
DbSet<Tag> Tag... |
JumpPoint/JumpPoint.Platform.Services/Dashboard/DashboardService.netstandard.cs | MarkIvanDev/JumpPoint | 16 | 7051466 | <filename>JumpPoint/JumpPoint.Platform.Services/Dashboard/DashboardService.netstandard.cs
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using System.Threading.Tasks;
using JumpPoint.Platform.Items;
using JumpPoint.Platform.... |
src/JimmyDeploy/Pages/StepsPage.xaml.cs | JamesDearlove/WindowsAutoSetup | 0 | 7051467 | <filename>src/JimmyDeploy/Pages/StepsPage.xaml.cs
using System;
using System.Collections.Generic;
using System.IO;
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.Inp... |
Source/HFEA.Web.ViewModel/CaFC/Model/Comparison/ClinicGameteAvailability.cs | hfea/Website-Public | 0 | 7051468 | <reponame>hfea/Website-Public
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HFEA.Web.ViewModel.CaFC.Model.Comparison
{
public class ClinicGameteAvailability
{
public GameteAvailabilityStats White { get; set; }
pub... |
src/TinyProxy/Services/RouteService.cs | FrodeHus/tinyproxy | 0 | 7051469 | using Microsoft.OpenApi.Models;
using Microsoft.OpenApi.Readers;
using Spectre.Console;
using TinyProxy.Models;
namespace TinyProxy.Services;
public class RouteService
{
private readonly Dictionary<UpstreamServer, OpenApiDocument?> _apis = new();
public async Task ParseConfigFile(string configFile)
{
... |
GrappleHook/GrappleHook.cs | hanss314/CelesteShenanigans | 0 | 7051470 | using Celeste.Mod;
using Celeste;
using System;
using System.Collections;
using Microsoft.Xna.Framework;
using MonoMod.Cil;
using Mono.Cecil.Cil;
using System.Reflection;
using Mono.Cecil;
namespace GrappleHook {
[SettingName("modoptions_grapplehooksettings_title")]
public class GrappleHookSettings : Everest... |
ViewModels/I2CBusResistorViewModel.cs | Daxxn/ElectricalCalculator | 0 | 7051471 | using ElectricalCalculator.Models;
using MVVMLibrary;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ElectricalCalculator.ViewModels
{
public class I2CBusResistorViewModel : ViewModel
{
#region - Fields & Properties
priva... |
Assets/Scripts/CameraMovement/CameraMover.cs | ProjectS2O2O/Spring-Climber | 0 | 7051472 | using DG.Tweening;
using UnityEngine;
namespace CameraMovement
{
public class CameraMover : MonoBehaviour
{
[SerializeField] private float moveTime;
[SerializeField] private float offset;
[SerializeField] private float zoomOffset = 4;
[SerializeField] private float zoomOffsetTi... |
Arriba/Arriba.Test/Model/SecureDatabaseTests.cs | mattk09/elfie-arriba | 20 | 7051473 | <reponame>mattk09/elfie-arriba
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using Arriba.Model;
using Arriba.Model.Column;
using Arriba.Model.Expressions;
using Ar... |
PdfCraft/Fonts/TrueType/Parsing/Tables/Fpgm/FpgmReader.cs | W0dan/PdfCraft | 2 | 7051474 | <filename>PdfCraft/Fonts/TrueType/Parsing/Tables/Fpgm/FpgmReader.cs<gh_stars>1-10
using PdfCraft.Fonts.TrueType.Parsing.Conversion;
namespace PdfCraft.Fonts.TrueType.Parsing.Tables.Fpgm
{
public static class FpgmReader
{
public static Fpgm Read(byte[] ttfBytes, TtfTableDirectoryEntry entry)
{
... |
Highway/test/Highway.Data.Tests/OData/Parser/Readers/GuidExpressionFactoryTests.cs | daveh551/Highway.Data | 0 | 7051475 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="GuidExpressionFactoryTests.cs" company="Reimers.dk">
// Copyright © Reimers.dk 2014
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://g... |
XFFurniture/XFFurniture/Models/ProductoModelo.cs | joseluishl123/Ordenes | 0 | 7051476 | <reponame>joseluishl123/Ordenes
using SQLite;
using SQLiteNetExtensions.Attributes;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
using XFFurniture.Models;
using XFFurniture.ViewModel;
namespace SwipeMenu.Models
{
public class ProductoModelo : BaseViewModel
{
... |
Final/WeatherForecastMVC/obj/Debug/net5.0/Razor/Views/Home/WeatherForecast.cshtml.g.cs | usf-comp494-spring2021/annan | 0 | 7051477 | #pragma checksum "C:\Users\harry\OneDrive - University of St. Francis\7_2021 Spring\C#\Projects\Final\WeatherForecastMVC\Views\Home\WeatherForecast.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "b632b6877f1706f47a3535c06ed1c2aa72d8adb1"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.A... |
Shkolo/Areas/Admin/Views/Claims/Edit.cshtml | DimitarAngov/ShkoloAspNetProject | 0 | 7051478 | <filename>Shkolo/Areas/Admin/Views/Claims/Edit.cshtml
@model AspNetUserClaims
@{ViewData["Title"] = "Edit UserClaims";}
<h2 class="text-center">Edit UserClaims</h2>
<partial name="_ClaimFormPartial" model="@Model" />
@section Scripts {
<partial name="_ValidationScriptsPartial" />
} |
src/Infrastructure/Persistence/Migrations/20210519042713_AddApplicationUserIdToUserProfile.cs | ricpuk/FoodTracker | 0 | 7051479 | <reponame>ricpuk/FoodTracker<gh_stars>0
using Microsoft.EntityFrameworkCore.Migrations;
namespace FoodTracker.Infrastructure.Persistence.Migrations
{
public partial class AddApplicationUserIdToUserProfile : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
... |
Controllers/Api/ServiceApiController.cs | Varunda/carl-wt | 4 | 7051480 | <reponame>Varunda/carl-wt
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using watchtower.Models;
using watchtower.Models.Api;
using watchtower.Services;
using watchtower.Services.Queues;
namespace wa... |
C-Sharp/frmChangeDisplay.cs | nodoid/PointOfSale | 10 | 7051481 | <filename>C-Sharp/frmChangeDisplay.cs
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Windows.Forms;
using DpSdkEngLib;
using DPSDKOPSLib;
using Microsoft.VisualBasic;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Drawing;
using System.Diagnostics;
... |
Tests/BinaryRewriting.Tests/Configuration/ConfigurationTests.cs | tbertenshaw/coyote | 0 | 7051482 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.IO;
using System.Linq;
using System.Reflection;
using Xunit;
using Xunit.Abstractions;
using RewritingConfiguration = Microsoft.Coyote.Rewriting.Configuration;
namespace Microsoft.Coyote.BinaryRewriting.Tests.Tasks
{
public c... |
cs/Helper.cs | ladygecko/Specflow_Unleashed | 0 | 7051484 | using NUnit.Framework;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.UI;
using SeleniumExtras.WaitHelpers;
using System;
using System.Collections.Generic;
using System.Text;
namespace Specflow_Unleashed.Pages
{
public class Helper
{
public IWebDriver webDriver;
public Helper(IWebDriver... |
DotNet.CleanCode/Demo1/DotNet.CleanCode.MeaningfulNames/MeaningfulName.cs | MTrajK/dotnet-projects | 2 | 7051485 | <reponame>MTrajK/dotnet-projects<gh_stars>1-10
using System;
namespace DotNet.CleanCode.MeaningfulNames
{
public class MeaningfulName
{
public void UseIntentionRevealingNames()
{
int d; // elapsed time in days
int c; // days since creation
int m; // days sin... |
GGJ2015/Assets/Scripts/Texts/Events.cs | thamenato/ggj2015-usp-project | 0 | 7051486 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class Events : MonoBehaviour {
public static Dictionary<string, string> eventsTextAction;
public GameObject _actionsText;
void Awake()
{
if (!GameObject.FindObjectOfType<ActionsData>())
{
... |
src/DistributedTransactions/Models/Transaction.cs | DeagleGross/DistributedTransactions | 1 | 7051487 | <filename>src/DistributedTransactions/Models/Transaction.cs
namespace DistributedTransactions.Models
{
public class Transaction
{
public long Id { get; set; }
public string TransactionType { get; set; }
public TransactionStatus Status { get; set; }
}
}
|
atom/nucleus/csharp/src/Nucleus/Model/VPortfolioVO.cs | AbhiGupta03/SDK | 0 | 7051488 | <reponame>AbhiGupta03/SDK
/*
* Hydrogen Nucleus API
*
* The Hydrogen Nucleus API
*
* OpenAPI spec version: 1.9.5
* Contact: <EMAIL>
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
u... |
Verex/Text/Unicode.cs | VBAndCs/Verex | 0 | 7051489 | using System;
using System.Collections.Generic;
using System.Text;
namespace RegexBuilder
{
public static partial class Patterns
{
/// <summary>
/// Unicode Categories
/// </summary>
public static class Unicode
{
public static Symbol UnicodeChar(ushort unic... |
src/SerilogTimings/Configuration/LevelledOperation.cs | MarcusKohnert/serilog-timings | 0 | 7051490 | <gh_stars>0
// Copyright 2016 SerilogTimings Contributors
//
// 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 app... |
Runtime/Scripts/Components/SceneFaderFunctions.cs | Jason-Skillman/Scene-Fader-Manager | 2 | 7051491 | using System.Collections;
using SceneFader.SceneManagement;
using UnityEngine;
namespace SceneFader.Components {
public class SceneFaderFunctions : MonoBehaviour {
public float minSecondsDelay;
public string[] additiveScenes;
public void LoadScene(string scene) {
IEnumerator task1 = SceneUtility.Corouti... |
emulator/ClientEmulator/TokenResponseExtensions.cs | appsonsf/FabricEAP | 11 | 7051492 | using IdentityModel;
using IdentityModel.Client;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClientEmulator
{
public static class TokenResponseExtensions
{
public sta... |
src/HotChocolate/Core/src/Types/Types/Contracts/SerializationException.cs | anadale/hotchocolate | 3 | 7051494 | <gh_stars>1-10
#nullable enable
namespace HotChocolate.Types;
/// <summary>
/// The serialization exception is thrown whenever a type cannot
/// serialize, deserialize or parse a value.
/// </summary>
public class SerializationException
: GraphQLException
{
/// <summary>
/// Initializes the <see cref="Ser... |
vsproject/DotNetSerializer/DotnetSerializerMVC5/Models/ManyDefaultsTestData.cs | houseelectricsopen/dotnetserializer | 0 | 7051495 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace DotnetSerializerMVC5.Models
{
public class ManyDefaultsTestData
{
internal int i1 = 12345;
internal int i2 = 234;
public int i4 = 432;
public class StringValues
{
... |
Puffix.Cqrs/Commands/ICommandService.cs | EhRom/Puffix.Cqrs | 1 | 7051496 | using Puffix.Cqrs.Executors;
using System.Threading.Tasks;
namespace Puffix.Cqrs.Commands
{
/// <summary>
/// Contrat pour le service de traitement des commandes.
/// </summary>
public interface ICommandService
{
/// <summary>
/// Traitement d'une commande.
/// </summary>
... |
SimpleConditional/P4.GreaterNumber/GreaterNumber.cs | albozhinov/SoftUni---Programming-Basics-with-C-January-2018- | 0 | 7051497 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace P4.GreaterNumber
{
class GreaterNumber
{
static void Main(string[] args)
{
var n1 = int.Parse(Console.ReadLine());
var n2 = int.Parse(Console.Re... |
StopGuessingOld/Clients/DistributedBinomialLadderFilterClient.cs | SanjidaSanwar/StopGuessing | 79 | 7051498 | <filename>StopGuessingOld/Clients/DistributedBinomialLadderFilterClient.cs
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using StopGuessing.Interfaces;
using StopGuessing.DataStructures;
using StopGuessing.EncryptionPrimitives;
using StopGuessing.Models;
namespa... |
Source/Window/LayerAttributesForm/AnnotationPage.Designer.cs | GIS-design-application/DEETU | 2 | 7051499 |
namespace DEETU.Source.Window
{
partial class AnnotationPage
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
Test/UnitTests/Sce.Atf/Applications/TestCommands.cs | jethac/ATF | 821 | 7051500 | //Copyright © 2014 Sony Computer Entertainment America LLC. See License.txt.
using System;
using NUnit.Framework;
using Sce.Atf.Applications;
namespace UnitTests.Atf
{
[TestFixture]
public class TestCommands
{
[Test]
public void TestCommandHistory()
{
Pos... |
AgsVerifierLibrary/Models/AgsRowCollection.cs | niko86/AgsVerifierApp | 1 | 7051501 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace AgsVerifierLibrary.Models
{
public class AgsRowCollection : IEnumerable<AgsRow>
{
private readonly AgsGroup _group;
internal AgsRowCollection(AgsGroup group)
{
_group = g... |
src/messages/requests/Get_Accounts_By_Access_Token_Req.cs | raul-gherman/spotware-api-dotnet-core | 2 | 7051502 | using ProtoBuf;
namespace spotware
{
public partial class Client
{
public static ProtoMessage Get_Accounts_By_Access_Token_Req(string accessToken)
{
ProtoOAGetAccountListByAccessTokenReq message = new ProtoOAGetAccountListByAccessTokenReq
{
payloadType = ... |
Cobranca/Gomes.Domain/Context/Repository/ICustomerRepository.cs | gomescgpereira/Desafio | 0 | 7051503 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Gomes.Domain.Context.Entity;
namespace Gomes.Domain.Context.Repository
{
public interface ICustomerRepository
{
Task<IEnumerable<Customer>> GetAll();
Task<Customer> Get(string name);
Task Add(Customer model);
... |
Samples/Web API Security/WebHost/Controllers/AccountController.cs | samaneh11/Thinktecture.IdentityModel.45 | 0 | 7051504 | using System.Web.Mvc;
using System.Web.Security;
using Thinktecture.Samples.Security;
using WebHost.Models;
namespace WebHost.Controllers
{
public class AccountController : Controller
{
//
// POST: /Account/Login
[AllowAnonymous]
public ActionResult Login(string returnUrl)
... |
EarTrumpet/UI/Views/FullWindow.xaml.cs | supers0ak/trump | 1 | 7051505 | <gh_stars>1-10
using EarTrumpet.DataModel;
using EarTrumpet.Extensions;
using EarTrumpet.Interop.Helpers;
using EarTrumpet.UI.Helpers;
using EarTrumpet.UI.ViewModels;
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Input;
namespace EarTrumpet.UI.Views
{
public partia... |
Bookify/Bookify.App/Bookify.App.iOS/Ui/Controllers/Base/ExtendedTableViewController.cs | Falgantil/Bookify | 1 | 7051507 | <gh_stars>1-10
using System;
using System.Threading.Tasks;
using Acr.UserDialogs;
using Bookify.App.iOS.Initialization;
using Bookify.App.iOS.Ui.Helpers;
using Foundation;
using UIKit;
namespace Bookify.App.iOS.Ui.Controllers.Base
{
public abstract class ExtendedTableViewController : UITableViewController
... |
Deque.NUnit/Deque/IndexerTests.cs | VaslD/Deque.Net | 0 | 7051508 | <reponame>VaslD/Deque.Net
using System;
using System.Collections.Generic;
using NUnit.Framework;
namespace Deque.NUnit.Deque
{
public class IndexerTests
{
[Test]
public void NegativeIndexThrowsException()
{
var deque = new Deque<Int32>(new[] {1, 2, 3});
Assert.... |
SCManager.Data/SCManagerDbContext.cs | rz-georgiev/HandotaiSeigyo | 2 | 7051509 | <reponame>rz-georgiev/HandotaiSeigyo
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Newtonsoft.Json;
using SCManager.Data.Models;
using System.Collections.Generic;
using System.Web;
namespace SCManager.Data
{
public class SC... |
_no_namespace/AudmuraController.----c__DisplayClass19_0.cs | SinsofSloth/RF5-global-metadata | 1 | 7051511 | <reponame>SinsofSloth/RF5-global-metadata<filename>_no_namespace/AudmuraController.----c__DisplayClass19_0.cs
[CompilerGeneratedAttribute] // RVA: 0x158880 Offset: 0x158981 VA: 0x158880
private sealed class AudmuraController.<>c__DisplayClass19_0 // TypeDefIndex: 7804
{
// Fields
public AudmuraController <>4__this; /... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.