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 |
|---|---|---|---|---|
FhirToDataLake/test/Microsoft.Health.Fhir.Synapse.Schema.UnitTests/FhirSchemaManagerTests.cs | microsoft/FHIR-Analytics-Pipelines | 36 | 7052042 | <reponame>microsoft/FHIR-Analytics-Pipelines
// -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// --------------... |
VSproject/Modulo2IA_CBR_Telemoveis/Views/Home/Sobre.cshtml | marceloqueiros/cbr-smartphone-cost-evaluation | 0 | 7052043 | <reponame>marceloqueiros/cbr-smartphone-cost-evaluation<filename>VSproject/Modulo2IA_CBR_Telemoveis/Views/Home/Sobre.cshtml
@{
ViewBag.Title = "Sobre";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>Sobre</h2>
<br/>
A avaliação de telemóveis usados revela-se importante para qualquer pessoa que desej... |
Peoneer.Library.Tests/Messages/TimeStampedMessageTests.cs | ojji/peoneer | 0 | 7052044 | <filename>Peoneer.Library.Tests/Messages/TimeStampedMessageTests.cs
using System;
using NUnit.Framework;
using Peoneer.Library.Core;
using Peoneer.Library.Messages;
namespace Peoneer.Library.Tests.Messages
{
[TestFixture]
public class TimeStampedMessageTests
{
private static readonly DateTime Test... |
sdk/dotnet/Run/V1/Outputs/DomainMappingSpecResponse.cs | AaronFriel/pulumi-google-native | 44 | 7052045 | <reponame>AaronFriel/pulumi-google-native
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pu... |
Assets/NalydRenderer/Editor/NalydInspector.cs | stevenjr518/Sequence-Renderer | 0 | 7052046 | using UnityEditor;
using UnityEngine;
using UnityEngine.SceneManagement;
[CustomEditor(typeof(AnimationRenderer))]
public class NalydInspector : Editor
{
public float TotalFrames;
public string Path;
AnimationRenderer animationRenderer;
GUIStyle renderButtonStyle;
//GUIStyle LinkButtonStyle;
... |
PlutoRover/Navigation/IMovementStrategy.cs | segvan/pluto-rover | 0 | 7052047 | using PlutoRover.Models;
namespace PlutoRover.Navigation
{
internal interface IMovementStrategy
{
Position TurnRight(Position position);
Position TurnLeft(Position position);
Position MoveForward(Position position, PlanetInformation planetInformation);
Position MoveBack(Posi... |
Packages/com.alelievr.mixture/Editor/Utils/MixtureDebugWindow.cs | jjmac/Mixture | 607 | 7052048 | <reponame>jjmac/Mixture<gh_stars>100-1000
using UnityEditor;
using UnityEngine;
using System.Collections.Generic;
using System;
using System.Linq;
namespace Mixture
{
public class MixtureDebugWindow : EditorWindow
{
Vector2 scrollPosition;
[MenuItem("Window/Analysis/Mixture Debugger")]
publi... |
src/Itinero.Transit/CSA/ILocationProvider.cs | xivk/Itinero-Transit | 0 | 7052049 | using System;
using System.Collections.Generic;
using Itinero.Transit.CSA.ConnectionProviders.LinkedConnection;
using Itinero.Transit.CSA.LocationProviders;
namespace Itinero.Transit.CSA
{
/// <summary>
/// An ILocationProvider is responsible for the conversion of location-URI's into coordinates and
/// is... |
Persistence/NHPersistence/NHAccountDAO.cs | brheringer/FinancialControl | 0 | 7052050 | <filename>Persistence/NHPersistence/NHAccountDAO.cs
using FinancialControl.Model;
using NHibernate;
using NHibernate.Criterion;
using System;
using System.Collections.Generic;
namespace FinancialControl.Persistence.NHPersistence
{
public class NHAccountDAO
: NHibernateDAO<Account>, AccountDAO
{
publi... |
native-net-drone-monitor/frmSettings.Designer.cs | faizainur/native-net-drone-monitor | 0 | 7052051 | <reponame>faizainur/native-net-drone-monitor
#region Copyright Syncfusion Inc. 2001-2018.
// Copyright Syncfusion Inc. 2001-2018. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// <EMAIL>. Any infringement will b... |
Content.Shared/GameObjects/EntitySystems/SharedGasTileOverlaySystem.cs | Hughgent/space-station-14 | 0 | 7052052 | <gh_stars>0
using System;
using Robust.Shared.GameObjects;
using Robust.Shared.GameObjects.Systems;
using Robust.Shared.Map;
using Robust.Shared.Maths;
using Robust.Shared.Serialization;
namespace Content.Shared.GameObjects.EntitySystems
{
public abstract class SharedGasTileOverlaySystem : EntitySystem
{
... |
sources/SloCovidServer/SloCovidServer/Mappers/EpisariWeeklyMapper.cs | slo-covid-19/data-api | 3 | 7052053 | using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Threading.Tasks;
using SloCovidServer.Models;
namespace SloCovidServer.Mappers
{
public class EpisariWeeklyMapper : Mapper
{
internal EpisariPerAgeBucket ConvertTo... |
Pattern/Interator/Container.cs | PUPA42/Pattern | 2 | 7052054 | <reponame>PUPA42/Pattern
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pattern.Iterator
{
interface IContainer
{
Iterator GetIterator();
}
}
|
LEXS Search Retrieve Service Implementation/LexsSearchRetrieveCommon/AmountType.cs | gtri-iead/LEXS-NET-Sample-Implementation-4.0 | 0 | 7052055 | namespace Lexs4SearchRetrieveWebService
{
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("WscfGen", "1.0.0.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[Syste... |
NoNickAds/SamplePlugin/Misc.cs | Qidan475/NoNickAds | 0 | 7052056 | <reponame>Qidan475/NoNickAds
using Exiled;
using Exiled.API;
using Exiled.API.Features;
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace NoNickAds
{
public static class Misc
{
private static readonly Regex regexSmartLinkReplacer = new Regex(@"\... |
LG.LMS.TestesDeInterface.Infraestrutura/ConfiguracaoDeTela.cs | murillodesu/TesteInterfaceLMS | 0 | 7052057 | //-----------------------------------------------------------------------
// <copyright file="ConfiguracaoDeTela.cs" company="LG Sistemas">
// Copyright © LG Sistemas. All rights reserved.
// TODOS OS DIREITOS RESERVADOS.
// </copyright>
//------------------------------------------------------------------... |
StoreApp/SUI/StartMenu.cs | 210215-USF-NET/Ulices_Esqueda_P0 | 0 | 7052058 | using System;
using SBL;
namespace SUI
{
public class StartMenu : IMenu
{
private IStoreBL _storeBL;
public StartMenu(IStoreBL storeBL){
_storeBL = storeBL;
}
//Handles the beginning and deternimes if a person is a customer or manager.
public void Start(){
... |
src/TinyHelpers.AspNetCore/Swagger/DefaultResponseOperationFilter.cs | marcominerva/TinyNetHelpers | 2 | 7052059 | <reponame>marcominerva/TinyNetHelpers
using Microsoft.OpenApi.Models;
using Swashbuckle.AspNetCore.SwaggerGen;
namespace TinyHelpers.AspNetCore.Swagger;
internal class DefaultResponseOperationFilter : IOperationFilter
{
public void Apply(OpenApiOperation operation, OperationFilterContext context)
=> oper... |
src/CookBook/CookBook.Mobile/Converters/UnitToStringConverter.cs | jasho/cookbook-maui | 0 | 7052060 | <filename>src/CookBook/CookBook.Mobile/Converters/UnitToStringConverter.cs
using CommunityToolkit.Maui.Converters;
using CookBook.Common.Enums;
using CookBook.Mobile.Resources.Texts;
using System.Globalization;
namespace CookBook.Mobile.Converters;
public class UnitToStringConverter : BaseConverterOneWay<Unit, strin... |
VideoPokerJacksOrBetter/Assets/VideoPokerJacksOrBetter/Scripts/ActionBar.cs | katelevshova/unity-video-poker-trainer | 0 | 7052061 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ActionBar : MonoBehaviour
{
private static string CLASS_NAME = typeof(ActionBar).ToString();
public Button btnDeal;
public Button btnAddBet;
public Button btnRemoveBet;
[... |
WebApi/Application/GenreOperations/Commands/UpdateGenre/UpdateGenreCommandValidator.cs | MuhammetFatihYilmaz/BookStore | 0 | 7052062 | using FluentValidation;
namespace WebApi.Application.GenreOperations.Commands.UpdateGenre
{
public class UpdateGenreCommandValidator: AbstractValidator<UpdateGenreCommand>
{
public UpdateGenreCommandValidator()
{
RuleFor(command => command.Model.Name).MinimumLength(4).When(command =... |
FineUI_v6/FineUI/Business/Enums/TriggerIcon.cs | JesterWang/FineUI | 0 | 7052063 | <reponame>JesterWang/FineUI<filename>FineUI_v6/FineUI/Business/Enums/TriggerIcon.cs
#region Comment
/*
* Project: FineUI
*
* FileName: TriggerIconType.cs
* CreatedOn: 2008-06-18
* CreatedBy: <EMAIL>
*
*
* Description:
* ->
*
* History:
* ->
*
*
*
*
... |
EliteAPI/Event/Models/Startup/StatisticsCombat.cs | Arwwarrr/EliteAPI | 0 | 7052064 | using Newtonsoft.Json;
namespace EliteAPI.Event.Models.Startup
{
/// <summary>
/// Holds statistics on the commander's combat.
/// </summary>
/// <see cref="StatisticsInfo"/>
public class StatisticsCombat
{
internal StatisticsCombat() { }
/// <summary>
/// The total amo... |
SteamDesktopAuth/Config.cs | Ezzpify/SteamAuthenticator | 38 | 7052065 | <gh_stars>10-100
using SteamAuth;
using System.Collections.Generic;
namespace SteamDesktopAuth
{
public class Config
{
public class LoadSteamGuardAccount
{
public bool loaded { get; set; }
public string filename { get; set; }
public SteamGuardAccount account... |
BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesApi_CMD.cs | ircluzar/BizhawkLegacy-Vanguard | 0 | 7052066 | <filename>BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesApi_CMD.cs
using System;
using BizHawk.Common;
namespace BizHawk.Emulation.Cores.Nintendo.SNES
{
unsafe partial class LibsnesApi
{
public bool CMD_serialize(IntPtr data, int size)
{
comm->buf[0] = (uint)data.ToInt32();
comm->buf_size[0] = si... |
DanbooruGalleryImageDetail.cs | Wbooru/WbooruPlugin.Danbooru | 0 | 7052067 | <gh_stars>0
using System;
using System.Diagnostics;
using System.Linq;
using Wbooru.Models.Gallery;
using Wbooru.Models.Gallery.Annotation;
namespace WbooruPlugin.Danbooru
{
public class DanbooruGalleryImageDetail: GalleryImageDetail
{
[DisplayAutoIgnore]
[DisplayName("P站ID")]
[Display... |
InterpolSystem.Data/Models/Country.cs | stefanMinch3v/InterpolSystem | 7 | 7052068 | <filename>InterpolSystem.Data/Models/Country.cs<gh_stars>1-10
namespace InterpolSystem.Data.Models
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using static DataConstants;
public class Country
{
public int Id { get; set; }
[Required]
[M... |
C#1/Exams/C#Part1-TestExam/TestExam/FallDown/FallDown.cs | Ico093/TelerikAcademy | 0 | 7052069 | using System;
class FallDown
{
static void Main()
{
byte[,] matrix = new byte[8, 8];
byte count=0;
byte Number=0;
for (int i = 0; i < 8; i++)
{
Number = byte.Parse(Console.ReadLine());
for (int j = 7; j >= 0; j--)
{
ma... |
ASP.NET/ErrorForm.aspx.cs | flexberry-app-sandbox/NewPlatform.Flexberry.ASPNET.SampleV3toV4 | 0 | 7052070 | <reponame>flexberry-app-sandbox/NewPlatform.Flexberry.ASPNET.SampleV3toV4
namespace ICSSoft.STORMNET.Web
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using System.Web;
using System.Web.Configuration;
using ICSSoft.STORMNET.Web.AjaxControl... |
KubeJobs/Program.cs | smatechnologies/kubernetes-batchjob-connector | 0 | 7052071 | <filename>KubeJobs/Program.cs
using System;
using System.Threading;
using Microsoft.Extensions.Configuration;
namespace KubeJobs
{
public class Program
{
public static int Main(string[] args)
{
var config = GetConfig(args);
try
{
var jobSett... |
OrderOrganizer/Form1.cs | RavNowak/OrderOrganizer | 0 | 7052072 | using OrderOrganizer.cs;
using OrderOrganizer.cs.Database;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Media;
using System.Windows.Forms;
namespace OrderOrganizer
{
public partial class Form1 : Form
{
private OrdersDatabase dat... |
FormEntretien/FormEntretien/WinformsAdmin/AjoutSItuationFamillial.Designer.cs | GroupeStageSPPP/Mission2 | 0 | 7052073 | <reponame>GroupeStageSPPP/Mission2
namespace FormEntretien.WinformsAdmin
{
partial class AjoutSItuationFamillial
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up... |
Xamarin.Forms.Platform.GTK/Controls/ScrolledTextView.cs | adamped/Xamarin.Forms.Platform.SkiaSharp | 16 | 7052074 | <reponame>adamped/Xamarin.Forms.Platform.SkiaSharp
using Gtk;
namespace Xamarin.Forms.Platform.GTK.Controls
{
public class ScrolledTextView : ScrolledWindow
{
private TextView _textView;
private int _maxLength;
public ScrolledTextView()
{
ShadowType = ShadowType.In... |
CpuBurner/Program.cs | sneal/CpuBurner | 1 | 7052075 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
namespace CpuBurner
{
/// <summary>
/// Adapted from http://stackoverflow.com/questions/2514544/simulate-steady-cpu-load-and-spikes
/// </summary>
class Program
{
vo... |
BlakeChat/Data/Context.cs | Glightman/BlakeChat | 0 | 7052076 | <filename>BlakeChat/Data/Context.cs<gh_stars>0
using BlakeChat.Models;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BlakeChat.Data
{
public class Context : Id... |
src/Web/CRMSystem.Web/Views/Organizations/List.cshtml | tonkatawe/CRM-System | 0 | 7052077 | @model CRMSystem.Web.Infrastructure.PaginatedList<CRMSystem.Web.ViewModels.Organizations.ListOrganizationViewModel>
@{ this.ViewData["Title"] = "All companies"; }
@foreach (var company in this.Model)
{
<div class="card col-lg-4 col-md-4 col-sm-4 shadow">
<div class="card-body text-center">
<div class="... |
I. Programing Fundamentals/Exam One/Pets/Program.cs | FullscreenSauna/IT-Career | 0 | 7052078 | <filename>I. Programing Fundamentals/Exam One/Pets/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pets
{
class Program
{
static void Main(string[] args)
{
int daysOut = int.Parse(Console.ReadL... |
Assets/Other/UI/Field - Complete Main Menu/Scripts/RotateLoader.cs | kursadacar/Unity-Character-Creation | 2 | 7052079 | using UnityEngine;
namespace Michsky.UI.FieldCompleteMainMenu
{
public class RotateLoader : MonoBehaviour
{
public float time = 1.0f;
public float repeatRate = 1.0f;
void Start()
{
InvokeRepeating("LoaderRotate", time, repeatRate);
}
void LoaderRot... |
src/Humidifier.Json/FnNotConverter.cs | ziphrax/Humidifier | 49 | 7052080 | using System;
using Newtonsoft.Json;
namespace Humidifier.Json
{
internal class FnNotConverter : JsonConverter
{
public override bool CanConvert(Type objectType) => objectType == typeof(FnNot);
public override bool CanRead => false;
public override object ReadJson(JsonReader reader, Ty... |
src/Spark/Utilities/CacheUtilities.cs | Yoshi325/spark | 99 | 7052081 | <filename>src/Spark/Utilities/CacheUtilities.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Spark.Utilities
{
public static class CacheUtilities
{
public static string ToIdentifier(string site, object[] key)
{
if (key.L... |
src/Imazen.PersistentCache/Evicter/Evicter.cs | ajbeaven/imageflow-dotnet-server | 0 | 7052082 | <filename>src/Imazen.PersistentCache/Evicter/Evicter.cs<gh_stars>0
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Security.Cryptography;
using System.Text;
using System.Text.RegularExpressions;... |
TLM/TMPE.API/TrafficLight/ICustomSegmentLights.cs | jrthsr700tmax/Cities-Skylines-Traffic-Manager-President-Edition | 0 | 7052083 | namespace TrafficManager.API.TrafficLight {
using System;
using System.Collections.Generic;
using Manager;
using Traffic;
using Traffic.Enums;
public interface ICustomSegmentLights : ICloneable, ISegmentEndId {
// TODO documentation
ushort NodeId { get; }
IDictionary<Ex... |
src/SkinCreator/SkinCreator.cs | rednir/OsuSkinMixer | 30 | 7052084 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading;
namespace OsuSkinMixer
{
public class SkinCreator
{
public const string WORKING_DIR_NAME = ".osu-skin-mixer_working-skin";
public string Name { get; set; }
public SkinOption[] S... |
WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/StorageSpaces/UserControls/StorageSpaceLevelResourceGroups.ascx.designer.cs | 9192939495969798/Websitepanel | 1 | 7052085 | <filename>WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/StorageSpaces/UserControls/StorageSpaceLevelResourceGroups.ascx.designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes ... |
docs/src/BugTrackingApplication/ManagerDashboard.cs | codexponent/bugtrackingapplication | 0 | 7052086 | 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 MetroFramework.Forms;
using MetroFramework;
using System.Data.SqlClient;
namespace BugTrackingAppl... |
src/Microsoft.DotNet.Build.Tasks/PrereleaseResolveNuGetPackageAssets.cs | FiveTimesTheFun/buildtools | 1 | 7052087 | <filename>src/Microsoft.DotNet.Build.Tasks/PrereleaseResolveNuGetPackageAssets.cs<gh_stars>1-10
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using ... |
Prometheus/Parser/Cursor.cs | thinkingmedia/Prometheus | 6 | 7052088 | using System;
using Prometheus.Exceptions.Executor;
using Prometheus.Nodes.Types;
using Prometheus.Nodes.Types.Bases;
using Prometheus.Storage;
namespace Prometheus.Parser
{
/// <summary>
/// The currently executing cursor. Holds the current state of the parser.
/// </summary>
public class Cursor : ID... |
backend/TripBooker.TourOperator/Infrastructure/SqlDbInitializer.cs | TPiechocki/TripBooker | 0 | 7052089 | namespace TripBooker.TourOperator.Infrastructure;
internal static class SqlDbInitializer
{
public static void Initialize(TourOperatorDbContext dbContext)
{
dbContext.Database.EnsureCreated();
// TODO optional: create initial database state by querying services for views
}
}
|
MySchool/Data/SchoolContext.cs | AWeakDeveloper/MySchool | 0 | 7052090 | using Microsoft.EntityFrameworkCore;
using MySchool.Models;
namespace MySchool.Data
{
public class SchoolContext : DbContext
{
public SchoolContext(DbContextOptions<SchoolContext> options) : base(options)
{
}
public DbSet<Student> Students { get; set; }
publ... |
test/Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests/ExecutionStrategyTest.cs | Mattlk13/EntityFramework | 1 | 7052091 | <reponame>Mattlk13/EntityFramework<gh_stars>1-10
// 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.Data.Common;
using System.Linq;
using Microsoft.EntityFrameworkCore.Infrastr... |
TestBench/TestBench.cs | h7ga40/PeachCamWin | 0 | 7052092 | using System;
using System.Collections.Generic;
namespace TestBench
{
public interface IUnitInterface
{
string TypeName { get; }
string InterfaceName { get; }
}
public interface IStdio
{
void Stdout(byte[] text);
}
public class TestBench : ITestBench
{
private Dictionary<int, IUnitInterface> interfa... |
FOAD_Design_Patterns/Design_Patterns/ConsoleAppTestComposite/Program.cs | Whyuki/CDA_2005 | 0 | 7052093 | using Pattern_Composite;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleAppTestComposite
{
class Program
{
static void Main(string[] args)
{
Expression expNb = new Nombre(33);
int resu... |
src/Bing.BankCardValidation/Models/BankCardInfo.cs | bing-framework/Bing.BankCardValidation | 2 | 7052094 | <reponame>bing-framework/Bing.BankCardValidation
using Bing.BankCardValidation.Core;
using Newtonsoft.Json;
namespace Bing.BankCardValidation.Models
{
/// <summary>
/// 银行卡信息
/// </summary>
public class BankCardInfo
{
/// <summary>
/// 是否验证通过
/// </summary>
public b... |
windows/ReactNativeFileViewer/ReactNativeModule.cs | RamiJabr/react-native-file-viewer | 0 | 7052095 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.ReactNative;
using Microsoft.ReactNative.Managed;
using Windows.ApplicationModel.Core;
using Windows.Storage;
using Windows.System;
using Windows.UI.Core;
namespace ReactNativeFileViewe... |
NClang/LanguageService/ClangType.cs | VoiceAmongUs/nclang | 27 | 7052096 | <gh_stars>10-100
using System;
using NClang.Natives;
using SystemLongLong = System.Int64;
using SystemULongLong = System.UInt64;
namespace NClang
{
public class ClangType
{
// Static members
public string GetTypeKindSpelling (TypeKind kind)
{
return LibClang.clang_getTypeKindSpelling (kind).Unwrap ();
}
... |
Library/PackageCache/com.unity.xr.interaction.toolkit@0.9.4-preview/Runtime/Interaction/Interactables/XRSimpleInteractable.cs | Technoo1/CMR101Brief_02 | 38 | 7052097 | <reponame>Technoo1/CMR101Brief_02<filename>Library/PackageCache/com.unity.xr.interaction.toolkit@0.9.4-preview/Runtime/Interaction/Interactables/XRSimpleInteractable.cs<gh_stars>10-100
using UnityEngine;
using System;
namespace UnityEngine.XR.Interaction.Toolkit
{
/// <summary>
/// This is the simplest version... |
SkstackIpDotNet/SkstackIpDotNet/Commands/SKEraseCommand.cs | smdn/EchoDotNetLite | 5 | 7052098 | <filename>SkstackIpDotNet/SkstackIpDotNet/Commands/SKEraseCommand.cs
namespace SkstackIpDotNet.Commands
{
/// <summary>
/// レジスタ保存用の不揮発性メモリエリアを初期化して、未保存状態に戻します。
/// 本コマンドを実行後、SKLOAD コマンドを発行すると SKLOAD コマンドは ER10 エラーを返すようになります。
/// </summary>
internal class SKEraseCommand : SimpleCommand
{
... |
Errlock/Views/AboutPageView.xaml.cs | segrived/Errlock | 1 | 7052099 | using System;
using System.Reflection;
using System.Windows;
using Errlock.Lib.Helpers;
namespace Errlock.Views
{
public partial class AboutPageView
{
public AboutPageView()
{
InitializeComponent();
}
private void Page_Loaded(object sender, RoutedEventArgs e)
... |
NewPlatform.Flexberry.ORM.CurrentUserService/CurrentWindowsUser.cs | in-9/NewPlatform.Flexberry.ORM | 2 | 7052100 | <filename>NewPlatform.Flexberry.ORM.CurrentUserService/CurrentWindowsUser.cs
namespace ICSSoft.Services
{
using System;
using System.DirectoryServices;
/// <summary>
/// Текущий пользователь в windows-приложении.
/// </summary>
public class CurrentWindowsUser : CurrentUserService.IUser
{
... |
Code Files/Day7.cs | TheJoeFin/2020-Advent-Of-Code | 0 | 7052101 | <filename>Code Files/Day7.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
namespace _2020_Advent_Of_Code
{
public class Bag
{
public string Appearance { get; set; } = "";
public List<(int bagNumber, strin... |
VS/RestWithAspNet5/RestWithAspNet5/Configurations/TokenConfiguration.cs | edsonhatore/RestWithAspNet5 | 0 | 7052102 | namespace RestWithAspNet5.Configurations
{
public class TokenConfiguration
{
public string Audience { get; set; }
public string Issuer { get; set; }
public string Secret { get; set; }
public int Minutes { get; set; }
public int DaysToExpiry { get; set; }
}
}
|
src/Io/Autometa/Redis/Convert.cs | erinpentecost/io.autometa.lobby | 6 | 7052103 | <reponame>erinpentecost/io.autometa.lobby<filename>src/Io/Autometa/Redis/Convert.cs
using System;
using System.Globalization;
using System.Net;
using System.Text;
namespace Io.Autometa.Redis
{
/// <summary>
/// Holds some utility methods for converting strings and byte arrays into longs.
/// </summary>
... |
00_UltimateMovieNight_DBConfig/UltimateMovieNight/Program.cs | RafaelWhoa/ultimate-movie-night | 0 | 7052104 | using Microsoft.Extensions.Options;
using UltimateMovieNight.Model;
var builder = WebApplication.CreateBuilder(args);
// Add services to the container.
builder.Services.AddControllers();
builder.Services.Configure<MovieNightDatabaseSettings>(
builder.Configuration.GetSection(nameof(MovieNightDatabaseSettings)... |
Demo/Wedonek/Wedonek.Gateway.Modular/Event/SubscribeEvent.cs | tc303730352/WedonekRpcFrame | 1 | 7052105 | <gh_stars>1-10
using RpcClient.Interface;
using RpcHelper;
using Wedonek.Demo.RemoteModel.Subscribe;
namespace Wedonek.Gateway.Modular.Event
{
/// <summary>
/// 订阅演示
/// </summary>
internal class SubscribeEvent : IRpcSubscribeService
{
/// <summary>
... |
src/Mews.Fiscalization.Greece/Model/Result/SendInvoiceResult.cs | dmitry-maltsev/fiscalization-greece | 0 | 7052106 | using System;
using System.Collections.Generic;
using System.Text;
namespace Mews.Fiscalization.Greece.Model.Result
{
public class SendInvoiceResult
{
public SendInvoiceResult(SendInvoiceStatusCode statusCode, string invoiceIdentifier, long invoiceRegistrationNumber, bool invoiceRegistrationNumberSpec... |
Source/BabeLua/DataModel/IntellisenseHelper.cs | KoSukeWork/BabeLua | 0 | 7052107 | using Babe.Lua;
using Microsoft.VisualStudio.Text.Editor;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using Babe.Lua.Package;
namespace Babe.Lua.DataModel
{
/// <summary>
/// 此对象需要项目间隔离
/// </s... |
FilePermissionsUtility/Program.cs | AJLeuer/GHelper | 1 | 7052109 | <gh_stars>1-10
using System;
using System.IO;
namespace FilePermissionsUtility
{
static class Program
{
static void Main()
{
var file = new FileInfo(Environment.GetCommandLineArgs()[1]);
FilePermissionsEditor.TakeOwnership(file);
}
}
}
|
tests/ProjectEuler.Tests/Puzzles/Puzzle037Tests.cs | martincostello/project-euler | 5 | 7052110 | <reponame>martincostello/project-euler<gh_stars>1-10
// Copyright (c) <NAME>, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles;
/// <summary>
/// A class containing tests for... |
TakeAshUtility/EventHandlerExtensionMethods.cs | TakeAsh/cs-TakeAshUtility | 0 | 7052111 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace TakeAshUtility {
public static class EventHandlerExtensionMethods {
public static Delegate GetDelegate(this Object obj, string eventHandlerName) {
var flags = B... |
TyphoonDash/Assets/_myAsset/Scripts/VirtualJoystick.cs | outclash/FYP | 0 | 7052112 | <reponame>outclash/FYP<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
/*
*Class that used event system to do the virtual joystick
*Reference: http://www.theappguruz.com/blog/beginners-guide-learn-to-make-simple-virtual-... |
Assets/_Scripts/GAME/PlayerInput.cs | jamsforfun/DribbleMaster | 1 | 7052113 | using UnityEngine;
using Sirenix.OdinInspector;
/// <summary>
/// InputPlayer Description
/// </summary>
[TypeInfoBox("Player input")]
public class PlayerInput : MonoBehaviour
{
[FoldoutGroup("Debug"), Tooltip("input for moving Camera horizontally"), ReadOnly]
public Vector2 Move;
[FoldoutGroup("Debug"),... |
source/Zyan.Tests/VulnerabilityTests.cs | ErrCode/Zyan.Core.LocalIPC | 0 | 7052114 | <filename>source/Zyan.Tests/VulnerabilityTests.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using System.Security;
using Zyan.Communication;
using Zyan.Communication.Protocols;
using Zyan.Communication.Protocols.Http;
using Zyan.Communication.Protocols.Ipc;
usin... |
src/Umbra/ViewModels/Explorer/FileBrowserNodeViewModel.cs | LaizerXIV/Lumina | 0 | 7052115 | <reponame>LaizerXIV/Lumina<filename>src/Umbra/ViewModels/Explorer/FileBrowserNodeViewModel.cs<gh_stars>0
using System.Collections.ObjectModel;
using MahApps.Metro.IconPacks;
using ReactiveUI;
using Umbra.ViewModels.Explorer;
namespace Umbra.ViewModels.Explorer
{
public class FileBrowserNodeViewModel : ReactiveObje... |
src/SFA.DAS/Hashing/HashingServiceExtensions.cs | SkillsFundingAgency/das-employeraccounts | 1 | 7052116 | <reponame>SkillsFundingAgency/das-employeraccounts
using System;
using SFA.DAS.HashingService;
namespace SFA.DAS.Hashing
{
public static class HashingServiceExtensions
{
public static bool TryDecodeValue(this IHashingService hashingService, string input, out long result)
{
try
... |
Logging/ConsoleLogger.cs | ctigeek/GenericLoggingHelper | 0 | 7052117 | using System;
namespace YourNamespace.Logging
{
internal class ConsoleLogger : ILogger
{
public readonly static ConsoleLogger Instance = new ConsoleLogger();
private ConsoleLogger()
{
SetVerbosity(LoggingVerbosity.Debug);
}
public bool IsDebugE... |
src/Employer/Employer.Web/Orchestrators/Part1/SearchResultPreviewOrchestrator.cs | bjstone82/das-recruit | 0 | 7052118 | <reponame>bjstone82/das-recruit
using System.Threading.Tasks;
using Esfa.Recruit.Employer.Web.Configuration.Routing;
using Esfa.Recruit.Employer.Web.RouteModel;
using Esfa.Recruit.Employer.Web.ViewModels.Part1.SearchResultPreview;
using Esfa.Recruit.Shared.Web.Extensions;
using Esfa.Recruit.Shared.Web.Services;
using E... |
tests/Clave.Expressionify.Tests/TestCodeGen.cs | slangeder/Expressionify | 0 | 7052119 | <reponame>slangeder/Expressionify<filename>tests/Clave.Expressionify.Tests/TestCodeGen.cs
using System.Linq;
using Clave.Expressionify.Tasks;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using NUnit.Framework;
using Shouldly;
namespace Clave.Expressionify.Tests
{
[TestFixture]
... |
dotnet/Qred.Connect/Implementations/ValueAndExpires.cs | qred/connect-clients | 0 | 7052120 | <reponame>qred/connect-clients
using System;
namespace Qred.Connect.Implementations
{
class ValueAndExpires<T>
{
public ValueAndExpires(Tuple<T, DateTime> valueAndExpires) : this(valueAndExpires.Item1, valueAndExpires.Item2)
{
}
public ValueAndExpires(T value, DateTime expires)... |
enos-subscription-service.sample/Program.cs | dut-xiayuan/enos-subscription-service-sdk-dotnet | 1 | 7052122 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;
using enos_subscription.client;
namespace enos_subscription_service.sample
{
class Program
{
static void Main(string[] args)
{
Console.Wri... |
Kooboo.CMS/Kooboo.CMS.SitesProviders/Kooboo.CMS.Sites.Providers.SqlServer/PageProvider/Mapping/PageEnityMapping.cs | syberside/CMS | 288 | 7052123 | <reponame>syberside/CMS
#region License
//
// Copyright (c) 2013, Kooboo team
//
// Licensed under the BSD License
// See the file LICENSE.txt for details.
//
#endregion
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Kooboo.CMS.Sites.Providers.SqlServer.PageProvider... |
Assembly-CSharp/TreeBinder.cs | FreyaFreed/mordheim | 4 | 7052124 | using System;
using System.Collections.Generic;
using RAIN.BehaviorTrees;
using UnityEngine;
[global::UnityEngine.ExecuteInEditMode]
public class TreeBinder : global::PandoraSingleton<global::TreeBinder>
{
public global::System.Collections.Generic.List<global::RAIN.BehaviorTrees.BTAssetBinding> BtBindings { get; pri... |
EliteDangerousAPI/src/EliteDangerousAPI/Events/Station/ModuleStoreEvent.cs | h0useRus/EliteDangerousAPI | 5 | 7052125 | <gh_stars>1-10
using Newtonsoft.Json;
using NSW.EliteDangerous.API.Internals;
namespace NSW.EliteDangerous.API.Events
{
public class ModuleStoreEvent : JournalEvent
{
[JsonProperty("MarketID")]
public long MarketId { get; internal set; }
[JsonProperty("Slot")]
public string Slo... |
Highcharts4Net/Library/PieChartExtension.cs | davcs86/Highcharts4Net | 0 | 7052126 | <gh_stars>0
using System;
using Highcharts4Net.Library.Options;
namespace Highcharts4Net.Library
{
public delegate void SeriePieSettings(SeriesPie s);
public sealed class PieChartSettings : BaseChartSettings<SeriesPie>
{
public void AddSeries(SeriePieSettings s){
AddSeries (s, new SeriesPie ());
}... |
Src/Library/Source/Automation/Extensions/ArtifactReferencesValidation.cs | dbremner/nupattern | 0 | 7052127 | <gh_stars>0
using System;
using System.ComponentModel.Composition;
using System.Globalization;
using Microsoft.VisualStudio.Modeling;
using Microsoft.VisualStudio.Modeling.Validation;
using NuPattern.Diagnostics;
using NuPattern.Reflection;
using NuPattern.Runtime;
using NuPattern.Runtime.References;
using NuPattern.R... |
src/ToastNotifications.Win7/NotificationInfo.cs | RukaiYu/ToastNotifications | 1 | 7052128 | <gh_stars>1-10
using System.Drawing;
using ToastNotifications.Share;
using static ToastNotifications.Win7.FormAnimator;
namespace ToastNotifications.Win7
{
/// <summary>
///
/// </summary>
public class NotificationInfo : ToastNotificationInfo
{
/// <summary>
///
/// </summ... |
Other/CardDeckSort/src/CardName.cs | TheRevival/Small-tasks | 3 | 7052129 | <reponame>TheRevival/Small-tasks
/// <summary>
/// «В» = «J» — Jack
/// «Д» = «Q» — Queen
/// «К» = «K» — King
/// «Т» = «A» — Ace tooz
/// </summary>
public enum Name { UNDEFINED = -1, six = 6, seven, eight, nine, ten, jack, queen, king, ace, joker } |
src/Synopackage.Model/Infrastructure/AppSettings.cs | dMajoIT/synopackage_dotnet | 0 | 7052130 | <gh_stars>0
namespace Synopackage
{
public class AppSettings
{
public string DefaultModel { get; set; }
public string DefaultVersion { get; set; }
public string FrontendCacheFolder { get; set; }
public string BackendCacheFolder { get; set; }
public int? CacheIconExpirationInDays { get; set; }
... |
ProtoSDK/MS-ADTS-LDAP/AdtsLdapV3Asn1Codec/SearchResultReference.cs | tacom6/WindowsProtocolTestSuites | 1 | 7052131 | <reponame>tacom6/WindowsProtocolTestSuites
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Protocols.TestTools.StackSdk.Asn1;
namespace Microsoft.Protocols.TestTools.StackSdk.ActiveDirectory.Adt... |
Source/DTcms.Web.UI/Label/comment.cs | MYF0tX/MWMS | 11 | 7052132 | using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
namespace DTcms.Web.UI
{
public partial class BasePage : System.Web.UI.Page
{
/// <summary>
/// 评论数据总数
/// </summary>
/// <param name="article_id">主表ID</param>
/// <param name="strwher... |
vzpapp/UI/Services.cs | ashek1412/DotNetAppRestAPI | 0 | 7052133 | using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
using System.Threading;
using System.Windows.Forms;
using vzpapp.BAL;
namespace vzpapp.UI
{
public partial class Services : Form
{
[DllImp... |
T7Suite/IMapViewer.cs | roffe/TuningSuites | 29 | 7052134 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DevExpress.XtraBars.Docking;
using System.Windows.Forms;
using System.Drawing;
using System.IO;
using CommonSuite;
namespace T7
{
abstract public class IMapViewer : DevExpress.XtraEditors.XtraUserControl
{
publ... |
ObfuscarMappingParser.Engine/Items/RenamedClass.cs | BrokenEvent/ObfuscarMappingParser | 20 | 7052135 | using System;
using System.Collections.Generic;
using ObfuscarMappingParser.Engine.Reader;
namespace ObfuscarMappingParser.Engine.Items
{
public class RenamedClass: RenamedBase
{
private readonly List<RenamedBase> items = new List<RenamedBase>();
private string ownerClassName;
private RenamedClass ow... |
src/NMS.AMQP/Util/AmqpDestinationHelper.cs | lovemai073/ActiveMQ_Operation | 45 | 7052136 | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may... |
Assets/Sources/Systems/Input/EmitInputSystem.cs | yaoyao1991/ECSSameple | 0 | 7052137 | <filename>Assets/Sources/Systems/Input/EmitInputSystem.cs
using Entitas;
public class EmitInputSystem : IInitializeSystem, IExecuteSystem
{
Contexts _contexts;
IInputService _inputService;
InputEntity _inputEntity;
public EmitInputSystem(Contexts contexts)
{
_contexts = contexts;
... |
test/EFCore.PG.FunctionalTests/Query/FullTextSearchDbFunctionsNpgsqlTest.cs | cockroachdb/efcore.pg | 1 | 7052138 | <reponame>cockroachdb/efcore.pg<filename>test/EFCore.PG.FunctionalTests/Query/FullTextSearchDbFunctionsNpgsqlTest.cs
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.TestModels.Northwind;
using Microsoft.EntityFrameworkCore.TestUtilities;
using Npgsql.EntityFrameworkCore.Postg... |
MagicalLifeAPIStandard/DataTypes/Attribute/AttributeDouble.cs | philipbawn/MagicalLife | 0 | 7052139 | using MagicalLifeAPI.Entity.Util.Modifier;
using ProtoBuf;
using System.Collections.Generic;
namespace MagicalLifeAPI.DataTypes.Attribute
{
[ProtoContract]
public class AttributeDouble
{
/// <summary>
/// The decimal value is applied to the value of this attribute, while the <see cref="IMo... |
Calculator/CalculatorCLI/Parser/Parser.cs | gaufung/Calculator | 1 | 7052140 | using System;
using System.Collections.Generic;
namespace CalculatorCLI.Parser
{
using Token;
using AST;
using Lexer;
public class Parser
{
private Token _currentToken;
private Token _peekToken;
private Lexer _lexer;
private static IDictionary<TokenType, Precedence... |
tests/RJSilvas.MoneyLib.Tests/Models/MoneyTests.cs | renatojsilvas/RJSilvas.Money | 0 | 7052141 | <filename>tests/RJSilvas.MoneyLib.Tests/Models/MoneyTests.cs
using RJSilvas.MoneyLib.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xunit;
using FluentAssertions;
using System.Globalization;
namespace RJSilvas.MoneyLib.Tests
{
public... |
tests/ByteDev.Io.UnitTests/StringExtensionsTests.cs | ByteDevelopment/ByteDev.Io | 1 | 7052142 | <gh_stars>1-10
using NUnit.Framework;
namespace ByteDev.Io.UnitTests
{
[TestFixture]
public class StringExtensionsTests
{
[TestFixture]
public class AddFileExtensionDotPrefix : StringExtensionsTests
{
[TestCase(null)]
[TestCase("")]
public void W... |
src/Tars.Net.DotNetty/ServerHostExtensions.cs | ElderJames/Tars.Net.Rpc | 0 | 7052143 | <reponame>ElderJames/Tars.Net.Rpc
using DotNetty.Buffers;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Tars.Net.Hosting.Tcp;
namespace Tars.Net.Hosting
{
public static class ServerHostExtensions
{
public static IServerHostBuilder UseLibuvTcpHost(this IServerHostBuilder builder)
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.