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 |
|---|---|---|---|---|
Services/CategoryService.cs | koiic/SuperMart-API | 0 | 7026263 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Supermarket.API.Domain.Models;
using Supermarket.API.Domain.Repositories;
using Supermarket.API.Domain.Services;
using Supermarket.API.Domain.Services.Communication;
namespace Supermarket.API.Services
{
public class CategoryService... |
MAXScriptGenerator/frmMain.Designer.cs | metesa/MAXScriptGenerator | 0 | 7026264 | <filename>MAXScriptGenerator/frmMain.Designer.cs
namespace MAXScriptGenerator
{
partial class frmMain
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
... |
build/Build.cs | CreativeCodersTeam/Core | 0 | 7026265 | using System;
using System.Diagnostics.CodeAnalysis;
using CreativeCoders.NukeBuild;
using CreativeCoders.NukeBuild.BuildActions;
using JetBrains.Annotations;
using Nuke.Common;
using Nuke.Common.Execution;
using Nuke.Common.Git;
using Nuke.Common.IO;
using Nuke.Common.ProjectModel;
using Nuke.Common.Tools.Coverlet;
us... |
bin/Debug/netcoreapp2.1/Views/RTE/PasteCleanup.cshtml | syncfusion/aspnet-core-ej1-demos | 4 | 7026266 | <gh_stars>1-10
@section ScriptReferenceSection{
<script src="@Url.Content("~/Scripts/cultures/ej.culture.en-US.min.js")"></script>
}
@section SampleHeading{
<span class="sampleName">RTE / Paste Options</span>}
@section ControlsSection{
@{ List<String> toolsList = new List<string>() { "formatStyle", "font",... |
src/TramlineFive/TramlineFive.Common/ViewModels/BaseViewModel.cs | angelinn/TramlineFive.Xamarin | 0 | 7026267 | using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Ioc;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Text;
using TramlineFive.Common.Services;
namespace TramlineFive.Common.ViewModels
{
public class BaseViewModel : ViewModelBase
... |
sources/shaders/Stride.Core.Shaders/Ast/ParameterQualifier.cs | hjred/stride | 2,251 | 7026268 | // Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & 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 System;
namespace Stride.Core.Shaders.Ast
{
... |
plugins/Prrovoss/CustomLabelPlugin.cs | prrovoss/THUD | 6 | 7026269 | using System.Collections.Generic;
using Turbo.Plugins.Default;
namespace Turbo.Plugins.Prrovoss
{
public class CustomLabelPlugin : BasePlugin, IInGameTopPainter
{
public List<CustomLabel> labels { get; set; }
public Dictionary<string, string> expressions { get; set; }
... |
src/Core/src/Platform/Windows/ViewExtensions.cs | vladboss61/maui | 1 | 7026270 | <filename>src/Core/src/Platform/Windows/ViewExtensions.cs<gh_stars>1-10
#nullable enable
using System;
using System.Numerics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Maui.Essentials;
using Microsoft.Maui.Graphics;
using Microsoft.Maui.Primitives;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml... |
src/Microsoft.Management.Infrastructure.CimCmdlets/CimCmdletModuleInitialize.cs | drakeg/PowerShell | 4 | 7026271 | /*============================================================================
* Copyright (C) Microsoft Corporation, All rights reserved.
*============================================================================
*/
#region Using directives
using System;
using System.Globalization;
using System.Management.Aut... |
src/OpenRiaServices.DomainServices.Server/Framework/Data/DomainTypeDescriptor.cs | ugiacobbi/OpenRiaServices | 0 | 7026272 | using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
namespace OpenRiaServices.DomainServices.Server
{
/// <summary>
/// Custom Typ... |
XenAdmin/Wizards/NewVMWizard/Page_CpuMem.Designer.cs | timliu55/xenadmin | 0 | 7026273 | namespace XenAdmin.Wizards.NewVMWizard
{
partial class Page_CpuMem
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... |
Assets/StandaloneFileBrowser/WindowsInterop.cs | whistlehead/UnityStandaloneFileBrowser | 0 | 7026274 | <filename>Assets/StandaloneFileBrowser/WindowsInterop.cs
using System;
using System.Runtime.InteropServices;
namespace SFB
{
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
public class OpenFileName
{
public static int OFN_OVERWRITEPROMPT = 0x00000002;
public static int OF... |
Src/AutoNSubstitute/AutoNSubstituteCustomization.cs | riezebosch/AutoFixture | 2,320 | 7026275 | using System;
using AutoFixture.Kernel;
using NSubstitute.Core;
namespace AutoFixture.AutoNSubstitute
{
/// <summary>Enables auto-mocking with NSubstitute.</summary>
/// <remarks>
/// NOTICE! You can assign the customization properties to tweak the features you would like to enable. See example.
/// <... |
src/Merchello.Web/Workflow/CustomerItemCache/CustomerItemCacheBase.cs | dbMundada/Merchello | 191 | 7026276 | namespace Merchello.Web.Workflow.CustomerItemCache
{
using System;
using System.Collections.Generic;
using System.Linq;
using Merchello.Core;
using Merchello.Core.Chains;
using Merchello.Core.Events;
using Merchello.Core.Models;
using Merchello.Web.DataModifiers.Product;
using Merc... |
src/Our.Umbraco.IpFilter/Extensions/IPublishedContentExensions.cs | leekelleher/umbraco-ip-filter | 0 | 7026277 | using Our.Umbraco.IpFilter.Services;
using Umbraco.Core.Models;
namespace Our.Umbraco.IpFilter.Extensions
{
public static class IPublishedContentExensions
{
public static bool IsIpProtected(this IPublishedContent content)
{
return new IpFilterService().IsIpProtected(content);
... |
CssUI/CSS/Properties/Typed Properties/NullableLengthProperty.cs | dsisco11/CssUI | 0 | 7026278 | <filename>CssUI/CSS/Properties/Typed Properties/NullableLengthProperty.cs
using System;
using CssUI.DOM.Nodes;
namespace CssUI.CSS
{
/// <summary>
/// Represents a CSS length that can be assigned a null value
/// </summary>
public class NullableLengthProperty : CssProperty
{
#region Value ... |
BasicInheritance/BasicInheritance/Car.cs | OlesyaAstahova/BasicInheritance | 0 | 7026279 | <filename>BasicInheritance/BasicInheritance/Car.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BasicInheritance
{
class Car
{
public readonly int maxSpeed;
private int currSpeed;
public Car(int max)
... |
Auth0HackBackend/Auth0HackBackend/DTO/WorkRequestApprovalDTO.cs | AgentEnder/Auth0Hack2020 | 0 | 7026280 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using Auth0HackBackend.Model;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using NetTopologySuite.Geometries;
namespace Auth0HackBackend.DTO
{
public class WorkReques... |
src/Runtime/Runtime/Core/Main/PrePostDescendentsWalker.cs | dvs99/OpenSilver | 476 | 7026281 | <filename>src/Runtime/Runtime/Core/Main/PrePostDescendentsWalker.cs
using System;
#if MIGRATION
using System.Windows;
#else
using Windows.UI.Xaml;
#endif
namespace OpenSilver.Internal
{
/// <summary>
/// A simple subclass of DescendentsWalker which introduces a second callback
/// which is called... |
src/Storage/Masa.Contrib.Storage.ObjectStorage.Aliyun/IOssClientFactory.cs | masastack/MASA.Contrib | 63 | 7026282 | <gh_stars>10-100
// Copyright (c) MASA Stack All rights reserved.
// Licensed under the MIT License. See LICENSE.txt in the project root for license information.
namespace Masa.Contrib.Storage.ObjectStorage.Aliyun;
public interface IOssClientFactory
{
IOss GetClient(string accessKeyId, string accessKeySecret, str... |
src/HttpReports.Collector.Grpc/GrpcCollectorService.cs | wenfeifei/HttpReports | 0 | 7026283 | using System.Threading.Tasks;
using Grpc.Core;
namespace HttpReports.Collector.Grpc
{
public class GrpcCollectorService : GrpcCollector.GrpcCollectorBase
{
public IHttpReportsStorage Storage { get; }
public GrpcCollectorService(IHttpReportsStorage storage)
{
Storage = sto... |
Documents/Documents/Infrastructure/Persistence/DocumentsContext.cs | robertsundstrom/accounting-app | 3 | 7026284 | <filename>Documents/Documents/Infrastructure/Persistence/DocumentsContext.cs
using System;
using Documents.Application.Common.Interfaces;
using Documents.Domain;
using Documents.Domain.Common;
using Documents.Domain.Entities;
using Microsoft.EntityFrameworkCore;
namespace Documents.Infrastructure.Persisten... |
GroupFinder.Common/Logging/ConsoleLogger.cs | jelledruyts/AadGroupFinder | 0 | 7026286 | <filename>GroupFinder.Common/Logging/ConsoleLogger.cs<gh_stars>0
using System;
using System.Diagnostics.Tracing;
using System.Threading.Tasks;
namespace GroupFinder.Common.Logging
{
public class ConsoleLogger : LoggerBase
{
public ConsoleLogger(EventLevel minimumLogLevel)
: base(minimumLog... |
ZangAPI/Model/CredentialSubresourceUris.cs | akshayshahce/cpaas-dotnet | 1 | 7026287 | <reponame>akshayshahce/cpaas-dotnet
using Newtonsoft.Json;
namespace AvayaCPaaS.Model
{
/// <summary>
/// Credential subresource uris
/// </summary>
public class CredentialSubresourceUris
{
/// <summary>
/// Gets or sets the credentials.
/// </summary>
/// <value>
... |
test/WorkflowCore.IntegrationTests/Scenarios/BaseScenario.cs | evolvedlight/workflow-core | 1 | 7026289 | <filename>test/WorkflowCore.IntegrationTests/Scenarios/BaseScenario.cs
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Text;
using WorkflowCore.Interface;
namespace WorkflowCore.IntegrationTests.Scenarios
{
[Obsolete]... |
src/episode1/customserializer/ModelTextJson.cs | L-Dogg/ondotnet-cosmosdb | 16 | 7026290 | using System.Text.Json.Serialization;
namespace episode1
{
public class ModelTextJson
{
[JsonPropertyName("id")]
public string TheIdentifier { get; set; }
[JsonPropertyName("title")]
public string DescriptiveTitle { get; set;}
}
} |
C#ProgrammingBasics/8. ProgrammingBasicsExams/MyFirstExam/ExerciseThree/Program.cs | IvanIvTodorov/SoftUniEducation | 0 | 7026291 | using System;
namespace ExerciseThree
{
class Program
{
static void Main(string[] args)
{
double kg = double.Parse(Console.ReadLine());
string type = Console.ReadLine();
int km = int.Parse(Console.ReadLine());
double price = 0;
swit... |
MountAws/Services/Ecr/EcrRootHandler.cs | andyalm/mount-aws | 3 | 7026292 | using Amazon.ECR;
using MountAnything;
using MountAws.Services.Core;
namespace MountAws.Services.Ecr;
public class EcrRootHandler : PathHandler
{
public static Item CreateItem(ItemPath parentPath)
{
return new GenericContainerItem(parentPath, "ecr",
"Navigate the ECR repositories");
}
... |
src/ThoughtHaven.AspNetCore.Identity/Tokens/UserSingleUseTokenHelper.cs | ThoughtHaven/Identity | 1 | 7026294 | using ThoughtHaven.AspNetCore.Identity.Keys;
using ThoughtHaven.AspNetCore.Identity.Internal;
using ThoughtHaven.Security.Cryptography;
using ThoughtHaven.Security.SingleUseTokens;
namespace ThoughtHaven.AspNetCore.Identity
{
public abstract partial class UserHelper
{
private readonly CryptoRandom _ra... |
Alipay.AopSdk.Core/Domain/AlipayDataDataserviceBillDownloadurlQueryModel.cs | leixf2005/Alipay.AopSdk.Core | 0 | 7026295 | using System;
using System.Xml.Serialization;
namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// AlipayDataDataserviceBillDownloadurlQueryModel Data Structure.
/// </summary>
[Serializable]
public class AlipayDataDataserviceBillDownloadurlQueryModel : AopObject
{
/// <summary>
... |
Tests/Integration/Service.Tests/WhenSerialising/WhenPostingSerialisedProduct.cs | bazwilliams/SerialNumberExample | 1 | 7026296 | namespace SerialNumber.Service.Tests.WhenSerialising
{
using FluentAssertions;
using Nancy;
using Nancy.Testing;
using System.Threading.Tasks;
using NUnit.Framework;
using SerialNumber.Resources;
[TestFixture]
public class WhenPostingSerialisedProduct : ContextBase
{
pr... |
src/Sharptris/Models/TileMap.cs | marcoparenzan/Sharptris | 3 | 7026297 | namespace Sharptris.Models
{
using System.Globalization;
using System.Text.Json.Serialization;
public partial class TileMap
{
[JsonPropertyName("height")]
public int Height { get; set; }
[JsonPropertyName("infinite")]
public bool Infinite { get; set; }
[JsonPr... |
tests/Proffer.Templating.Mustache.Tests/Stubs/TitleBodyContext.cs | asiffermann/providers | 4 | 7026298 | namespace Proffer.Templating.Mustache.Tests.Stubs
{
public class TitleBodyContext
{
public string Title { get; set; }
public object Body { get; set; }
}
}
|
publicApi/OCP/SystemTag/ISystemTagManager.cs | sucrose0413/nextcloud_net | 2 | 7026299 | <filename>publicApi/OCP/SystemTag/ISystemTagManager.cs<gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
namespace OCP.SystemTag
{
/**
* Public interface to access and manage system-wide tags.
*
* @since 9.0.0
*/
public interface ISystemTagManager
... |
sdk/dotnet/DatabaseMigration/Outputs/GetMigrationDatapumpSettingsResult.cs | EladGabay/pulumi-oci | 5 | 7026300 | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... |
src/OrderManagementApp/Model/OrderListDTO.cs | riganti/dotvvm-samples-order-management | 0 | 7026301 | <reponame>riganti/dotvvm-samples-order-management
using System;
namespace OrderManagementApp.Model
{
public class OrderListDTO
{
public int Id { get; set; }
public DateTime CreatedDate { get; set; }
public string ContactEmail { get; set; }
public decimal TotalPrice { get; s... |
src/TabiApiClient/Models/MotionSensor.cs | vplme/tabi-app | 3 | 7026302 | <reponame>vplme/tabi-app<filename>src/TabiApiClient/Models/MotionSensor.cs<gh_stars>1-10
using System;
namespace TabiApiClient.Models
{
public class MotionSensor
{
public int Id { get; set; }
public int DeviceId { get; set; }
public float X { get; set; }
public float Y { get;... |
Gsl.Tests/OverwriteTest.cs | teyc/gsl-net | 1 | 7026303 | using System.IO;
using Xunit;
using Xunit.Abstractions;
namespace Gsl.Tests
{
public class OverwriteTest : TestBase
{
public OverwriteTest(ITestOutputHelper log) : base(log)
{
}
[Fact]
public void DoNotOverwriteFilesIfSpecialTextIsPresent()
{
const s... |
Zergatul/Cryptography/Hash/BLAKE2b.cs | Zergatul/ZergatulLib | 5 | 7026304 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zergatul.Network;
namespace Zergatul.Cryptography.Hash
{
// https://tools.ietf.org/html/rfc7693
public class BLAKE2b : AbstractHash
{
public override int BlockSi... |
builder/Builder-Pattern-Task/Task.cs | dtidigitalcrafters/suricatos-learningloop-csharp-designpatterns | 2 | 7026305 | <filename>builder/Builder-Pattern-Task/Task.cs
using System;
using System.Text;
public class Task {
public string Title { get; set; }
public DateTime DueTo { get; set; }
}
public class TaskReport {
public string Header { get; set; }
public string Body { get; set; }
public string Footer { get; set; }
publ... |
MTProto.NET/Schema/TL/_generated/TLInputSecureValue.cs | Gostareh-Negar/TeleNet | 0 | 7026306 | using MTProto.NET.Attributes;
using MTProto.NET.Enums;
namespace MTProto.NET.Schema.TL
{
[MTObject(0xdb21d0a7)]
public class TLInputSecureValue : MTObject
{
public override uint Constructor
{
get
{
return 0xdb21d0a7;
}
}
[... |
samples/3. Children/Client/Program.cs | volak/Aggregates.NET | 230 | 7026307 | <gh_stars>100-1000
using Aggregates;
using Client;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using NServiceBus;
using Shared;
var endpointConfiguration = new EndpointConfiguration("Client");
endpoi... |
FashionStore/Assets/Scripts/PlayerScripts/PlayerTrigger.cs | emersonsamuel1/LSW-Interview-Game | 0 | 7026308 | <reponame>emersonsamuel1/LSW-Interview-Game
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerTrigger : MonoBehaviour
{
[SerializeField]internal PlayerInputs playerInputs;
private void OnTriggerStay2D(Collider2D other) {
IPickable ipickable = other.GetCo... |
MaxPowerLevel.Test/MaxPowerLevelTest.cs | dcaslin/MaxPowerLevel | 4 | 7026309 | using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Destiny2;
using MaxPowerLevel.Helpers;
using MaxPowerLevel.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace MaxPowerLevel.Test
{
[TestClass]
public class UnitTest1
{
private stati... |
HW14CreationalDesignPatternes/CreationalPatterns/Pattern3.FactoryMethod/Products/Car.cs | MarinMarinov/High-Quality-Code | 0 | 7026310 | namespace Pattern3.FactoryMethod.Products
{
using System;
using System.Text;
public abstract class Car
{
public string Name { get; set; }
public string Color { get; set; }
public GearType Gear { get; set; }
public int Doors { get; set; }
publi... |
sources/engine/Stride.Rendering/Rendering/ProceduralModels/ProceduralModelDescriptor.cs | hjred/stride | 2,251 | 7026312 | <reponame>hjred/stride
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org/ & 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 System;
using Stride.... |
ButorRevolutionWebAPI/src/backend/sales/IFPS.Sales.Application/Dto/Offers/Appliances/ApplianceUpdateByOfferDto.cs | encosoftware/ifps | 0 | 7026313 | <reponame>encosoftware/ifps
using IFPS.Sales.Domain.Model;
namespace IFPS.Sales.Application.Dto
{
public class ApplianceUpdateByOfferDto
{
public int Quantity { get; set; }
public ApplianceUpdateByOfferDto()
{
}
public OrderedApplianceMaterial UpdateModelObject(Order... |
NActiviti/Sys.Bpm.Engine/Engine/history/IProcessInstanceHistoryLogQuery.cs | zhangzihan/nactivity | 62 | 7026314 | <filename>NActiviti/Sys.Bpm.Engine/Engine/history/IProcessInstanceHistoryLogQuery.cs
namespace Sys.Workflow.Engine.History
{
using Sys.Workflow.Engine.Tasks;
/// <summary>
/// Allows to fetch the <seealso cref="IProcessInstanceHistoryLog"/> for a process instance.
///
/// Note that every includeX... |
src/FormFlow/InstanceResolver.cs | timabell/formflow | 0 | 7026315 | using System;
using FormFlow.Metadata;
using FormFlow.State;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Abstractions;
namespace FormFlow
{
internal class InstanceResolver
{
private readonly IUserInstanceStateProvider _stateProvider;
public InstanceResolver(IUserInstanceSta... |
src/MvcSiteMapProvider/MvcSiteMapProvider/Reflection/AttributeAssemblyProvider.cs | bodrick/MvcSiteMapProvider | 298 | 7026316 | <filename>src/MvcSiteMapProvider/MvcSiteMapProvider/Reflection/AttributeAssemblyProvider.cs
using MvcSiteMapProvider.DI;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace MvcSiteMapProvider.Reflection
{
[ExcludeFromAutoRegistration]
public class AttributeAss... |
amx2zamx/amx2zamx.cs | spiffcode/hostile-takeover | 113 | 7026317 | <filename>amx2zamx/amx2zamx.cs
using System;
using System.IO;
using System.Collections;
using SpiffCode;
namespace amx2zamx
{
/// <summary>
/// Summary description for App.
/// </summary>
class App
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static int Main(s... |
LeanplumSample/Assets/LeanplumSDK/LeanplumNative/Plugins/websocket-sharp/Net/HttpStatusCode.cs | kurtdekker/Leanplum-Unity-SDK | 0 | 7026318 | <gh_stars>0
#if !UNITY_WEBGL
//
// HttpStatusCode.cs
// Copied from System.Net.HttpStatusCode.cs
//
// This code was automatically generated from
// ECMA CLI XML Library Specification.
// Generator: libgen.xsl [1.0; (C) <NAME> (<EMAIL>)]
// Created: Wed, 5 Sep 2001 06:32:05 UTC
// Source file: AllTypes.xml
// URL: http... |
KinaUnaXamarin/KinaUnaXamarin/Models/SQLite/VideoPageList.cs | KinaUna/KinaUnaXamarin | 3 | 7026319 | <gh_stars>1-10
using SQLite;
namespace KinaUnaXamarin.Models.SQLite
{
public class VideoPageList
{
[PrimaryKey, AutoIncrement]
public int DbId { get; set; }
public int ProgenyId { get; set; }
public int PageNumber { get; set; }
public int PageSize { get; set; }
... |
src/samples/Uno.Themes.Samples/Uno.Themes.Samples.Shared/Content/NestedSamples/CommandBarSample_NestedPage2.xaml.cs | eiadxp/Uno.Themes | 76 | 7026320 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
usi... |
BookShuffler/ViewModels/ToggleExpanderViewModel.cs | mattj23/BookShuffler | 2 | 7026321 | <filename>BookShuffler/ViewModels/ToggleExpanderViewModel.cs
using System.Windows.Input;
using ReactiveUI;
namespace BookShuffler.ViewModels
{
public class ToggleExpanderViewModel : ViewModelBase
{
private bool _isExpanded;
public ToggleExpanderViewModel()
{
this.Toggle = R... |
LmpClient/Systems/Scenario/ScenarioMessageSender.cs | Lekashi/LunaMultiplayer | 316 | 7026322 | using LmpClient.Base;
using LmpClient.Base.Interface;
using LmpClient.Network;
using LmpCommon.Message.Client;
using LmpCommon.Message.Data.Scenario;
using LmpCommon.Message.Interface;
using System.Collections.Generic;
using System.Linq;
namespace LmpClient.Systems.Scenario
{
public class ScenarioMessageSender : ... |
Src/NSharding.DomainModel.Manager/Dac/DataSourceEFDao.cs | tesm/N-Sharding | 0 | 7026323 | using NSharding.Sharding.Database;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NSharding.DomainModel.Manager
{
class DataSourceEFDao : DbContext, IDataSourceDao
{
public DbSet<DataSource> DataS... |
SourceCode/LoginControl/UserChangePassword.aspx.cs | MSP-PrimeSoft/netguard | 1 | 7026324 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using log4net;
using LoginControl.Utilities;
using System.Drawing;
using LoginControl.BusinessLayer;
using LoginControl.Model;
using System.Configuration;
using LoginControl.Logs;
... |
ChargeBee/Models/Enums/NotifyReferralSystemEnum.cs | skyePBX/chargebee-dotnet | 0 | 7026325 | <filename>ChargeBee/Models/Enums/NotifyReferralSystemEnum.cs
using System.Runtime.Serialization;
namespace ChargeBee.Models.Enums
{
public enum NotifyReferralSystemEnum
{
[EnumMember(Value = "Unknown Enum")]
UnKnown, /*Indicates unexpected value for this enum. You can get this when there is a
... |
src/PixivApi.Core/Plugin/PluginUtility.cs | pCYSl5EDgo/PixivApi | 2 | 7026326 | using Cysharp.Diagnostics;
using Microsoft.Extensions.Logging;
using PixivApi.Core.Local;
using System.Reflection;
namespace PixivApi.Core.Plugin;
public static class PluginUtility
{
public static string? Find(string dllPath, string exeBasicName)
{
var dllDirectory = Path.GetDirectoryName(... |
Source/MSHTML/DispatchInterfaces/IHTMLDocument2.cs | brunobola/NetOffice | 1 | 7026327 | using System;
using NetRuntimeSystem = System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.ComponentModel;
using System.Reflection;
using System.Collections.Generic;
using NetOffice;
namespace NetOffice.MSHTMLApi
{
///<summary>
/// DispatchInterface IHTMLDocument2
/// ... |
src/Epinova.ElasticSearch.Core/Utilities/ArrayHelper.cs | asharghi/Epinova.Elasticsearch | 21 | 7026328 | <gh_stars>10-100
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Epinova.ElasticSearch.Core.Utilities
{
internal static class ArrayHelper
{
internal static object ToArray(object value)
{
var enumerable ... |
ProtocolTestManager/Kernel/TestEngine/TestEngine.cs | ZecOps/WindowsProtocolTestSuites | 131 | 7026329 | <reponame>ZecOps/WindowsProtocolTestSuites
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Management;
using Sys... |
src/Blazor.SourceGenerators/Options/GeneratorOptions.cs | WeihanLi/blazorators | 0 | 7026330 | <reponame>WeihanLi/blazorators<filename>src/Blazor.SourceGenerators/Options/GeneratorOptions.cs
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT License.
internal record GeneratorOptions(
/// <summary>
/// The type name that corresponds to the lib.dom.d.ts interface. For example, <... |
Web/Areas/Settings/Models/ViewModels/DonorModel.cs | nathnael/cats | 1 | 7026331 | <reponame>nathnael/cats
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Cats.Areas.Settings.Models.ViewModels
{
public class DonorModel
{
public int DonorID { get; set; }
public string Name { get; set; }
public string DonorCode { get; set;... |
TouchEffect.UWP/PlatformTouchEff.cs | JTOne123/TouchEffect | 0 | 7026332 | <gh_stars>0
using Windows.UI.Xaml.Input;
using TouchEffect;
using TouchEffect.Enums;
using TouchEffect.Extensions;
using TouchEffect.UWP;
using Xamarin.Forms;
using Xamarin.Forms.Internals;
using Xamarin.Forms.Platform.UWP;
using Windows.UI.Xaml.Media.Animation;
using System;
using System.Collections.Generic;
[assemb... |
Assets/Scripts/TimedEvents/EventHandlerScripts/TimedEventObserver.cs | eagee/KateAndEaganGetAPodcast | 0 | 7026333 | <filename>Assets/Scripts/TimedEvents/EventHandlerScripts/TimedEventObserver.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TimedEventObserver: MonoBehaviour
{
[SerializeField]
public string ObserverName;
public void LookAtObject(GameObject targetObject)
... |
DnDSimulator/Helpers/Dice.cs | Callindrill/DnDSimulator | 0 | 7026334 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DnDSimulator.Interfaces;
namespace DnDSimulator
{
public class Dice : List<IDie>, IDice
{
public Dice(Die.Factory dieFactory)
{
DieFactory = dieFactory ?? throw new ArgumentNullEx... |
Conferences/PerfectSystemTestsDesign/Specflow/SpecflowHooks.cs | tunjiadelana/AutomateThePlanet-Learning-Series | 375 | 7026335 | <gh_stars>100-1000
using Microsoft.Practices.Unity;
using OpenQA.Selenium;
using PerfectSystemTestsDesign.Base;
using PerfectSystemTestsDesign.Behaviours;
using PerfectSystemTestsDesign.Core;
using PerfectSystemTestsDesign.Pages.ItemPage;
using PerfectSystemTestsDesign.Pages.PlaceOrderPage;
using PerfectSystemTestsDes... |
Client/Assets/Scripts/GameDefine/CommonDefine.cs | tsymiar/---- | 0 | 7026336 | <filename>Client/Assets/Scripts/GameDefine/CommonDefine.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GameDefine
{
public static class CommonDefine
{
public const int MAX_LEVEL = 15;
public const float CameraGrayTime = 1.5f;
}
}
|
SimpleClassCreator.Lib/Services/Generators/ClassEntityGenerator.cs | dyslexicanaboko/simple-class-creator | 1 | 7026337 | <reponame>dyslexicanaboko/simple-class-creator<filename>SimpleClassCreator.Lib/Services/Generators/ClassEntityGenerator.cs
using SimpleClassCreator.Lib.Models;
using System.Text;
namespace SimpleClassCreator.Lib.Services.Generators
{
public class ClassEntityGenerator
: GeneratorBase
{
public C... |
src/Dist.Product.Dme/Dist.Dme.Model/Entity/DmeVersion.cs | zhongshuiyuan/dme | 2 | 7026338 | using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;
namespace Dist.Dme.Model.Entity
{
[SugarTable("DME_VERSION")]
public class DmeVersion
{
[SugarColumn(IsPrimaryKey = true, ColumnName = "ID", OracleSequenceName = "SEQ_DME_VERSION")]
public int Id { get; set;... |
Runtime/Actions/EcsUguiSliderAction.cs | supremestranger/ecslite-unity-ugui | 0 | 7026339 | // ----------------------------------------------------------------------------
// The MIT License
// Ugui bindings https://github.com/Leopotam/ecslite-unity-ugui
// for LeoECS Lite https://github.com/Leopotam/ecslite
// Copyright (c) 2021-2022 Leopotam <<EMAIL>>
// -----------------------------------------------------... |
RiotGamesAPI/DTO/MatchTimelineDto.cs | Ambratolm/RiotGamesAPI | 0 | 7026340 | using System.Collections.Generic;
using Newtonsoft.Json;
namespace RiotGamesAPI.DTO
{
/// <summary>
/// Match Timeline Informations.
/// </summary>
public class MatchTimelineDto
{
/// <summary>
/// Frames.
/// </summary>
[JsonProperty("frames")]
public List<... |
EIDSS v6.1/vb/EIDSS/EIDSS.Reports/Document/Veterinary/AvianInvestigation/AvianInvestigationReport.cs | EIDSS/EIDSS-Legacy | 2 | 7026341 | using System.Collections.Generic;
using System.Data.SqlClient;
using bv.common.Configuration;
using bv.model.BLToolkit;
using DevExpress.XtraReports.UI;
using eidss.model.Enums;
using EIDSS.Reports.BaseControls;
using EIDSS.Reports.BaseControls.Report;
using EIDSS.Reports.Document.Veterinary.LivestockInvestigat... |
AWSSDK_DotNet35/Amazon.SimpleWorkflow/Model/StartWorkflowExecutionRequest.cs | samritchie/aws-sdk-net | 0 | 7026344 | <reponame>samritchie/aws-sdk-net<filename>AWSSDK_DotNet35/Amazon.SimpleWorkflow/Model/StartWorkflowExecutionRequest.cs
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in complian... |
src/Altairis.AskMe.Web.RazorPages/Pages/Questions.cshtml.cs | Olbrasoft/AskMe | 0 | 7026345 | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Altairis.AskMe.Data.Transfer.Objects;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.AspNetCore.Mvc.Rendering;
using Olbrasoft.AskMe.Business;
using Olbrasoft.Paging;
using Olbrasoft.Pagi... |
ProtocolSharp/Entities/Entities/Enderman.cs | CopperPenguin96/Redstone | 4 | 7026346 | using ProtocolSharp.Types;
namespace ProtocolSharp.Entities.Entities
{
public class Enderman : Monster
{
public override EntityType Type => EntityType.Enderman;
public override float BoundingBoxX => 0.6f;
public override float BoundingBoxY => 2.9f;
public override Identifier ID => new Identifier("enderma... |
netstandardSdk/Services/ICustomers.cs | PayDock/paydock_dotnet_sdk | 2 | 7026347 | using System.Threading.Tasks;
using Paydock_dotnet_sdk.Models;
namespace Paydock_dotnet_sdk.Services
{
public interface ICustomers
{
Task<CustomerResponse> Add(CustomerRequest request);
Task<CustomerItemResponse> Delete(string customerId);
Task<CustomerItemsResponse> Get();
Task<CustomerItemsResponse> Get(C... |
tests/JWT.Tests.Common/JwtBuilderDecodeTests.cs | gfoidl/jwt | 0 | 7026348 | using System;
using System.Collections.Generic;
using FluentAssertions;
using JWT.Builder;
using JWT.Serializers;
using JWT.Tests.Common.Models;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace JWT.Tests.Common
{
[TestClass]
public class JwtBuilderDecodeTests
{
[TestMethod]
pu... |
src/Samples/RoutingSample.ExceptionConsumer/SampleExceptionConsumer.cs | twino-framework/horse-mq | 19 | 7026349 | using System;
using System.Threading.Tasks;
using Horse.Messaging.Client;
using Horse.Messaging.Client.Queues;
using Horse.Messaging.Client.Queues.Annotations;
using Horse.Messaging.Protocol;
using Newtonsoft.Json;
namespace RoutingSample.ExceptionConsumer
{
[QueueName("SAMPLE-EXCEPTION-QUEUE")]
[QueueType(Messaging... |
src/RxBim.Tools.Revit/Extensions/ProjectParametersExtensions.cs | Snakye/RxBim.Tools | 3 | 7026350 | namespace RxBim.Tools.Revit.Extensions
{
using System;
using System.IO;
using System.Linq;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI;
/// <summary>
/// Расширения для параметров проекта
/// </summary>
public static class ProjectParametersExtensions
{
/// <summary... |
Msg/GenMsgs/sensor_msgs/Temperature.cs | autocore-ai/Roslin | 0 | 7026351 | <reponame>autocore-ai/Roslin
namespace Roslin.Msg.sensor_msgs
{
[MsgInfo("sensor_msgs/Temperature", "ff71b307acdbe7c871a5a6d7ed359100", @" # Single temperature reading.
Header header # timestamp is the time the temperature was measured
# frame_id is the location of the temperatu... |
test/Microsoft.AspNet.SignalR.Server.Tests/ProtocolResolverFacts.cs | Mitch528/SignalR-Server | 0 | 7026352 | <gh_stars>0
using System;
using System.Collections.Generic;
using Microsoft.AspNet.SignalR.Infrastructure;
using Xunit;
namespace Microsoft.AspNet.SignalR.Tests
{
public class ProtocolResolverFacts
{
[Theory]
[InlineData("1.0", "1.5", ".8", "1.0")]
[InlineData("1.0", "1.5", "1.0", "1.0... |
src/MongoDB.Driver.Legacy/Linq/Expressions/ExpressionFormatter.cs | rccampbe/mongo-csharp-driver | 2,208 | 7026353 | /* Copyright 2010-present MongoDB Inc.
*
* 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 wri... |
slnGymEndTerm/prjGymEndTerm/Models/LoginType.cs | samakon5566/Gym | 0 | 7026354 | using System;
using System.Collections.Generic;
#nullable disable
namespace prjGymEndTerm.Models
{
public partial class LoginType
{
public LoginType()
{
LogIns = new HashSet<LogIn>();
}
public int LoginTypeId { get; set; }
public string LoginTypeName { get... |
proj/Procezor.Payrolex/Registry.Providers/SocialTargets.cs | mzdyhrave/payrollcs | 0 | 7026355 | <filename>proj/Procezor.Payrolex/Registry.Providers/SocialTargets.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HraveMzdy.Procezor.Service.Types;
using HraveMzdy.Procezor.Payrolex.Registry.Constants;
using HraveMzdy.Legalios.Service.Types;
... |
framewordk/GoIpSms/Voxo.GoIpSmsServer/EventArgs/GoIpSmsSendEndEventArgs.cs | ZiffyZed/GoIPSms | 1 | 7026356 | <filename>framewordk/GoIpSms/Voxo.GoIpSmsServer/EventArgs/GoIpSmsSendEndEventArgs.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Voxo.GoIpSms
{
public class GoIpSmsSendEndEventArgs : EventArgs
{
public GoIpSmsSendEndEventArgs(string sendId)
{
SendId... |
mcs/class/corlib/Test/System.Security.Cryptography/HMACSHA512Test.cs | lefb766/mono | 1 | 7026357 | //
// HMACSHA512Test.cs - NUnit Test Cases for HMACSHA512
//
// Author:
// <NAME> <<EMAIL>>
//
// (C) 2003 Motus Technologies Inc. (http://www.motus.com)
// Copyright (C) 2006, 2007 Novell, Inc (http://www.novell.com)
//
using NUnit.Framework;
using System;
using System.IO;
using System.Security.Cryptography;
using S... |
tool/SledLuaLanguagePlugin/SledLuaVariableFilterForm.designer.cs | ViseEngine/SLED | 158 | 7026358 | /*
* Copyright (C) Sony Computer Entertainment America LLC.
* All Rights Reserved.
*/
namespace Sce.Sled.Lua
{
partial class SledLuaVariableFilterForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
... |
src/Orleans.Runtime/Services/GrainService.cs | kutensky/orleans | 1 | 7026359 | <filename>src/Orleans.Runtime/Services/GrainService.cs
using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Orleans.Core;
using Orleans.Runtime.Configuration;
using Orleans.Runtime.ConsistentRing;
using Orleans.Runtime.Scheduler;
using Orleans.Services;
namespac... |
XenAdminTests/XenModelTests/HostExtensionTests.cs | cheng-z/xenadmin | 1 | 7026360 | <reponame>cheng-z/xenadmin
/* Copyright (c) Citrix Systems Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above... |
CodeBinder.Apple/ObjC/ObjCTypeContexts.cs | ceztko/CodeBinder | 0 | 7026361 | // Copyright(c) 2020 <NAME>
// This file is subject to the MIT license
using CodeBinder.Shared;
using CodeBinder.Shared.CSharp;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System;
using System.Collections.Generic;
using System.Text;
namespace CodeBinder.Apple
{
clas... |
Assets/Scripts/ItemColliderCheck.cs | LNWPOR/GBGJ2017 | 0 | 7026362 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ItemColliderCheck : MonoBehaviour {
public GameObject camera;
private CameraController cameraControllerScript;
public List<GameObject> itemInRangeList;
private GameObject currentNearestItem;
pr... |
src/ResourceManagement/Sql/Domain/InterfaceImpl/RecommendedElasticPoolImpl.cs | avantida/azure-libraries-for-net | 365 | 7026363 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.Azure.Management.Sql.Fluent
{
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.Management.ResourceManage... |
Models/Config/AutoRoleConfig.cs | Hen676/FadedDiscordBot.NET | 0 | 7026364 | <filename>Models/Config/AutoRoleConfig.cs
namespace FadedVanguardBot.Models.Config
{
public class AutoRoleConfig
{
public bool Toggle { get; set; }
public ulong? Role { get; set; }
}
}
|
Dapper.EntityFrameworkCore/NetTopologySuiteGeometryHandler.cs | lettucebo/Dapper | 0 | 7026365 | <filename>Dapper.EntityFrameworkCore/NetTopologySuiteGeometryHandler.cs<gh_stars>0
using System.Data;
using System.Data.SqlClient;
using NetTopologySuite.Geometries;
using NetTopologySuite.IO;
namespace Dapper.EntityFrameworkCore
{
/// <summary>
/// Type-handler for the Geometry spatial type.
///... |
Demos/SpecializedTests/BatchedCollisionTests.cs | Zukapin/bepuphysics2 | 0 | 7026366 | <gh_stars>0
using BepuUtilities;
using BepuUtilities.Memory;
using BepuPhysics;
using BepuPhysics.Collidables;
using BepuPhysics.CollisionDetection;
using BepuPhysics.CollisionDetection.CollisionTasks;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Numerics;
using System.Runtime... |
LibCpp2IL/VersionAttribute.cs | juanal98/Cpp2IL | 1 | 7026367 | using System;
namespace LibCpp2IL
{
[AttributeUsage(AttributeTargets.Field)]
class VersionAttribute : Attribute
{
public float Min { get; set; } = 0;
public float Max { get; set; } = 99;
}
} |
Assets/Scripts/Battle/Systems/InitializeATBSystem.cs | Jadugarr/PetTheKitties | 0 | 7026368 | using Entitas;
public class InitializeATBSystem : IInitializeSystem
{
private GameContext context;
public InitializeATBSystem(GameContext context)
{
this.context = context;
}
public void Initialize()
{
//UIService.ShowWidget<AWidget>(UiAssetTypes.Atb, new ATBBarProperties(con... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.