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 |
|---|---|---|---|---|
Aprimo.Epi.Extensions.API/Fields/LocalizedValue.cs | Aprimo-Connect/aprimo-episerver-extension | 0 | 7027634 | using Newtonsoft.Json;
using System.Collections.Generic;
namespace Aprimo.Epi.Extensions.API.Fields
{
public partial class LocalizedValue
{
public LocalizedValue()
{
this.LanguageId = "00000000000000000000000000000000";
this.Values = new List<string>();
}
... |
Chapters/Oop/TopLevelAccessibility/ReferredClassLibrary/Internals.cs | ufcpp/UfcppSample | 126 | 7027635 | <reponame>ufcpp/UfcppSample
internal interface InternalInterface
{
InternalDelegate X { get; }
}
internal delegate void InternalDelegate();
namespace A
{
internal class InternalClass : InternalInterface
{
private InternalStruct _value;
public InternalDelegate X => _value.X;
}
in... |
CookPopularControl/Controls/BlockBar/BlockBarRect.cs | Muzsor/CookPopularControl | 18 | 7027636 | using System.Diagnostics.Contracts;
using System.Windows;
using System.Windows.Media;
/*
* Copyright (c) 2021 All Rights Reserved.
* Description:BlockBarRec
* Author: Chance_写代码的厨子
* Create Time:2021-08-06 15:06:09
*/
namespace CookPopularControl.Controls
{
/// <summary>
/// 表示矩形块状
/// </summary>
... |
Controllers/HomeController.cs | xEvilCorp/We.Share | 0 | 7027637 | <gh_stars>0
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
namespace WeShare.Web.Controllers
{
public class HomeController : Controller
{
protected AppDbContext Context;
protected UserManager<ApplicationUser> UserManager;
protected SignInManager<ApplicationUser> Si... |
objectModel/CSharp/Microsoft.CommonDataModel.ObjectModel.Tests/Cdm/Projection/ProjectionAddAttributeGroupTest.cs | rt112000/CDM | 884 | 7027638 | <reponame>rt112000/CDM
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.CommonDataModel.ObjectModel.Tests.Cdm.Projection
{
using Microsoft.CommonDataModel.ObjectModel.Cdm;
using Micr... |
src/Windowing/Silk.NET.SDL/Enums/SensorType.gen.cs | qhdwight/silk-net | 1,142 | 7027639 | <filename>src/Windowing/Silk.NET.SDL/Enums/SensorType.gen.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using Silk.NET.Core.Attributes;
#pragma warning disable 1591
namespace Silk.NET.SDL
{
[Flags]
[N... |
nopCommerce 4.4/src/Presentation/Nop.Web/Areas/Admin/Models/Directory/CurrencyExchangeRateModel.cs | peterthomet/BioPuur | 0 | 7027640 | <filename>nopCommerce 4.4/src/Presentation/Nop.Web/Areas/Admin/Models/Directory/CurrencyExchangeRateModel.cs
using Nop.Web.Framework.Models;
namespace Nop.Web.Areas.Admin.Models.Directory
{
/// <summary>
/// Represents a currency exchange rate model
/// </summary>
public partial record CurrencyExchang... |
tests/monotouch-test/CoreGraphics/FontTest.cs | luhenry/xamarin-macios | 0 | 7027641 | //
// Unit tests for CGFont
//
// Authors:
// <NAME> <<EMAIL>>
//
// Copyright 2015 Xamarin Inc. All rights reserved.
//
using System;
using System.IO;
using System.Runtime.InteropServices;
#if XAMCORE_2_0
using Foundation;
using CoreGraphics;
using ObjCRuntime;
using UIKit;
#else
using MonoTouch;
using MonoTouch.Cor... |
ModEnfasisPlus/NamelessOld/Libraries/Yggdrasil/ReL/NetTools.cs | ANamelessWolf/RivieraModulador | 0 | 7027642 | using NamelessOld.Libraries.Yggdrasil.Exceptions;
using NamelessOld.Libraries.Yggdrasil.Lilith;
using NamelessOld.Libraries.Yggdrasil.Resources;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace NamelessOld.Libraries.Yggdras... |
src/BlazorApp/BlazorApp/AppShell.xaml.cs | egvijayanand/WeeklyXamarinBlazor | 1 | 7027643 | using BlazorApp.Views;
using Microsoft.Maui;
using Microsoft.Maui.Controls;
using WeeklyXamarin.Core.Helpers;
namespace BlazorApp
{
public partial class AppShell : Shell
{
public AppShell()
{
InitializeComponent();
Routing.RegisterRoute(Constants.Navigation.Paths.Articl... |
GW2PAO/Modules/WvW/Interfaces/IWvWController.cs | Marmatt/GW2-repo | 149 | 7027644 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GW2PAO.API.Data.Enums;
using GW2PAO.Modules.WvW.ViewModels;
namespace GW2PAO.Modules.WvW.Interfaces
{
public interface IWvWController
{
/// <s... |
Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Editor_64bits/FBasedMovementInfo.cs | RobertAcksel/UnrealCS | 1 | 7027645 | <filename>Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Editor_64bits/FBasedMovementInfo.cs
#if WITH_EDITOR
#if PLATFORM_64BITS
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace UnrealEngine
{
/// <summary>Struct to hold information about the... |
source/Nuke.Common/Utilities/DelegateDisposable.cs | werwolfby/nuke | 0 | 7027646 | // Copyright 2018 Maintainers and Contributors of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using JetBrains.Annotations;
namespace Nuke.Common.Utilities
{
public class DelegateDisposable : IDisposable
{
public... |
Telefonbuch/Controllers/Test2Controller.cs | jk94/telephonebook | 1 | 7027647 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Net.Http;
using System.Web.Http;
using Telefonbuch.Models;
namespace Telefonbuch.Controllers
{
public class Test2Controller : ApiController
{
[Authorize]
public ContactModel Get()
... |
VxTel/Controllers/HomeController.cs | danielbrenom/VxTel | 0 | 7027648 | using System.Diagnostics;
using Microsoft.AspNetCore.Mvc;
using VxTel.Domain.Exceptions;
using VxTel.Domain.Interfaces;
using VxTel.Domain.Models;
using VxTel.Domain.Models.Requests;
namespace VxTel.Controllers
{
[Controller]
[Route("[controller]")]
public class HomeController : Controller
{
p... |
HairSalon/Views/Shared/Footer.cshtml | falconswoosh/Wk3C--IP-MVC-Salon | 0 | 7027649 | <div id="footer">
<h1>Quick Links</h1>
<div class="footerDiv" style="width: 10%; float:left;">
<a href="/stylist/new">Add A Stylist</a>
</div>
<div class="footerDiv" style="width: 10%; float:left;">
<a href="/stylist/clear">Clear All Stylists</a>
</div>
<div class="footerDiv" style="width: 10%; float:left... |
samples/core/DynamicModel/ConfigurableEntity.cs | redoz/EntityFramework.Docs | 518 | 7027650 | namespace EFModeling.DynamicModel
{
public class ConfigurableEntity
{
public int Id { get; set; }
public int IntProperty { get; set; }
public string StringProperty { get; set; }
}
}
|
Src/Framework.Dto/Data/ImageDto.cs | goodtocode/Framework | 2 | 7027651 | using System;
using GoodToCode.Framework.Name;
namespace GoodToCode.Framework.Data
{
/// <summary>
/// Common object across models and business entity
/// </summary>
/// <remarks></remarks>
public class ImageDto : EntityDto<ImageDto>, IBytesKey, IName
{
/// <summary>
/// Name of this image
... |
code/TicketOffice/TicketOffice.Api/Domain/Timer.cs | 42skillz/talk-AMDDD19 | 6 | 7027652 | using System;
namespace TicketOffice.Api.Domain
{
public class Timer : ITimer, IDisposable
{
private Action<object> _callback;
private object _state;
private System.Threading.Timer _timer;
public void Dispose()
{
_timer?.Dispose();
}
public... |
ChatClassLibrary/OrarioInglese.cs | olivelliputelli/ProgettazioneSoftware | 0 | 7027653 | <reponame>olivelliputelli/ProgettazioneSoftware
using System;
namespace ChatClassLibrary
{
public class OrarioInglese : Orario
{
public OrarioInglese() : base() { }
public OrarioInglese(int h, int m, int s) : base(h, m, s) { }
public OrarioInglese(int h, int m, int s, bool pm)
... |
interfaces/Dynamics-Autorest/Models/MicrosoftDynamicsCRMSecurityPrivilegeMetadata.cs | GeorgeWalker/jag-spd-spice | 2 | 7027654 | // <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Gov.Jag.Spice.Interfaces.Models
{
using Newtonsoft.Json;
using System.Linq;
/// <summary>
/// SecurityP... |
src/Employee/Infrastructure.Subscribers/EmployeeEventSubscriber.cs | cykelbud/lrms | 0 | 7027655 | <filename>src/Employee/Infrastructure.Subscribers/EmployeeEventSubscriber.cs
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using EventFlow.Aggregates;
using EventFlow.Queries;
using EventFlow.Subscribers;
namespace Employee.Infrastructure.Subscribers
{
... |
TeamCity.MSBuild.Logger/DictionaryEntryKeyComparer.cs | gokul59/teamcity-msbuild-logger | 10 | 7027656 | <reponame>gokul59/teamcity-msbuild-logger<gh_stars>1-10
namespace TeamCity.MSBuild.Logger
{
using System;
using System.Collections.Generic;
internal class DictionaryEntryKeyComparer : IComparer<Property>
{
public static readonly IComparer<Property> Shared = new DictionaryEntryKeyComparer();
... |
shared/utils/Visa.Proxy/PasswordDigestMessageInspector.cs | BOONRewardsInc/rewards | 13 | 7027657 | <gh_stars>10-100
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
//
using System.Net;
using System.Text;
namespace Visa.Proxy
{
using Microsoft.Web.Services3.Security.Tokens;
using System;... |
MvvmCross/AutoView/AutoView/Auto/KeyedAuto.cs | stoneman/MvvmCross | 2 | 7027658 | // KeyedAuto.cs
// MvvmCross is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in readme.md and license.txt
//
// Project Lead - Stuart Lodge, @slodge, <EMAIL>
namespace MvvmCross.AutoView.Auto
{
using CrossUI.Core.Descriptions;
public abstract class KeyedAuto : BaseA... |
SolidCP/Sources/SolidCP.WebPortal/DesktopModules/SolidCP/WebApplicationGalleryInstall.ascx.designer.cs | shadowchamber/SolidCP | 54 | 7027659 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-----------------------------------------... |
Aow.Services/ProductVariants/GetVariantResultByAttOption.cs | dpk2789/aow-new-api | 0 | 7027660 | using Aow.Infrastructure.IRepositories;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Aow.Services.ProductVariants
{
[Service]
public class GetVariantResultByAttOption
{
private IRepositoryWrapper _repoWrapper;
public GetVari... |
SpeechTest/Library/PackageCache/com.unity.collab-proxy@1.5.7/Editor/PlasticSCM/Configuration/ToolConfig.cs | TOKIOatoz/SpeechUnity | 41 | 7027661 | using System.IO;
using Codice.Utils;
namespace Unity.PlasticSCM.Editor.Configuration
{
internal static class ToolConfig
{
internal static string GetUnityPlasticLogConfigFile()
{
return GetConfigFilePath(LOG_CONFIG_FILE);
}
static string GetConfigFilePath(string co... |
src/Snoop/Views/EventsView.xaml.cs | aelij/snoopx | 8 | 7027662 | <reponame>aelij/snoopx
// (c) 2015 <NAME>
// (c) Copyright <NAME>.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
using System;
using System.Collections;
using System.Collections.Generic;
using Sy... |
SpecFlowHelper/Steps/Strategies/Default/DefaultDownloadStepsStrategy.cs | giacomelli/SpecFlowHelper | 6 | 7027663 | using System.IO;
using HelperSharp;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SpecFlowHelper.Integrations;
namespace SpecFlowHelper.Steps.Strategies.Default
{
/// <summary>
/// Default download steps strategy.
/// </summary>
public class DefaultDownloadStepsStrategy : StepsStrategyBase... |
lab6/Lab6_aka_Reports.DAL/IEmployeeRepository.cs | richiurb/OOP-labs | 0 | 7027664 | using System;
using Lab6_aka_Reports.Entities;
namespace Lab6_aka_Reports.DAL
{
public interface IEmployeeRepository
{
Employee Get(Guid id);
void Insert(Employee employee);
void Update(Employee employee);
}
}
|
Id/ValidationManager.cs | BLSoft/GalileiBackend | 0 | 7027665 | <reponame>BLSoft/GalileiBackend
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Owin_Auth.Utils;
namespace Owin_Auth.Id
{
public class ValidationManager: IValidationManager
{
public async Task<string> RegisterU... |
BusinessLayer/Handlers/Groups/CreateGroupHandler.cs | returner/asp-net-core-jwt-identity | 0 | 7027666 | using BusinessLayer.Commands.Groups;
using Entities.Interfaces;
using Entities.Models;
using MediatR;
using SharedModel.Payloads.Responses;
namespace BusinessLayer.Handlers.Groups
{
public class CreateGroupHandler : IRequestHandler<CreateGroupCommand, CreateGroupDtoResponse>
{
private readonly IIdenti... |
External/Tools/SwfOp/Data/Abc.cs | Klug76/flashdevelop | 577 | 7027667 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace SwfOp.Data
{
#region enums
public enum MethodFlags : byte
{
NeedArguments = 0x01,
NeedActivation = 0x02,
NeedRest = 0x04,
HasOptional = 0x08,... |
ContentPatcher/Framework/Migrations/Migration_1_22.cs | hninsin/StardewMods | 1 | 7027668 | using System.Diagnostics.CodeAnalysis;
using ContentPatcher.Framework.Conditions;
using Pathoschild.Stardew.Common.Utilities;
using StardewModdingAPI;
namespace ContentPatcher.Framework.Migrations
{
/// <summary>Validates patches for format version 1.22.</summary>
[SuppressMessage("ReSharper", "InconsistentNam... |
converter/dicom-cast/src/Microsoft.Health.DicomCast.TableStorage/Registration/DicomCastTableRegistrationExtension.cs | rohankhera/dicom-server | 1 | 7027669 | // -------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// -----------------------------------------------------------... |
MinMaxSearch/Exceptions/UnknownProblemException.cs | JTOne123/MinMaxSearch | 4 | 7027671 | using System.Text;
namespace MinMaxSearch.Exceptions
{
public class UnknownProblemException : MinMaxSearchException
{
public UnknownProblemException(string message) :
base(CreateExceptionMessage(message))
{
}
private static string CreateExceptionMessage(string mes... |
Assets/Project Planner/Editor/Scripts/Handlers/RenameHandler.cs | Broxzier/Project-Planner | 11 | 7027672 | using System;
namespace ProjectPlanner
{
public class RenameHandler
{
private string ID;
public bool Active
{
get
{
return Object != null;
}
}
public IRename Object
{
get;
private set;
... |
DerekWare.Misc/Collections/Ordered/OrderedDictionary.cs | DerekWare/Iris | 3 | 7027674 | <filename>DerekWare.Misc/Collections/Ordered/OrderedDictionary.cs<gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace DerekWare.Collections
{
/// <summary>
/// Combines a List with a Dictionary to maintain the insertion order of items.
/... |
src/Microsoft.AspNet.SignalR.Core/MessageBus/MessageStore.cs | pszmyd/SignalR | 1 | 7027675 | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.md in the project root for license information.
using System;
using System.Threading;
namespace Microsoft.AspNet.SignalR
{
// Represents a message store that is backed by a ring buffer.
public sealed class MessageStore<T> whe... |
CorgEng.MapLoading/MapFile.cs | PowerfulBacon/CorgEng | 1 | 7027676 | using CorgEng.GenericInterfaces.ContentLoading;
using CorgEng.GenericInterfaces.MapLoader;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CorgEng.MapLoading
{
public class MapFile : IMapFile
{
public int MapWidth => throw ... |
ironpython2/Src/IronPython/Compiler/OnDiskScriptCode.cs | shuice/IronPython_UWP | 2 | 7027677 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
using AnyPrefix... |
fr4nc3.com.tasks/fr4nc3.com.tasks/Startup.cs | Fr4nc3/csharp_tasks_api | 0 | 7027678 | <reponame>Fr4nc3/csharp_tasks_api
using fr4nc3.com.tasks.CustomSettings;
using fr4nc3.com.tasks.Data;
using fr4nc3.com.tasks.Middleware;
using Microsoft.ApplicationInsights.Extensibility.PerfCounterCollector.QuickPulse;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNet... |
OBeautifulCode.Serialization/SerializationConfiguration/SerializationConfigurationBase/SerializationConfigurationBase.cs | OBeautifulCode/OBeautifulCode.Serialization | 0 | 7027679 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="SerializationConfigurationBase.cs" company="OBeautifulCode">
// Copyright (c) OBeautifulCode 2018. All rights reserved.
// </copyright>
// --------------------------------------... |
CreativeCards-master/Creativity Cards Game - Team 11/Assets/Scripts/Shooting.cs | GamesDevDave/Creative-Cards-V2 | 1 | 7027680 | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Shooting : MonoBehaviour
{
[SerializeField]
private Transform Gun;
[SerializeField]
private GameObject Bullet;
private Vector2 lookDirection;
private float lookAngle;
// Update is ... |
AutomatedFinances.BusinessCore/Entities/Note.cs | albert118/NET-AutomatedFinances | 0 | 7027681 | using System;
using System.Collections.Generic;
namespace AutomatedFinances.BusinessCore.Entities
{
public class Note
{
public Guid Id { get; set; }
public string Body { get; set; }
public ICollection<Cost> Cost { get; set; } = new HashSet<Cost>();
}
}
|
Source/Libs/AM.Windows.Forms5/Source/SimpleScrollableControl.cs | amironov73/ManagedIrbis5 | 0 | 7027682 | // 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
// ReSharper disable CheckNamespace
// ReSharper disable CommentTypo
// ReSharper disable IdentifierTypo
// ReSharper disable MemberCanBeProtected.Global
// R... |
Kooboo.CMS/Kooboo.CMS.Modules/Kooboo.CMS.Modules.Publishing/Kooboo.CMS.Modules.Publishing/Services/IncomingQueueManager.cs | syberside/CMS | 288 | 7027683 | <reponame>syberside/CMS
using Kooboo.CMS.Common.Persistence.Non_Relational;
using Kooboo.CMS.Content.Models;
using Kooboo.CMS.Content.Persistence;
using Kooboo.CMS.Content.Services;
using Kooboo.CMS.Modules.Publishing.Models;
using Kooboo.CMS.Modules.Publishing.Persistence;
using Kooboo.CMS.Sites.Models;
using Kooboo.... |
src/Common/Entities/Gender.cs | sgermosen/Bloody | 14 | 7027684 | <filename>src/Common/Entities/Gender.cs
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
namespace Common.Entities
{
public class Gender
{
[Key]
public int GenderId { get; set; }
[... |
Assets/Scripts/ScreenManager/Screens/PauseScreen.cs | ciberjm/CreeperPlof | 0 | 7027685 | <reponame>ciberjm/CreeperPlof<gh_stars>0
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class PauseScreen : ScreenBase
{
#region constants
#endregion
#region vars
#endregion
#region properties
public override ScreenID ID
{
get { return ScreenID.Pause; }
}
#e... |
src/SmartSql.Test/Entities/FlexibleByte.cs | XiaoHeitu/SmartSql | 596 | 7027686 | <reponame>XiaoHeitu/SmartSql
using System;
using System.Collections.Generic;
using System.Text;
namespace SmartSql.Test.Entities
{
public class FlexibleByte
{
public Byte Byte { get; set; }
public Byte Boolean { get; set; }
public Byte Char { get; set; }
public Byte Int16 { get... |
src/Juniper.Root/Units/Temperature/Farenheit.cs | capnmidnight/Juniper | 9 | 7027687 | <filename>src/Juniper.Root/Units/Temperature/Farenheit.cs
namespace Juniper.Units
{
/// <summary>
/// Conversions from farenheit
/// </summary>
public static class Farenheit
{
/// <summary>
/// The temperature in Farenheit at which pure water freezes.
/// </summary>
p... |
src/Elmah.AspNet/HttpTextAsyncHandler.cs | SamehMohamedEl-Sayed/elmah | 1 | 7027688 | #region License, Terms and Author(s)
//
// ELMAH - Error Logging Modules and Handlers for ASP.NET
// Copyright (c) 2004-9 <NAME>. All rights reserved.
//
// Author(s):
//
// <NAME>, http://www.raboof.com
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file e... |
src/main/CsharpDotNet2/LaunchDarkly/Api/Model/UserSettingsBody.cs | ZackManning/api-client-dotnet | 4 | 7027689 | <reponame>ZackManning/api-client-dotnet
using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace LaunchDarkly.Api.Model {
/// <summary>
///
/// </summary>
[DataContract]
public class UserSettingsBody {
... |
src/Hangfire.Storage.EntityFramework/JobQueue/MySqlJobQueueMonitoringApi.cs | TrieBr/Hangfire.Storage.EntityFramework | 0 | 7027690 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using Dapper;
namespace Hangfire.Storage.EntityFramework.JobQueue
{
internal class MySqlJobQueueMonitoringApi : IPersistentJobQueueMonitoringApi
{
private static readonly TimeSpan QueuesCacheTimeout = TimeSpan.FromSeconds(5)... |
ConfigurationService/WebSocketInterface/RequestType.cs | Paraintom/ConfigurationService | 0 | 7027691 | <filename>ConfigurationService/WebSocketInterface/RequestType.cs
using System.Collections.Generic;
namespace ConfigurationService.WebSocketInterface
{
public enum RequestType
{
REGISTER,
UPDATE
}
public interface ITypedRequest
{
/// <summary>
/// For allowed values... |
GrabBag/CorePlugin/Tweens/Easing.cs | ChristianGreiner/duality-grab-bag | 0 | 7027692 | namespace ChristianGreiner.Duality.Plugins.GrabBag.Tweens
{
public enum Easing
{
Linear,
QuadraticEaseIn,
QuadraticEaseOut,
QuadraticEaseInOut,
CubicEaseIn,
CubicEaseOut,
CubicEaseInOut,
QuarticEaseIn,
QuarticEaseOut,
QuarticEaseIn... |
viadfweb/Models/RoutePieceModel.cs | pashcovich/viadf | 23 | 7027693 | using System.Collections.Generic;
using viadflib;
namespace viadf.Models
{
public class RoutePieceModel
{
public RoutePiece RoutePiece { get; set; }
public List<Route> ConnectingRoutes { get; set; }
public List<Business> CloseBusinesses { get; set; }
public SmallSearchBoxModel ... |
src/BlazorFluentUI.CoreComponents/Overlay/Overlay.razor.cs | ColonelBundy/BlazorFluentUI | 0 | 7027694 | <reponame>ColonelBundy/BlazorFluentUI
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.AspNetCore.Components;
using Microsoft.JSInterop;
namespace BlazorFluentUI
{
public partial class Ov... |
ContosoUniversity/Data/DbInitializer.cs | feliperomero3/ContosoUniversityPremiere | 0 | 7027695 | using System;
using System.Linq;
using ContosoUniversity.Entities;
using Microsoft.EntityFrameworkCore;
namespace ContosoUniversity.Data
{
public static class DbInitializer
{
public static void Initialize(ApplicationDbContext context)
{
context.Database.Migrate();
// L... |
src/ProjectEvent.UI/Controls/InputGroup/InputGroup.cs | Planshit/ProjectEvent | 41 | 7027696 | using ProjectEvent.UI.Controls.Action.Models;
using ProjectEvent.UI.Controls.Input;
using ProjectEvent.UI.Controls.InputGroup.Models;
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
namespace ProjectEvent.UI.Controls.In... |
Aras.VS.MethodPlugin/Dialogs/ViewModels/OpenFromPackageTreeViewModel.cs | VitaliiPasichnykAmcbridge/ArasVSMethodPlugin | 0 | 7027697 | //------------------------------------------------------------------------------
// <copyright file="OpenFromPackageTreeViewModel.cs" company="Aras Corporation">
// © 2017-2018 Aras Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
u... |
src/Compilers/CSharp/Portable/Declarations/SingleNamespaceOrTypeDeclaration.cs | bbarry/roslyn | 192 | 7027698 | <reponame>bbarry/roslyn
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Immutable;
namespace Microsoft.CodeAnalysis.CSharp
{
internal abstract class SingleNamespaceOrTypeDecla... |
src/SIM.Pipelines/Install/Containers/GenerateEnvironmentData.cs | isabella232/Sitecore-Instance-Manager | 119 | 7027699 | using System;
using System.IO;
using JetBrains.Annotations;
using SIM.Pipelines.Processors;
using Sitecore.Diagnostics.Base;
using SIM.SitecoreEnvironments;
using System.Collections.Generic;
using System.Linq;
using MongoDB.Bson.Serialization.Conventions;
using SIM.ContainerInstaller.DockerCompose;
using SIM.Container... |
AMSExplorer/Forms-MediaAnalytics/MediaAnalyticsGeneric.cs | lfraile/Azure-Media-Services-Explorer | 0 | 7027700 | <reponame>lfraile/Azure-Media-Services-Explorer
//----------------------------------------------------------------------------------------------
// Copyright 2016 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with ... |
src/ResourceProvisioning.Broker.Infrastructure/EntityFramework/MediatorExtension.cs | dfds/resource-provisioning-poc | 0 | 7027701 | using System.Linq;
using System.Threading.Tasks;
using MediatR;
using Microsoft.EntityFrameworkCore;
using ResourceProvisioning.Abstractions.Entities;
namespace ResourceProvisioning.Broker.Infrastructure.EntityFramework
{
static class MediatorExtension
{
public static async Task DispatchDomainEventsAsync<T>(this ... |
Assets/Scripts/Model/Content/SecondEdition/Upgrades/System/AdvancedSensors.cs | belk/FlyCasual | 0 | 7027702 | <reponame>belk/FlyCasual<filename>Assets/Scripts/Model/Content/SecondEdition/Upgrades/System/AdvancedSensors.cs
using Ship;
using Upgrade;
using ActionsList;
using System;
using System.Collections.Generic;
namespace UpgradesList.SecondEdition
{
public class AdvancedSensors : GenericUpgrade
{
public Ad... |
src/VertexColoring.Graphs/GraphColoring.RecordGenerator.cs | amis92/vertex-coloring | 0 | 7027703 | <gh_stars>0
// Record partial generated by RecordGenerator
// WARNING any changes made to this file will be lost when generator is run again
using System.Collections.Immutable;
using System.Linq;
namespace VertexColoring.Graphs
{
[System.CodeDom.Compiler.GeneratedCode("RecordGenerator", "0.1.1.29")]
partial ... |
src/Plurto.Test/Commands/Timeline.cs | pH200/chronoplurk-wp | 0 | 7027704 | <reponame>pH200/chronoplurk-wp
using System.Threading.Tasks;
using Plurto.Commands;
using Plurto.Core;
using Plurto.Entities;
using Xunit;
namespace Plurto.Test.Commands
{
public class Timeline
{
[Fact]
public async Task GetPublicPlurks()
{
const int userid = 3218392;
... |
Pes7BotCrator/Modules/Statistic.cs | pes7/TelegramBots | 4 | 7027705 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Pes7BotCrator.Type;
using Telegram.Bot.Types;
namespace Pes7BotCrator.Modules
{
public class Statistic : Module
{
public Dictionary<string, int> CommandStat { get; set; }
p... |
src/Kingdom.OrTools.Sat.Parameters.Core/Implementation/ParameterValueRenderingOptions.cs | mwpowellhtx/Kingdom.ConstraintSolvers | 7 | 7027706 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Kingdom.OrTools.Sat.Parameters
{
using static Double;
using static Rendered;
using RenderParameterValueCallbackDictionary = Dictionary<Type, RenderParameterValueCallback>;
//... |
HanoiCollabBlazor/IdentityService.cs | trungnt2910/HanoiCollab_v2 | 4 | 7027707 | <reponame>trungnt2910/HanoiCollab_v2<gh_stars>1-10
using Blazored.LocalStorage;
using HanoiCollab.Models;
namespace HanoiCollabBlazor
{
public class IdentityService
{
private readonly ILocalStorageService _localStorage;
public IdentityService(ILocalStorageService localStorage)
{
... |
Octokit/Clients/IUserKeysClient.cs | nigel-sampson/octokit.net | 1 | 7027708 | <filename>Octokit/Clients/IUserKeysClient.cs
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Octokit
{
/// <summary>
/// A client for GitHub's User Keys API.
/// </summary>
/// <remarks>
/// See the <a href="http://developer.github.com/v3/users/keys/">User Keys API docume... |
DirectN/DirectN/Generated/D3D12_FEATURE_DATA_D3D12_OPTIONS.cs | Steph55/DirectN | 124 | 7027709 | <filename>DirectN/DirectN/Generated/D3D12_FEATURE_DATA_D3D12_OPTIONS.cs
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\d3d12.h(2220,9)
using System;
using System.Runtime.InteropServices;
namespace DirectN
{
[StructLayout(LayoutKind.Sequential)]
public partial struct D3D12_FEATURE_DAT... |
Resultful/LINQ/LinqExtensions.cs | Resultful/Resultful | 14 | 7027710 | <reponame>Resultful/Resultful<filename>Resultful/LINQ/LinqExtensions.cs
using System;
using Resultful.Utils;
namespace Resultful.LINQ
{
public static class LinqExtensions
{
//Linq Extensions for Option<T>
public static Option<TResult> Select<TSource, TResult>(this Option<TSource> value, Func<... |
src/Lucene.Net.Analysis.Common/Analysis/Standard/StandardAnalyzer.cs | mdissel/lucene.net | 1 | 7027711 | <gh_stars>1-10
using System.IO;
using Lucene.Net.Analysis.Core;
using Lucene.Net.Analysis.Util;
using Lucene.Net.Util;
namespace Lucene.Net.Analysis.Standard
{
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with... |
Sources/Client/NodeTag.cs | minrogi/PLMPack | 1 | 7027712 | <reponame>minrogi/PLMPack
#region Using directives
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
// log4net
using log4net;
// WCF service / data contracts
using PLMPackLibClient.PLMPackSR;
#endregion
namespace PLMPackLibClient
{
#region FileTag... |
GetOutOfBed/GetOutOfBed.Designer.cs | jwilliams0496/Get-Out-Of-Bed | 1 | 7027713 | <reponame>jwilliams0496/Get-Out-Of-Bed
namespace GetOutOfBed
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... |
test/DeepSleep.Api.Web5_0.Tests/Mocks/MockResponseCookieCollection.cs | mtnvencenzo/DeepSleep | 0 | 7027714 | <reponame>mtnvencenzo/DeepSleep<filename>test/DeepSleep.Api.Web5_0.Tests/Mocks/MockResponseCookieCollection.cs
namespace DeepSleep.Api.Web.Tests.Mocks
{
using Microsoft.AspNetCore.Http;
using System.Collections.Generic;
using System.Net;
public class MockResponseCookieCollection : IResponseCookies
... |
EasyHRMS_DA/Models/PayrollShiftWiseAttendance.cs | KrtyaSoftwares/EasyHRMS_Angular | 0 | 7027715 | <reponame>KrtyaSoftwares/EasyHRMS_Angular<gh_stars>0
using System;
using System.Collections.Generic;
namespace EasyHRMS_DA.Models
{
public partial class PayrollShiftWiseAttendance
{
public int Id { get; set; }
public int? ShiftId { get; set; }
public TimeSpan? ShiftInTime { get; set; }... |
src/Essentials/src/Xamarin.Essentials/Email/Email.macos.cs | phillipmacon/maui | 2 | 7027716 | using System.Threading.Tasks;
using AppKit;
using Foundation;
namespace Xamarin.Essentials
{
public static partial class Email
{
internal static bool IsComposeSupported =>
MainThread.InvokeOnMainThread(() => NSWorkspace.SharedWorkspace.UrlForApplication(NSUrl.FromString("mailto:")) != null);
static Task Pla... |
src/Gleed2D.Core/DictionaryPropertyDescriptor.cs | indietom/Gleed2D | 29 | 7027718 | using System ;
using System.ComponentModel ;
using Gleed2D.Core.CustomUITypeEditors ;
using Gleed2D.InGame ;
using JetBrains.Annotations ;
using Microsoft.Xna.Framework ;
namespace Gleed2D.Core
{
public class DictionaryPropertyDescriptor : PropertyDescriptor
{
readonly string _key;
readonly CustomProperties _cus... |
src/Service.BitGo.SignTransaction.Domain.Models/BitGoWallet.cs | MyJetWallet/Service.BitGo.SignTransaction | 0 | 7027719 | <gh_stars>0
using System;
using System.Runtime.Serialization;
namespace Service.BitGo.SignTransaction.Domain.Models
{
[DataContract]
public class BitGoWallet
{
[DataMember(Order = 1)] public string BrokerId { get; set; }
[DataMember(Order = 2)] public string Id { get; set; }
[DataM... |
Assets/Amel/Scripts/DayCycle.cs | me9min/vrcw_Sector001-Space | 1 | 7027720 |
using UdonSharp;
using UnityEngine;
using UnityEngine.UI;
using VRC.SDKBase;
using VRC.Udon;
[UdonBehaviourSyncMode(BehaviourSyncMode.Manual)]
public class DayCycle : UdonSharpBehaviour
{
[Header("설정")]
[Tooltip("Directional Light 필요")]
public Transform sunray;
[Tooltip("Skydome(모델메쉬) 필요")]
publi... |
DPE.Core.Services/StockServices.cs | a465717049/mk | 2 | 7027721 | using DPE.Core.IRepository;
using DPE.Core.IServices;
using DPE.Core.Model.Models;
using DPE.Core.Services.BASE;
using System.Linq;
using System.Threading.Tasks;
namespace DPE.Core.Services
{
public partial class StockServices : BaseServices<Stock>, IStockServices
{
private readonly IStockRepository _d... |
.NET/Microsoft.Recognizers.Text.Number/Spanish/Extractors/IntegerExtractor.cs | Gabrideg/Recognizers-Text | 1 | 7027722 | using System.Collections.Generic;
using System.Collections.Immutable;
using System.Text.RegularExpressions;
using Microsoft.Recognizers.Definitions.Spanish;
namespace Microsoft.Recognizers.Text.Number.Spanish
{
public class IntegerExtractor : BaseNumberExtractor
{
internal sealed override I... |
Smart City Dashboard/Assets/Scripts/Serialization/SaveGameManager.cs | Jaren-Taylor/Smart-City-Dashboard | 0 | 7027723 | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Xml;
using UnityEngine;
public static class SaveGameManager
{
public static string FileName = "";
public static string DefaultFileN... |
PowerPlanChanger/NotifyIconWrapper.cs | apsun/PowerPlanChanger | 1 | 7027724 | using System;
using System.Drawing;
using System.Reflection;
using System.Windows.Forms;
namespace PowerPlanChanger
{
public class NotifyIconWrapper
{
private readonly NotifyIcon _icon;
private readonly FieldInfo _textField;
private readonly FieldInfo _addedField;
p... |
WPFLight/System/Windows/SizeChangedEventArgs.cs | ronnycsharp/WPFLight | 78 | 7027725 | namespace System.Windows {
public delegate void SizeChangedEventHandler ( object sender, SizeChangedEventArgs e );
public class SizeChangedEventArgs : EventArgs {
internal SizeChangedEventArgs (Size newSize, Size previousSize) {
this.NewSize = newSize;
this.PreviousSize = previousSi... |
osu.Game.Rulesets.Soyokaze/Mods/SoyokazeModHolds.cs | HelloYeew/soyokaze | 0 | 7027727 | <reponame>HelloYeew/soyokaze
// Copyright (c) <NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENSE file in the repository root for full licence text.
using osu.Framework.Graphics.Sprites;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Soyokaze.Beatmaps;
namespace osu.G... |
Mailjet.Client/ResourceInfo.cs | YV-Proxiad/mailjet-apiv3-dotnet | 0 | 7027728 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Mailjet.Client
{
public enum ResourceType
{
NotSpecified,
Rest,
Data,
Send,
}
public class ResourceInfo
{
public R... |
cscore-master/CSCore/CoreAudioAPI/MMNotificationClient.cs | noah4477/HardwareMixer | 0 | 7027729 | <reponame>noah4477/HardwareMixer
using CSCore.Utils;
using CSCore.Win32;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Security;
using System.Text;
namespace CSCore.CoreAudioAPI
{
/// <summary>
/// The <see cref="MMNotificationClient"/> o... |
LG.LMS.TestesDeInterface.Infraestrutura/Interfaces/IAcoesDeScript.cs | murillodesu/TesteInterfaceLMS | 0 | 7027730 | <filename>LG.LMS.TestesDeInterface.Infraestrutura/Interfaces/IAcoesDeScript.cs<gh_stars>0
//-----------------------------------------------------------------------
// <copyright file="IAcoesDeScript.cs" company="LG Sistemas">
// Copyright © LG Sistemas. All rights reserved.
// TODOS OS DIREITOS RESERVADOS.
... |
src/go-src-converted/internal/trace/gc_bandUtilStruct.cs | rgwood/go2cs | 249 | 7027731 | //---------------------------------------------------------
// <auto-generated>
// This code was generated by a tool. Changes to this
// file may cause incorrect behavior and will be lost
// if the code is regenerated.
//
// Generated on 2020 October 09 05:52:57 UTC
// </auto-generated>
//--------------... |
WetterEdit/LoksimWetterEdit/Win32Wrapper/Win32Utility.cs | Loksim3D/loksim3d-source | 2 | 7027732 | <reponame>Loksim3D/loksim3d-source
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
using System.IO;
namespace Loksim3D.WetterEdit.Win32Wrapper
{
class Win32Utility
{
[StructLayout(LayoutKind.Sequential)]
public struct... |
PugnaFighting/Web/PugnaFighting.Web.ViewModels/Fighters/FighterFightViewModel.cs | BorislavNikolov/ASP.NET_Core | 3 | 7027733 | <reponame>BorislavNikolov/ASP.NET_Core<filename>PugnaFighting/Web/PugnaFighting.Web.ViewModels/Fighters/FighterFightViewModel.cs
namespace PugnaFighting.Web.ViewModels.Fighters
{
using PugnaFighting.Data.Models;
using PugnaFighting.Services.Mapping;
public class FighterFightViewModel : IMapFrom<Fighter>
... |
api/TransAction.Data/Models/RegionCreateDto.cs | DSoLetsDev/TransAction | 0 | 7027734 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace TransAction.Data.Models
{
public class RegionCreateDto
{
[Required(ErrorMessage = "Region Name Required")]
public string Name { get; set; }
[Required(Er... |
src/Battleship.Core/DomainObjects/Ships/Cruiser.cs | 1delacruz/bs | 0 | 7027735 | <gh_stars>0
namespace Battleship.Core.DomainObjects.Ships
{
public class Cruiser : Ship
{
public Cruiser()
{
Length = 3;
}
public override string ToString()
{
return "C";
}
}
}
|
Completed/mvc-conventions/maze-web/Views/Home/Index.cshtml | jeremybytes/mvc-conventions-aspnet-50 | 3 | 7027736 | @model maze_web.Models.MazeModel
@{
ViewData["Title"] = "Home Page";
}
<div class="text-center">
<h1 class="display-4">Welcome</h1>
<form action="/maze" method="post">
<p>
Size: <br />
@Html.TextBoxFor(m => m.Size)
</p>
<p>
Color: <br />
... |
TheraLang.BLL/Services/ConfirmationService.cs | yrikturash/TheraLang | 5 | 7027738 | <filename>TheraLang.BLL/Services/ConfirmationService.cs<gh_stars>1-10
using Microsoft.AspNetCore.Hosting;
using System;
using System.IO;
using System.Threading.Tasks;
using TheraLang.DAL.UnitOfWork;
using TheraLang.DAL.Entities;
using TheraLang.BLL.DataTransferObjects.UserDtos;
using Common.Configurations;
using Micro... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.