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/Basic.MEF/Implementations/Engine.cs | waqaskhan540/csharp-experiments | 0 | 7042662 | using Basic.MEF.Interfaces;
using System;
using System.Collections.Generic;
using System.Composition;
using System.Text;
namespace Basic.MEF.Implementations
{
[Export(typeof(IEngine))]
public class Engine : IEngine
{
public void Start()
{
Console.WriteLine("Engine Started.... |
MessageQueueReceiver/MQReceiver.cs | M-Yankov/AppHarbor | 0 | 7042663 | <gh_stars>0
namespace MessageQueueReceiver
{
using System;
using System.Threading;
using CloudServices.Common;
using IronMQ;
using IronMQ.Data;
public class MQReceiver
{
public static void Main()
{
var client = new Client(GlobalConstatns.ProjectID, GlobalConstat... |
Assets/RGBArithmeticScript.cs | Danny7007/rgb-arithmetic | 0 | 7042664 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Linq;
using UnityEngine;
using Random = UnityEngine.Random;
public class RGBArithmeticScript : MonoBehaviour
{
public KMAudio Audio;
public KMBombModule module;
public KMSelectable[... |
Tulpep.PayULibrary/Models/Response/Response_RecurringPayments/Subscription/Creation/NewCard/Response_Subscription_Creation_NewCard_Customer.cs | Tulpep/PayU | 6 | 7042665 | using System.Collections.Generic;
namespace Tulpep.PayULibrary.Models.Response.Response_RecurringPayments.Subscription.Creation.NewCard
{
public class Response_Subscription_Creation_NewCard_Customer
{
public string id { get; set; }
public string fullName { get; set; }
public st... |
Unity/Assets/Scripts/Client/UI/View/Review/ReviewBinder.cs | Noname-Studio/ET | 0 | 7042666 | /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
using FairyGUI;
namespace UI.Story.Review
{
public class ReviewBinder
{
[UnityEngine.RuntimeInitializeOnLoadMethod(UnityEngine.RuntimeInitializeLoadType.BeforeSceneLoad)]
public static void BindAll()
... |
mcs/class/System.Web/System.Web.Configuration_2.0/AuthorizationRule.cs | DavidKarlas/mono | 469 | 7042667 | <gh_stars>100-1000
//
// System.Web.Configuration.AuthorizationRule
//
// Authors:
// <NAME> (<EMAIL>)
//
// (C) 2005 Novell, Inc (http://www.novell.com)
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to ... |
DAT_Unpacker/Main.Designer.cs | NetoRpg/LegendOfLegaia_DAT_Unpacker | 1 | 7042668 | <reponame>NetoRpg/LegendOfLegaia_DAT_Unpacker<gh_stars>1-10
namespace DAT_Unpacker
{
partial class DUP
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resou... |
Saxx.LingoHubClient/Models/Resource.cs | eRecruiter/Saxx.LingoHubClient | 0 | 7042669 | using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
namespace Saxx.LingoHubClient.Models
{
public class Resource
{
public string Name { get; set; }
[JsonProperty("project_locale")]
public string Locale { get; set; }
public IEnumerable<Lin... |
Aufgabe2/Spiess.cs | JohannHoepfner/BWINF-39-Runde-2 | 0 | 7042670 | <reponame>JohannHoepfner/BWINF-39-Runde-2
using System.Collections.Generic;
namespace Spiesse
{
class Spiess
{
public List<Schale> ent_Schalen = new List<Schale>();
public List<Frucht> ent_Früchte = new List<Frucht>();
}
}
|
SQLiteQueryBuilder/Attributes/ForeignKeyAttribute.cs | diegorafael/sqlitequerybuilder | 5 | 7042671 | <gh_stars>1-10
using System;
namespace SQLiteQueryBuilder.Attributes
{
[AttributeUsage(AttributeTargets.Property)]
public class ForeignKeyAttribute : Attribute
{
public ForeignKeyAttribute(Type foreignType)
{
ForeignType = foreignType;
}
public Type... |
source/Glimpse.AspNet/Model/EnvironmentFrameworkModel.cs | uQr/Glimpse | 1 | 7042672 | namespace Glimpse.AspNet.Model
{
public class EnvironmentFrameworkModel
{
public string DotnetFramework { get; set; }
public bool Debugging { get; set; }
public string ServerCulture { get; set; }
public string CurrentTrustLevel { get; set; }
}
} |
BoutiqueDAL/Infrastructure/Implementations/Services/Clothes/Validate/ClothesTypeDatabaseValidateService.cs | rubilnik4/VeraBoutique | 0 | 7042673 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using BoutiqueCommon.Models.Domain.Interfaces.Clothes.ClothesTypeDomains;
using BoutiqueDAL.Infrastructure.Implementations.Database.Errors;
using BoutiqueDAL.Infrastructure.Implementations.Services.Base;
using BoutiqueDAL.... |
src/Melville.MVVM.Wpf/MouseDragging/Drop/DropInfo.cs | JohnN6TSM/Melville | 0 | 7042674 | using System;
using System.Linq;
using System.Windows;
using Melville.MVVM.Wpf.MouseDragging.Adorners;
using Melville.MVVM.Wpf.VisualTreeLocations;
namespace Melville.MVVM.Wpf.MouseDragging.Drop;
public interface IDropInfo
{
IDataObject Item { get; }
Point GetTargetLocation();
Point GetRelativeTargetLocation()... |
src/APIV2/Objects/CashTag.cs | PowerShellModules/Twitter | 12 | 7042675 | namespace BluebirdPS.APIV2.Objects
{
public class CashTag : BaseEntity
{
public string Tag { get; set; }
public CashTag() { }
public CashTag(dynamic input)
{
Start = input.start;
End = input.end;
Tag = input.tag;
OriginalObject = inpu... |
4. Application Insights/HOL.A/resultado/ContosoUniversity/Common/DelayExtension.cs | pedrotoledoluis/Azure | 0 | 7042676 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Web;
namespace ContosoUniversity.Common
{
public static class DelayExtension
{
public static void DelayCall(this object obj)
{
Trace.TraceWarning("Esto ... |
Gibbed.MassEffect2.FileFormats/Save/TextureParameter.cs | Yggge/MassEffect2SaveEdit_v1.0.9.3 | 0 | 7042677 | using System;
using System.ComponentModel;
namespace Gibbed.MassEffect2.FileFormats.Save
{
[TypeConverter(typeof(ExpandableObjectConverter))]
public partial class TextureParameter : IUnrealSerializable
{
[UnrealFieldOffset(0x00)]
[UnrealFieldDisplayName("Name")]
public string Name;... |
LowLevelControls/Natives/LLKHF.cs | j3soon/LowLevelControls | 3 | 7042678 | <gh_stars>1-10
namespace LowLevelControls.Natives
{
public enum LLKHF : uint
{
EXTENDED = 0x01,
LOWER_IL_INJECTED = 0x02,
INJECTED = 0x10,
ALTDOWN = 0x20,
UP = 0x80
}
}
|
src/Agents.Net.Designer.Serialization/Agents/JsonFileSynchronizer.cs | agents-net/agents.net.designer | 0 | 7042679 | #region Copyright
// Copyright (c) <NAME> and contributors
// This file is licensed under MIT
#endregion
using System.IO;
using System.Text;
using Agents.Net.Designer.FileSystem.Messages;
using Agents.Net.Designer.Model.Messages;
using Agents.Net.Designer.Serialization.Messages;
namespace Agents.Net.Desi... |
LaserCutterTools/Default.aspx.designer.cs | MrSim17/LaserCutterTools | 0 | 7042680 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... |
src/Uno.UI.RuntimeTests/Tests/Windows_Storage/Given_StorageFile_Native.android.cs | olirobert/uno | 5,973 | 7042681 | #nullable enable
using System.Threading.Tasks;
using AndroidX.DocumentFile.Provider;
using Java.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Windows.Storage;
namespace Uno.UI.RuntimeTests.Tests.Windows_Storage
{
[TestClass]
public class Given_StorageFile_Native : Given_StorageFile_Native_Base
{
... |
Src/UnitTests/CoravelUnitTests/Queuing/QueueBroadcastTests.cs | rodion-m/coravel | 2,107 | 7042682 | <filename>Src/UnitTests/CoravelUnitTests/Queuing/QueueBroadcastTests.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Coravel;
using Coravel.Events;
using Coravel.Events.Interfaces;
using Coravel.Queuing;
using Coravel.Queuing.Broadcast;
using Microsoft.Extension... |
EchoRenderer/src/Textures/Grid/CropGrid.cs | MMXXX-VIII/EchoRenderer | 4 | 7042683 | using System.Runtime.Intrinsics;
using CodeHelpers.Diagnostics;
using CodeHelpers.Mathematics;
namespace EchoRenderer.Textures.Grid
{
public class CropGrid : TextureGrid
{
/// <summary>
/// Creates the rectangular cropped reference of <paramref name="source"/>.
/// <paramref name="min"/> is inclusive and <par... |
DOTNETCORE/Security/ASP.NET_Identity/Security/Controllers/ApplicationUsersController.cs | marlandolaud/presentations | 349 | 7042684 | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.As... |
StackRoomEditor/ShelfInfoWindow.xaml.cs | jasonliaocn/dp2 | 95 | 7042685 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
... |
Stellaria.cs | evonzee/Stellaria | 19 | 7042686 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Reflection;
using System.Threading;
using MaxMind;
using OTAPI;
using Terraria;
using Terraria.Localization;
using TerrariaApi.Server;
using TShockAPI;
namespace Chireiden.Stell... |
DalSic/generated/PnUsuario.cs | saludnqn/Empadronamiento | 0 | 7042687 | <reponame>saludnqn/Empadronamiento
using System;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Data.Common;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Xml;
using System.Xml.Serialization;
using S... |
SpaceShooter/SpaceShooterGame.cs | BurkusCat/flotilla-non-terminal-adventures | 0 | 7042688 | <gh_stars>0
#region File Description
//-----------------------------------------------------------------------------
// Microsoft XNA Community Game Platform
// Copyright (C) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------------
#endregion
#region U... |
src/SFA.DAS.Reservations.Web/Services/SessionStorageService.cs | uk-gov-mirror/SkillsFundingAgency.das-reservations | 1 | 7042689 | <filename>src/SFA.DAS.Reservations.Web/Services/SessionStorageService.cs
using System;
using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;
using SFA.DAS.Reservations.Domain.Interfaces;
namespace SFA.DAS.Reservations.Web.Services
{
public class SessionStorageService<T> : ISessionStorageService<T>
{
... |
Programming-Fundamentals/07. Arrays-Lists-Stacks-Queues/05. LongestIncreasingSequence/LongestIncreasingSequence.cs | sevdalin/Software-University-SoftUni | 0 | 7042690 | using System;
using System.Collections.Generic;
using System.Linq;
class LongestIncreasingSequence
{
static void Main()
{
int[] numbers = Console.ReadLine().Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries).Select(int.Parse).ToArray();
List<int> sequencesForPrint = new List<int>();
... |
src/Microsoft.IIS.Administration.WebServer.DefaultDocuments/Configuration/DefaultDocumentElement.cs | kant/IIS.Administration | 125 | 7042691 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.IIS.Administration.WebServer.DefaultDocuments
{
using Web.Administration;
public sealed class File : ConfigurationElement {
... |
src/Framework.InMemory/InMemoryEventBus.cs | sibearia/cleanic | 0 | 7042692 | namespace Cleanic.Framework
{
using Cleanic.Core;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
public class InMemoryEventBus
{
public InMemoryEventBus(ILogger logger)
{
_logger = logger ?? thro... |
test/Microsoft.Dnx.Tooling.FunctionalTests/DnuRuntimeRestoreTests.cs | ultr0n-coder/dnx | 798 | 7042694 | <reponame>ultr0n-coder/dnx<filename>test/Microsoft.Dnx.Tooling.FunctionalTests/DnuRuntimeRestoreTests.cs
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;... |
G2/Class02 - Controllers/Code/SEDC.LibraryApp/SEDC.LibraryApp/Controllers/BookController.cs | sedc-codecademy/skwd9-net-08-aspnetmvc | 1 | 7042695 | using Microsoft.AspNetCore.Mvc;
using SEDC.LibraryApp.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SEDC.LibraryApp.Controllers
{
//[Route("Kniga/[Action]")]
public class BookController : Controller
{
[HttpGet] //default http met... |
pubsub_unity/Assets/SuperMaxim/Plugins/Logging/ILoggerConfig.cs | supermax/pubsub.github.io | 28 | 7042696 | using System;
namespace SuperMaxim.Logging
{
public interface ILoggerConfig
{
string Name { get; set; }
LogTarget Target { get; set; }
bool IsEnabled { get; set; }
TimeSpan MessageTimeSpan { get; set; }
}
} |
Koszyk/Views/Produkt/szczegoly.cshtml | miloszkulesza/Koszyk | 0 | 7042697 | <reponame>miloszkulesza/Koszyk<gh_stars>0
@model Koszyk.Models.Produkt;
@{
ViewData["Title"] = "Szczegóły";
}
<div class="row">
<div class="col">
<h1>Koszyk <small>@ViewBag.Title</small></h1>
<hr />
</div>
</div>
<div class="row">
<div class="col-xs-12 col-md-6">
<img src="@Mod... |
Code/DataStructures/DataStructures/Heaps/HeapBase.cs | francisco-chavez/Code-Library | 1 | 7042698 | <filename>Code/DataStructures/DataStructures/Heaps/HeapBase.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Unvi.DataStructures.Heaps
{
public abstract class HeapBase<T>
: IHeap<T> where T : IComparable<T>
{
#region A... |
BestPracticesAndArchitecture/BusTicketSystem.Data/BusTicketsSystemContext.cs | LuGeorgiev/SoftUniDBAdvanced | 0 | 7042699 | using BusTicketsSystem.Models;
using Microsoft.EntityFrameworkCore;
using BusTicketsSystem.Data.Config;
using System.Linq;
namespace BusTicketsSystem.Data
{
public class BusTicketsSystemContext:DbContext
{
public BusTicketsSystemContext()
{
}
public BusTicketsS... |
block game/PrintableMovableBarrier.cs | uzairrj/Block-Game | 0 | 7042700 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace block_game
{
public enum orintation { left = 0, right, top, down };
class PrintableMovableBarrier:PrintableMovableShape
{
private orintation orientation;
public Pr... |
Assets/Scripts/PlayerMovement.cs | phillserrazina/Squid-Game-Tutorial | 1 | 7042701 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMovement : CharacterMovement
{
private void Update()
{
verticalDirection = Input.GetAxis("Vertical");
verticalDirection = Mathf.Clamp(verticalDirection, 0, 1);
sprintValue = Input.GetAxis... |
MvcBootStrap_clone/Views/Employees/IndexBootstrap.cshtml | Tzuhaochen/First_MVC_Commit | 0 | 7042702 | @model IEnumerable<MvcBootStrap_clone.Models.Employee>
@{
ViewBag.Title = "IndexBootstrap";
}
<!--
<style type="text/css">
/*設定Table欄位標題顏色*/
th {
color: white;
background-color: black;
text-align: center;
}
/*設定Table資料列Hover時的光棒效果*/
.table > tbody > tr:hover {
... |
src/MyCompany.InscricoesContexto.Dominio/Turmas/Turma.cs | stisociety/dominio-rico-sample | 0 | 7042703 | <filename>src/MyCompany.InscricoesContexto.Dominio/Turmas/Turma.cs
using System.Collections.Generic;
using System.Linq;
using CSharpFunctionalExtensions;
using MyCompany.Inscricoes.Shared;
using MyCompany.InscricoesContexto.Dominio.SeedWork;
namespace MyCompany.InscricoesContexto.Dominio.Turmas
{
public sealed cl... |
ThScoreFileConverter/Models/Th08/CollectRateReplacer.cs | fossabot/ThScoreFileConverter | 0 | 7042704 | //-----------------------------------------------------------------------
// <copyright file="CollectRateReplacer.cs" company="None">
// Copyright (c) <NAME>.
// Licensed under the BSD-2-Clause license. See LICENSE.txt file in the project root for full license information.
// </copyright>
//---------------------------... |
game-xadrez-console/tabuleiro/Tabuleiro.cs | Solo47/Projects_CSharp_MVC | 0 | 7042705 | <filename>game-xadrez-console/tabuleiro/Tabuleiro.cs
namespace tabuleiro
{
class Tabuleiro
{
public int linhas { get; set; } // criando linhas do tabuleiro.
public int colunas { get; set; } // criando colunas do tabuleiro.
private Peca[,] pecas; // criando matriz de pecas e colunas.
... |
Parme.Frb.GluePlugin/EmitterLogicMapperGenerator.cs | KallDrexx/PaRME | 8 | 7042706 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Parme.Frb.GluePlugin
{
public class EmitterLogicMapperGenerator
{
private readonly List<string> _emitterLogicTypes = new();
public void AddEmitterLogicTypeName(string name)
{
... |
Tests/ForumSystem.Web.Tests/Routes/Admin/CategoriesAdminControllerTests.cs | vasildimov98/web-project | 0 | 7042707 | namespace ForumSystem.Web.Tests.Routes.Admin
{
using ForumSystem.Web.Areas.Administration.Controllers;
using MyTested.AspNetCore.Mvc;
using Xunit;
public class CategoriesAdminControllerTests
{
[Fact]
public void GetIndexShouldBeRoutedCorrectly()
=> MyRouting
... |
Scripts/Events/EventRespondersComponent.cs | Tzajof/Unity-Events-Editor | 0 | 7042708 | <filename>Scripts/Events/EventRespondersComponent.cs
using UnityEngine;
using UnityEditor;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
/// <summary>
/// The Event Responders component acts as storage for any event
/// responders on an object. It is also used to e... |
Extensions/RhinoCommon IFC/IFC A RhinoCommon.cs | sridharbaldava/GeometryGymIFC | 127 | 7042709 | // MIT License
// Copyright (c) 2016 Geometry Gym Pty Ltd
// 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, modi... |
src/Batch/Client/Src/Common/Enumerations/CertificateState.cs | dnelly/azure-sdk-for-net | 0 | 7042710 | <filename>src/Batch/Client/Src/Common/Enumerations/CertificateState.cs
//
// Copyright (c) Microsoft and contributors. 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 License... |
Encapsulamento/AmigoProximo.cs | filipe0li/CursoCSharp | 0 | 7042711 | <reponame>filipe0li/CursoCSharp<filename>Encapsulamento/AmigoProximo.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Encapsulamento
{
public class AmigoProximo // Não recebe Heraça.
{
// Como não ha Herança de SubCelebridade é necessário instanciar (referênciar) SubCele... |
test/Kudu.Client.FunctionalTests/MiniCluster/KuduBinaryLocator.cs | s2shape/kudu-client-net | 0 | 7042712 | <gh_stars>0
using System;
using System.Diagnostics;
using System.IO;
namespace Kudu.Client.FunctionalTests.MiniCluster
{
public static class KuduBinaryLocator
{
public static string FindBinaryLocation()
{
// If the `kudu` binary is found on the PATH using `which kudu`, use its pare... |
RobloxApiTool/Program.cs | kittenz/CSharp.RBLX | 0 | 7042714 | <gh_stars>0
using System;
using System.IO;
using System.Diagnostics;
using System.Text.Json;
using System.Collections.Generic;
namespace RobloxApiTool {
class Program {
static string FindStudioExecutable() {
string appDataFolder = Environment.GetEnvironmentVariable("LOCALAPPDATA");
if (appDataFolder != null... |
src/Algorithms/QuickSort/QuickSort.cs | verloka/Algorithms | 0 | 7042715 | namespace QuickSort
{
public static class QuickSort
{
public static void Swap(ref int a, ref int b)
{
int temp = a;
a = b;
b = temp;
}
public static void Sort(ref int[] arr, int l, int r)
{
if (l >= r)
retu... |
PrivateSquareWeb/Controllers/User/HeaderPartialController.cs | amitjind/nearbycart | 0 | 7042716 | <reponame>amitjind/nearbycart<filename>PrivateSquareWeb/Controllers/User/HeaderPartialController.cs<gh_stars>0
using PrivateSquareWeb.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace PrivateSquareWeb.Controllers
{
public class HeaderParti... |
Assets/Scripts/StartOption.cs | joemagiv/SpookyHouse | 0 | 7042717 | using UnityEngine;
using System.Collections;
public class StartOption : MonoBehaviour {
public bool gameStarted;
public GameObject ghostSpawnGroup;
private EnemyHealth enemyHealth;
private MeshRenderer meshRender;
private CapsuleCollider capsuleCollider;
private ResetOption resetOption;
private Player pl... |
DBLinqProvider/Data/OracleClient/OracleClient/OracleQueryProvider.cs | tuoxieyz/fashionDRP | 2 | 7042718 | <filename>DBLinqProvider/Data/OracleClient/OracleClient/OracleQueryProvider.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.Common;
using DBLinqProvider;
using DBLinqProvider.Data.Common;
using DBLinqProvider.Data.OracleCore;
namespace DBLi... |
mscorlib/system/security/accesscontrol/privilegenotheldexception.cs | cnork/referencesource | 911 | 7042719 | using Microsoft.Win32;
using System;
using System.Runtime.Serialization;
using System.Text;
using System.Globalization;
using System.Security.Permissions;
using System.Diagnostics.Contracts;
namespace System.Security.AccessControl
{
[Serializable]
public sealed class PrivilegeNotHeldException : UnauthorizedAc... |
DotNetRetryTests/Core/Activators/NullActivatorTests/Activate.cs | gdyrrahitis/dotnet-retry | 3 | 7042720 | namespace DotNetRetry.Unit.Tests.Core.Activators.NullActivatorTests
{
using System;
using DotNetRetry.Core;
using DotNetRetry.Core.Activators;
using DotNetRetry.Core.Exceptions;
using DotNetRetry.Rules;
using Xunit;
using static Xunit.Assert;
public class Activate
{
[Fact]
... |
ProductPrefabAccessoryOperator.cs | PresidentOhm/UnityProductPartsSystem | 0 | 7042721 | <reponame>PresidentOhm/UnityProductPartsSystem
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Used to manage the accessory data and gameobject instatiation & placement of accessory parts.
/// This script assumes no accessories are instantiated when... |
Polymorphism-ex/Raiding/Warrior.cs | Alexxx2207/CSharpOOP | 0 | 7042722 | <reponame>Alexxx2207/CSharpOOP
using System;
using System.Collections.Generic;
using System.Text;
namespace Raiding
{
class Warrior : BaseHero
{
public Warrior(string name)
{
Power = 100;
Name = name;
}
public override string CastAbility()
{
... |
Exercise4/Arrays/Arrays/10. Pairs by Difference/PairsByDifference.cs | NadejdaTs/Programming-Fundamentals | 0 | 7042723 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _10.Pairs_by_Difference
{
class PairsByDifference
{
static void Main()
{
int[] numbers = Console.ReadLine()
.Split(' ')
.Sel... |
Sources/Gui/Ui_Form1.Designer.cs | muzudho/Kifuwarabe_DenouT2 | 0 | 7042724 | namespace Grayscale.Kifuwarane.Gui.L09_Ui
{
partial class Ui_Form1
{
/// <summary>
/// 必要なデザイナー変数です。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 使用中のリソースをすべてクリーンアップします。
/// </summary>
/// <param na... |
Nubank/Nubank/Abstractions/ILogger.cs | felipebaltazar/Xam-Nubank | 23 | 7042725 | using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
namespace Nubank.Abstractions
{
public interface ILogger
{
void LogException(Exception ex, [CallerMemberName] string callerName = null);
}
}
|
test/ProgressOnderwijsUtils.Tests/ApprovalTestTest.cs | progressonderwijs/ProgressOnderwijsUtils | 2 | 7042726 | <filename>test/ProgressOnderwijsUtils.Tests/ApprovalTestTest.cs
using System;
using System.IO;
using ExpressionToCodeLib;
using Xunit;
namespace ProgressOnderwijsUtils.Tests
{
public sealed class ApprovalTestTest
{
[Fact]
public void ApprovalWithLinesIsEquivalentToJoinedLines()
... |
Examples/CSharp/Outlook/CreatAndSaveCalendaritems.cs | jawadaspose/Aspose_Email_For_.NET_Backup | 0 | 7042728 | using System;
using Aspose.Email.Mail;
using Aspose.Email.Outlook;
/*
This project uses Automatic Package Restore feature of NuGet to resolve Aspose.Email for .NET API reference
when the project is build. Please check https://Docs.nuget.org/consume/nuget-faq for more information.
If you do not wish to use NuGet, yo... |
source/_tests/Owin.Scim.Tests/Integration/ResourceTypes/when_retrieving_resource_types_error.cs | SocialBoards/Owin.Scim | 61 | 7042729 | namespace Owin.Scim.Tests.Integration.ResourceTypes
{
using System.Collections.Generic;
using System.Net.Http;
using Extensions;
using Machine.Specifications;
using v2.Model;
[Ignore("This shows the exception caused by application/xml")]
public class when_retrieving_resource_types_error ... |
source/ChromeDevTools/Protocol/Chrome/Target/ActivateTargetCommandResponse.cs | daviddays/ChromeDevTools | 118 | 7042730 | using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Target
{
/// <summary>
/// Activates (focuses) the target.
/// </summary>
[CommandResponse(ProtocolName.Target.ActivateTarget)]
[SupportedBy("Chrome")]
publi... |
MaxMind.Db/Reader.cs | lwiecasz/MaxMind-DB-Reader-dotnet | 0 | 7042731 | <filename>MaxMind.Db/Reader.cs<gh_stars>0
#region
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
#endregion
namespace MaxMind.Db
{
/// <summary>
/// An enumeration specifying the API to use to read the database
/// ... |
BombermanMultiplayer/Objects/Bomb.cs | ZedGod1804/BombermanMultiplayer | 0 | 7042732 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Drawing.Drawing2D;
using System.Media;
using System.Diagnostics;
namespace BombermanMultiplayer
{
[Serializable]
public ... |
src/RxBim.Di.ServiceProvider/ServiceProviderContainer.cs | AlexNik235/RxBim | 9 | 7042733 | <reponame>AlexNik235/RxBim<filename>src/RxBim.Di.ServiceProvider/ServiceProviderContainer.cs<gh_stars>1-10
namespace RxBim.Di
{
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Extensions.DependencyInjection;
/// <summary>
/// The implementation of <see cref="... |
src/Passenger.Infrastructure/Commands/Driver/RemoveDriverRouteCommand.cs | gracjang/Passager | 1 | 7042734 | <filename>src/Passenger.Infrastructure/Commands/Driver/RemoveDriverRouteCommand.cs
using System;
namespace Passenger.Infrastructure.Commands.Driver
{
public class RemoveDriverRouteCommand : AuthenticationCommandBase
{
public string Name { get; set; }
}
} |
server/LiveMessenger/connectToDB.cs | Markussim/LiveMessengerV2 | 0 | 7042735 | using MongoDB.Bson;
using MongoDB.Driver;
namespace LiveMessenger
{
public class ConnectToDB
{
public static MongoClient dbClient;
public static IMongoDatabase db;
//Method connects the server to the database (MongoDB)
public static void connectToMongo()
{
... |
src/BlazorWebFormsComponents/DataBindings.razor.cs | KristofferStrube/BlazorWebFormsComponents | 373 | 7042736 | using Microsoft.AspNetCore.Components;
namespace BlazorWebFormsComponents
{
public partial class DataBindings
{
[Parameter]
public RenderFragment ChildContent { get; set; }
[CascadingParameter(Name = "ParentTreeView")]
public TreeView ParentTreeView { get; set; }
}
}
|
Twilio.Conversations.Droid/Additions/CallbackListener.cs | jedusei/Twilio.Conversations.Xamarin | 0 | 7042737 | using Android.Runtime;
namespace Twilio.Conversations
{
public abstract class CallbackListener<T> : Java.Lang.Object, ICallbackListener where T : class, IJavaObject
{
void ICallbackListener.OnSuccess(Java.Lang.Object result)
{
OnSuccess(result.JavaCast<T>());
}
pub... |
DotNetForce/IBulkClient .cs | teamchong/DotNetForce | 3 | 7042738 | <reponame>teamchong/DotNetForce
using DotNetForce.Common.Models.Xml;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
// ReSharper disable UnusedMemberInSuper.Global
// ReSharper disable UnusedMethodReturnValue.Global
// ReSharper disable UnusedMember.Global
namespace DotNetForce
{
... |
Source/MDK/Commands/ProjectDependentCommand.cs | kwilliams1987/MDK-SE | 0 | 7042740 | using System.Collections;
using System.Linq;
using EnvDTE;
using Malware.MDKServices;
using MDK.VisualStudio;
using Command = MDK.VisualStudio.Command;
namespace MDK.Commands
{
abstract class ProjectDependentCommand : Command
{
protected ProjectDependentCommand(ExtendedPackage package) : base(package)
... |
Models/Node.cs | gustavoghp87/cryptoCurrency | 0 | 7042741 | <gh_stars>0
using System;
namespace Models
{
public class Node
{
public Uri Address { get; set; }
public Uri BlockchainRequestAddress { get => new(Address.ToString() + "api/blockchain"); }
public Uri NodeRequestAddress { get => new(Address.ToString() + "api/node"); }
public Uri ... |
TemplateAction/Core/Dispatcher/AbstractEventDispatcher.cs | wangluci/MZFrame | 0 | 7042742 | <filename>TemplateAction/Core/Dispatcher/AbstractEventDispatcher.cs<gh_stars>0
using System;
using System.Reflection;
using System.Collections.Generic;
namespace TemplateAction.Core
{
public abstract class AbstractEventDispatcher : IDispatcher, IEventRegister
{
private void PriAddListener(Type... |
CommonTools.Lib11/ExceptionTools/ErrorMessageTrimmer.cs | peterson1/RemoteScripter | 0 | 7042743 | using CommonTools.Lib11.StringTools;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CommonTools.Lib11.ExceptionTools
{
public static class ErrorMessageTrimmer
{
public static string Info(this Exception ex, bool withTypeNames = false, bool withShortStack... |
App/App.Web/Controllers/DocumentController.cs | nzhul/garderob | 0 | 7042744 | using App.Data.Service.Abstraction;
using App.Models.Documents;
using System.Web.Mvc;
namespace App.Web.Controllers
{
public class DocumentController : Controller
{
IDocumentsService documentsService;
public DocumentController(IDocumentsService documentsService)
{
this.documentsService = documentsService;... |
test/Mono.Linker.Tests.Cases/Reflection/ExpressionCallString.cs | directhex/linker | 0 | 7042745 | using Mono.Linker.Tests.Cases.Expectations.Assertions;
using System.Linq.Expressions;
using System;
using System.Linq;
using Mono.Linker.Tests.Cases.Expectations.Metadata;
namespace Mono.Linker.Tests.Cases.Reflection
{
[SetupCompileArgument ("/r:System.Core.dll")]
public class ExpressionCallString
{
public stati... |
src/SIM.Tool.Windows/MainWindowComponents/Buttons/ClearPropertiesButton.cs | sc-spl/Sitecore-Instance-Manager | 119 | 7042746 | <gh_stars>100-1000
namespace SIM.Tool.Windows.MainWindowComponents.Buttons
{
public class ClearPropertiesButton : ClearDatabasesButton
{
public ClearPropertiesButton()
: this("")
{
}
public ClearPropertiesButton(string databases)
: base(databases)
{
}
public override... |
Scripts/UI/Common/UIOverlay.cs | KonH/udbase | 38 | 7042747 | using UnityEngine;
using UDBase.Controllers.EventSystem;
using Zenject;
namespace UDBase.UI.Common {
/// <summary>
/// UIOverlay is a component which shows overlays and dialogs to user:
/// it can be closed with boolean argument and you can pass callback which would be executed when wanted result is happen.
/// ... |
InnerCore.Api.DeConz/Models/JsonContent.cs | talun2075/InnerCore.Api.DeConz | 15 | 7042748 | <gh_stars>10-100
using System.Text;
using System.Net.Http;
namespace InnerCore.Api.DeConz.Models
{
public class JsonContent : StringContent
{
public JsonContent(string content)
: base(content, Encoding.UTF8, "application/json")
{
}
}
}
|
Synology/DownloadStation/Task/Results/ITaskTrackerResult.cs | margaale/Synology | 51 | 7042749 | <filename>Synology/DownloadStation/Task/Results/ITaskTrackerResult.cs
namespace Synology.DownloadStation.Task.Results
{
/// <summary>
/// Task tracker result.
/// </summary>
public interface ITaskTrackerResult
{
/// <summary>
/// Gets the URL.
/// </summary>
/// <val... |
WindowsMonitor.Standard/Hardware/Acpi/AcpiGenAddr.cs | Biztactix/WindowsMonitor | 16 | 7042750 | <gh_stars>10-100
using System.Collections.Generic;
using System.Management;
namespace WindowsMonitor.Hardware.Acpi
{
/// <summary>
/// </summary>
public sealed class AcpiGenAddr
{
public ulong Address { get; private set; }
public uint AddressSpaceId { get; private set; }
public uint BitOffset { g... |
Develappers.BillomatNet/Queries/ArticlePropertyFilter.cs | mcfennek/BillomatNet | 2 | 7042751 | <filename>Develappers.BillomatNet/Queries/ArticlePropertyFilter.cs
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace Develappers.BillomatNet.Queries
{
... |
MeshConverter/Blitz3DSDK.cs | bytecode-77/fastpix3d | 15 | 7042752 | <gh_stars>10-100
using System;
using System.Runtime.InteropServices;
namespace MeshConverter
{
static public class bb
{
[DllImport("Blitz3D.dll")]
public static extern int bbBeginBlitz3D();
/// <summary>
/// <para>
/// Initializes the Blitz3D runtime environment and returns 0
/// if there i... |
AlocaGFT/Data/Seeds/CargoSeed.cs | LucasCancio/aloca-gft | 0 | 7042753 | <reponame>LucasCancio/aloca-gft<gh_stars>0
using AlocaGFT.Models;
using AlocaGFT.Utils.Enums;
using Microsoft.EntityFrameworkCore;
namespace AlocaGFT.Data.Seeds
{
public static class CargoSeed
{
public static void SeedCargo(this ModelBuilder modelBuilder)
{
modelBuilder.Entity<Cargo... |
Models/MapperModel.cs | ZeroPyrozen/osb | 0 | 7042754 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace osb.Models
{
public class MapperModel
{
public int UserID { get; set; }
public string Username { get; set; }
public string UserProfileUrl { get; set; }
public string UserA... |
Rikrop.Core.Wpf/Collections/SequentialCollectionManagerBuilder.cs | rikrop/Rikrop.Core.Wpf | 2 | 7042756 | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Threading.Tasks;
using Rikrop.Core.Framework.Services;
using Rikrop.Core.Wpf.Async;
namespace Rikrop.Core.Wpf.Collections
{
public class SequentialCollectionMan... |
src/ServiceManagement/RemoteApp/Commands.RemoteApp/RemoteProgram/UnpublishAzureRemoteAppProgram.cs | Nilambari/azure-powershell | 0 | 7042758 | <gh_stars>0
// ----------------------------------------------------------------------------------
//
// 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
... |
src/EntityFrameworkCore.SqlServer.TemporalTable/Query/TemporalSqlNullabilityProcessor.cs | terryfkjc/EntityFrameworkCore.SqlServer.TemporalTable | 6 | 7042759 | <filename>src/EntityFrameworkCore.SqlServer.TemporalTable/Query/TemporalSqlNullabilityProcessor.cs
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.EntityFrameworkCore.Query.SqlExpressions;
using System;
using System.Collections.Generic;
using System.Text;
namespace EntityFrameworkCore.SqlServer.TemporalTab... |
src/xunit.v3.runner.common.tests/Sinks/TestMessageSinkTests.cs | Xcodo/xunit | 1 | 7042760 | using System;
using Xunit;
using Xunit.Runner.Common;
using Xunit.v3;
public class TestMessageSinkTests
{
public static TheoryData<Type> ProcessesVisitorTypesData = new()
{
// Diagnostics
typeof(_DiagnosticMessage),
typeof(_ErrorMessage),
// Discovery
typeof(_DiscoveryComplete),
typeof(_DiscoveryStartin... |
docs/standard/base-types/snippets/character-encoding-introduction/csharp/ConvertToUpper.cs | BaruaSourav/docs | 3,294 | 7042761 | using System;
using System.Collections.Generic;
using System.Text;
namespace RuneSamples
{
public static class ConvertToUpper
{
public static void Run()
{
// <SnippetConvertToUpper>
string testString = "abc𐑉";
Console.WriteLine($"String to be converted to ... |
ProxyXamarinP/DLL/Patterns/Facade.cs | ronaldris21/Design_Patterns | 0 | 7042763 | <reponame>ronaldris21/Design_Patterns
namespace DLL.Patterns
{
public static class Facade
{
#region Metodo
public enum Operacion
{
//Definicion de metodos
Save,
Update,
Delete
}
#endregion
}
}
|
src/GregClient/AuthProviders/LoginState.cs | alfredo-pozo/PackageManagerClient | 2 | 7042764 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Greg.AuthProviders
{
public enum LoginState
{
LoggedOut, LoggingIn, RequestingUserData, LoggedIn
}
}
|
CodingSeb.Converters/Converters/ExpressionEvalConverter.cs | codingseb/Converters | 0 | 7042765 | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Windows.Data;
using System.Windows.Markup;
namespace CodingSeb.Converters
{
/// <summary>
/// Converter that use a string mathematical or pseudo C# expression to make the conversion.
/// Use <c>bind... |
src/BlazorStrap/Util/StringExtensions.cs | XzaR90/BlazorStrap | 874 | 7042766 | <gh_stars>100-1000
using System;
using System.Globalization;
using System.Linq;
namespace BlazorStrap.Util
{
internal static class StringExtensions
{
public static string FirstCharToUpper(this string input)
{
return input switch
{
null => throw new Argum... |
Kooboo.CMS/KoobooModule/Areas/Membership/Views/Shared/Site.cshtml | syberside/CMS | 288 | 7042767 | <gh_stars>100-1000
@{
Layout = "~/Views/Shared/Site.cshtml";
}
@section ScriptCSS
{
@RenderSection("ScriptCSS", false)
}
@section Panel
{
@RenderSection("Panel", false)
}
@section Sidebar
{
@if (string.IsNullOrEmpty(ViewContext.RequestContext.GetRequestValue("SiteName")))
{
@Html.Partial... |
Trovato/Assets/Scripts/ExtraFunction/FadeObject.cs | LoYiLun/Trovato | 0 | 7042768 | <reponame>LoYiLun/Trovato
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FadeObject : MonoBehaviour {
public Material FadeMat;
private Material[] Omats;
private Material[] mats;
private bool FadeOut;
private bool FadeIn;
private float FadeSpeed = 0.025f;
void Awa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.