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/Rainbow/Diff/ItemComparer.cs | NaibafCH/Rainbow | 0 | 7033097 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using Rainbow.Diff.Fields;
using Rainbow.Model;
using Sitecore.Diagnostics;
// ReSharper disable TooWideLocalVariableScope
// ReSharper disable LoopCanBeConvertedToQuery
namespace Rainbow.Diff
{
/// <summary>
/// Compares two items... |
Assets/Doozy/Editor/Nody/Windows/NodyWindowEditorSettings.cs | punsal/Swing-Hero | 0 | 7033098 | <reponame>punsal/Swing-Hero<filename>Assets/Doozy/Editor/Nody/Windows/NodyWindowEditorSettings.cs
// Copyright (c) 2015 - 2019 Doozy Entertainment. All Rights Reserved.
// This code can only be used under the standard Unity Asset Store End User License Agreement
// A Copy of the EULA APPENDIX 1 is available at http://u... |
sdk/dotnet/ComputeInstanceAgent/Outputs/GetInstanceAvailablePluginsAvailablePluginResult.cs | EladGabay/pulumi-oci | 5 | 7033099 | // *** 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... |
Project 1/RestaurantReviewApp/RestaurantReviewBL/Iuser.cs | 220328-uta-sh-net-ext/Marcos-Fonseca | 0 | 7033102 | <reponame>220328-uta-sh-net-ext/Marcos-Fonseca
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using RestaurantReviewModels;
namespace RestaurantReviewBL
{
internal interface Iuser
{
void AddUser(User user);
User GetUser(strin... |
Chinook.Shell/Redis/Redis.cs | EasyLOB/EasyLOB-Chinook-1 | 0 | 7033103 | <filename>Chinook.Shell/Redis/Redis.cs<gh_stars>0
using Chinook.Data;
using Chinook.Persistence;
using EasyLOB.Data;
using EasyLOB.Persistence;
using ServiceStack.Redis.Generic;
using System;
using System.Data.Common;
namespace Chinook.Shell
{
partial class Program
{
private static void SQ... |
Assets/CosmosFramework/Runtime/Base/Awaitable/WaitForTask/WaitForTaskExtensions.cs | DonHitYep/CosmosFramework | 21 | 7033104 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cosmos.Awaitable
{
public static class WaitForTaskExtensions
{
public struct WaitForMainThread { }
public static WaitForMainThreadAwaiter GetAwaiter(this WaitForMainThr... |
src/Lexepars.Grammars.Yaml.Tests/YamlTestCase.cs | DNemtsov/Lexepars.Grammars.Yaml | 3 | 7033105 | <filename>src/Lexepars.Grammars.Yaml.Tests/YamlTestCase.cs
using Lexepars.Grammars.Yaml.Entities;
using Lexepars.OffsideRule;
using Lexepars.Tests.Fixtures;
using System;
using System.Collections.Generic;
using System.IO;
namespace Lexepars.Grammars.Yaml
{
class DocumentTestCase : LexerParserTestCase<YDocument>
... |
tests/Vogen.Benchmarks/NoValidation/Benchmarks.cs | SteveDunn/Vogen | 64 | 7033106 | using System.ComponentModel;
using BenchmarkDotNet.Attributes;
namespace Vogen.Benchmarks.NoValidation
{
[MemoryDiagnoser, Description("The underlying type is int and there is no validation")]
public class Underlying_Int_With_No_Validation
{
[Benchmark(Baseline = true)]
public int UsingInt... |
Program.cs | Josyas/salariomedio | 0 | 7033107 | using System;
using System.Globalization;
namespace Ex_02_OrientacaoObejtc
{
class Program
{
static void Main(string[] args)
{
Funcionario f1 = new Funcionario();
Funcionario f2 = new Funcionario();
double media;
Console.WriteLine("... |
manga/src/Manga.MvcApp/UseCases/GetCustomer/CustomerDetailsModel.cs | lamkr/clean-architecture | 1 | 7033108 | namespace Manga.MvcApp.UseCases.GetCustomer
{
using System;
using System.Collections.Generic;
public sealed class CustomerDetailsModel
{
public Guid CustomerId { get; }
public string Personnummer { get; }
public string Name { get; }
public List<AccountDetailsModel> Acco... |
modules/common/opengl/c-sharp/IABitmap.cs | impsapps/impsengine | 0 | 7033109 | <filename>modules/common/opengl/c-sharp/IABitmap.cs
using System;
using System.Collections.Generic;
using System.Drawing;
using OpenTK.Graphics.OpenGL;
using System.Runtime.InteropServices;
using System.Diagnostics;
using System.Drawing.Imaging;
namespace ImpsEngine
{
public class IABitmap
{
[Unmanag... |
BiliBili3/Views/HomePage.xaml.cs | liesauer/BiliBili-UWP | 1 | 7033110 | <reponame>liesauer/BiliBili-UWP<filename>BiliBili3/Views/HomePage.xaml.cs
using BiliBili3.Models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading.Tasks;
using Windows.Foundation;
using... |
Keha.SuomiFiViestitHub.Client/Responses/LahetaViestiResponse.cs | ELY-KEHA/SuomiFiViestitHubClient | 0 | 7033111 | <reponame>ELY-KEHA/SuomiFiViestitHubClient<gh_stars>0
using Newtonsoft.Json;
namespace Keha.SuomiFiViestitHub.Client.Responses
{
// Response JSON-schema
// Full schema at https://www.joinex.com/sites/mip.io/mip.io-asti/index.html
// NOTE: We use Required.Always to throw JsonExceptions if API has cha... |
Pso.Api/ViewModel/LenteViewModel.cs | tmoreirafreitas/Pso | 2 | 7033112 | <reponame>tmoreirafreitas/Pso
using Pso.Domain.Enum;
namespace Pso.Api.ViewModel
{
public class LenteViewModel : EntityBaseViewModel
{
public float Grau { get; set; }
public float Cyl { get; set; }
public byte Eixo { get; set; }
public LenteType LenteType { get; set; }
... |
src/Ops.Service/Interfaces/Ops/Repositories/IIncidentFollowupRepository.cs | haraldnagel/ocuda | 0 | 7033113 | <reponame>haraldnagel/ocuda
using System.Collections.Generic;
using System.Threading.Tasks;
using Ocuda.Ops.Models.Entities;
namespace Ocuda.Ops.Service.Interfaces.Ops.Repositories
{
public interface IIncidentFollowupRepository : IOpsRepository<IncidentFollowup, int>
{
public Task<ICollection<Incident... |
Unicorn.FontTools.Tests.Unit/Afm/KerningPairUnitTests.cs | caitlinsalt/simple-timetable-editor | 0 | 7033114 | <reponame>caitlinsalt/simple-timetable-editor<filename>Unicorn.FontTools.Tests.Unit/Afm/KerningPairUnitTests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using TestUtilities = Tests.Utility;
using Tests.Utility.Extensions;
using Tests.Utility.Providers;
using U... |
Plugin.Xamarin.Controls.Droid/Controls/PXC_EditorRenderer.cs | dodesilva/Plugin.Xamarin.Controls | 0 | 7033115 | <reponame>dodesilva/Plugin.Xamarin.Controls
using System;
using System.ComponentModel;
using Android.Content;
using Android.Graphics;
using Android.Graphics.Drawables;
using Android.OS;
using Android.Views;
using Plugin.Xamarin.Controls;
using Plugin.Xamarin.Controls.EnumFiles;
using Plugin.Xamarin.Controls.Droid.Cont... |
GetJobProfiles/Models/Recipe/ContentItems/EntryRoutes/UniversityRequirementContentItem.cs | uk-gov-mirror/SkillsFundingAgency.dfc-servicetaxonomy-editor | 5 | 7033116 | using GetJobProfiles.Models.Recipe.ContentItems.Base;
namespace GetJobProfiles.Models.Recipe.ContentItems.EntryRoutes
{
public class UniversityRequirementContentItem : TitleHtmlDescriptionContentItem
{
public UniversityRequirementContentItem(string title, string timestamp, string description, string c... |
src/Catalogo/Catalogo.Events/Produtos/ProdutoRegistradoEvent.cs | pedrogutierres/rumox | 1 | 7033117 | using Core.Domain.Events;
using System;
namespace Catalogo.Events.Produtos
{
public sealed class ProdutoRegistradoEvent : Event
{
public Guid Id { get; private set; }
public Guid CategoriaId { get; private set; }
public long Codigo { get; private set; }
public string Descricao ... |
Module-2/Design-Patterns/Materials/DI.NET/Lifetime/MvcApplicationUnitTest/Controllers/HomeControllerFacts.cs | owolp/TelerikAcademy | 2 | 7033118 | using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using Moq;
using Ploeh.AutoFixture;
using Ploeh.Samples.Dependency.Lifetime;
using Ploeh.Samples.Lifetime.MvcApplication.Controllers;
using Ploeh.Samples.Lifetime.MvcApplication.Models;
using Xunit;
using Xunit.Extensions;
using Ploeh.AutoFixtu... |
Sources/PT.PM.Common/Nodes/Tokens/TypeToken.cs | KvanTTT/PT.PM | 65 | 7033119 | using System;
using System.Collections.Generic;
using MessagePack;
namespace PT.PM.Common.Nodes.Tokens
{
[MessagePackObject]
public class TypeToken : Token
{
[Key(0)] public override UstType UstType => UstType.TypeToken;
[Key(UstFieldOffset)]
public string TypeText { g... |
Tests/IndexDiffTest.cs | HackerBaloo/GitSharp | 1 | 7033120 | /*
* Copyright (C) 2007, <NAME> <<EMAIL>>
* Copyright (C) 2008, <NAME> <<EMAIL>>
* Copyright (C) 2008, <NAME> <<EMAIL>>
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
* conditions are met:
*
* - Redistr... |
THREE/Math/ThreeBSP.cs | hjoykim/THREE | 1 | 7033121 | <filename>THREE/Math/ThreeBSP.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using THREE.Core;
using THREE.Materials;
using THREE.Objects;
namespace THREE.Math
{
public class ThreeBSP
{
public static float EPSILON = 1e-5f;
... |
src/HotChocolate/Data/test/Data.Projections.SqlServer.Tests/QueryableProjectionVisitorScalarTests.cs | Drakkonite/hotchocolate | 3,399 | 7033122 | using System.Threading.Tasks;
using HotChocolate.Data.Projections.Extensions;
using HotChocolate.Execution;
using HotChocolate.Types;
using Xunit;
namespace HotChocolate.Data.Projections
{
public class QueryableProjectionVisitorScalarTests
{
private static readonly Foo[] _fooEntities =
{
... |
InfiniMap/CoordinateSpaces/WorldSpace.cs | LambdaSix/InfiniMap | 26 | 7033123 | using System;
namespace InfiniMap
{
public struct WorldSpace : IEquatable<WorldSpace>
{
public readonly long X;
public readonly long Y;
public readonly long Z;
public WorldSpace(long x, long y, long z) : this()
{
X = x;
Y = y;
Z = z;
... |
Assets/Scripts/WarScene/Magic/Magic/MagicArcher/MGArrowDownCtrl.cs | wang89531734/sanguoqunying2 | 23 | 7033124 | using UnityEngine;
using System.Collections;
public class MGArrowDownCtrl : MonoBehaviour {
private bool isWithFire;
private WarSceneController.WhichSide side;
private SolidersController soliderCtrl;
private GeneralController generalCtrl;
private float timeTick;
private Vector3 speedLeft = new Vector3(300, ... |
HSDRawViewer/GUI/Plugins/Melee/SubactionEditorRendering.cs | Virtual-World-RE/HSDLib | 0 | 7033125 | <reponame>Virtual-World-RE/HSDLib
using HSDRaw;
using HSDRaw.Common;
using HSDRaw.Common.Animation;
using HSDRaw.Melee;
using HSDRaw.Melee.Pl;
using HSDRaw.Tools;
using HSDRaw.Tools.Melee;
using HSDRawViewer.Converters.Animation;
using HSDRawViewer.GUI.Extra;
using HSDRawViewer.Rendering;
using HSDRawViewer.Rendering.... |
Design-Patterns/06. DI and IoC containers/demos/ConsoleWebServer - final/ConsoleWebServer.Framework/ResponseProvider.cs | shopOFF/Telerik-Academy-High-Quality-Code-Course | 19 | 7033126 | <reponame>shopOFF/Telerik-Academy-High-Quality-Code-Course<filename>Design-Patterns/06. DI and IoC containers/demos/ConsoleWebServer - final/ConsoleWebServer.Framework/ResponseProvider.cs
using System;
using System.Net;
using ConsoleWebServer.Framework.Handlers;
namespace ConsoleWebServer.Framework
{
public class ... |
Data/SenseIt.Data/Migrations/20210731123109_ChangeReviewRatingValueType.cs | DimitarVezalov/SenseIt | 0 | 7033127 | <reponame>DimitarVezalov/SenseIt
using Microsoft.EntityFrameworkCore.Migrations;
namespace SenseIt.Data.Migrations
{
public partial class ChangeReviewRatingValueType : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<int>(
... |
Prototype Hero/Assets/UI/Scripts/MenuCommands.cs | joshhaddock88/PrototypeHero | 0 | 7033129 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MenuCommands : MonoBehaviour
{
public void StartGame()
{
SceneManager.LoadScene(1);
}
public void QuitGame()
{
Application.Quit(... |
src/Forms/CollectionView/DrinkClientMock.cs | NightOwlCoder/ReactiveUI.Showroom | 7 | 7033130 | namespace Showroom.CollectionView
{
// public class DrinkClientMock : ClientMock<DrinkDto>
// {
// public DrinkClientMock()
// {
// Items = new List<DrinkDto>
// {
// new DrinkDto
// {
// Title = "Espresso",
// ... |
src/SDKs/Batch/DataPlane/Azure.Batch.Unit.Tests/UtilitiesInternalUnitTests.cs | juniwang/azure-sdk-for-net | 1 | 7033131 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Azure.Batch.Unit.Tests
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
... |
LemonMarkets.Sdk/Models/Responses/FakeWsApiResponse.cs | Robinterra/LemonMarkets | 0 | 7033132 | <filename>LemonMarkets.Sdk/Models/Responses/FakeWsApiResponse.cs
using System.Net;
namespace WsApiCore
{
public class FakeWsApiResponse
{
#region get/set
public HttpStatusCode HttpCode
{
get;
}
public object? FromBody
{
get;
}
... |
Akeraiotitasoft.ExodusContainer/Governor/ScopeGovernor.cs | Akeraiotitasoft/ExodusContainer | 0 | 7033133 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Akeraiotitasoft.ExodusContainer.Governor
{
public class ScopeGovernor : IScopeGovernor
{
public object GetScope(IExodusContainer exodusContainer, IExodusContainerScope exodusContainerScope)
{
... |
MovilShopStock/Controllers/BusinessController.cs | emachado9202/sales_system | 0 | 7033134 | using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.AspNet.Identity.Owin;
using MovilShopStock.Models;
using MovilShopStock.Models.Catalog;
using MovilShopStock.Models.Handlers;
using MovilShopStock.Models.View;
using System;
using System.Collections.Generic;
using System.... |
ServerApp/Enums.cs | lnarolski/PilotServer | 1 | 7033135 | <reponame>lnarolski/PilotServer
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ServerApp
{
enum Commands
{
SEND_TEXT = 1,
SEND_BACKSPACE,
SEND_MOVE_MOUSE,
SEND_LEFT_MOUSE,
SEND_RIGHT_MOUSE,
... |
DOTNETCORE/EFCoreSamples/ComputedColumns/EF/Migrations/20170228194432_Initial.Designer.cs | marlandolaud/presentations | 349 | 7033136 | <filename>DOTNETCORE/EFCoreSamples/ComputedColumns/EF/Migrations/20170228194432_Initial.Designer.cs
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Migrations.Conte... |
AlexaAzureFunction/Security.cs | lupine86/VSTSAlexaSkill | 1 | 7033137 | <reponame>lupine86/VSTSAlexaSkill
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs.Host;
using Microsoft.IdentityModel.Protocols;
using Microsoft.IdentityModel.Protocols.OpenIdConnect;
using Microsoft.IdentityModel.... |
Allfiles/Labs/02/Starter/ImageProcessor/ResizeAndCompress.cs | belarus1988/AZ-204-DevelopingSolutionsforMicrosoftAzure | 0 | 7033138 | using System.IO;
using System.Threading.Tasks;
using Microsoft.Azure.Storage.Blob;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Extensions.DurableTask;
namespace ImageProcessor
{
public static class ResizeAndCompress
{
[FunctionName("ResizeAndCompress")]
public static async Task... |
Voxalia/ServerGame/PlayerCommandSystem/PlayerCommandEngine.cs | MoTo1496/Voxalia | 0 | 7033139 | <gh_stars>0
//
// This file is part of the game Voxalia, created by Frenetic LLC.
// This code is Copyright (C) 2016-2017 Frenetic LLC under the terms of a strict license.
// See README.md or LICENSE.txt in the source root for the contents of the license.
// If neither of these are available, assume that neither you no... |
Assets/Scripts/WorldEngine/Languages/AdjectiveLoader.cs | Zematus/Worlds | 54 | 7033140 | <reponame>Zematus/Worlds
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System;
using System.IO;
using System.Text.RegularExpressions;
[Serializable]
public class AdjectiveLoader
{
#pragma warning disable 0649
public LoadedAdjective[] adjectives;
[Serializable]
pub... |
2KarelGame/Assets/BinSandia/Scripts/UI/MessageManager.cs | BinarySandia04/2Karel | 1 | 7033141 | using System;
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class MessageManager : MonoBehaviour
{
// VERSION FINAL DE ESTE SCRIPT! YAY! :D
[Header("Instances")]
public GameObject messagePrefab;
[Space]
[Header("Objects to... |
MvvmCross/Core/MvxLifetimeEventArgs.cs | dahovey/MvvmCross | 3,180 | 7033142 | <filename>MvvmCross/Core/MvxLifetimeEventArgs.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MS-PL license.
// See the LICENSE file in the project root for more information.
using System;
namespace MvvmCross.Core
{
#nullable enable
p... |
source/Nuke.Common/Tools/NerdbankGitVersioning/NerdbankGitVersioning.Generated.cs | MartinSGill/nuke | 1,520 | 7033143 | <gh_stars>1000+
// Generated from https://github.com/nuke-build/nuke/blob/master/source/Nuke.Common/Tools/NerdbankGitVersioning/NerdbankGitVersioning.json
using JetBrains.Annotations;
using Newtonsoft.Json;
using Nuke.Common;
using Nuke.Common.Execution;
using Nuke.Common.Tooling;
using Nuke.Common.Tools;
using Nuke.C... |
src/SDL2/SDL2_GamePlatform.cs | BlueLineGames/FNA-OLD | 0 | 7033144 | #region License
/* FNA - XNA4 Reimplementation for Desktop Platforms
* Copyright 2009-2015 <NAME> and the MonoGame Team
*
* Released under the Microsoft Public License.
* See LICENSE for details.
*/
#endregion
#region USE_SCANCODES Option
// #define USE_SCANCODES
/* XNA Keys are based on keycodes, rather than sca... |
NYTimes.NET/Clients/MostPopular/IMostPopularClient.cs | levimatheri/NYTimes.NET | 1 | 7033145 | <reponame>levimatheri/NYTimes.NET
using NYTimes.NET.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace NYTimes.NET.Clients.MostPopular
{
public interface IMostPopularClient
{
/// <summary>
... |
SpeckleGrasshopper/UserDataUtils/QuerySpeckleObjectComponent.cs | arup-group/SpeckleRhino | 3 | 7033146 | using System;
using System.Collections.Generic;
using Grasshopper.Kernel;
using System.Windows.Forms;
namespace SpeckleGrasshopper
{
public class QuerySpeckleObjectComponent : GH_Component
{
/// <summary>
/// Initializes a new instance of the MyComponent1 class.
/// </summary>
public QuerySpeckle... |
Python/Product/Debugger/Debugger/Transports/TcpsTransport.cs | nanshuiyu/pytools | 0 | 7033147 | /* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution... |
src/TauCode.Working/WorkerState.cs | taucode/taucode.working | 0 | 7033148 | namespace TauCode.Working
{
public enum WorkerState
{
Stopped = 1,
Starting = 2,
Running = 3,
Stopping = 4,
}
}
|
src/GameEstate.Formats.Red/Formats/Red/W3/RTTIConvert/CMod.cs | smorey2/GameEstate | 0 | 7033149 | using System.IO;
using System.Runtime.Serialization;
using GameEstate.Formats.Red.CR2W.Reflection;
using FastMember;
using static GameEstate.Formats.Red.Records.Enums;
namespace GameEstate.Formats.Red.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class CMod : CObject
{
[Ordinal(1)] [RED("... |
unity/PingPongGameExample/PingPongGameSkeleton/Assets/Scripts/PlayerControls.cs | Rbaibi/edge-cloud-sampleapps | 1 | 7033150 | /**
* Copyright 2019 MobiledgeX, Inc. All rights and licenses reserved.
* MobiledgeX, Inc. 156 2nd Street #408, San Francisco, CA 94105
*
* 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
... |
MultiFunPlayer/MotionProvider/ViewModels/RandomMotionProviderViewModel.cs | Yoooi0/MultiFunPlayer | 32 | 7033151 | using MultiFunPlayer.Common;
using Newtonsoft.Json;
using System;
namespace MultiFunPlayer.MotionProvider.ViewModels
{
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public class RandomMotionProviderViewModel : AbstractMotionProvider
{
private readonly OpenSimplex _noise;
pr... |
KeeOtp/OtpAuthData.cs | tiuub/KeeOtpMirror | 1 | 7033152 | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Text;
using System.Web;
using OtpSharp;
namespace KeeOtp
{
/// <summary>
/// Class that serializes and deserializes data into the Strings for the entry
/// </summary>
public class OtpAuthData
{
... |
org.arbweb.xam.ui/org.arbweb.xam.ui.UWP/HybridWebView/_c_hwebview_renderer.cs | arbweb-org/org.arbweb.xam.ui | 0 | 7033153 | <reponame>arbweb-org/org.arbweb.xam.ui
using System;
using org.arbweb.xam.ui;
using org.arbweb.xam.ui.UWP;
using Windows.UI.Xaml.Controls;
using Xamarin.Forms.Platform.UWP;
[assembly: ExportRenderer(typeof(_c_hybridwebview), typeof(_c_hwebview_renderer))]
namespace org.arbweb.xam.ui.UWP
{
public class _c_hwebview... |
src/1sServerWidget/Model/InfoBase.cs | djserega/1sServerWidget | 1 | 7033154 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace _1sServerWidget.Model
{
public class InfoBase : INotifyPropertyChanged
{
#region Constructor
public InfoBase()
{
ListSessions = new... |
src/DotVVM.Framework/Routing/DelegatePresenter.cs | vnwonah/dotvvm | 641 | 7033155 | <filename>src/DotVVM.Framework/Routing/DelegatePresenter.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DotVVM.Framework.Hosting;
namespace DotVVM.Framework.Routing
{
public class DelegatePresenter : IDotvvmPresenter
{
priva... |
TestProject/Assets/Code/RotationAnimation.cs | Microsquad/nwhacks16 | 1 | 7033156 | using UnityEngine;
using System.Collections;
public class RotationAnimation : MonoBehaviour {
public float speed = 10f;
public float ManualSpeed = 10f;
private bool isManualRotating;
private Vector3 startPosition;
void Start()
{
isManualRotating = false;
startPosition = V... |
src/product/ResourceProvider/Microsoft.Azure.EngagementFabric.ResourceProviderWebService/Examples/AccountsListKeysExample.cs | msfrankchen/azure-cef | 4 | 7033157 | // <copyright file="AccountsListKeysExample.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation.// Licensed under the MIT license.
// </copyright>
using System.Net;
using Microsoft.Azure.EngagementFabric.ResourceProviderWebService.Metadata;
using Microsoft.Azure.EngagementFabric.ResourceProvid... |
src/Umbraco.Docs.Preview.App/HostedServices/DocumentationFolderMonitor.cs | umbraco/UmbracoDocs.Preview | 0 | 7033158 | <gh_stars>0
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using MediatR;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Umbraco.Docs.Preview.App.Messaging.Notifications.DocumentationUpdated;
using Umbraco.Docs.Preview.App.Option... |
WalletWasabi/WabiSabi/Backend/Statistics/CoinJoinFeeRateStat.cs | Trxlz/WalletWasabi | 10 | 7033159 | <reponame>Trxlz/WalletWasabi
using NBitcoin;
namespace WalletWasabi.WabiSabi.Backend.Statistics;
public record CoinJoinFeeRateStat(
DateTimeOffset DateTimeOffset,
uint ConfirmationTarget,
FeeRate FeeRate)
{
public string ToLine()
{
return $"{DateTimeOffset.ToUnixTimeSeconds()},{ConfirmationTarget},{FeeRate.Fee... |
Scripts/ShapeEditor/Decomposition/PolyBoolCS/SegmentChainer.cs | Henry00IS/ShapeEditor | 26 | 7033160 | #if UNITY_EDITOR
namespace AeternumGames.ShapeEditor.PolyBoolCS
{
// contains source code from https://github.com/StagPoint/PolyBoolCS/ (see Licenses/PolyBoolCS.txt).
// contains source code from https://github.com/velipso/polybooljs (see Licenses/PolyBoolJS.txt).
using System;
using System.Collectio... |
Soapstone.WebApi/Controllers/ApiControllerBase.cs | JulioDeBastiani/soapstone-backend | 0 | 7033161 | using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Soapstone.WebApi.Security;
namespace Soapstone.WebApi.Controllers
{
public abstract class ApiControllerBase : ControllerBase
{
protected async Task<ActionResult<T>> ExecuteAsync<T>(Func<Task<ActionResul... |
Chapter5/TaskList/TaskList.Droid/Services/GcmHandler.cs | tutlane/develop-mobile-apps-with-csharp-and-azure | 332 | 7033162 | <reponame>tutlane/develop-mobile-apps-with-csharp-and-azure<gh_stars>100-1000
using Android.App;
using Android.Content;
using Android.Media;
using Android.Support.V7.App;
using Android.Util;
using Gcm.Client;
using TaskList.Models;
using Xamarin.Forms;
[assembly: Permission(Name = "@PACKAGE_NAME@.permission.C2D_MESSAG... |
test/Opdex.Auth.Infrastructure.Tests/Data/Handlers/SelectAuthCodeByStampQueryHandlerTests.cs | Opdex/opdex-auth-api | 0 | 7033163 | <filename>test/Opdex.Auth.Infrastructure.Tests/Data/Handlers/SelectAuthCodeByStampQueryHandlerTests.cs
using System;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using Moq;
using Opdex.Auth.Domain;
using Opdex.Auth.Domain.Requests;
using Opdex.Auth.Infrastructure.Data;
using Opdex.Auth.... |
src/MonoDevelop.Swift/MonoDevelop.Swift/SwiftLanguageClient.cs | mrward/monodevelop-language-server-addin | 13 | 7033164 | <filename>src/MonoDevelop.Swift/MonoDevelop.Swift/SwiftLanguageClient.cs<gh_stars>10-100
//
// SwiftLanguageClient.cs
//
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) 2018 Microsoft
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated document... |
src/StockportContentApi/Repositories/SectionRepository.cs | smbc-digital/iag-contentapi | 2 | 7033165 | using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Contentful.Core.Search;
using StockportContentApi.Client;
using StockportContentApi.Config;
using StockportContentApi.ContentfulFactories;
using StockportContentApi.ContentfulModels;
using StockportContentApi.Http;
using StockportContentApi.Model... |
Server/Core/Commands/SurveillanceHandler.cs | zyjsuper/QuasarRAT | 0 | 7033166 | using System;
using System.IO;
using System.Linq;
using System.Drawing;
using System.Threading;
using Quasar.Common.Messages;
using xServer.Core.Data;
using xServer.Core.Helper;
using xServer.Core.Networking;
using xServer.Core.Utilities;
namespace xServer.Core.Commands
{
/* THIS PARTIAL CLASS SHOULD CONTAIN METHO... |
13.Web-Services-and-Cloud/98.WebServicesExam/Services/TeleimotBg.Services.Data/Contracts/ICommentsService.cs | ykomitov/Homeworks-TA | 0 | 7033168 | namespace TeleimotBg.Services.Data.Contracts
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Common.Constants;
using TeleimotBg.Data.Models;
public interface ICommentsService
{
IQueryable<Comment> G... |
src/Foundation.Commerce/Order/Services/CheckoutAddressHandling.cs | himadric/sitecore-structured-logging | 0 | 7033170 | <reponame>himadric/sitecore-structured-logging
using Foundation.Commerce.Customer.Services;
using Foundation.Commerce.Order.ViewModels;
using System;
namespace Foundation.Commerce.Order.Services
{
public class CheckoutAddressHandling
{
private readonly IAddressBookService _addressBookService;
... |
sourceCode/gomusicnowdownloader/MainWindow.xaml.cs | GregWoods/batchdownloader | 0 | 7033171 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net;
using System.Windows;
using System.Windows.Media;
using System.Windows.Navigation;
using GoMusicNowDownloader.Properties;
using Ookii.Dialogs.Wpf;
namespace GoMusicNowDownloader
{
/// <summary>
/// Interaction l... |
test/VisualStudio.Test/FallbackRepositoryTest.cs | mrward/mono-nuget | 96 | 7033172 | using System;
using System.Collections.Generic;
using System.Linq;
using Moq;
using NuGet.Test.Mocks;
using Xunit;
namespace NuGet.VisualStudio.Test
{
using NuGet.Test;
public class FallbackRepositoryTest
{
[Fact]
public void CreatePackageManagerUsesPrimaryRepositoryAsdepend... |
src/LinFx/Extensions/Modularity/ModuleLifecycleOptions.cs | linfx/linfx | 0 | 7033173 | <gh_stars>0
using LinFx.Collections;
namespace LinFx.Extensions.Modularity;
public class ModuleLifecycleOptions
{
public ITypeList<IModuleLifecycleContributor> Contributors { get; }
public ModuleLifecycleOptions()
{
Contributors = new TypeList<IModuleLifecycleContributor>();
}
}
|
Net/HttpService/Mvc/Views/ViewDataCollection.cs | marinehero/microserver | 4 | 7033174 | <reponame>marinehero/microserver<gh_stars>1-10
using System;
using System.Collections;
namespace MicroServer.Net.Http.Mvc.Views
{
/// <summary>
/// Collection containing view data information
/// </summary>
public class ViewDataCollection : IEnumerable
{
private readonly Hashtable _items =... |
07. Calculate 3!/Program.cs | galindimitrov96/Loops | 0 | 7033175 | using System;
using System.Numerics;
class Calc3FactV2
{
static void Main()
{
int n = int.Parse(Console.ReadLine());
int k = int.Parse(Console.ReadLine());
BigInteger r = n - k;
BigInteger factThree = 1;
for (BigInteger i = k + 1; i <= n; i++)
{
B... |
uwnp-client/Assets/UWNP/Client.cs | IS1103/uwnp-client | 0 | 7033176 | using System;
using UnityEngine;
using Cysharp.Threading.Tasks;
using WebSocket4Net;
using System.Net;
using System.Threading;
using SuperSocket.ClientEngine;
namespace UWNP
{
public enum NetWorkState
{
CONNECTING,
CONNECTED,
DISCONNECTED,
TIMEOUT,
ERROR,
KICK
... |
TwitchDownloaderCore/YoutubeHelper.cs | JoeShimell/TwitchDownloader | 0 | 7033177 | <reponame>JoeShimell/TwitchDownloader
using SkiaSharp;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Text;
namespace TwitchDownloaderCore
{
class YoutubeHelper
{
private static HttpClient httpClient;
private static Dictionary<string, SKBit... |
Source/Word/DispatchInterfaces/Cell.cs | DominikPalo/NetOffice | 2 | 7033178 | <reponame>DominikPalo/NetOffice
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
namespace NetOffice.WordApi
{
/// <summary>
/// DispatchInterface Cell
/// SupportByVersion Word, 9,10,11,12,14,15,16
/// </summary>
/// <remarks> MSDN Online: http://msdn.micr... |
Mo3ModManager/ProfileItem.cs | KudCode/mo3-mod-manager | 9 | 7033179 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace Mo3ModManager
{
class ProfileItem : INotifyPropertyChanged
{
private string name;
public string Name {
get { return this.name; }
s... |
KnockoutTypeScriptGenerator/DteLoader.cs | kasparsaleksejevs/KnockoutTypeScriptGenerator | 1 | 7033180 | <reponame>kasparsaleksejevs/KnockoutTypeScriptGenerator
using EnvDTE;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
namespace KnockoutTypeScriptGenerator
{
/// <summary>
/// DTE loading helper class for the cases when it is... |
SkiaSharpnado.Maps/Domain/ActivityHeader.cs | truthiswill/SkiaSharpnado | 69 | 7033182 | <filename>SkiaSharpnado.Maps/Domain/ActivityHeader.cs
using System;
namespace SkiaSharpnado.Maps.Domain
{
public enum Sport
{
Running,
Biking,
Other,
}
public class ActivityHeader
{
public ActivityHeader(
string athleteName,
Sport sport,
... |
IPBanTests/IPBanAsyncQueueTests.cs | fran1987/IPBan | 1 | 7033184 | <reponame>fran1987/IPBan<filename>IPBanTests/IPBanAsyncQueueTests.cs
/*
MIT License
Copyright (c) 2019 Digital Ruby, LLC - https://www.digitalruby.com
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 Softw... |
src/EasyManager.Infra.Data/Mapping/FinancialMap.cs | fahelmoreira/EasyManagerERP | 3 | 7033185 | using EasyManager.Domain.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace EasyManager.Infra.Data.Mapping
{
public class FinancialMap : IEntityTypeConfiguration<Financial>
{
public void Configure(EntityTypeBuilder<Financial> builder)
{... |
SDK/Editor/Exporters/TilemapJsonExporter.cs | Can-Bot/hackathon22 | 173 | 7033186 | <reponame>Can-Bot/hackathon22
//
// Copyright (c) <NAME>, Pixel Vision 8. All rights reserved.
//
// Licensed under the Microsoft Public License (MS-PL) except for a few
// portions of the code. See LICENSE file in the project root for full
// license information. Third-party libraries used by Pixel Vision 8 ar... |
Source Code/Game.Shared/Scenes/MenuScene.cs | PacktPublishing/Create-and-Monetize-your-C-Games-on-iOS-and-Android | 1 | 7033187 | <filename>Source Code/Game.Shared/Scenes/MenuScene.cs
using Engine.Shared.Graphics;
using Engine.Shared.Graphics.Drawables;
using Engine.Shared.Touch;
using Game.Shared.Base;
using System;
using System.Collections.Generic;
using System.Text;
namespace Game.Shared.Scenes
{
/// <summary> The scene for the main menu... |
test/MockHttp.Tests/MockHttpHandlerTests.cs | qkhaipham/MockHttp | 15 | 7033188 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using FluentAssertions;
using MockHttp.FluentAssertions;
using MockHttp.Language;
using MockHttp.Language.Flow;
us... |
NativeInterop.Win32.Xaml/WindowPosition.cs | Gitii/Winstrumenta | 0 | 7033189 | <reponame>Gitii/Winstrumenta<gh_stars>0
namespace NativeInterop.Win32.Xaml;
public class WindowPosition
{
public int Top { get; private set; }
public int Left { get; private set; }
public WindowPosition(int top, int left)
{
this.Top = top;
this.Left = left;
}
}
|
samples/BookThemAll/BookThemAll.cs | michael-jia-sage/libgoogle | 0 | 7033190 | <filename>samples/BookThemAll/BookThemAll.cs<gh_stars>0
//
// Copyright 2011 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2... |
unity-sample-app/Assets/MoPub/Sample/Delight/Source/ValueConverters/IntValueConverter.cs | JunGroupProductions/mopub-unity-sdk | 69 | 7033191 | #region Using Statements
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Globalization;
#endregion
namespace Delight
{
/// <summary>
/// Int value converter.
/// </summary>
public class IntValueConverter : ValueConverter<int>
{
#regio... |
RuneClasses/swar/InventoryItem.cs | RuneManager/RuneManager | 18 | 7033192 | <reponame>RuneManager/RuneManager
using Newtonsoft.Json;
namespace RuneOptim.swar {
public enum ItemType {
WizardInfo = 0,
Scrolls = 9,
Essence = 11,
SummoningPieces = 12,
_Fifteen = 15,
_Nineteen = 19,
Material = 29,
_ThirtySeven = 37,
}
//... |
src/OpenSearch.Client/Analysis/Tokenizers/NGram/NGramTokenizer.cs | opensearch-project/opensearch-net | 8 | 7033193 | /* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*
* Licensed to Elasticsearch B.V. unde... |
Yasb.Redis.Messaging/Client/Commands/SMembersCommand.cs | derfy/yasb | 0 | 7033194 | <filename>Yasb.Redis.Messaging/Client/Commands/SMembersCommand.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Yasb.Redis.Messaging.Client.Interfaces;
using Yasb.Common.Extensions;
namespace Yasb.Redis.Messaging.Client.Commands
{
public class SMembersCommand... |
src/Entities/IUpdateable.cs | Colliebot/Colliebot.Core | 0 | 7033195 | using System.Threading.Tasks;
namespace Colliebot
{
public interface IUpdateable
{
/// <summary> Updates this object's properties with its current state. </summary>
Task UpdateAsync(RequestOptions options = null);
}
}
|
Source/WcfClientFactory/WcfClientBaseTypeFactory.cs | myarichuk/WcfClientFactory | 3 | 7033196 | using Fasterflect;
using FluentIL;
using FluentIL.Infos;
using System;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.ServiceModel;
namespace WcfClientFactory
{
/// <summary>
/// helper class that generates ClientBase inherited type for opening/closing communication cha... |
test/NuGet.Core.Tests/NuGet.Protocol.Tests/PackageSearchMetadataV2FeedTests.cs | ViktorHofer/NuGet.Client | 654 | 7033197 | // 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;
using System.Collections.Generic;
using System.Threading.Tasks;
using NuGet.Packaging.Core;
using NuGet.Versioning;
using Xunit;
namespac... |
src/UniGet/Project.cs | jonanh/UniGet | 34 | 7033198 | <filename>src/UniGet/Project.cs
using System;
using System.IO;
using System.Collections.Generic;
using Newtonsoft.Json.Linq;
namespace UniGet
{
internal class Project
{
#pragma warning disable 0649
public string Id;
public string Version;
public string Title; // Human ... |
Packages/Woof.Net.WebSockets/Net/Messages/DefaultAuthentication.cs | HTD/Woof | 3 | 7033199 | using ProtoBuf;
namespace Woof.Net.Messages;
/// <summary>
/// Client sign in request.
/// </summary>
[Message(0x1000_1000, IsSigned = true), ProtoContract]
public class SignInRequest : ISignInRequest { // this special kind of request MUST implement ISignRequest.
/// <summary>
/// Gets or sets the API key i... |
Assets/MineseekerModule.cs | rocket0634/KTaNEBombsModule | 0 | 7033200 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using Mineseeker;
//For the PNG generation that didn't work
/*public static class ExtensionMethod
{
public static Texture2D toTexture2D(this RenderTexture tRex)
{
Texture2D tex = new Texture... |
src/Voter.Tests/Configuration/VoterRootPathProvider.cs | DavidLievrouw/Voter | 0 | 7033201 | <reponame>DavidLievrouw/Voter
using System;
using System.IO;
using Nancy;
namespace DavidLievrouw.Voter.Configuration {
public class VoterRootPathProvider : IRootPathProvider {
readonly string _rootPath;
public VoterRootPathProvider() {
var directoryName = Path.GetDirectoryName(typeof(Startup).Assemb... |
tang/src/modules/essential/Sailina.Tang.Essential.Implement/Sailina/Tang/Storages/GameServerListStateStorage.cs | wzd24/bougainvillea | 0 | 7033202 | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dapper.Extensions;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Orleans;
using Orleans.Configuration;
using Orleans.Providers;
using Orleans.R... |
NexStar.Net/NexstarSupport/Commands/EchoCommand.cs | paranoidTwitch/StargazerConsole | 0 | 7033203 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NexStar.Net.Enums;
using NexStar.Net.NexstarSupport.Internal;
namespace NexStar.Net.NexstarSupport.Commands
{
class EchoCommand : NexStarCommand<byte>
{
private readonly byte _echo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.