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 |
|---|---|---|---|---|
Source/Xoqal.Presentation/Controls/EnumRadioList.cs | AmirKarimi/Xoqal | 7 | 7063903 | <reponame>AmirKarimi/Xoqal
#region License
// EnumRadioList.cs
//
// Copyright (c) 2012 Xoqal.com
//
// 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/LI... |
src/TeamCityTheatre.Core/ApplicationModels/View.cs | jimmycav/teamcity-theatre | 60 | 7063904 | using System;
using System.Collections.Generic;
namespace TeamCityTheatre.Core.ApplicationModels {
public class View {
public View() {
Tiles = new List<Tile>();
}
public Guid Id { get; set; }
public string Name { get; set; }
public int DefaultNumberOfBranchesPerTile { get; set; }
publ... |
Two.Application/Orders/Queries/GetOrders/GetOrdersQuery.cs | AmazingSuka/two-bros | 0 | 7063905 | <filename>Two.Application/Orders/Queries/GetOrders/GetOrdersQuery.cs
using MediatR;
using System;
using System.Collections.Generic;
using System.Text;
namespace Boxters.Application.Orders.Queries.GetOrders
{
public class GetOrdersQuery : IRequest<IEnumerable<OrderLookupModel>>
{
}
}
|
trivial-mvc-architecture-framework/Mastery.Example.DAL/ShopDbContext.cs | pryabov/Education-Materials | 2 | 7063906 | using System.Data.Entity;
using Mastery.Example.DAL.Common.Models.Customer;
using Mastery.Example.DAL.Common.Models.Product;
namespace Mastery.Example.DAL
{
public class ShopDbContext : DbContext
{
public ShopDbContext() : base("ShopStore") { }
public DbSet<CustomerDbModel> Customers { get; s... |
AutoSats/Execution/Services/IExchangeServiceFactory.cs | bezysoftware/auto-sats | 8 | 7063907 | namespace AutoSats.Execution.Services;
public interface IExchangeServiceFactory
{
/// <summary>
/// Get <see cref="IExchangeService"/> initialized with keys from a protected file.
/// </summary>
Task<IExchangeService> GetServiceAsync(string exchangeName, string? fileName);
/// <summary>
/// G... |
Histacom2/GlobalPrograms/InstallerPanes/WelcomePane.Designer.cs | pashcovich/Histacom2 | 3 | 7063908 | namespace Histacom2.GlobalPrograms.InstallerPanes
{
partial class WelcomePane
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... |
Mod.Utility.Logging.Aws/AwsLogger.cs | modabas/utility-logging-aws | 0 | 7063910 | <filename>Mod.Utility.Logging.Aws/AwsLogger.cs<gh_stars>0
namespace Mod.Utility.Logging.Aws
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Text;
using Microsoft.Extensions.Logging;
using Mod.Utility.Logging.Aws.Core;
using Mod.Utility.Logging.Aws.... |
source/WindowsAPICodePack/ExtendedLinguisticServices.Shared/MappingRecognizeAsyncResult.cs | bodrick/Windows-API-Code-Pack | 17 | 7063911 | //Copyright (c) Microsoft Corporation. All rights reserved. Distributed under the Microsoft Public License (MS-PL)
using System;
namespace Microsoft.WindowsAPICodePack.ExtendedLinguisticServices
{
/// <summary>
/// A <see cref="MappingAsyncResult">MappingAsyncResult</see> subclass to be used only for async... |
Abbybot-III/Core/Heart/AbbyHeart.cs | ZakKaioken/Abbybot-III | 3 | 7063912 | <gh_stars>1-10
using System;
using System.Timers;
namespace Abbybot_III.Core.Heart
{
class AbbyHeart
{
public static AbbyHeart abbyHeart = new AbbyHeart();
public delegate void HeartBeat(DateTime time);
public static event HeartBeat heartBeat;
Timer timer = new Timer(1000);
... |
src/Repositories.Common/Commands/CompanyRepository/JobServiceCommands.cs | nunobaraujo/BoTest | 0 | 7063913 | using Contracts;
using Contracts.Models;
using Core.Json;
using Core.Repositories.Commands.CompanyRepository;
using Dapper;
using NBsoft.Logs.Interfaces;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
namespace Repositories.Common.Commands.CompanyRe... |
App/FightTheFire/FightTheFire.Core/Messages/LocationMessage.cs | Xciles/Inferno | 1 | 7063915 | <gh_stars>1-10
using System;
using MvvmCross.Plugins.Messenger;
namespace FightTheFire.Core.Messages
{
public class LocationMessage : MvxMessage
{
public LocationMessage(object sender, double lat, double lng) : base(sender)
{
Lng = lng;
Lat = lat;
}
public double Lat { get; private set; }
public do... |
src/Package/SetMessagePushRes.cs | moto2002/tianqi_src | 5 | 7063916 | <reponame>moto2002/tianqi_src<gh_stars>1-10
using NetWork.Utilities;
using ProtoBuf;
using System;
namespace Package
{
[ForRecv(57), ForSend(57), ProtoContract(Name = "SetMessagePushRes")]
[Serializable]
public class SetMessagePushRes : IExtensible
{
public static readonly short OP = 57;
private IExtension ex... |
MarauderEngine/Utilities/Raycast.cs | Dankerprouduct/MarauderEngine | 3 | 7063917 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using MarauderEngine.Components;
using MarauderEngine.Core;
using Microsoft.Xna.Framework;
namespace MarauderEngine.Utilities
{
[Obsolete("Use Physics.Core.Raycast", true)]
public class Raycast
{
public List<Point> points;
Poi... |
DataAccessLayer/LabResult.cs | Zephyrrus/BloodDonation | 0 | 7063919 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... |
EliteAPI/Event/Models/BuyExplorationDataEvent.cs | Whalley64/EliteAPI | 0 | 7063920 | <filename>EliteAPI/Event/Models/BuyExplorationDataEvent.cs
using System;
using EliteAPI.Event.Models;
using EliteAPI.Event.Models.Abstractions;
using Newtonsoft.Json;
namespace EliteAPI.Event.Models
{
public partial class BuyExplorationDataEvent : EventBase
{
internal BuyExplorationDataEvent()
... |
src/GetTheFoodAlready.Api/Cache/MemoryCacheManagerFactory.cs | Fildrance/GetTheFoodAlready | 1 | 7063921 | using System;
using System.Runtime.Caching;
namespace GetTheFoodAlready.Api.Cache
{
/// <summary> Cache factory that creates memory cache managers. </summary>
public class MemoryCacheManagerFactory : ICacheManagerFactory
{
private readonly MemoryCache _cache;
private readonly CacheItemPolicy _policy;
public... |
src/EventSourcing/Middlink.EventSourcing.MongoDb/MongoEventStore.cs | Measureit/Middlelink | 3 | 7063922 | <gh_stars>1-10
using Middlink.Core.CQRS.Collections;
using Middlink.Core.CQRS.Events;
using Middlink.Core.Exceptions;
using MongoDB.Bson;
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using System.Threading.Tasks;
namespace Middlink.EventSourcing.Mong... |
test/UnitTests/TestFixtures/StandardFixture.cs | RaphsVenas/clean-architecture-manga | 1 | 7063923 | namespace UnitTests.TestFixtures
{
using Domain.Accounts;
using Domain.Customers;
using Domain.Security;
using Infrastructure.ExternalAuthentication;
using Infrastructure.InMemoryDataAccess;
using Infrastructure.InMemoryDataAccess.Repositories;
/// <summary>
///
/// </sum... |
src/libs/Eventing.OfflineClient-v1.0.0/Queues/PendingMessage.cs | Narvalex/EstanciaGanadera | 0 | 7063925 | namespace Eventing.OfflineClient
{
public class PendingMessage
{
public PendingMessage(string url, string type, string payload)
{
this.Url = url;
this.Type = type;
this.Payload = payload;
}
public string Url { get; }
public string Typ... |
demo/CitiBank.Domain/AggregatesModel/ClientAggregate/Entities/ProductCollection.cs | amolines/cqrs | 31 | 7063926 | <reponame>amolines/cqrs
using System;
using System.Collections.Generic;
using System.Linq;
using Xendor.CommandModel;
namespace CitiBank.Domain.AggregatesModel.ClientAggregate.Entities
{
public class ProductCollection : EntityCollection<Product>
{
public ProductCollection()
{ }
public ... |
src/tools/UpdateClrConfig/RuntimeGraph.cs | Brar/postgres | 1 | 7063927 | <reponame>Brar/postgres<filename>src/tools/UpdateClrConfig/RuntimeGraph.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace UpdateClrConfig
{
internal sealed class RuntimeGraph
{
public Dictionary<string, RuntimeIdentifier> RuntimeIdentifiers { get; } = new Dictionary<strin... |
CanvasDiagram.WPF/Util/PathUtil.cs | elsiete/CanvasDiagramEditor | 9 | 7063929 | <reponame>elsiete/CanvasDiagramEditor
// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
#region References
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
#endregion
namespace Canv... |
src/Services/Basket/Basket.Api/Controllers/BasketController.cs | kamilagruhlke/wizload-shop | 1 | 7063930 | using System;
using System.Threading;
using System.Threading.Tasks;
using Basket.Api.Application.Commands;
using Basket.Api.Application.Models;
using MediatR;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace Basket.Api.Controllers
{
[Authorize]
[Route("api/[controller]")]
... |
VRChatConfigEditor/VRCConfig.cs | tuki9ko/VRChatConfigEditor | 1 | 7063931 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace VRChatConfigEditor
{
[JsonObject]
class VRCConfig
{
/**
* Basic
*/
[JsonProperty("disableRichPresence")]
... |
src/Nucleo.Web/EventArguments/ValidatedControlEventArgs.cs | brianmains/Nucleo.NET | 2 | 7063932 | <gh_stars>1-10
using System;
using System.Web.UI;
namespace Nucleo.EventArguments
{
/// <summary>
/// Represents the event arguments for controls being validated.
/// </summary>
public class ValidatedControlEventArgs : EventArgs
{
private Control _control = null;
private object _value = null;
#region "... |
src/WebCSharpConsole.Web.ConsoleApp/ViewModels/Home/TestCompile/RangeViewModel.cs | SlavchoGeorgiev/WebCSharpConsole | 1 | 7063933 | namespace WebCSharpConsole.Web.ConsoleApp.ViewModels.Home.TestCompile
{
public class RangeViewModel
{
public int StartLineNumber { get; set; }
public int StartColumnNumber { get; set; }
public int EndLineNumber { get; set; }
public int EndColumnNumber { get; set; }
}
}
|
Edison.Web/Edison.Common.MassTransit/Messages/Interfaces/Response/Action/IActionNotificationEvent.cs | sysgain/ProjectEdison-1 | 14 | 7063934 | namespace Edison.Common.Messages.Interfaces
{
public interface IActionNotificationEvent : IMessage, IActionBaseEvent
{
string User { get; set; }
string Message { get; set; }
bool IsSilent { get; set; }
}
}
|
src/Scrummy/Application.Web.MVC/Presenters/Implementation/Project/ProjectReportPresenter.cs | jan-kelemen/scrummy | 1 | 7063935 | <reponame>jan-kelemen/scrummy
using System;
using System.Globalization;
using System.Linq;
using Scrummy.Application.Web.MVC.Extensions.Entities;
using Scrummy.Application.Web.MVC.Presenters.Project;
using Scrummy.Application.Web.MVC.Utility;
using Scrummy.Application.Web.MVC.ViewModels.Project;
using Scrummy.Domain.R... |
BugNet/Framework/TextureTarget.cs | elizabethcd/StardewValleyMods | 30 | 7063936 | using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
namespace BugNet.Framework
{
/// <summary>A pixel area within a texture.</summary>
internal class TextureTarget
{
/*********
** Accessors
*********/
/// <summary>The texture instance.</summary>
pu... |
src/Amazon.DynamoDb/Actions/Transactions/TransactWriteItem.cs | TheJVaughan/Amazon | 22 | 7063937 | namespace Amazon.DynamoDb.Transactions;
public sealed class TransactWriteItem
{
public ConditionCheck? ConditionCheck { get; init; }
public DeleteItem? Delete { get; init; }
public PutItem? Put { get; init; }
public UpdateItem? Update { get; init; }
}
|
CH08/BasicQueryOperators/Model/User.cs | xp44mm/RxInAction | 0 | 7063938 | using System;
namespace BasicQueryOperators.Model
{
internal class User
{
public string Name { get; set; }
public string Id { get; set; }
public override string ToString()
{
return String.Format("Id={0} Name:{1}", this.Id, this.Name);
}
}
}
|
Assets/ProceduralDungeonGenerator/Scripts/Utils/RandomNumberGenerators/UniformRandomGenerator.cs | doliveira87/ProceduralGenerationSample | 7 | 7063939 | <reponame>doliveira87/ProceduralGenerationSample<filename>Assets/ProceduralDungeonGenerator/Scripts/Utils/RandomNumberGenerators/UniformRandomGenerator.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CSharpCity.Tools.RandomNumberGenerators
{
public class UniformR... |
src/clipr.Converters.UnitTests/RegexConverterUnitTest.cs | nemec/clipr.Converters | 0 | 7063940 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
namespace clipr.Converters.UnitTests
{
[TestClass]
public class RegexConverterUnitTest
{
[TestMethod]
public void RegexIsValid_WithVa... |
src/Logikfabrik.Umbraco.Jet.Social/RecycleBinApplicationHandler{T}.cs | logikfabrik/uJetSocial | 1 | 7063941 | <reponame>logikfabrik/uJetSocial<filename>src/Logikfabrik.Umbraco.Jet.Social/RecycleBinApplicationHandler{T}.cs
// <copyright file="RecycleBinApplicationHandler{T}.cs" company="Logikfabrik">
// Copyright (c) 2015 anton(at)logikfabrik.se. Licensed under the MIT license.
// </copyright>
namespace Logikfabrik.Umbraco.... |
View.Wpf/Helper/BffSettings.cs | Yeah69/BFF | 5 | 7063942 | using BFF.Core.IoC;
using BFF.Properties;
using BFF.ViewModel.Helper;
using System;
using System.Globalization;
using System.Windows;
namespace BFF.View.Wpf.Helper
{
internal class BffSettings : IBffSettings, IOncePerApplication
{
public string CsvBankStatementImportProfiles
{
get ... |
Editor/Processor/IProcessChain.cs | Tanakancolle/UnityTemplateEditor | 25 | 7063943 | using System.Collections.Generic;
namespace TemplateEditor
{
public interface IProcessChain
{
void Process(ProcessMetadata metadata, ProcessDictionary result);
string[] GetReplaceWords();
string GetDescription();
}
/// <summary>
/// Process実行時のメタデータ
/// </summary>
... |
cmpctircd/HandlerArgs.cs | thesamesam/cmpctircd.NET | 7 | 7063944 | using System;
using System.Collections.Generic;
using System.Linq;
namespace cmpctircd
{
/// <summary>
/// Represents function arguments for a packet handler.
/// </summary>
public class HandlerArgs
{
// TODO: Make read-only
public string Line { get; set; }
public bool Forc... |
csharp/SimpleDataAccess/Core/FieldValue.cs | Roemer/SimpleDataAccess | 2 | 7063945 | using SimpleDataAccess.Mapping;
namespace SimpleDataAccess.Core
{
/// <summary>
/// Class to store a value for a field
/// </summary>
public sealed class FieldValue
{
private readonly MappingField _mappingField;
private object _storedValue;
private object _currentValue;
... |
test/Microsoft.OpenAPI.OData.Reader.Tests/Generator/OpenApiRequestBodyGeneratorTests.cs | irvinesunday/OpenAPI.NET.OData | 105 | 7063946 | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See LICENSE in the repo root for license information.
// ------------------------------------------------------------
using System;
using System.Linq... |
EdiApi.Client/Types/Messages/MessageFormat.cs | skbkontur/edi-api | 0 | 7063947 | <reponame>skbkontur/edi-api<filename>EdiApi.Client/Types/Messages/MessageFormat.cs
namespace SkbKontur.EdiApi.Client.Types.Messages
{
/// <summary>Формат сообщения</summary>
public enum MessageFormat
{
/// <summary>Не удалось определить формат собщения</summary>
Unknown,
/// <summa... |
Municorn.Notifications.Api.Client/DirectClientTopology.cs | alexandersorokin/municorn-notifications-api | 0 | 7063948 | <gh_stars>0
using System;
using Vostok.Clusterclient.Core;
using Vostok.Clusterclient.Core.Strategies;
using Vostok.Clusterclient.Core.Topology;
namespace Municorn.Notifications.Api
{
[PrimaryConstructor]
public partial class DirectClientTopology : IClientTopology
{
private readonly Uri ... |
src/Cake.EntityFramework/Interfaces/IEfMigratorBackend.cs | cake-contrib/Cake.EntityFramework | 5 | 7063949 | <filename>src/Cake.EntityFramework/Interfaces/IEfMigratorBackend.cs
using System.Collections.Generic;
using Cake.EntityFramework.Models;
namespace Cake.EntityFramework.Interfaces
{
/// <summary>
/// Back-end migrator used in the MarshalByReference
/// </summary>
public interface IEfMigratorBackend
... |
Engine/Editing/EditablePropertyColumn.cs | AnomalousMedical/Engine | 0 | 7063950 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Engine.Editing
{
/// <summary>
/// This is a column in the EditableProperty table. It holds various
/// information about a column.
/// </summary>
public class EditablePropertyCol... |
Server/Core/Misc/DictionaryHelper.cs | niuniuzhu/KOW | 2 | 7063951 | <reponame>niuniuzhu/KOW
using System.Collections;
using System.Collections.Generic;
namespace Core.Misc
{
public static class DictionaryHelper
{
public static void Copy( this IDictionary a, IDictionary b )
{
foreach ( DictionaryEntry de in a )
b[de.Key] = de.Value;
}
public static void GetOrCreate<T... |
Project/Core/LogMode.cs | iamprovidence/Coursework | 0 | 7063952 | namespace Core
{
/// <summary>
/// Log message level
/// </summary>
[System.Flags]
public enum LogMode
{
/// <summary>
/// Shows works in database
/// </summary>
DataBase = 1,
/// <summary>
/// Explain logic step by step
/// ... |
Assets/TobiiPro/Scripts/TobiiPro_CalibrationView.cs | MTGTech/StudioV | 2 | 7063953 | <reponame>MTGTech/StudioV
using System;
using System.Collections;
using UnityEngine;
using Tobii.Research;
using Tobii.Research.CodeExamples;
using Tobii.Research.Unity.CodeExamples;
using Math = UnityEngine.Mathf;
// TODO...
public class TobiiPro_CalibrationView : MonoBehaviour {
// The calibration dots should b... |
VisualStudio/Sources/Ghost Car Tests/When_Option_RaceParticipation_Is_Deactivated.cs | Heinzman/DigiRcMan | 0 | 7063954 | using Elreg.BusinessObjects.Lanes;
using NUnit.Framework;
namespace Elreg.UnitTests.GhostCar
{
[TestFixture]
// ReSharper disable InconsistentNaming
public class When_Option_RaceParticipation_Is_Deactivated : GhostBaseTest
{
[SetUp]
public void Initialize()
{
... |
DurandalAuth.Domain/Models/afm_redlines.cs | benitazz/AlcmSolutions | 0 | 7063955 | using System;
using System.Collections.Generic;
namespace DurandalAuth.Domain.Models
{
public partial class afm_redlines
{
public string comments { get; set; }
public System.DateTime date_created { get; set; }
public string dwg_name { get; set; }
public string highlightds { get;... |
src/MicroNetCore.Rest.MediaTypes.Hypermedia/Services/IHypermediaLinksService.cs | davidorbelian/MicroNetCore.Rest | 1 | 7063956 | <reponame>davidorbelian/MicroNetCore.Rest
using System;
using System.Collections.Generic;
using MicroNetCore.AspNetCore.Paging;
using MicroNetCore.Rest.Abstractions;
using MicroNetCore.Rest.MediaTypes.Hypermedia.Models;
namespace MicroNetCore.Rest.MediaTypes.Hypermedia.Services
{
public interface IHypermediaLinks... |
src/Assets/Scripts/BasicProjectile.cs | Maple-Syrup-Bacon/watwat | 0 | 7063957 | <filename>src/Assets/Scripts/BasicProjectile.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BasicProjectile : MonoBehaviour
{
public float lifespan = 15.0f;
public GameObject collisionEffect;
public Transform Owner { get; set; }
private floa... |
QDMS/EntityModels/ContinuousFuture.cs | karlcc/qdms | 1 | 7063958 | <gh_stars>1-10
// -----------------------------------------------------------------------
// <copyright file="ContinuousFuture.cs" company="">
// Copyright 2013 <NAME>
// </copyright>
// -----------------------------------------------------------------------
using System;
using System.ComponentModel.DataAnnotations;
... |
smshosting-api-cs-client/entities/SmsBulkResult.cs | smshosting/smshosting-api-c--client | 3 | 7063959 | using System;
namespace smshosting.api.cs.client.entities
{
public class SmsBulkResult
{
[System.Text.Json.Serialization.JsonPropertyName("from")]
public String From { get; set; }
[System.Text.Json.Serialization.JsonPropertyName("text")]
public String Text { get; set; }
... |
VoiceAmp/VAConfig.cs | ToniMacaroni/VoiceAmp | 0 | 7063961 | using System.IO;
using BepInEx;
using BepInEx.Configuration;
namespace VoiceAmp
{
internal class VAConfig
{
public ConfigEntry<float> AmpValue;
public VAConfig()
{
var configFile = new ConfigFile(Path.Combine(Paths.ConfigPath, "VoiceAmp.cfg"), true);
AmpValue ... |
generators/app/templates/toCopy/WebApi/Providers/CurrentUserProvider.cs | shaggyshelar/generator-netcore | 0 | 7063962 | using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Models.Domain;
using Models.Dto;
namespace WebApi.Providers
{
public interface ICurrentUserProvider
{
ApplicationUserSimpleDto GetUser();
}
public class CurrentUserProvider : ICurrentUserProvider
{
private... |
test/StepRegistryTests.cs | aerotog/gauge-dotnet | 23 | 7063963 | /*----------------------------------------------------------------
* Copyright (c) ThoughtWorks, Inc.
* Licensed under the Apache License, Version 2.0
* See LICENSE.txt in the project root for license information.
*----------------------------------------------------------------*/
using System.Collections.Gen... |
MyAutoPartsWebStore/MyAutoPartsStore.Models/ServiceModels/Products/ProductServiceModel.cs | Morbidius/MyAutoPartsStore | 0 | 7063964 | namespace MyAutoPartsStore.Models.ServiceModels.Products
{
using MyAutoPartsStore.Models.BaseModels;
using MyAutoPartsWebStore.Web.Base;
public class ProductServiceModel : BaseCategoryModel, INameModel
{
public int Id { get; init; }
public string Name { get; set; }
public str... |
Infrastructure/DealTypeServices/NewOpportunityProcessService.cs | jawn/ProposalManager | 0 | 7063965 | <gh_stars>0
// Copyright(c) Microsoft Corporation.
// All rights reserved.
//
// Licensed under the MIT license. See LICENSE file in the solution root folder for full license information
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.Extensions.Loggin... |
backend/FinanceManager.Tools/RequestHelper.cs | jfuerlinger-privat/finance-manager | 0 | 7063966 | <reponame>jfuerlinger-privat/finance-manager
using System;
using System.Collections.Specialized;
using System.IO;
using System.Net;
namespace FinanceManager.Tools
{
public class RequestHelper
{
public static HttpWebResponse CreateMultipartRequest(string url, string[] files, NameValueCollection formFields = nu... |
src/Reinforce.HttpClientFactory/ReinforceBuilder.cs | deesejohn/Reinforce | 12 | 7063967 | <filename>src/Reinforce.HttpClientFactory/ReinforceBuilder.cs
using System;
using Microsoft.Extensions.DependencyInjection;
namespace Reinforce.HttpClientFactory
{
public class ReinforceBuilder : IReinforceBuilder
{
private IHttpClientBuilder ApiClientBuilder { get; }
public IServiceCollection ... |
Pages/About.cshtml | vinostroza/WPDI | 0 | 7063968 | <filename>Pages/About.cshtml
@page
@model AboutModel
@{
//ViewData["Title"] = "About";
}
@*<h2>@ViewData["Title"]</h2>*@
<div style="background-color:darkcyan; font-size:large;padding:15px">
<a style="color:white; text-align:center; margin-left:40%; font-size:25px" href="#" id="myBtn">Learn more ABOUT t... |
libSimpleMap/SimpleMapRoute.cs | akichko/libSimpleMap | 0 | 7063969 | /*============================================================================
MIT License
Copyright (c) 2021 akichko
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, includi... |
src/keypay-dotnet/ApiFunctions/V2/LeaveAccruedFunction.cs | adim1973/keypay-dotnet | 0 | 7063970 | using KeyPay.DomainModels.V2.PayRun;
namespace KeyPay.ApiFunctions.V2
{
public class LeaveAccruedFunction : BaseFunction
{
public LeaveAccruedFunction(ApiRequestExecutor api)
: base(api)
{
}
public LeaveAccrualResponse List(int businessId, int payRunId)
{
... |
src/ApplicationCooperationViewPoint/Black.Beard.Galileo.Tools/Viewpoints/Cooperations/SelectReferential.Designer.cs | gaelgael5/galileo | 0 | 7063971 | <filename>src/ApplicationCooperationViewPoint/Black.Beard.Galileo.Tools/Viewpoints/Cooperations/SelectReferential.Designer.cs
namespace Bb.Galileo.Viewpoints.Cooperations
{
partial class SelectReferential
{
/// <summary>
/// Required designer variable.
/// </summary>
private Sy... |
AppGM/AppGMCore/ViewModels/ComboBox/ViewModelComboBox.cs | ElGranNachito/AplicacionGM | 0 | 7063972 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using AppGM.Core.Delegados;
using CoolLogs;
namespace AppGM.Core
{
/// <summary>
/// <see cref="ViewModel"/> para representar un control de tipo ComboBox
/// </summary>
/// <typeparam name="TValor"><see cref="... |
src/root/src/contracts/INaturalized.cs | 0xCM/z0 | 0 | 7063973 | <filename>src/root/src/contracts/INaturalized.cs
//-----------------------------------------------------------------------------
// Copyright : (c) <NAME>, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
/// <summary>
/// Characterizes... |
src/web/UnitTests/Domain/ReadModel/ApprenticeshipFavouriteTests.cs | SkillsFundingAgency/das-employer-favourites | 0 | 7063974 | <reponame>SkillsFundingAgency/das-employer-favourites<gh_stars>0
using System;
using System.Collections.Generic;
using DfE.EmployerFavourites.Domain.ReadModel;
using DfE.EmployerFavourites.Web.Infrastructure.FatApiClient;
using DfE.EmployerFavourites.Web.Infrastructure;
using Xunit;
using DfE.EmployerFavourites.Infra... |
MemoryExplorer/P_MemoryExplorer/IndirectInput.Designer.cs | Git-SiN/MemoryExplorer | 0 | 7063975 | <reponame>Git-SiN/MemoryExplorer<filename>MemoryExplorer/P_MemoryExplorer/IndirectInput.Designer.cs
namespace MemoryExplorer
{
partial class IndirectInput
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = ... |
AddPanel/createArchiveModel/UI/archiveModelUI.xaml.cs | dodzikojo/P-W_Revit-Tools | 0 | 7063976 | using Autodesk.Revit.UI;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System... |
iviz_msgs/actionlib_tutorials/msg/AveragingActionResult.cs | KIT-ISAS/iviz | 79 | 7063977 | /* This file was created automatically, do not edit! */
using System.Runtime.Serialization;
namespace Iviz.Msgs.ActionlibTutorials
{
[Preserve, DataContract (Name = "actionlib_tutorials/AveragingActionResult")]
public sealed class AveragingActionResult : IDeserializable<AveragingActionResult>, IActionResult<A... |
src/TagCache.Redis.Tests/RedisCacheProviderMessagePackTests.cs | jmenziessmith/TagCache.Redis | 5 | 7063978 | <reponame>jmenziessmith/TagCache.Redis
using NUnit.Framework;
using TagCache.Redis.MessagePack;
namespace TagCache.Redis.Tests
{
[TestFixture(Category = "MsgPack tests")]
public class RedisCacheProviderMessagePackTests : RedisCacheProviderTests
{
protected override CacheConfiguration NewCac... |
GSD/GSD.Platform.Mac/MacPlatform.cs | derrickstolee/gsd-old | 1 | 7063979 | <gh_stars>1-10
using GSD.Common;
using GSD.Common.FileSystem;
using GSD.Common.Tracing;
using GSD.Platform.POSIX;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml;
using System.Xml.Linq;
using System.Xml.XPath;
namespace GSD.Platform.Mac
{
public partial class MacPlatform : P... |
C# Web Development/03. C# Advanced/03. Sets and Dictionaries Advanced/Exercise/Wardrobe/Program.cs | Vanrektus/Software-University | 0 | 7063980 | using System;
using System.Collections.Generic;
using System.Linq;
namespace Wardrobe
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
Dictionary<string, Dictionary<string, int>> wardrobe = new Dictionary<string, Dictionary<str... |
Monitor/Devices/DvMIC.cs | hawesome512/edsmonitor | 0 | 7063981 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Monitor
{
public class DvMIC : Device
{
public override void updateState()
{
DState state = new DState();
DValues dv = RealDat... |
Controllers/CarController.cs | amreshj2017/DasRepo | 0 | 7063982 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using vega.Models;
namespace vega.Controllers
{
public class CarController:Controller
{
[HttpGet]
public IEnumerable<CarMake> GetCarMakes()
{
... |
resources/.gen/aws/aws/NetworkInterfaceAttachment.cs | scottenriquez/cdktf-alpha-csharp-testing | 0 | 7063983 | using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
#pragma warning disable CS8618
[JsiiByValue(fqn: "aws.NetworkInterfaceAttachment")]
public class NetworkInterfaceAttachment : aws.INetworkInterfaceAttachment
{
[JsiiProperty(name: "deviceIndex", typ... |
aliyun-net-sdk-vod/Vod/Model/V20170314/AuthorizeAppLicenseRequest.cs | sdk-team/aliyun-openapi-net-sdk | 0 | 7063984 | <filename>aliyun-net-sdk-vod/Vod/Model/V20170314/AuthorizeAppLicenseRequest.cs
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses thi... |
ProtoSDK/MS-RDPBCGR/ASNT124/TerminationMethod.cs | Grom-Li/WindowsProtocolTestSuites | 332 | 7063985 | <reponame>Grom-Li/WindowsProtocolTestSuites
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Protocols.TestTools.StackSdk.Asn1;
namespace Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.Gc... |
PullRequestMonitor/Monitor.cs | lisardggY/VSTS.PullRequestMonitor | 0 | 7063986 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Threading;
using System.Threading.Tasks;
using PullRequestMonitor.Extensions;
using PullRequestMonitor.Model;
using VSTS.Net;
using VSTS.Net.Models.Identity;
using VSTS.Net.Models... |
Solution/Ridics.Authentication.DataEntities/Mappings/UserDataMapping.cs | RIDICS/Authentication | 1 | 7063987 | <gh_stars>1-10
using NHibernate.Mapping.ByCode;
using NHibernate.Mapping.ByCode.Conformist;
using Ridics.Authentication.DataEntities.Entities;
namespace Ridics.Authentication.DataEntities.Mappings
{
public class UserDataMapping : ClassMapping<UserDataEntity>, IMapping
{
public UserDataMapping()
... |
MazewireC/Assets/Scripts/BossFight/Boss.cs | danielfroes/Mazewire | 0 | 7063988 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Boss : MonoBehaviour
{
static public bool firstState = true;
private bool coroutineRunning = false;
[SerializeField] private Animator bossAnim;
[SerializeField] private GameObject bigSword;
private bool b... |
Samples/XamarinPasscodeSamples/Passcode.Android.Simple/Resources/Resource.designer.cs | kevinskrei/XamarinPasscode | 18 | 7063989 | #pragma warning disable 1591
// ------------------------------------------------------------------------------
// <autogenerated>
// This code was generated by a tool.
// Mono Runtime Version: 4.0.30319.17020
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code ... |
Code/CSharpComplete/OptionalParameterUsingOptionalAttribute.cs | manas1803/CSharp | 0 | 7063990 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace CSharpComplete
{
class OptionalParameterUsingOptionalAttribute
{
public void Print()
{
OptionalParameterUsingOptionalAttribute ooa = new OptionalParameterU... |
src/NuCmd/Commands/Work/StatusCommand.cs | NuGet/NuGet.Operations | 7 | 7063991 | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using N... |
Diphap.JsNetBridge.Generator.Lib/Common/Helper.cs | ceanota/jsnetbridge | 0 | 7063992 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Diphap.JsNetBridge.Generator.Common
{
class Helper
{
public static string GetRelativePath(string filespec, s... |
terminal/PlatCommon.cs | lhztop/hf_at | 0 | 7063993 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Data;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using System.Xml;
using DataCenter;
using Newtonsoft.Json;
using static HaiFeng.... |
CrossfitDiary/CoreApp/CrossfitDiaryCore.DAL.EF/Migrations/20200211041642_SeedData12.cs | faiverAlb/crossfitDiary- | 1 | 7063994 | <filename>CrossfitDiary/CoreApp/CrossfitDiaryCore.DAL.EF/Migrations/20200211041642_SeedData12.cs
using Microsoft.EntityFrameworkCore.Migrations;
namespace CrossfitDiaryCore.DAL.EF.Migrations
{
public partial class SeedData12 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
... |
src/DotNetRevolution.EventStore/Entity/Transaction.cs | DotNetRevolution/DotNetRevolution-Framework | 1 | 7063996 | <reponame>DotNetRevolution/DotNetRevolution-Framework
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using DotNetRevolution.Core.Domain;
namespace DotNetRevolution.EventStore.Entity
{
public class Transaction
{
private readonly ICollection<Transa... |
Exams/02.16-July-2017-Minedraft-DotNetFramework/MineDraft/StartUp.cs | DimchoLakov/CSharpOOPBasics | 1 | 7063997 | public class StartUp
{
public static void Main()
{
DraftManager draftManager = new DraftManager();
Mine mine = new Mine(draftManager);
mine.StartMining();
}
}
|
ViewModels/TaskTheme.cs | TaggedDev/LingvaApp | 0 | 7063998 | using LingvaApp.Models;
namespace LingvaApp.ViewModels
{
public class TaskTheme
{
public Task Task { get; set; }
public Theme Theme { get; set; }
}
}
|
XRTK.Examples/Assets/XRTK.Examples/ExamplesHub/ExamplesHubSystem/Interfaces/IExamplesHubSystemDataProvider.cs | realitycollective/Examples | 10 | 7063999 | // Copyright (c) XRTK. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using XRTK.Interfaces;
namespace XRTK.Examples.ExamplesHub.Interfaces
{
public interface IExamplesHubSystemDataProvider : IMixedRealityDataProvider { }
}
|
VocaDbModel/Service/Security/IPasswordHashAlgorithm.cs | AgFlore/vocadb | 212 | 7064000 | #nullable disable
namespace VocaDb.Model.Service.Security
{
/// <summary>
/// Algorithm for password hashing.
/// </summary>
public interface IPasswordHashAlgorithm
{
/// <summary>
/// Algorithm type used for identification.
/// </summary>
PasswordHashAlgorithmType AlgorithmType { get; }
... |
FoundationDB.Tests/Utils/SliceHelperFacts.cs | BedeGaming/foundationdb-dotnet-client | 1 | 7064001 | #region BSD Licence
/* Copyright (c) 2013-2014, Doxense SAS
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 copyright
notice, this list of cond... |
SQLProcessorUI/BulkExecutionForm.Designer.cs | TimCorey/SQLProcessor | 1 | 7064002 | namespace SQLProcessorUI
{
partial class BulkExecutionForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
VisualInspectionApp/DataStructures/ConcreteImagePrediction.cs | ydty/visual_inspection_app | 0 | 7064003 | using Microsoft.ML.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VisualInspectionApp.DataStructures
{
public class ConcreteImagePrediction
{
[ColumnName("sigmoid")]
public float[] PredictedLabels;
}
}
|
LinqDemoWpfApp/LinqDemoLibrary/Models/Articole.cs | TinuMurani/LinqDemoWpfApp | 0 | 7064004 | <gh_stars>0
using LinqDemoLibrary.Validators;
using System;
using System.Collections.Generic;
using System.Text;
namespace LinqDemoLibrary.Models
{
public class Articole
{
private int _idArticol;
private string _denumire;
private string _cod;
private string _codBare;
pr... |
src/graphql.server.links/HubConnectionExtensions.cs | digvand/tanka-graphql | 67 | 7064005 | <reponame>digvand/tanka-graphql<filename>src/graphql.server.links/HubConnectionExtensions.cs
using System.Threading;
using System.Threading.Channels;
using System.Threading.Tasks;
using Microsoft.AspNetCore.SignalR.Client;
using Tanka.GraphQL.Server.Links.DTOs;
namespace Tanka.GraphQL.Server.Links
{
public static... |
src/dotnet/MonoGame.Extended.NuclexGui/Visuals/Flat/Renderers/FlatWindowControlRenderer.cs | RhysSharpe/MonoGame.Extended | 1 | 7064006 | <reponame>RhysSharpe/MonoGame.Extended
using MonoGame.Extended.NuclexGui.Controls.Desktop;
namespace MonoGame.Extended.NuclexGui.Visuals.Flat.Renderers
{
/// <summary>Renders window controls in a traditional flat style</summary>
public class FlatWindowControlRenderer : IFlatControlRenderer<GuiWindowControl>
... |
src/FileStore.Persistance.FileSystem.Tests.Unit/FileSystemPersistanceTests.cs | mgibas/FileStore | 2 | 7064008 | <gh_stars>1-10
using System;
using System.IO;
using System.Text.RegularExpressions;
using FakeItEasy;
using System.IO.Abstractions;
using Xunit;
namespace FileStore.Persistance.FileSystem.Tests.Unit
{
public class FileSystemPersistanceTests
{
private string configuredDirectory;
private IFileSy... |
src/Nancy.Tests.Functional/Tests/MemoryLeakFixture.cs | jjchiw/Nancy | 2 | 7064009 | namespace Nancy.Tests.Functional.Tests
{
using System;
using JetBrains.dotMemoryUnit;
using Modules;
using Testing;
using Xunit;
public class MemoryLeakFixture
{
public MemoryLeakFixture()
{
DotMemoryUnitTestOutput.SetOutputMethod(Console.WriteLine);... |
AppEngine/Matching/InfoPartAccessLocalFile.cs | mtebenev/mediafiles | 0 | 7064010 | <reponame>mtebenev/mediafiles
using MediaToolkit.Services;
using MediaToolkit.Tasks;
using Mt.MediaFiles.AppEngine.Scanning;
using System;
using System.Collections.Generic;
using System.IO.Abstractions;
using System.Linq;
using System.Threading.Tasks;
namespace Mt.MediaFiles.AppEngine.Matching
{
/// <summary>
/// ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.