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 |
|---|---|---|---|---|
src/Gelf.Extensions.Logging/LoggingBuilderExtensions.cs | michaellockwood/gelf-extensions-logging | 0 | 7032054 | #if NETSTANDARD2_0
using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace Gelf.Extensions.Logging
{
public static class LoggingBuilderExtensions
{
/// <summary>
/// Registers a <see cref="GelfLoggerProvider"/> with the service collection.
... |
Libraries/Slf/Ast/Ast/Expressions/FieldReferenceExpression.cs | AlexanderMorou/AbstractionProject | 0 | 7032055 | <filename>Libraries/Slf/Ast/Ast/Expressions/FieldReferenceExpression.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AllenCopeland.Abstraction.Slf.Abstract;
using AllenCopeland.Abstraction.Slf.Abstract.Members;
using AllenCopeland.Abstraction.Slf.Ast.Members;
/*--... |
Views/Customers/LoginFetcher.cshtml | ShahzaibAyyub/Bus-Booking-App-Auth-CRUD-ASP.NET-Core-MVC | 2 | 7032056 | <gh_stars>1-10
@model IEnumerable<finalDeliverable.Models.Customer>
@using Microsoft.AspNetCore.Http
@inject IHttpContextAccessor httpContextAccessor
@{
ViewData["Title"] = "LoginFetcher";
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-wi... |
src/Butter/Specification/DecimalField.cs | ahives/Butter | 0 | 7032057 | <gh_stars>0
namespace Butter.Specification
{
public interface DecimalField :
PrimitiveField
{
int Scale { get; }
int Precision { get; }
}
} |
Enterprise/Models/Profiles/Enums/EnumLanguage.cs | next-scale/ERPCore | 1 | 7032058 | <filename>Enterprise/Models/Profiles/Enums/EnumLanguage.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace ERPCore.Enterprise.Models.Profiles
{
public enum EnumLanguage
{
en = 0,
th = 1
}
}
|
src/MySQLManager/MySQLManager/Helpers/ConnectionCredentials.cs | Muhand/MySQLManager | 3 | 7032059 | using System;
using System.Collections.Generic;
using System.Text;
namespace MySQLManager.Helpers
{
public struct ConnectionCredentials
{
public string Server { get; set; }
public string Database { get; set; }
public string Username { get; set; }
public string Password { get; s... |
MeseMe.WPF/Settings/Settings.cs | AndreiLucaci/MeseMe | 0 | 7032060 | <reponame>AndreiLucaci/MeseMe<filename>MeseMe.WPF/Settings/Settings.cs<gh_stars>0
using System;
using System.Configuration;
using MeseMe.Contracts.Interfaces.Settings;
namespace MeseMe.WPF.Settings
{
public class Settings : ISettings
{
public bool UseUri { get; set; } = Convert.ToBoolean(ConfigurationManager.AppS... |
src/UWaterlooAPIDotNet/Models/Services/SiteService.cs | kade-robertson/UWaterlooAPIDotNet | 0 | 7032061 | <reponame>kade-robertson/UWaterlooAPIDotNet<filename>src/UWaterlooAPIDotNet/Models/Services/SiteService.cs
using Newtonsoft.Json;
using NodaTime;
using System;
using System.Collections.Generic;
using UWaterlooAPIDotNet.Converters;
using UWaterlooAPIDotNet.Models.FoodServices;
namespace UWaterlooAPIDotNet.Models.Servi... |
samples/RMQRequestReplyExamples/Greetings/Ports/Commands/GreetingReply.cs | damonsiusta/Brighter | 1,390 | 7032062 | <gh_stars>1000+
using Paramore.Brighter;
namespace Greetings.Ports.Commands
{
public class GreetingReply : Reply
{
public string Salutation { get; set; }
public GreetingReply() : base(new ReplyAddress())
{
}
public GreetingReply(ReplyAddre... |
Arrays-Exercises/Exercises-Arrays/07.Count of Capital Letters in Array/07.Count of Capital Letters in Array.cs | anedyalkov/CSharp-Programming-Fundamentals | 0 | 7032063 | <filename>Arrays-Exercises/Exercises-Arrays/07.Count of Capital Letters in Array/07.Count of Capital Letters in Array.cs
namespace _07.Count_of_Capital_Letters_in_Array
{
using System;
using System.Linq;
public class Program
{
public static void Main()
{
var words = Console... |
PublishingUtility/PublishingUtility/Dialog/TextInputForm.cs | OpenPSS/PublishingUtility | 0 | 7032064 | using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace PublishingUtility.Dialog
{
public class TextInputForm : Form
{
private IContainer components;
private TextBox textBox1;
private Label label1;
private Button buttonOK;
private Button buttonCancel;
p... |
FlubuCore.Azure/Tasks/Ad/AzureAdUserGetMemberGroupsTask.cs | flubu-core/FlubuCore.Azure | 1 | 7032065 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using FlubuCore.Context;
using FlubuCore.Tasks;
using FlubuCore.Tasks.Process;
namespace FlubuCore.Azure.Tasks.Ad
{
public partial class AzureAdUserGetMemberGroupsTask : ExternalProcessTaskBase<AzureAdUserGetMemberGroupsTask>
... |
src/checkcollision_player.cs | nilax97/zaxxon | 3 | 7032066 | <gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class checkcollision_player : MonoBehaviour
{
public GameObject explosion;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
voi... |
Presentation/Xms.Web/Areas/Customize/Views/Solution/CreateSolution.cshtml | ganqiyin/xms | 518 | 7032067 | @model Xms.Web.Customize.Models.CreateSolutionModel
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
<a data-toggle="collapse"
href="#collapseTwo">
<strong>@app.PrivilegeTree?.LastOrDefault().DisplayName</strong>
... |
Assets/Scripts/Sprite/OrangeSpriteAnimator.cs | fmoo/Orange | 5 | 7032068 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OrangeSpriteAnimator : MonoBehaviour {
public string animationName;
public bool active = true;
public OrangeSpriteDB sprites;
public SpriteRenderer spriteRenderer;
public UnityEngine.UI.Image image;
pub... |
Portfolio/Stack.cs | NormalUnicorn/DataStructures | 1 | 7032069 | using System;
using System.Collections.Generic;
using System.Text;
namespace Portfolio
{
class Stack
{
public Node headNode { get; set; }
public Node tailNode { get; set; }
public int stackLength { get; set; }
public int staticLen { get; set; }
public Stack()
... |
src/Dependencies.Viewer.Wpf/ApplicationSettings/SettingProvider.cs | iceman63/Dependencies.Viewer | 3 | 7032070 | <reponame>iceman63/Dependencies.Viewer<filename>src/Dependencies.Viewer.Wpf/ApplicationSettings/SettingProvider.cs
using System.Diagnostics.CodeAnalysis;
namespace Dependencies.Viewer.Wpf.ApplicationSettings;
[SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic", Justification = "Mask usage of appli... |
Python/Product/Profiling/Profiling/CompareReportsView.cs | Cellule/PTVS | 0 | 7032071 | <filename>Python/Product/Profiling/Profiling/CompareReportsView.cs
// Python Tools for Visual Studio
// Copyright(c) Microsoft Corporation
// All rights reserved.
//
// 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... |
src/Tizen.NUI/src/public/NUIFrameComponent.cs | p-czaja/TizenFX | 0 | 7032072 | <reponame>p-czaja/TizenFX
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using Tizen.Applications;
using Tizen.Applications.ComponentBased.Common;
using Tizen.NUI;
namespace Tizen.NUI
{
/// <summary>
/// The class for showing UI module
/// </summary>
///... |
tests/DotNetHelper-IO-Tests/IO/FolderObjectTests/Copy/CopyOperationTextFixture.cs | TheMofaDe/DotNetHelper-IO | 0 | 7032073 | using System.IO;
using System.Linq;
using DotNetHelper_IO;
using DotNetHelper_IO.Enum;
using NUnit.Framework;
namespace DotNetHelper.IO.Tests.IO.FolderObjectTests.Copy
{
[NonParallelizable]
public class CopyOperationTextFixture : BaseTest
{
public FolderObject TestFolder { get; }
public FolderObject NewTes... |
src/AngleSharp/Foundation/CreateDocumentOptions.cs | tbolon/AngleSharp | 293 | 7032074 | <reponame>tbolon/AngleSharp
namespace AngleSharp
{
using AngleSharp.Dom;
using AngleSharp.Extensions;
using AngleSharp.Html;
using AngleSharp.Network;
using System;
/// <summary>
/// Data transport class to abstract common options in document creation.
/// </summary>
public sealed ... |
Assets/Scripts/UI/UI/Mgr/UIMgr.cs | Tritend/ZombieWar | 2 | 7032075 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class UIMgr : Singleton<UIMgr>
{
private Dictionary<UIEnum, BaseUI> uis = null;
private Transform canvas = null;
public override void init()
{
uis = new Dictionary<UIEnum, BaseUI>();
}
... |
Core/Operators/Auxiliary/OrderOperator.cs | statisticspoland/VTL-Processing | 0 | 7032076 | <reponame>statisticspoland/VTL-Processing<filename>Core/Operators/Auxiliary/OrderOperator.cs<gh_stars>0
namespace StatisticsPoland.VtlProcessing.Core.Operators.Auxiliary
{
using StatisticsPoland.VtlProcessing.Core.Infrastructure.Attributes;
using StatisticsPoland.VtlProcessing.Core.Infrastructure.DependencyInj... |
src/Handlebars/IHandlebarsTemplate.cs | james-andrewsmith/handlebars-net | 15 | 7032077 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Handlebars
{
public interface IHandlebarsTemplate
{
string Render(string name, string json);
}
}
|
StyleCop.Analyzers/StyleCop.Analyzers.Test.CSharp8/SpacingRules/SA1013CSharp8UnitTests.cs | marcospgp/StyleCopAnalyzers | 0 | 7032079 | // Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Test.CSharp8.SpacingRules
{
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CS... |
CP/Standard/BasicGameFrameworkLibrary/SpecializedGameTypes/YahtzeeStyleHelpers/Logic/YahtzeeMove.cs | musictopia2/GamingPackXV3 | 0 | 7032080 | <reponame>musictopia2/GamingPackXV3
namespace BasicGameFrameworkLibrary.SpecializedGameTypes.YahtzeeStyleHelpers.Logic;
public class YahtzeeMove<D> : IYahtzeeMove, IMoveNM
where D : SimpleDice, new()
{
private readonly ScoreContainer _scoreContainer;
private readonly IScoreLogic _scoreLogic;
private re... |
TechTalk.SpecFlow/SpecFlowContext.cs | pathanzafar702/SpecFlow | 0 | 7032081 | using System;
using System.Collections.Generic;
namespace TechTalk.SpecFlow
{
public abstract class SpecFlowContext : Dictionary<string, object>, IDisposable
{
public Exception TestError { get; internal set; }
protected virtual void Dispose()
{
}
void IDis... |
samples/Myra.Samples.PlatformAgnostic/Platform/MGPlatform.cs | minimalism/Myra | 2 | 7032082 | using System;
using System.Drawing;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Myra.Graphics2D.UI;
using Myra.Platform;
namespace Myra.Samples.AllWidgets
{
internal class MGPlatform : IMyraPlatform
{
private readonly GraphicsDevice _device;
public Point ViewSize
{
g... |
Assets/Scripts/Body.cs | trippyogi/UnityAKBodyTracking | 1 | 7032083 | <filename>Assets/Scripts/Body.cs
using Microsoft.Azure.Kinect.BodyTracking;
using Microsoft.Azure.Kinect.Sensor;
// Class with relevant information about body
// bodyId and 2d and 3d points of all joints
public struct Body
{
public System.Numerics.Vector3[] JointPositions3D;
public System.Numerics.Quaternion[... |
DReporting.Web/ReportDatas/SqlDataProvider.cs | Ronglin-kooboo/DReportiing | 1 | 7032084 | <gh_stars>1-10
using DevExpress.DataAccess;
using DevExpress.DataAccess.ConnectionParameters;
using DevExpress.DataAccess.Sql;
using DReporting.Core;
using System.Collections.Specialized;
using System.ComponentModel.Composition;
namespace DReporting.Web.ReportDatas
{
[Export("Reporting.SqlDataProvider", typeof(ID... |
CLRCLI/Widgets/RadioButton.cs | jurek333/CLRCLI | 136 | 7032085 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace CLRCLI.Widgets
{
public class RadioButton : Widget, IFocusable
{
internal RadioButton() {
this.Clicked += OptionBox_Clic... |
tests/src/CoreMangLib/cti/system/io/path/pathispathrooted.cs | CyberSys/coreclr-mono | 1 | 7032086 | <reponame>CyberSys/coreclr-mono
using System.Security;
using System;
using System.IO;
using TestLibrary;
/// <summary>
/// System.IO.Path.IsPathRoot(string)
/// </summary>
public class PathGetPathRoot
{
public static int Main()
{
PathGetPathRoot pGetPathRoot = new PathGetPathRoot();
TestLibrar... |
BE/ClienteEmpresa.cs | carloseip/ApiEventos | 0 | 7032088 | <reponame>carloseip/ApiEventos<filename>BE/ClienteEmpresa.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace BE
{
public class ClienteEmpresa
{
public string RUC { get; set; }
public string RazonSocial { get; set; }
public string Direccion { get; set; }
... |
Altairis.ShirtShop.Web/ShopConfig.cs | ridercz/ShirtShop | 6 | 7032089 | <gh_stars>1-10
namespace Altairis.ShirtShop.Web {
public class ShopConfig {
public PaymentConfig Payment { get; set; }
public MailingConfig Mailing { get; set; }
public class PaymentConfig {
public string AccountNumber { get; set; }
public string VarSymbolFormat { get; set; }
... |
Client/Script/S3/Log/chooseLogBase.cs | frank12001/ENEOnline | 0 | 7032090 | using UnityEngine;
using System.Collections;
using TMPro;
public class chooseLogBase : MonoBehaviour {
//Set----
public void SetTopic(string topic)
{
TextMeshPro[] text = this.GetComponentsInChildren<TextMeshPro>();
/* string result = "";
int i = topic.Length / 20;
for(int ... |
src/Web/frmPessoal.aspx.cs | CesarRabelo/eGovernos.Corporativo | 0 | 7032091 | using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Drawing;
using System.Text;
using Negocio;... |
src/Core/Helpers/R.cs | Theadd/Modding.Humankind.DevTools | 0 | 7032092 | <reponame>Theadd/Modding.Humankind.DevTools
using System;
using System.Reflection;
namespace Modding.Humankind.DevTools.Core
{
public static partial class R
{
public static readonly BindingFlags PublicInstance = BindingFlags.Public | BindingFlags.Instance;
public static readonly BindingFlags N... |
ABC-Analyse-Tool/ABC-Analyse-Tool/Form1.cs | CoraxSkeptikos/Projekt_mit_Test | 0 | 7032093 | <filename>ABC-Analyse-Tool/ABC-Analyse-Tool/Form1.cs<gh_stars>0
using NUnit.Framework;
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 MySql.Data.M... |
FinalExams/FinalExam/01.FInalExam/Program.cs | georgievGV/lvl1 | 0 | 7032094 | <filename>FinalExams/FinalExam/01.FInalExam/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace _01.FInalExam
{
class Program
{
static void Main(string[] args)
{
string stops = Console.ReadLine();
string line = Console.ReadLine();
... |
tests/NHSD.GPIT.BuyingCatalogue.E2E.PublicBrowseTests/Areas/Admin/AddNewSolution/Interoperability/EditInteroperability.cs | nhs-digital-gp-it-futures/GPITBuyingCatalogue | 0 | 7032095 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.EntityFrameworkCore;
using NHSD.GPIT.BuyingCatalogue.E2ETests.Utils;
using NHSD.GPIT.BuyingCatalogue.E2ETests.Utils.TestBases;
using NHSD.GPIT.BuyingCatalogue.EntityFramework.Orderin... |
Preparation/Debugging/Examples/ValidationExample.cs | andrew-kulikov/preparation-70-483 | 0 | 7032096 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Common;
namespace Debugging.Examples
{
public class ValidationExample : Example
{
public ValidationExample() : base("Validation example", "3.1")
{
}
public override void Execute(... |
Submitter/Program.cs | cashto/icfp2016 | 0 | 7032097 | <reponame>cashto/icfp2016<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using System.IO;
using System.Diagnostics;
namespace Submitter
{
class SolutionResponseEntity
{
public bool ok { get; set; }
... |
src/Core2D.Core/ViewModels/Editor/Tools/Selection/PathSelection.cs | juliuming/my-core2d | 604 | 7032098 | #nullable enable
using Core2D.ViewModels.Containers;
using Core2D.ViewModels.Shapes;
using Core2D.ViewModels.Style;
namespace Core2D.ViewModels.Editor.Tools.Selection;
public partial class PathSelection
{
private readonly LayerContainerViewModel _layer;
private readonly PathShapeViewModel _path;
private ... |
Office.IO/Excel/ExcelReader.cs | bartelsk/Office.IO | 0 | 7032099 | <filename>Office.IO/Excel/ExcelReader.cs
using BartelsOnline.Office.IO.Excel.Models;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Spreadsheet;
using System;
using System.Collections.Generic;
using System.Linq;
namespace BartelsOnline.Office.IO.Excel
{
/// <summary>
/// This class contain... |
PostfixTemplates/Templates/CSharp/SelectExpressionTemplate.cs | controlflow/resharper-postfix | 77 | 7032100 | <gh_stars>10-100
using System.Linq;
using JetBrains.Annotations;
using JetBrains.ReSharper.PostfixTemplates.CodeCompletion;
using JetBrains.ReSharper.PostfixTemplates.Contexts.CSharp;
using JetBrains.ReSharper.PostfixTemplates.LookupItems;
using JetBrains.ReSharper.Psi.CSharp;
using JetBrains.ReSharper.Psi.CSharp.Tree;... |
DaybarWPF/DayBar.Tests/Tests/CalendarTests.cs | jakkaj/DayBar | 0 | 7032101 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Autofac;
using DayBar.Contract.Service;
using DayBar.Tests.Glue;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Office365Api.Helpers;
using Office365Api.Helpers... |
Netch/Utils/ShareLink.cs | ColdThunder11/Netch | 6 | 7032102 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Web;
using Netch.Models;
using Netch.Models.SS;
using Newtonsoft.Json;
namespace Netch.Utils
{
public static class ShareLink
{
/// <summary>
/// URL 传输安全的 Base64 ... |
PizzaBox.Storing/PizzaBoxContext.cs | nleach2013/PizzaBox-Complete | 0 | 7032103 | using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using PizzaBox.Domain.Abstracts;
using PizzaBox.Domain.Models;
using PizzaBox.Domain.Models.Pizzas;
using PizzaBox.Domain.Models.Stores;
namespace PizzaBox.Storing
{
/// <summary>
///
/// </summary>
public class PizzaBoxContext : D... |
aspnet-core/src/AYCCorporate.Application/Corporate/Dto/EmailNotificationsDto.cs | ZhakulIhnaac/WebProjesi1 | 0 | 7032104 | using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Domain.Entity;
using System;
using System.ComponentModel.DataAnnotations;
namespace Domain.Dto
{
[AutoMap(typeof(EmailNotifications))]
public class EmailNotificationsDto : FullAuditedEntityDto<Guid>
{
[Required]
[MaxLength(64)]... |
MetinGo/MetinGo.Server/Migrations/20180527214037_NewInitial.cs | krzychuwr1/metin-go | 0 | 7032105 | <gh_stars>0
using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace MetinGo.Server.Migrations
{
public partial class NewInitial : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTab... |
src/Cassette.RequireJS/PlainScript.cs | viniciusvillas/cassette | 123 | 7032108 | <reponame>viniciusvillas/cassette
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Cassette.Utilities;
using Microsoft.Ajax.Utilities;
namespace Cassette.RequireJS
{
class PlainScript : Module, IAssetTransformer
{
readonly IModuleInitializer modules;... |
EWSEditor/Forms/ToolsForms/SystemNetMainForm.Designer.cs | gautamsi/EwsEditor-FromDseph | 0 | 7032109 | namespace EWSEditor.Forms
{
partial class SystemNetMainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
Agoda.Frameworks.LoadBalancing/AgodaWeightManipulationStrategy.cs | pH200/net-loadbalancing | 23 | 7032110 | <reponame>pH200/net-loadbalancing<filename>Agoda.Frameworks.LoadBalancing/AgodaWeightManipulationStrategy.cs
using System;
namespace Agoda.Frameworks.LoadBalancing
{
public class AgodaWeightManipulationStrategy : IWeightManipulationStrategy
{
private readonly IWeightManipulationStrategy _strategy = ne... |
DNN Platform/Modules/DigitalAssets/Components/ExtensionPoint/PropertiesTabContentControl.cs | pmsereno/Dnn.Platform | 0 | 7032111 | //
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
using System;
using DotNetNuke.Entities.Modules;
namespace DotNetNuke.Modules.DigitalAssets.Components.ExtensionPoint
{
public class PropertiesTabCo... |
Assets/Samples/EventSystem/FirstManagedClickDetector.cs | filipbober/UnityFcbUtils | 0 | 7032112 | <filename>Assets/Samples/EventSystem/FirstManagedClickDetector.cs
using System;
using UnityEngine;
using UnityEngine.EventSystems;
namespace Samples.EventSystem
{
public class FirstManagedClickDetector : MonoBehaviour, IPointerClickHandler
{
public void OnPointerClick(PointerEventData eventData)
... |
Application/Reporting/ReportTemplates/ReportElementTemplate.cs | bartoszkp/dotrl | 5 | 7032113 | <filename>Application/Reporting/ReportTemplates/ReportElementTemplate.cs
using System;
using System.Linq;
using Application.Reporting.DataAccumulators;
using Core;
using Core.Parameters;
namespace Application.Reporting.ReportTemplates
{
public class ReportElementTemplate
{
public static Repo... |
Assets/Wwise/Editor/WwiseWindows/TreeViewControl/TreeViewItem.cs | ZLTM/Pobozo | 4 | 7032114 | <filename>Assets/Wwise/Editor/WwiseWindows/TreeViewControl/TreeViewItem.cs
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
[Serializable]
public class TreeViewItem
{
public string Header = string.Empty;
public bool IsDraggable = false;
public bool IsExpanded = false;
... |
HueRotaryKnobSetupTool/HueRotaryKnobSetupTool/MainView.cs | rmmlr/HueRotaryKnob | 0 | 7032115 | using Q42.HueApi.Models.Bridge;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Rca.HrkSetupTool
{
public partial class MainView : Form
... |
Assets/Scripts/CameraController.cs | yesmancan/learn-animals | 2 | 7032116 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraController : MonoBehaviour
{
public Transform target;
public Vector3 offset;
public float zoomSpeed = 4f;
public float minZoom = 5f;
public float maxZoom = 15f;
public float pitch = 2f;
pub... |
SIL.Core/Data/MemoryDataMapper.cs | mccarthyrb/libpalaso | 1 | 7032117 | <filename>SIL.Core/Data/MemoryDataMapper.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Diagnostics;
namespace SIL.Data
{
public class MemoryDataMapper<T>: IDataMapper<T> where T : class, new()
{
protected readonly Dictionary<RepositoryId, T> idToObjectHashtable =
new Dictionary<... |
csharp/bypstest-ser/src-ser/byps/test/api/remote/BStub_RemoteServerCtrl.cs | teberhardt/byps | 4 | 7032118 | <filename>csharp/bypstest-ser/src-ser/byps/test/api/remote/BStub_RemoteServerCtrl.cs
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using byps;
namespace byps.test.api.remote
{
public class BStub_RemoteServerCtrl : BStub, RemoteServerCtrl, BSerializable {
public readonly static... |
TemporalWars 3D Engine/Dev/XNA_RTS2008/Terrain/Structs/TriggerAreaStructToSave.cs | TemporalWars/TWEngine | 0 | 7032119 | #region File Description
//-----------------------------------------------------------------------------
// TriggerAreaStructToSave.cs
//
// <NAME> - XNA Community Game Platform
// Copyright (C) Image-Nexus, LLC. All rights reserved.
//-----------------------------------------------------------------------------... |
KailashEngine/World/Model/MaterialManager.cs | Yohanus/MuffinEngine | 0 | 7032120 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MuffinEngine.Render.Objects;
namespace MuffinEngine.World.Model
{
class MaterialManager
{
private UniformBuffer _ubo_bindless;
public UniformBuffer ubo_bindless
{... |
src/Opdex.Platform.Infrastructure.Abstractions/Clients/CirrusFullNodeApi/Models/Transactions/TransactionLogEventDto.cs | Opdex/opdex-v1-api | 7 | 7032121 | namespace Opdex.Platform.Infrastructure.Abstractions.Clients.CirrusFullNodeApi.Models.Transactions;
public class TransactionLogEventDto
{
public string Event { get; set; }
public object Data { get; set; }
} |
src/DocumentFormat.OpenXml/Framework/ChildElementInfoAttribute.cs | 929496959/Open-XML-SDK | 2,667 | 7032122 | // 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.ComponentModel;
namespace DocumentFormat.OpenXml
{
/// <summary>
/// Defines the attribute which is used to decorate a class for ty... |
Server.Dme/Program.cs | Joey743/deadlocked-server | 0 | 7032123 | <gh_stars>0
using DotNetty.Common.Internal.Logging;
using Microsoft.Extensions.Logging.Console;
using Newtonsoft.Json;
using NReco.Logging.File;
using Org.BouncyCastle.Math;
using RT.Cryptography;
using RT.Models;
using Server.Common;
using Server.Common.Logging;
using Server.Dme.Config;
using Server.Plugins... |
ZenForms.Forms/BorderlessForm.Designer.cs | LeftofZen/ZenForms | 0 | 7032124 | <filename>ZenForms.Forms/BorderlessForm.Designer.cs
using System.Drawing;
using System.Windows.Forms;
namespace ZenForms.Forms
{
partial class BorderlessForm
{
/// <summary>
/// Required designer variable.
/// </summary>
System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any... |
src/UnityExplorer-4.3.5/src/UI/Widgets/TransformTree/CachedTransform.cs | tinyunknowndeveloper/WeeTanksMod | 0 | 7032125 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace UnityExplorer.UI.Widgets
{
public class CachedTransform
{
public TransformTree Tree { get; }
public Transform Value { get; private set; }
public int InstanceID { get; priv... |
Algo/Candles/Compression/ConvertableCandleBuilderSource.cs | Sajaki/StockSharp | 1 | 7032126 | <filename>Algo/Candles/Compression/ConvertableCandleBuilderSource.cs
#region S# License
/******************************************************************************************
NOTICE!!! This program and source code is owned and licensed by
StockSharp, LLC, www.stocksharp.com
Viewing or use of this code requires yo... |
Android/Scissors/samples/ScissorsSample/SampleApp.cs | SaViGnAnO/XamarinComponents | 1 | 7032127 | using System;
using Android.App;
using Android.OS;
using Android.Runtime;
[assembly: UsesPermission (Android.Manifest.Permission.ReadExternalStorage)]
[assembly: UsesPermission (Android.Manifest.Permission.WriteExternalStorage)]
namespace ScissorsSample
{
[Application (Theme = "@style/Theme.Scissors")]
public clas... |
Bandwidth.Iris.Tests/Models/Old/DiscNumberTest.cs | Real-Magic/csharp-bandwidth-iris | 0 | 7032128 | using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using Bandwidth.Iris.Model;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Bandwidth.Iris.Tests.Models
{
[TestClass]
public class DiscNumberTests
{
[TestInitialize]
public void Setup()
{
... |
osu.Game/Screens/Edit/Timing/ControlPointSettings.cs | ItayLast/osu | 2 | 7032130 | // Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Collections.Generic;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
... |
Src/WorkoutWotch.UnitTests/Models/Actions/WaitActionFixture.cs | reactiveui-forks/WorkoutWotch | 0 | 7032131 | <reponame>reactiveui-forks/WorkoutWotch<filename>Src/WorkoutWotch.UnitTests/Models/Actions/WaitActionFixture.cs
namespace WorkoutWotch.UnitTests.Models.Actions
{
using System;
using System.Linq;
using System.Reactive;
using System.Reactive.Linq;
using System.Threading;
using System.Threading.Ta... |
Examples/domain_01/Entitys/Album.cs | 2881099/FreeSql.DbContex | 47 | 7032132 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace domain_01.Entitys
{
/// <summary>
/// 专辑
/// </summary>
public class Album
{
public Guid Id { get; set; }
public string Name { get; set; }
public virtual ICollection<Song> Songs { get; set; }
... |
EC_Repuetos_v2/Views/Login/Login.cshtml | JordyRG21/EC_REPUESTOS_V2 | 0 | 7032133 | <gh_stars>0
@model EC_Repuetos_v2.Models.EC_USUARIOS
@{
ViewBag.Title = "Login";
Layout = null;
}
@Styles.Render("~/Content/EstiloLogin.css")
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Login</title>
</head>
<body>
<div class="row">
<div cl... |
src/Views/ForgotPassword/ForgotPassword.cshtml | rodoch/Schematic.Core.Razor | 1 | 7032135 | @using Schematic.Core
@model ForgotPasswordViewModel
@inject IViewLocalizer L
@if (Model.SendReminderSuccess)
{
<p>@L["Thank you. We have sent you an e-mail. Follow the link provided to reset your password."]</p>
}
else
{
<form class="sign-in-form" slot="form" asp-controller="Authentication" asp-action="Forgot... |
src/WatchKit/iOS/WKAccessibilityImageRegion.cs | SotoiGhost/xamarin-macios | 0 | 7032136 | #if __IOS__ && !NET
using System;
using System.ComponentModel;
using System.Runtime.Versioning;
using CoreGraphics;
using Foundation;
using ObjCRuntime;
namespace WatchKit {
[Register ("WKAccessibilityImageRegion", SkipRegistration = true)]
[Unavailable (PlatformName.iOS, PlatformArchitecture.All)]
[Obsolete (Cons... |
Generators/EmptyCollectionGenerator.cs | grzesiek-galezowski/tdd-toolkit | 12 | 7032137 | using System;
using System.Collections.Generic;
using System.Reflection;
using AutoFixture;
namespace TddEbook.TddToolkit.Generators
{
public class EmptyCollectionGenerator
{
private readonly Fixture _emptyCollectionGenerator;
private readonly GenericMethodProxyCalls _genericMethodProxyCalls;
public E... |
src/DND.IDP/SigningKey.cs | davidikin45/DigitalNomadDaveAspNetCore | 0 | 7032138 | using DND.IDP.Cryptography;
using Microsoft.IdentityModel.Tokens;
using System.Security.Cryptography.X509Certificates;
namespace DND.IDP
{
public static class SigningKey
{
public static RsaSecurityKey LoadPrivateRsaSigningKey(string privateKeyPath)
{
var rsaParameters = AsymmetricE... |
AJ.DuplexService/Information/MessageManager.cs | ajdotnet/duplex-sample | 0 | 7032139 | <filename>AJ.DuplexService/Information/MessageManager.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using AJ.DuplexService.Subscriptions;
using static AJ.DuplexService.Common.ConsoleHelper;
namespace AJ.DuplexService.Information
{
/// <summary>Singleton class that maintains rec... |
Example/Program.cs | jjtoscano/HttpCore | 4 | 7032140 | <filename>Example/Program.cs
using System;
using System.Threading.Tasks;
using Example.Twitter;
using Example.Twitter.Entities;
using HttpCore.Entities;
namespace Example
{
class Program
{
private const string CONSUMER_KEY = "A";
private const string SECRET_KEY = "A";
static void Mai... |
src/LinFx.Extensions.EntityFrameworkCore.Sqlite/Microsoft/EntityFrameworkCore/SqliteModelBuilderExtensions.cs | linfx/linfx | 0 | 7032141 | <reponame>linfx/linfx
using LinFx.Extensions.EntityFrameworkCore;
namespace Microsoft.EntityFrameworkCore;
public static class SqliteModelBuilderExtensions
{
public static void UseSqlite(
this ModelBuilder modelBuilder)
{
modelBuilder.SetDatabaseProvider(EfDatabaseProvider.Sqlite);
}
}
|
archive/Changesets/mbf/Tests/Bio.TestAutomation/BioUtil/ArgumentParser/ArgumentCollectionBvtTestCases.cs | jdm7dv/Microsoft-Biology-Foundation | 0 | 7032142 | <reponame>jdm7dv/Microsoft-Biology-Foundation
using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Bio.Util.ArgumentParser;
using System.Collections.ObjectModel;
using Bio.Util.Logging;
using System.IO;
using Bio;
using System.T... |
WebUI/Areas/Services/Views/WxPayment/MicroPay.cshtml | erikzhouxin/CSharpSolution | 1 | 7032144 |
@{
ViewBag.Title = "微信支付样例-刷卡支付";
}
<form id="queryForm" class="form-horizontal" action="@Url.Action("MicroPayPage")">
<div class="form-group">
<label for="total_fee" class="control-label col-sm-5 col-md-3">商品描述:</label>
<div class="col-sm-5">
<input type="text" id="body" name="bod... |
FunctionApp1/Function3.cs | vickswat/Azure | 0 | 7032146 | <reponame>vickswat/Azure
using System.IO;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Host;
namespace FunctionApp1
{
public static class Function3
{
[FunctionName("Function3")]
public static void Run([BlobTrigger("images/{name}", Connection = "DefaultEndpointsProtocol=https;Acc... |
MVC/ASP.NET-DDS-master/Source/Web/DDS.Web/Controllers/AccountController.cs | Steffkn/ASP.NET | 0 | 7032147 | namespace DDS.Web.Controllers
{
using System;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
using System.Web.Mvc;
using Common;
using DDS.Data.Models;
using DDS.Web.ViewModels.Account;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
... |
schedulync/SnapClass.cs | copelandlanier/schedulync | 0 | 7032148 | <reponame>copelandlanier/schedulync<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Calendar_NEW
{
partial class Day_Control
{
public int RoundEr(int i)
{
return ((int)Math.Round(i / 20.0)) *... |
Source/Renderer/Input/MouseButtonEventArgs.cs | PeiQi2/OpenGlobe | 233 | 7032149 | <gh_stars>100-1000
#region License
//
// (C) Copyright 2010 <NAME>, <NAME>, and <NAME>
//
// Distributed under the MIT License.
// See License.txt or http://www.opensource.org/licenses/mit-license.php.
//
#endregion
using System;
using System.Drawing;
namespace OpenGlobe.Renderer
{
public class Mou... |
Shop.Web/Models/Food/FoodListingModel.cs | bugdaryan/ShoppingCart | 53 | 7032150 | <filename>Shop.Web/Models/Food/FoodListingModel.cs
using Shop.Web.Models.Category;
using System.Globalization;
namespace Shop.Web.Models.Food
{
public class FoodListingModel
{
public int Id { get; set; }
public string Name { get; set; }
public decimal Price { get; set; }
public... |
EF6/SSW.DataOnion/sample/SSW.DataOnion.Sample.Data/Configurations/AddressConfigurations.cs | SSWConsulting/SSW.DataOnion2 | 11 | 7032151 | <reponame>SSWConsulting/SSW.DataOnion2<gh_stars>10-100
using System.Data.Entity.ModelConfiguration;
using SSW.DataOnion.Sample.Entities;
namespace SSW.DataOnion.Sample.Data.Configurations
{
public class AddressConfigurations : EntityTypeConfiguration<Address>
{
public AddressConfigurations()
... |
Assets/_Project/Scripts/UI/GameOverWindowSO.cs | wdmatthews/medieval-roguelike | 0 | 7032152 | <reponame>wdmatthews/medieval-roguelike<filename>Assets/_Project/Scripts/UI/GameOverWindowSO.cs
using UnityEngine;
namespace MedievalRoguelike.UI
{
[CreateAssetMenu(fileName = "Game Over Window", menuName = "Medieval Roguelike/UI/Game Over Window")]
public class GameOverWindowSO : ScriptableObject
{
... |
src/libraries/Common/src/Interop/Linux/OpenLdap/Interop.Ldap.cs | belav/runtime | 0 | 7032153 | <reponame>belav/runtime
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Runtime.InteropServices;
using System.DirectoryServices.Protocols;
namespace System.DirectoryServices.Protocols
{
/// <summary... |
iothub/device/src/IotHubScopeConnectionPool.cs | kfbehar/azure-iot-sdk-csharp | 1 | 7032154 | <reponame>kfbehar/azure-iot-sdk-csharp
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Azure.Devices.Client
{
using System;
using System.Threading;
sealed class IotHubScopeConnection... |
sources/Interop/Windows/DirectX/other/d3dx12/D3D12_SUBRESOURCE_FOOTPRINT.Manual.cs | JeremyKuhne/terrafx.interop.windows | 0 | 7032155 | <filename>sources/Interop/Windows/DirectX/other/d3dx12/D3D12_SUBRESOURCE_FOOTPRINT.Manual.cs<gh_stars>0
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from d3dx12.h in DirectX-Graphics-Samples commit a7a87f1853b5540f109205... |
src/Infrastructure/Extensions/TabularModelExtensions.cs | hanaseleb/Bravo | 67 | 7032156 | namespace Sqlbi.Bravo.Infrastructure.Extensions
{
using Microsoft.AnalysisServices;
using Sqlbi.Bravo.Infrastructure.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using TOM = Microsoft.AnalysisServices.Tabular;
internal static class ModelOperationResultExtensi... |
src/Commands/Utilities/CopyMover.cs | sguitardude/powershell | 275 | 7032157 | <filename>src/Commands/Utilities/CopyMover.cs
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text.Json;
using System.Threading.Tasks;
using PnP.PowerShell.Commands.Model;
using System.Linq;
using Microsoft.SharePoint.Client;
namespace PnP.PowerShell.Commands.Utilities
{
interna... |
Editor/ShaderKeywordStrings.cs | isuzu-shiranui/IsuzuToonShaderURP | 3 | 7032158 |
// ReSharper disable InconsistentNaming
// ReSharper disable IdentifierTypo
namespace IsuzuToonShaderURP.Editor
{
internal static class ShaderKeywordStrings
{
public const string _ALPHATEST_ON = "_ALPHATEST_ON";
public const string _EMISSION = "_EMISSION";
p... |
AudicaMod/src/Main.cs | MeepsKitten/AudicaMineSoundDisabler | 0 | 7032159 | using System;
using System.Collections.Generic;
using Harmony;
using Hmx.Audio;
using MelonLoader;
using UnityEngine;
namespace AudicaModding
{
public class AudicaMod : MelonMod
{
public static class BuildInfo
{
public const string Name = "MineSoundDisabler"; // Name of the Mod. (... |
GigHub/Views/Account/Register.cshtml | gspolima/GigHub | 0 | 7032160 | <gh_stars>0
@model GigHub.ViewModels.Account.RegisterViewModel
@{
ViewBag.Title = "Register";
}
<h2>@ViewBag.Title.</h2>
@using (Html.BeginForm("Register", "Account"))
{
@Html.AntiForgeryToken()
<div class="form-group">
@Html.LabelFor(m => m.Name, new { @class = "control-label" })
@Html.T... |
src/Tests/Abp.Tests/Configuration/SettingManager_Tests.cs | Steffe1971/aspnetboilerplate | 1 | 7032161 | <reponame>Steffe1971/aspnetboilerplate
using System.Collections.Generic;
using System.Linq;
using Abp.Configuration;
using NSubstitute;
using Shouldly;
using Xunit;
namespace Abp.Tests.Configuration
{
public class SettingManager_Tests : TestBaseWithLocalIocManager
{
private const string MyAppLevelSett... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.