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 |
|---|---|---|---|---|
Serenity.Script.UI/EntityDialog/EntityDialog_Save.cs | davidzhang9990/SimpleProject | 0 | 7029933 | using jQueryApi;
using System;
using System.Runtime.CompilerServices;
using System.Collections;
using System.Collections.Generic;
namespace Serenity
{
public abstract partial class EntityDialog<TEntity, TOptions> : TemplatedDialog<TOptions>
where TEntity : class, new()
where TOptions : class, new(... |
src/NxtTipbot/Transferables.cs | libertyswede/NxtTipbot | 0 | 7029935 | <reponame>libertyswede/NxtTipbot<filename>src/NxtTipbot/Transferables.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text.RegularExpressions;
namespace NxtTipbot
{
public interface ITransferables
{
ReadOnlyCollection<NxtTransfer... |
src/CricketTeams.Domain/Models/Players/BowlingTypes.cs | yavaka/CricketTeams | 3 | 7029936 | namespace CricketTeams.Domain.Models.Players
{
using CricketTeams.Domain.Common;
public class BowlingTypes : Enumeration
{
public static readonly BowlingTypes FastBowling = new BowlingTypes(1, "Fast bowling");
public static readonly BowlingTypes SpinBowling = new BowlingTypes(2, "Spin bowl... |
Excel.Images/Images.cs | HiraokaHyperTools/ImageMso | 0 | 7029937 | //------------------------------------------------------------------------------
// <copyright file="Images.cs" company="<NAME>">
// Copyright © 2013 <NAME>
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising ... |
Views/Home/RegistrationSuccess.cshtml | dot-sent/TauManager | 3 | 7029938 | <div class="text-center"><h1>Registration successful</h1></div>
<div>Before you can login with your new credentials, please contact Dotsent in-game via <a href="https://alpha.taustation.space/email/write/dotsent">email</a> or chat for account verification and activation.</div> |
Desafios/C Sharp/Desafios - Banco Carrefour Woman Developer/PUM/solucao.cs | FelipeChaparim/desafios-DIO | 1 | 7029939 | // PUM
/*
Desenvolva um programa que leia um valor inteiro N. Este N refere-se à quantidade de linhas de saída que serão apresentadas na execução do programa.
Entrada
O arquivo de entrada contém um número inteiro positivo N.
Saída
Imprima a saída conforme o exemplo fornecido.
Exemplo de Entrada Exemplo de Saída
... |
src/OrchardCore.Modules/OrchardCore.BackgroundTasks/Views/BackgroundTask/Create.cshtml | tanriverdim/OrchardCore | 6 | 7029940 | <gh_stars>1-10
@model BackgroundTaskViewModel
<h1>@RenderTitleSegments(T["Edit Task Settings"])</h1>
<div asp-validation-summary="ModelOnly"></div>
<form asp-action="Create" method="post">
<div class="form-group" asp-validation-class-for="Name">
<label asp-for="Name">@T["Name"]</label>
<input asp... |
src/Mediate.BackgroundEventDispatch/HostedService/EventDispatcherService.cs | dementcore/Mediate | 2 | 7029941 | // File: EventDispatcherService.cs
// The MIT License
//
// Copyright (c) 2021 DementCore
//
// 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 limitat... |
Aju.Carefree.Dto/ItemDto.cs | mzhongl524/Aju.Carefree | 0 | 7029942 | namespace Aju.Carefree.Dto
{
public class ItemDto
{
public ItemDto()
{
ParentId = "0";
IsEnabled = true;
}
public string Id { get; set; }
public string ParentId { get; set; }
public string FullName { get; set; }
public string En... |
Courses 2016-spring/C#Fundamentals/Homework03_Operators and Expressions/OperatorsAndExpressions_03/11_3rdBit/Program.cs | nmarazov/TA-Homework | 0 | 7029943 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _11_3rdBit
{
class Program
{
static void Main(string[] args)
{
uint n = uint.Parse(Console.ReadLine());
uint mask = 1 << 3;
Console.... |
DataAccessCommon/DataAccessLayer/IEntity.cs | bewood/OpenAdStack | 1 | 7029944 | <filename>DataAccessCommon/DataAccessLayer/IEntity.cs<gh_stars>1-10
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IEntity.cs" company="Rare Crowds Inc">
// Copyright 2012-2013 <NAME>, Inc.
//
// Licensed under the Apache... |
src/SimpleTracer/Exposing/ISubscriptionContainer.cs | btungut/SimpleTracer | 4 | 7029945 | <filename>src/SimpleTracer/Exposing/ISubscriptionContainer.cs
using System;
using System.Collections.Generic;
using System.Diagnostics.Tracing;
using System.Text;
namespace SimpleTracer
{
/// <summary>
/// Exposes various methods to manage <see cref="ISubscriptionHandler"/> instances which was created and bui... |
source/Testing/EfEagerLoad.Benchmarks/Benchmarks/General.cs | jsaret/EfEagerLoad | 2 | 7029946 | using System;
using System.Collections.Generic;
using System.Linq;
using BenchmarkDotNet.Attributes;
using BenchmarkDotNet.Order;
using EfEagerLoad.Benchmarks.Data;
using EfEagerLoad.Benchmarks.Model;
using EfEagerLoad.Common;
using EfEagerLoad.Engine;
using EfEagerLoad.Extensions;
using Microsoft.EntityFrameworkCore;... |
Programming Basics Book/ex5Page136DataTypesVariables/Program.cs | stanislavstoyanov99/Technician-University-Projects | 0 | 7029947 | using System;
namespace ex5Page136DataTypesVariables
{
class Program
{
static void Main(string[] args)
{
char symbol = 'H'; // H in DEC is 72 and in Hex is 48
Console.WriteLine((int)symbol);
}
}
}
|
Runtime/PlayableAssets/UseImageMarker.cs | PixelWizards/StreamingImageSequence | 0 | 7029948 | <reponame>PixelWizards/StreamingImageSequence
using System;
using UnityEngine.Playables;
using UnityEngine.Timeline;
namespace UnityEngine.StreamingImageSequence {
[Serializable]
[CustomStyle("UseImageMarker")]
[HideInMenu]
internal class UseImageMarker : Marker, INotification {
//-------------------------... |
src/InstancesRepository.cs | fnicollet/i3dm.export | 0 | 7029949 | <reponame>fnicollet/i3dm.export<filename>src/InstancesRepository.cs
using Dapper;
using Npgsql;
using System.Collections.Generic;
using Wkx;
namespace i3dm.export
{
public static class InstancesRepository
{
public static List<Instance> GetInstances(NpgsqlConnection conn, string geometry_table, Point f... |
BaarDanaTraderPOS/Screens/LedgerReportViewer.cs | NasirAziz/NoorInternationalMobileShop | 0 | 7029950 | using Microsoft.Reporting.WinForms;
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 BaarDanaTraderPOS.Screens
{
public partial class Ledge... |
src/ParkrunMap.Data.Mongo/MongoModule.cs | kevbite/ParkrunMap | 4 | 7029951 | <gh_stars>1-10
using System;
using Autofac;
using MongoDB.Driver;
using ParkrunMap.Domain;
namespace ParkrunMap.Data.Mongo
{
public class MongoModule : Module
{
protected override void Load(ContainerBuilder builder)
{
builder.RegisterType<UpsertParkrun.Handler>().AsImplementedInter... |
2016-08-10-aster-sql/AsterSql.Core/Data/Fake/FakeSqlLanguage.cs | vain0x/playground | 0 | 7029952 | <gh_stars>0
using System;
using System.Text.RegularExpressions;
namespace AsterSql.Data.Fake
{
public class FakeSqlLanguage
: SqlLanguage
{
static readonly Regex _identifier =
new Regex(@"^[a-zA-Z_]\w*$");
public override bool IsRawIdentifier(string identifier)
{
... |
DNN Platform/DotNetNuke.Web/UI/WebControls/Internal/DnnScriptBlock.cs | pmsereno/Dnn.Platform | 0 | 7029954 | //
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System.IO;
using System.Text;
using System.Web.UI;
using System.Web.UI.WebControls;
using DotNetNuke.Framework;
namespace DotNetNuke.Web.UI.WebCont... |
EventSourceProxy.Tests/TracingProxyTests.cs | jonwagner/EventSourceProxy | 75 | 7029955 | <reponame>jonwagner/EventSourceProxy
using System;
using System.Collections.Generic;
using System.Diagnostics.Tracing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace EventSourceProxy.Tests
{
[TestFixture]
public class TracingProxyTests : BaseLoggingTe... |
Source/Mosa.Platform.x64/Stages/LongOperandStage.cs | robot9706/MOSA-Project | 0 | 7029956 | <reponame>robot9706/MOSA-Project<gh_stars>0
// Copyright (c) MOSA Project. Licensed under the New BSD License.
using Mosa.Compiler.Framework;
using Mosa.Compiler.Framework.IR;
using System;
using System.Diagnostics;
namespace Mosa.Platform.x64.Stages
{
/// <summary>
/// 64bit IR Transformation Stage
/// </summary>... |
3-Business/3-Modules/lm.Comol.Core.BaseModules/ProfileManagement/Presentation/Management/View/IViewMailProfilePolicy.cs | EdutechSRL/Adevico | 1 | 7029957 | <reponame>EdutechSRL/Adevico
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using lm.Comol.Core.Authentication;
using lm.Comol.Core.DomainModel;
using lm.Comol.Core.BaseModules.CommunityManagement;
using lm.Comol.Core.Communities;
namespace lm.Comol.Core.BaseModules.ProfileManag... |
Musician Module/Controls/Instrument/Bass/BassPreview.cs | itsShoww/Blish-HUD-Modules | 0 | 7029958 | <reponame>itsShoww/Blish-HUD-Modules
using System;
using Blish_HUD.Controls.Intern;
using static Nekres.Musician_Module.MusicianModule;
namespace Nekres.Musician_Module.Controls.Instrument
{
public class BassPreview : IInstrumentPreview
{
private BassNote.Octaves _octave = BassNote.Octaves.Low;
... |
src/Deeply.Tests/Fixtures/TaskContextFeature.cs | jsnape/deeply | 17 | 7029959 | #region Copyright (c) 2013 <NAME>
// <copyright file="TaskContextFeature.cs" company="<NAME>">
// Copyright 2013 <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:... |
src/EliteChroma.Core/Layers/HyperspaceLayer.Particle.cs | bjoernweimer/EliteChroma | 0 | 7029960 | <reponame>bjoernweimer/EliteChroma<filename>src/EliteChroma.Core/Layers/HyperspaceLayer.Particle.cs
using System;
using System.Diagnostics;
using Colore.Data;
using Colore.Effects.ChromaLink;
using Colore.Effects.Headset;
using Colore.Effects.Keyboard;
using Colore.Effects.Keypad;
using Colore.Effects.Mouse;
using Col... |
src/ExRam.Gremlinq.Core/Steps/LogicalStep.cs | BlacktopSoftwareStudios/ExRam.Gremlinq | 140 | 7029961 | <reponame>BlacktopSoftwareStudios/ExRam.Gremlinq<gh_stars>100-1000
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
namespace ExRam.Gremlinq.Core.Steps
{
public abstract class LogicalStep<TStep> : Step
where TStep : LogicalStep<TStep>
{
protected Logical... |
source/R5T.S0030/Code/Operations/O001A_DescribeServiceComponents.cs | SafetyCone/R5T.S0030 | 0 | 7029962 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using R5T.T0020;
namespace R5T.S0030
{
[OperationMarker]
public class O001A_DescribeServiceComponents : IOperation
{
private ILogger Logger { get... |
src/Sudoku.Core/Concepts/Solving/ExocetElimination.cs | Sunnie-Shine/Sudoku | 15 | 7029963 | <filename>src/Sudoku.Core/Concepts/Solving/ExocetElimination.cs
namespace Sudoku.Concepts.Solving;
/// <summary>
/// Represents a data structure that describes the eliminations that are created and proved
/// by the exocet technique.
/// </summary>
/// <param name="Eliminations">Indicates the eliminations.</param>
//... |
Assets/onTopOfPlayer.cs | JKClaytonDev/WorldTour | 0 | 7029964 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class onTopOfPlayer : MonoBehaviour
{
public bool playerCamera;
public GameObject player;
public Vector3 change;
public bool includeY;
// Start is called before the first frame update
void Start()
{
... |
FaceRecognition/Views/People/Details.cshtml | CynoteckLabs/AzureAI-FaceRecognitionDemo | 0 | 7029965 | @model Microsoft.ProjectOxford.Face.Contract.Person
@{
ViewBag.Title = "Details";
}
<h2>Person details</h2>
<div>
<hr />
<dl class="dl-horizontal">
<dt>
<label asp-for="PersonId"></label>
</dt>
<dd>
@Html.DisplayFor(model => model.PersonId)
</dd>
... |
libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/Actions/EditArray.cs | rggammon/botbuilder-dotnet | 0 | 7029966 | <reponame>rggammon/botbuilder-dotnet
// Licensed under the MIT License.
// Copyright (c) Microsoft Corporation. All rights reserved.
using System;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Bot.Expressions;
using Newtonsoft.Json;
usi... |
DLCS.Repository/Assets/NamedQueryRepository.cs | dlcs/protagonist | 2 | 7029967 | <gh_stars>1-10
using System;
using System.Linq;
using System.Threading.Tasks;
using DLCS.Core.Strings;
using DLCS.Model.Assets;
using DLCS.Model.Assets.NamedQueries;
using DLCS.Repository.Caching;
using LazyCache;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Caching.Memory;
using Microsoft... |
WDDevice/ControlTasks/TaskBase.cs | busyDuckman/WDLib | 0 | 7029968 | /* ---------------------------------------------------------------------------------------------------------------------------------------
* (C) 2019, Dr <NAME>.
* This file is subject to the terms and conditions defined in the included file 'LICENSE.txt'
* ------------------------------------------------------... |
src/Razor/src/Microsoft.VisualStudio.LanguageServerClient.Razor/HtmlCSharp/DefaultLSPDiagnosticsTranslator.cs | genlu/aspnetcore-tooling | 0 | 7029969 | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT license. See License.txt in the project root for license information.
using System;
using System.Composition;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Razor.LanguageServer.Common;
using Microsoft.V... |
Assets/Scripts/MouseUtilitiesGradationManager.cs | limvi-licef/Mouse | 0 | 7029970 | /*Copyright 2022 <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 agreed to in writing, software
distribut... |
src/Fritz.TwitchChatArchive/Messages/CompletedStream.cs | csharpfritz/TwitchChatArchive | 5 | 7029971 | using System;
using System.Collections.Generic;
using System.Text;
namespace Fritz.TwitchChatArchive.Messages
{
[Serializable]
public class CompletedStream
{
public string ChannelId { get; set; }
public string ChannelName { get; set; }
public string VideoId { get; set; }
[NonSerialized]
public stati... |
src/Gemini.Demo/Modules/SampleBrowser/Module.cs | florenzetti/gemini | 866 | 7029972 | <reponame>florenzetti/gemini
using System.ComponentModel.Composition;
using System.Threading.Tasks;
using Caliburn.Micro;
using Gemini.Demo.Modules.SampleBrowser.ViewModels;
using Gemini.Framework;
namespace Gemini.Demo.Modules.SampleBrowser
{
[Export(typeof(IModule))]
public class Module : ModuleBase
{
... |
MedARProject/Assets/Scripts/InformationManager.cs | Ozelotl/MedicalARProject | 0 | 7029973 | //Lars
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.Events;
/// <summary>
/// show/hide information on UI
/// </summary>
public class InformationManager : SingletonMonoMortal<InformationManager... |
Controllers/InventoryController.cs | seanbass/InventoryDash | 0 | 7029974 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using InventoryDash.DAL;
using InventoryDash.Models;
using System.Dynamic;
using System.Data.Entity.Core;
using System.Data.Entity.Core.O... |
Tools/LineSegment.cs | darusam/GeospatialTools | 0 | 7029975 | using CDMSmith.GeospatialTools.Geo;
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
namespace CDMSmith.GeospatialTools.Tools
{
public class LineSegment
{
public static IEnumerable<Segment> Execute(CDMSmith.GeospatialTools.Geo.IGeometry feature)
{
... |
Code/Library/PackageCache/com.unity.2d.animation@2.2.1-preview.2/Runtime/Triangle/Voronoi/VoronoiBase.cs | MandyMY/HalloweenCandies | 0 | 7029976 | // -----------------------------------------------------------------------
// <copyright file="VoronoiBase.cs">
// Original Triangle code by <NAME>, http://www.cs.cmu.edu/~quake/triangle.html
// Triangle.NET code by <NAME>, http://triangle.codeplex.com/
// </copyright>
// ------------------------------------------... |
GActivityDiary.Core/Models/Tag.cs | DrGennadius/GActivityDiary | 0 | 7029977 | <reponame>DrGennadius/GActivityDiary<filename>GActivityDiary.Core/Models/Tag.cs
using System;
namespace GActivityDiary.Core.Models
{
/// <summary>
/// A label attached to someone or something for the purpose of identification or to give other information.
/// </summary>
public class Tag : IEntity
... |
engenious.ContentTool/Builder/BuildFile.cs | TheBlubb14/engenious.ContentTool | 0 | 7029978 | <filename>engenious.ContentTool/Builder/BuildFile.cs
using System;
using System.Collections.Generic;
using System.IO;
using engenious.Content;
using engenious.Content.Serialization;
using engenious.Pipeline;
namespace engenious.ContentTool.Builder
{
[Serializable]
public class BuildFile
{
public s... |
src/Tributech.DataSpace.TwinAPI/Utils/SwaggerUtils.cs | tributech-solutions/tributech-twin-api | 8 | 7029979 | using System;
using System.IO;
using System.Linq;
using System.Reflection;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.OpenApi.Models;
using Tributech.DataSpace.TwinAPI.Extensions;
using Tributech.Data... |
DDDSample.Test/MoneySpecs.cs | AnnaLviv/DDDSample | 0 | 7029980 | using DDDSample.Logic;
using FluentAssertions;
using System;
using Xunit;
using static DDDSample.Logic.Money;
namespace DDDSample.Test
{
public class MoneySpecs
{
[Fact]
public void SumOfTwoMoneysProducesCorrectResult()
{
// Arrange
var moneyOne = new Money(1, 2... |
Code/Mediators/Gui/MainMenuMediator.cs | Hyiero/KeepOnRolling | 0 | 7029981 | using UnityEngine;
using System.Collections;
using strange.extensions.mediation.impl;
using Views;
using Signals;
namespace Mediators
{
public class MainMenuMediator : EventMediator
{
#region Injectors
[Inject]
public IMainMenuView view { get; set; }
[Inject]
public La... |
API Models/LolChampSelectChampSelectSession.cs | Chobocharles/LCU.NET | 7 | 7029982 | <reponame>Chobocharles/LCU.NET
namespace LCU.NET.API_Models
{
public class LolChampSelectChampSelectSession
{
public LolChampSelectChampSelectAction[][] actions { get; set; }
public bool allowBattleBoost { get; set; }
public bool allowDuplicatePicks { get; set; }
public bool allo... |
Maybe/Utilities/ByteConverter.cs | jurajvt/Maybe | 55 | 7029983 | using System.IO;
namespace Maybe.Utilities
{
/// <summary>
/// Helper class to abstract serializing objects to bytes.
/// </summary>
public static class ByteConverter
{
/// <summary>
/// Given a serializable object, returns the binary serialized representation of that obj... |
KeePassFingerprintPlugin/FingerprintPlugin/OptionsForm.cs | fabiocbr75/KeePassFingerprint | 9 | 7029985 | <reponame>fabiocbr75/KeePassFingerprint<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Windows.Forms;
using WinBioNET;
... |
src/Mute/Expressions/UnaryConvertExpression.cs | GeirGrusom/daemos | 3 | 7029986 | // This file is licensed under the MIT open source license
// https://opensource.org/licenses/MIT
namespace Daemos.Mute.Expressions
{
using Antlr4.Runtime;
public class UnaryConvertExpression : UnaryExpression
{
public UnaryConvertExpression(DataType resultType, Expression operand, ParserRuleCont... |
src/Others/reCAPTCHA/sample/TestWebApp/Models/TestEmailNewsletterSignup/TestEmailNewsletterViewModel.cs | JavierCanon/Google-Recaptcha-Asp.net | 0 | 7029987 | using System.ComponentModel.DataAnnotations;
namespace TestWebApp.Models.TestEmailNewsletterSignup
{
public class TestEmailNewsletterViewModel
{
[Required]
[Display(Name = "Name")]
public string Name { get; set; }
[Required]
[EmailAddress]
[Display(Name = "Emai... |
Examples/CSharp/Viewers-Visualizers/Document-Explorer/ViewerForm.cs | Aspose/Aspose.Words-for-.NET | 7 | 7029988 | <gh_stars>1-10
using System;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using Aspose.Words;
using Aspose.Words.Rendering;
namespace DocumentExplorerExample
{
/// <summary>
/// A simple form to show a Word document using Aspose.Words.Viewer.
/// </summary>
public class ViewerForm : System.Wi... |
Unity_Mathematics_Extensions/Assets/Scripts/Utilities/MathExtensions.cs | GCodergr/Unity_Mathematics_Extensions | 2 | 7029989 | <reponame>GCodergr/Unity_Mathematics_Extensions
using System;
using UnityEngine;
namespace Utilities
{
public static class MathExtensions
{
/// <summary>
/// Returns a clamped value between min and max
/// </summary>
/// <param name="val">Current value</param>
/// <para... |
service/src/InstructorIQ.Core/Data/Queries/EmailDeliveryExtensions.cs | ejsmith/InstructorIQ | 0 | 7029990 | <reponame>ejsmith/InstructorIQ<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace InstructorIQ.Core.Data.Queries
{
/// <summary>
/// Query extensions for entity <see cref="InstructorIQ.Core.Data.Entities.Ema... |
sources/Interop/Windows/Windows/um/prsht/PSH.cs | reflectronic/terrafx.interop.windows | 0 | 7029991 | <reponame>reflectronic/terrafx.interop.windows<filename>sources/Interop/Windows/Windows/um/prsht/PSH.cs<gh_stars>0
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/prsht.h in the Windows SDK for Windows 10.0.22000.0
... |
EllipticBit.Controls.WPF/ButtonGroupPanel.cs | ellipticbit/controls | 1 | 7029992 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.D... |
Sources/Core/Microsoft.StreamProcessing/Operators/Multicast/ConnectableStreamableBase.cs | AlgorithmsAreCool/Trill | 844 | 7029993 | <reponame>AlgorithmsAreCool/Trill
// *********************************************************************
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License
// *********************************************************************
using System;
using System.Diagnostics.Cont... |
ASP.NET Core/04. Working With Data/WorkingWithData/DemoApp/Views/Files/Index.cshtml | emilia98/SoftUni-CSharp-Web | 0 | 7029994 | <reponame>emilia98/SoftUni-CSharp-Web
@{
ViewData["Title"] = "Index";
}
<div>
<h1 class="display-3 text-center">Index</h1>
<div>
<a class="btn btn-success" asp-controller="Files" asp-action="UploadFile">Upload File</a>
<a class="btn btn-danger" asp-controller="Files" ... |
src/Riok.Mapperly/Descriptors/Mappings/LinqEnumerableMapping.cs | Xen0byte/mapperly | 148 | 7029995 | <reponame>Xen0byte/mapperly
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using static Microsoft.CodeAnalysis.CSharp.SyntaxFactory;
using static Riok.Mapperly.Emit.SyntaxFactoryHelper;
namespace Riok.Mapperly.Descriptors.Mappings;
/// <summary>
/// Represents an enumerable mapping which wo... |
src/Tiledriver.Core.Tests/FormatModels/Xlat/Reading/XlatLexerTests.cs | davidaramant/tiledriver | 0 | 7029997 | <reponame>davidaramant/tiledriver
// Copyright (c) 2021, <NAME>
// Distributed under the 3-clause BSD license. For full terms see the file LICENSE.
using System.IO;
using System.Linq;
using System.Text;
using Tiledriver.Core.FormatModels.Common.Reading;
using Xunit;
namespace Tiledriver.Core.Tests.FormatModels.Xla... |
SourceCode/Source/Core.Development/EventEditor/SEUndoUnitEventEdit.cs | ckalvin-hub/Sheng.Winform.IDE | 227 | 7029998 | /*********************************************
作者:曹旭升
QQ:279060597
访问博客了解详细介绍及更多内容:
http://blog.shengxunwei.com
**********************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sheng.SailingEase.ComponentModel... |
src/Airlock.Hive.Database/ColumnBuffer.cs | SamuelFisher/Airlock.Hive | 4 | 7029999 | // Copyright (C) 2018 <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 agreed to... |
Assets/Plugins/Unity Essentials - SymLinks/Scripts/Extensions/ExtList.cs | usernameHed/Philae-Lander | 0 | 7030001 | using System.Collections.Generic;
namespace UnityEssentials.symbolicLinks.extensions
{
/// <summary>
/// extension of list
/// </summary>
public static class ExtList
{
/// <summary>
/// return true if a given list contain a given index.
/// if an item is found, index is the... |
Shell.NET/Util/BashResult.cs | phil-harmoniq/Shell.NET | 32 | 7030002 | using System;
namespace Shell.NET.Util
{
/// <summary>
/// Simple container for the results of a Bash command.</summary>
public class BashResult
{
/// <summary>
/// The command's standard output as a string. (if redirected)</summary>
public string Output { get; private set; }
... |
egg/TimeVersion.cs | inmount/e | 1 | 7030003 | using System;
using System.Collections.Generic;
using System.Text;
namespace egg {
/// <summary>
/// 一套根据时间线自动增长的版本号,使用此版本号可有效体现项目的消耗时间
/// 格式为 年份序号.月份序号.年月标记.创建序号
/// 年份序号:代表项目的年份跨度,如1.0.1908.3中的1代表项目为现年建立的,而3.4.1908.23中的3则代表从项目建立后有三个不同年份参与到项目的修订当中
/// 月份序号:代表项目的本年度参与月份跨度,如1.0.1908.3中的0代表项目为本年的当... |
Kindergarten/Kindergarten/ViewModels/SingInVM.cs | AlexanderAndrenko/Univer-programming--project- | 0 | 7030004 | <reponame>AlexanderAndrenko/Univer-programming--project-
using Kindergarten.Models;
using Kindergarten.ViewModels.Commands;
using Kindergarten.Views;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Task... |
src/ConnectorEdgeModule/ConfigureConnectorSettings.cs | ivomp/iotcon-opc-ua-connector-dotnet | 0 | 7030005 | <reponame>ivomp/iotcon-opc-ua-connector-dotnet
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Options;
using OMP.Connector.Domain.Configuration;
namespace OMP.Connector.EdgeModule
{
public class ConfigureConnectorSettings : IConfigureNamedOptions<ConnectorConfiguration>
{
private... |
Source/SchedulingStrategies/Operations/OperationType.cs | chandramouleswaran/PSharp | 0 | 7030006 | //-----------------------------------------------------------------------
// <copyright file="OperationType.cs">
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WAR... |
src/Tufan.Web.UI/Startup.cs | TufanOzdemir/BusTicket | 0 | 7030007 | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using System;
using System.Linq;
using System.Net.Http;
using Tufan.Common.Abstraction;
u... |
Models/Tables/Standard/AdmissionType.cs | amenkes/HL7Parser | 0 | 7030008 | <filename>Models/Tables/Standard/AdmissionType.cs
using System.Collections.Generic;
namespace HL7Data.Models.Tables.Standard
{
public sealed class AdmissionType : ITableInfo
{
private static ITableInfo InstanceData => new AdmissionType();
public static ITableInfo Instance => InstanceData;
... |
Assets/Scripts/2D/FocusedPolityListPanelScript.cs | Zematus/Worlds | 54 | 7030009 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FocusedPolityListPanelScript : MonoBehaviour
{
public FocusedPolityPanelScript FocusedPolityPanelPrefab;
private List<FocusedPolityPanelScript> _activePanels = new List<FocusedPolityPanelScript>();
private List<F... |
ClimatesOfFerngillV2/Resources/Letter.cs | ImJustMatt/SDVMods | 6 | 7030010 | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using StardewValley;
namespace TwilightShards.ClimatesOfFerngillV2
{
public static class Letter
{
/// <summary>The sprite sheet containing the letter sprites.</summary>
public static Texture2D Sheet => Game1.content.Load<Te... |
Carometro-BackEnd/Senai.Carometro.WebApi/Senai.Carometro.WebApi/Domains/Ocorrecias.cs | fabioferro54815/BackEnd-Carometro | 0 | 7030011 | <filename>Carometro-BackEnd/Senai.Carometro.WebApi/Senai.Carometro.WebApi/Domains/Ocorrecias.cs
using System;
using System.Collections.Generic;
namespace Senai.Carometro.WebApi.Domains
{
public partial class Ocorrecias
{
public int IdOcorrecia { get; set; }
public string Descricao { get; set; ... |
Src/Microsoft.Dynamic/Actions/DefaultBinder.Invoke.cs | ufuomaoritsemone/ironpPython1 | 0 | 7030012 | <gh_stars>0
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System.Linq.Expressions;
using System;
using System.Collections.Generic;
using System.Diag... |
IceBuilder_Common/IVsProjectHelperFactory.cs | pepone/ice-builder-visualstudio | 32 | 7030013 | // **********************************************************************
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//
// **********************************************************************
using Microsoft.VisualStudio.Shell.Interop;
namespace IceBuilder
{
public interface IVsProjectHelperFactory
... |
Assets/Tutorial1.cs | JoshuaBrookover/LD34-Heist | 0 | 7030014 | using UnityEngine;
using System.Collections;
public class Tutorial1 : MonoBehaviour {
public GameObject Text1;
public GameObject Text2;
public GameObject Text3;
public GameObject Focus1;
public GameObject Focus2;
public GameObject ButtonIcon1;
public GameObject ButtonIcon2;
int state ... |
JsGenerator/JsGeneratorLib/Node.cs | nobiruwa/js-ast-csharp | 0 | 7030015 | using System;
using Newtonsoft.Json;
namespace JsGeneratorLib
{
public abstract class Node : INode
{
[JsonProperty(Order = 1)]
public string type {
get {
return this.GetType ().Name;
}
}
public SourceLocation loc {
get;
... |
XControls/Core/Lerp.cs | nirex0/XControls | 0 | 7030016 | // By Nirex @ github.com/nirex0
using System;
using System.ComponentModel;
namespace XControls.Core
{
public delegate void LerpEventHandler(object sender, float value);
public class Lerp
{
private readonly BackgroundWorker LerpWorker = new();
private float internalValue;... |
src/System.Waf/Samples/BookLibrary/BookLibrary.Reporting.Presentation/Properties/Resources.Designer.cs | pskpatil/waf | 0 | 7030017 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.261
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>... |
Bermuda.S3Saturator/S3Saturator.cs | melnx/Bermuda | 8 | 7030018 | <reponame>melnx/Bermuda
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Bermuda.Interface;
using System.Diagnostics;
using Amazon.S3;
using Amazon;
using Amazon.S3.Model;
using System.IO.Compression;
using System.IO;
using System.Net;
using System.Web;
using Sys... |
Application/EdFi.Security.DataAccess/Contexts/SecurityContext.cs | varumug/Ed-Fi-ODS | 0 | 7030019 | <gh_stars>0
// SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more information.
using System.Data.Entity;
using EdFi.... |
Luckyu.V1/Luckyu.Utility/DataModel/IWFNodeProcess.cs | yezi34880/LuckyuWeb | 1 | 7030020 | <filename>Luckyu.V1/Luckyu.Utility/DataModel/IWFNodeProcess.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Luckyu.Utility
{
public interface IWFNodeProcess
{
/// <summary>
/// 审批前验证
/// </summary>
... |
Mapping Tools/Classes/Tools/EditorReaderStuff.cs | Bollehumus32/Mapping_Tools | 0 | 7030021 | using Editor_Reader;
using Mapping_Tools.Classes.BeatmapHelper;
using Mapping_Tools.Classes.Exceptions;
using Mapping_Tools.Classes.SystemTools;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using System.Threading.Tas... |
Assets/EditorScript/Controller/Service/WwwService/Request/Enemy/GetEnemy.cs | kicholen/GamePrototype | 0 | 7030022 | using Newtonsoft.Json;
public class GetEnemy : WwwRequest {
public EnemyModel Component;
public GetEnemy(long id) {
urlData.Add("ships");
urlData.Add(id.ToString());
}
public override void ParseResult() {
Component = JsonConvert.DeserializeObject<EnemyModel>(resu... |
Tests/Fluxor.UnitTests/StateSelectionTests/TestsBase.cs | mrpmorris/fluxor | 0 | 7030023 | using Moq;
namespace Fluxor.UnitTests.StateSelectionTests
{
public class TestsBase
{
protected readonly IStateSelection<string, char?> Subject;
protected readonly Mock<IFeature<string>> MockFeature = new();
protected string FeatureState = "---";
public TestsBase()
{
MockFeature.SetupGet(x => x.State).... |
labelImage/labelImage/XmlTools.cs | CMUbme2018/labelImage | 0 | 7030024 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace labelImage
{
class XmlTools
{
public List<RemarkRectangleNode> rectangleNodes;
public string imageName;
public void SaveXMLFilesAsLabelImageF... |
sdk/src/Services/XRay/Generated/Model/ServiceStatistics.cs | ChristopherButtars/aws-sdk-net | 1,705 | 7030025 | /*
* 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 copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
src/SwedbankPay.Sdk/PaymentOrders/PayerResponse.cs | zunkas/swedbank-pay-sdk-dotnet | 9 | 7030026 | <filename>src/SwedbankPay.Sdk/PaymentOrders/PayerResponse.cs
using System;
namespace SwedbankPay.Sdk.PaymentOrders
{
/// <summary>
/// Resource to access the Payer information on a payment order.
/// </summary>
public class PayerResponse : Identifiable
{
/// <summary>
///... |
ECSConcepts/Assets/MovementStressTest/PlanetsAndAstrpoids/Scripts/MonoBehavior/GeneratePlanets.cs | toastmalone/ECSConcepts | 0 | 7030027 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Unity.Mathematics;
[RequireComponent(typeof (MeshFilter))]
[RequireComponent(typeof (MeshRenderer))]
public class GeneratePlanets : MonoBehaviour
{
public float Radius;
[Range(1,99)]
public int Density;
p... |
source/FFImageLoading.Common/Work/ITarget.cs | klaaspolinder/FFImageLoading | 0 | 7030028 | using System;
using System.Threading.Tasks;
namespace FFImageLoading.Work
{
public interface ITarget<TBitmap, TImageLoaderTask>
where TImageLoaderTask: IImageLoaderTask
{
bool IsValid { get; }
bool IsTaskValid(TImageLoaderTask task);
bool UsesSameNativeControl(TImageLoaderTask task);
void Set(TImageLoa... |
GenshinPray/Type/YSRareType.cs | copyersteam/GenshinPray | 48 | 7030029 | <reponame>copyersteam/GenshinPray<filename>GenshinPray/Type/YSRareType.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GenshinPray.Type
{
public enum YSRareType
{
其他 = 0, 二星 = 2, 三星 = 3, 四星 = 4, 五星 = 5
}
}
|
Goats Vs Llamas/Assets/Scripts/Movement_2D_Left_Right.cs | PablitoXGames/GoatsVsLlamas | 0 | 7030030 | using UnityEngine;
using System.Collections;
public class Movement_2D_Left_Right : MonoBehaviour {
public float Speed = 0f;
private float movex = 0f;
private float movey = 0f;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void FixedUpdate () {
movex = 1f;
movey = ... |
artzilla.sharp.lib/artzilla.sharp.lib/BkgOp/TaskRepeater.cs | RuBeArtZilla/ArtZilla.Sharp.Lib | 1 | 7030031 | <filename>artzilla.sharp.lib/artzilla.sharp.lib/BkgOp/TaskRepeater.cs
using System;
using System.Threading;
using System.Threading.Tasks;
namespace ArtZilla.Net.Core {
// todo: ...
/// <summary> Represent a background repeated task </summary>
[Obsolete("dev in process")]
public class TaskRepeater {
public Time... |
tools/generator/Tests/expected.ji/CSharpKeywords/Xamarin.Test.CSharpKeywords.cs | grendello/java.interop | 0 | 7030033 | using System;
using System.Collections.Generic;
using Android.Runtime;
using Java.Interop;
namespace Xamarin.Test {
// Metadata.xml XPath class reference: path="/api/<EMAIL>='<EMAIL>']/class[@name='CSharpKeywords']"
[global::Android.Runtime.Register ("xamarin/test/CSharpKeywords", DoNotGenerateAcw=true)]
public pa... |
encog-core-cs/App/Analyst/Script/Prop/ScriptProperties.cs | leeohalloran/encog-dotnet-core | 27 | 7030034 | //
// Encog(tm) Core v3.3 - .Net Version
// http://www.heatonresearch.com/encog/
//
// Copyright 2008-2014 Heaton Research, Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
/... |
uStableObject.Utilities/Utilities/GoPool.cs | instance-id/uStableObject | 0 | 7030035 | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace uStableObject.Utilities
{
public class GoPool : MonoBehaviour
{
#region Input Data
#endregion
#region Members
Dictionary<GameObject, St... |
src/FluentTimeSeries/Internal/Fn/GaussianRandom.cs | gebirgslok/FluentTimeSeries | 1 | 7030036 | using System;
namespace FluentTimeSeries.Internal.Fn;
internal class GaussianRandom : IFt
{
private readonly GaussianRandomConfiguration _p;
public GaussianRandom(GaussianRandomConfiguration p)
{
_p = p;
}
public double Apply(TimeSpan t)
{
//Code taken from https://stackover... |
Assets/Scripts/ChangeBackground.cs | angelinag/Otlas | 1 | 7030037 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ChangeBackground : MonoBehaviour
{
private string currentBackground;
//All of our different backgrounds
public GameObject darkForest;
public GameObject rockyHills;
public GameObject peacefulMountains;
... |
UnitTest/UnitTestLogin.cs | Roberth17/6B-RobertoCarlosRmz | 0 | 7030038 | <reponame>Roberth17/6B-RobertoCarlosRmz
using LoginSB;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UnitTest
{
[TestClass]
public class UnitTestLogin
{
public UnitTe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.