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 |
|---|---|---|---|---|
Bakery/Models/Products/_Product.Abstract.cs | AlyxMoon/epicodus-project07-csharp-bakery | 0 | 7065058 |
namespace Bakery.Models.Products
{
public abstract class Product
{
public abstract int DefaultPrice { get; }
public int Price { get; set; }
}
} |
OnlyT/WebServer/IHttpServer.cs | DavidIQ/OnlyT | 95 | 7065059 | namespace OnlyT.WebServer
{
using System;
using EventArgs;
public interface IHttpServer
{
event EventHandler<TimerInfoEventArgs> RequestForTimerDataEvent;
void Start(int port);
void Stop();
}
}
|
libs/net/entities/ContentType.cs | ckayfish/tno | 0 | 7065060 | using System.ComponentModel.DataAnnotations.Schema;
namespace TNO.Entities;
[Table("content_type")]
public class ContentType : BaseType<int>
{
#region Properties
public virtual List<Content> Contents { get; } = new List<Content>();
public virtual List<Action> Actions { get; } = new List<Action>();
pub... |
src/IO Interfaces/Spotify/CheckBufferEventArgs.cs | davidov541/SAMI | 0 | 7065061 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SAMI.IOInterfaces.Spotify
{
internal class CheckBufferEventArgs : EventArgs
{
public int NumberOfSamples
{
get;
set;
}
... |
Assets/Scripts/Btn.cs | kevinlempa/Level-Editor-Assignment | 0 | 7065062 | <filename>Assets/Scripts/Btn.cs
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Btn : MonoBehaviour {
public Material mat;
public Button btn;
public ColorBlock colorBlock;
public Tiles tiles;
public Text btnText;
p... |
osu.Game.Tests/Database/TestRealmKeyBindingStore.cs | JerareYoshi/osu | 2 | 7065063 | // Copyright (c) ppy Pty Ltd <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Input.Bindings;
using osu.Framework.Platf... |
Assets/_Project/Blobby/Tools/AnimTool.cs | EuleMitKeule/blobby-volley-world | 2 | 7065064 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace Blobby.Components
{
public class AnimTool : MonoBehaviour
{
Animator _animator;
public static event Action<Mode, float> ModeChanged;
private void Start()
... |
Assets/Client/Scripts/UI/Window/MainMenu/MainMenu.cs | meanxson/Scream-Into-The-Empty | 0 | 7065065 | <filename>Assets/Client/Scripts/UI/Window/MainMenu/MainMenu.cs
using Client.Scripts.Effects;
using Sirenix.OdinInspector;
using UnityEngine;
namespace Client.Scripts.UI.Window.MainMenu
{
public class MainMenu : MonoBehaviour
{
public static MainMenu Instance { get; private set; }
[Seri... |
sample/Liyanjie.JsonQL.Sample.AspNetCore/Repository/OrderStatusChange.cs | liyanjie8712/JsonQL | 0 | 7065066 | <filename>sample/Liyanjie.JsonQL.Sample.AspNetCore/Repository/OrderStatusChange.cs
using System;
using System.ComponentModel.DataAnnotations;
namespace Liyanjie.JsonQL.Sample.AspNetCore
{
public class OrderStatusChange : Entity
{
public DateTimeOffset CreateTime { get; set; } = DateTimeOffset.Now;
... |
Source/Services/SciHub.Services.Data/TagsService.cs | Vyara/SciHub | 0 | 7065067 | <reponame>Vyara/SciHub
namespace SciHub.Services.Data
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SciHub.Services.Data.Contracts;
using SciHub.Data.Common.Repositories;
using SciHub.Data.Models.Common;
... |
Module01_Basics/03.C#_OOP/09.Demos/04.OOP-Principles-Part-1/demos/Class-Diagrams/Color.cs | TanyaRan/TelerikAcademy_2016-2017 | 73 | 7065068 | <reponame>TanyaRan/TelerikAcademy_2016-2017<gh_stars>10-100
using System;
struct Color
{
public byte RedValue { get; set; }
public byte GreenValue { get; set; }
public byte BlueValue { get; set; }
public Color(byte redValue, byte greenValue, byte blueValue)
: this()
{
this.RedValu... |
ClinicalGoal/ViewModels/DvhObjectivesViewModel.cs | s2atoru/RayStationScripts | 3 | 7065069 | <gh_stars>1-10
using Juntendo.MedPhys;
using MvvmCommon.ViewModels;
using Prism.Commands;
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace ClinicalGoal.ViewModels
{
public class DvhObjectivesViewModel : BindableBaseWithErrorsContainer
{
st... |
Client/Assets/Plugins/HugulaSetting.cs | tenvick/hugula | 292 | 7065070 | using System.Collections.Generic;
using UnityEngine;
using System;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace Hugula
{
public class HugulaSetting : ScriptableObject
{
//分离扩展文件夹
//"打包时候是否移除扩展文件夹"
public bool spliteExtensionFolder
{
get
{... |
microservices/pcs-diagnostics-dotnet/Services/Models/AppInsightsDataModel.cs | krish-gh/azure-iot-pcs-device-simulation | 29 | 7065071 | // Copyright (c) Microsoft. All rights reserved.
using System.Collections.Generic;
namespace Microsoft.Azure.IoTSolutions.Diagnostics.Services.Models
{
public class AppInsightsDataModel
{
public string EventType { get; set; }
public long? SessionId { get; set; }
public Dictionary<st... |
Factors/MainForm.Designer.cs | NathanLaan/Factors | 0 | 7065072 | <reponame>NathanLaan/Factors<filename>Factors/MainForm.Designer.cs<gh_stars>0
namespace Factors
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// ... |
Assets/B_Enemies.cs | Draco1301/ATEC-3368-PROJECT-2 | 0 | 7065073 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class B_Enemies : MonoBehaviour, IBossAttack
{
[SerializeField] EnemyBullet bullet;
private bool isFin = false;
private bool isAttack = false;
Coroutine attack;
[SerializeField]... |
src/System/Logging/ReportExceptionEventArgs.cs | syphe/Omex | 50 | 7065074 | <reponame>syphe/Omex
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using System;
namespace Microsoft.Omex.System.Logging
{
/// <summary>
/// Event arguments for a report exception event
/// </summary>
public class ReportExceptionEventArgs : LogEventArgs
{
/// ... |
Assets/TerrainRenderer.cs | Nawias/terrain-gen | 0 | 7065075 | /**
<NAME> 2021
*/
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TerrainRenderer : MonoBehaviour
{
//Wczytana tekstura mapy wysokości
[SerializeField]
private Texture2D heightMap;
[SerializeField]
private Shader shader;
//Wartość mnożnika wys... |
src/SocketServer/Program.cs | yaitde-x/multiplex-dotnet | 0 | 7065076 | <reponame>yaitde-x/multiplex-dotnet
using System;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Threading.Tasks;
namespace TcpEcho
{
class Program
{
private static bool _echo;
static async Task Main(string[] args)
{
_echo = ar... |
tests/NHSD.GPIT.BuyingCatalogue.WebApp.UnitTests/Areas/Admin/Validators/ServiceLevelAgreementValidators/EditServiceAvailabilityTimesModelValidatorTests.cs | nhs-digital-gp-it-futures/GPITBuyingCatalogue | 0 | 7065077 | <filename>tests/NHSD.GPIT.BuyingCatalogue.WebApp.UnitTests/Areas/Admin/Validators/ServiceLevelAgreementValidators/EditServiceAvailabilityTimesModelValidatorTests.cs
using System;
using System.Collections.Generic;
using AutoFixture.Xunit2;
using FluentValidation.TestHelper;
using Moq;
using NHSD.GPIT.BuyingCatalogue.En... |
src/Common/SFA.DAS.Payments.DCFS/SFA.DAS.Payments.DCFS/Domain/TransactionTypeGroup.cs | SkillsFundingAgency/das-providerpayments | 0 | 7065078 | <filename>src/Common/SFA.DAS.Payments.DCFS/SFA.DAS.Payments.DCFS/Domain/TransactionTypeGroup.cs
namespace SFA.DAS.Payments.DCFS.Domain
{
public enum TransactionTypeGroup
{
OnProgLearning = 1,
NinetyDayIncentives = 2,
ThreeSixtyFiveDayIncentives = 3,
CompletionPayments = 4,
... |
src/Dx29.Services/Services/Patients/PatientService.cs | foundation29org/Dx29.Web | 0 | 7065079 | using System;
using System.Linq;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Http;
using Dx29.Data;
using Dx29.Web.Models;
using Dx29.Services;
namespace Dx29.Web.Services
{
public partial class PatientService
{
publ... |
Source/MonoGame.Extended/BitmapFonts/BitmapFont.cs | MichalX2002/MonoGame.Extended | 0 | 7065080 | <reponame>MichalX2002/MonoGame.Extended
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
namespace MonoGame.Extended.BitmapFonts
{
public partial class BitmapFont
{
private readonly IReadOnlyDictionary<int, BitmapFontRegion> _ch... |
Slack.NetStandard/EventsApi/CallbackEvents/ReactionRemoved.cs | cssho/Slack.NetStandard | 26 | 7065081 | using Newtonsoft.Json;
using Slack.NetStandard.Objects;
namespace Slack.NetStandard.EventsApi.CallbackEvents
{
public class ReactionRemoved : CallbackEvent
{
public const string EventType = "reaction_removed";
[JsonProperty("user", NullValueHandling = NullValueHandling.Ignore)]
public... |
EFCoreSample/Program.cs | carloscds/CSharpSamples | 11 | 7065082 | <filename>EFCoreSample/Program.cs<gh_stars>10-100
using System;
using System.IO;
using System.Linq;
using EFCoreSample.EF;
using EFCoreSample.MigrationsFactory;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace EFCoreSample
{
class Program... |
src/Machete.X12Schema/V5010/Layouts/Maps/I859Map.cs | ahives/Machete | 3 | 7065083 | <reponame>ahives/Machete
namespace Machete.X12Schema.V5010.Maps
{
using X12;
using X12.Configuration;
public class I859Map :
X12LayoutMap<I859, X12Entity>
{
public I859Map()
{
Id = "I859";
Name = "859 Freight Invoice";
Segment(x ... |
Src/Clients/WebUI/Common/Models/ViewModels/CreateOrUpdateActorViewModel.cs | AnaSt589/exam-aspnet | 0 | 7065084 | using System.Collections.Generic;
using Exam.Clients.WebUI.Common.Models.Returnable.Actor;
using Microsoft.AspNetCore.Mvc.Rendering;
namespace Exam.Clients.WebUI.Common.Models.ViewModels
{
public class CreateOrUpdateActorViewModel
{
public ActorReturnModel Actor { get; set; }
public IEnumerab... |
modules/admin/src/Bing.Admin.Domain.Shared/RoleCode.cs | stoplyy/Bing.NetCore | 2 | 7065085 | <gh_stars>1-10
namespace Bing.Admin.Domain.Shared
{
/// <summary>
/// 角色编码
/// </summary>
public static class RoleCode
{
/// <summary>
/// 超级管理员
/// </summary>
public static string SuperAdmin => "SuperAdmin";
/// <summary>
/// 系统管理员
/// </sum... |
HelloHarbor/Startup.cs | javagg/hello-harbor | 0 | 7065086 | <gh_stars>0
using System;
using System.Threading.Tasks;
using Microsoft.Owin;
using Owin;
[assembly: OwinStartup(typeof(HelloHarbor.Startup))]
namespace HelloHarbor
{
public class Startup
{
public void Configuration(IAppBuilder app)
{
app.UseWelcomePage();
}
}
}
|
src/Module01/SEDC.UnitTesting.SUT.CustomTests/BoolMethodsTest.cs | sedc-codecademy/sk2020-dotnetunittest-01 | 0 | 7065087 | <gh_stars>0
using NUnit.Framework;
namespace SEDC.UnitTesting.SUT.CustomTests
{
[TestFixture]
public class BoolMethodsTest
{
[Test]
public void TestCustom()
{
Assert.IsTrue(true);
}
}
}
|
src/Sanderling.Interface/Sanderling.Interface.MemoryStruct/IInSpaceBracket.cs | Fulborg/A-Bot | 0 | 7065088 | using BotEngine;
namespace Sanderling.Interface.MemoryStruct
{
public interface IInSpaceBracket : IContainer, IUIElement, IObjectIdInMemory, IObjectIdInt64
{
string Name
{
get;
}
}
}
|
source/libs/Core/IL/IClrMethodBody.cs | GrapeCity/pagefx | 18 | 7065089 | using System.Collections.Generic;
using DataDynamics.PageFX.Common.CodeModel;
using DataDynamics.PageFX.Common.Collections;
using DataDynamics.PageFX.Core.Translation;
namespace DataDynamics.PageFX.Core.IL
{
internal interface IClrMethodBody : IMethodBody
{
bool HasProtectedBlocks { get; }
IReadOnlyL... |
API/UportTransactions.DAL/Models/Transaction.cs | apanait/EtherscanTransactions | 1 | 7065090 | using System;
namespace UportTransactions.DAL.Models
{
public partial class Transaction
{
public int TransactionId { get; set; }
public int RequestId { get; set; }
public string Address { get; set; }
public string Topics { get; set; }
public string Data { get; set; }
... |
WinForms Applications/winformsanimations/SplashScreen/AiWF - SplashScreen/Form1.cs | fj-gruenewald/repo_history | 0 | 7065091 | <reponame>fj-gruenewald/repo_history
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Imaging;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace AiWF___SplashScreen
{
p... |
EF6/EF6/Marketplace.CodeFirst/ItemProduct.cs | patrickCode/EntityFramework | 0 | 7065092 | <reponame>patrickCode/EntityFramework<filename>EF6/EF6/Marketplace.CodeFirst/ItemProduct.cs
namespace Marketplace.CodeFirst
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spat... |
tests/ServerResolver.cs | masaxsuzu/skyla | 0 | 7065093 | using System.Collections.Generic;
using Skyla.Engine.Database;
using Skyla.Engine.Interfaces;
using Skyla.Engine.Language;
using Skyla.Engine.Language.Ast;
using Skyla.Engine.Scans;
using Xunit;
namespace Skyla.Tests;
public class ServerResolver
{
private Dictionary<string, Server> _servers = new Dictionary<string... |
src/Infrastructure/ApiFunctionInvocationFilter.cs | atifaziz/web-api-on-az-func | 3 | 7065094 | <reponame>atifaziz/web-api-on-az-func<gh_stars>1-10
namespace Infrastructure
{
using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.Azure.WebJobs.Host;
#pragma warning disable CS0618 // Type or m... |
desktop/Unity/Assets/AltUnityTester/AltUnityServer/Commands/ObjectCommands/AltUnityReflectionMethodsCommand.cs | geodreamalpha/geodreamalpha | 0 | 7065095 |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text.RegularExpressions;
using Altom.AltUnityDriver;
using Altom.AltUnityDriver.Commands;
using Altom.Server.Logging;
using Assets.AltUnityTester.AltUn... |
Xamarin/Xamarin.Extensions.Logging.Abstractions/Services/FormattedLogValues.cs | maximrub/Xamarin | 10 | 7065096 | <gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Text;
using System.Threading;
namespace Xamarin.Extensions.Logging.Abstractions.Services
{
/// <summary>
/// LogValues to enable formatting options supported by <see cref=... |
NCABuilder/CryptoInitialisers.cs | simonmkwii/NCABuilder | 13 | 7065097 | <filename>NCABuilder/CryptoInitialisers.cs
using System.IO;
using System.Security.Cryptography;
using XTSSharp;
namespace NCABuilder
{
internal class CryptoInitialisers
{
public static byte[] GenerateRandomKey(int Length)
{
byte[] RandomKey = new byte[Length];
var RNG =... |
momiji-unit-tests/core/Momiji.Core.SharedMemory.UnitTest.cs | tyiki-badwell/momiji-csharp | 2 | 7065098 | <reponame>tyiki-badwell/momiji-csharp
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
using System.Runtime.InteropServices;
using Xunit;
namespace Momiji.Core.SharedMemory
{
public class MemoryMappedFileUnitTest
{
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi... |
DotNetNinja.TypeFiltering/DotNetNinja.TypeFiltering/ITypeFiltering.cs | ninjah187/DotNetNinja | 0 | 7065099 | <reponame>ninjah187/DotNetNinja
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DotNetNinja.TypeFiltering
{
/// <summary>
/// Abstraction for executing actions depending on object type.
/// </summary>
public interface ITypeFiltering
{
... |
Assets/Sleipnir/Editor/EditorNode.cs | husheng0/Sleipnir | 1 | 7065100 | using Sirenix.OdinInspector;
using UnityEngine;
namespace Sleipnir.Editor
{
public struct EditorNode
{
// Node drawer needs editor to recalculate positions
[HideInInspector] public readonly GraphEditor Editor;
[HideInInspector] public readonly Node Content;
public EditorNode(G... |
CustomCameraDemo/Assets/Plugins/Amazon/AmazonGameCirclePlugin/Source/WhispersyncClient/DataModel/AGSSyncableStringElement.cs | grigoryvp/unity_sdk_demo | 38 | 7065101 | <reponame>grigoryvp/unity_sdk_demo
/**
* © 2012-2013 Amazon Digital Services, 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. A copy
* of the License is located at
*
* http://aws.amazon.com/apache2.0/
*... |
EasyCodeBuilder/Contlols/Items/Assignment.Designer.cs | binary-number/EasyCodeBuilder | 5 | 7065102 | <reponame>binary-number/EasyCodeBuilder
namespace EasyCodeBuilder
{
partial class Assignment
{
/// <summary>
/// 必要なデザイナー変数です。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 使用中のリソースをすべてクリーンアップします。
/// </su... |
Assets/Scripts/TileMapDavid/TimeUpdate.cs | RNGKing/PunksUnlimited | 0 | 7065103 | <reponame>RNGKing/PunksUnlimited<gh_stars>0
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TimeUpdate : MonoBehaviour
{
private DateTime lastTime;
public string Name;
public float timeInterval = 1f;
public event EventHandler<float> OnTick;
... |
Assets/Scripts/PlayerController.cs | lolomist/unity | 0 | 7065104 | <reponame>lolomist/unity<gh_stars>0
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Mirror;
[RequireComponent(typeof(PlayerMotor))]
[RequireComponent(typeof(ConfigurableJoint))]
public class PlayerController : MonoBehaviour
{
[SerializeField]
private float speed = 3f;
... |
src/Elastic.CommonSchema/Serialization/JsonConfiguration.cs | zzou-cn/ecs-dotnet | 0 | 7065105 | <gh_stars>0
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System;
using System.Text.Encodings.Web;
using System.Text.Json;
using System.Text.Json.Serializ... |
Core/IGeocoder.cs | SunnysGlimpse/Geocoding.net | 3 | 7065106 | using System;
using System.Collections.Generic;
namespace Geocoding
{
public interface IGeocoder
{
IEnumerable<Address> Geocode(string address);
IEnumerable<Address> Geocode(string street, string city, string state, string postalCode, string country);
IEnumerable<Address> ReverseGeocode(Location location);
... |
Infrastructure/ND.MCJ.AOP/Caching/MemoryCache.cs | PengXX0/ND.MCJ | 0 | 7065107 | <filename>Infrastructure/ND.MCJ.AOP/Caching/MemoryCache.cs
using NLog;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace ND.MCJ.AOP.Caching
{
/// <summary>
/// 应用服务器本地内存
///... |
DevMagazineSite/SitefinityWebApp/ResourcePackages/Pure/MVC/Views/StyleSheet/Index.cshtml | TheTrainingBoss/mvc-samples | 0 | 7065108 | @* ------------------------------------------------------------------------------
<auto-generated>
This file was generated by Sitefinity CLI v1.1.0.9
</auto-generated>
------------------------------------------------------------------------------ *@
@using Telerik.Sitefinity.Frontend.Mvc.Helpers;
<div class="sf-Co... |
src/MacroRecoderCsScript/CommonUtil.cs | hukatama024e/UserInputMacro | 16 | 7065109 | <gh_stars>10-100
using System;
using System.Threading.Tasks;
using System.Windows;
namespace MacroRecoderCsScript
{
class CommonUtil
{
public static bool CheckMode( ModeKind mode )
{
var currentMode = AppEnvironment.GetInstance().Mode;
return ( currentMode & mode ) == mode;
}
public async static Task... |
src/Zigbee.Transport.Abstractions/Transports/TransportBuilder.cs | LsquaredTechnologies/smarthome-zigbee | 1 | 7065110 | <reponame>LsquaredTechnologies/smarthome-zigbee
using System;
namespace Lsquared.SmartHome.Zigbee.Transports
{
public sealed class TransportBuilder : ITransportBuilder
{
public ITransport Build() =>
throw new InvalidOperationException("Cannot create transport without information");
}
}... |
DataManager/Models/ModelCache.cs | SSchulze1989/iRLeagueManager | 7 | 7065111 | <filename>DataManager/Models/ModelCache.cs
// MIT License
// Copyright (c) 2020 <NAME>
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation ... |
android/generated/android/service/textservice/SpellCheckerService.cs | gordonjohnpatrick/XobotOS | 263 | 7065112 | using Sharpen;
namespace android.service.textservice
{
[Sharpen.NakedStub]
public abstract class SpellCheckerService
{
[Sharpen.NakedStub]
public abstract class Session
{
}
}
}
|
src/NetStandard/Collections/Synchronization/example/Example1/ViewModels/ModelCollections/DeviceHeaderCollectionSynchronisation.cs | DawidIzydor/Teronis.DotNet | 0 | 7065113 | using System.Collections.ObjectModel;
using Teronis.Collections.Synchronization.Example1.Models;
using Teronis.Data;
namespace Teronis.Collections.Synchronization.Example1.ViewModels.ModelCollections
{
/// <summary>
/// It holds an observable collection of <see cref="DeviceHeaderSyntheticEntity"/>. Its purpos... |
DOTS StressTest/Assets/Scripts/Tes1 - GameObject/Rotator.cs | mikyll/UnityDOTS-Thesis | 10 | 7065114 | <reponame>mikyll/UnityDOTS-Thesis<filename>DOTS StressTest/Assets/Scripts/Tes1 - GameObject/Rotator.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Rotator : MonoBehaviour
{
public float speedX, speedY, speedZ;
// Update is called once per frame
void Update(... |
FreightManagement/Application/Interfaces/Services/IAppCarrierService.cs | daguiarbr/freight-management | 0 | 7065115 | using System.Collections.Generic;
using Domain.Entities;
namespace Application.Interfaces.Services
{
public interface IAppCarrierService : IAppServiceBase<Carrier>
{
IEnumerable<Carrier> GetByFilter(string companyName, string cnpj);
IEnumerable<Carrier> GetAllWithoutRating(string userId);
... |
EntityComponentSystemCSharp/PointWrapper.cs | callanh/InventionHackSharp | 28 | 7065116 | <filename>EntityComponentSystemCSharp/PointWrapper.cs
namespace EntityComponentSystemCSharp.Components
{
/// <summary>
/// RogueSharp implements Point as a struct, which is in effect sealed.
/// Wrapper allows various components to be points with different names under the hood.
/// </summary>
public class PointWra... |
src/OnlineStore.Common/ViewModels/Picture/PictureConciseViewModel.cs | msotiroff/Online-Store | 0 | 7065117 | namespace OnlineStore.Common.ViewModels.Picture
{
public class PictureConciseViewModel
{
public string Id { get; set; }
public string Url { get; set; }
}
}
|
NewsFeed.Web/Controllers/MyController.cs | AlissonRS/NewsFeed | 0 | 7065118 | <reponame>AlissonRS/NewsFeed<filename>NewsFeed.Web/Controllers/MyController.cs
using AutoMapper;
using AutoMapper.QueryableExtensions;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using NewsFeed.Core.Entities;
using NewsFeed.Core.Interfaces.Repositories;
using NewsFeed.Core.Services;
using News... |
src/LodeRunner.Data/Interfaces/IClientStatusService.cs | retaildevcrews/lr | 0 | 7065119 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using LodeRunner.Core.Models;
namespace LodeRunner.Data.Interf... |
Auth0HackBackend/Auth0HackBackend/Model/WorkRequestConfiguration.cs | AgentEnder/Auth0Hack2020 | 0 | 7065120 | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Auth0HackBackend.Model
{
public class WorkRequestConfiguration : IEntityTypeConfiguration<WorkRequest>
{
... |
MemoScope/Modules/Explorer/FileData.cs | John-Leitch/MemoScope.Net | 0 | 7065121 | using MemoScope.Core.Cache;
using MemoScope.Core.ProcessInfo;
using System;
using System.Collections.Generic;
using System.IO;
namespace MemoScope.Modules.Explorer
{
public class FileData : AbstractDumpExplorerData
{
public override FileInfo FileInfo { get; }
private readonly ProcessInfo proce... |
ipcs_04/vjezba02/Program.cs | jasarsoft/ipcs-primjeri | 0 | 7065122 | <filename>ipcs_04/vjezba02/Program.cs
using System;
namespace Animals
{
namespace Cats
{
namespace Domestic
{
class Info { public static void Show() { Console.WriteLine("Miaou"); } }
}
namespace Wild
{
class Info { public static void Show() { C... |
Source/AsyncGenerator.Tests/Diagnostics/Input/TestCase.cs | rasmus-z/AsyncGenerator | 36 | 7065124 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AsyncGenerator.TestCases;
namespace AsyncGenerator.Tests.Diagnostics.Input
{
public class TestCase
{
public void Read()
{
SimpleFile.Read();
}
public void Test(out bool success)
{
... |
src/Backpack/Extensions/ObjectExtensions.cs | samuelmensah/backpack | 0 | 7065126 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Backpack.Extensions
{
/// <summary>
/// Methods to make working with all objects simpler
/// </summary>
public static class ObjectExtensions
{
... |
Logic/Governance/MotionAmendment.cs | Swarmops/Swarmops | 72 | 7065127 | <reponame>Swarmops/Swarmops<filename>Logic/Governance/MotionAmendment.cs
using Swarmops.Basic.Types.Governance;
using Swarmops.Database;
using Swarmops.Logic.Swarm;
namespace Swarmops.Logic.Governance
{
public class MotionAmendment : BasicMotionAmendment
{
private MotionAmendment (BasicMotionAm... |
camunda-bpm-platform-net/engine/src/main/java/org/camunda/bpm/engine/impl/pvm/runtime/operation/FoxAtomicOperationDeleteCascadeFireActivityEnd.cs | luizfbicalho/Camunda.NET | 6 | 7065128 | <reponame>luizfbicalho/Camunda.NET
using System;
using System.Collections.Generic;
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* own... |
KS.Fiks.IO.Arkiv.Client/Sample/MessageSamples.cs | JanIvarMoldekleiv/fiks-arkiv-client-dotnet | 1 | 7065129 | <reponame>JanIvarMoldekleiv/fiks-arkiv-client-dotnet
using System;
using System.Collections.Generic;
using KS.Fiks.IO.Arkiv.Client.ForenkletArkivering;
using KS.Fiks.IO.Arkiv.Client.Models.Innsyn.Sok;
namespace KS.Fiks.IO.Arkiv.Client.Sample
{
/// <summary>
/// Felles bibliotek for å hente ut predefinert meld... |
src/MobileKidsIdApp/MobileKidsIdApp/Services/IAuthenticate.cs | snickler/MobileKidsIdApp | 1 | 7065130 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MobileKidsIdApp.Services
{
public interface IAuthenticate
{
Task<Models.AppIdentity> Authenticate(LoginProviders provider);
}
public enum LoginProviders
{
Google,
... |
AvaLogger.cs | mix-baranov/AvaTax-SOAP-NET-SDK | 0 | 7065132 | <gh_stars>0
using System;
using System.IO;
using System.Xml;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace Avalara.AvaTax.Adapter
{
/// <summary>
/// Summary description for AvaLogger.
/// </summary>
internal class AvaLogger : IDisposable
{
private bool registeredForTraceListener ... |
ServiceTests/SugarServiceTests.cs | whelantm/VendingMachine | 0 | 7065133 | using NUnit.Framework;
using Service;
using Model;
using Moq;
namespace ServiceTests
{
[TestFixture]
public class SugarServiceTests
{
private ICondimentService _service;
private Mock<IApplicationSettingsService> _appSettingsMock;
[SetUp]
public void SetUp()
{
... |
ConsoleApp1/RetornaPacotes.cs | robsonalves/PackageGenerator | 0 | 7065134 | <reponame>robsonalves/PackageGenerator
using System.Collections.Generic;
using System.Threading.Tasks;
namespace ConsoleApp1
{
public class RetornaPacotes
{
const int TOTAL_BY_PACKAGE = 5000;
public Dictionary<int, int> retorno = new Dictionary<int, int>();
public async Task<Dictionary... |
Chattle/src/Model/Server.cs | KarolWojtasiuk/Chattle | 0 | 7065135 | <filename>Chattle/src/Model/Server.cs
using System;
using System.Collections.Generic;
namespace Chattle
{
public class Server : IIdentifiable, IEquatable<Server>
{
public Guid Id { get; private set; }
public string Name { get; internal set; }
public string Description { get; internal se... |
Program.cs | badpaybad/OrcTesseract | 1 | 7065136 | using System;
using System.Text;
namespace Bigdata.OrcTesseract
{
class Program
{
static void Main(string[] args)
{
CommandLineHandleManagement cmdHandler = new CommandLineHandleManagement();
cmdHandler.Register("ocr", (param) =>
{
new Tesse... |
src/IntroMvc/TagHelpers/GreetingHeadingTagHelper.cs | SoftUni-CSharp-Web-Development/ASP.NET-Core-2018-Demo-Code-Lectures | 7 | 7065137 | <reponame>SoftUni-CSharp-Web-Development/ASP.NET-Core-2018-Demo-Code-Lectures<filename>src/IntroMvc/TagHelpers/GreetingHeadingTagHelper.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using IntroMvc.Services;
using Microsoft.AspNetCore.Razor.TagHelpers;... |
demo/Assets/2D Beginner/Scripts/UI/UIDialogueBox.cs | etcadinfinitum/games | 0 | 7065138 | <filename>demo/Assets/2D Beginner/Scripts/UI/UIDialogueBox.cs
using TMPro;
using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// This class take care of updating the dialogue text, hiding/showing the dialogue box and changing the portrait.
/// It is a singleton so the text/portrait can be changed from anyw... |
SplashScreen/SplashScreen.cs | Kryptolyser/Script-Browser_SLCB | 5 | 7065139 | <reponame>Kryptolyser/Script-Browser_SLCB
using Newtonsoft.Json.Linq;
using SaveManager;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Net;
using System.Runtime.InteropServices;
using System.Threading;
using Sy... |
TicketDesk-2.5/TicketDesk.Domain.Search/Lucene/LuceneIndexManager.cs | ilkerhalil/TicketDesk-1 | 1 | 7065140 | <gh_stars>1-10
// TicketDesk - Attribution notice
// Contributor(s):
//
// <NAME> (<EMAIL>, http://www.reddnet.net)
//
// This file is distributed under the terms of the Microsoft Public
// License (Ms-PL). See http://opensource.org/licenses/MS-PL
// for the complete terms of use.
//
// For any distribution tha... |
Essenbee.Z80.Tests/InputOutputShould.cs | mrange/z80emu | 11 | 7065141 | using FakeItEasy;
using System.Collections.Generic;
using Xunit;
namespace Essenbee.Z80.Tests
{
public class InputOutputShould
{
private static void FlagsUnchanged(Z80 cpu)
{
Assert.False((cpu.F & Z80.Flags.C) == Z80.Flags.C);
Assert.False((cpu.F & Z80.Flags.N) == Z80.F... |
src/PortalWeb/Portal.Web/Views/Admin/Index.cshtml | isboat/ibunionportal | 0 | 7065142 | <br /><br />
<div class="alert alert-success">
<strong>As an administrator,</strong> you can make changes to client's profile by using the following buttons
</div>
<div class="panel panel-info">
<div class="panel-heading">Membership Actions </div>
<div class="panel-body">
@Html.ActionLink("View al... |
src/Afonsoft.Ranking.Web.Mvc/Areas/App/Views/Layout/_ChatBar.cshtml | afonsoft/Ranking | 1 | 7065143 | <filename>src/Afonsoft.Ranking.Web.Mvc/Areas/App/Views/Layout/_ChatBar.cshtml
@using Afonsoft.Ranking.Chat
<!-- begin::Quick Sidebar -->
<div id="kt_quick_sidebar" class="offcanvas offcanvas-right pt-5 pb-10">
<div class="quick-panel-actions">
<a href="#" id="kt_quick_sidebar_back" class="btn btn-xs btn-i... |
source/UnityPackage/Assets/Runtime/Server/IServerEventListener.cs | FenrirServer/Fenrir.Multiplayer | 0 | 7065144 | using System.Net;
using System.Threading.Tasks;
namespace Fenrir.Multiplayer
{
interface IServerEventListener
{
Task<ConnectionHandlerResult> HandleConnectionRequest(int protocolVersion, string clientId, IPEndPoint endPoint, IByteStreamReader connectionDataReader);
void OnReceiveReque... |
Source/Ultraviolet.FMOD/Shared/Native/FMODNativeImpl.cs | MicroWorldwide/ultraviolet | 558 | 7065145 | <filename>Source/Ultraviolet.FMOD/Shared/Native/FMODNativeImpl.cs
using System;
using System.Security;
using System.Runtime.InteropServices;
using System.Text;
namespace Ultraviolet.FMOD.Native
{
#pragma warning disable 1591
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public unsafe delegate FMOD_RESULT... |
CsCore/xUnitTests/src/Plugins/CsCoreXUnitTests/com/csutil/tests/async/EventHandlerTests.cs | studentutu/cscore | 1 | 7065146 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Xunit;
namespace com.csutil.tests.async {
[Collection("Sequential")] // Will execute tests in here sequentially
public class EventHandlerTests... |
AdventOfCode2021/Day2-Dive/Solution.cs | dheerajdhall27/AdventOfCode | 0 | 7065147 |
var commands = File.ReadAllLines("input.txt");
var directionDistanceTuple = commands.Select(x => (x.Split(' ')[0], Int32.Parse(x.Split(' ')[1]))).ToList<(string, int)>();
// Solution for the first part
int horizontalDistance = 0;
int verticalDistance = 0;
directionDistanceTuple.ForEach(x =>
{
if (x.Item1 == "... |
src/ScottPlot4/ScottPlot/Plottable/Bracket.cs | gauravagrwal/ScottPlot | 0 | 7065148 | using ScottPlot.Drawing;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace ScottPlot.Plottable
{
public class Bracket : IPlottable, IHasAxisLimits
{
/// <summary>
/// Horizo... |
Source/KyGunCo.Counterpoint.Sdk/Configuration/PsDocNoteConfiguration.cs | kygunco/KyGunCo.Counterpoint | 0 | 7065149 | // <auto-generated>
using KyGunCo.Counterpoint.Sdk.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace KyGunCo.Counterpoint.Sdk.Configuration
{
// PS_DOC_NOTE
public class PsDocNoteConfiguration : IEntityTypeConfiguration<PsDocNote>
{
pub... |
EEQMU_MODEL_WEB/Classes/PRRepository.cs | smartsolutionsaz/redimo_p2p | 0 | 7065150 | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
namespace WEB_PLATFORM007.Classes {
public static class PRRepository {
public static DataTable getPRsForBuyer(string buyerUID) {
return Repository.get(new GetRequestParams() {
... |
code/Tgrc.Messages/ReceiveMessageDelegate.cs | The-Ghost-Robot-Commune/btr | 0 | 7065151 | <filename>code/Tgrc.Messages/ReceiveMessageDelegate.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tgrc.Messages
{
public delegate void ReceiveMessageDelegate(IMessage message);
}
|
Assets/Oculus/Platform/Scripts/StandalonePlatform.cs | UoA-eResearch/resbaz_arvr_tutorial | 29 | 7065152 | <filename>Assets/Oculus/Platform/Scripts/StandalonePlatform.cs
namespace Oculus.Platform
{
using UnityEngine;
using System;
using System.Collections;
using System.Runtime.InteropServices;
public sealed class StandalonePlatform
{
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
public delegate vo... |
Sample Client/API/Person.cs | Ambratolm/database-modelizer | 0 | 7065153 | using DatabaseModelizer;
namespace SampleClient
{
class Person : Model
{
[Column("id")]
public object Id { get; set; }
[Column("full_name")]
public object Name { get; set; }
[Column("gender")]
public object Gender { get; set; }
[Column("birth_date")]
... |
Sources/Sandbox.Game/Game/Weapons/Guns/MySmallMissileLauncher.cs | Legion2/PCSS | 0 | 7065154 | using System;
using Sandbox.Common.ObjectBuilders;
using Sandbox.Common.ObjectBuilders.Definitions;
using Sandbox.Definitions;
using Sandbox.Engine.Utils;
using Sandbox.Game.Entities;
using Sandbox.Game.GameSystems.Electricity;
using VRageMath;
using Sandbox.Game.Multiplayer;
using Havok;
using System.Collections.Gene... |
source/Zyan.Tests/SmallBlockMemoryStreamTests.cs | mikel785/Zyan | 85 | 7065155 | /*
THIS CODE IS BASED ON:
--------------------------------------------------------------------------------------------------------------
SmallBlockMemoryStream
A MemoryStream replacement that avoids using the Large Object Heap (MIT-licensed)
https://github.com/Aethon/SmallBlockMemoryStream
Copyright (c) 2014 <... |
SimpleWeather/Droid/Helpers/RecyclerClickEventArgs.cs | SimpleAppProjects/SimpleWeather-Xamarin | 1 | 7065156 | <gh_stars>1-10
#if __ANDROID__
using System;
using Android.Views;
namespace SimpleWeather.Droid.Helpers
{
public class RecyclerClickEventArgs : EventArgs
{
public View View { get; set; }
public int Position { get; set; }
}
}
#endif |
src/gop/Program.cs | StardustDL/generator-oj-problem | 10 | 7065158 | <filename>src/gop/Program.cs
using gop.Adapters;
using gop.Helpers;
using gop.Judgers;
using gop.Problems;
using Markdig;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.CommandLine;
using System.CommandLine.Invocation;
using System.IO;
using System.Linq;
using System.Reflection;
us... |
UI/ProjectArchitecture.UI.Jobs/Program.cs | hifeamin/ProjectArchitecture | 0 | 7065159 | using System;
using System.Collections.Generic;
using System.Threading;
using Microsoft.Extensions.DependencyInjection;
using ProjectArchitecture.Bootstrapper.Extensions;
using ProjectArchitecture.UI.Jobs.Extensions;
using ProjectArchitecture.UI.Jobs.Infra;
using ProjectArchitecture.UI.Jobs.Infra.Models;
namespace Pr... |
src/Nancy.Rdf/Conventions/AcceptHeaderConventions.cs | wikibus/Nancy.Rdf | 3 | 7065160 | using System;
using System.Collections.Generic;
using System.Linq;
using Nancy.Rdf.Responses;
namespace Nancy.Rdf.Conventions
{
/// <summary>
/// Delegate for Nancy's Accept header coercion convention
/// </summary>
/// <param name="existingHeaders">The existing headers.</param>
/// <param name="c... |
AFF.DomainValidation.AspNet472Example/Validations/ValidationPerson.cs | asaphfernandes/AFF.DomainValidation | 0 | 7065161 | <gh_stars>0
using AFF.DomainValidation.AspNet472Example.Models;
using AFF.DomainValidation.Entity;
using AFF.DomainValidation.Validations;
using System.Collections.Generic;
using System.Linq;
namespace AFF.DomainValidation.AspNet472Example.Validations
{
public class ValidationPerson : ValidationBase<PersonModel>
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.