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 |
|---|---|---|---|---|
Helpers/AutoMapperProfile.cs | kjhoward/dotnet-5-registration-login-api | 0 | 7029622 | <reponame>kjhoward/dotnet-5-registration-login-api
using AutoMapper;
using RegistrationLoginApi.Data.DataModels;
using DevConsulting.RegistrationLoginApi.Client.Models;
using DevConsulting.RegistrationLoginApi.Client;
namespace RegistrationLoginApi.Helpers
{
public class AutoMapperProfile : Profile
{
p... |
src/Ookii.Dialogs.Wpf/ButtonType.cs | jianyuyanyu/ookii-dialogs-wpf | 387 | 7029623 | #region Copyright 2009-2021 Ookii Dialogs Contributors
//
// Licensed under the BSD 3-Clause License (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://opensource.org/licenses/BSD-3-Clause
//
// Unless required by applicable... |
VisualFormTest/UserControls/DropAnalyzer.Designer.cs | yamadansan/HoppoAlpha | 0 | 7029624 | <reponame>yamadansan/HoppoAlpha<filename>VisualFormTest/UserControls/DropAnalyzer.Designer.cs
namespace VisualFormTest.UserControls
{
partial class DropAnalyzer
{
/// <summary>
/// 必要なデザイナー変数です。
/// </summary>
private System.ComponentModel.IContainer components = null;
... |
TheCanisIncident/TheCanisIncident/Behaviors/Pointer.cs | srakowski/TheCanisIncident | 0 | 7029625 | <gh_stars>0
using Coldsteel;
using Coldsteel.Controls;
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Text;
namespace TheCanisIncident.Behaviors
{
class Pointer : Behavior
{
private Action<Vector2> _onClick;
public Pointer(Action<Vector2> onClick)
... |
CFDI40/Comprobante/Comprobante.cs | LainSoftwareCS/LSInvoiceManager | 0 | 7029626 | <reponame>LainSoftwareCS/LSInvoiceManager
using LSInvoiceManager.CFDI40.Utilerias;
using Org.BouncyCastle.Crypto;
using Org.BouncyCastle.Crypto.Parameters;
using Org.BouncyCastle.Security;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
namespace LSInvoiceManager.CFDI40
{
[System.CodeDom.Comp... |
src/CAPNet.Tests/ValidatorTests/NotRequired/Alert/NoteValidatorTests.cs | jklnz/cap-net | 6 | 7029627 | using CAPNet.Models;
using System.Linq;
using Xunit;
namespace CAPNet.Tests.ValidatorTests
{
public class NoteValidatorTests
{
[Fact]
public void AlertWithNoteAndStatusExerciseIsValid()
{
var alert = new Alert();
alert.Note = "maxOccurs";
alert.Statu... |
src/Uno.UI/UI/Xaml/Controls/ListViewBase/UnoViewHolder.Android.cs | olirobert/uno | 5,973 | 7029628 | using System;
using System.Collections.Generic;
using System.Text;
using AndroidX.RecyclerView.Widget;
namespace Windows.UI.Xaml.Controls
{
internal class UnoViewHolder : RecyclerView.ViewHolder
{
public UnoViewHolder(ContentControl itemView) : base(itemView) { }
/// <summary>
/// Has the ItemView been detac... |
src/MenuItem.cs | ardacetinkaya/Lib.ConsoleHelper | 3 | 7029629 | <reponame>ardacetinkaya/Lib.ConsoleHelper<gh_stars>1-10
namespace Lib.ConsoleHelper
{
public class MenuItem
{
public string Title { get; set; }
public string Help { get; set; }
public string Value { get; set; }
}
}
|
Nmedia.Api.Application/Articles/Queries/GetArticleByIdHandler.cs | fpionnmedia/nmedia-api | 0 | 7029630 | #nullable enable
using AutoMapper;
using MediatR;
using Microsoft.EntityFrameworkCore;
using Nmedia.Api.Application.Articles.Models;
using Nmedia.Api.Application.Exceptions;
using Nmedia.Domain.Articles;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Nmedia.Api.Application.Articles.Quer... |
test/DynamicsTeamTest/Projects/WaterPump.Designer.cs | lefevre-fraser/openmeta-mms | 0 | 7029631 | <reponame>lefevre-fraser/openmeta-mms
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
using System.IO;
using GME.MGA;
namespace DynamicsTeamTest.Projects
{
public class WaterPumpFixture : XmeImportFixture
{
protected override string xmeF... |
src/back-end/src/MyCookbook.Infrastructure.Data/Repositories/CategoryRepository.cs | adrianawindmuller/my-cookbook-angular | 1 | 7029632 | using Microsoft.EntityFrameworkCore;
using MyCookbook.Domain.Recipes;
using MyCookbook.Infrastructure.Data.DbContexts;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace MyCookbook.Infrastructure.Data.Repositories
{
public class CategoryRepository : EfRepository<Category>, ICategoryReposito... |
zk4500/Form1.cs | PVirie/ZKTeco-ZK4500 | 0 | 7029633 | <reponame>PVirie/ZKTeco-ZK4500<gh_stars>0
using System;
using System.IO;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using AxZKFPEngXControl;
namespace zk4500
{
... |
Source/Excel/Enums/XlBuiltInDialog.cs | workgroupengineering/NetOffice | 544 | 7029634 | using System;
using NetOffice;
using NetOffice.Attributes;
namespace NetOffice.ExcelApi.Enums
{
/// <summary>
/// SupportByVersion Excel 9, 10, 11, 12, 14, 15, 16
/// </summary>
///<remarks> MSDN Online Documentation: <see href="https://docs.microsoft.com/en-us/office/vba/api/Excel.XlBuiltInDialog"/> </remarks... |
MREUnityRuntime/MREUnityRuntimeLib/Assets/AssetCache.cs | evhan55/mixed-reality-extension-unity | 0 | 7029635 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using MixedRealityExtension.PluginInterfaces;
using MixedRealityExtension.Util;
using UnityEngine;
using Object = UnityEngine.Object;
using ColliderGeometry... |
HtcSharp.Abstractions/Manager/IReadOnlyPlugin.cs | jpdante/HtcSharp | 9 | 7029636 | <gh_stars>1-10
namespace HtcSharp.Abstractions.Manager {
public interface IReadOnlyPlugin {
string Name { get; }
string Version { get; }
bool IsCompatible(IVersion version);
}
} |
GoogleCloudExtension/GoogleCloudExtension/VsVersion/VS14/ToolsPathProvider.cs | amanda-tarafa/google-cloud-visualstudio | 2 | 7029637 | <reponame>amanda-tarafa/google-cloud-visualstudio<filename>GoogleCloudExtension/GoogleCloudExtension/VsVersion/VS14/ToolsPathProvider.cs
// Copyright 2017 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the Li... |
Fakebook.Posts/Fakebook.Posts.RestApi/Controllers/CommentsController.cs | 2011-fakebook-project3/posts | 1 | 7029638 | using Fakebook.Posts.Domain.Interfaces;
using Fakebook.Posts.Domain.Models;
using Fakebook.Posts.RestApi.Dtos;
using Fakebook.Posts.RestApi.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extension... |
src/Essensoft.AspNetCore.Payment.Alipay/Domain/SearchBaseItems.cs | LuohuaRain/payment | 0 | 7029639 | <filename>src/Essensoft.AspNetCore.Payment.Alipay/Domain/SearchBaseItems.cs
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// SearchBaseItems Data Structure.
/// </summary>
public class SearchBaseItems : Ali... |
Stacks and Queues - Exercise/10. Poisonous Plants/Plants.cs | theoners/C-Advanced-september-2018 | 1 | 7029640 | namespace _10._Poisonous_Plants
{
using System;
using System.Collections.Generic;
using System.Linq;
public class Plants
{
public static void Main()
{
int n = int.Parse(Console.ReadLine());
var plants = Console.ReadLine().Split().Select(int.Parse).ToList();
... |
Assets/[Utilitys]/Attributes/ButtonAttribute.cs | voossu/Driving-Range-Project | 3 | 7029641 | using System;
public enum ButtonMode
{
AlwaysEnabled,
EnabledInPlayMode,
DisabledInPlayMode
}
[Flags]
public enum ButtonSpacing
{
None = 0,
Before = 1,
After = 2
}
/// <summary>
/// Attribute to create a button in the inspector for calling the method it is attached to.
/// The method must ha... |
WebApi/Plantopia.WebApi/Plantopia.Service.Auth/FileProvider.cs | Alword/plantopia | 0 | 7029642 | <filename>WebApi/Plantopia.WebApi/Plantopia.Service.Auth/FileProvider.cs<gh_stars>0
using System;
using System.Diagnostics;
using System.IO;
namespace Plantopia.Service.Auth
{
internal class FileProvider
{
public string FilePath { get; set; }
public FileProvider(string path)
{
... |
SharpDownloader/SharpDownloaderSettings.cs | shyqriramagmailcom/SharpDownloader | 0 | 7029643 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharpDownloader
{
public class SharpDownloaderSettings
{
public int RefreshTime { get; set; }
public int NumberOfProcessors { get; set; }
public int... |
AirNavigationRaceLive/Comps/MapLegacy.cs | ArminZ/TEST1 | 0 | 7029644 | using System;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
using System.IO;
using AirNavigationRaceLive.Comps.Helper;
using AirNavigationRaceLive.Model;
namespace AirNavigationRaceLive.Comps
{
public partial class MapLegacy : UserControl
{
private C... |
test/Npoi.Core.TestCases/HSSF/Record/Pivot/TestExtendedPivotTableViewFieldsRecord.cs | liyujun1989/Npoi.Core | 4 | 7029645 | /* ====================================================================
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 this file to Y... |
OrderbotTags/RetainerHire.cs | nt153133/LlamaUtilities | 6 | 7029646 | using System.ComponentModel;
using System.Threading.Tasks;
using Clio.XmlEngine;
using LlamaLibrary.Utilities;
using TreeSharp;
namespace LlamaUtilities.OrderbotTags
{
[XmlElement("RetainerHire")]
public class RetainerHire : LLProfileBehavior
{
private bool _isDone;
public override bool H... |
Assets/Hover/InterfaceModules/Cast/Scripts/HovercastOpenTransitioner.cs | Agilefreaks/licenta-vr | 4 | 7029647 | <reponame>Agilefreaks/licenta-vr<gh_stars>1-10
using System.Diagnostics;
using Hover.Core.Cursors;
using Hover.Core.Utils;
using UnityEngine;
namespace Hover.InterfaceModules.Cast {
/*================================================================================================*/
[ExecuteInEditMode]
[RequireCom... |
RageLib/Data/PartialStream.cs | carmineos/gta-toolkit | 9 | 7029648 | <filename>RageLib/Data/PartialStream.cs<gh_stars>1-10
// Copyright © Neodymium, carmineos and contributors. See LICENSE.md in the repository root for more information.
using System;
using System.IO;
namespace RageLib.Data
{
public delegate long GetOffsetDelegate();
public delegate long GetLengthDeleg... |
Apps.BLL/AccountBLL.cs | yashuer/Apps | 1 | 7029649 | using Apps.IBLL;
using Apps.IDAL;
using Apps.Models;
using Microsoft.Practices.Unity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Apps.BLL
{
public class AccountBLL : BaseBLL, IAccountBLL
{
[Dependency]
public IA... |
RestSharp.IntegrationTests/Models/LinkedINMemberProfile.cs | DiogenesPolanco/RestSharp | 2 | 7029650 |
namespace RestSharp.IntegrationTests.Models
{
/// <summary>
/// Model for used by the LinkedIN integration tests.
/// <see cref="OAuth1Tests.Can_Retrieve_Member_Profile_Field_Field_Selector_From_LinkedIN"/>.
/// </summary>
public class LinkedInMemberProfile
{
public string Id { get; se... |
WOD.Game.Server/Service/TileMagic.cs | Cavcode/WOD_NWN | 0 | 7029651 | using System.Numerics;
using WOD.Game.Server.Core.NWScript.Enum;
using WOD.Game.Server.Core.NWScript.Enum.Area;
using WOD.Game.Server.Core.NWScript.Enum.VisualEffect;
using WOD.Game.Server.Enumeration;
using static WOD.Game.Server.Core.NWScript.NWScript;
namespace WOD.Game.Server.Service
{
public static class Til... |
src/Compilers/Core/Portable/Symbols/LanguageNames.cs | bbarry/roslyn | 192 | 7029652 | <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 Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis
{
/// <summary>
/// A class that provides constants for ... |
src/ResourceManager/DataFactoryV2/Commands.DataFactoryV2/Runs/GetAzureDataFactoryPipelineRunCommand.cs | muwaqar/azure-powershell | 1 | 7029653 | <reponame>muwaqar/azure-powershell
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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 ... |
OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs | WhiteCoreSim/WhiteCore-Merger | 2 | 7029654 | /*
* Copyright (c) Contributors, http://opensimulator.org/
* See CONTRIBUTORS.TXT for a full list of copyright holders.
*
* 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 r... |
GadzhiResurrected/Infrastructure/Implementations/Services/ServerStateClientServiceFactory.cs | rubilnik4/GadzhiResurrected | 0 | 7029655 | using System;
using ChannelAdam.ServiceModel;
using GadzhiCommon.Infrastructure.Implementations.Services;
using GadzhiDTOClient.Contracts.ServerStates;
namespace GadzhiResurrected.Infrastructure.Implementations.Services
{
/// <summary>
/// Фабрика для создания подключения к WCF сервису состояния сервера
/... |
crisischeckin/Services/Api/Dtos/Dtos.cs | lloydfaulkner/crisischeckin | 1 | 7029656 | <reponame>lloydfaulkner/crisischeckin<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Services.Api.Dtos
{
#region Dtos
public class DisasterDto
{
public int Id { get; set; }
public string Name { get... |
src/Anilibria/Pages/CinemaHall/CinemaHallViewModel.cs | anilibria/anilibria-win | 34 | 7029657 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Linq;
using System.Windows.Input;
using Anilibria.MVVM;
using Anilibria.Pages.CinemaHall.PresentationClasses;
using Anilibria.Pages.OnlinePlayer.PresentationClasses;
using Anilibria.... |
LearnUnity/Assets/Scripts/Init_Scene16.cs | osser/unity-sample | 0 | 7029658 | <reponame>osser/unity-sample
using UnityEngine;
using System.Collections;
public class Init_Scene16 : MonoBehaviour
{
public GameObject gameObj;
// Use this for initialization
void Start ()
{
for (int i = -1; i <= 1; i++) {
for (int j = -1; j <= 1; j++) {
GameObject obj = Instantiate (gameObj, new Vect... |
RibbonTools/Build/FaildException.cs | SammyEnigma/WindowsRibbon | 36 | 7029659 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace UIRibbonTools
{
[Serializable]
public class FaildException : Exception
{
public FaildException(string message) : base(message) { }
}
}
|
CSharp/String/SplitCamelCase.cs | piovezan/SOpt | 148 | 7029660 | <reponame>piovezan/SOpt<gh_stars>100-1000
using static System.Console;
using System.Text;
public static class Program {
public static void Main() {
WriteLine("CamelCase".SplitCamelCase());
WriteLine("Camel-Case".SplitCamelCase());
WriteLine("Camel---Case".SplitCamelCase());
WriteLine("Camel.Case".SplitCamelCa... |
Sport.Shared/ViewModels/AuthenticationViewModel.cs | briankhoe/dWallet-Prototype | 0 | 7029661 | using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.MobileServices;
using Sport.Shared;
using Xamarin;
using Xamarin.Forms;
[assembly: Dependency(typeof(AuthenticationViewModel))]
namespace Sport.Shared
{
public class AuthenticationViewMod... |
src/Modules/Speakers/ModularMonolith.Modules.Speakers.Api/Controllers/HomeController.cs | devmentors/ModularMonolith | 82 | 7029662 | using Microsoft.AspNetCore.Mvc;
namespace ModularMonolith.Modules.Speakers.Api.Controllers
{
[Route(BasePath)]
internal class HomeController : BaseController
{
[HttpGet]
public ActionResult<string> Get() => "Speakers module";
}
} |
AddressService/AddressService.Mappers/PostcodeProfile.cs | factor-50-devops-bot/address-service | 0 | 7029663 | <filename>AddressService/AddressService.Mappers/PostcodeProfile.cs
using AddressService.Core.Dto;
using AddressService.Repo.EntityFramework.Entities;
using AutoMapper;
using HelpMyStreet.Contracts.AddressService.Response;
namespace AddressService.Mappers
{
public class PostCodeProfile : Profile
{
publ... |
Supermercado/Controllers/LojasFisicasController.cs | IgorFachini/Projeto01_TDP2 | 0 | 7029664 | <reponame>IgorFachini/Projeto01_TDP2
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web.Mvc;
using Supermercado.AcessoDados;
using Supermercado.Models;
using System.Linq.Dynamic;
namespace Supermercado.Controllers
{
public class LojasFis... |
Nop.Plugin.Api/Services/ProductManufacturerMappingsApiService.cs | HZCRV/api-plugin-for-nopcommerce | 17 | 7029665 | <reponame>HZCRV/api-plugin-for-nopcommerce<gh_stars>10-100
using System.Collections.Generic;
using System.Linq;
using Nop.Data;
using Nop.Core.Domain.Catalog;
using Nop.Plugin.Api.DataStructures;
using Nop.Plugin.Api.Infrastructure;
namespace Nop.Plugin.Api.Services
{
public class ProductManufacturerMappingsApiSe... |
src/ResourceManagement/DataLake.Analytics/Microsoft.Azure.Management.DataLake.Analytics/Generated/Models/USqlTablePartition.cs | DiogenesPolanco/azure-sdk-for-net | 0 | 7029666 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
n... |
RevitWPFFW.core/Enumerations/ViewModels/Combo1Enum.cs | jtprichard/RevitWPFFW | 5 | 7029667 | <reponame>jtprichard/RevitWPFFW<gh_stars>1-10
namespace RevitWPFFW.core
{
/// <summary>
/// Enumeration for Combo Box 1
/// </summary>
public enum Combo1Enum
{
/// <summary>
/// Enumeration 1
/// </summary>
ComboEnum1,
/// <summary>
/// Enumeration 2
... |
Code/Library/PackageCache/com.unity.2d.animation@2.2.1-preview.2/Editor/SkinningModule/SpriteMeshData/EditableBoneWeight.cs | MandyMY/HalloweenCandies | 0 | 7029669 | using UnityEngine;
using System;
using System.Collections;
using System.Collections.Generic;
namespace UnityEditor.Experimental.U2D.Animation
{
[Serializable]
internal class BoneWeightChannel : IComparable<BoneWeightChannel>
{
[SerializeField]
private bool m_Enabled;
[Se... |
RedFolder.ActivityTracker.BeyondPod/Infrastructure/NewPodCastQueue.cs | Red-Folder/activity-tracker-azure-function | 1 | 7029670 | <reponame>Red-Folder/activity-tracker-azure-function
using Microsoft.Azure.WebJobs;
using RedFolder.ActivityTracker.Models;
namespace RedFolder.ActivityTracker.BeyondPod.Infrastructure
{
public class NewPodCastQueue : INewPodCastQueue
{
private readonly ICollector<PodCast> _queue;
public NewP... |
src/Librame.Extensions.Data.Abstractions/Collections/ITreeable.cs | gitter-badger/extensions-2 | 2 | 7029671 | <filename>src/Librame.Extensions.Data.Abstractions/Collections/ITreeable.cs
#region License
/* **************************************************************************************
* Copyright (c) <NAME> All rights reserved.
*
* https://github.com/librame
*
* You must not remove this notice, or any other, fro... |
LogUploader/GUIs/ProxyConfigUI.cs | ProfBits/LogUploader2 | 1 | 7029672 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using LogUploader.Languages;
using LogUploader.Properties;
namespace LogUploader.GUI
{
... |
Source/Logging Application Block/Logging/Configuration/FormatterData.cs | talley/EnterpriseLibraryNetCore | 0 | 7029673 | //===============================================================================
// Microsoft patterns & practices Enterprise Library
// Logging Application Block
//===============================================================================
// Copyright © Microsoft Corporation. All rights reserved.
// THIS CODE ... |
Runtime/Components/MaterialPropertyOverride.cs | StormiumTeam/package.stormiumteam.gamebase | 3 | 7029674 | <reponame>StormiumTeam/package.stormiumteam.gamebase
using System;
using System.Collections.Generic;
using UnityEngine;
namespace StormiumTeam.GameBase.Misc
{
public enum ShaderPropertyType
{
Color = 0,
Vector = 1,
Float = 2,
Range = 3,
TexEnv = 4
}
[ExecuteInEditMode]
public class MaterialPropertyO... |
ScriptOnXaml/ScriptCompiler.cs | gayaK/ScriptOnXaml | 2 | 7029675 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CSharp.Scripting;
using Microsoft.CodeAnalysis.Scripting;
namespace ScriptOnXaml
{
public static class ScriptCompiler
{
static ScriptCompiler()
{
... |
src/Ninject.Extensions.Logging.NLog/Infrastructure/NLogLoggerFactory.cs | VerifyBrand/Ninject.Extensions.Logging | 0 | 7029676 | //
// Author: <NAME> <<EMAIL>>
// Copyright (c) 2008-2010, Flanders International Marketing Ltd.
// Copyright (c) 2007-2010, Enkari, Ltd.
//
// Co-Author: <NAME> <<EMAIL>>
// Copyright (c) 2010, bbv Software Engineering AG
//
// Dual-licensed under the Apache License, Version 2.0, and the Microsoft Public License (Ms-P... |
OntraportApi/OntraportContacts.cs | mysteryx93/OntraportApi.NET | 1 | 7029677 | <gh_stars>1-10
using System;
using HanumanInstitute.OntraportApi.Models;
namespace HanumanInstitute.OntraportApi
{
/// <summary>
/// Provides Ontraport API support for Contact objects.
/// Contact objects allow you to keep up-to-date records for all the contacts you are managing.
/// Contacts can be a... |
PixelDotNet/Menus/ImageMenu.cs | Relfos/PixelDotNet | 4 | 7029678 | <reponame>Relfos/PixelDotNet
/////////////////////////////////////////////////////////////////////////////////
// Paint.NET //
// Copyright (C) dotPDN LLC, <NAME>, <NAME>, and contributors. //
// Portions Copyright (C) Microsoft Corporation. All Righ... |
Assets/Scripts/BuildingBrickModel.cs | EiTaNBaRiBoA/bricksvr-game | 38 | 7029679 | <gh_stars>10-100
using Normal.Realtime;
using Normal.Realtime.Serialization;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RealtimeModel]
public partial class BuildingBrickModel
{
[RealtimeProperty(1, true, true)]
private bool _attached;
// [RealtimeProperty(2, true, true... |
Public/Src/FrontEnd/Script/Ast/Declarations/ExportDeclaration.cs | nayanshah/BuildXL | 1 | 7029680 | <reponame>nayanshah/BuildXL
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using BuildXL.FrontEnd.Script.Expressions;
using TypeScript.Net.Utilities;
namespace BuildXL.FrontEnd.Script.Declarations
{
///... |
Assets/Slua/LuaObject/Unity/Lua_UnityEngine_ConfigurableJoint.cs | mengtest/gsxd_unity | 27 | 7029681 | <filename>Assets/Slua/LuaObject/Unity/Lua_UnityEngine_ConfigurableJoint.cs
using System;
using SLua;
using System.Collections.Generic;
[UnityEngine.Scripting.Preserve]
public class Lua_UnityEngine_ConfigurableJoint : LuaObject {
[SLua.MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
[UnityEngine.Scripting.Preser... |
Task_3_2/Tester.cs | pscompsci/SIT221_Library | 1 | 7029683 | using System;
using System.Collections.Generic;
namespace Task_3_2
{
public class AscendingIntComparer : IComparer<int>
{
public int Compare(int A, int B)
{
return A - B;
}
}
public class DescendingIntComparer : IComparer<int>
{
public ... |
HotelBookingSystem.WebAppMVC/Views/Clients/Index.cshtml | EzgiArslan/hotel-booking-system | 0 | 7029685 | @model IEnumerable<HotelBookingSystem.DAL.Models.Client>
@{
ViewData["Title"] = "Index";
}
@{
var data = ViewBag.Message;
}
<h2>@data</h2>
<p>
<a asp-action="Create">Create New</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.... |
code/src/GitHubAccessor/Internals/RepositoryReader.cs | akesseler/GitHubViewer | 1 | 7029686 | /*
* MIT License
*
* Copyright (c) 2019 plexdata.de
*
* 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, including without limitation the rights
* to use, copy, m... |
01_Challenge1Cafe/MenuItem.cs | LJRobertson/GoldBadgeChallenges1 | 0 | 7029687 | <reponame>LJRobertson/GoldBadgeChallenges1<filename>01_Challenge1Cafe/MenuItem.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _01_Challenge1Cafe
{
public class MenuItem
{
public int MealNumber { get; set; }
publi... |
Cognifide.PowerShell/Client/Controls/UserGallery.cs | alan-null/Console | 0 | 7029688 | <reponame>alan-null/Console
using System;
using System.Linq;
using Cognifide.PowerShell.Core.Host;
using Cognifide.PowerShell.Core.Settings;
using Sitecore;
using Sitecore.Collections;
using Sitecore.Data;
using Sitecore.Data.Managers;
using Sitecore.Diagnostics;
using Sitecore.Globalization;
using Sitecore.Resources;... |
Repository.Editor.Android/Internal/Editor/Highlighting/MonokaiColorTheme.cs | jamesqo/Repository | 3 | 7029689 | <reponame>jamesqo/Repository<gh_stars>1-10
using System;
using Android.Graphics;
using Repository.Editor.Android.Highlighting;
using Repository.Editor.Highlighting;
namespace Repository.Editor.Android.Internal.Editor.Highlighting
{
internal class MonokaiColorTheme : IColorTheme
{
public Color Backgrou... |
src/ResourceManager/Sql/Commands.Sql/Replication/Cmdlet/NewAzureSqlDatabaseSecondary.cs | muwaqar/azure-powershell | 0 | 7029690 | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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://ww... |
Assets/_Scripts/util/DestoryByTime.cs | formigaAzul/cvnES | 15 | 7029691 | using UnityEngine;
using System.Collections;
public class DestoryByTime : MonoBehaviour {
public float lingerTime = 0.5f;
// Use this for initialization
void Start () {
Destroy (gameObject, lingerTime);
}
}
|
src/BlueMilk/EmptyFamilyPolicy.cs | JasperFx/bluemilk | 52 | 7029692 | <filename>src/BlueMilk/EmptyFamilyPolicy.cs<gh_stars>10-100
using System;
using BlueMilk.IoC.Instances;
namespace BlueMilk
{
public class EmptyFamilyPolicy : IFamilyPolicy
{
public ServiceFamily Build(Type type, ServiceGraph serviceGraph)
{
if (!type.IsGenericTypeDefinition) return... |
src/FluentRestBuilder/Observables/AsyncSingleObservableIntegration.cs | kyubisation/FluentRest | 2 | 7029693 | <gh_stars>1-10
// <copyright file="AsyncSingleObservableIntegration.cs" company="Kyubisation">
// Copyright (c) Kyubisation. All rights reserved.
// </copyright>
// ReSharper disable once CheckNamespace
namespace FluentRestBuilder
{
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mv... |
src/Core/Definux.Emeraude.Application/Requests/Identity/Commands/RemoveExternalLoginProvider/RemoveExternalLoginProviderCommand.cs | Definux/Emeraude | 6 | 7029694 | using System;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Definux.Emeraude.Application.Identity;
using Definux.Emeraude.Application.Logger;
using Definux.Utilities.Objects;
using MediatR;
using Newtonsoft.Json;
namespace Definux.Emeraude.Application.Requests.Identity.Commands.Remove... |
samples/Corpo.Skeleton/tests/Corpo.Skeleton.PageTests/Config/PageTestConfig.cs | mirufx/miru | 1 | 7029695 | <gh_stars>1-10
using Corpo.Skeleton.Domain;
using Corpo.Skeleton.Tests.Config;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Miru.Core;
using Miru.PageTesting;
using Miru.PageTesting.Chrome;
using Miru.Testing;
using OpenQA.Selenium.Chrome;
namespace Corpo.Skeleton.PageTests... |
Rocky/Rocky/Views/Category/Index.cshtml | ivan-pesenti/mvc-tutorial-net5.0 | 0 | 7029696 | @* fully qualified the model name in order to prevent name collisions in larger applications *@
@model IEnumerable<Rocky.Models.Category>
<h1>Category List</h1>
<br />
<a href="#">Add New Category</a>
<br /><br />
@if (Model.Count() > 0)
{
<table class="table table-bordered table-striped" style="width:100%">
... |
src/Codex.Analysis/FileSystems/GitIgnore.cs | Ref12/Codex | 27 | 7029697 | <reponame>Ref12/Codex<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace Codex
{
public class GitIgnore
{
public readonly string InclusionPatter... |
Blocks/PolicyInjection/Tests/PolicyInjection/Configuration/CustomCallHandlerDataFixture.cs | milestonetg/EnterpriseLibrary6 | 0 | 7029698 | //===============================================================================
// Microsoft patterns & practices Enterprise Library
// Policy Injection Application Block
//===============================================================================
// Copyright © Microsoft Corporation. All rights reserved.
// T... |
WalletWasabi.Tests/UnitTests/BlockchainAnalysis/WalletIrrelevantAnonScoreTests.cs | kristapsk/WalletWasabi | 2 | 7029699 | <filename>WalletWasabi.Tests/UnitTests/BlockchainAnalysis/WalletIrrelevantAnonScoreTests.cs
using System;
using System.Collections.Generic;
using System.Text;
using WalletWasabi.Tests.Helpers;
using Xunit;
namespace WalletWasabi.Tests.UnitTests.BlockchainAnalysis
{
/// <summary>
/// In these tests no inputs, nor out... |
05. Object Oriented Programming/2018/2018.09.09/84/StandartEmpoyee.cs | dimitarminchev/ITCareer | 50 | 7029700 | <filename>05. Object Oriented Programming/2018/2018.09.09/84/StandartEmpoyee.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _84
{
public class StandartEmpoyee : BaseEmployee
{
public StandartEmpoyee(strin... |
LoggingHelpers/LoggingModels.cs | scanhamman/DataDownloader | 1 | 7029701 | using Dapper.Contrib.Extensions;
using System;
using System.Collections.Generic;
namespace DataDownloader
{
[Table("sf.source_parameters")]
public class Source
{
public int id { get; set; }
public int? preference_rating { get; set; }
public string database_name { get; set; }
... |
Exercise2/obj/Debug/AspnetCompileMerge/TempBuildDir/Views/Home/Index.cshtml | Xaniff/BlogCodeExercise | 0 | 7029702 | @{
ViewBag.Title = "Whit Waldo's Blog Platform";
}
<!DOCTYPE html>
<html lang="en-US" ng-app="blog">
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UI-Compatible" content="IE=edge;chrome=1"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="keywords" content=""/>
<... |
Common/CarInfoUpload.cs | FinchYang/study | 0 | 7029703 | using System;
namespace Common
{
public class CarInfoUploadRequest:BasisRequest
{
public string CAR_NUM { get; set; }
public string BRAND { get; set; }
public string MODEL_TYPE { get; set; }
public string VIN { get; set; }
public string PLATE_TYPE { get; set; }
... |
Assets/_Heathen Engineering/Toolbox/Framework/Components/Variable Sync Tools/TimeSync.cs | TH3UNKN0WN-1337/Heathen-System-Core | 0 | 7029704 | using HeathenEngineering.Scriptable;
using UnityEngine;
namespace HeathenEngineering.Tools
{
public class TimeSync : MonoBehaviour
{
public FloatReference deltaTime;
public FloatReference unscaledDeltaTime;
public FloatReference fixedDeltaTime;
public FloatReference fixedUnscal... |
TypeLite.Tests/RegressionTests/Issue103_GlobalizationTypes.cs | Oshryh/TypeLite | 2 | 7029705 | using System.Globalization;
using Xunit;
namespace TypeLite.Tests.RegressionTests
{
public class Issue103_GlobalizationTypes
{
[Fact]
public void GlobalizationTypesCreatedWhenNotUsed()
{
... |
Seymor/Seymour/Channels/Standard.cs | madeso/PrettyGood.net | 0 | 7029706 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Feed;
using PrettyGood.Util;
using System.Windows.Forms;
using System.IO;
using System.Xml;
using BrightIdeasSoftware;
namespace Seymour.Channels
{
public class Standard : Channel
{
public Standa... |
source/library/iTin.Export.Core/Model/Export/Table/Fields/Field/GapFieldModel.cs | iAJTin/iExportEngine | 40 | 7029707 | <gh_stars>10-100
namespace iTin.Export.Model
{
/// <inheritdoc />
/// <summary>
/// A Specialization of <see cref="T:iTin.Export.Model.BaseDataFieldModel" /> class.<br />
/// Represents an empty data field.
/// </summary>
/// <remarks>
/// <para>
/// Belongs to: <strong><c>Fields</c></... |
mission_board/splash_screen.cs | tpiscaglia/mission_board | 0 | 7029708 | <reponame>tpiscaglia/mission_board
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
using System.Drawing.Imaging;
namespace mission_boar... |
Assembly-CSharp/BrowseOptionsMenuState.cs | FreyaFreed/mordheim | 4 | 7029709 | <reponame>FreyaFreed/mordheim
using System;
using System.Collections.Generic;
public class BrowseOptionsMenuState : global::ICheapState
{
public BrowseOptionsMenuState(global::OptionsMenuState ctrlr)
{
this.controller = ctrlr;
this.options = new global::System.Collections.Generic.List<global::OptionsMenuState.S... |
src/02.data/02-Alabo.Data.Asset/Withdraws/Dtos/WithDrawApiInput.cs | tongxin3267/alabo | 0 | 7029710 | <reponame>tongxin3267/alabo
using Alabo.Domains.Enums;
using Alabo.Domains.Query.Dto;
using Alabo.Validations;
using Alabo.Web.Mvc.Attributes;
using System;
using System.ComponentModel.DataAnnotations;
using Alabo.Framework.Basic.AutoConfigs.Domain.Configs;
namespace Alabo.App.Asset.Withdraws.Dtos
{
/// <summary>... |
CoolapkUWP/Models/FeedModel.cs | tusiji233/Coolapk-UWP | 1 | 7029711 | using CoolapkUWP.Helpers;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
namespace CoolapkUWP.Models
{
[Flags]
internal enum FeedDisplayMode
{
normal = 0,
isFirstPageFeed = 0x01,
notShowDyhName = 0x02,
notShowMessageTitle = 0x04
}
inter... |
src/Vecc.Netduino.Drivers.Ili9341/Driver.cs | poundy/Vecc.Netmf.Drivers.Ili9341 | 9 | 7029712 | using System.Threading;
using Microsoft.SPOT.Hardware;
// using SecretLabs.NETMF.Hardware.Netduino;
//Poundy: changed to remove netduino dependencies
namespace Vecc.Netduino.Drivers.Ili9341
{
public partial class Driver
{
const byte lcdPortraitConfig = 8|0x40; //Change for reversed portrait letters i... |
Radius/Attributes/TunnelTypeAttribute.cs | Frederic-HEBERT/Radius.NET | 0 | 7029713 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Radius.Atributes;
using Radius.Enums;
namespace Radius
{
/// <summary>
/// http://tools.ietf.org/html/rfc2868
/// </summary>
public class TunnelTypeAttribute : RadiusAttribute
{
private con... |
Soluciones/7.EstructuraCompleta/OrdersApp/4.Domain/OrdersApp.Domain.Models/ConfigurationSettings.cs | acnagrellos/NetCoreDemo | 0 | 7029715 | namespace OrdersApp.Domain.Models
{
public class ConfigurationSettings
{
public ListSettings ListSettings { get; set; }
}
public class ListSettings
{
public int ItemsPerPage { get; set; }
}
}
|
Westwind.Utilities/Utilities/HttpUtils.cs | Snijderman/WestWindWebSurge | 2 | 7029716 | using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Text;
using System.Threading.Tasks;
namespace Westwind.Utilities
{
/// <summary>
/// Simple HTTP request helper to let you retrieve data from a Web
/// server and convert it to something useful.
/// </summa... |
ChanceToBeatSettings.Designer.cs | GenericMadScientist/LiveSplit.ChanceToBeat | 1 | 7029717 | namespace LiveSplit.ChanceToBeat
{
partial class ChanceToBeatSettings
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </... |
Application/EdFi.Ods.AdminApp.Management.Azure/AzureNameHelpers.cs | stephenfuqua/Ed-Fi-ODS-AdminApp | 3 | 7029718 | <reponame>stephenfuqua/Ed-Fi-ODS-AdminApp<gh_stars>1-10
// SPDX-License-Identifier: Apache-2.0
// Licensed to the Ed-Fi Alliance under one or more agreements.
// The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
// See the LICENSE and NOTICES files in the project root for more informa... |
main/sherlock-and-pairs/sherlock-and-pairs.cs | EliahKagan/old-practice-snapshot | 0 | 7029719 | <reponame>EliahKagan/old-practice-snapshot<gh_stars>0
using System.Collections.Generic;
using System.Linq;
using static System.Console;
internal static class Solution {
private static IEnumerable<int> ReadRecord()
=> ReadLine().Split(' ').Select(int.Parse);
private static Dictionary<T, long>
F... |
GroupOwnership/Drivers/ProfileGroupOwnershipPartDisplay.cs | infofromca/Etch.OrchardCore.UserProfiles | 4 | 7029720 | using Etch.OrchardCore.UserProfiles.GroupField.Models;
using Etch.OrchardCore.UserProfiles.Grouping.Services;
using Etch.OrchardCore.UserProfiles.GroupOwnership.Models;
using Etch.OrchardCore.UserProfiles.GroupOwnership.Services;
using Etch.OrchardCore.UserProfiles.GroupOwnership.ViewModels;
using Etch.OrchardCore.Use... |
sdk/compute/Microsoft.Azure.Management.Compute/src/Generated/Models/DiskSecurityProfile.cs | frank-pang-msft/azure-sdk-for-net | 3,268 | 7029721 | // <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... |
src/Demo/Material.Application/Routing/Default/ListRoute.cs | EdonGashi/WpfMaterialForms | 70 | 7029722 | using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Windows.Input;
using Material.Application.Views;
namespace Material.Application.Routing.Default
{
public class ListRoute : Route
{
private object selectedItem;
private string displayMemberPath;
public... |
src/xunit.v3.core/Sdk/v3/Runners/TestCaseRunner.cs | OctopusDeploy/xunit | 0 | 7029723 | using System.Threading;
using System.Threading.Tasks;
using Xunit.Internal;
using Xunit.Sdk;
namespace Xunit.v3
{
/// <summary>
/// A base class that provides default behavior when running test cases.
/// </summary>
/// <typeparam name="TTestCase">The type of the test case used by the test framework. Must
/// de... |
src/Couchbase/KeyValue/IMutateInResult.cs | seankison/couchbase-net-client | 0 | 7029724 | using Couchbase.Core.Compatibility;
#nullable enable
namespace Couchbase.KeyValue
{
/// <summary>
/// Result of a sub document MutateIn operation.
/// </summary>
public interface IMutateInResult : IMutationResult
{
/// <summary>
/// Gets the content of a mutation as the specified t... |
FutureSight/lib/MTGTarget.cs | kore52/FutureSight | 0 | 7029725 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO;
using System.Security.Cryptography;
namespace FutureSight.lib
{
public abstract class MTGTarget
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.