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 |
|---|---|---|---|---|
ResourceServer/src/Views/Home/Index.cshtml | fpommerening/OAuth2-Dotnet | 1 | 7038762 | <reponame>fpommerening/OAuth2-Dotnet<filename>ResourceServer/src/Views/Home/Index.cshtml
@model FP.OAuth.ResourceServer.Business.Dashboard;
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Dashboard</title>
</head>
<... |
LowDig/Program.cs | asankos/FindLowDigAccounts | 84 | 7038763 | <filename>LowDig/Program.cs
using System.Threading;
using System;
namespace LowDig
{
class Program
{
/// <summary>
/// Private variables
/// </summary>
private static Session mSession;
private static Config.Settings mSettings;
/// <summary>
/// Main fu... |
msbuild/Xamarin.MacDev.Tasks.Core/LinkTarget.cs | SotoiGhost/xamarin-macios | 2,441 | 7038764 | using System;
namespace Xamarin.MacDev.Tasks
{
[Flags]
enum LinkTarget {
Simulator = 1,
i386 = Simulator,
ArmV6 = 2,
ArmV7 = 4,
Thumb = 8,
ArmV7s = 16,
Arm64 = 32,
Simulator64 = 64,
x86_64 = Simulator64
}
}
|
server/DataContext/DataSeeding.cs | SonofNun15/graphql | 0 | 7038765 | using Server.Models;
namespace Server.DataContext;
public class DataSeeding
{
private readonly SocialContext _context;
public DataSeeding(SocialContext context)
{
_context = context;
}
public async Task Seed()
{
await _context.Database.EnsureCreatedAsync();
if (!_con... |
aspnet-core/src/MAPPhoneBook.EntityFrameworkCore/EntityFrameworkCore/MAPPhoneBookDbContextConfigurer.cs | IMLYQ/MAPPhoneBook | 0 | 7038766 | using System.Data.Common;
using Microsoft.EntityFrameworkCore;
namespace MAPPhoneBook.EntityFrameworkCore
{
public static class MAPPhoneBookDbContextConfigurer
{
public static void Configure(DbContextOptionsBuilder<MAPPhoneBookDbContext> builder, string connectionString)
{
builder.U... |
Engine/Items/ItemFactories/AmuletFactory.cs | kalllllor/GameC | 0 | 7038767 | <reponame>kalllllor/GameC
using System;
using System.Collections.Generic;
using Game.Engine.Items.Amulet;
using Game.Engine.Items.AmuletsAndPotions;
namespace Game.Engine.Items.ItemFactories
{
[Serializable]
class AmuletFactory : ItemFactory
{
public Item CreateItem()
{
List<It... |
test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/Transition/TSFade.cs | niraj-g/TizenFX | 0 | 7038768 | <filename>test/Tizen.NUI.Tests/Tizen.NUI.Devel.Tests/testcase/public/Transition/TSFade.cs<gh_stars>0
using global::System;
using NUnit.Framework;
using NUnit.Framework.TUnit;
using Tizen.NUI.Components;
using Tizen.NUI.BaseComponents;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Tizen.NUI... |
src/Passenger.Infrastructure/Commands/Driver/AddDriverRouteCommand.cs | gracjang/Passager | 1 | 7038769 | using System;
namespace Passenger.Infrastructure.Commands.Driver
{
public class AddDriverRouteCommand : AuthenticationCommandBase
{
public string Name { get; set; }
public double StartLatitude { get; set; }
public double StartLongitude { get; set; }
public double EndLatitude { g... |
Source/Properties/Resources.Designer.cs | TheUnknownNO/TruckersMP-Launcher | 15 | 7038770 | <filename>Source/Properties/Resources.Designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
/... |
src/RsdnCore/Community/Interaction/ForumStatus.cs | vborovikov/rsdn | 0 | 7038771 | <reponame>vborovikov/rsdn
namespace Rsdn.Community.Interaction
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
public class ForumStatus
{
public ForumStatus(int id, bool favorite,
DateTime? fetched, DateTime? visi... |
JoinRpg.Data.Write.Interfaces/IUnitOfWork.cs | FulcrumVlsM/joinrpg-net | 0 | 7038772 | <reponame>FulcrumVlsM/joinrpg-net
using System.Data.Entity;
using System.Threading.Tasks;
using JoinRpg.Data.Interfaces;
namespace JoinRpg.Data.Write.Interfaces
{
public interface IUnitOfWork
{
/// <summary>
///
/// </summary>
/// <remarks>
/// We must <see cref="DbSet{Entity}"/>, not <see cr... |
Source/FScruiser.Core/Models/LogHeightClass.cs | FMSC-Measurements/FScruiserV2 | 0 | 7038773 | <filename>Source/FScruiser.Core/Models/LogHeightClass.cs
using System;
using System.Collections.Generic;
namespace FSCruiser.Core.Models
{
public class LogHeightClass
{
public double Num16FtLogs { get; set; }
public float From { get; set; }
public float To { get; set; }
List<u... |
src/NUnit.TestAdapter.Tests.Acceptance/AcceptanceTests.cs | Dithn/nunit3-vs-adapter | 187 | 7038774 | <filename>src/NUnit.TestAdapter.Tests.Acceptance/AcceptanceTests.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using NUnit.Framework;
using NUnit.Framework.Interfaces;
using NUnit.VisualStudio.TestAdapter.Tests.Acceptance.WorkspaceTools;
namespace NUn... |
src/Phone/ArcGISRuntimeSDKDotNet_PhoneSamples/Samples/DynamicServiceLayers/DynamicRenderingCode.xaml.cs | boonyachengdu/arcgis-runtime-samples-dotnet | 1 | 7038775 | using Esri.ArcGISRuntime.Layers;
using Esri.ArcGISRuntime.Symbology;
using Microsoft.Phone.Controls;
using System.Collections.ObjectModel;
using System.Windows;
using System.Windows.Media;
using System.Linq;
namespace ArcGISRuntimeSDKDotNet_PhoneSamples.Samples
{
/// <summary>
///
/// </summary>
/// <category... |
Intuit.TSheets/Client/RequestFlow/PipelineElements/IPipelineElement.cs | sucrose0413/TSheets-V1-DotNET-SDK | 9 | 7038776 | <reponame>sucrose0413/TSheets-V1-DotNET-SDK<filename>Intuit.TSheets/Client/RequestFlow/PipelineElements/IPipelineElement.cs
// *******************************************************************************
// <copyright file="IPipelineElement.cs" company="Intuit">
// Copyright (c) 2019 Intuit
//
// Licensed under the... |
UA Project/Assets/UA Project/Scripts/MyInitializeOnLoad.cs | lPinchol/unity-attribute | 0 | 7038777 | /// MyInitializeOnLoad.cs Agosto 22/2016 MoonPincho
///
using UnityEngine;
using UnityEditor;
namespace MoonPincho
{
#if UNITY_5_4
[InitializeOnLoad]
public class MyInitializeOnLoad
{
static MyInitializeOnLoad()
{
Debug.Log("MyInitializeOnLoad - Winning!");
}
... |
Blocks/Utils/Vector3.cs | BlocksTeam/Blocks | 4 | 7038778 | <reponame>BlocksTeam/Blocks
/*
╔══╗─ ╔╗─── ╔═══╗ ╔═══╗ ╔╗╔═╗ ╔═══╗
║╔╗║─ ║║─── ║╔═╗║ ║╔═╗║ ║║║╔╝ ║╔═╗║
║╚╝╚╗ ║║─── ║║─║║ ║║─╚╝ ║╚╝╝─ ║╚══╗
║╔═╗║ ║║─╔╗ ║║─║║ ║║─╔╗ ║╔╗║─ ╚══╗║
║╚═╝║ ║╚═╝║ ║╚═╝║ ║╚═╝║ ║║║╚╗ ║╚═╝║
╚═... |
AniSharp/Types/Staff/StaffName.cs | MaximumOverflow/AniSharp | 0 | 7038779 | using CSGraphQL.GraphQL;
namespace AniSharp.Types.Staff
{
public class StaffName : GraphQlType
{
[TypeField] public string First { get; set; }
[TypeField] public string Last { get; set; }
[TypeField] public string Full { get; set; }
[TypeField] public string Native { get; set; }
[TypeField] public string[]... |
Assets/[Scripts]/Joystick.cs | neginsdii/GAME2014-A1-NeginSaeidi-p2 | 0 | 7038780 | /*
* Full Name : <NAME>
* Student ID : 101261395
* Date Modified : October 20, 2021
* File : Joystick.cs
* Description : This is the Joystick script - it controls the movement of the player
* Version : V02
* Revision History : Changed variable names, added comments
*/
u... |
src/RulesEngine/RuleCompiler.cs | yongliu-mdsol/RulesEngine | 1 | 7038781 | <reponame>yongliu-mdsol/RulesEngine<filename>src/RulesEngine/RuleCompiler.cs
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.Extensions.Logging;
using RulesEngine.HelperFunctions;
using RulesEngine.Models;
using System;
using System.Collections.Generic;
using System.Linq;
us... |
PlayFabBuddy.LoginScreen.SharedProject/ProfileScreen.cs | dmanning23/PlayFabBuddy.LoginScreen | 1 | 7038782 | <gh_stars>1-10
using FacebookLoginLib;
using FontBuddyLib;
using InputHelper;
using MenuBuddy;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using PlayFab;
using PlayFab.ClientModels;
using PlayFabBuddyLib.Auth;
using PlayFabBuddyLib.DisplayName;
using Re... |
ExifDataDisplay.cs | Dash-o-Salt/PhotoOrganizer | 1 | 7038783 | <reponame>Dash-o-Salt/PhotoOrganizer
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Windows.Media.Imaging;
using System.IO;
using System.Windows.Media;
namespace PhotoO... |
Common/Webi.Wechat.Web.Core/Areas/wiki/Views/apis/controller.cshtml | amwitx/Amw.Core | 0 | 7038784 | @model API.Wiki.Models.WikiControllerView
@{
ViewBag.Title = Model.Namespace + "/" + Model.Name;
Layout = "~/Areas/wiki/Views/Shared/_Layout.cshtml";
}
<ul class="api_manual">
<li><a href="/wiki/apis">回到首页</a></li>
<li><strong>使用说明:</strong></li>
<li>选择合适的接口。</li>
</ul>
<div class="api_container">
... |
libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/DialogManager.cs | rggammon/botbuilder-dotnet | 0 | 7038785 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Bot.Builder.Dialogs.Memory;
using Microsoft.Bot.Builder.Dialogs.Memory.Scopes;
using ... |
samples/Revit 2012 SDK/Samples/FrameBuilder/CS/DuplicateTypeForm.Designer.cs | chuongmep/revit | 20 | 7038786 | <filename>samples/Revit 2012 SDK/Samples/FrameBuilder/CS/DuplicateTypeForm.Designer.cs
//
// (C) Copyright 2003-2011 by Autodesk, Inc.
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright notice... |
Source/Xoqal.Tests/WebMvcTests/DataGridGeneratorTest.cs | AmirKarimi/Xoqal | 7 | 7038787 | <gh_stars>1-10
#region License
// DataGridGeneratorTest.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/LICENS... |
ConsoleTools/Progress/ConsoleProgressBar.cs | UltimateSeeSharp/aemarcoCommons | 6 | 7038788 | using System;
// ReSharper disable once CheckNamespace
namespace aemarcoCommons.ConsoleTools
{
public abstract class ConsoleProgressBar
{
public abstract void UpdateProgress(long done, long total);
private ConsoleColor _background = Console.BackgroundColor;
private ConsoleColor _foreg... |
unity-visualeffectgraph-builtin-main/Editor/GraphView/Views/Properties/ColorPropertyRM.cs | Reality-Hack-2022/TEAM-52 | 1 | 7038789 | #define USE_MY_COLOR_FIELD
using UnityEngine;
using UnityEngine.UIElements;
using FloatField = UnityEditor.VFX.UI.VFXLabeledField<UnityEditor.UIElements.FloatField, float>;
namespace UnityEditor.VFX.UI
{
class ColorPropertyRM : PropertyRM<Color>
{
VisualElement m_MainContainer;
public ColorPr... |
test/Dommel.Json.IntegrationTests/Databases/JsonSqlServerDatabaseDriver.cs | SH1N081/Dommel | 414 | 7038790 | <reponame>SH1N081/Dommel
using System.Threading.Tasks;
using Dapper;
using Dommel.IntegrationTests;
namespace Dommel.Json.IntegrationTests
{
public class JsonSqlServerDatabaseDriver : SqlServerDatabaseDriver
{
public override string DefaultDatabaseName => "dommeljsontests";
protected override... |
FashionGo/Models/Entities/Faq.cs | tuandq2711/WebApplicationFashion | 0 | 7038791 | namespace FashionGo.Models.Entities
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
public partial class Faq
{
public int Id { get; set; }
[... |
Source/MBN/TradeWars/Db/MenuItem.cs | TW2002/websites | 0 | 7038792 | <filename>Source/MBN/TradeWars/Db/MenuItem.cs
using System;
using System.Collections.Generic;
namespace TradeWars.Db
{
public partial class MenuItem
{
public int MenuItemId { get; set; }
public int? MenuId { get; set; }
public string? Topic { get; set; }
public string? Name { g... |
dosymep.Xpf.Core/Commands/XtraBaseCommand.cs | dosymep/dosymep.SimpleServices | 0 | 7038793 | <reponame>dosymep/dosymep.SimpleServices<filename>dosymep.Xpf.Core/Commands/XtraBaseCommand.cs
using System.Windows.Input;
namespace dosymep.Xpf.Core.Commands {
public abstract class XtraBaseCommand : DevExpress.Mvvm.CommandBase {
}
public abstract class XtraBaseCommand<T> : DevExpress.Mvvm.CommandB... |
JsonUnFlat.Tests/UnflatTests.cs | skuzminoff/JsonUnFlat | 0 | 7038794 | using FluentAssertions;
using Newtonsoft.Json.Linq;
using Xunit;
using Xunit.Abstractions;
namespace JsonUnFlat.Tests
{
public class UnflatTests
{
private readonly ITestOutputHelper _output;
public UnflatTests(ITestOutputHelper output)
{
_output = output;
}
... |
Data/db/Types.cs | iamquoz/rennes | 1 | 7038795 | // <auto-generated> This file has been auto generated by EF Core Power Tools. </auto-generated>
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace coursedb.Data.db
{
public partial class Types
{
public Types()
{
Orders = new HashSet<Orders>();
}
... |
src/main/net-core/Diff/Comparison.cs | bodewig/xmlunit.net | 60 | 7038796 | /*
This file is licensed to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
di... |
Assets/Scripts/Features/MVC/MCBundle.cs | Johnoss/weird-card-game | 3 | 7038797 | namespace Assets.Scripts.Features.MVC
{
public class MCBundle<TModel, TController>
where TModel : AbstractModel
where TController : AbstractController
{
private readonly TModel model;
public TModel Model => model;
private readonly TController controller;
public ... |
Official Windows Platform Sample/Windows 8.1 desktop samples/[C#]-Windows 8.1 desktop samples/Windows Server Essentials HostedEmail add-in samples/C#/ContosoMockEmailService/Resources.Designer.cs | zzgchina888/msdn-code-gallery-microsoft | 8 | 7038798 | <reponame>zzgchina888/msdn-code-gallery-microsoft<gh_stars>1-10
//
// <copyright file="Resources.Designer.cs" company="Microsoft">
// Copyright (C) Microsoft. All rights reserved.
// </copyright>
//
//------------------------------------------------------------------------------
// <auto-generated>
// ... |
Assets/Scripts/Skills&Attacks/Heal2.cs | XaviSmith/XavsRPGEngine | 3 | 7038799 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Heal2 : Heal {
public Heal2(string _attackStat, string _defenceStat, int _manaCost) : base(_attackStat, _defenceStat, _manaCost)
{
}
public new void Reset()
{
attackName = "Heal+";
modifier... |
C01_C#ProgrammingFundamentals-May-2021/P04_DataTypesAndVariables-Lab/P02_PoundsToDollars/StartUp.cs | Statev7/SoftUni-Java | 4 | 7038800 | <reponame>Statev7/SoftUni-Java
namespace P02_PoundsToDollars
{
using System;
public class StartUp
{
public static void Main()
{
const decimal ONE_POUND_TO_DOLLARS = 1.31m;
decimal pound = decimal.Parse(Console.ReadLine());
decimal result = pound * ONE_P... |
LNF.Impl/Mappings/Scheduler/ResourceStatusMap.cs | lurienanofab/lnf | 1 | 7038801 | <gh_stars>1-10
using FluentNHibernate.Mapping;
using LNF.Impl.Repository.Scheduler;
namespace LNF.Impl.Mappings.Scheduler
{
internal class ResourceStatusMap: ClassMap<ResourceStatus>
{
internal ResourceStatusMap()
{
Schema("sselScheduler.dbo");
Table("v_ResourceStatus")... |
Device/ITcpChannelConfiguration.cs | DirektChark/ModbusDirektConnect | 0 | 7038802 | <reponame>DirektChark/ModbusDirektConnect
namespace ModbusDirekt.Device
{
public interface ITcpChannelConfiguration
{
string Host { get; set; }
int SlaveId { get; set; }
}
} |
NWebDav/NWebDav.Server/Handlers/LockHandler.cs | yar229/WebDavMailRuCloud | 502 | 7038803 | using System;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using System.Xml.Linq;
using NWebDav.Server.Helpers;
using NWebDav.Server.Http;
using NWebDav.Server.Locking;
using NWebDav.Server.Stores;
namespace NWebDav.Server.Handlers
{
/// <summary>
/// Implementation of the LOCK ... |
Your New Favorite Poem/Pages/AddPoet.cshtml.cs | brminnick/Your-New-Favorite-Poem | 2 | 7038804 | <filename>Your New Favorite Poem/Pages/AddPoet.cshtml.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using Your_New_Favorite_Poem.Models;
namespace Your_New_Favorite_Poem.Pages
{
public cl... |
src/Umbraco.Core/Models/Property.cs | nul800sebastiaan/Umbraco-CMS | 3,375 | 7038805 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using Umbraco.Cms.Core.Collections;
using Umbraco.Cms.Core.Models.Entities;
using Umbraco.Extensions;
namespace Umbraco.Cms.Core.Models
{
/// <summary>
/// Represents a property.
... |
src/Chinchilla.Specifications/RequesterSpecification.cs | enrique-avalon/chinchilla | 1 | 7038806 | <reponame>enrique-avalon/chinchilla
using System;
using Chinchilla.Specifications.Messages;
using Machine.Fakes;
using Machine.Specifications;
namespace Chinchilla.Specifications
{
public class RequesterSpecification
{
[Subject(typeof(Requester<,>))]
public class when_handling_response_with_no... |
src/MotiNet.Extensions.Entities.EntityMarkers/IIdWiseEntity.cs | motix/MotiNet-Entities | 0 | 7038807 | <reponame>motix/MotiNet-Entities
using System;
namespace MotiNet.Entities
{
public interface IIdWiseEntity<TKey>
where TKey : IEquatable<TKey>
{
TKey Id { get; set; }
}
}
|
src/FEZSkillCounter/FEZSkillCounter/Common/NativeMethods.cs | saipan-fez/FEZSkillCounter | 2 | 7038808 | <filename>src/FEZSkillCounter/FEZSkillCounter/Common/NativeMethods.cs<gh_stars>1-10
using System.Runtime.InteropServices;
namespace FEZSkillCounter.Common
{
internal static class NativeMethods
{
[DllImport("Kernel32.dll")]
public static extern bool AttachConsole(int processId);
}
}
|
ProtobufInspector/Protobuf2Json.cs | BlueMatthew/ProtobufInspector | 27 | 7038809 | <filename>ProtobufInspector/Protobuf2Json.cs<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Runtime.InteropServices;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
using System.Xml;
using System.Net;
using Syst... |
Unity/Assets/EasyTouchBundle/EasyTouchControls/Examples/Version 1.X/Button-Event-Input/ButtonUIEvent.cs | ckyQwQ/CkySpaceGame | 495 | 7038810 | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class ButtonUIEvent : MonoBehaviour {
public Text downText;
public Text pressText;
public Text pressValueText;
public Text upText;
public void Down(){
downText.text="YES";
StartCoroutine( ClearText(downText));
}
public void Up(){... |
tests/TableTestsHelper.cs | jguadagno/JosephGuadagno.AzureHelpers.Cosmos | 1 | 7038811 | <reponame>jguadagno/JosephGuadagno.AzureHelpers.Cosmos
using System;
using System.Collections.Generic;
using System.Net;
using System.Net.NetworkInformation;
using JosephGuadagno.AzureHelpers.Cosmos.Tests.Models;
using Microsoft.Azure.Cosmos.Table;
namespace JosephGuadagno.AzureHelpers.Cosmos.Tests
{
public static... |
Migrations/20200607173509_ChangePKOfCRDTTable.cs | HeidiTran/Code-Spot | 1 | 7038812 | using Microsoft.EntityFrameworkCore.Migrations;
namespace CodeSpot.Migrations
{
public partial class ChangePKOfCRDTTable : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Rooms",
column... |
src/ImageSharp/ImageSharp/src/ImageSharp/PixelFormats/RgbaVector.PixelOperations.cs | KelsonBall/KoreUI | 8 | 7038813 | // <copyright file="RgbaVector.BulkOperations.cs" company="<NAME>">
// Copyright (c) <NAME> and contributors.
// Licensed under the Apache License, Version 2.0.
// </copyright>
namespace ImageSharp.PixelFormats
{
using System;
using System.Numerics;
using ImageSharp.Memory;
/// <content>
/// Pro... |
Code/DependencyInjection/Program.cs | daveteske/csharp-code | 0 | 7038814 | using System;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace DependencyInjection
{
class Program
{
static void Main(string[] args)
{
// register the DI services
var services = new ServiceCollection()
... |
ModelDesigner.ImportExport/ExportingStructures/Glossary.cs | BiancoRoyal/ASMD | 48 | 7038815 | using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Diagnostics;
using System.Xml.Schema;
using System.Xml.Serialization;
namespace CAS.UA.Model.Designer.ImportExport.ExportingStructures
{
/// <uwagi/>
[GeneratedCodeAttribute( "xsd", "2.0.50727.42" )]
[Serializabl... |
EmpowerBusiness/IW_Man_BankPrintChecks_Result.cs | HaloImageEngine/EmpowerClaim-hotfix-1.25.1 | 0 | 7038816 | //------------------------------------------------------------------------------
// <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.... |
Cabster.Test/Exceptions/WrongArgumentExceptionTest.cs | sergiocabral/App.Cabster | 1 | 7038818 | using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
using Cabrones.Test;
using Cabrones.Utils.Text;
using Cabster.Properties;
using FluentAssertions;
using Xunit;
namespace Cabster.Exceptions
{
public class WrongArgumentExceptionTest
{
[Fact]
public void ver... |
Assets/Scripts/PlayersJoined.cs | gualtyphone/GameJam3 | 0 | 7038819 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
using System.Linq;
[System.Serializable]
public class collectedDrinks
{
public collectedDrinks()
{
drinksObtained = new List<CollectibleType> ();
}
public List<Collectibl... |
Examples/SciChart.Examples/Examples/CreateRealtimeChart/EEGChannelsDemo/SciChartSurfaceEx.cs | jeremy7nelson/SciChart.Wpf.Examples | 0 | 7038820 | <gh_stars>0
using SciChart.Charting.Visuals;
using SciChart.Examples.ExternalDependencies.Helpers;
namespace SciChart.Examples.Examples.CreateRealtimeChart.EEGChannelsDemo
{
/// <summary>
/// Uses hardware acceleration for rendering by default, if supported.
/// </summary>
public class SciChartSurface... |
Pace.Common/Network/Packets/Client/TakeScreenshotResponsePacket.cs | x1234xx/pace | 59 | 7038821 | using System;
namespace Pace.Common.Network.Packets.Client
{
[Serializable]
public class TakeScreenshotResponsePacket : IPacket
{
public byte[] ImageData { get; set; }
public TakeScreenshotResponsePacket(byte[] imageData)
{
ImageData = imageData;
}
... |
src/ExcelDna.RibbonFluent/Impl/Control/EditBox.cs | zwq00000/AddinX.Ribbon | 2 | 7038822 | <gh_stars>1-10
using System;
using AddinX.Fluent.Impl.Command;
using ExcelDna.Fluent.Command;
using ExcelDna.Fluent.Control;
namespace AddinX.Fluent.Impl.Control {
public class EditBox : Control<IEditBox, IEditBoxCommand>, IEditBox {
public EditBox() : base("editBox") {
NoImage();
... |
Global.cs | nathanjwtx/Escape_The_Maze_CSharp | 0 | 7038823 | using Godot;
using System;
using System.Collections.Generic;
public class Global : Node
{
public List<string> Levels = new List<string>
{
"res://Levels/Level1/Level1.tscn",
"res://Levels/Level2/Level2.tscn",
"res://Levels/Level3/Level3.tscn",
"res://Levels/Level4/Level4.tscn"
... |
Chapter_03/src/Controllers/PersonController.cs | paule96/paule96.AzurePaasWorkshop | 0 | 7038824 | <filename>Chapter_03/src/Controllers/PersonController.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using src.Models;
namespace src.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class PersonC... |
ProjetoMecanico/frmRedefinirSenha.Designer.cs | MatheusMMonteiro/Mecanica | 0 | 7038825 | <gh_stars>0
namespace ProjetoMecanico
{
partial class frmRedefinirSenha
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// <... |
02. Algorithms-Advanced/08. Exam-Preparation/03. Exam-27-Feb-2021/Solution/01-PokemonGo/Program.cs | mikegsCoder/Algorithms-with-CSharp | 0 | 7038826 | using System;
using System.Collections.Generic;
namespace _01_PokemonGo
{
public class Street
{
public string Name { get; set; }
public int Length { get; set; }
public int Value { get; set; }
}
// Knapsack
public class Program
{
private static List<Street> st... |
src/Core/Core/Package.cs | edespong/licence-inspector | 1 | 7038827 | <reponame>edespong/licence-inspector
using Newtonsoft.Json;
using System;
using System.Diagnostics;
namespace LicenseInspector
{
public interface IPackage
{
string Id { get; }
string Version { get; }
}
public interface IPackageRange
{
string Id { get; }
string Vers... |
TestEnum.cs | aaay-aaay/EnumExtender | 3 | 7038828 | <gh_stars>1-10
public enum TestEnum
{
Rock,
Spear
}
public class TestBehaviour : UnityEngine.MonoBehaviour
{
public static void Test()
{
new UnityEngine.GameObject("testing").AddComponent<TestBehaviour>();
}
public void Start()
{
PastebinMachine.EnumExtender.EnumExtende... |
AbstractSyntaxTree/ASTDeclaration.cs | goric/cflat | 0 | 7038829 | <reponame>goric/cflat<filename>AbstractSyntaxTree/ASTDeclaration.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace AbstractSyntaxTree
{
public class ASTDeclaration : ASTNode
{
public ASTDeclaration() { }
public override void Visit (V... |
Assets/Scripts/GizmoSphere.cs | jasperarmstrong/LD39 | 0 | 7038830 | <reponame>jasperarmstrong/LD39
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GizmoSphere : MonoBehaviour {
[SerializeField] Color color = Color.white;
void OnDrawGizmos() {
Gizmos.color = color;
Gizmos.DrawSphere(transform.position, 0.1f);
}
}
|
IO/JOYP.cs | EliseZeroTwo/GB | 5 | 7038831 | using SDL2;
namespace GB.IO
{
public class JOYP
{
private bool UpPressed = false;
private bool DownPressed = false;
private bool LeftPressed = false;
private bool RightPressed = false;
private bool StartPressed = false;
private bool SelectPressed = false;
... |
src/Test/PptDump/Program.cs | datadiode/B2XTranslator | 0 | 7038832 | <reponame>datadiode/B2XTranslator
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using DIaLOGIKa.b2xtranslator.Tools;
using DIaLOGIKa.b2xtranslator.StructuredStorage.Reader;
using DIaLOGIKa.b2xtranslator.PptFileFormat;
using DIaLOGIKa.b2xtranslator.OfficeDrawing;
using DIaLO... |
src/FirLib.Core/Patterns/PropertiesContainer/IPropertiesContainer.cs | RolandKoenig/FirLib | 7 | 7038834 | <filename>src/FirLib.Core/Patterns/PropertiesContainer/IPropertiesContainer.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
namespace FirLib.Core.Patterns.PropertiesContainer
{
public interface IPropertiesContainer
{
IDictionary<string, PropertyValue> Properties { get; }
}
}
|
Syn.Speech/Results/LatticeOptimizer.cs | XandraAI/syn-speech | 65 | 7038835 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Diagnostics;
//REFACTORED
namespace Syn.Speech.Results
{
/// <summary>
/// Class used to collapse all equivalent paths in a Lattice. Results in a Lattices that is deterministic (no Node has
/// Edges to two or more equivalent No... |
XLGraphicsUI/Elements/XLPreset.cs | SqueegeeDino/Skater-XL-mods | 0 | 7038836 | <reponame>SqueegeeDino/Skater-XL-mods
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
namespace XLGraphicsUI.Elements
{
public class XLPreset : MonoBehaviour
{
public TMP_Text pres... |
MirrorLabs_HL2/Assets/MirrorLab/Scripts/GUI/RobotConfig.cs | fate4gle/MirrorLabs | 0 | 7038837 | /*
© TU Delft, 2020
Author: <NAME> (<EMAIL>)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
<http://www.apache.org/licenses/LICENSE-2.0>.
Unless required by applicable law or agreed to in writin... |
cleanco/CompanyCleaner.cs | youngcm2/cleanco | 0 | 7038838 | <reponame>youngcm2/cleanco
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Xml.Schema;
namespace cleanco
{
public class CompanyCleaner
{
private readonly string mOriginalName;
... |
Assets/Scripts/GUI/Menus/Options/MenuItems/DashSpeedSlider.cs | tahagabre/RagBall | 0 | 7038839 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.InputSystem;
using UnityEngine.UI;
public class DashSpeedSlider : HorizontalSlider
{
protected override void Increment(InputValue inputValue)
{
OptionsMenu.dashSpeed+=500;
}
protected override voi... |
Assets/Devdog/QuestSystemPro/Scripts/Integrations/LoveHate/Managers/ScriptableObjects/SettingsDatabase.cs | Casey-Hofland/Quest-System-Pro | 552 | 7038840 | #if INVENTORY_PRO
using Devdog.General;
using Devdog.QuestSystemPro.UI;
using UnityEngine;
namespace Devdog.QuestSystemPro
{
public partial class SettingsDatabase
{
[Category("Love/Hate Prefabs")]
[Header("Love/Hate Quest Prefabs")]
public RewardRowUI loveHateRewardRowUI;
[H... |
Assets/Packages/Voldakk/DragAndDrop/Sample/Scripts/Inventory.cs | Voldakk/Unity-FPS | 0 | 7038843 | <reponame>Voldakk/Unity-FPS<filename>Assets/Packages/Voldakk/DragAndDrop/Sample/Scripts/Inventory.cs
using UnityEngine;
using UnityEngine.EventSystems;
using System.Collections.Generic;
namespace Voldakk.DragAndDrop
{
public class Inventory : DragAndDropContainer
{
public GameObject itemPanelPrefab;
... |
CustomExtensions/ForStrings/SHA1Hash.cs | jcomtois/CustomExtensions | 1 | 7038844 | #region License and Terms
// CustomExtensions - Custom Extension Methods For C#
// Copyright (c) 2011 - 2012 <NAME>. 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 of the Li... |
src/Paket.Bootstrapper/ArgumentParser.cs | Slesa/Paket | 0 | 7038845 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.IO;
using System.Linq;
using System.Reflection;
namespace Paket.Bootstrapper
{
public static class ArgumentParser
{
public static class CommandArgs
{
public ... |
GCBM/tools/frmConvertELFtoDOL.cs | AxionDrak/GameCube-Backup-Manager | 0 | 7038846 | <filename>GCBM/tools/frmConvertELFtoDOL.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace GCBM.too... |
VS-Solution/PluginTodoist/TodoistModel/Language.cs | stuporfly/RainmeterTodoistPlugin | 3 | 7038847 | <reponame>stuporfly/RainmeterTodoistPlugin
namespace PluginTodoist.TodoistModel
{
/// <summary>
/// Represents a language type.
/// </summary>
/// <seealso cref="Todoist.Net.Models.StringEnum" />
public class Language : StringEnum
{
/// <summary>
/// Initializes a new instance o... |
PreactClient/Api.cs | imobile3/preact-dotnet | 0 | 7038848 | /*
* Copyright 2013 Preact / Preact.io
*
* Author(s):
* <NAME> / Preact (<EMAIL>)
* <NAME> / Preact (<EMAIL>)
*
* 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... |
Source/UnitTests/ManagedIrbis/Reports/CellCollectionTest.cs | fossabot/ManagedIrbis | 0 | 7038849 | <reponame>fossabot/ManagedIrbis
using System;
using System.IO;
using AM;
using AM.Runtime;
using JetBrains.Annotations;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ManagedIrbis.Reports;
namespace UnitTests.ManagedIrbis.Reports
{
[TestClass]
public class CellCollectionTest
: Common.Co... |
Welic.App/Welic.App/ViewModels/GaleryViewModel.cs | LHayate/Welic | 0 | 7038850 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using Welic.App.Models.Course;
using Welic.App.Models.Live;
using Welic.App.ViewModels.Base;
using Xamarin.Forms;
namespace Welic.App.ViewModel... |
MiguLibrary.Tests/MiguModelViewer/Animations/InterpolationType.cs | mrcloverthecoder/migu-engine-reimp | 0 | 7038851 | <filename>MiguLibrary.Tests/MiguModelViewer/Animations/InterpolationType.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MiguModelViewer.Animations
{
public enum InterpolationType
{
Static
}
}
|
DotNet/DotNet/09_Operator/10_OperatorRemainder/OperatorRemainder.cs | VisualAcademy/DotNet | 9 | 7038852 | <filename>DotNet/DotNet/09_Operator/10_OperatorRemainder/OperatorRemainder.cs
//[?] 나머지(%) 연산자
using System;
class OperatorRemainder
{
static void Main()
{
int i = 5;
int j = 3;
int k = i % j; // k = 5 % 3
Console.WriteLine(k); // 2
}
}
|
Zadania4/CRUDService/ObjectsManager.Interfaces/IReviewsRepository.cs | M1nified/SOA | 0 | 7038853 | <reponame>M1nified/SOA
using ObjectsManager.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ObjectsManager.Interfaces
{
public interface IReviewsRepository
{
List<Review> GetAll();
int Add(Review person);
... |
CDS.Core.Client.BusinessLayer/ORG/ORG_StatementPreference.cs | RetroRabbit/CDS-Core | 1 | 7038854 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CDS.Core.Client.BusinessLayer.ORG
{
public enum ORG_StatementPreference : byte
{
Print = 1,
Email = 2,
Ignore = 3
}
}
|
CryptoMessenger/CryptoMessenger/IWindowPanel.cs | pr3sto/CryptoMessenger | 0 | 7038855 | namespace CryptoMessenger
{
/// <summary>
/// Interface for views and views models
/// for switching panels
/// </summary>
interface IWindowPanel
{
}
}
|
code/HashLibrary.cs | Munter/semihkirdinli.github.io | 1 | 7038856 | using System;
using System.Text;
using System.Security.Cryptography;
namespace GU.Security.Cryptography
{
/// <summary>
/// Contains utility methods for easily calling Hashing algorithms.
/// </summary>
public sealed class HashLibrary
{
private HashLibrary()
{
}
/// <summary>
/// Returns an MD5 hash of... |
UserService.Main/UserService.Main/Interceptors/ApplicationInterceptor.cs | BergenIt/user-service | 3 | 7038857 | <reponame>BergenIt/user-service
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using DatabaseExtension.Translator;
using Google.Protobuf;
using Grpc.Core;
using Grpc.Core.Interceptors;
using Microsoft.Extensions.Primitives;
using Microsoft.N... |
sourceCode/compositewpf/V2/trunk/ChartControls/GeometryOperation.cs | andrewdbond/CompositeWPF | 0 | 7038858 | //===================================================================================
// Microsoft patterns & practices
// Composite Application Guidance for Windows Presentation Foundation and Silverlight
//===================================================================================
// Copyright (c) Microsoft C... |
DogNHome/DNHDL/Migrations/20210614220506_initial.Designer.cs | 210503-Reston-NET/Collection-P2 | 0 | 7038859 | <gh_stars>0
// <auto-generated />
using System;
using DNHDL;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
names... |
XpandPwsh/Cmdlets/src/XpandPwsh.Cmdlets/GitHub/GetGitHubIssueComment/Get-GitHubIssueComment.cs | apobekiaris/XpandPwsh | 0 | 7038860 | using System.Management.Automation;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using System.Threading.Tasks;
using Octokit;
using XpandPwsh.CmdLets;
namespace XpandPwsh.Cmdlets.GitHub.GetGitHubIssueComment{
[CmdletBinding]
[Cmdlet(VerbsCommon.Get, "GitHubIssueComment")]
public clas... |
SignalR/GroupManager.cs | robin-karlsson/SignalR | 2 | 7038861 | <filename>SignalR/GroupManager.cs
using System.Threading.Tasks;
using SignalR.Infrastructure;
namespace SignalR
{
/// <summary>
/// The default <see cref="IGroupManager"/> implementation.
/// </summary>
public class GroupManager : IGroupManager
{
private readonly IConnection _connection;
... |
Assets/Scripts/RichText/UGUI/UGUIGameObjectManager.cs | tkokof/SimpleRichText | 9 | 7038862 | <reponame>tkokof/SimpleRichText
// desc ugui rich text game object manager, simple object pool implementation
// maintainer hugoyu
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace RichText
{
public class UGUIGameObjectManager : SimpleSingleton<UGUIGameObjectMana... |
src/Meplato.Store2/IClient.cs | meplato/store2-dotnet-client | 0 | 7038863 | #region Copyright and terms of services
// Copyright (c) 2015 Meplato GmbH.
//
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
// in compliance with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// U... |
RomanticWeb/Linq/Model/Alias.cs | MakoLab/RomanticWeb | 16 | 7038864 | using System;
using System.Collections.Generic;
using NullGuard;
using RomanticWeb.Linq.Model.Navigators;
namespace RomanticWeb.Linq.Model
{
/// <summary>Expresses an alias in the query.</summary>
[QueryComponentNavigator(typeof(AliasNavigator))]
public class Alias : QueryComponent, IExpression, ... |
xUnitSandbox/OrderTests/OrderTestCollection.cs | HamidMosalla/xUnitPostsSamples | 1 | 7038865 | <filename>xUnitSandbox/OrderTests/OrderTestCollection.cs<gh_stars>1-10
using System.Collections.Generic;
using System.Linq;
using Xunit;
using Xunit.Abstractions;
namespace xUnitSandbox.OrderTests
{
public class OrderTestCollection : ITestCollectionOrderer
{
public IEnumerable<ITestCollection> OrderTe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.