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 |
|---|---|---|---|---|
Plugins/BulletUnity/BulletSharp/LinearMath/AlignedCollisionObjectArray.cs | chauffer/BulletSharpUnity3d | 488 | 7068105 | <reponame>chauffer/BulletSharpUnity3d
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Security;
using System.Diagnostics;
namespace BulletSharp
{
public class AlignedCollisionObjectArrayDebugView
{
private readonly AlignedCollisionObjectArray _array;
... |
BirthdayListWeb/DAO/PersonDAO.cs | tavaresdu/AspDotNetMVC-Assessment | 0 | 7068106 | using BirthdayListWeb.Models;
using BirthdayManagerWeb.DAO;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
namespace BirthdayListWeb.DAO
{
public class PersonDAO
{
public void Add(Person person)
{
using (var context =... |
src/DotNetHelper-Contracts/Extension/ExtMemberInfo.cs | TheMofaDe/DotNetHelper-Contracts | 0 | 7068107 | using System;
using System.Reflection;
namespace DotNetHelper_Contracts.Extension
{
public static class ExtMemberInfo
{
public static Type GetMemberType(this MemberInfo member)
{
switch (member.MemberType)
{
case MemberTypes.Property:
... |
Assets/Scripts/Common/Trap.cs | Binghagoon/Drop-The-Ball | 0 | 7068108 | <reponame>Binghagoon/Drop-The-Ball<filename>Assets/Scripts/Common/Trap.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Trap : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
... |
Web/Cosiness.Web/Areas/Admin/Views/Products/Edit.cshtml | DenicaAtanasova/Cosiness | 0 | 7068109 | <reponame>DenicaAtanasova/Cosiness<filename>Web/Cosiness.Web/Areas/Admin/Views/Products/Edit.cshtml
@model Cosiness.Web.InputModels.Products.ProductEditInputModel
<div class="row">
<div class="col-md-4">
<form method="post" asp-area="Admin" asp-controller="Products" asp-action="Edit" enctype="multipart/fo... |
MonoDevelop.DBinding/Highlighting/HighlightUsagesExtension.cs | llucenic/Mono-D | 1 | 7068110 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using D_Parser.Dom;
using D_Parser.Misc;
using D_Parser.Resolver;
using D_Parser.Resolver.TypeResolution;
using Mono.TextEditor;
using MonoDevelop.Core;
using MonoDevelop.D.Building;
using MonoDevelop.D.Parser;
using MonoDevelop.D.Refact... |
src/Cuemon.Data/QueryType.cs | gimlichael/cuemoncore | 11 | 7068111 | namespace Cuemon.Data
{
/// <summary>
/// Identifies the type of data operation performed by a query against a data source.
/// </summary>
public enum QueryType
{
/// <summary>
/// Indicates that a query is used for a data operation that retrieves data.
/// </summary>
... |
c_sharp/kodluyoruz/Week5/Week5.Api/Program.cs | korucuoglu/homework | 2 | 7068112 | <gh_stars>1-10
using KodluyoruzTest.Business;
using KodluyoruzTest.DataAccess;
using KodluyoruzTest.DataAccess.Repositories;
using Microsoft.EntityFrameworkCore;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddControllers();
// Learn more about configuring Swag... |
unreal/inkcpp/Source/inkcpp/inkcpp.Build.cs | 2shady4u/inkcpp | 31 | 7068114 | <filename>unreal/inkcpp/Source/inkcpp/inkcpp.Build.cs
// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
using System.IO;
using UnrealBuildTool;
public class inkcpp : ModuleRules
{
public inkcpp(ReadOnlyTargetRules Target) : base(Target)
{
// Enable C++17 support
PCHUsage = ModuleRules.PCHUsageM... |
Assets/Prometheus/Game/Components/RenderSortingOrderComp.cs | erdinckaya/prometheus | 10 | 7068115 | <reponame>erdinckaya/prometheus
using Unity.Entities;
namespace Prometheus.Game.Components
{
/// <summary>
/// Keeps render order of RenderMesh objects which is z value of its
/// Translation components.
/// </summary>
public struct RenderSortingOrderComp : IComponentData
{
public float... |
Source/Services/HotelSystem.Services.Data/Contracts/IUsersService.cs | iwelina-popova/HotelSystem | 1 | 7068116 | namespace HotelSystem.Services.Data.Contracts
{
using System.Linq;
using HotelSystem.Data.Models;
public interface IUsersService
{
void CreateUser(User user, string password);
IQueryable<User> GetAll();
IQueryable<User> GetAllWithDeleted();
User GetByI... |
ModelingProjectLib/GeneratedCode/IDiscussable.cs | logical8/FCGagarin | 0 | 7068117 | <gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool
// Changes to this file will be lost if the code is regenerated.
// </auto-generated>
//-------------------------------------------------------------------------... |
Plugins/Divination.ACT.Companion/Settings.cs | SlashNephy/ACT.Divination | 0 | 7068118 | <reponame>SlashNephy/ACT.Divination
using System;
using System.IO;
#nullable enable
namespace Divination.ACT.Companion
{
public class Settings : PluginSettings
{
public Settings()
{
this.Bind("Voiceroid2ProxyPath", Plugin.TabControl.voiceroid2ProxyPathTextBox);
this.Bin... |
Blackbird.Stark/Graphs/Search/IGraphSearch.cs | artdrozdov/Stark | 3 | 7068119 | using System;
namespace Blackbird.Stark.Graphs.Search
{
public interface IGraphSearch<TKey, TData> where TKey : IEquatable<TKey>
{
GraphNode<TKey, TData> Graph { get; }
SearchResult<TKey, TData> Search(TKey val);
}
}
|
Forms/Options/TargetLocationsFrm.cs | AngelsCheeseBurgerOrg/OneClickZip | 1 | 7068120 | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
using ExpTreeLib;
using OneClickZip.Includes.Models;
using OneClickZip.Includes.Resources;
using OneClickZip.Includes.Utilities;
namespace OneClickZip.Forms.Options
{
public partial class TargetLocationsFrm : Form
... |
AuctionExampleAPI/Hubs/IReferenceHub.cs | SH4KUR/AuctionExampleAPI | 1 | 7068121 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace AuctionExampleAPI.Hubs
{
public interface IReferenceHub
{
Task RefreshItem(int idItem);
}
}
|
WebApplication1/Controllers/AddCrewSpec.cs | ferdinandosp/hello-github-actions | 0 | 7068122 | <reponame>ferdinandosp/hello-github-actions
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebApplication1.Model;
namespace WebApplication1.Controllers
{
public class AddCrewSpec
{
public string Name { get; set; }
public string SeafarerI... |
Problems/DegreesOfBacon/WorkQueue.cs | mikerandrup/AmazingProblems | 0 | 7068123 | <gh_stars>0
using System.Collections.Generic;
namespace Problems.DegreesOfBacon
{
public class WorkQueue : Queue<WorkItem>
{
public WorkQueue() : base() {
AlreadyEnqueued = new HashSet<long>();
}
public new bool Enqueue(WorkItem w) {
if (Alre... |
Net5Template.Application/Services/Identity/Queries/GetRefreshTokenQuery.cs | rafpadilla/Net5Template | 2 | 7068124 | <reponame>rafpadilla/Net5Template
using AutoMapper;
using Net5Template.Core.Bus;
using Net5Template.Core.Entities;
using Net5Template.Core.Repository;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Net5Template.Application.Services.Id... |
Assembly-CSharp.Base.mm/src/Core/Assets/Data.cs | Gl0rfindel/ETGMod | 48 | 7068125 | <reponame>Gl0rfindel/ETGMod<filename>Assembly-CSharp.Base.mm/src/Core/Assets/Data.cs
#pragma warning disable RECS0018
using System;
using UnityEngine;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using Newtonsoft.Json;
using System.Collections;
using AttachPoint = tk2dSpriteDefinition.A... |
Sources/Yoga.Parser.Xml/INode.cs | aloisdeniel/Yoga.Xml | 5 | 7068126 | <reponame>aloisdeniel/Yoga.Xml
namespace Yoga.Parser
{
using System.Collections.Generic;
public interface INode
{
string Name { get; }
IDictionary<string, object> Properties { get; }
IEnumerable<INode> Children { get; }
}
}
|
SaleDeedRegistry.Lib/Entities/PersonInfo.cs | ranjancse26/Stratis-SaleDeedRegistry | 0 | 7068127 | <gh_stars>0
using SQLite.Net.Attributes;
using SQLiteNetExtensions.Attributes;
namespace SaleDeedRegistry.Lib.Entities
{
[Table("PersonInfo")]
public class PersonInfo
{
[PrimaryKey, AutoIncrement]
public int Id { get; set; }
public string FirstName { get; set; }
public st... |
src/Abanu.Kernel.Core/MemoryManagement/PageAllocators/InitialPageAllocator2.cs | abanu-org/abanu | 12 | 7068128 | // This file is part of Abanu, an Operating System written in C#. Web: https://www.abanu.org
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
using System;
using System.Runtime.CompilerServices;
using Abanu.CTypes;
using Abanu.Kernel.Core.Boot;
using Abanu.Kern... |
LinqFasterer.Benchmark/Benchmarks/AppendBenchmark.cs | Zaczero/LinqFaster | 17 | 7068129 | using System.Linq;
using BenchmarkDotNet.Attributes;
namespace LinqFasterer.Benchmarks.Benchmarks
{
public class AppendBenchmark : Benchmarkable
{
[Benchmark(Baseline = true)]
public int[] AppendLinq()
{
return Data.Append(5).ToArray();
}
[Benchmark]
... |
MobileApps/MyDriving/MyDriving.UWP/Views/SplitViewShell.xaml.cs | simonthurman/openhack-devops-team | 143 | 7068130 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for details.
using System;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media.Imaging;
using Windows.UI.Xaml.Navigation;
using MyDriving.UWP.Cont... |
src/Stardust.Aadb2c.AuthenitcationFilter.Test/Program.cs | JonasSyrstad/Stardust.Aadb2c.AuthenticationFilter | 3 | 7068131 | using System;
using System.Collections.Specialized;
using Microsoft.IdentityModel.Logging;
using Stardust.Aadb2c.AuthenticationFilter.Core;
using Stardust.Particles;
namespace Stardust.Aadb2c.AuthenitcationFilter.Test
{
class Program
{
static void Main(string[] args)
{
try
... |
OnlineShopASPNETFrameworkWebAPI/ComponentLibrary/Data/QueryExecute.cs | mabubakarriaz/OnlineShopAPI | 0 | 7068132 | <filename>OnlineShopASPNETFrameworkWebAPI/ComponentLibrary/Data/QueryExecute.cs<gh_stars>0
using System;
using System.Data;
using System.Data.SqlClient;
namespace Com.CompanyName.OnlineShop.ComponentLibrary.Data
{
public class QueryExecute
{
/// <summary>
/// Executes sql server stored procedu... |
Src/Domain/Collecting/Shops/ShopsFactory.cs | CarloMicieli/dotnetcore-clean-architecture | 1 | 7068133 | using System;
using System.Net.Mail;
using NodaTime;
using TreniniDotNet.Common.Domain;
using TreniniDotNet.Common.Uuid;
using TreniniDotNet.SharedKernel.Addresses;
using TreniniDotNet.SharedKernel.PhoneNumbers;
using TreniniDotNet.SharedKernel.Slugs;
namespace TreniniDotNet.Domain.Collecting.Shops
{
public sealed... |
HTML5/Views/E01_StructureAndStyle/SemanticMarkup.cshtml | mk-prg-net/PlaygroundJS | 0 | 7068134 | <reponame>mk-prg-net/PlaygroundJS
@{
ViewBag.Title = "SemanticMarkup";
}
<div class="row">
<article>
<h1>Semantisches Markup</h1>
<p>
<b>HTML5</b> vertieft das Prinzip der Trennung zwischen Dokumentstruktur und Layout. Dazu werden neue semantische Tags eingeführt, und bereits bekann... |
Assets/Scripts/Monster.cs | qflyb/TDRadish | 0 | 7068135 | <reponame>qflyb/TDRadish
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Monster : MonoBehaviour
{
public float Speed;
public float HP;
public float MaxHp;
public int Gold;
bool die;
public bool live ;
Vector3 GO;
Vector3 go;
StartMap... |
22-07-2019 a 26-07-2019/MostrarJoinhaClass/AquiMostrarJoinha.cs | HenocEtienne2512/Git | 0 | 7068136 | <reponame>HenocEtienne2512/Git
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MostrarJoinhaClass
{
public class AquiMostrarJoinha
{
/// <summary>
/// será que hoje é sexta
/// </summary>
/// <returns... |
SymbolSource.Server.Tests/Clients/TestClient.cs | gareth-evans/SymbolSource | 33 | 7068137 | <filename>SymbolSource.Server.Tests/Clients/TestClient.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Threading.Tasks;
using SymbolSource.Contract;
namespace SymbolSource.Server.Tests.Clients
{
public abstract class Te... |
Stacks and Queues exercises/04. Basic Queue Operations/Program.cs | MJordanov81/SoftUni-C--Advanced | 0 | 7068138 | <filename>Stacks and Queues exercises/04. Basic Queue Operations/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _04.Basic_Queue_Operations
{
class Program
{
static void Main(string[] args)
{
v... |
DataStructures.Test/DynamicArray/DynamicArrayTest.cs | adonayg3/DataStructures | 0 | 7068139 | <reponame>adonayg3/DataStructures
using System;
using DataStructures.DynamicArray;
using Xunit;
namespace DataStructures.Test.DynamicArray
{
public class DynamicArrayTest
{
[Fact]
public void TestEmptyList()
{
var list = new DynamicArray<Int32>();
Assert.True(lis... |
src/AuditLog.Infra.Data/Mappings/LocationMap.cs | LeoFelipe/AuditLog | 1 | 7068140 | <gh_stars>1-10
using AuditLog.Domain.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace AuditLog.Infra.Data.Mappings
{
public class LocationMap : IEntityTypeConfiguration<Location>
{
public void Configure(EntityTypeBuilder<Location> builder)... |
src/ZKWeb.Plugins/Shopping.Order/src/Domain/Extensions/OrderPriceCalcResultExtensions.cs | zkweb-framework/ZKWeb.Plugins | 52 | 7068141 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ZKWeb.Localize;
using ZKWeb.Plugins.Shopping.Order.src.Domain.Structs;
namespace ZKWeb.Plugins.Shopping.Order.src.Domain.Extensions {
/// <summary>
/// 订单或订单商品的价格计算结果的扩展函数
/// </summary>
public static class Orde... |
test/Journalist.WindowsAzure.Storage.IntegrationTests/Blobs/CloudBlockBlobTests.cs | forki/Journalist | 15 | 7068142 | using System;
using System.IO;
using System.Threading.Tasks;
using Journalist.Collections;
using Journalist.WindowsAzure.Storage.Blobs;
using Xunit;
namespace Journalist.WindowsAzure.Storage.IntegrationTests.Blobs
{
public class CloudBlockBlobTests
{
public CloudBlockBlobTests()
{
... |
Legacy ORM Cookbook/Recipes.Dapper/Repositories/EmployeeClassificationAsynchronousRepository.cs | lukevp/DotNet-ORM-Cookbook | 0 | 7068143 | using Dapper;
using Recipes.Dapper.Models;
using Recipes.Repositories;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
namespace Recipes.Dapper.Repositories
{
public class EmployeeClassificationAsynchronousRepository : IEmployeeClassificationAsynchron... |
tls_client_hello/src/csharp/TlsClientHello.cs | kaitai-io/formats-kaitai-io.github.io | 4 | 7068144 | <gh_stars>1-10
// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild
using System.Collections.Generic;
namespace Kaitai
{
public partial class TlsClientHello : KaitaiStruct
{
public static TlsClientHello FromFile(string fileName)
{
retu... |
source/Playnite/App/UpdateManifest.cs | Donkeyfumbler/Playnite | 1 | 7068145 | <reponame>Donkeyfumbler/Playnite
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Playnite
{
public class UpdateManifest
{
public class ReleaseNote
{
public Version Version
{
... |
Archpack.Training/Startup.cs | vienitdev/APack.Training_SearchList | 0 | 7068146 | <filename>Archpack.Training/Startup.cs<gh_stars>0
using Microsoft.Owin;
using Owin;
using System;
using System.Web;
using System.Linq;
using Archpack.Training.ArchUnits.Authentications.V1;
using Archpack.Training.ArchUnits.Routing.V1;
using Archpack.Training.ArchUnits.Routing.WebApi.Owin.V2;
using Archpack.Training.... |
Postulate.Lite.Core/Models/RowVersion.cs | topdeveloper1001/Postulate.Lite | 0 | 7068147 | <reponame>topdeveloper1001/Postulate.Lite
using Postulate.Lite.Core.Attributes;
namespace Postulate.Lite.Core.Models
{
/// <summary>
/// Used with change tracking to get the next version number of a record when saving change history
/// </summary>
public class RowVersion<TKey>
{
[PrimaryKey]
public TKey Reco... |
AcadLib/Model/DB/SummaryInfoExt.cs | coordinate/AcadLib | 6 | 7068148 | namespace AcadLib.DB
{
using Autodesk.AutoCAD.DatabaseServices;
using JetBrains.Annotations;
using NetLib;
public static class SummaryInfoExt
{
public static object? GetDwgCustomPropertyValue(this Database db, [NotNull] string prop)
{
var dictProps = db.SummaryInfo.Cust... |
Attributes/FileFieldAttribute.cs | sujayvsarma/SujaySarma.Sdk.FormattedIO.Csv | 0 | 7068149 | <gh_stars>0
using System;
namespace SujaySarma.Data.Files.TokenLimitedFiles.Attributes
{
/// <summary>
/// Provide metadata about the field/column in the delimited file
/// </summary>
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
publ... |
src/Selene/Windows/SettingsWindow.xaml.cs | JamesDearlove/Selene | 2 | 7068150 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using Syst... |
Ranger/MapInputs.cs | tkokan/Ranger | 0 | 7068151 | <filename>Ranger/MapInputs.cs
using static Ranger.Properties.Settings;
namespace Ranger
{
public class MapInputs
{
public int Zoom { get; set; }
public int Width { get; set; }
public int Height { get; set; }
public MapInputs()
{
Zoom = Default.MapZoomDefaul... |
PureDITest/ValidatorTestData/ConstructorsWithMultipleAttributes.cs | mikedamay/SimpleIOCContainer | 1 | 7068152 | <reponame>mikedamay/SimpleIOCContainer
using System;
using PureDI;
using PureDI.Attributes;
namespace IOCCTest.DifficultTypeTestData
{
internal class SomeAttribute : Attribute
{
}
public class ConstructorsWithMultipleAttributes
{
[Some]
[Constructor]
public Constru... |
src/Core2D.Core/ViewModels/Editor/Bounds/Shapes/LineBounds.cs | juliuming/my-core2d | 604 | 7068153 | #nullable enable
using System;
using System.Collections.Generic;
using Core2D.Model.Editor;
using Core2D.Model.Renderer;
using Core2D.ViewModels.Shapes;
using Core2D.Spatial;
namespace Core2D.ViewModels.Editor.Bounds.Shapes;
public class LineBounds : IBounds
{
public Type TargetType => typeof(LineShapeViewModel)... |
Assignment5/MainForm.cs | KaiserDMC/MAU-project-5 | 1 | 7068154 | <reponame>KaiserDMC/MAU-project-5
/* Assignment 5 - by ...KaiserDMC...
Current date: 2020-12-20
Date of submission: 2020-12-20 */
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Th... |
TestSuites/ADFamily/src/ResponseTrigger/ResponseTrigger.cs | Grom-Li/WindowsProtocolTestSuites | 332 | 7068155 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Net.Sockets;
using System.Text;
namespace Microsoft.Protocols.TestSuites.AdtsPublishDcScenario
{
clas... |
Common/ServiceShared.Lib/AppConfiguration/WebHostBuilderExtension.cs | caracan-team/Caracan.Microservices | 2 | 7068156 | using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
namespace ServiceShared.Lib.AppConfiguration
{
public static class WebHostBuilderExtension
{
public static IWebHostBuilder ConfigureApp(this IWebHostBuilder webHostBuilder)
{
return webHostBuilder.Configur... |
src/Microsoft.Css.Parser/TreeItems/ItemName.cs | omajid/cssparser | 9 | 7068157 | <filename>src/Microsoft.Css.Parser/TreeItems/ItemName.cs
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License. See License.txt in the project root for license information.
using Microsoft.Css.Parser.Classify;
using Microsoft.Css.Parser.Parser;
using Microsoft.Css.Parser.Text;
using Microsoft.Css.P... |
Workout Tracking/WTracking/Services/IApiFetcher.cs | vabed/Eleks.Internship.Yazyk_Nazarii_Dmytro_Yakovyna | 0 | 7068159 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WTracking.Services
{
public interface IApiFetcher
{
Task<string> FetchGoogleFitAPIAsync(string uri, string _tokenBearer, string method, string parameters = null);
Task FetchSamsungHealthA... |
RunChallenge.MVC/Areas/Forum/Controllers/ArticlesController.cs | bstaykov/RunChallenge | 0 | 7068160 | namespace RunChallenge.MVC.Areas.Forum.Controllers
{
using RunChallenge.Data;
using RunChallenge.Models;
using RunChallenge.MVC.Areas.Forum.Models;
using RunChallenge.MVC.Controllers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
usin... |
UltimaOnline.Data/Gumps/Guilds/New Guild System/War Declaration gump.cs | netcode-gamer/game.ultimaonline.io | 0 | 7068161 | <filename>UltimaOnline.Data/Gumps/Guilds/New Guild System/War Declaration gump.cs
using System;
using UltimaOnline;
using UltimaOnline.Gumps;
using UltimaOnline.Network;
using UltimaOnline.Mobiles;
namespace UltimaOnline.Guilds
{
public class WarDeclarationGump : BaseGuildGump
{
private Guild... |
sample/ContosoUniversity.EntityFrameworkCore.Store/Views/Account/AccessDenied.cshtml | SamuelJohnsonMedia/Balea | 216 | 7068162 | <gh_stars>100-1000
<section class="hero-wrap hero-wrap-2" style="background-image: url('../../../images/bg_1.jpg');">
<div class="overlay"></div>
<div class="container">
<div class="row no-gutters slider-text align-items-center justify-content-center">
<div class="col-md-9 ftco-animate text... |
Core/VVVV.DX11.Lib/Rendering/ShaderPipelineState.cs | mhusinsky/dx11-vvvv | 1 | 7068163 | using FeralTic.DX11;
using SlimDX.Direct3D11;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VVVV.DX11.Lib.Rendering
{
public class ShaderPipelineState
{
private VertexShader VertexShader;
private HullShader HullSha... |
src/MessagePack.UnityClient/Assets/Scripts/Tests/ShareTests/StandardClassLibraryFormatterTests.cs | OlegNadymov/MessagePack-CSharp | 3,990 | 7068164 | // Copyright (c) All contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Linq;
using Xunit;
using Xunit.Abstractions;
namespace MessagePack.Tests
{
public class StandardClassLibraryFormatterTests : Test... |
GTInterfacesLibrary/GTInterfacesLibrary/GTGameInterface.cs | kmarcell/ELTE-2015-Component-Team4 | 0 | 7068166 | <reponame>kmarcell/ELTE-2015-Component-Team4<filename>GTInterfacesLibrary/GTInterfacesLibrary/GTGameInterface.cs
using System;
using GTInterfacesLibrary.GameEvents;
namespace GTInterfacesLibrary
{
public interface GTGameInterface
{
/// <summary>
/// The message which will send to the platform ... |
Assets/Microgames/SagumeLie/Scripts/SagumeLieText.cs | eisenkoubu/NitoriWare | 0 | 7068167 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
using UnityEngine.UI;
// not done:
// this is a placeholder!
// i need to actually get questions from list
// this was originally meant to just contain the script to change the "Question" and "Answer" text,
// but i kind of ... |
source/Opds4Net/Opds4Net/Util/WebRequestHelper.cs | atollkuci/calibre-reading-lists | 0 | 7068168 | using System;
using System.Net.Configuration;
using System.Reflection;
using System.Web;
namespace Opds4Net.Util
{
/// <summary>
///
/// </summary>
public static class WebRequestHelper
{
/// <summary>
///
/// </summary>
/// <returns></returns>
public stati... |
UserServices/UserServicesStorage/Cargos/PartnerTransactionReportingCargo.cs | BOONRewardsInc/rewards | 13 | 7068169 | <filename>UserServices/UserServicesStorage/Cargos/PartnerTransactionReportingCargo.cs<gh_stars>10-100
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//
// <summary>
// Defines the cargo for report... |
SpaceShooter2/Assets/My Assets/Scripts/Player/Upgrades/WeaponUnlocks.cs | MarcusBoay/Kontrol | 0 | 7068170 | using UnityEngine;
namespace Kontrol
{
public class WeaponUnlocks : MonoBehaviour
{
public static int[] unlocks;
void Start()
{
unlocks = new int[] { 1, 0, 0, 0, 0 };
}
public static void InitialUnlocks()
{
unlocks = new int[] { 1, 0, 0... |
OdontoTech/OdontoTech/Criar Ordem de Servico.cs | theylkszaszin/OdontoTech | 0 | 7068171 | using Repositorio;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace OdontoTech
{
public partial class Criar_Ordem_de_Servico : Form
{
... |
src/BlazorWebView.Android/AndroidAssetResolver.cs | chucker/BlazorWebView | 71 | 7068172 | <filename>src/BlazorWebView.Android/AndroidAssetResolver.cs
// <copyright file="AndroidAssetResolver.cs" company="<NAME> and <NAME>">
// Copyright 2020 <NAME> and <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 ... |
Exercises/Lists-More_Exercises/TakeSkip_The_Rope/Program.cs | e-karov/Technology_Fundamentals-C- | 0 | 7068173 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TakeSkip_The_Rope // 100 / 100
{
class Program
{
static void Main()
{
string input = Console.ReadLine();
List<int> numbers = new List<int>();
... |
src/LambdaFunction.cs | GREsau/dotnet-lambda-test | 1 | 7068174 | <reponame>GREsau/dotnet-lambda-test
using Microsoft.AspNetCore.Hosting;
using Amazon.Lambda.AspNetCoreServer;
namespace HelloWorld
{
public class LambdaFunction : APIGatewayProxyFunction
{
protected override void Init(IWebHostBuilder builder) =>
Program.ConfigureWebHost(builder);
}
}
|
Assets/UI.Windows/Addons/Flow/Core/FlowData.cs | z-mcc/Unity3d.UI.Windows | 1 | 7068175 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine.UI.Windows.Extensions;
using ME;
using UnityEngine.UI.Windows.Audio;
namespace UnityEngine.UI.Windows.Plugins.Flow {
public enum ModeLayer : byte {
Flow,
Audio,
};
[System.Serializable]
... |
ModernChrome/BindingProxy.cs | ChristianIvicevic/ModernChrome | 66 | 7068176 | <filename>ModernChrome/BindingProxy.cs
using System.Windows;
namespace ModernChrome
{
/// <inheritdoc />
/// <summary>
/// Used to store DynamicResource objects which can be referenced in StaticResource contexts.
/// </summary>
internal sealed class BindingProxy : Freezable
{
/// <... |
src/EfModelGenerator/Entities/ReturnPeriod.cs | SkillsFundingAgency/DC-JobQueueManager | 0 | 7068177 | <gh_stars>0
using System;
using System.Collections.Generic;
namespace ESFA.DC.JobQueueManager.Data.Entities
{
public partial class ReturnPeriod
{
public int ReturnPeriodId { get; set; }
public DateTime StartDateTimeUtc { get; set; }
public DateTime EndDateTimeUtc { get; set; }
... |
Simple.API/Compatibility/NetStd_NameValueCollection.cs | RafaelEstevamReis/SimpleAPI | 0 | 7068178 | <filename>Simple.API/Compatibility/NetStd_NameValueCollection.cs
#if NETSTANDARD1_1
using System.Collections.Generic;
using System.Linq;
namespace System.Collections.Specialized
{
/// <summary>
/// A simplified version of System.Collections.Specialized.NameValueCollection for .NET STANDARD
/// </summary>
... |
BaskervilleWebsite/Baskerville.Services/Utilities/HtmlBuilders/NewsBuilder.cs | MarioZisov/Baskerville | 0 | 7068179 | <gh_stars>0
namespace Baskerville.Services.Utilities.HtmlBuilders
{
using Models.DataModels;
using Enums;
using System.Collections.Generic;
using System.Web;
public class NewsBuilder : HtmlBuilder
{
//Representatation of promotion template
//Place holders:
//{0}: News t... |
EMU7800/Core/CartType.cs | ircluzar/BizhawkLegacy-Vanguard | 0 | 7068180 | /*
* CartType.cs
*
* Defines the set of all known Game Cartridges.
*
* 2010 <NAME>
*
*/
namespace EMU7800.Core
{
public enum CartType
{
None,
A2K, // Atari 2kb cart
TV8K, // Tigervision 8kb bankswitched cart
A4K, // Atari 4kb cart
PB8K, ... |
ConsoleApp.HelloWorld/FooValidator.cs | StijnVA/SovitexLib | 0 | 7068181 | using FluentValidation;
namespace ConsoleApp.HelloWorld
{
public class FooValidator : AbstractValidator<IFoo>
{
public FooValidator()
{
RuleFor(f => f.Value)
.Must((foo, value) => foo.Min <= value && value <= foo.Max)
.WithMessage(actual => $" Value ... |
Eventos Lambda/Eventos Lambda/Regimiento.cs | SergiPerello/Delegates-and-events | 0 | 7068182 | <reponame>SergiPerello/Delegates-and-events
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Eventos_Lambda
{
class Regimiento<T> where T:IGiros
{
List<T> lista = new List<T>();
public void add(T pieza)
{
... |
Services/TravelShare.Services.Data/Common/Models/TripCreationInfo.cs | antoanLengerdjiev/TravelShareMvc | 0 | 7068183 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TravelShare.Services.Data.Common.Models
{
public class TripCreationInfo
{
public string From { get; set; }
public string To { get; set; }
public DateTime Dat... |
Survivor.Models/Backpack.cs | AtiVassileva/Survivor | 0 | 7068186 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Survivor.Models
{
using static Common.ExceptionMessages;
using static Common.GlobalConstants;
public class Backpack
{
private readonly int capacityInKg;
private readonly ICollection<Item> i... |
Workshop/TeamBuilder.Models/User.cs | Shtereva/CSharp-DB-Fundamentals---Entity-Framework | 0 | 7068187 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace TeamBuilder.Models
{
public class User
{
public int UserId { get; set; }
[Required]
[StringLength(25, MinimumLength = 3)]
public string Username { get; set... |
SlackAPI/Models/Attachment.cs | xavierjefferson/SlackAPI | 0 | 7068188 | <reponame>xavierjefferson/SlackAPI<gh_stars>0
using System.Collections.Generic;
namespace SlackAPI.Models
{
//See: https://api.slack.com/docs/attachments
public class Attachment
{
public List<AttachmentAction> actions {get; set;} = new List<AttachmentAction>();
public string author_icon { ... |
Eutyches.Spell.Lexedit/Services/Interfaces/IFileService.cs | joemaza/Lexedit | 1 | 7068189 | //=============================================================================
// Copyright © 2018 <NAME> <<EMAIL>>. All Rights Reserved.
//=============================================================================
using Eutyches.Spell.Hunspell;
using System;
using System.Collections.Generic;
using System.Linq;
us... |
Building_Trap_Detour.cs | zorbathut/oshacompliance | 1 | 7068190 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OshaCompliance
{
public static class Building_Trap_Detour
{
public static ushort PathFindCostFor(this RimWorld.Building_Trap trap, Verse.Pawn p)
{
if (trap.KnowsOfTrap(p))... |
ServiceFabric.ServiceBus.Services/CommunicationListeners/ServiceBusSubscriptionCommunicationListener.cs | gdodd1977/ServiceFabric.ServiceBus | 81 | 7068191 | <reponame>gdodd1977/ServiceFabric.ServiceBus
using System;
using System.Fabric;
using System.Threading.Tasks;
using Microsoft.ServiceBus.Messaging;
using Microsoft.ServiceFabric.Services.Communication.Runtime;
using Microsoft.ServiceFabric.Services.Runtime;
namespace ServiceFabric.ServiceBus.Services.CommunicationLis... |
Assets/Scripts/Utils/NGUIUtils.cs | moto2002/DinaGameClient | 1 | 7068192 | using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace Assets.Scripts.Manager
{
class NGUIUtils
{
public static UILabel AddUILabel(GameObject parentGo)
{
GameObject go = new GameObject("UILabel");
go.transform.parent = paren... |
src/Dfe.Spi.IStoreAdapter.Application/Exceptions/InvalidMappingTypeException.cs | DFE-Digital/spi-istore-adapter | 1 | 7068193 | namespace Dfe.Spi.IStoreAdapter.Application.Exceptions
{
using System;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
/// <summary>
/// Thrown when the adapter attempts to extract a <see cref="Type" /> given
/// to it by the aggregate field mappings stored in the Translatio... |
SilverlightPlayerForAMSPlayReadyTokenAuth/Source Code/Plugins.Advertising/VPAID/Targets/FrameworkElementAdTarget.cs | mayurav/azure-media-services-samples | 0 | 7068194 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using Microsoft.SilverlightMediaFramework.Plugins.Primitives.Advertising;
using Microsoft.SilverlightMediaFramework.Utilities.Extensions;
namespace Microsoft.SilverlightMediaFramework.Plugins.Advert... |
src/Orckestra.Composer.Cart/Parameters/Order/GetOrdersParam.cs | colinjacobsorckestra/BetterRetail | 5 | 7068195 | namespace Orckestra.Composer.Cart.Parameters.Order
{
public class GetOrdersParam
{
/// <summary>
/// Gets or sets the current page of orders.
/// </summary>
/// <value>
/// The page.
/// </value>
public int Page { get; set; }
/// <summary>
... |
src/WingetCreateCLI/Commands/CacheCommand.cs | jedieaston/winget-create | 208 | 7068196 | <filename>src/WingetCreateCLI/Commands/CacheCommand.cs
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license.
namespace Microsoft.WingetCreateCLI.Commands
{
using System;
using System.Diagnostics;
using System.IO;
using System.Threading.Tasks;
using CommandLine;
us... |
src/Extendable/Configuration.cs | almez/Extendable | 0 | 7068197 | using Extendable.Abstraction;
namespace Extendable
{
public class Configuration
{
#region Field Provider Configuration
public static bool IsFieldProviderRegistered => Configuration.FieldProvider != null;
public static IFieldProvider FieldProvider { set; get; }
#endregion
... |
src/CaCom/Payload/UriPayload.cs | jddanna/CaCom | 0 | 7068198 | <reponame>jddanna/CaCom<filename>src/CaCom/Payload/UriPayload.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace CaCom
{
public class UriPayload : NfcForumWellKnownTypePayload
{
public UriPrefix Prefix { get; private set; }
public string Data { get; private set; }
... |
src/Twilio.Sms/TwilioSmsRequest.cs | SwissLife-OSS/magnet | 9 | 7068199 | namespace Magnet.Providers.Twilio
{
public class TwilioSmsRequest
{
/// <summary>
/// A 34 character unique identifier for the message. May be used to later retrieve this message from the REST API
/// </summary>
public string SmsSid { get; set; }
/// <summary>
... |
SourceCode/Server/WebSvc/DGPAPISwitch.cs | alanrahn/GitHub_DGP | 0 | 7068200 | <gh_stars>0
using System;
using System.Collections.Generic;
using ApiUtil;
using ApiUtil.DataClasses;
using DGPFileStoreAPI.Folders;
using DGPFileStoreAPI.Files;
using DGPFileStoreAPI.Favorites;
using DGPFileStoreAPI.Tags;
using DGPFileStoreAPI.FileTags;
using DGPFileStoreAPI.FileShard;
using DGPAdminAPI.APIMethod;
u... |
Biz.Morsink.Rest.HttpConverter.Json.Test/TestOptions.cs | joost-morsink/Rest | 0 | 7068202 | using Microsoft.Extensions.Options;
using Newtonsoft.Json;
namespace Biz.Morsink.Rest.HttpConverter.Json.Test
{
public class TestOptions : IOptions<JsonHttpConverterOptions>
{
private readonly JsonHttpConverterOptions options;
public TestOptions()
{
var x = new JsonHttpConv... |
src/MailCheck.Intelligence.Api/Utilities/IpAddressDateRangeDetailsBuilder.cs | ukncsc/MailCheck.Public.AggregateReport | 0 | 7068203 | using System;
using System.Collections.Generic;
using System.Linq;
using MailCheck.Intelligence.Api.Domain;
namespace MailCheck.Intelligence.Api.Utilities
{
public interface IIpAddressDateRangeDetailsBuilder
{
void AddAsInfo(DateTime date, int asNumber, string description, string countryCode);
... |
DailyBuildFriend/ViewModel/Accessor/ViewReportAccessor.cs | binnmti/DailyBuildFriend | 0 | 7068204 | using DailyBuildFriend.Model;
using System.Linq;
using System.Net.Http;
using System.Text;
using System.Text.Json;
namespace DailyBuildFriend.ViewModel.Accessor
{
internal static class ViewReportAccessor
{
internal static ViewReport ToViewReport(this Report report)
=> new ViewReport()
... |
server/gameserver/realm/entity/gameobject/GameObject.Portal.cs | xoxobby/LoE-Realm-NC-2 | 2 | 7068205 | #region
using System.Collections.Generic;
#endregion
namespace LoESoft.GameServer.realm.entity
{
public partial class Portal : GameObject
{
public Portal(ushort objType, int? life)
: base(objType, life, false, true, false)
{
Usable = objType != 0x0721;
Obj... |
Sales.Views/CreateOrderConsoleView.cs | drualcman/CleanArchitectureCrearOrden | 1 | 7068206 | <filename>Sales.Views/CreateOrderConsoleView.cs<gh_stars>1-10
using System;
using Sales.ViewModels;
namespace Sales.Views
{
public class CreateOrderConsoleView
{
readonly CreateOrderViewModel Model;
public CreateOrderConsoleView(CreateOrderViewModel model) => Model = model;
public vo... |
code/structures/Plane.cs | YHiniger/ManagedX | 2 | 7068207 | using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
namespace ManagedX
{
/// <summary>A plane.</summary>
[Serializable]
[StructLayout( LayoutKind.Sequential, Pack = 4, Size = 16 )]
public struct Plane : IEquatable<Plane>
{
/// <summary>The normal of the ... |
Gravitybox.CommonUtilities/StringExtensions.cs | gravbox/GravityboxUtilities | 0 | 7068208 | <reponame>gravbox/GravityboxUtilities
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Script.Serialization;
using System.Xml;
namespace Gravitybox.CommonUtilities
{
public static class StringExtensions
{
public const ... |
src/dotnetlinkps/SingletonRepository.cs | judgie97/dotnetlink | 1 | 7068209 | <reponame>judgie97/dotnetlink
using dotnetlink;
namespace dotnetlinkps
{
internal static class SingletonRepository
{
private static NetlinkSocket _netlinkSocket;
public static NetlinkSocket getNetlinkSocket()
{
return _netlinkSocket ??= new NetlinkSocket();
}
}
... |
VideoSliderControl.cs | jingjiangtao/UnityVideoPlayerControl | 1 | 7068210 | <reponame>jingjiangtao/UnityVideoPlayerControl
using System.Collections;
using UnityEngine.EventSystems;
using UnityEngine.Video;
public class VideoSliderControl : SliderControl
{
public VideoPlayer videoPlayer;
public static long FirstFrame = 6;
public override void OnEndDrag(PointerEventData eventData)... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.