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/gsudo/Native/FileApi.cs
jhbooth/gsudo
0
7030360
<reponame>jhbooth/gsudo using System; using System.IO; using System.Runtime.InteropServices; using System.Text; namespace gsudo.Native { static class FileApi { internal static readonly IntPtr INVALID_HANDLE_VALUE = new IntPtr(-1); internal const uint FILE_READ_EA = 0x0008; internal co...
src_wip/Nucleo.Core/Application/IApplication.cs
brianmains/Nucleo.NET
2
7030361
<gh_stars>1-10 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Nucleo.Application { public interface IApplication { /// <summary> /// Configures all of the application services being used. /// </summary> /// <param name="cfg">The configurations available.</par...
Str.cs
pellk/db
0
7030362
<reponame>pellk/db using System.Data; using Microsoft.Data.SqlClient; namespace nuell.Sync { public static partial class Db { public static string Str(string query, params (string name, object value)[] parameters) => Str(query, false, Data.SqlParams(parameters)); public static stri...
Demos.Common.Silverlight/Demonstrators/OdometerDemonstrator.xaml.cs
LGM-AdrianHum/Dashboarding
7
7030365
using System.Windows.Controls; namespace Demos.Common.Demonstrators { public class OdoDemo : IDemonstrateDials { #region IDemonstrateDials Members public string DemoName { get { return "Odometer"; } } public UserControl Create() { ...
BranchNetStandard/Models/BaseAuthenticatedPayload.cs
chtbks/BranchNet
4
7030367
using System.Net; using System.Net.Http; using System.Collections.Generic; using Newtonsoft.Json; using BranchNet.Extensions; namespace BranchNet.Models { public class BaseAuthenticatedPayload { [JsonProperty(Required = Required.Always)] internal string BranchKey { get; set; } [JsonPr...
Sample Applications/HexSphereDemo/TrackBall.cs
augustoproiete-forks/microsoft--WPF-Samples
2,179
7030368
// // Copyright (c) Microsoft. All rights reserved. // // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Generic; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Media.Media3D; namespace ...
Web/admin/user/resetpassword.aspx.cs
NewLifeX/BBX
52
7030369
<reponame>NewLifeX/BBX using System; using System.Web.UI.HtmlControls; using BBX.Common; using BBX.Control; using BBX.Entity; using BBX.Forum; namespace BBX.Web.Admin { public partial class resetpassword : AdminPage { protected void Page_Load(object sender, EventArgs e) { if (!this....
src/Responses/ListAccountsResponse.cs
albedoteam/dll-accounts-contracts
0
7030371
<filename>src/Responses/ListAccountsResponse.cs using System.Collections.Generic; using AlbedoTeam.Accounts.Contracts.Common; namespace AlbedoTeam.Accounts.Contracts.Responses { public interface ListAccountsResponse { int Page { get; set; } int PageSize { get; set; } int RecordsInPage ...
AIBots/AIBots/BotWorld/WorldParticle.cs
drake7707/botworld
0
7030372
<gh_stars>0 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Drawing; namespace AIBots.BotWorld { public class WorldParticle { public PointF Position { get; set; } public int MaxLife { get; set; } public int Life { get; set;...
Molten.Font/SubTables/FeatureSubstitutionTable.cs
Syncaidius/MoltenEngine
79
7030373
namespace Molten.Font { public class FeatureTableSubstitutionTable : FontSubTable { public ushort MajorVersion { get; internal set; } public ushort MinorVersion { get; internal set; } public FeatureTableSubstitutionRecord[] Records { get; internal set; } internal FeatureTable...
Razor/Views/Home/Index.cshtml
Vladimir-Zakharenkov/AdamFreemanMVC2
0
7030374
@model Product[] @{ ViewBag.Title = "Product Name"; } @* <div data-productid="@Model.ProductId" data-stocklevel="@ViewBag.StockLevel"> <p>Product Name: @Model.Name</p> <p>Product Price: @($"{Model.Price:C2}")</p> <p>Stock Level: @ViewBag.StockLevel</p> <p> Stock Le...
Grasews.UI.Web/Views/Task/Create.cshtml
mlcalache/grasews
0
7030375
@model Grasews.Web.ViewModels.Task_MvcCreateViewModel @{ ViewBag.Title = WebResource.CreateANewTask; Layout = "~/Views/Shared/_AdminLayout.cshtml"; } <h2>@ViewBag.Title</h2> @using (Html.BeginForm()) { @Html.AntiForgeryToken() <div class="form-horizontal"> @Html.ValidationSummary(true, "",...
ALE-Biggest-Grids-Broadcast/Commands.cs
HnZGaming/SE-Torch-Plugin-ALE-Biggest-Grids-Broadcast
0
7030376
using ALE_Biggest_Grids_Broadcast.GridDetection; using ALE_Core.Utils; using NLog; using Sandbox.Game; using Sandbox.Game.Entities; using Sandbox.Game.Multiplayer; using Sandbox.Game.Screens.Helpers; using Sandbox.Game.World; using Sandbox.ModAPI; using System; using System.Collections.Generic; using System.Text; usin...
Bigtree.Algorithm/CRFLite/Utils/MD5.cs
zhangyanbo2007/Bigtree.MachineLearning
49
7030378
<filename>Bigtree.Algorithm/CRFLite/Utils/MD5.cs<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Bigtree.Algorithm.CRFLite.Utils { public sealed class MD5 { private const int BLOCK_SIZE_BYTES = 64; private const int HASH_SIZE_BYTE...
OnlineShop/Controllers/CatalogController.cs
miloszkulesza/OnlineShop
0
7030379
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using OnlineShop.Data; using OnlineShop.Models; using OnlineShop.ViewModels; namespace OnlineShop.Controllers { public class CatalogController : Controller { private IProduc...
main/Boku/Programming/OnceModifier.cs
chrisphillips/KoduGameLab
11
7030380
<filename>main/Boku/Programming/OnceModifier.cs // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. using System; using System.Collections.Generic; using System.Xml; using System.Xml.Serialization; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framewor...
Lagalike.GraphML.Parser.Tests/Tests.cs
GregoryGhost/lagalike
0
7030381
namespace Lagalike.GraphML.Parser.Tests { using System.IO; using CSharpFunctionalExtensions; using FluentAssertions; using FluentAssertions.CSharpFunctionalExtensions; using NUnit.Framework; public class Tests { private const string NOT_FOUND_GRAPH_ML_FILE_NAME = "not-found-file....
BillableHoursWebApp/Server/BillableHoursWebApp.DataTransferModels/CommentResponseModel.cs
Pip3r4o/WebServices-Team-Nike
7
7030382
namespace BillableHoursWebApp.DataTransferModels { using System; using Common.Mapping; using Data.Models; public class CommentResponseModel : IMapFrom<Comment> { public int Id { get; set; } public string Content { get; set; } public DateTime PostedOn { get; set; } ...
ODataLib/EdmLib/Silverlight/Microsoft/Data/Edm/Csdl/Internal/Semantics/BadElements/UnresolvedValueTerm.cs
BrightstarDB/odata-sparql
4
7030383
// Copyright 2011 Microsoft Corporation // // 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 applicabl...
Scartch/Assets/Scripts/View/HatViewer.cs
mbosc/scartch
1
7030384
<reponame>mbosc/scartch using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; namespace View { public class HatViewer : BlockoidViewer { private BlockViewer next; public override BlockViewer Next { get { return next...
sdk/src/Services/Redshift/Generated/Model/AcceptReservedNodeExchangeRequest.cs
atpyatt/aws-sdk-net
2
7030385
<filename>sdk/src/Services/Redshift/Generated/Model/AcceptReservedNodeExchangeRequest.cs<gh_stars>1-10 /* * Copyright Amazon.com, Inc. or its affiliates. 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 ...
Assets/AssetStore/Gamelogic/Plugins/Common/Extensions/ImmutableAttribute.cs
soraphis/SpiritCatcher
5
7030386
<gh_stars>1-10 using System; namespace Gamelogic { /** Use to mark classes and structs that are immutable. In addition to providing this information to the programmer client, it also makes it possible to automate tests for ensuring a class or struct is indeed immutable. */ [AttributeUsage(AttributeTargets.C...
src/FluentModelBuilder/Builder/IEntityAutoConfiguration.cs
Grinderofl/ConventionModelBuilder
21
7030387
<filename>src/FluentModelBuilder/Builder/IEntityAutoConfiguration.cs using System; using FluentModelBuilder.Configuration; using Microsoft.EntityFrameworkCore; namespace FluentModelBuilder.Builder { /// <summary> /// Implement this interface to control how entity discovery behaves. /// Normally you...
3-aspnetcore-test/ShopApiTest.cs
yufeih/docastest-demo
1
7030388
using System; using System.Collections.Generic; using System.Net.Http; using System.Text; using System.Threading.Tasks; using AspNetCoreTest; using Microsoft.AspNetCore.TestHost; using Microsoft.DocAsTest; using Newtonsoft.Json.Linq; public class ShopApiTest { private static readonly HttpClient s_client = ...
Assets/CityBuildings/Scripts/Creators/FieldSplitter.cs
a3geek/CityBuildings
11
7030389
<gh_stars>10-100 using System; using System.Collections.Generic; using UnityEngine; namespace CityBuildings.Creators { using Structs; using Utilities; using Random = UnityEngine.Random; [Serializable] public class FieldSplitter { public List<SplitPoint> PointsX { get; } = new Lis...
User Controls/UCSendEnquiry.ascx.cs
mileslee1987/PrivateFleet
0
7030390
<gh_stars>0 using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Data.Common; using Mechsoft.GeneralUtilities; using log4ne...
TCCC/RouteComputingServer/RouteComputingServer/Controllers/RoutesController.cs
andreitudorica/UTCN_LICENTA
0
7030391
using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Text; using System.Threading; using System.Threading.Tasks; using Itinero; using Itinero.LocalGeo; using Itinero.Profiles; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Rout...
Packages/com.github.homuler.mediapipe/Tests/EditMode/Gpu/EglSurfaceHolderTest.cs
GiadaNox/MediaPipeUnityPlugin
10
7030392
using Mediapipe; using NUnit.Framework; using System; using UnityEngine; #if UNITY_STANDALONE_LINUX || UNITY_ANDROID namespace Tests { public class EglSurfaceHolderTest { #region Constructor [Test, GpuOnly] public void Ctor_ShouldInstantiateEglSurfaceHolder() { var eglSurfaceHolder = new EglSurface...
sources/presentation/Stride.Core.Presentation/Controls/DateTimeEditor.cs
hjred/stride
2,251
7030393
<reponame>hjred/stride<gh_stars>1000+ // Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // Distributed under the MIT license. See the LICENSE.md file in the project root for more information. using System; ...
bench/AElf.Database.Benches/DatabaseBenchAElfModule.cs
zhangyaxing12/AElf
948
7030394
<filename>bench/AElf.Database.Benches/DatabaseBenchAElfModule.cs using AElf.BenchBase; using Volo.Abp.Modularity; namespace AElf.Database.Benches { public class DatabaseBenchAElfModule : BenchBaseAElfModule { public override void ConfigureServices(ServiceConfigurationContext context) { ...
EventsWebApp/Views/Events/Edit.cshtml
deividasbagdanskis/events-webapp
0
7030395
<gh_stars>0 @model EventsWebApp.Models.Event @{ ViewData["Title"] = "Edit"; } <h1>Edit</h1> <h4>@Model.Name</h4> <hr /> <div class="row"> <div class="col-md-6"> <form asp-action="Edit" enctype="multipart/form-data"> <div asp-validation-summary="ModelOnly" class="text-danger"></div> ...
FixAntenna/NetCore/Validation/Validators/MessageWelformedValidator.cs
epam/fix-antenna-net-core
8
7030396
<reponame>epam/fix-antenna-net-core // Copyright (c) 2021 EPAM Systems // // 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 requ...
Extensions/ExceptionExtensions.cs
mindleaving/commons
1
7030397
<filename>Extensions/ExceptionExtensions.cs<gh_stars>1-10 using System; namespace Commons.Extensions { public static class ExceptionExtensions { public static Exception InnermostException(this Exception e) { var innerException = e; while (innerException.InnerEx...
PSP_EMU/memory/mmio/MMIOHandlerCpuBusFrequency.cs
xXxTheDarkprogramerxXx/PSPSHARP
4
7030398
/* This file is part of pspsharp. pspsharp is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. pspsharp is distributed in the hope that it wil...
src/Lykke.Job.RepositoryTgBot.Core/Domain/TelegramBotHistory/ITelegramBotHistoryRepository.cs
SC-Poc/Lykke.Job.RepositoryTgBot
0
7030399
<filename>src/Lykke.Job.RepositoryTgBot.Core/Domain/TelegramBotHistory/ITelegramBotHistoryRepository.cs<gh_stars>0 using System; using System.Collections.Generic; using System.Threading.Tasks; namespace Lykke.Job.RepositoryTgBot.Core.Domain.TelegramBotHistory { public interface ITelegramBotHistoryRepository {...
DeveThuisbezorgdBot/Config/BotConfig.cs
devedse/DeveThuisbezorgdBot
0
7030400
<filename>DeveThuisbezorgdBot/Config/BotConfig.cs<gh_stars>0 namespace DeveThuisbezorgdBot.Config { public class BotConfig { public string TelegramBotToken { get; set; } public string Postcode { get; set; } public bool IsValid => !string.IsNullOrWhiteSpace(Telegram...
src/TestWithoutRest/UnitTest1.cs
sdermann/travel-agency-app
6
7030401
using System; using TravelAgency.DAl; using Microsoft.VisualStudio.TestTools.UnitTesting; using TravelAgency.Models; namespace TestWithoutRest { [TestClass] //First test. public class UnitTest1 { [TestMethod] public void FillData() { VisitEasy store = new Vis...
src/CrumbCRM.Web/Views/Invoice/Controls/_RenderItems.cshtml
roccacreative/crumb-crm
18
7030402
@model List<CrumbCRM.Invoice> @{ Layout = null; } @foreach (var item in Model) { <div class="item" data-id="@item.ID"> <div class="left"> <form class="inline hidden"> <input type="checkbox" /></form> <span class="txt-large no-bold">@item.Title</span> ...
Source/FutureExtensions/FutureExtensions.Build.cs
dtail-platform/unreal-future-extensions
0
7030403
// Copyright(c) Splash Damage. All rights reserved. using UnrealBuildTool; using System.IO; public class FutureExtensions : ModuleRules { public FutureExtensions(ReadOnlyTargetRules Target) : base(Target) { PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs; PublicIncludePathModuleNames.AddRange(new string[] { ...
src/HtmlId.cs
Ste-Tis/HtmlCodeBuilder
0
7030404
namespace HtmlCodeBuilder { /// <summary> /// Store a id declaration for an HTML tag /// </summary> public class HtmlId : HtmlAttribute { /// <summary> /// Name of the attribute is always 'id' /// </summary> public new string Name { get; } = "id"; /// <summa...
XWeather/Droid/Providers/LocationProvider.cs
jCho23/XWeather.Full
0
7030405
<filename>XWeather/Droid/Providers/LocationProvider.cs<gh_stars>0 using System; using System.Threading.Tasks; using Android.Gms.Location; using Android.Gms.Common; using Android.Gms.Common.Apis; using Android.OS; using Android.Locations; using Android.App; using XWeather.Domain; #if DEBUG using static System.Diagno...
Model/Pedido.cs
GustavoBonfimS/OrderPizza
0
7030406
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OrderPizza.Model { public class Pedido { public int id; public int idFuncionario; public double valor; public int idCliente; public DateTime dat...
RetriverWifi.cs
SaulBerrenson/BSRetriever
3
7030407
using BSRetriever.Links; using BSRetriever.RetriversAddress; namespace BSRetriever.Interfaces { public class RetriverWifi : BaseRetriver { public RetriverWifi(string data, IAddressRetriver retriverAddress = null, ILinkLocation linkLocation = null) : base(retriverAddress, linkLocation) { ...
VSMarketplaceBadge/Models/RankingData.cs
WarenGonzaga/VSMarketplaceBadge
66
7030408
using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace VSMarketplaceBadge.Models { public class RankingData { public List<RankingItem> Item { get; set; } public int TotalEvents { get; set; } public int UniqueFieldCount { get; set; } } }
src/Bicep.Core/Extensions/IPositionableExtensions.cs
visnema/bicep
1
7030409
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections.Generic; using System.Linq; using Bicep.Core.Parser; namespace Bicep.Core.Extensions { public static class IPositionableExtensions { public static TextSpan ToZeroLengthSpan(this IPositionable positionabl...
src/Peachpie.Runtime/Dynamic/OverloadResolver.cs
dnelly/peachpie
0
7030410
using Pchp.Core.Utilities; using System; using System.Collections.Generic; using System.Diagnostics; using System.Dynamic; using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Text; using System.Threading.Tasks; namespace Pchp.Core.Dynamic { /// <summary> /// Methods for sel...
StyleCop.Analyzers/StyleCop.Analyzers.Test/SpacingRules/SA1014UnitTests.cs
jnm2/StyleCopAnalyzers
0
7030411
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved. // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. namespace StyleCop.Analyzers.Test.SpacingRules { using System.Collections.Generic; using System.Threading; using System.Threadi...
DotNetRetry/Rules/Loops/Forever.cs
gdyrrahitis/dotnet-retry
3
7030412
using System.Runtime.CompilerServices; using DotNetRetry.Core.Auxiliery; [assembly: InternalsVisibleTo(Constants.UnitTestProject)] [assembly: InternalsVisibleTo(Constants.IntegrationTestProject)] [assembly: InternalsVisibleTo(Constants.CommonTestProject)] namespace DotNetRetry.Rules.Loops { using System; usin...
src/Ave.Extensions.Console.CommandLine/Models/ParameterValue.cs
aadversteeg/Ave.Extensions.Console.CommandLine
0
7030413
namespace Ave.Extensions.Console.CommandLine.Models { public class ParameterValue { public ParameterValue(Parameter parameter, object value) { Parameter = parameter; Value = value; } public Parameter Parameter { get; } public object Value { get;...
Assets/com.alelievr.NodeGraphProcessor/Runtime/Processing/TypeAdapter.cs
Mefodei/NodeGraphProcessor
1,289
7030414
using UnityEngine; using System; using System.Collections.Generic; using System.Reflection; using System.Linq; namespace GraphProcessor { /// <summary> /// Implement this interface to use the inside your class to define type convertions to use inside the graph. /// Example: /// <code> /// public cl...
Swashbuckle.OData.Tests/NorthwindAPI/Shipper.cs
kbarkhausen/Swashbuckle.OData.v2.18.7.WithErrorHandling
140
7030415
using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Diagnostics.CodeAnalysis; namespace NorthwindAPI.Models { public class Shipper { [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public Shipper() { ...
UnityProject/RPG System/Library/PackageCache/com.unity.quicksearch@2.0.2/Editor/QueryEngine/NestedQueryHandler.cs
benIoannidis/RPGSystem
5
7030416
using System; using System.Collections.Generic; using System.Collections; using UnityEngine; namespace Unity.QuickSearch { interface INestedQueryHandlerTransformer { Type enumerableType { get; } Type rightHandSideType { get; } } class NestedQueryHandlerTransformer<TQueryData, TRhs> : I...
tests/ImageSharp.Benchmarks/Image/CopyPixels.cs
ststeiger/ImageSharpTestApplication
0
7030417
<filename>tests/ImageSharp.Benchmarks/Image/CopyPixels.cs // <copyright file="CopyPixels.cs" company="<NAME>"> // Copyright (c) <NAME> and contributors. // Licensed under the Apache License, Version 2.0. // </copyright> namespace ImageSharp.Benchmarks.Image { using System.Threading.Tasks; using BenchmarkDotN...
Unity/Assets/Particle2D/Scripts/Editor/Particle2DUGUIEditor.cs
tiankang/ETProject
0
7030418
using UnityEngine; using UnityEditor; [CustomEditor(typeof(Particle2DUGUI))] public class Particle2DUGUIEditor : Editor { public override void OnInspectorGUI(){ Particle2DUGUI particle2D = target as Particle2DUGUI; EditorGUILayout.Space(); Color c = GUI.backgroundColor; if(particle2D.material==null){ GU...
EZTV.Tests/EpisodeParserTests.cs
ericrrichards/EZTVLib.NET
1
7030419
using System; using EZTV; using EZTVTests.Annotations; using NUnit.Framework; namespace EZTVTests { [TestFixture] public class EpisodeParserTests { [Test, UsedImplicitly] public void TryParseEpisodeId_NullReturnsFalse_Test() { int id; var ret = EpisodeParser.TryParseEpi...
Tests/FluentAssertions.Specs/Primitives/DateTimeOffsetAssertionSpecs.cs
weitzhandler/fluentassertions
0
7030420
using System; using FluentAssertions.Common; using FluentAssertions.Extensions; using Xunit; using Xunit.Sdk; namespace FluentAssertions.Specs { public class DateTimeOffsetAssertionSpecs { #region (Not) Have Value [Fact] public void When_nullable_datetimeoffset_value_with_a_value_to_h...
Client/Assets/GameProject/Scripts/Common/Core/Utility.cs
CyberSys/Mugen3D
14
7030421
using System.Collections; using System.Collections.Generic; using System.Text; using System; namespace bluebean.Mugen3D.Core { public class Utility { public static int GetKeycode(KeyNames key) { return 1 << ((int)key); } } }
Host4Travel.API/Extensions/JwtExtension.cs
SadettinKepenek/Host4Travel
1
7030422
<gh_stars>1-10 using Microsoft.AspNetCore.Http; namespace Host4Travel.API.Extensions { public static class JwtExtension { public static void AddApplicationError(this HttpResponse response,string message) { response.Headers.Add("Application-Error",message); response.Head...
ThreadModeler/Commands/ThreadModelerCmd.cs
coolOrangeLabs/inventor-thread-modeler
5
7030423
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Copyright (c) Autodesk, Inc. All rights reserved // Written by <NAME> & <NAME> 2011 - ADN/Developer Technical Services // // Permission to use, copy, modify, and distribute this software in /...
src/MeloncherCore/Account/MojangLogin.cs
Meloncher/Meloncher
5
7030424
using System; using System.IO; using System.Net; using System.Text; using CmlLib.Core; using CmlLib.Core.Auth; using CmlLib.Core.MojangLauncher; using Newtonsoft.Json; using Newtonsoft.Json.Linq; // use new library: // https://github.com/CmlLib/MojangAPI namespace MeloncherCore.Account { // public enum MLoginResult...
Whorl/PathOutlineTransform.cs
AuxCog/Whorl
0
7030425
<filename>Whorl/PathOutlineTransform.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml; namespace Whorl { public class PathOutlineTransform: GuidKey, IXml { public PathOutline PathOutline { get; } public Form...
Jellyfin.Plugin.Bookshelf/Providers/GoogleBooks/SearchResult.cs
MinecraftPlaye/jellyfin-plugin-bookshelf
0
7030426
<reponame>MinecraftPlaye/jellyfin-plugin-bookshelf using System; using System.Collections.Generic; using System.Text.Json.Serialization; namespace Jellyfin.Plugin.Bookshelf.Providers.GoogleBooks { /// <summary> /// Search result dto. /// </summary> public class SearchResult { /// <summary> ...
Assets/_Shared/Scripts/Serializables/Area/IArea.cs
enginoobz-academics/design-patterns-in-unity
1
7030427
<filename>Assets/_Shared/Scripts/Serializables/Area/IArea.cs // * Define area for spawner, detector, boundary, vision... // * Two types of areas: continous and decrete (points) using UnityEngine; public interface IArea { /// <summary> /// Check if the given position is inside the area. /// </summary> bool C...
src/Application/Features/TodoItems/DeleteTodoItem.cs
nadirbad/VerticalSliceArchitecture
0
7030428
using MediatR; using Microsoft.AspNetCore.Mvc; using VerticalSliceArchitecture.Application.Common; using VerticalSliceArchitecture.Application.Common.Exceptions; using VerticalSliceArchitecture.Application.Entities; using VerticalSliceArchitecture.Application.Infrastructure.Persistence; namespace VerticalSlice...
Nez.Portable/ECS/Components/Text/MarkupText.cs
RaiderSoap/Warband
2
7030429
using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Text.RegularExpressions; using System.Xml; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; namespace Nez { /// <summary> /// MarkupText lets you set fonts, textu...
Assets/Plugins/StansAssets/Foundation/Editor/Components/Inspectors/SA_PluginSettingsInspector.cs
Alnirel/com.stansassets.running-dinosaur-clone
2
7030430
using UnityEditor; using UnityEngine; using SA.Foundation.Patterns; using StansAssets.Plugins.Editor; namespace SA.Foundation.Editor { [CustomEditor(typeof(SA_ScriptableSettings), true)] public class SA_PluginSettingsInspector : UnityEditor.Editor { const string k_DescriptionText = "This Scriptable...
Color_Mania_Code.Fun.Do-master/App2/App2.Windows/obj/Debug/Game.g.i.cs
swapnil96/Code.Fun.Do-App
1
7030431
<filename>Color_Mania_Code.Fun.Do-master/App2/App2.Windows/obj/Debug/Game.g.i.cs<gh_stars>1-10  #pragma checksum "C:\Users\suyash1212\Desktop\Colour_mania_start\App2\App2.Windows\Game.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "71B49317EA28A53325E31658C2AF45E9" //-----------------------------------------------...
src/biz.dfch.CS.Abiquo.Client.Tests/v1/Model/AbiquoBaseCollectionDtoTest.cs
esagecloudOS/esage-dfensgmbh-biz.dfch.CS.Abiquo.Client
0
7030432
/** * Copyright 2016 d-fens GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
ErtisAuth/Api/Endpoints/Auth/RefreshTokenEndpoint.cs
ertugrulozcan/ErtisAuth.Net
3
7030433
<reponame>ertugrulozcan/ErtisAuth.Net namespace ErtisAuth.Api.Endpoints.Auth { public sealed class RefreshTokenEndpoint : TokenEndpointBase { #region Properties public override string SelfPath { get { return $"/refresh-token"; } } #endregion #region Constructors /// <summary> /// Cons...
g5/Class06/SEDC.Exercise.TryBeingFitApp/SEDC.Exercise.TryBeingFit.Domain/Core/Entities/LiveTraining.cs
sedc-codecademy/skwd8-06-csharpadv
0
7030434
using SEDC.Exercise.TryBeingFit.Domain.Core.Interfaces; using System; using System.Collections.Generic; using System.Text; namespace SEDC.Exercise.TryBeingFit.Domain.Core.Entities { public class LiveTraining : Training, ILiveTraining { public DateTime NextSession { get; set; } public int Hour...
src/Moq/Expressions/Visitors/ConstructorCallVisitor.cs
304NotModified/moq4
3,745
7030435
// Copyright (c) 2007, <NAME>, Manas Technology Solutions, InSTEDD, and Contributors. // All rights reserved. Licensed under the BSD 3-Clause License; see License.txt. using System; using System.Globalization; using System.Linq; using System.Linq.Expressions; using System.Reflection; using Moq.Properties; namespace...
Source/AsteroidHangars/AsteroidMassConverter.cs
allista/hangar
15
7030436
<reponame>allista/hangar // AsteroidMassConverter.cs // // Author: // <NAME> <<EMAIL>> // // Copyright (c) 2015 <NAME> using System; using System.Collections.Generic; using System.Linq; using UnityEngine; using AT_Utils; namespace AtHangar { public class AsteroidMassConverter : ModuleAsteroidDrill ...
02.StacksAndQueuesExercises/11.KeyRevolver/KeyRevolver.cs
pnkosev/C-Advanced
0
7030437
<filename>02.StacksAndQueuesExercises/11.KeyRevolver/KeyRevolver.cs<gh_stars>0 namespace _11.KeyRevolver { using System; using System.Collections.Generic; using System.Linq; public class KeyRevolver { static void Main() { int pricePerBullet = int.Parse(Console.ReadLine()); ...
VORBS/Views/Administration/UserTab.cshtml
ValuationOffice/VORBS
8
7030438
<gh_stars>1-10 <div id="controllerDiv" ng-controller="UsersController"> <h1 class="heading-small">User Management</h1> <div class="panel panel-border-wide vertical-bottom-space-large"> <p>Below you will find a list of administrator users, you can also create a new administrator or delete an existi...
UniversityRegistrar.Solution/Views/Departments/Index.cshtml
seschwartz8/UniversityRegistrar.Solution
0
7030439
<reponame>seschwartz8/UniversityRegistrar.Solution @{ Layout = "_Layout"; } @using UniversityRegistrar.Models; @model IEnumerable<UniversityRegistrar.Models.Department> <h1>Departments</h1> <div class='content'> @if (Model.Any()) { <ul> @foreach (Department department in Model) { <p>@Htm...
src/Reporting/src/App.Metrics.Formatting.StatsD/Builder/MetricsStatsDFormatterBuilder.cs
JerrettDavis/AppMetrics
1,700
7030440
// <copyright file="MetricsStatsDFormatterBuilder.cs" company="App Metrics Contributors"> // Copyright (c) App Metrics Contributors. All rights reserved. // </copyright> using System; namespace App.Metrics.Formatting.StatsD.Builder { public static class MetricsStatsDFormatterBuilder { /// <summary> ...
WinMasto/Tools/Converters/ReplyToStatusConverter.cs
Wack0/WinMasto
37
7030442
<reponame>Wack0/WinMasto<filename>WinMasto/Tools/Converters/ReplyToStatusConverter.cs<gh_stars>10-100 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Windows.UI.Xaml.Data; using Mastonet.Entities; namespace WinMasto.Tools.Converters { publi...
FAWS/Clientes e Fornecedores/baseCF/g1_ClientesFornecedores/formEstadoInserir.cs
LudmillaPerucci/Projeto-Integrado
0
7030443
<gh_stars>0 using FAWS_WMS; using FAWS_WMS.Telas; using Interface_WMS_ClientesFornecedores.g1_ClientesFornecedores; using System; using System.Data.OleDb; using System.Linq; using System.Windows.Forms; namespace baseCF { public partial class formEstadoInserir : Form { public formEstadoInserir() ...
Assets/Scripts/Controllers/GameControllerListeners/LGameCalculationsListener.cs
GurLad/FrogmanMagmaborn
0
7030444
using System.Collections; using System.Collections.Generic; using UnityEngine; public class LGameCalculationsListener : AGameControllerListener { public override void OnBeginPlayerTurn(List<Unit> units) { GameCalculations.EndTurnEvents(units); } public override void OnEndLevel(List<Unit> units...
Book Reading UI/Book Reading UI/Areas/Security/Views/Authentication/Home.cshtml
AakashOfficial/Book-Reading-Event
4
7030445
<gh_stars>1-10 @model IEnumerable<Book_Reading_Event_DAO.Event> @{ ViewBag.Title = "User Home"; } <div class="row col-12 col-md-12"> <div class="col-4 col-md-4"> <table class="table"> <tr><th colspan="4"><h2>Upcoming Events</h2></th></tr> <tr> <th> ...
snippets/csharp/VS_Snippets_CLR_System/system.Security.Permissions.GacIdentityPermission/CS/gacidentitypermission.cs
BohdanMosiyuk/samples
2
7030446
// <Snippet1> using System; using System.Security; using System.Security.Permissions; public class GacIdentityPermissionDemo { // <Snippet2> // IsSubsetOf determines whether the current permission is a subset of the specified permission. private bool IsSubsetOfDemo() { try { ...
TEKsystems.CodingExercise.Console/Domain/Product/BaseBook.cs
kamalsuriya/CodingExercise7232017
0
7030447
namespace TEKsystems.CodingExercise.Console.Domain.Product { /// <summary>Base class for all products.</summary> /// <seealso cref="TEKsystems.CodingExercise.Console.Domain.BaseDomain" /> public abstract class BaseBook : BaseProduct { public override bool IsTaxable => false; } }
src/TerminalRender/Terminal.cs
KathleenDollard/dotnet-cliapp
3
7030448
<gh_stars>1-10 using Common; using System; using Spectre.Console; using System.Linq; using System.Collections.Generic; namespace TerminalRender { public static class Terminal { public static int Render(int uxLevel, Common.Table table) { if (uxLevel == 0) { ...
docio/Import And Export/HTML to Doc/CS/Form1.cs
aTiKhan/winforms-demos
0
7030449
<filename>docio/Import And Export/HTML to Doc/CS/Form1.cs #region Copyright Syncfusion Inc. 2001 - 2017 // // Copyright Syncfusion Inc. 2001 - 2017. All rights reserved. // // Use of this code is subject to the terms of our license. // A copy of the current license can be obtained at any time by e-mailing // <EMAIL...
PortableDownloader/DownloaderOptions.cs
madnik7/PortableDownloader
9
7030450
<gh_stars>1-10 using System; using System.IO; namespace PortableDownloader { public class DownloaderOptions { public Uri Uri { get; set; } public Stream Stream { get; set; } public DownloadRange[] DownloadedRanges { get; set; } public int MaxPartCount { get; set; } = 1; ...
Sample.Mobile/MainActivity.cs
Nia-TN1012/Sample.Android.Mobile.Wear
0
7030451
<reponame>Nia-TN1012/Sample.Android.Mobile.Wear using Android.App; using Android.Widget; using Android.OS; namespace Sample.Mobile { [Activity( Label = "Sample.Mobile", MainLauncher = true )] public class MainActivity : Activity { protected override void OnCreate( Bundle savedInstanceState ) { base.OnCreate( s...
Core/Server/Oqtane.Core.Server/Repository.cs
knight1219/oqtane.framework
0
7030452
using Microsoft.EntityFrameworkCore; using Oqtane.Core.Server.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Oqtane.Core.Server { public abstract class Repository<TEntity> : IRepository<TEntity> where TEntity : class, new() { private readonl...
src/System.Private.CoreLib/src/System/String.CoreCLR.cs
HarrievG/coreclr
6
7030453
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.Runtime.CompilerServices; using System.Text; namespace System { public partial class String { ...
src/Plainion.Wiki.Tests/Query/DynamicLinqWhereClauseTests.cs
ronin4net/Plainion.Notes
0
7030454
<reponame>ronin4net/Plainion.Notes<gh_stars>0 using Plainion.Wiki.AST; using Plainion.Wiki.Query; using NUnit.Framework; namespace Plainion.Wiki.UnitTests.Query { [TestFixture] public class DynamicLinqWhereClauseTests { [Test] public void Where_ExpressionMatchesNode_ReturnsTrue(...
PusherClient/Exception/TriggerEventException.cs
Baggins800/pusher-websocket-dotnet
63
7030455
<filename>PusherClient/Exception/TriggerEventException.cs namespace PusherClient { /// <summary> /// Raised when attempting to trigger an event. /// </summary> public class TriggerEventException : PusherException { /// <summary> /// Creates a new instance of a <see cref="TriggerEven...
RogueElements/MapGen/Tiles/DropDiagonalBlockStep.cs
audinowho/RogueElements
35
7030456
// <copyright file="DropDiagonalBlockStep.cs" company="Audino"> // Copyright (c) Audino // Licensed under the MIT license. See LICENSE file in the project root for full license information. // </copyright> using System; namespace RogueElements { [Serializable] public class DropDiagonalBlockStep<T> : GenStep<...
src/backend/InsightDerm/InsightDerm.Core.Service/ConsultationTreatmentService.cs
nrubiano/InsightDerm
0
7030457
using AutoMapper; using InsightDerm.Core.Data; using InsightDerm.Core.Data.Domain.Model; namespace InsightDerm.Core.Service { public class ConsultationTreatmentService : BaseService<ConsultationTreatment, ConsultationTreatmentDto> { public ConsultationTreatmentService(IUnitOfWork unitOfWork, IMapper m...
Processor/Disassembly.cs
MetaFight/6502Net
72
7030458
using System; namespace Processor { /// <summary> /// Used to help simulating. This class contains the disassembly properties. /// </summary> [Serializable] public class Disassembly { /// <summary> /// The low Address /// </summary> public string LowAddress { get; set; } /// <summary> /// The High ...
ElmCommunicator/ElmCommunicatorTests/Commands/ElmCommands/SetIsoBaudRateSetSendMessageTests.cs
cracker4o/elm327lib
10
7030459
// 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 or...
WaterCloud.Web/Areas/ContentManage/Views/ArticleNews/Form.cshtml
Wuc19940224/WaterCloud
9
7030460
<filename>WaterCloud.Web/Areas/ContentManage/Views/ArticleNews/Form.cshtml @{ ViewBag.Title = "Form"; Layout = "~/Views/Shared/_Form.cshtml"; } <link href="~/css/stepcss.css" rel="stylesheet" /> <body> <div class="layuimini-container"> <div class="layuimini-main"> <div class="...
MvvmCross/Droid/Droid/Views/MvxActivity.cs
Oglan/MvvmCross
0
7030461
<reponame>Oglan/MvvmCross // MvxActivity.cs // MvvmCross is licensed using Microsoft Public License (Ms-PL) // Contributions and inspirations noted in readme.md and license.txt // // Project Lead - Stuart Lodge, @slodge, <EMAIL> using Android.Views; namespace MvvmCross.Droid.Views { using System; using Andr...
sources/core/Xenko.Core.Design/VisualStudio/SolutionWriter.cs
nesrak1/xenko
34
7030462
<reponame>nesrak1/xenko #region License // Copyright (c) Xenko contributors (https://xenko.com) and Silicon Studio Corp. (https://www.siliconstudio.co.jp) // This file is distributed under MIT License. See LICENSE.md for details. // // SLNTools // Copyright (c) 2009 // by <NAME> // // Permission is hereby granted, fre...
Sources/Xam.Animations.iOS/AnimationExtensions.cs
ammogcoder/Xamarin.Animations
106
7030463
<reponame>ammogcoder/Xamarin.Animations namespace Xam.Animations { using System; using System.Threading.Tasks; using CoreGraphics; using UIKit; public static class AnimationExtensions { internal static CGAffineTransform ToNative(this Transform transform, CGSize size) { ...
src/Editor/Custom Controlls/AppPropPanel.Designer.cs
dgi09/2DGameEngine
1
7030464
namespace Editor { partial class AppPropPanel { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <pa...
FormFactory/ViewHelpers/String.cs
tanis2000/FormFactory
0
7030465
<filename>FormFactory/ViewHelpers/String.cs using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; namespace FormFactory.ViewHelpers { public static class String { public static string GetInputTypeFromDataTypeAttribute(Propert...