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/BingoX/BingoX.AspNetCore.Extensions/DIExtensions.cs | BingoRoom/BingoX | 0 | 7045503 | using AutoMapper;
using BingoX.AspNetCore.Extensions;
using BingoX.ExceptionProviders;
using BingoX.Generator;
using BingoX.Services;
using FluentValidation;
using FluentValidation.AspNetCore;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Micros... |
GamepadRemoteControl/XBox/ButtonState.cs | MaximStartsev/SmallUtilities | 0 | 7045504 | <filename>GamepadRemoteControl/XBox/ButtonState.cs<gh_stars>0
using MaximStartsev.GamepadRemoteControl.XBox.Events;
using MaximStartsev.GamePadRemoteControl.XBox;
using MaximStartsev.GamePadRemoteControl.XInput.Constants;
using System;
namespace MaximStartsev.GamepadRemoteControl.XBox
{
class ButtonState
{
... |
src/EasyAbp.SharedResources.Web/Pages/SharedResources/Resources/Resource/ViewModels/CreateEditResourceViewModel.cs | DosSEdo/SharedResources | 16 | 7045505 | <filename>src/EasyAbp.SharedResources.Web/Pages/SharedResources/Resources/Resource/ViewModels/CreateEditResourceViewModel.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc;
using Volo.Abp.AspNetCore.Mvc.UI.Bootstr... |
Dashing/Engine/DML/FetchTreeParser.cs | JTOne123/dashing | 57 | 7045506 | <filename>Dashing/Engine/DML/FetchTreeParser.cs
namespace Dashing.Engine.DML {
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
#if COREFX
using System.Reflection;
#endif
using Dashing.Configuration;
public class FetchTreeParser {
private readonly IC... |
Tech Module/Programming Fundamentals/Exams/RetakeExam05January2018/p01.01.Snowballs/Snowballs.cs | vesy53/SoftUni | 0 | 7045507 | <gh_stars>0
namespace p01._01.Snowballs
{
using System;
using System.Numerics;
class Snowballs
{
static void Main(string[] args)
{
int num = int.Parse(Console.ReadLine());
BigInteger maxSum = 0;
long maxSnow = 0;
long maxTime = 0;
... |
LogicMonitor.Api/Users/Role.cs | tdicks/LogicMonitor.Api | 0 | 7045508 | <gh_stars>0
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace LogicMonitor.Api.Users
{
/// <summary>
/// A LogicMonitor Role
/// </summary>
[DataContract]
public class Role : NamedItem, IHasEndpoint
{
/// <summary>
/// Requires
/// </summary>
[DataMember(Name = "requir... |
Backend/Tools/Db2Code/DbHelper/SqlBuilder/QueryWhereCollection.cs | mtalebian/basic-templates | 1 | 7045509 | <gh_stars>1-10
using System.Text;
namespace Common.Data
{
public sealed class QueryWhereCollection : ReadonlyTypeEnumerable<QueryWhere>
{
public void Add(string expr)
{
if (string.IsNullOrEmpty(expr)) return;
List.Add(new QueryWhere(expr));
}
public vo... |
BehaviourTree/Decorators/RepeaterNode.cs | ross-weir/BehaviourTree | 0 | 7045510 | <reponame>ross-weir/BehaviourTree
// <copyright file="RepeaterNode.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
namespace BT.Decorators
{
/// <summary>
/// Repeater nodes return <see cref="NodeStatus.Running"/> regardless of the result of their child.
/// </summary>
... |
src/Castle.Components.Validator.Tests/ValidatorRunnerTestCase.cs | carcer/Castle.Components.Validator | 0 | 7045511 | // Copyright 2004-2009 Castle Project - http://www.castleproject.org/
//
// 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
//
//... |
src/GameBox.Console/EventDispatcher/IStoppableEvent.cs | getgamebox/console | 0 | 7045512 | <reponame>getgamebox/console
/*
* This file is part of the GameBox package.
*
* (c) <NAME> <<EMAIL>>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Document: https://github.com/getgamebox/console
*/
namespace GameBox.Console.... |
TimeTracker/Forms/ProjectsManagement.cs | lyyka/time-tracker | 1 | 7045513 | 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;
using TimeTracker.Controllers;
using TimeTracker.Forms;
namespace TimeTracker
{
public partial class... |
Promaster.Primitives/Collections/IReadOnlyKeyedCollection.cs | promaster-sdk/primitives-cs | 0 | 7045514 | using System.Collections;
using System.Collections.Generic;
namespace Promaster.Primitives.Collections
{
public interface IReadOnlyKeyedCollection<TKey, TItem> : IEnumerable<TItem>, IEnumerable
{
TItem this[TKey key] { get; }
int IndexOf(TItem item);
int Count { get; }
}
}
|
DigitalPlatform.IO/UdpNotifier.cs | renyh/dp2 | 95 | 7045515 | <reponame>renyh/dp2
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace DigitalPlatform.IO
{
/// <summary>
/// UDP 广播通知
/// </summary>
public class UdpNotifier
... |
XboxConsole.Infrastructure/Configuration/WirelessRadioSettingsType.cs | Bhaskers-Blu-Org2/XboxConsole | 46 | 7045516 | <filename>XboxConsole.Infrastructure/Configuration/WirelessRadioSettingsType.cs
//------------------------------------------------------------------------------
// <copyright file="WirelessRadioSettingsType.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
/... |
TestFluentAssembly/TwoInterfaces.cs | santhoshramachandran/Reinforced.Typings | 0 | 7045517 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestFluentAssembly.TwoInterfaces
{
public interface IInterface1
{
IInterface2 Iface2 { get; }
}
public interface IInterface2
{
}
}
|
E.Deezer/Endpoints/GenreEndpoint.cs | AllsGamingHD/E.Deezer | 12 | 7045518 | <reponame>AllsGamingHD/E.Deezer
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using E.Deezer.Api;
using E.Deezer.Util;
using E.Deezer.Api.Internal;
namespace E.Deezer.Endpoints
{
public interface IGenreEndpoint
{
Task<IGenre>... |
easy/csharp/c0079_303_range-sum-query-immutable/00_leetcode_0079.cs | drunkwater/leetcode | 0 | 7045519 | <gh_stars>0
// DRUNKWATER TEMPLATE(add description and prototypes)
// Question Title and Description on leetcode.com
// Function Declaration and Function Prototypes on leetcode.com
//303. Range Sum Query - Immutable
//Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive.
... |
Mindstorms.Core/Commands/PowerControl/Shutdown.cs | Mortens4444/LegoMindstromsEV3 | 0 | 7045520 | using Mindstorms.Core.Enums;
namespace Mindstorms.Core.Commands.PowerControl
{
public class Shutdown : Command
{
public Shutdown()
{
data = DirectCommandNoReply;
data.AddRange(new byte[]
{
OpCode.Button,
ButtonEvent.Press,
... |
sendashApi/src/main/csharp/Dropship/Dropship/ProjectInstaller.cs | AnnAddicks/sendash | 3 | 7045521 | /*
* Created by SharpDevelop.
* User: brian
* Date: 7/31/2015
* Time: 6:29 PM
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration.Install;
using System.ServiceProcess;
names... |
src/series/EpisodeScraper/Helpers.cs | wernervn/media-apps | 0 | 7045522 | using System;
using System.Net;
using System.Threading.Tasks;
namespace EpisodeScraper
{
public static class Helpers
{
private const long SIZE_KB = 1024;
private const long SIZE_MB = SIZE_KB * SIZE_KB;
private const long SIZE_GB = SIZE_MB * SIZE_KB;
public static string GetSiz... |
BusinessLogic/SignupHandler.cs | Malia-Labor/TestBot | 0 | 7045523 | <filename>BusinessLogic/SignupHandler.cs
using Google.Apis.Sheets.v4.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BusinessLogic
{
public class SignupHandler : SheetsHandler, ISignupHandler
{
private string _appendRa... |
api/Services/ArcOnlineHttpClient.cs | agrc/daq-web-framework | 1 | 7045524 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Formatting;
using System.Threading.Tasks;
using daq_api.Contracts;
using daq_api.Formatters;
using daq_api.Models;
using daq_api.Models.WebMap;
using Serilog;
namespace daq_api.Services
{
... |
BESO.cs | AlbertLiDesign/2DBESO | 0 | 7045525 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Diagnostics;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.InteropServices;
using System.IO;
namespace BESO
{
public class BESO
{
#region Resolution
public int nelx;
public int nely;... |
src/ITCC.HTTP.API.Documentation/Enums/ObjectCountType.cs | OPEXGroup/ITCC.Library | 3 | 7045526 | <reponame>OPEXGroup/ITCC.Library
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
namespace ITCC.HTTP.API.Documentation.Enums
{
internal enum ObjectCountType
{
Single,
List,
S... |
src/Sand/Log/Log.cs | 812169562/sandcore | 2 | 7045527 | using System;
using NLog;
using Microsoft.Extensions.Logging;
using Sand.Log.Abstractions;
using Sand.Log.Core;
using Sand.Context;
using Sand.Log.Provider;
using Sand.Log.Factory;
using Sand.DI;
using Autofac;
namespace Sand.Log
{
/// <summary>
/// 日志实现
/// </summary>
public class Log : LogBase<LogCo... |
Testeos/Assets/KinematicSoup/SceneFusion/Extensions/TerrainComposer2/Editor/TerrainComposer2Extension.cs | AndresM2/Kryssing | 2 | 7045528 | <reponame>AndresM2/Kryssing<filename>Testeos/Assets/KinematicSoup/SceneFusion/Extensions/TerrainComposer2/Editor/TerrainComposer2Extension.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using UnityEngine;
using UnityEditor;
using KS.SceneFusion.API;
#... |
WebServices/WebServices/Views/Home/Summary.cshtml | jimidark/pro-aspnet-mvc-5-fifth-edition | 0 | 7045529 | @model IEnumerable<WebServices.Models.Reservation>
<div class="panel-heading">Reservation Summary</div>
<div class="panel-body">
<table class="table table-striped table-condensed table-responsive">
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th>Locat... |
progressTree/extensions/Timing.cs | atmoos/commands | 0 | 7045530 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
namespace progressTree.extensions
{
public sealed class Interval : IAsyncEnumerable<TimeSpan>
{
private readonly Int32 intervals;
private readonly TimerStr... |
Tests/SpecialTestCases/CyclicTypeReferences.cs | SMazu/JSIL | 980 | 7045532 | using System;
using JSIL.Meta;
public static class Program {
public static void Main (string[] args) {
Console.WriteLine(A.GetB());
Console.WriteLine(B.GetC());
Console.WriteLine(C.GetA());
}
public static int Double (int x) {
return x * 2;
}
}
public static class A {
... |
tests/generator/bug27430.cs | luhenry/xamarin-macios | 0 | 7045534 | <filename>tests/generator/bug27430.cs
using System;
using System.Drawing;
using MonoTouch.ObjCRuntime;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
namespace Bug27430
{
delegate void SomeHandler (int @int, string @string, NSError @namespace);
delegate void SomeHandler2 (NSDictionary[] @switch, string[] @case... |
SystemProgramming-2/lab3/oop_lab3_forms/Form1.Designer.cs | smithros/kpi-stuff | 21 | 7045535 | <reponame>smithros/kpi-stuff
namespace oop_lab3_forms
{
partial class Form1
{
/// <summary>
/// Обязательная переменная конструктора.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Освободить все используемые ресурсы... |
SIL.WritingSystems/Migration/LdmlInFolderWritingSystemRepositoryMigrator.cs | elisunger/libpalaso | 36 | 7045536 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using SIL.Migration;
using SIL.WritingSystems.Migration.WritingSystemsLdmlV0To1Migration;
using SIL.WritingSystems.Migration.WritingSystemsLdmlV2To3Migration;
namespace SIL.WritingSystems.Migration
{
public class LdmlInFolderWritingSy... |
HomeControl/Thepagedot.Rhome.HomeMatic/Models/SystemNotification.cs | Thepagedot/Rhome | 2 | 7045537 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Thepagedot.Rhome.Base.Models;
namespace Thepagedot.Rhome.HomeMatic.Models
{
public class SystemNotification : Message
{
}
}
|
src/DotnetSpider.Downloader.Test/TestDownloader.cs | jeraytang/DotnetSpider | 1 | 7045538 | namespace DotnetSpider.Downloader.Test
{
public class TestDownloader : Downloader
{
protected override Response DownloadContent(Request request)
{
return new Response() { Request = request, Content = "aabbcccdefg下载人数100" };
}
}
}
|
DICOM [Unit Tests]/DicomPersonNameTest.cs | modiCAS/fo-dicom | 32 | 7045539 | <reponame>modiCAS/fo-dicom<filename>DICOM [Unit Tests]/DicomPersonNameTest.cs
using Dicom;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Text;
namespace DICOM__Unit_Tests_
{
/// <summary>
///This is a test class for DicomPersonNameTest and is intended
///to conta... |
src/SharpLearning.Containers.Test/CertaintyPredictionTest.cs | JamesChCh2/SharpLearning | 344 | 7045540 | <reponame>JamesChCh2/SharpLearning
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace SharpLearning.Containers.Test
{
[TestClass]
public class CertaintyPredictionTest
{
readonly CertaintyPrediction m_sut = new CertaintyPrediction(1.0, 0.4);
readonly CertaintyPrediction m_equal =... |
EDFI.Modules.Search/Extensions/LuceneExtensions.cs | Ed-Fi-Exchange-OSS/WISE-Search | 0 | 7045542 | using System;
using Lucene.Net.Documents;
namespace EDFI.Modules.Search.Extensions
{
public static class LuceneExtensions
{
public static string ToLuceneDateString(this DateTime? dateTime)
{
return dateTime.HasValue
? dateTime.ToLuceneDateString()
... |
Code/Light.Serialization.Json/ComplexTypeConstruction/DefaultMetaFactory.cs | feO2x/Light.Serialization | 1 | 7045543 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Light.GuardClauses;
using Light.Serialization.Abstractions;
namespace Light.Serialization.Json.ComplexTypeConstruction
{
/// <summary>
/// Represents the default <see cref="IMetaFacto... |
MTGAHelper.Web.Models/Response/User/UserCustomScraperListResponse.cs | robaxelsen/MTGAHelper-Windows-Client | 0 | 7045544 | <reponame>robaxelsen/MTGAHelper-Windows-Client
using MTGAHelper.Entity;
using System.Collections.Generic;
namespace MTGAHelper.Web.UI.Model.Response
{
public class UserCustomScraperListResponse
{
public ICollection<ScraperDto> ScrapersByType { get; set; }
public UserCustomScraperListResponse(... |
Snittlistan.Web/Areas/V2/Views/MatchResult/Details.cshtml | dlidstrom/Snittlistan | 1 | 7045545 | @model ResultViewModel
<div class="row">
<div class="span4">
@Html.DisplayFor(model => Model.HeaderViewModel, "Header")
</div>
</div>
<div class="row">
<div class="span6">
@Html.DisplayFor(model => Model.ResultReadModel, "ResultSeriesReadModel")
</div>
</div>
|
Caf.Midden.Cli/Program.cs | canyonriverfarms/Midden | 10 | 7045546 | <filename>Caf.Midden.Cli/Program.cs
using Caf.Midden.Cli.Actions;
using Caf.Midden.Cli.Models;
using Caf.Midden.Cli.Services;
using System.CommandLine;
namespace Caf.Midden.Cli
{
class Program
{
static int Main(string[] args)
{
ConfigurationService configReader = new ConfigurationS... |
src/DBC/Models/ApplicationExtensions.cs | Anderman/DBC | 0 | 7045547 | using System;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.Data.Entity;
using Microsoft.Extensions.DependencyInjection;
namespace DBC.Models.DB
{
public s... |
SurveyApp.Web/Areas/Identity/Data/ApplicationUser.cs | serhatyuna/survey-app | 5 | 7045548 | <filename>SurveyApp.Web/Areas/Identity/Data/ApplicationUser.cs
using Microsoft.AspNetCore.Identity;
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace SurveyApp.Web.Areas.Identity.Data
{
public class ApplicationUser : IdentityUser
{
[PersonalData]
[Column(TypeName = "nvarchar(100)")]
... |
src/Nerdbank.Algorithms/NodeConstraintSelection/BadConstraintException`1.cs | AArnott/Nerdbank.Algorithms | 6 | 7045549 | <gh_stars>1-10
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Nerdbank.Algorithms.NodeConstraintSelection
{
using System;
using System.Runtime.Serialization;
/// <summary>
/// An exception thrown when s... |
Manta.Tests/Vector4Tests.cs | scsewell/Manta | 0 | 7045550 | <filename>Manta.Tests/Vector4Tests.cs<gh_stars>0
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Manta.Tests
{
[TestClass]
public class Vector4Tests
{
private static void ApproxEqual(Vector4 a, Vector4 b, float tolerance = 0.0001f)
{
Assert.AreEqual(a.x, b.x, tole... |
UniversalCLIProvider/Internals/ContextDefaultAction.cs | TheMinefighter/UniversalCLIProvider | 0 | 7045551 | <filename>UniversalCLIProvider/Internals/ContextDefaultAction.cs
using System;
using JetBrains.Annotations;
using UniversalCLIProvider.Attributes;
using UniversalCLIProvider.Interpreters;
namespace UniversalCLIProvider.Internals {
public class ContextDefaultAction {
[NotNull]
public Action<ContextInterpreter> Inter... |
src/Restriktor.Tests/Core/NamespaceModelTests.cs | vfrz/Restriktor | 0 | 7045552 | using System;
using NFluent;
using Restriktor.Core;
using Xunit;
namespace Restriktor.Tests.Core
{
public class NamespaceModelTests
{
[Fact]
public void Constructor_OnePart_Ok()
{
var model = new NamespaceModel(new[] {"System"});
Check.That(model.Parts).CountIs(... |
MultiFunPlayer/VideoSource/MediaResource/Modifier/ViewModels/UriToLocalMediaPathModifierViewModel.cs | barrettj/MultiFunPlayer | 0 | 7045553 | using Newtonsoft.Json;
using PropertyChanged;
using System.IO;
using System.Net;
using MultiFunPlayer.Common;
using Microsoft.WindowsAPICodePack.Dialogs;
using System.Net.Http;
using System.ComponentModel;
namespace MultiFunPlayer.VideoSource.MediaResource.Modifier.ViewModels;
[DisplayName("Uri To Local")]
[JsonObje... |
Core/OpenStory/Common/Game/Gender.cs | shoftee/OpenStory | 21 | 7045554 | <reponame>shoftee/OpenStory<filename>Core/OpenStory/Common/Game/Gender.cs<gh_stars>10-100
using System;
namespace OpenStory.Common.Game
{
/// <summary>
/// The gender of a user.
/// </summary>
[Serializable]
public enum Gender
{
/// <summary>
/// Male gender.
/// </summ... |
ECode.Data.SQLite/SQLiteTable.cs | gz-chenzd/ECode | 10 | 7045555 | <filename>ECode.Data.SQLite/SQLiteTable.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using Microsoft.Data.Sqlite;
namespace ECode.Data.SQLite
{
public class SQLiteTable<TEntity> : DbTable<TEntity>
... |
BookLibrary.Models/Person.cs | githelga/BookLibrary | 0 | 7045556 | <filename>BookLibrary.Models/Person.cs
using BookLibrary.Models.Common;
namespace BookLibrary.Models
{
public abstract class Person : BaseEntity
{
public string FirstName { get; set; }
public string SecondName { get; set; }
public string MiddleName { get; set; }
}
} |
Code/CMSApplication/Models/OrderModels.cs | ducanhtk5/RimSigns | 0 | 7045557 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using CMS.Data;
using System.Web.Mvc;
using CMS.Service.Repository;
namespace CMSApplication.Models
{
public class OrderModels
{
public int Id { get; set; }
public string OrderByName { get; set; }
... |
xFunc.Maths/Tokenization/Lexer.KeywordToken.cs | workgroupengineering/xFunc | 0 | 7045558 | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Runtime.CompilerServices;
using static xFunc.Maths.Tokenization.TokenKind;
namespace xFunc.Maths.Tokenization;
/// <summary>
/// The lexer for mathematical ... |
Assets/Nighthollow/Rules/RuleEditorSheetDelegate.cs | thurn/nighthollow | 2 | 7045559 | // Copyright © 2020-present <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
// https://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in w... |
Project-Aurora/Project-Aurora/Settings/Layers/Control_PercentLayer.xaml.cs | ematt/Aurora | 20 | 7045560 | <reponame>ematt/Aurora<gh_stars>10-100
using System;
using System.Globalization;
using System.Windows.Controls;
using System.Windows.Data;
namespace Aurora.Settings.Layers {
public partial class Control_PercentLayer : UserControl {
public Control_PercentLayer() {
InitializeComponen... |
src/Shiny.Beacons/Platforms/Uwp/BeaconBackgroundTask.cs | manutdkid77/shiny | 1,035 | 7045561 | <filename>src/Shiny.Beacons/Platforms/Uwp/BeaconBackgroundTask.cs
using System;
using Windows.ApplicationModel.Background;
namespace Shiny.Beacons
{
public class BeaconBackgroundTask : IBackgroundTaskProcessor
{
readonly BackgroundTask task;
public BeaconBackgroundTask(BackgroundTask task) =>... |
src/SwaggerConfigurationExtension/SwaggerStartupConfigureServices.cs | pedrovasconcellos/SwaggerConfigurationExtension | 7 | 7045562 | <gh_stars>1-10
using Microsoft.Extensions.DependencyInjection;
using System.Collections.Generic;
using System.IO;
using Microsoft.OpenApi.Models;
namespace Swashbuckle.SwaggerConfigurationExtension
{
public class SwaggerStartupConfigureServices
{
private readonly IServiceCollection ServiceColle... |
src/MvpApi.Common/Models/AwardConsiderationQuestionModel.cs | LanceMcCarthy/MvpApi | 33 | 7045563 | namespace MvpApi.Common.Models
{
/// <summary>
/// Model for the MVP award consideration questions.
/// </summary>
public class AwardConsiderationQuestionModel
{
/// <summary>
/// Gets or sets the AwardQuestionId.
/// </summary>
public string AwardQuestionId { get; s... |
SmartButler.Logic/ViewModels/BluetoothPageViewModel.cs | BrayanKhosravian/SmartButler | 5 | 7045564 | using System.Linq;
using System.Threading.Tasks;
using System.Windows.Input;
using ReactiveUI;
using SmartButler.Framework.Bluetooth;
using SmartButler.Logic.Common;
using SmartButler.Logic.Interfaces;
using SmartButler.Logic.ViewModels.BaseViewModels;
namespace SmartButler.Logic.ViewModels
{
public class Blueto... |
sdk/dotnet/test/Microsoft.Datasync.Client.Test/Offline/SyncContext.Test.cs | fileman/azure-mobile-apps | 0 | 7045565 | <filename>sdk/dotnet/test/Microsoft.Datasync.Client.Test/Offline/SyncContext.Test.cs<gh_stars>0
// Copyright (c) Microsoft Corporation. All Rights Reserved.
// Licensed under the MIT License.
using Datasync.Common.Test;
using Datasync.Common.Test.Mocks;
using Datasync.Common.Test.Models;
using Microsoft.Datasync.Clien... |
Assets/Shaders/Shaders/Editor/AdvancedCelShader_Water.cs | AbbyTheRat/Ravenfall-Legacy | 3 | 7045566 | using UnityEngine;
using UnityEditor;
public class AdvancedCelShader_Water : ShaderGUI {
override public void OnGUI (MaterialEditor materialEditor, MaterialProperty[] properties) {
Material material;
MaterialProperty _DeepWaterColor;
MaterialProperty _ShorelineColor;
MaterialProp... |
src/Osc/Cluster/TaskManagement/ListTasks/ListTasksResponse.cs | MaxKsyunz/opensearch-net | 1 | 7045567 | <filename>src/Osc/Cluster/TaskManagement/ListTasks/ListTasksResponse.cs
/* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. Se... |
src/EMRG/Web/Areas/DepartmentAdmin/Pages/Courses/Create.cshtml.cs | rustyblade32/Emrg | 0 | 7045568 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Mvc.Rendering;
using Data.Persistence;
using Domain;
using Data.Core;
using Microsoft.AspNetCore.Identity;
namespace We... |
Runtime/Core/GameObjectHierarchy.cs | againey/MakeIt.Core | 2 | 7045569 | /******************************************************************************\
* Copyright <NAME> *
* *
* Licensed under the Apache License, Version 2.0 (the "License"); *
... |
MyMod/TheShelledOne/FeedbackCardController.cs | kree1/BartKFSentinels | 1 | 7045570 | <gh_stars>1-10
using Handelabra;
using Handelabra.Sentinels.Engine.Controller;
using Handelabra.Sentinels.Engine.Model;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BartKFSentinels.TheShelledOne
{
public class FeedbackCardController : Bl... |
src/DmnEngine/Ast/Add.cs | rumata28/dmn-net-engine | 7 | 7045572 | <reponame>rumata28/dmn-net-engine
namespace Softengi.DmnEngine.Ast
{
public class Add : IExpression
{
public Add(IExpression addend1, IExpression addend2)
{
Addend1 = addend1;
Addend2 = addend2;
}
public IExpression Addend1, Addend2;
public void Accept(AstVisitor v)
{
v.VisitAdd(this);
}
}
... |
src/MdcBlazor/Components/MdcComponentHelper.cs | exentials/MdcBlazor | 2 | 7045573 | <filename>src/MdcBlazor/Components/MdcComponentHelper.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Exentials.MdcBlazor
{
internal static class MdcComponentHelper
{
public static string CreateId()
{
... |
OpenXRGen/Evergine.Bindings.OpenXR/Generated/Commands.cs | ehtick/OpenXR.NET | 0 | 7045574 | using System;
using System.Runtime.InteropServices;
namespace Evergine.Bindings.OpenXR
{
public static unsafe partial class OpenXRNative
{
[UnmanagedFunctionPointer(CallConv)]
private delegate XrResult xrGetInstanceProcAddrDelegate(XrInstance instance, byte* name, IntPtr function);
private static xrGetInstance... |
CsvEditSharp/ViewModels/SelectConfiturationDialogViewModel.cs | muratoflu/CsvEditSharp | 14 | 7045575 | <filename>CsvEditSharp/ViewModels/SelectConfiturationDialogViewModel.cs<gh_stars>10-100
using CsvEditSharp.Bindings;
using CsvEditSharp.Models;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Windows.Input;
namespace CsvEditSharp.ViewModels
{
public class SelectConfiguration... |
src/L4-application/BoSSSpad/ReadEvalPrintLoop.cs | FDYdarmstadt/BoSSS | 22 | 7045576 | /* =======================================================================
Copyright 2017 Technische Universitaet Darmstadt, Fachgebiet fuer Stroemungsdynamik (chair of fluid dynamics)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
... |
Receiver/CommentSplitter.cs | Engin-Boot/review-case-s22b1 | 0 | 7045577 | <filename>Receiver/CommentSplitter.cs
using System.Collections.Generic;
namespace Receiver
{
public class CommentSplitter
{
/// <summary>
/// splitting the text and storing the splitted words into the list
/// </summary>
/// <param name="wordCountMap"></param>
/// <param name="comment"></param>
/// ... |
Swashbuckle.Dummy.Core/Controllers/DictionaryTypesController.cs | rvegajr/Swashbuckle | 2,988 | 7045578 | using System;
using System.Collections.Generic;
using System.Web.Http;
namespace Swashbuckle.Dummy.Controllers
{
public class DictionaryTypesController : ApiController
{
[Route("term-definitions")]
public IDictionary<Term, string> GetTermDescriptions()
{
throw new NotImplem... |
Superbot/Source/SuperBot/Controllers/HealthCheckController.cs | Infosys/Intelligent-Bot-Management- | 0 | 7045579 | /****************************************************************
Copyright 2021 Infosys Ltd.
Use of this source code is governed by Apache License Version 2.0 that can be found in the LICENSE file or at
http://www.apache.org/licenses/
***************************************************************/
using Info... |
EditorExtensions/Images/Sprite/SpriteExporter.cs | mlh457/WebEssentials2013 | 412 | 7045580 | <filename>EditorExtensions/Images/Sprite/SpriteExporter.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
namespace MadsKristensen.EditorExtensions.Images
{
internal cl... |
KodeUI-Unity/Assets/KodeUI/UIToggle.cs | net-lisias-ksph/KodeUI | 2 | 7045581 | <reponame>net-lisias-ksph/KodeUI<filename>KodeUI-Unity/Assets/KodeUI/UIToggle.cs
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.Events;
using UnityEngine.EventSystems;
namespace KodeUI
{
public class UIToggle : UIObject
{
protected UIImage checkMark;
protected Image image;
... |
Comments/Models/EF/OrganisationUser.cs | nice-digital/consultations | 3 | 7045582 | using System;
using System.Collections.Generic;
namespace Comments.Models
{
public partial class OrganisationUser
{
public int OrganisationUserId { get; set; }
public Guid AuthorisationSession { get; set; }
public string EmailAddress { get; set; }
public int OrganisationAuthoris... |
Assets/scripts/playerController.cs | Skyfront117/Project-Isolation | 0 | 7045583 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class PlayerController : MonoBehaviour
{
public GameObject mainCamera;
public GameObject bulletSpawner;
public Animator animator;
Rigidbody2D rb2D;
public GameObject bullet;
... |
tests/Transform.Managed.Tests/CodeHelper.cs | samcragg/Autocrat | 0 | 7045585 | namespace Transform.Managed.Tests
{
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using Autocrat.Abstractions;
using Autocrat.Transform.Managed.CodeRewriting;
using FluentAssertions;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using... |
Promotion/GloboTicket.Promotion/Acts/ActInfo.cs | michaellperry/GloboTickets | 1 | 7045586 | <filename>Promotion/GloboTicket.Promotion/Acts/ActInfo.cs
using Microsoft.AspNetCore.Http;
using System;
namespace GloboTicket.Promotion.Acts
{
public class ActInfo
{
public Guid ActGuid { get; set; }
public string Title { get; set; }
public IFormFile Image { get; set; }
public ... |
src/Envoy.Control/Server/AggregatedDiscoveryService.cs | novaworksau/envoy-csharp-control-plane | 6 | 7045587 | <filename>src/Envoy.Control/Server/AggregatedDiscoveryService.cs
using System.Threading.Tasks;
using Envoy.Api.V2;
using Grpc.Core;
namespace Envoy.Control.Server
{
public class AggregatedDiscoveryService : Service.Discovery.V2.AggregatedDiscoveryService.AggregatedDiscoveryServiceBase
{
private readonl... |
AsyncRx.NET/System.Reactive.Async.Core/System/Reactive/AsyncObservableBase.cs | benutomo-dev/reactive | 2,966 | 7045588 | <gh_stars>1000+
// 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.Threading.Tasks;
namespace System.Reactive
{
public abstract class AsyncObservab... |
Scripts/Editor/bl_ScriptCreatorSettingsEditor.cs | BrinerLovo/unity-script-creator | 0 | 7045589 | using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using UnityEngineInternal;
using UnityEditorInternal;
namespace Lovatto.EditorTools.ScriptCreator
{
[CustomEditor(typeof(bl_ScriptCreatorSettings))]
public class bl_ScriptCreatorSettingsEditor : Editor
{
bl_ScriptCreatorSettings script;
... |
sourcefiles/src/FreeLauncher/ApplicationConfiguration.cs | anycraft/Launcher | 0 | 7045590 | namespace FreeLauncher
{
public class ApplicationConfiguration
{
public bool CheckLauncherUpdates { get; set; } = true;
public bool SkipAssetsDownload { get; set; }
public bool EnableGameLogging { get; set; } = true;
public bool CloseTabAfterSuccessfulExitCode { get; set; } = tr... |
IAttendanceWebAPI/App_Start/MappingProfile.cs | ducmeit1/iattendance-webapi2-for-mobile | 1 | 7045591 | <gh_stars>1-10
using AutoMapper;
using IAttendanceWebAPI.Core.Dtos;
using IAttendanceWebAPI.Core.Entities;
namespace IAttendanceWebAPI
{
public class MappingProfile : Profile
{
public MappingProfile()
{
CreateMap<User, UserDto>();
CreateMap<TimeTable, StudentTimeTableDt... |
EfsTools/Mbn/MbnExtractor.cs | Kalanyr/EfsTools | 5 | 7045592 | <gh_stars>1-10
using System;
using System.IO;
using System.Linq;
using System.Text;
using EfsTools.Resourses;
using ELFSharp.ELF;
namespace EfsTools.Mbn
{
internal class MbnExtractorException : Exception
{
public MbnExtractorException(string message)
: base(message)
{
... |
src/ISO8601/TimeDuration.cs | nharren/ISO-8601 | 0 | 7045593 | using System.ISO8601.Abstract;
using System.ISO8601.Internal.Parsers;
using System.ISO8601.Internal.Serializers;
namespace System.ISO8601
{
public class TimeDuration : Duration
{
private readonly double _hours;
private readonly double? _minutes;
private readonly double? _seconds;
... |
src/AzureIntegration/test/Microsoft.Extensions.ApplicationModelDetection.Tests/AppModelTests.cs | assyadh/AspNetCore | 24 | 7045594 | <reponame>assyadh/AspNetCore
// // Copyright (c) .NET Foundation. All rights reserved.
// // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
using Microsoft.AspNetCore.Hosting;
using Xunit;
namespace Microsoft.Extensions.Appl... |
resources/.gen/aws/aws/ILaunchTemplateInstanceMarketOptionsSpotOptions.cs | scottenriquez/cdktf-alpha-csharp-testing | 0 | 7045595 | <reponame>scottenriquez/cdktf-alpha-csharp-testing
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
[JsiiInterface(nativeType: typeof(ILaunchTemplateInstanceMarketOptionsSpotOptions), fullyQualifiedName: "aws.LaunchTemplateInstanceMarketOptionsSpotOptions")]
publi... |
homework 3/SimpleFTP/SimpleFTPProtocol/ProtocolSource/Methods.cs | dpanfilyonok/244.math.spbu-III | 0 | 7045596 | using System;
namespace ProtocolSource
{
/// <summary>
/// Avaliable methods of SimpleFTP protocol
/// </summary>
public enum Methods
{
/*
Формат запроса:
<1: Int> <path: String>
path — путь к директории
Формат ответа:
<size: Int> (<n... |
src/ModalMais.Transferencia/ModalMais.Transferencia.Api/DTOs/ExtratoResponse.cs | YatoEbisu/Desafio-MicroservicesBanco | 0 | 7045598 | <filename>src/ModalMais.Transferencia/ModalMais.Transferencia.Api/DTOs/ExtratoResponse.cs<gh_stars>0
using System;
using System.Collections.Generic;
namespace ModalMais.Transferencia.Api.DTOs
{
public class ExtratoResponse
{
public string NumeroConta { get; set; }
public string NumeroAgencia {... |
Dates.Recurring/Type/IRecurring.cs | rars/Dates.Recurring | 0 | 7045599 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dates.Recurring.Type
{
public interface IRecurring
{
DateTime? Next(DateTime after);
}
}
|
Multimedia/OpenAL/AlcGetInteger.cs | HLSW/DeltaEngine | 81 | 7045600 | <filename>Multimedia/OpenAL/AlcGetInteger.cs
namespace DeltaEngine.Multimedia.OpenAL
{
internal enum AlcGetInteger
{
MajorVersion = 4096,
MinorVersion,
AttributesSize,
AllAttributes,
CaptureSamples = 786,
EfxMajorVersion = 131073,
EfxMinorVersion,
EfxMaxAuxiliarySends,
}
} |
CodeGenerator/CodeGenerator/FrmMain.Designer.cs | xasealand-org2/QueueSystem | 1 | 7045601 | <reponame>xasealand-org2/QueueSystem
namespace CodeGenerator
{
partial class FrmMain
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param... |
clients/csharp-nancyfx/generated/src/Org.OpenAPITools/Models/InputStepImpllinks.cs | PankTrue/swaggy-jenkins | 23 | 7045602 | <reponame>PankTrue/swaggy-jenkins
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Sharpility.Extensions;
using NodaTime;
namespace Org.OpenAPITools..Models
{
/// <summary>
/// InputStepImpllinks
/// </summary>
public sealed class InputStepImpllinks: IEquatable... |
Projetos/AppGallery/AppGallery/AppGallery/App.xaml.cs | Abner37/Xamarin-Forms | 0 | 7045603 | <reponame>Abner37/Xamarin-Forms
using System;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace AppGallery
{
public partial class App : Application
{
public App()
{
InitializeComponent();
//var pagina = new NavigationPage(new XamarinForms.Paginas.PaginaDeNavegac... |
src/AddIns/BackendBindings/WixBinding/Project/Src/PropertyGrid/WixXmlAttributeTypeDescriptor.cs | dongdapeng110/SharpDevelopTest | 11 | 7045604 | <reponame>dongdapeng110/SharpDevelopTest
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
using System;
using System.Collections;
using System.Collections.Generic;
using Syste... |
Xamarin.Forms.Platform.LibUI/Platform.cs | zhongzf/Xamarin.Forms.Platform.LibUI | 1 | 7045605 | <reponame>zhongzf/Xamarin.Forms.Platform.LibUI<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms.Internals;
using UI = Xamarin.Forms.Platform.LibUI.Controls;
namespace Xamarin.Forms.Platform.LibUI
{
public class Platform : BindableOb... |
CSharp/One/Transforms/CollectInheritanceInfo.cs | onelang/OneLang-CrossCompiled | 2 | 7045606 | using One.Ast;
using One;
namespace One.Transforms
{
public class CollectInheritanceInfo : ITransformer
{
public string name { get; set; } = "CollectInheritanceInfo";
public CollectInheritanceInfo()
{
// C# fix
this.name = "CollectInheritanceInfo";
... |
BosonNLP/Helpers/RateLimitHelper.cs | hupo376787/BosonNLP | 0 | 7045607 | <gh_stars>0
///This code is written by https://github.com/hupo376787
///Please add this comment when you change my code
///Thanks, happy coding!!!
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BosonNLP.H... |
SIMPL SHARP/Specialelektronik.Products.Sennheiser.Devices/SlMcrDw Handlers/SlMcrDwDeviceHandler.cs | Specialelektronik/Sennheiser | 11 | 7045608 | using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Specialelektronik.Products.Sennheiser.SscLib;
namespace Specialelektronik.Products.Sennheiser
{
/// <summary>
/// Contains features, properties and events regarding the device.
/// </sum... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.