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 |
|---|---|---|---|---|
Content/MilvaMongoTemplate.API/Controllers/DeveloperOpsController.cs | Milvasoft/MilvaMongoTemplate | 2 | 7047801 | using Fody;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.DependencyInjection;
using MilvaMongoTemplate.API.DTOs.AccountDTOs;
using MilvaMongoTemplate.API.Helpers.Constants;
using MilvaMongoTempl... |
src/Kentico.Xperience.Recombee.Admin/ContentService.cs | OndraFiedler/xperience-module-recombee | 1 | 7047802 | <reponame>OndraFiedler/xperience-module-recombee
using System;
using System.Collections.Generic;
using System.Linq;
using CMS.Core;
using CMS.DocumentEngine;
using Recombee.ApiClient;
using Recombee.ApiClient.ApiRequests;
using Recombee.ApiClient.Bindings;
namespace Kentico.Xperience.Recombee.Admin
{
... |
GuiStracini.Mandae/Transport/OrderResponse.cs | guibranco/GuiStracini.Mandae | 1 | 7047803 | // ***********************************************************************
// Assembly : GuiStracini.Mandae
// Author : <NAME>
// Created : 2017-10-03
//
// Last Modified By : <NAME>
// Last Modified On : 2018-05-23
// ***********************************************************************
/... |
Assets/5UDE/Systems/Vive/Scripts/SimViveTracker.cs | Arth1994/DRIVING-HAZARDS | 0 | 7047804 | <reponame>Arth1994/DRIVING-HAZARDS<filename>Assets/5UDE/Systems/Vive/Scripts/SimViveTracker.cs
/*
Copyright ©2017. The University of Texas at Dallas. All Rights Reserved.
Permission to use, copy, modify, and distribute this software and its documentation for
educational, research, and not-for-profit purposes, witho... |
SmartDapper/SmartDapper/Mapping/TableMap.cs | timschreiber/SmartDapper | 3 | 7047805 | using SmartDapper.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.Caching;
using System.Text;
using System.Threading.Tasks;
namespace SmartDapper.Mapping
{
internal class TableMap<T>
{
private TableMap()
{
}
... |
Assets/AppleLocalMultiplayer/Source/Internal/PeerState.cs | harrywsh/hackx-holokit | 2 | 7047806 | <reponame>harrywsh/hackx-holokit
#if UNITY_IOS || UNITY_TVOS || UNITY_STANDALONE_OSX
namespace LostPolygon.Apple.LocalMultiplayer {
/// <summary>
/// Peer connection state.
/// </summary>
public enum PeerState: int {
NotConnected,
Connecting,
Connected
}
}
#en... |
SoloCutupTool/Handlers/FileHandler.cs | kizor987/SoloCutupTool | 0 | 7047807 | <reponame>kizor987/SoloCutupTool
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace SoloCutupTool.Handlers
{
class FileHandler
{
public List<string> LoadTextFile()
{
... |
src/Tizen.UIExtensions.NUI/GraphicsView/CheckBox.cs | rookiejava/Tizen.UIExtensions | 3 | 7047808 | <filename>src/Tizen.UIExtensions.NUI/GraphicsView/CheckBox.cs
using System;
using Tizen.UIExtensions.Common;
using Tizen.UIExtensions.Common.GraphicsView;
namespace Tizen.UIExtensions.NUI.GraphicsView
{
/// <summary>
/// A visual control used to indicate that something is checked.
/// </summary>
publi... |
resources/.gen/aws/aws/Wafv2WebAclRuleStatementNotStatementStatementNotStatementStatementXssMatchStatementFieldToMatch.cs | scottenriquez/cdktf-alpha-csharp-testing | 0 | 7047810 | <reponame>scottenriquez/cdktf-alpha-csharp-testing
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
[JsiiByValue(fqn: "aws.Wafv2WebAclRuleStatementNotStatementStatementNotStatementStatementXssMatchStatementFieldToMatch")]
public class Wafv2WebAclRuleStatementNotSt... |
src/Breakout.Core/Models/Maps/BlockMap.cs | NearHuscarl/Breakout | 0 | 7047811 | <gh_stars>0
using Breakout.Core.Models.Bases;
using Breakout.Core.Models.Blocks;
using System.Collections.Generic;
namespace Breakout.Core.Models.Maps
{
public class BlockMap
{
public List<Block> Layer1 { get; set; }
public List<GameObject> Layer0 { get; set; }
}
}
|
Src/WitsmlExplorer.Api/Extensions/StreamExtensions.cs | aszalos-roland/witsml-explorer | 20 | 7047812 | <gh_stars>10-100
using System.IO;
using System.Text.Json;
using System.Threading.Tasks;
namespace WitsmlExplorer.Api.Extensions
{
public static class StreamExtensions
{
public static async Task<T> Deserialize<T>(this Stream stream)
{
return await JsonSerializer.DeserializeAsync<T>(s... |
src/Relatus/ColorExt.cs | thismarvin/mimoso | 1 | 7047813 | <gh_stars>1-10
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
namespace Relatus
{
public static class ColorExt
{
/// <summary>
/// Returns a new <see cref="Color"/> from a given hexidecimal value.
/... |
QuantumGate/Assets/01_Scripts/04_DAO/UserData.cs | Pseudonyme7/QuantumGatesV2 | 0 | 7047814 | using System.Collections.Generic;
using System;
using UnityEngine;
/// <summary>
/// Classe regroupant toutes les données utilisateurs.
/// Permet la persistance des données.
/// </summary>
public class UserData
{
/// <summary>
/// Sous classe de UserData, cette classe permet de construire facilement
/... |
Skytable.Client/Querying/IQueryWriter.cs | martinmolin/skytable-dotnet | 5 | 7047815 | // Copyright (c) 2021 <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 wr... |
OrleansRaft/RaftGrain.cs | richorama/OrleansRaft | 5 | 7047816 | using Orleans;
using Orleans.Concurrency;
using Orleans.Placement;
using Orleans.Runtime;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrleansRaft
{
[Reentrant]
[PreferLocalPlacement]
public class RaftGrain : Grain, IRaftGra... |
CommandDotNet.Tests/AppRunnerScenarioExtensions.cs | asymetrixs/commanddotnet | 0 | 7047817 | <reponame>asymetrixs/commanddotnet<gh_stars>0
using System;
using System.Collections.Generic;
using CommandDotNet.TestTools;
using CommandDotNet.TestTools.Scenarios;
using Xunit.Abstractions;
namespace CommandDotNet.Tests
{
public static class AppRunnerScenarioExtensions
{
public static AppRunnerResult... |
Xpand/Xpand.ExpressApp.Modules/Workflow/ObjectChangedWorkflows/ObjectChangedXpoStartWorkflowRequest.cs | derjabkin/eXpand | 1 | 7047818 | using System;
using System.ComponentModel;
using DevExpress.ExpressApp.Model.Core;
using DevExpress.ExpressApp.Workflow.DC;
using DevExpress.ExpressApp.Workflow.Xpo;
using DevExpress.Xpo;
using Xpand.Xpo.Converters.ValueConverters;
namespace Xpand.ExpressApp.Workflow.ObjectChangedWorkflows {
public interface IObje... |
PraiseProvisionAPI/Models/Services/RecommendationService.cs | Praise-and-Provisions/PraiseProvisionsAPI | 0 | 7047819 | using PraiseProvisionAPI.Models.Interfaces;
using PraiseProvisionsAPI.Data;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Threading.Tasks;
namespace PraiseProvisionAPI.Models.Services
{
public class RecommendationService : IRecommendation
{
p... |
managing-responsibilities/7-tactical-design-patterns-dotnet-managing-responsibilities-m7-exercise-files/CarShop/EngineStatus.cs | rajeeshckr/managing-responsibility | 0 | 7047820 | <filename>managing-responsibilities/7-tactical-design-patterns-dotnet-managing-responsibilities-m7-exercise-files/CarShop/EngineStatus.cs
namespace CarShop
{
class EngineStatus
{
public float TemperatureC { get; private set; }
public float OilPressure { get; private set; }
public Engin... |
src/Projects/Components/SourceTypes/DefaultSourceTypes/AdoSources/Oracle/OracleAdoUserControl.cs | laredoza/.NetScaffolder | 3 | 7047821 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="OracleAdoUserControl.cs" company="DotnetScaffolder">
// MIT
// </copyright>
// --------------------------------------------------------------------------------------------------... |
CBOR/PeterO/Cbor/CBORJson.cs | ewertons/CBOR | 0 | 7047822 | /*
Written by <NAME>.
Any copyright to this work is released to the Public Domain.
In case this is not possible, this work is also
licensed under Creative Commons Zero (CC0):
http://creativecommons.org/publicdomain/zero/1.0/
If you like this, you should donate to Peter O.
at: http://peteroupc.github.io/
*/
using Syste... |
src/ContentStore/Domain/DataType.cs | steentottrup/Content-Store | 1 | 7047823 | using System;
namespace ContentStore.Domain {
public enum DataType {
EncryptedString,
String,
Date,
DateTime,
Decimal,
Id,
Boolean,
Time,
Integer,
Array,
Object
}
} |
ConoHaNet.portable-net45/System/Runtime/Serialization/ISafeSerializationData.cs | crowdy/OpenStack-ConoHa | 4 | 7047824 | #if NET35 || PORTABLE
namespace System.Runtime.Serialization
{
/// <summary>
/// For internal compatibility use only.
/// </summary>
internal interface ISafeSerializationData
{
/// <summary>
/// For internal compatibility use only.
/// </summary>
void CompleteDeseri... |
AMPAExt/UI/Controles/UCPanelConfirmacion.ascx.cs | susandiro/UNIR_AMPAExt | 0 | 7047825 | using System;
using System.Web.UI;
namespace AMPAExt.UI.Controles
{
public partial class UCPanelConfirmacion : System.Web.UI.UserControl
{
#region Propiedades
private PageBase _Page { get { return Page as PageBase; } }
#endregion
#region Eventos
protected void Page_L... |
Source/PlaceElementsApplication.cs | GBrunelli/CustomizacaoMoradias | 3 | 7047826 | <gh_stars>1-10
using System;
using System.Drawing;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Interop;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using Autodesk.Revit.UI;
using CustomizacaoMoradias.Forms;
using CustomizacaoMoradias.Sou... |
src/AxesFilesProcessor/AxesProcessor.cs | ckmio/AMIntermedia | 0 | 7047827 | using System;
using System.IO;
using System.Threading;
using Ckmio;
using Microsoft.Extensions.Configuration;
namespace AMIntermedia.AxesFilesProcessor
{
public class AxesProcessor
{
public string IncomingFilesDirectoryPath {get; set;}
public string ProcessingDirectoryPath {get; set;}
... |
ORA.Core/Managers/AuthManager.cs | Crab-Wave/ora | 4 | 7047828 | using System;
using System.Text;
using ORA.API;
using ORA.API.Http;
using ORA.API.Managers;
using ORA.Core.Encryption;
namespace ORA.Core.Managers
{
public class AuthManager : IAuthManager
{
private string _token;
public string Authenticate()
{
Identity iden... |
ContactApp/Web/Areas/Admin/ViewModels/TranslationViewModels.cs | abendi/CakeOrderingSite | 0 | 7047829 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Domain;
namespace Web.Areas.Admin.ViewModels
{
public class TranslationIndexViewModel
{
public IEnumerable<Translation> Translations { get; set; }
public bool ViewHtml { get; set; }... |
source/MikhailKhalizev.Max/source/Program/Auto/z-001a-1029.cs | mikhail-khalizev/max | 3 | 7047830 | using System;
using MikhailKhalizev.Processor.x86.BinToCSharp;
namespace MikhailKhalizev.Max.Program
{
public partial class RawProgram
{
[MethodInfo("0x1a_1029-3bdc515c")]
public void Method_001a_1029()
{
ii(0x1a_1029, 4); enter(0, 0); /... |
Utils/Random.cs | dude-seriously/gh12-server | 6 | 7047831 | <reponame>dude-seriously/gh12-server
using System;
namespace Server {
public class Rand {
private static Rand instance = new Rand();
private Random random;
private Rand() {
this.random = new Random(Environment.TickCount);
}
public static bool Next() {
return instance.random.Next(2) == ... |
HairSalon/Views/Client/AddForm.cshtml | putman10/Hair-Salon | 0 | 7047832 | @{
Layout = "_Layout";
}
<div class="container" id="add-container">
<h1>Enter a new Client!</h1>
<form class="form" action="/clients/new" method="post">
<div class="form-group">
<label for="name">Enter the name of the Client:</label>
<input class="form-control" typ... |
src/Auth0.ManagementApi/Models/TenantChangePassword.cs | SamTheWizard/auth0.net | 250 | 7047833 | <filename>src/Auth0.ManagementApi/Models/TenantChangePassword.cs
using Newtonsoft.Json;
namespace Auth0.ManagementApi.Models
{
/// <summary>
/// Change Password page customization.
/// </summary>
public class TenantChangePassword
{
/// <summary>
/// true to use the custom change pa... |
MarsRover.Infrastructure/Actions/IAction.cs | fatihmert93/mars-rover | 1 | 7047834 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MarsRover.Models;
namespace MarsRover.Infrastructure.Actions
{
public abstract class IAction
{
public Position position;
public abstract void Accept(IActionVisitor visitor)... |
Assets/Project/Scripts/PlayScreen/NotesScript.cs | vivace-app/vivace | 2 | 7047835 | using System;
using System.Collections;
using UnityEngine;
using System.Threading.Tasks;
public class NotesScript : MonoBehaviour
{
// --- Attach from Unity --------------------------------------------------------------
public int lineNum;
// ----------------------------------------------------------------... |
Learn2Play/Contracts.DAL.App/Repositories/IUserFolderRepository.cs | JanekV/Learn2Play | 0 | 7047836 | using System.Collections.Generic;
using System.Threading.Tasks;
using ee.itcollege.javalg.Contracts.DAL.Base.Repositories;
using DALAppDTO = DAL.App.DTO;
namespace Contracts.DAL.App.Repositories
{
public interface IUserFolderRepository : IUserFolderRepository<DALAppDTO.DomainEntityDTOs.UserFolder>
{
... |
Sln.APIDotNetCore/API.DotNetCore/Controllers/AuthController.cs | shahedbd/APIDotNetCore | 0 | 7047837 | using API.DotNetCore.JWTAuths;
using Application.Common.ViewModel;
using Application.Core.Identity;
using Application.Repository;
using AutoMapper;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using System;
using System.... |
Xmas-Hell/Xmas-Hell-Android/XmasHellActivity.cs | Noxalus/Xmas-Hell | 20 | 7047838 | <gh_stars>10-100
using Android.App;
using Android.Content.PM;
using Android.OS;
using Android.Views;
using Android.Content;
namespace XmasHellAndroid
{
[Activity(Label = "Xmas Hell"
, MainLauncher = true
, Icon = "@drawable/icon"
, Theme = "@style/Theme.Splash"
, AlwaysRetainTaskSta... |
Store/Store.WebApp/Controllers/OrdersController.cs | 2011-nov02-net/david-project1 | 0 | 7047839 | <filename>Store/Store.WebApp/Controllers/OrdersController.cs
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System.Text.Json;
using System.Text.Json.Serialization;
using Store.Library;
using Store.Library.Repository_Interfaces;
using Store.WebApp.ViewModels;
using System;
using System.Collectio... |
Models/Specialty.cs | victor-cleber/where_is_my_doctor | 0 | 7047840 | using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace where_is_my_doctor.Models
{
public class Specialty
{
[Key]
public int SpecialtyId { get; set; }
[Required(ErrorMessage = "Inform the specialty name")]
public ... |
aspnet-core/src/eCommerceProject.Application/Products/ProductAppService.cs | ayyse/eCommerceProject | 1 | 7047842 | <gh_stars>1-10
using Abp.Application.Services;
using Abp.Application.Services.Dto;
using Abp.Authorization;
using Abp.Domain.Repositories;
using Abp.ObjectMapping;
using eCommerceProject.Authorization;
using eCommerceProject.DbModels;
using eCommerceProject.Products.Dto;
using Microsoft.EntityFrameworkCore;
using Syst... |
src/List/AppaList_double2x3.cs | ChristopherSchubert/com.appalachia.unity3d.appa.collections.mathematics | 1 | 7047843 | <gh_stars>1-10
#region
using System;
using collections.src;
#endregion
namespace collections.mathematics.src.List
{
[Serializable]
public sealed class AppaList_double2x3 : AppaList<double2x3>
{
public AppaList_double2x3()
{
}
public AppaList_double2x3(int capacity, float ... |
src/Collector/Controllers/PerfController.cs | marcanpilami/mongodb-collector | 1 | 7047844 | <filename>src/Collector/Controllers/PerfController.cs<gh_stars>1-10
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
using MongoDB.Bson;
using MongoDB.Driver;
using monitoringexe;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace agent.web
{
... |
src/Foundation/MSSDK/code/Knowledge/Models/EntityLinking/Match.cs | markstiles/SitecoreCognitiveServices.Core | 0 | 7047845 | <reponame>markstiles/SitecoreCognitiveServices.Core
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace SitecoreCognitiveServices.Foundation.MSSDK.Knowledge.Models.EntityLinking {
[DataContract]
public class Match {
[DataMember(Name = "text")]
public string Text { g... |
src/LagoVista.IoT.DataStreamConnectors/SQLFieldMetaData.cs | LagoVista/PipelineManagement | 0 | 7047846 | using System;
namespace LagoVista.IoT.DataStreamConnectors
{
public class SQLFieldMetaData
{
public string ColumnName { get; set; }
public Boolean IsRequired { get; set; }
public string DataType { get; set; }
public Boolean IsIdentity { get; set; }
public string Default... |
MaterialWinforms/Controls/MaterialProgressBar.cs | glm9637/MaterialWinforms | 75 | 7047847 | using System.ComponentModel;
using System.Windows.Forms;
using System.Drawing;
using System;
namespace MaterialWinforms.Controls
{
/// <summary>
/// Material design-like progress bar
/// </summary>
public class MaterialProgressBar : Control, IMaterialControl
{
/// <summary>
... |
Source/ElasticLINQ.Test/Request/ElasticRequestProcessorTests.cs | ethaler/ElasticLINQ | 0 | 7047848 | <filename>Source/ElasticLINQ.Test/Request/ElasticRequestProcessorTests.cs
// Licensed under the Apache 2.0 License. See LICENSE.txt in the project root for more information.
using ElasticLinq.Logging;
using ElasticLinq.Mapping;
using ElasticLinq.Request;
using ElasticLinq.Retry;
using ElasticLinq.Test.Utility;
using ... |
ValveResourceFormat/Resource/ResourceTypes/Material.cs | AveYo/ValveResourceFormat | 3 | 7047849 | <filename>ValveResourceFormat/Resource/ResourceTypes/Material.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Numerics;
using ValveResourceFormat.Blocks;
using ValveResourceFormat.ResourceTypes.NTROSerialization;
namespace ValveResourceFormat.ResourceTypes
{
public class Material ... |
CSharp5/Program.cs | arnelimperial/sharp-CSharp | 0 | 7047850 | using System;
namespace CSharp5
{
class Program
{
static void Main(string[] args)
{
int fib0 = 1, fib1 = 2, fib2 = 4, fibonacci;
for(int i = 1;i <= 21; ++i){
if(i == 1){
Console.WriteLine(fib0);
... |
source/Horker.Numerics/DataMaps/Extensions/MetaNumIListExtensions.cs | horker/Horker.MXNet | 0 | 7047851 | using Horker.Numerics.DataMaps.Utilities;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Horker.Numerics.DataMaps.Extensions.Internal
{
public static partial class MetaNumIListExtensions
{
// CUT A... |
C#TechnologyFundamentals/MethodsLEME/8.FactorialDivisionE/Program.cs | deedeedextor/Software-University | 0 | 7047852 | using System;
namespace _8.FactorialDivisionE
{
class Program
{
static void Main(string[] args)
{
long firstNumber = long.Parse(Console.ReadLine());
long secondNumber = long.Parse(Console.ReadLine());
long firstFactorial = CalculateFactorial(firstNumber);
... |
Player.cs | jisbell347/unity-prefabs | 0 | 7047853 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Player : MonoBehaviour {
public GameObject bulletPrefab;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if (Input.GetMouseButtonDown(... |
MusicMaster/Crunch.NET/Request/Type/LaunchRequestTask.cs | heckej/Music-master | 0 | 7047854 | using Crunch.NET.ConnectionTasks;
using Newtonsoft.Json;
namespace Crunch.NET.Request.Type
{
public class LaunchRequestTask
{
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("version")]
public string Version { get; set; }
[JsonProperty("input")]
... |
src/Ankh.Services/VS/IProjectCommitSettings.cs | alllucky1996/AnkhSVN2019 | 59 | 7047855 | <reponame>alllucky1996/AnkhSVN2019<filename>src/Ankh.Services/VS/IProjectCommitSettings.cs
// $Id$
//
// Copyright 2008-2009 The AnkhSVN Project
//
// 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 Li... |
Rukia [Bankai]/ProjectEuler/DigitFactorials.cs | ANamelessWolf/Rukia | 0 | 7047856 | <filename>Rukia [Bankai]/ProjectEuler/DigitFactorials.cs<gh_stars>0
using Nameless.Libraries.Rukia.ProjectEuler.Utility;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Nameless.Libraries.Rukia.ProjectEuler
{
/... |
src/iOS/Xamarin.iOS/Samples/Data/ReadGeoPackage/ReadGeoPackage.cs | jf990/arcgis-runtime-samples-dotnet | 1 | 7047858 | // Copyright 2018 Esri.
//
// 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 ... |
CLR/Tools/EmulatorInterface/IDigest.cs | Sirokujira/MicroFrameworkPK_v4_3 | 4 | 7047859 | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Microsoft Corporation. All rights reserved.
/////////////////////////////////////////////////////////... |
WFA_EJ/Forms/F_SelectedGroup.cs | oulshu/WFA_EJ_Net5 | 0 | 7047860 | <reponame>oulshu/WFA_EJ_Net5
using System;
using System.Linq;
using System.Windows.Forms;
namespace WFA_EJ.Forms
{
public partial class F_SelectedGroup : Form
{
#region Поля
private (string Year, string NameGroup) SelectedGroup;
#endregion
#region Свойства
public st... |
AutoMapperVerifyMappings/Mapping/ApplicationMapperProfile.cs | rikrak/AutoMapperConfigurationVerificationIssue | 0 | 7047861 | using System;
using AutoMapper;
using AutoMapperVerifyMappings.Models;
namespace AutoMapperVerifyMappings.Mapping
{
public class ApplicationMapperProfile : Profile
{
public ApplicationMapperProfile()
{
this.CreateMap<MainViewModel, MainModel>()
//.ForMember(m => m.E... |
CryptoData/Services/BinanceComputationService.cs | ydubernet/crypto-data | 0 | 7047862 | <filename>CryptoData/Services/BinanceComputationService.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
using CryptoData.Models;
using CryptoData.ResponsesContracts;
namespace CryptoData.Services
{
public class BinanceComputationServi... |
ILogAdapter.cs | amh1979/AspNetCore.FileLog | 5 | 7047864 | /* ===============================================
* 功能描述:AspNetCore.FileLog.ILoggerWriter
* 创 建 者:WeiGe
* 创建日期:1/3/2019 2:58:09 PM
* ===============================================*/
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Diag... |
LaunchPadStreamDeck.API/Services/LaunchpadService.cs | ybadragon/LaunchPadStreamDeck | 0 | 7047865 | using System;
using System.Linq;
using LaunchPadStreamDeck.API.Classes;
using LaunchPadStreamDeck.API.Enums;
namespace LaunchPadStreamDeck.API.Services
{
public class LaunchpadService
{
public LaunchpadDevice Device;
private bool isListening;
public LaunchpadService()
{
... |
EntityFrameworkCore.Vfp/Storage/Internal/TypeMappings/VfpLogicalTypeMapping.cs | illyaz/EntityFrameworkCore.Vfp | 4 | 7047866 | using Microsoft.EntityFrameworkCore.Storage;
using VfpClient;
namespace EntityFrameworkCore.Vfp.Storage.Internal.TypeMappings {
public class VfpLogicalTypeMapping : RelationalTypeMapping {
public VfpLogicalTypeMapping() : base(VfpType.Logical.ToVfpTypeName(), typeof(bool), VfpType.Logical.ToDbType()) {
... |
Freight/Assets/Scripts/Photon/Audio/AudioManager.cs | calumwestt/COMS30400 | 0 | 7047867 | <filename>Freight/Assets/Scripts/Photon/Audio/AudioManager.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class AudioManager : MonoBehaviour
{
public AudioSource currentAudio;
[Header("Audio")]
[SerializeField]
private AudioSource helloWelcome;
void Star... |
SpatialFiltering/ConvFilter.cs | ChristelSirocchi/ImageProcessingLab | 1 | 7047868 | using System;
using System.Drawing;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Drawing.Imaging;
using System.Runtime.InteropServices;
namespace ImageProcessingWF
{
class ConvFilter : IFilter
{
//Properties
pu... |
NoFuserEx/NoFuserEx/Deobfuscator/Deobfuscators/AntiTamperDeobfuscator.cs | fuongtd/NoFuserEx | 10 | 7047869 | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using dnlib.DotNet;
using dnlib.DotNet.Emit;
using MethodAttributes = dnlib.DotNet.MethodAttributes;
using MethodImplAttributes = dnlib.DotNet.MethodImplAttributes;
namespace NoFuserEx.Deobfuscator.Deobf... |
test/MockHttp.Tests/Http/QueryStringTests.cs | qkhaipham/MockHttp | 15 | 7047870 | <filename>test/MockHttp.Tests/Http/QueryStringTests.cs
using System;
using System.Collections.Generic;
using FluentAssertions;
using MockHttp.FluentAssertions;
using Xunit;
namespace MockHttp.Http
{
public class QueryStringTests
{
[Fact]
public void Given_null_queryString_when_creating_should_throw()
{
IEn... |
Involver/Pages/Votings/Create.cshtml | Lauyea/involver | 0 | 7047871 | <reponame>Lauyea/involver
@page
@model Involver.Pages.Votings.CreateModel
@{
ViewData["Title"] = "建立";
Layout = "~/Pages/Shared/_Layout.cshtml";
}
<h1>建立</h1>
<h4>投票</h4>
<hr />
@*<div>
<a asp-page="../Episodes/Details" asp-route-id="@Model.Voting.EpisodeID"><i class="fas fa-chevron-left"></i>回到章節</a>
<... |
Respawn/Checkpoint.cs | anddrzejb/Respawn | 1 | 7047872 | <reponame>anddrzejb/Respawn
using System.Collections;
using Respawn.Graph;
namespace Respawn
{
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
[System.Diagnostics.CodeAnalysis.SuppressMessage(... |
ADarkBlazor/ADarkBlazor/Services/Workers/Crafter.cs | Xciles/ADarkBlazor | 0 | 7047873 | using System.Threading;
using ADarkBlazor.Services.Resources.Interfaces;
namespace ADarkBlazor.Services.Workers
{
public abstract class Crafter : Worker
{
private readonly IHyperState _hyperState;
protected double Upkeep { get; set; } = 1;
protected IFood Food { get; }
private ... |
Src/NikkiMusic/Actions/ActionButtonBase.cs | kanroot/nikkimusic | 0 | 7047874 | using Godot;
namespace NikkiMusic.Actions
{
public abstract class ActionButtonBase: Node2D
{
[Export] protected float timeBetweenStates = 0.7f;
[Export] protected int scoreHorrible = 100;
[Export] protected int scoreBad = 200;
[Export] protected int scoreGood = 800;
[Export] protected int scorePerfect = 1... |
UnitySDK/Assets/ML-Lander/Scripts/Tests/SceneManager.cs | livedtrid/ml-lander | 0 | 7047875 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SceneManager : MonoBehaviour
{
public Transform islandTransform, rocketTransform;
Vector3 rocketStartPosition;
Quaternion rocketStartRotation;
//-9.3 50
// Use this for initialization
void Sta... |
trunk/STG/Assets/Scripts/Component/CommandEvent/CommandEventPlayerIdSetter.cs | hiroki-kitahara/Shoooooooooooooting-kitahara | 2 | 7047876 | <reponame>hiroki-kitahara/Shoooooooooooooting-kitahara
/*===========================================================================*/
/*
* * FileName : CommandEventPlayerIdSetter.cs
*
* * Author : Hiroki_Kitahara.
*/
/*===========================================================================*/
using... |
BurnSoft.Applications.MGC/Firearms/Accessories.cs | burnsoftnet/BurnSoft.Applications.MGC | 0 | 7047878 | <reponame>burnsoftnet/BurnSoft.Applications.MGC<filename>BurnSoft.Applications.MGC/Firearms/Accessories.cs
using System;
using System.Collections.Generic;
using System.Data;
using BurnSoft.Applications.MGC.Types;
using BurnSoft.Universal;
// ReSharper disable UnusedMember.Local
namespace BurnSoft.Applications.MGC.Fi... |
Scripts/Runtime/Data/Collections/UnsafeTypedStream.cs | decline-cookies/anvil-ecs-dots | 1 | 7047879 | <filename>Scripts/Runtime/Data/Collections/UnsafeTypedStream.cs
using Anvil.Unity.DOTS.Entities;
using Anvil.Unity.DOTS.Jobs;
using System.Runtime.InteropServices;
using Unity.Assertions;
using Unity.Burst;
using Unity.Collections;
using Unity.Collections.LowLevel.Unsafe;
using Unity.Jobs;
using Unity.Jobs.LowLevel.Uns... |
src/Dotnet9.Web/Views/Shared/_PublicLayout.cshtml | dotnet9/Dotnet9 | 0 | 7047880 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>@ViewData["Title"]_Dotnet9_.NET技术网站</title>
<meta name="keywords" content=".NET_Winform_WPF_WebAPI_MAUI"/>
<meta name="description" content="一个专注于.NET技术的网站"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link h... |
src/Leftware.Tasks.Core/TaskExecutor.cs | jhonnycano/Leftware-Tasks | 0 | 7047881 | <filename>src/Leftware.Tasks.Core/TaskExecutor.cs
using Leftware.Common;
using Leftware.Injection.Attributes;
using Spectre.Console;
namespace Leftware.Tasks.Core;
[Service]
public class TaskExecutor
{
private readonly ICommonTaskLocator _taskLocator;
private readonly ICommonTaskProvider _taskProvider;
p... |
src/softaware.Cqs.Tests/CancellationTokenTest.cs | softawaregmbh/library-cqs | 5 | 7047882 | using System;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using FluentValidation;
using Microsoft.Extensions.DependencyInjection;
using NUnit.Framework;
using SimpleInjector;
using softaware.Cqs.Decorators.FluentValidation;
using softaware.Cqs.Decorators.Transaction;
using softaware.... |
Assets/Scripts/PlayerSpawner.cs | liendoanjp2/TNTTSimulator | 1 | 7047883 | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerSpawner : MonoBehaviour
{
private static GameObject player;
public GameObject playerPrefab;
// use this if we do not want to set the player position in prefab
public Vector3 startingPoint ... |
labs/lab_42_EFCore_From_Scratch/Program.cs | mohssin19/2019-09-c-sharp-labs | 0 | 7047884 | using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Sqlite;
using Microsoft.EntityFrameworkCore.SqlServer;
using Microsoft.EntityFrameworkCore.Design;
using System.Collections.Generic;
using System.Linq;
using System.Diagnostics;
namespace lab_42_EFCore_From_Scratch
{
class Pr... |
ZptSharp/Tal/RepetitionContextProvider.cs | csf-dev/ZPT-Sharp | 1 | 7047885 | using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using ZptSharp.Expressions;
using ZptSharp.Dom;
namespace ZptSharp.Tal
{
/// <summary>
/// Implementation of <see cref="IGetsRepetitionContexts"/> which gets and prepares
/// the repetition contexts.
/// </sum... |
swig/Box2DPINVOKE.cs | vptrung/b2Sharp | 4 | 7047886 | <gh_stars>1-10
//------------------------------------------------------------------------------
// <auto-generated />
//
// This file was automatically generated by SWIG (http://www.swig.org).
// Version 4.0.2
//
// Do not make changes to this file unless you know what you are doing--modify
// the SWIG interface file i... |
Assets/Scripts/UI/UpgradeScript.cs | shigeru22/world-roller | 0 | 7047887 | using UnityEngine;
using UnityEngine.UI;
public class UpgradeScript : MonoBehaviour
{
[SerializeField] Text unlockPriceText;
[SerializeField] Text currentCoinsText;
[SerializeField] Button yesButton;
[SerializeField] Button noButton;
Powerup type;
Animator anim;
void Start()
{
... |
camunda-bpm-platform-net/engine/src/test/java/org/camunda/bpm/engine/test/api/multitenancy/MultiTenancyMigrationAsyncTest.cs | luizfbicalho/Camunda.NET | 6 | 7047888 | <filename>camunda-bpm-platform-net/engine/src/test/java/org/camunda/bpm/engine/test/api/multitenancy/MultiTenancyMigrationAsyncTest.cs<gh_stars>1-10
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed wit... |
src/TurnerSoftware.CascadingStyles/Rules/StyleRule.cs | TurnerSoftware/CascadingStyles | 7 | 7047889 | using System;
using System.Collections.Generic;
namespace TurnerSoftware.CascadingStyles.Rules
{
public class StyleRule : Rule
{
public string SelectorText { get; set; }
public Dictionary<string, string> Style { get; } = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
}
}
|
ExampleODataFromDocumentDb/Models/HouseDto.cs | nkinnan/DocumentDbExtensions | 1 | 7047890 | <filename>ExampleODataFromDocumentDb/Models/HouseDto.cs
using System;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Microsoft.Azure.Documents;
using System.Collections.Generic;
namespace ExampleODataFromDocumentDb
{
/// <summary>
/// ============... |
src/Services/PiliPala/WindVane.PiliPala.Domain/Interfaces/Repositories/ICategoryRepository.cs | PseudoJunZi/WindVane | 4 | 7047891 | using System;
using System.Collections.Generic;
using System.Text;
using WindVane.Domain.Interfaces;
using WindVane.PiliPala.Domain.Models;
namespace WindVane.PiliPala.Domain.Interfaces.Repositories
{
public interface ICategoryRepository : IRepository<Category>
{
}
}
|
Assets/SilCilSystem/Editor/Internals/Variables/CustomEditors/Converters/ToInt/VariableFloatToIntEditor.cs | kugimasa/UnityTeamDevTemplate | 6 | 7047892 | <reponame>kugimasa/UnityTeamDevTemplate<filename>Assets/SilCilSystem/Editor/Internals/Variables/CustomEditors/Converters/ToInt/VariableFloatToIntEditor.cs
using UnityEngine;
using UnityEditor;
using SilCilSystem.Editors;
using SilCilSystem.Internals.Variables.Converters;
using SilCilSystem.Variables.Generic;
namespac... |
Unit-testing with C# - 2016/03. Mocking and JustMock/Cars/Cars.Tests.JustMock/CarsRepositoryTests.cs | todor-enikov/TelerikAcademy | 0 | 7047893 | using System;
using NUnit.Framework;
using Cars.Models;
using Cars.Data;
using System.Collections.Generic;
using Moq;
using Cars.Tests.JustMock.Mocks;
using Cars.Contracts;
using System.Linq;
namespace Cars.Tests.JustMock
{
[TestFixture]
public class CarsRepositoryTests
{
[Test]
public voi... |
src/BlogSystem.Web/App_Start/BundleConfig.cs | csyntax/BlogSystem | 25 | 7047894 | namespace BlogSystem.Web
{
using System.Web.Optimization;
public class BundleConfig
{
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
public static void RegisterBundles(BundleCollection bundles)
{
RegisterScripts(bundles);
... |
cn.mikualpha.orderlimit.Code/Event_GroupMessage.cs | mikualpha/CQP-OrderLimit | 0 | 7047895 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Native.Sdk.Cqp.EventArgs;
using Native.Sdk.Cqp.Interface;
public class Event_GroupMessage : IGroupMessage
{
#region --公开方法--
/// <summary>
/// Type=2 群消息<para/>
/// 处理收到的群消息
/// </summary>
/// <param na... |
System.Linq/TimeZoneInfo/TimeZoneInfo.cs | ststeiger/DDay.iCal | 1 | 7047896 | <reponame>ststeiger/DDay.iCal<filename>System.Linq/TimeZoneInfo/TimeZoneInfo.cs<gh_stars>1-10
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Runtime.InteropServices;
using Microsoft.VisualBasic.CompilerServices;
using... |
Nayu/Program.cs | Phytal/Nayu | 1 | 7047897 | /////////////////////////////////////////
// _ _ //
// | \ | | //
// | \| | __ _ _ _ _ _ //
// | . ` | / _` | | | | | | | | | //
// | |\ | | (_| | | |_| | | |_| | //
// |_| \_| \__,_| \__, | \__,_| //
// ... |
Managed/UnrealEngine.Runtime/UnrealEngine.Runtime/Internal/Native/Native_FScriptDelegate.cs | MiheevN/USharp | 353 | 7047898 | <filename>Managed/UnrealEngine.Runtime/UnrealEngine.Runtime/Internal/Native/Native_FScriptDelegate.cs<gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
#pragma warning disable 649 // Field is never assigned
namespace UnrealEngine.Runtime.Native
{
static class... |
Tzkt.Sync/Services/Cache/TokensCache.cs | ridicoulous/tzkt | 6 | 7047899 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Tzkt.Data;
using Tzkt.Data.Models;
namespace Tzkt.Sync.Services.Cache
{
public class TokensCache
{
public const int MaxItems = 4 * 4096; /... |
BlockIdle/Blocker.cs | itdelatrisu/BlockIdle | 3 | 7047900 | <gh_stars>1-10
using System;
using System.Windows.Forms;
namespace itdelatrisu.BlockIdle {
/// <summary>
/// Idle blocker.
/// </summary>
public class Blocker {
private Timer timer;
private bool active = false;
private const int TIMER_INTERVAL = 5000;
/// <summary>
/// Initializes the idle blocker.
/... |
YoutubeMP3Downloader/Forms/MainForm.cs | robot9706/YTMP3 | 0 | 7047901 | using MetroFramework.Controls;
using MetroFramework.Forms;
using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using YoutubeExtractor;
namespace YoutubeMP3Downloader
{
public partial class MainForm : MetroForm
{
private List<ConvertTask>... |
Infrastructure.Option/Option.cs | vilppu/Arado.Option | 1 | 7047902 | <reponame>vilppu/Arado.Option
using System.Linq;
using System.Collections.Generic;
using System;
namespace Infrastructure
{
public abstract class Option<T>
{
public static Some<T> Some(T value) =>
new Some<T>(value);
public static Option<T> None { get; } =
None<T>.Inst... |
src/JosephGuadagno.Broadcasting.Domain/SourceSystems.cs | TechWatching/jjgnet-broadcast | 1 | 7047903 | <reponame>TechWatching/jjgnet-broadcast
namespace JosephGuadagno.Broadcasting.Domain
{
public static class SourceSystems
{
public static readonly string SyndicationFeed = "SyndicationFeed";
public static readonly string YouTube = "YouTube";
}
} |
Wabbajack.Networking.BethesdaNet/DTOs/Depot.cs | nollidnosnhoj/wabbajack | 0 | 7047904 | using System.Text.Json.Serialization;
namespace Wabbajack.Networking.BethesdaNet.DTOs;
public class Depot
{
[JsonPropertyName("id")]
public int Id { get; set; }
[JsonPropertyName("properties_id")]
public int PropertiesId { get; set; }
[JsonPropertyName("name")]
public string Name { get; set;... |
CrudeOilStockPrice/Server/Services/StockPricePredictor.cs | harveytriana/CrudeOilStockPrice | 0 | 7047905 | // ==================================
// BlazorSpread.net
// ===================================
using CrudeOilStockPrice.Shared;
using Microsoft.ML;
using System;
namespace CrudeOilStockPrice.Server.Services
{
public class StockPricePredictor
{
PredictionEngine<StockPrice, StockPricePrediction> _pred... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.