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 |
|---|---|---|---|---|
EasySoft.PssS.Web/Filters/MyAuthorizeAttribute.cs | liunc/Easysoft-PssS | 0 | 7036451 | // ----------------------------------------------------------
// 系统名称:EasySoft PssS
// 项目名称:Web
// 创 建 人:刘年超
// 创建时间:2017-05-13
// ----------------------------------------------------------
// 修改记录:
//
//
// ----------------------------------------------------------
// 版权所有:易则科技工作室
// -------------------... |
src/Capgemini.Xrm.DataMigration.Core/IMappingFetchCreator.cs | davidjpowell80/xrm-datamigration | 18 | 7036452 | <gh_stars>10-100
using Capgemini.Xrm.DataMigration.Model;
namespace Capgemini.Xrm.DataMigration.Core
{
public interface IMappingFetchCreator
{
/// <summary>
/// produces bit of fetch xml which queries dayabase for mapping data.
/// </summary>
/// <param name="entityName">entity... |
src/Service.SmsSender.Grpc/Models/Responses/SentHistoryResponse.cs | MyJetWallet/Service.SmsSender | 0 | 7036453 | <reponame>MyJetWallet/Service.SmsSender<gh_stars>0
using System.Collections.Generic;
using System.Runtime.Serialization;
using Service.SmsSender.Domain.Models;
namespace Service.SmsSender.Grpc.Models.Responses
{
[DataContract]
public class SentHistoryResponse
{
[DataMember(Order = 1)]
publ... |
MVC_Entitity/EntityApp2/Controllers/Base.cs | RichWarrior/VS-GrupArge | 0 | 7036454 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace EntityApp2.Controllers
{
public class Base : Controller
{
public LogicLayer.BLL bll;
public Base()
{
if (bll == null)
bll = new LogicLayer.BL... |
src/tests/JIT/opt/Devirtualization/comparable.cs | pyracanda/runtime | 9,402 | 7036456 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
public sealed class X: IComparable<X>
{
int ival;
public X(int i)
{
ival = i;
}
public int CompareTo(X x)
{
return ival - x.i... |
SolutionSettings/Services/VisualStudioSettingsManager.cs | Lavinski/ReSpacer | 2 | 7036457 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EnvDTE;
using Microsoft.VisualStudio;
namespace Enexure.SolutionSettings.Services
{
class VisualStudioSettingsManager
{
private readonly DTE environment;
static readonly VSConstants.VSStd97... |
src/FutureState.Batch/ILoader.cs | riskvista/futurestate-forked | 1 | 7036458 | <reponame>riskvista/futurestate-forked
namespace FutureState.Batch
{
/// <summary>
/// An ETL loader.
/// </summary>
public interface ILoader
{
/// <summary>
/// The entity type being loaded.
/// </summary>
string LoaderTypeCode { get; }
/// <summary... |
Assets/Scripts/UI/WorldCanvas/WUIAIDebug.cs | sdasd30/TSSG | 0 | 7036459 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class WUIAIDebug : WUIBase
{
public Text DispText;
private AITaskManager m_AI;
private AITaskManager m_Task;
private string m_lastDisplayedString;
// Start is called before the... |
V1.0/Main/DinerwareSystem/frmFindCustomer.cs | bLoyal-Integration/dinerware | 0 | 7036460 | <gh_stars>0
using bLoyal.Connectors.LoyaltyEngine;
using bLoyal.Utilities;
using DinerwareFindCustomer;
using DinerwareSystem.Helpers;
using DinerwareSystem.Models;
using DinerwareSystem.Provider;
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace DinerwareSyst... |
OnionPattern/OnionPattern.Api/Controllers/BaseController.cs | CubicleJockey/OnionPattern | 4 | 7036461 | <gh_stars>1-10
using System;
using Microsoft.AspNetCore.Mvc;
using OnionPattern.Domain.Errors;
using Serilog;
namespace OnionPattern.Api.Controllers
{
/// <inheritdoc />
/// <summary>
/// Base Controller with Common Actions
/// </summary>
public abstract class BaseController : Controller
{
... |
ViewModelSupport/Extensions.cs | ThunderEagle/ViewModelSupport | 0 | 7036462 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace ViewModelSupport
{
public static class Extensions
{
public static void Each<T>(this IEnumerable<T> items, Action<T> action)
{
foreach(var item in items)
{
action(item);
}
}
public static s... |
CSharp/IRPF.Lib/Files/DEC_Intermediate.cs | RafaelEstevamReis/IRPF | 0 | 7036463 | using IRPF.Lib.Classes_DEC;
using IRPF.Lib.Serialization;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace IRPF.Lib.Files
{
public partial class DEC_Intermediate
{
string[] lines;
... |
src/PubSubSample.Domain/Configuration.cs | hendryanw/pub-sub-sample | 1 | 7036464 | using System;
using System.Collections.Generic;
using System.Text;
namespace PubSubSample.Domain
{
/// <summary>
/// The configuration entity.
/// </summary>
public class Configuration
{
/// <summary>
/// The key of the configuration.
/// </summary>
public string Ke... |
Website/SourceCode/Profiles/Profiles/Edit/Modules/CustomEditWebsite/WebsiteState.cs | kapelletier/ProfilesRNS-Orchard | 13 | 7036465 | using System;
namespace Profiles.Edit.Modules.CustomEditWebsite
{
public class WebsiteState
{
public WebsiteState(string URLID, string URL, string WebPageTitle, string PublicationDate, int SortOrder)
{
this.URLID = URLID;
this.URL = URL;
this.W... |
Common/HomeCloud.DependencyInjection/ServiceFactory.cs | olegsivakov/HomeCloud | 0 | 7036466 | <gh_stars>0
namespace HomeCloud.DependencyInjection
{
#region Usings
using System;
using HomeCloud.Core;
using Microsoft.Extensions.DependencyInjection;
#endregion
/// <summary>
/// Provides a factory for the services of <see cref="T"/> type.
/// </summary>
/// <typeparam name="T">The type of the service.... |
2021/Day02/Solution.cs | cotenoni/adventofcode | 0 | 7036467 | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text.RegularExpressions;
using System.Text;
namespace AdventOfCode.Y2021.Day02;
[ProblemName("Dive!")]
class Solution : Solver {
public object PartOne(string input) {
int position = ... |
src/Migrators/Migrators.PostgreSQL/Migrations/Application/20211015023948_UpdatedRoleClaims.cs | obrana-boranija/dotnet-webapi-boilerplate | 0 | 7036468 | <reponame>obrana-boranija/dotnet-webapi-boilerplate<gh_stars>0
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Migrators.PostgreSQL.Migrations.Application
{
public partial class UpdatedRoleClaims : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
... |
Solutions/OfficeDevPnP.SPOnline/Core/SPOWeb.cs | HenrikGustafsson/PnP | 0 | 7036469 | using OfficeDevPnP.SPOnline.Core.Utils;
using Microsoft.SharePoint.Client;
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Linq;
using Microsoft.SharePoint.Client.Publishing;
namespace OfficeDevPnP.SPOnline.Co... |
src/System.ComponentModel.TypeConverter/tests/AddingNewEventArgsTests.cs | vkvenkat/corefx | 15 | 7036470 | // 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 Xunit;
namespace System.ComponentModel.Tests
{
public class AddingNewEventArgsTests
{
[Fact]
... |
sources/presentation/Stride.Core.Presentation.Quantum.Tests/Helpers/TestInstanceContext.cs | profan/stride | 3 | 7036471 | // Copyright (c) Stride contributors (https://stride3d.net) and Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// Distributed under the MIT license. See the LICENSE.md file in the project root for more information.
using Stride.Core.Presentation.Quantum.Presenters;
using Stride.Core.Presentation.Quantum.ViewMod... |
Lectures/String Exercise/String-and-text-processing/Problem09ReplaceTags(regex)/Program.cs | borschetsky/TelerikAcademyAlpha2017 | 0 | 7036473 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
namespace Problem09ReplaceTags_regex_
{
class Program
{
static void Main(string[] args)
{
string input = Console.ReadLine();
... |
src/MooVC.Architecture.Tests/EntityMaximumIdValueExceededExceptionTests/WhenEntityMaximumIdValueExceededExceptionIsSerialized.cs | MooVC/MooVC.Architecture | 1 | 7036474 | <reponame>MooVC/MooVC.Architecture
namespace MooVC.Architecture.EntityMaximumIdValueExceededExceptionTests
{
using System;
using MooVC.Architecture.Serialization;
using Xunit;
public sealed class WhenEntityMaximumIdValueExceededExceptionIsSerialized
{
[Fact]
public void GivenAnInst... |
src/Qualm.Tests/Commands/CommandProcessorTests.cs | dusda/qualm | 0 | 7036475 | <reponame>dusda/qualm
using Moq;
using Qualm.Commands;
using System;
using System.Threading.Tasks;
using Xunit;
namespace Qualm.Tests.Commands
{
public class CommandProcessorTests
{
private CommandProcessor BuildCommandProcessor()
{
var registry = new Mock<ICommandHandlerRegistry>(... |
ChinookASPNETWebAPI/Chinook.UnitTest/Repositories/GenreRepositoryTest.cs | ANgajasinghe/ChinookASPNETWebAPI | 5 | 7036476 | <gh_stars>1-10
using System.Threading.Tasks;
using Chinook.Domain.Repositories;
using Xunit;
namespace Chinook.UnitTest.Repository
{
public class GenreRepositoryTest
{
private readonly IGenreRepository _repo;
public GenreRepositoryTest(IGenreRepository g) => _repo = g;
[Fact]
... |
HexaBike/Assets/CORE/GUI/PauseMenu.cs | sebad-git/unity-game-hexabike | 0 | 7036477 | using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using mountsix.characters;
namespace mountsix.ui{
public class PauseMenu : MonoBehaviour {
public Slider sensitivity;
void Start () {
sensitivity.value = PlayerPrefs.GetFloat(GameData.SENSITIVITY);
Time.timeScale = 0;
}
public void... |
WayForNothingScripts/PlayerMovment.cs | KorzenGameDev/CSharpScripts | 0 | 7036478 | <filename>WayForNothingScripts/PlayerMovment.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(Rigidbody2D))]
[RequireComponent(typeof(Collider2D))]
public class PlayerMovment : MonoBehaviour {
public float movmentSpeed;
public int verPosition = 1;
... |
CleanArchitectureExample.Domain/RequestHandlers/BookLoanHandlers/Commands/RequestLoan/Events/LoanEffetivatedEvent.cs | andresantarosa/CleanArchitectureExample | 66 | 7036480 | using MediatR;
using System;
namespace CleanArchitectureExample.Domain.RequestHandlers.BookLoanHandlers.Commands.RequestLoan.Events
{
public class LoanEffetivatedEvent: INotification
{
public LoanEffetivatedEvent(string name, string phone, string bookName, string email, DateTime returnDate)
{
... |
db/Shipment.cs | ignatov-dmitry/ctiProject | 0 | 7036482 | <reponame>ignatov-dmitry/ctiProject
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace db
{
public class Shipment
{
public int Id ... |
MPT/CSI/API/MPT.CSI.API/Core/Program/CSiApplication.cs | MarkPThomas/MPT.Net | 0 | 7036483 | <gh_stars>0
// ***********************************************************************
// Assembly : MPT.CSI.API
// Author : <NAME>
// Created : 06-04-2017
//
// Last Modified By : <NAME>
// Last Modified On : 10-10-2017
// ********************************************************************... |
VisualStudio/Sources/CentralUnit Tests/TurboModeActivated/InTraining/When_Speed_Is_Max_And.cs | Heinzman/DigiRcMan | 0 | 7036484 | <filename>VisualStudio/Sources/CentralUnit Tests/TurboModeActivated/InTraining/When_Speed_Is_Max_And.cs
using Elreg.BusinessObjects.Races;
using Elreg.CentralUnitService.Settings;
using NUnit.Framework;
// ReSharper disable InconsistentNaming
namespace Elreg.UnitTests.CentralUnitTests.TurboModeActivated.InTraini... |
CharacterOccurrencesInAString/Program.cs | deedeedextor/AlgotirhmsExercises | 0 | 7036485 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
namespace CharacterOccurrencesInAString
{
class Program
{
static void Main(string[] args)
{
CountCharacterOccurrencesInAString("Hello world");
CountCharacterOccurrencesInAStringUsi... |
DXNET/Direct3D/DeviceMultithread.cs | lepoco/dxnet | 8 | 7036486 | <reponame>lepoco/dxnet<gh_stars>1-10
// Copyright (c) 2021 DXNET - <NAME> & Contributors
// Copyright (c) 2010-2019 SharpDX - <NAME> & SharpDX Contributors
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to dea... |
APPBASE/BL/STOK/Mutasi/PROCESSING/Mutasi_revsub/BL.cs | arinsuga/posup | 1 | 7036487 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using APPBASE.Helpers;
using APPBASE.Models;
using APPBASE.Svcbiz;
namespace APPBASE.Models
{
public partial class Mutasi_revsubBL : Mutasi_revBL
{
private DBMAINContext db;
public DBMAINContext... |
OData/test/E2ETestV3/WebStack.QA.Test.OData/Formatter/ODataResultTests.cs | andygjp/WebApi | 1 | 7036488 | using System;
using System.Collections.Generic;
using System.Data.Services.Client;
using System.Data.Services.Common;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Web.Http;
using System.Web.Http.OData;
using System.Web.Http.OData.Builder;
using System.Web.Http.OData.Extensions;
using System.Web.H... |
tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/GraphQL/IValidationResultTuple.cs | rnburn/dd-trace-dotnet | 1 | 7036489 | // <copyright file="IValidationResultTuple.cs" company="Datadog">
// Unless explicitly stated otherwise all files in this repository are licensed under the Apache 2 License.
// This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2017 Datadog, Inc.
// </copyright>
#pragma warning... |
Zwyssigly.ImageServer.Core/(Shared)/Md5.cs | Zwyssigly/Zwyssigly.ImageServer | 0 | 7036490 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using Zwyssigly.Functional;
using Zwyssigly.ValueObjects;
namespace Zwyssigly.ImageServer
{
public class Md5 : SimpleValueObject<Md5>
{
public static Result<Md5, string> FromBase64(string value)
{
... |
TorchAutoModerator/AutoModerator.Punishes.Broadcasts/BroadcastListenerCollection.cs | HnZGaming/TorchAudoModerator | 3 | 7036491 | <reponame>HnZGaming/TorchAudoModerator<gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using NLog;
using Sandbox.Game.World;
using Utils.Torch;
using VRage.Game.ModAPI;
namespace AutoModerator.Punishes.Broadcasts
{
public sealed class BroadcastListenerCollection
{
public interface I... |
Trunk/Code/Nate.Connector.CDK/MetadataProvider.cs | NateKeefe/scribe-edi | 0 | 7036493 | <filename>Trunk/Code/Nate.Connector.CDK/MetadataProvider.cs<gh_stars>0
using System;
using System.Collections.Generic;
using Scribe.Core.ConnectorApi;
using Scribe.Core.ConnectorApi.Logger;
using Scribe.Core.ConnectorApi.Metadata;
using Scribe.Connector.Common;
namespace CDK
{
internal class MetadataProvider: IM... |
src/Silverlight/Silverlight4/Lighthouse.Silverlight.Core/SilverlightUnitTestingCustomizations/LighthouseUnitTestHarness.cs | archnaut/Lighthouse | 0 | 7036495 | using Microsoft.Silverlight.Testing.Harness;
namespace Lighthouse.Silverlight.Core.SilverlightUnitTestingCustomizations
{
public class LighthouseUnitTestHarness : UnitTestHarness
{
protected override TestRunFilter CreateTestRunFilter(Microsoft.Silverlight.Testing.UnitTestSettings settings)
{
... |
SRC/Controles/CU_Menu.Designer.cs | NeoRyu/MinutPapillon | 0 | 7036496 | namespace MinutPapillon
{
partial class CU_Menu
{
/// <summary>
/// Variable nécessaire au concepteur.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Nettoyage des ressources utilisées.
/// </summary>
... |
Source/Classic/Libs/ManagedIrbis/Source/Identifiers/Isci.cs | fossabot/ManagedIrbis | 0 | 7036497 | // 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
/* Isci.cs -- ISCI
* Ars Magna project, http://arsmagna.ru
* -------------------------------------------------------
* Status: poor
*/
#region Using dire... |
DiscountAPI.Application/Services/CustomerTypeService.cs | efeonier/DiscountAPI | 0 | 7036498 | <gh_stars>0
using DiscountAPI.Application.Services.Interfaces;
using DiscountAPI.Core.Entities;
using DiscountAPI.Core.Repositories;
using DiscountAPI.Core.UnitOfWorks;
namespace DiscountAPI.Application.Services
{
public class CustomerTypeService : Service<CustomerType>, ICustomerTypeService
{
public C... |
src/wms-shared/Model/LayerDataRequestModel.cs | yodeskir/wms-ide | 0 | 7036499 |
namespace wmsShared.Model
{
public class LayerDataRequestModel
{
public int? RowStart { get; set; }
public int? RowEnd { get; set; }
public string FilterBy { get; set; }
public string FilterOpType { get; set; }
public string FilterValue { get; set; }
}
}
|
src/fileprovider.cs | knightvishal/xamarin-macios | 1 | 7036501 | <filename>src/fileprovider.cs<gh_stars>1-10
//
// FileProvider C# bindings
//
// Authors:
// <NAME> <<EMAIL>>
// <NAME> <<EMAIL>>
//
// Copyright 2017 Xamarin Inc. All rights reserved.
// Copyright 2019 Microsoft Corporation
//
#if XAMCORE_2_0
using System;
using ObjCRuntime;
using CoreGraphics;
using Foundation... |
CustomTemplate/Installers/IInstaller.cs | JMatoso/CustomTemplate | 1 | 7036502 | <filename>CustomTemplate/Installers/IInstaller.cs
namespace CustomTemplate.Installers
{
public interface IServiceInstaller
{
void InstallServices(IServiceCollection services, IConfiguration configuration);
}
public interface IExtensionInstaller
{
void InstallExtensions(WebApplicatio... |
Assignments/Assignment 02 - Store Inheritance/StoreInheritance/Program.cs | gbouzon/app-dev | 0 | 7036503 | <filename>Assignments/Assignment 02 - Store Inheritance/StoreInheritance/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StoreInheritance
{
class Program
{
//method to get a valid answer for mailing list option ak... |
Components/SwatchrAmbientTriLightingColor.cs | Palkiaa/swatchr | 1 | 7036504 | <reponame>Palkiaa/swatchr
using UnityEngine;
namespace swatchr.components
{
[ExecuteInEditMode]
public class SwatchrAmbientTriLightingColor : MonoBehaviour
{
[Header("Warning: This component changes scene settings in Lighting->Scene")]
public SwatchrColor sky;
public SwatchrColor ... |
Assets/SplineEditor/Editor/SplineEditor_Inspector.cs | vvrvvd/Unity-Spline-Editor | 40 | 7036505 | <reponame>vvrvvd/Unity-Spline-Editor<filename>Assets/SplineEditor/Editor/SplineEditor_Inspector.cs<gh_stars>10-100
// <copyright file="SplineEditor_Inspector.cs" company="vvrvvd">
// Copyright (c) vvrvvd. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license infor... |
csharp/src/Apache.Arrow/Flatbuf/DictionaryEncoding.cs | timkpaine/arrow | 9,734 | 7036506 | // <auto-generated>
// automatically generated by the FlatBuffers compiler, do not modify
// </auto-generated>
namespace Apache.Arrow.Flatbuf
{
using global::System;
using global::FlatBuffers;
/// ----------------------------------------------------------------------
/// Dictionary encoding metadata
internal struct... |
Tatum/Clients/IAdaClient.cs | rosolam/tatum-csharp | 9 | 7036507 | <filename>Tatum/Clients/IAdaClient.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Threading.Tasks;
/// <summary>
/// Summary description for IAdaClient
/// </summary>
///
namespace Tatum
{
public interface IAdaClient
{
Task<Ada> GetBl... |
C# Basics/IntroAndBasicSyntaxMoreExercise/3.GamingStore/Program.cs | deedeedextor/Software-University | 0 | 7036508 | <filename>C# Basics/IntroAndBasicSyntaxMoreExercise/3.GamingStore/Program.cs
using System;
namespace _3.GamingStore
{
class Program
{
static void Main(string[] args)
{
double currentBalance = double.Parse(Console.ReadLine());
string game = Console.ReadLine();
... |
ConsoleApp1/SimplifiedSmo.IO.cs | Rhyx14/SupportVectorMachine | 0 | 7036509 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
namespace ConsoleApp1
{
public partial class SimplifiedSmo
{
public SimplifiedSmo InitTrainSet(string path)
{
LoadDataSet(path, out this.X, out this.Y);
return this;
}
public... |
Assets/LuaFramework/ToLua/Source/Generate/FairyGUI_GObjectWrap.cs | King098/LuaFramework-ToLua-FairyGUI | 24 | 7036510 | //this source code was auto-generated by tolua#, do not modify it
using System;
using LuaInterface;
public class FairyGUI_GObjectWrap
{
public static void Register(LuaState L)
{
L.BeginClass(typeof(FairyGUI.GObject), typeof(FairyGUI.EventDispatcher));
L.RegFunction("SetXY", SetXY);
L.RegFunction("SetPosition"... |
src/Ringo.Bot.Net/BotCommands/RingoBotCommands.cs | Ringobot/ringo | 6 | 7036511 | using Microsoft.Bot.Builder;
using Microsoft.Bot.Schema;
using Microsoft.Extensions.Logging;
using RingoBotNet.Helpers;
using RingoBotNet.Models;
using RingoBotNet.Services;
using RingoBotNet.State;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;... |
Unity2020Test/Assets/QFramework/Framework/Plugins/Runtime/ActionKit/Node/SpawnNode.cs | JiYangJi/QFramework | 1 | 7036512 | <reponame>JiYangJi/QFramework<filename>Unity2020Test/Assets/QFramework/Framework/Plugins/Runtime/ActionKit/Node/SpawnNode.cs
/****************************************************************************
* Copyright (c) 2018 ~ 2020.10 liangxie
*
* https://qframework.cn
* https://github.com/liangxiegame/QFramework
... |
Development/AppGene/AppGene.Common.Entities.Infrastructure/Inferences/SortPropertyInfo.cs | snyang/AppGene | 1 | 7036513 | <filename>Development/AppGene/AppGene.Common.Entities.Infrastructure/Inferences/SortPropertyInfo.cs
using System.Reflection;
namespace AppGene.Common.Entities.Infrastructure.Inferences
{
public class SortPropertyInfo
{
public PropertyInfo PropertyInfo { get; set; }
public bool SortDescending ... |
Finan/Finan.Repository/Repositories/LocalRepository.cs | Pierry/finan-api | 4 | 7036514 | using System;
using System.Collections.Generic;
using System.Linq;
using Finan.Domain.Contracts.Repositories;
using Finan.Domain.Entities;
namespace Finan.Repository.Repositories
{
public class LocalRepository : ILocalRepository
{
private readonly IList<Local> _mock;
public LocalRepository()
... |
aspnet-core/src/ProyectoSO.EntityFrameworkCore/Migrations/20190505203403_MateriasInscritas-Grupo.cs | RubenSanchez99/ProyectoSO | 0 | 7036515 | <filename>aspnet-core/src/ProyectoSO.EntityFrameworkCore/Migrations/20190505203403_MateriasInscritas-Grupo.cs
using Microsoft.EntityFrameworkCore.Migrations;
namespace ProyectoSO.Migrations
{
public partial class MateriasInscritasGrupo : Migration
{
protected override void Up(MigrationBuilder migratio... |
Common/IdentityInfo.cs | jelledruyts/IdentitySamples | 22 | 7036516 | <gh_stars>10-100
using System.Collections.Generic;
namespace Common
{
/// <summary>
/// Represents information about an identity as seen from an application.
/// </summary>
public class IdentityInfo
{
#region Properties
/// <summary>
/// The source of the identity informat... |
src/DrugProductDatabase/Classes/DrugProduct.cs | Clinical-Support-Systems/canadian-drug-product-database | 0 | 7036517 | <reponame>Clinical-Support-Systems/canadian-drug-product-database<filename>src/DrugProductDatabase/Classes/DrugProduct.cs
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DrugProductDatabase
{
public class DrugProduct
... |
src/AD.FunctionalExtensions.Tests/UnitTests/Tests.cs | Andreas-Dorfer/functional-extensions | 11 | 7036518 | using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace AD.FunctionalExtensions.Tests.UnitTests
{
[TestClass]
public class Tests
{
[TestMethod]
public void All_Units_are_equal()
{
Unit a = default;
Unit b = new();
var c = Unit.Value;
... |
VotingInfo/Database/Logic/Data/ContentInspection/ContentInspectionLogic.Static.cs | SPDEVGUY/VotingInfoWebsite | 0 | 7036519 | using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Data;
using VotingInfo.Database.Contracts;
using VotingInfo.Database.Contracts.Data;
///////////////////////////////////////////////////////////
//Do not modify this file. Use a partial class to extend.//
////////////////////////... |
src/Modules/JobScheduler.Hangfire/BusinessObjects/ChainJob.cs | eXpandFramework/XAF | 2 | 7036520 | <reponame>eXpandFramework/XAF
using System.ComponentModel;
using DevExpress.Persistent.Validation;
using DevExpress.Xpo;
using Xpand.XAF.Persistent.BaseImpl;
namespace Xpand.XAF.Modules.JobScheduler.Hangfire.BusinessObjects {
public class ChainJob:CustomBaseObject {
public ChainJob(Session session) : base... |
Iirc.EnergyStatesAndCostsScheduling.Shared/Input/Writers/JsonInputWriter.cs | CTU-IIG/EnergyStatesAndCostsScheduling | 0 | 7036521 | // This file is released under MIT license.
// See file LICENSE.txt for more information.
namespace Iirc.EnergyStatesAndCostsScheduling.Shared.Input.Writers
{
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Formatters.Binary;
using Iirc.EnergyStatesAndCostsScheduling.Shared.Input... |
Assets/DynamicShadowProjector/Scripts/ShadowTextureRenderer.cs | andobiki/Project_03 | 0 | 7036522 | //
// ShadowTextureRenderer.cs
//
// Dynamic Shadow Projector
//
// Copyright 2015 <NAME> PTE. LTD. All Rights Reserved.
//
using UnityEngine;
using UnityEngine.Rendering;
using System.Collections.Generic;
namespace DynamicShadowProjector {
#if UNITY_2018_3_OR_NEWER
[ExecuteAlways]
#else
[ExecuteInE... |
DataStorage/AccountSave.cs | asd7766zxc/Endless_Development_Project | 1 | 7036523 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Endless_Development_Project_Studio.DataStorage;
using ReDive_Bot.DataStorage;
namespace ReDive_Bot.library.PrincessDataBase
{
public static class AccountSave
{
public static List<A... |
src/GiGraph.Dot.Entities.Tests/Html/FontStyles/DotHtmlFontStyleTest.cs | mariusz-schimke/GiGraph | 27 | 7036524 | <filename>src/GiGraph.Dot.Entities.Tests/Html/FontStyles/DotHtmlFontStyleTest.cs
using GiGraph.Dot.Entities.Html.Font.Styles;
using GiGraph.Dot.Output.Options;
using GiGraph.Dot.Output.Qualities;
using Snapshooter.Xunit;
using Xunit;
namespace GiGraph.Dot.Entities.Tests.Html.FontStyles
{
public partial class DotHt... |
WWWGame.DataAccessLibrary/Model/Question.cs | J-McElroy/WWWGame | 0 | 7036525 | using System;
using System.Collections.Generic;
using System.Data.Linq.Mapping;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WWWGame.DataAccessLibrary.Model
{
[Table(Name = "Questions")]
class Question
{
[Column(IsPrimaryKey = true, IsDbGenerated = true)]
p... |
src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/SnapshotGetRepositoryRequest.g.cs | SimonCropp/elasticsearch-net | 0 | 7036526 | <filename>src/Elastic.Clients.Elasticsearch/_Generated/Api/Snapshot/SnapshotGetRepositoryRequest.g.cs
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗ ... |
src/Databases/DbUpdateWorkflowDatabase.EF/DbUpdateWorkflowDbContext.cs | UKHO/taskmanager | 9 | 7036527 | <reponame>UKHO/taskmanager<gh_stars>1-10
using System;
using DbUpdateWorkflowDatabase.EF.Models;
using Microsoft.Azure.Services.AppAuthentication;
using Microsoft.Data.SqlClient;
using Microsoft.EntityFrameworkCore;
namespace DbUpdateWorkflowDatabase.EF
{
public class DbUpdateWorkflowDbContext : DbContext
{
... |
src/libraries/System.Globalization/tests/NumberFormatInfo/NumberFormatInfoCurrentInfo.cs | pyracanda/runtime | 9,402 | 7036528 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Diagnostics;
using System.Tests;
using Microsoft.DotNet.RemoteExecutor;
using Xunit;
namespace System.Globalization.Tests
{
public... |
PandocGui/App.axaml.cs | Ombrelin/pandoc-gui | 15 | 7036529 | using System;
using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Markup.Xaml;
using FluentAvalonia.Styling;
using PandocGui.CliWrapper;
using PandocGui.Services;
using PandocGui.ViewModels;
using PandocGui.Views;
using Serilog;
namespace PandocGui;
public class App : Application
{
public... |
PowerCollections/Source/UnitTests/OrderedSetTests.cs | iliantrifonov/TelerikAcademy | 2 | 7036530 | //******************************
// Written by <NAME>
// Copyright (c) 2004-2005, Wintellect
//
// Use and restribution of this code is subject to the license agreement
// contained in the file "License.txt" accompanying this file.
//******************************
#region Using directives
using System;
using Syste... |
src/Rhino.Licensing.AdminTool.Tests/Services/BoolToVisibilityConverterTests.cs | gep13/rhino-licensing | 0 | 7036531 | using System.Globalization;
using System.Windows;
using Rhino.Licensing.AdminTool.ValueConverters;
using Xunit;
using Xunit.Extensions;
namespace Rhino.Licensing.AdminTool.Tests.Services
{
public class BoolToVisibilityConverterTests
{
private readonly BoolToVisibilityCollapsedConverter _converter;
... |
Assets/Moe Baker/Moe Tools/Standalone/Utility/UI/UI Creator/UI Template/UITemplate.cs | EZKATKAGAMES/OnePunchMang | 38 | 7036532 | <filename>Assets/Moe Baker/Moe Tools/Standalone/Utility/UI/UI Creator/UI Template/UITemplate.cs
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using UnityEngine.AI;
#if UNITY_EDITOR
using UnityEdito... |
C# OOP/04_InterfacesAndAbstraction/03_Ferrari/Engine.cs | q2kPetrov/SoftUni | 4 | 7036533 | <gh_stars>1-10
namespace Ferrari
{
public class Engine
{
public void Run()
{
var driverName = Reader.ReadLine();
var driver = new Ferrari(driverName);
Writer.Write($"{driver.Model}{driver.Brakes()}{driver.Gas()}{driver.Name}");
}
}
}
|
DotnetCms.Test/DeletegateHelperTest.cs | zhengshengyi/DotnetCms | 1 | 7036534 | /**
*┌──────────────────────────────────────────────────────────────┐
*│ 描 述:DeletegateHelper测试类
*│ 作 者:zhengshengyi
*│ 版 本:1.0
*│ 创建时间:2020/8/16 23:33:33 ... |
EDSDKLib/CameraClasses.cs | rtice3/photo_booth | 1 | 7036535 | <gh_stars>1-10
using System;
using System.IO;
using System.Linq;
using System.Drawing;
using System.Threading;
using System.Globalization;
using System.Drawing.Imaging;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace EDSDKLib
{
/// <summary>
/// Handles the Canon... |
src/TygaSoft/SqlServerDAL/AutoCode/Notice.cs | qq283335746/CompanySite | 1 | 7036536 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using TygaSoft.IDAL;
using TygaSoft.Model;
using TygaSoft.DBUtility;
namespace TygaSoft.SqlServerDAL
{
public partial class Notice : INotice
{
#region INotice Member
... |
Data/YJC.Toolkit.Data/Data/_DataXmlConfig/EasySearchRefConfig.cs | madiantech/tkcore | 4 | 7036537 | using YJC.Toolkit.Sys;
namespace YJC.Toolkit.Data
{
public sealed class EasySearchRefConfig
{
internal EasySearchRefConfig()
{
}
public EasySearchRefConfig(string field, string refField)
{
TkDebug.AssertArgumentNullOrEmpty(field, "field", null);
... |
SQL/MySQL/MySqlDataOperatorDbRead.cs | ElbyFross/uniform-data-operator | 1 | 7036538 | <reponame>ElbyFross/uniform-data-operator<gh_stars>1-10
//Copyright 2019 <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
//
//Unle... |
mcs/class/corlib/Test/System.Runtime.Serialization.Formatters.Binary/VersionTolerantSerialization/VersionTolerantSerializationTestLib/5.0/Address.cs | lefb766/mono | 469 | 7036539 | using System;
using System.Runtime.Serialization;
namespace VersionTolerantSerializationTestLib
{
[Serializable]
public class Address
{
private string Street = "v5-Street";
private string City = "v5-City";
private string CountryCode = "v5-CountryCode";
[OptionalField (VersionAdded = 4)]
private string Po... |
Assets/Store Assets/QcPrimitives/Scripts/QcGridMesh.cs | HBot106/Bounty | 0 | 7036540 | <reponame>HBot106/Bounty
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace QuickPrimitives
{
[ExecuteInEditMode]
public class QcGridMesh : QcPrimitivesBase
{
[System.Serializable]
public class QcGridProperties : QcBaseProperties
{
... |
C#Examples/DISnetSolution/DISnet/DataStreams/DataInputStream.cs | rodneyp290/open-dis-csharp | 0 | 7036541 | <filename>C#Examples/DISnetSolution/DISnet/DataStreams/DataInputStream.cs
// Copyright (c) 1995-2009 held by the author(s). All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redist... |
DPE.Core.Common/Helper/MD5Hepler.cs | a465717049/mk | 2 | 7036542 | <reponame>a465717049/mk<filename>DPE.Core.Common/Helper/MD5Hepler.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.Text;
namespace DPE.Core.Common.Helper
{
public class MD5Helper
{
/// <summary>
/// 16位MD5加密
/// </summary... |
src/Librame.AspNetCore.Web.Abstractions/Themepacks/IThemepackInfo.cs | gitter-badger/aspnetcore | 2 | 7036543 | #region License
/* **************************************************************************************
* Copyright (c) <NAME> All rights reserved.
*
* https://github.com/librame
*
* You must not remove this notice, or any other, from this software.
* ********************************************************... |
software/mosek/7/tools/examples/dotnet/case_portfolio_3.cs | trgao10/PuenteAlignment-Slurm | 2 | 7036544 | <reponame>trgao10/PuenteAlignment-Slurm
using System;
/*
File : case_portfolio_3.cs
*
Copyright : Copyright (c) MOSEK ApS, Denmark. All rights reserved.
Description : Implements a basic portfolio optimization model.
*/
class msgclass : mosek.Stream
{
string prefix;
public msgclass (string prfx)
{... |
src/MineCase.Server/Program.cs | DavidAlphaFox/MineCase | 1 | 7036545 | using Microsoft.Extensions.Configuration;
using Orleans.Hosting;
using Orleans.Runtime.Configuration;
using System;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using MineCase.Serialization.Serializers;
using Orleans;
namespace MineCase.Server
{
partial class Program
{
... |
Assets/Scripts/PlayerInputToController.cs | k77torpedo/ColliderCharacterController | 0 | 7036546 | using UnityEngine;
public class PlayerInputToController : MonoBehaviour {
//Fields
public ColliderCharacterController _controller;
Vector3 _direction;
//Functions
void Awake () {
_controller.OnColliderEnter += Controller_OnColliderEnter;
_controller.OnColliderExit += Controller_O... |
internals/src/EflSharp/EflSharp/efl/efl_app.eo.cs | yoowonyoung/TizenFX | 1 | 7036547 | #define EFL_BETA
#pragma warning disable CS1591
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.ComponentModel;
namespace Efl {
/// <summary>Object representing the application itself.
/// (Since EFL 1.22)</summary>
[Efl.App.... |
17. ASP.NET MVC/02. AJAX with ASP.NET MVC/MoviesSystem.Web/Models/Movie.cs | TeeeeeC/TelerikAcademy2015-2016 | 0 | 7036548 | <gh_stars>0
namespace MoviesSystem.Web.Models
{
using System.ComponentModel.DataAnnotations;
public class Movie
{
[Key]
public int Id { get; set; }
[Required]
public string Title { get; set; }
[Required]
public string Director { get; set; }
[Requi... |
src/Umbraco.Web/Security/Identity/ForceRenewalCookieAuthenticationMiddleware.cs | ismailmayat/Umbraco-CMS | 0 | 7036549 | using Microsoft.Owin;
using Microsoft.Owin.Security.Cookies;
using Microsoft.Owin.Security.Infrastructure;
using Owin;
namespace Umbraco.Web.Security.Identity
{
/// <summary>
/// This middleware is used simply to force renew the auth ticket if a flag to do so is found in the request
/// </summary>
int... |
BrawlLib/BrawlManagerLib/GCT/ReadOnly/CNMT.cs | kitlith/BrawlCrate | 0 | 7036550 | <filename>BrawlLib/BrawlManagerLib/GCT/ReadOnly/CNMT.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace BrawlLib.BrawlManagerLib.GCT.ReadOnly
{
public class CNMT
{
public readonly Dictionary<ushort, string> Map;
public CNMT(byte[] data)
... |
FrozenOut/Assets/Scripts/Level/Item/Inventory.cs | n2ty/Frozen-Out | 6 | 7036551 | using System.Collections;
using System.Collections.Generic;
using System;
using UnityEngine;
using Scripts.Settings;
using Scripts.Level.Player;
using Scripts.Level.Sound;
namespace Scripts.Level.Item
{
public class Inventory : BaseManager
{
public LevelManager LevelManager;
public UI... |
resharper/resharper-unity/src/Unity.Shaders/ShaderLab/Settings/ShaderLabSupport.cs | SirDuke/resharper-unity | 0 | 7036552 | using JetBrains.Application;
using JetBrains.Application.Settings;
using JetBrains.DataFlow;
using JetBrains.Lifetimes;
using JetBrains.ReSharper.Plugins.Unity.Core.Application.Settings;
namespace JetBrains.ReSharper.Plugins.Unity.ShaderLab.Settings
{
[ShellComponent]
public class ShaderLabSupport
{
... |
CM-SS13-Logger/UI/UnhandledMessages.cs | Gachl/CM-SS13-Logger | 0 | 7036553 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CM_SS13_Logger
{
public partial class UnhandledMessages : Form
{
private LogRe... |
KPCodeGen.Entity/Domain/HasMany.cs | NumericTechnology/KPCodeGen.Net | 0 | 7036554 | <gh_stars>0
/*
* Copyright 2011-2015 Numeric Technology
*
* 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 ... |
PutridParrot.DataAnnotations/ExpectedAttribute.cs | putridparrot/PutridParrot.DataAnnotations | 0 | 7036555 | using System;
using System.ComponentModel.DataAnnotations;
using System.Linq;
namespace PutridParrot.DataAnnotations
{
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter)]
public class ExpectedAttribute : ValidationAttribute
{
public ExpectedAttribute(o... |
TEditXna/Editor/Tools/SelectionTool.cs | ChillMagic/Terraria-Map-Editor | 115 | 7036556 | <reponame>ChillMagic/Terraria-Map-Editor<gh_stars>100-1000
using System;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using TEdit.Geometry.Primitives;
using GalaSoft.MvvmLight;
using TEditXna.ViewModel;
namespace TEditXna.Editor.Tools
{
public class Selecti... |
LinkedOut/submissions/Nick_Bitounis/Latest/src/StableMarriage/Program.cs | e-travel/codechallenge2 | 0 | 7036557 | <filename>LinkedOut/submissions/Nick_Bitounis/Latest/src/StableMarriage/Program.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
namespace StableMarriage
{
public class Program
{
public const int... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.