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 |
|---|---|---|---|---|
Lib/Utils/Helpers.cs | fengjixuchui/AttackSurfaceAnalyzer | 0 | 7064534 | <gh_stars>0
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using AttackSurfaceAnalyzer.Types;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.InteropServices;
namespace AttackSurfaceAna... |
NoteFrequency.cs | dependd/2018_GameShow | 0 | 7064535 | <filename>NoteFrequency.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class NoteFrequency : MonoBehaviour {
//経過時間、ノーツが消えた時間を格納する
float elapsedTime;
note note;
enemynote enemynote;
GameObject enemyNote;
//どのノーツかを判断する
... |
TwiiterFeed/TwiiterFeed/Program.cs | SwatDeva/Twitter-API-integration | 0 | 7064536 | <reponame>SwatDeva/Twitter-API-integration<gh_stars>0
using System;
using System.Threading;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Runtime.Remoting.Messaging;
using LinqToTwitter;
using System.Configuration;
namespace TwiiterFeed
{
internal class Program
{
... |
uGraph/Graph.cs | IlyaFinkelshteyn/uGraph | 0 | 7064537 | <filename>uGraph/Graph.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace uGraph
{
/// <summary>
/// Generic Graph implementarion based on Adjacency list
/// </summary>
/// <typeparam name="TVertex"></typeparam>
/// <typepa... |
Vermeil/Navigation/NavigationManager.cs | dotcypress/Vermeil | 1 | 7064538 | #region
using System;
using System.Net;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
#endregion
namespace Vermeil.Navigation
{
internal class NavigationManager : INavigationManager
{
private readonly PhoneApplicationFrame _rootFrame;
... |
ch6. OOP/6. Property/Property/Program.cs | gamedevpreneur/csharp-for-javascript-devs | 0 | 7064539 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Property
{
class Prop
{
public int Value
{
get
{
return val;
}
set
{
... |
ModelHelper.Console/Commands/ICommandArgumentRule.cs | Modelhelper/cli-dotnet | 0 | 7064540 | using System.Collections.Generic;
using ModelHelper.Core.Rules;
namespace ModelHelper.Commands
{
public interface ICommandArgumentRule : IRule<Dictionary<string, string>>
{
List<CommandArgument> ValidArguments { get;set; }
}
} |
GoA-AIO/GoA.cs | skettios/GoA | 0 | 7064541 | <filename>GoA-AIO/GoA.cs<gh_stars>0
using System;
using System.IO;
using System.Text;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace GoA
{
class Native
{
[DllImport("kernel32.dll")]
public static extern IntPtr LoadLibrary(string dll);
[DllImport("kernel32.dl... |
12-Regular-Expressions/Exercise/01-Extract-Email/Program.cs | KostadinovK/Technology-Fundamentals | 3 | 7064542 | <reponame>KostadinovK/Technology-Fundamentals
using System;
using System.Text.RegularExpressions;
public class Program
{
static void Main()
{
string regex = @"(?<![A-Z0-9a-z._-])[a-z0-9A-Z][a-z0-9._-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+([a-z.])*\b";
string text = Console.ReadLine();
MatchCollection emails = Regex... |
Assets/Scripts/Utility/ShopItem.cs | navidadelpour/HitBall | 1 | 7064543 | <reponame>navidadelpour/HitBall
using UnityEngine;
[System.Serializable]
public class ShopItem {
public string description;
public int cost;
public int level = 1;
public int max_level = 3;
public bool unlock = false;
public ShopItem(string description, int cost) {
this.description = de... |
src/Serilog.Enrichers.HttpContextInfo/LogEventPropertyExtensions.cs | ekmsystems/serilog-enrichers-http-context-info | 5 | 7064544 | using Serilog.Events;
namespace Serilog
{
internal static class LogEventPropertyExtensions
{
public static void AddIfAbsent(this LogEventProperty property, LogEvent logEvent)
{
logEvent.AddPropertyIfAbsent(property);
}
}
} |
sources/Leak.Echo/EchoBenchmark.cs | sora-jp/leak | 76 | 7064545 | <reponame>sora-jp/leak<filename>sources/Leak.Echo/EchoBenchmark.cs<gh_stars>10-100
using Leak.Sockets;
using System.Diagnostics;
using System.Net;
using System.Threading;
namespace Leak.Echo
{
public class EchoBenchmark
{
private readonly SocketFactory factory;
private readonly IPEndPoint endp... |
MathForGames/Actor.cs | brittb123/MathForGames | 0 | 7064547 | using System;
using System.Collections.Generic;
using System.Runtime.InteropServices.ComTypes;
using System.Text;
using Math_Library;
using Raylib_cs;
namespace MathForGames
{
public class Actor
{
protected char _icon = ' ';
protected Vector2 _position;
private Vector2 _ve... |
Assets/NewgroundsUnityAPIHelper/Helper/Scripts/NewgroundsAPIHelper.cs | MonoFlauta/Newgrounds-Unity-API-Helper | 0 | 7064548 | using System;
using System.Collections.Generic;
using System.Linq;
using io.newgrounds;
using io.newgrounds.objects;
using io.newgrounds.results.Gateway;
using io.newgrounds.results.Medal;
using UnityEngine;
namespace NewgroundsUnityAPIHelper.Helper.Scripts
{
[RequireComponent(typeof(core))]
public class Newg... |
CmcLibNet.Database/ICommenceDatabase.cs | arnovb-github/CmcLibNet | 0 | 7064549 | <filename>CmcLibNet.Database/ICommenceDatabase.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Vovin.CmcLibNet.Database.Metadata;
namespace Vovin.CmcLibNet.Database
{
/// <summary>
/// Exposes all 'native' Commence API database functionality, including... |
IntegrationTests/TimeoutManager/MyServer/PerformanceTest/PerformanceTestMessageHandler.cs | marinkobabic/NServiceBus | 1 | 7064550 | namespace MyServer.PerformanceTest
{
using System;
using System.Collections.Concurrent;
using NServiceBus;
public class PerformanceTestMessageHandler : IHandleMessages<PerformanceTestMessage>
{
public static ConcurrentBag<string> receivedMessages = new ConcurrentBag<string>();
... |
Apartmant/UserInterface/IUserControl/ServiceCharge.Designer.cs | isman-usoh/apament-management-system | 0 | 7064552 | namespace Apartment.UserInterface.IUserControl
{
partial class ServiceCharge
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... |
src/Blamantic/Components/Dialog/DialogExtensions.cs | AchievedOwner/BlamanticUI | 5 | 7064553 | <filename>src/Blamantic/Components/Dialog/DialogExtensions.cs
using System;
namespace BlamanticUI
{
/// <summary>
/// The extensions of dialog services.
/// </summary>
public static class DialogExtensions
{
/// <summary>
/// Shows an 'alert' dialog with a confim button.
///... |
TewiBoard.Web/Views/Shared/_Card.cshtml | DCTewi/TewiBoard | 1 | 7064554 | <reponame>DCTewi/TewiBoard
@{
var TextIdPrefix = "ID";
var TextPidPrefix = "No.";
var TextReportBtn = "Report";
var TextReportTitle = "Report this post";
var TextReportBody = "Are you sure to report this post?";
var TextYes = "Yes";
var TextNo = "No";
}
@model TewiBoard.Web.Models.CardMo... |
Graph#.Controls/Controls/ContextualGraphLayout.cs | fedoaa/GraphSharp | 1 | 7064555 | using System.Collections.Generic;
using System.Windows;
using GraphSharp.Algorithms.Layout;
using GraphSharp.Algorithms.Layout.Contextual;
using QuikGraph;
namespace GraphSharp.Controls
{
public class ContextualGraphLayout<TVertex, TEdge, TGraph> : GraphLayout<TVertex, TEdge, TGraph>
where TVertex : class
... |
src/Payments.Mvc/Views/Invoices/Index.cshtml | ucdavis/payments | 0 | 7064556 | <reponame>ucdavis/payments
@using Microsoft.AspNetCore.Http
@using Payments.Core.Extensions
@model Payments.Mvc.Models.InvoiceViewModels.InvoiceListViewModel
@inject IHttpContextAccessor HttpContextAccessor
@{
ViewBag.Title = "Invoices";
}
<div class="card">
<div class="card-header card-header-primary d-flex ... |
src/RabbitBus/Configuration/Internal/MappingRouteInfoLookupStrategy.cs | yyosifov/rabbitBus | 1 | 7064557 | <filename>src/RabbitBus/Configuration/Internal/MappingRouteInfoLookupStrategy.cs
using System;
using System.Collections.Generic;
namespace RabbitBus.Configuration.Internal
{
class MappingRouteInfoLookupStrategy<TRouteInfo> : IRouteInfoLookupStrategy<TRouteInfo> where TRouteInfo : class
{
readonly IDictionar... |
src/FftSharp/Windows/FlatTop.cs | swharden/FftSharp | 97 | 7064558 | <reponame>swharden/FftSharp
using System;
using System.Collections.Generic;
using System.Text;
namespace FftSharp.Windows
{
public class FlatTop : Blackman
{
public override string Name => "Flat Top";
public override string Description =>
"A flat top window is a partially negative-... |
LinChatServer/ChatServer.cs | SASUKE40/LinChatServer | 1 | 7064559 | namespace LinChatServer
{
using System;
using SuperSocket.SocketBase;
using SuperWebSocket;
public class ChatSession : WebSocketSession<ChatSession>
{
private string sender = string.Empty;
public string Sender
{
get
{
return this.... |
src/Unit.Tests/ResolveOrderedTests.cs | ladenedge/Autofac.Extras.Ordering | 6 | 7064560 | using System.Linq;
using Autofac;
using Autofac.Extras.Ordering;
using Autofac.Features.Metadata;
using Xunit;
namespace Unit.Tests
{
public class ResolveOrderedTests
{
[Fact]
public void Test_Empty()
{
// Arrange.
var container = _builder.Build();
... |
Discord/DiscordBots/TriggersTools.DiscordBots.Implementation/Services/StatusRotationService.cs | trigger-death/MCC-WJLCS | 0 | 7064561 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Discord;
using Microsoft.Extensions.Configuration;
using TriggersTools.DiscordBots.Extensions;
using TriggersTools.DiscordBots.Services;
namespace... |
ServerAndAngular/Dto/RepositoryDto.cs | NonoDS/SOUPDiscover | 0 | 7064562 | using System;
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
namespace SoupDiscover.Dto
{
public class RepositoryDto
{
[JsonConverter(typeof(JsonStringEnumConverter))]
public RepositoryType repositoryType { get; set; }
/// <summary>
... |
src/SimplCommerce.WebHost/Migrations/20180425151519_AddedSeoMetaTags.cs | EmreKarahan/SimplCommerce | 1 | 7064563 | using Microsoft.EntityFrameworkCore.Migrations;
using System;
using System.Collections.Generic;
namespace SimplCommerce.WebHost.Migrations
{
public partial class AddedSeoMetaTags : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColum... |
src/RouteLocalization.AspNetCore/ILocalizer.cs | Dresel/RouteLocalization.AspNetCore | 6 | 7064564 | namespace RouteLocalization.AspNetCore
{
using Microsoft.AspNetCore.Mvc.ApplicationModels;
public interface ILocalizer
{
string ApplyRouteCulturePrefix(string template, string culture);
bool IsLocalizedModel(ControllerModel controllerModel);
bool IsLocalizedModel(ActionModel actionModel);
bool IsLocalize... |
Day02/source code/Day02/CSharpOperator.cs | gabrielstar/Learn-C-Sharp-in-7-days | 4 | 7064565 | using System;
using static System.Console;
namespace Day02
{
public class CSharpOperator
{
public int Num1 { get; set; }
public int Num2 { get; set; }
public int Num3 { get; set; }
public int Num4 { get; set; }
public void Display()
{
WriteLine($"{... |
sample/SqsPoller.Sample.Subscriber/FooConsumer.cs | IhnatKlimchuk/SqsPoller | 11 | 7064566 | using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
namespace SqsPoller.Sample.Subscriber
{
internal class FooConsumer : IConsumer<FooMessage>
{
private readonly ILogger<FooConsumer> _logger;
public FooConsumer(ILogger<FooConsumer> logger)
{
... |
src/Cosmos.Walkers/Workflow/Nodes/BuildInNodes/Node.EndNode.cs | alexinea/Cosmos.Walkers | 0 | 7064567 | using System;
namespace Cosmos.Walkers.Workflow.Nodes.BuildInNodes {
public sealed class EndNode : IBuildInNode<string> {
private readonly IWorkflowStation<string> _station;
public EndNode(IWorkflowStation<string> station) {
_station = station ?? throw new ArgumentNullException(nameof... |
MaterialCMS.Web/Areas/Admin/Controllers/DashboardController.cs | DucThanhNguyen/MaterialCMS | 12 | 7064568 | using System.Web.Mvc;
using MaterialCMS.Web.Areas.Admin.Helpers;
using MaterialCMS.Web.Areas.Admin.Models;
using MaterialCMS.Website.Controllers;
namespace MaterialCMS.Web.Areas.Admin.Controllers
{
public class DashboardController : MaterialCMSAdminController
{
[DashboardAreaAction(DashboardArea = Das... |
NextLevelSeven/Core/ISubcomponent.cs | stoneson/NextLevelSeven | 22 | 7064569 | <gh_stars>10-100
namespace NextLevelSeven.Core
{
/// <summary>Represents a subcomponent element in an HL7 message.</summary>
public interface ISubcomponent : IElement
{
/// <summary>Get the ancestor component. Null if the element is an orphan.</summary>
new IComponent Ancestor { get; }
... |
Contoso.Apps.SportsLeague.Admin/ViewModels/BaseViewModel.cs | chadbrooks/ContosoSportsLeague | 0 | 7064570 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Contoso.Apps.SportsLeague.Admin.ViewModels
{
public class BaseViewModel
{
public string DisplayName { get; set; }
}
} |
Assets/Scripts/Controllers/BonusController.cs | k0dep/Bonus | 6 | 7064571 | <reponame>k0dep/Bonus
using System.Linq;
using Extensions;
using Messages;
using Models;
using Poster;
using Services;
using UnityEngine;
namespace Controllers
{
public class BonusController : IBonusController
{
public readonly GameFieldModel FieldModel;
public readonly IFieldDime... |
KarambaCommon_tests/Mesher/MeshHoleRefine.cs | karamba3d/karamba3d_tests | 0 | 7064572 | #if WithMesher
using NUnit.Framework;
using System;
using System.Collections.Generic;
namespace TriangulationFtester
{
public partial class Meshing_tests
{
[Test]
public static void MeshHoleRefine()
{
var e = new TriangulationFCsharp();
e.setBoundary(new double... |
Assets/GL/Scripts/Battle/PartyControllers/PartyParameter.cs | hiroki-kitahara/GL | 0 | 7064573 | <filename>Assets/GL/Scripts/Battle/PartyControllers/PartyParameter.cs
using System;
using System.Linq;
using GL.Database;
using GL.User;
using UnityEngine;
namespace GL.Battle
{
/// <summary>
/// パーティに必要なパラメータ
/// </summary>
[Serializable]
public class PartyParameter
{
[SerializeField]... |
src/LinqToArrayUnitTest/TestSequence.cs | ufcpp/LinqToArray | 1 | 7064575 | <reponame>ufcpp/LinqToArray<gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace LinqToArrayUnitTest
{
public class TestData
{
static List<int[]> intData = new List<int[]>();
static List<string[]> strData = new List<string[]>();
... |
Assets/Logic/Test/FastGameAudioLoadingStart.cs | Tobbse/AnotherBadBeatSaberClone | 12 | 7064576 | <filename>Assets/Logic/Test/FastGameAudioLoadingStart.cs
using UnityEngine;
using Global;
using Game;
namespace Test
{
/// <summary>
/// Helper script used in the 'FastGame' scene.Used for development purposes only.
/// Some settings are set to make the developer's life easier and the audio loadin... |
MRI Game/Assets/Scripts/Game/Editor/GameEventTest.cs | vanhogen/MRI-Breathing-Game | 1 | 7064577 | <gh_stars>1-10
using UnityEngine;
using UnityEditor;
using NUnit.Framework;
public class GameEventTest {
GameEvent gameEvent;
string description = "This is a description";
[SetUp]
public void Initialize()
{
gameEvent = new GameEvent (description);
}
[Test]
public void EventStoresDescription()
{
Asser... |
Source/Harmony/ThingWithComps_DeSpawn.cs | jptrrs/KeepItQuiet | 0 | 7064578 | using HarmonyLib;
using RimWorld;
using Verse;
namespace KeepItQuiet
{
//Remove soothing effect when source object de-spawns
[HarmonyPatch(typeof(ThingWithComps), nameof(ThingWithComps.DeSpawn))]
public static class ThingWithComps_DeSpawn
{
public static void Prefix(ThingWithComps __instance)
... |
JasonsMedRef.Models/Package.cs | jasoncable/medicalreference | 1 | 7064579 | <gh_stars>1-10
using JasonsMedRef.Models.Enums;
using System;
using System.Collections.Generic;
using System.Text;
namespace JasonsMedRef.Models
{
public class Package
{
public static readonly string IndexName = "jmr_package";
public Guid Id { get; set; }
public Guid DrugId { get; set... |
src/Tbs.Core/DomainServices/WorkerCache.cs | jiangyimin/Tbs | 0 | 7064580 | using System.Collections.Generic;
using Abp;
using Abp.Authorization.Users;
using Abp.Domain.Repositories;
using Abp.Domain.Uow;
using Abp.Events.Bus.Entities;
using Abp.Events.Bus.Handlers;
using Abp.Runtime.Caching;
using Abp.Runtime.Security;
using Abp.Runtime.Session;
using Tbs.DomainModels;
namespace Tbs.DomainSe... |
FamilyStudioFormsGui/WindowsGui/Panels/ComplenessViewPanel1/SanitySettingsForm.cs | endian02/FamilyStudio2 | 1 | 7064581 | using FamilyStudioData.FamilyTreeStore;
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 FamilyStudioFormsGui.WindowsGui.Panels.Co... |
StreamingParser/Interfaces/IEntityGenerator.cs | eddiesholl/StreamingParser | 0 | 7064582 | using StreamingParser.Util;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace StreamingParser
{
public interface IEntityGenerator<TNode>
{
TChild Generate<TChild>(Expression<Func<TNode, TChild>> navigationEx... |
src/NSwagStudio/ViewModels/DocumentViewModel.cs | zjklee/NSwag | 0 | 7064583 | <filename>src/NSwagStudio/ViewModels/DocumentViewModel.cs
using System.Threading.Tasks;
using MyToolkit.Command;
using MyToolkit.Utilities;
using NSwagStudio.Views.CodeGenerators;
using NSwagStudio.Views.SwaggerGenerators;
namespace NSwagStudio.ViewModels
{
public class DocumentViewModel : ViewModelBase
{
... |
src/Comet.Game/Database/Models/DbMagictype.cs | inburst21/ConquerServer | 0 | 7064584 | // //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (C) FTW! Masters
// Keep the headers and the patterns adopted by the project. If you changed anything in the file just insert
// your name below, but don't remove the names of who w... |
Controls/PivotVirtualizingPanel.Droid.cs | Appercode/Appercode.UIFramework | 17 | 7064585 | <filename>Controls/PivotVirtualizingPanel.Droid.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Drawing;
using System.Linq;
using System.Text;
using Android.Content;
using Android.Runtime;
using Android.Support.V4.View;
using Andr... |
FsConfigTool/UiComponents/QuickShareCodeTextBox.cs | O3ObijuanKenobi/FracturedSpace | 0 | 7064586 | <filename>FsConfigTool/UiComponents/QuickShareCodeTextBox.cs<gh_stars>0
using FS_Config_Tool.Classes;
using FS_Config_Tool.Classes.ConfigManagement;
using System;
using System.Windows.Forms;
namespace FS_Config_Tool.UiComponents
{
public class QuickShareCodeTextBox : TextBox
{
public TeamConfig Genera... |
Buoi 8/Buoi 8/Buoi 8/KiemTra.cs | TaQuangKhoi/Lap-trinh-dot-NET | 0 | 7064587 | <filename>Buoi 8/Buoi 8/Buoi 8/KiemTra.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
using System.Data;
namespace Buoi_8
{
public static class KiemTra
{
static SqlConnection conn;
public stat... |
ZMap.Common/CommonTypes/MapType.cs | hanzhou/ZenithMap | 0 | 7064588 | <filename>ZMap.Common/CommonTypes/MapType.cs
using System;
namespace ZMap
{
/// <summary>
/// 地图类型
/// </summary>
public enum MapType : int
{
Invalid = 0,
SingleImageMap = 1,
BingMap = 100,
BingMapChinese = 110,
BingSatellite = 200,
Bin... |
src/DPVreony.Website/theme/input/_resume_skills.cshtml | dpvreony/dpvreonywebsite | 0 | 7064589 | @using Dhgms.DPVreony.Website.Queries
@using Dhgms.DPVreony.Website.ViewModels
@{
var skills = await new SkillQueries().GetSkillSectionListAsync();
var partialViewName = "_resume_SkillSection";
}
<div id="skills" class="background-alt">
<h2 class="heading">Skills</h2>
@await Html.PartialAsync(partial... |
p2p-tic-tac-toe/AzureFunctions/TicTacToeFunctions/Models/MatchLobby.cs | Myfreedom614/playfab-samples-1 | 23 | 7064590 | <gh_stars>10-100
using Newtonsoft.Json;
namespace TicTacToeFunctions.Models
{
public class MatchLobby : ICustomDocument
{
[JsonProperty("id")]
public string Id { get => MatchLobbyId; }
[JsonProperty("_etag")]
public string ETag { get; set; }
public string MatchLobbyId... |
Services/Library.Services.Data/FavoriteService.cs | maria-tananska/Library | 0 | 7064591 | <gh_stars>0
namespace Library.Services.Data
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Library.Data.Common.Repositories;
using Library.Data.Models;
using Library.Services.Mapping;
public class FavoriteService : IFavoriteSer... |
DICOMcloud.Examples.Net/PacsStoreExample.cs | huzuohuyou/DICOMcloud | 0 | 7064592 | using Dicom;
using DICOMcloud.DataAccess;
using DICOMcloud.DataAccess.Database;
using DICOMcloud.DataAccess.Database.Schema;
using DICOMcloud.IO;
using DICOMcloud.Media;
using DICOMcloud.Pacs;
using DICOMcloud.Pacs.Commands;
namespace DICOMcloud.Examples.Net
{
class PacsStoreExample
{
public void Stor... |
FirstFloor.ModernUI/Windows/Controls/PlaceholderTextBlock.cs | Ultrawipf/actools | 209 | 7064593 | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Media;
namespace FirstFloor.ModernUI.Windows.Controls {
public class PlaceholderTextBlock : TextBlock {
public new static readonly D... |
Bitbird.Core.Data/DbContext/IOptimisticLockable.cs | bitbird-dev/Bitbird.Core | 0 | 7064594 | <reponame>bitbird-dev/Bitbird.Core
using System;
using JetBrains.Annotations;
namespace Bitbird.Core.Data.DbContext
{
/// <summary>
/// A db model that supports <see href="https://docs.microsoft.com/en-us/ef/ef6/saving/concurrency">optimistic locking</see>.
/// </summary>
public interface IOptimisticLo... |
Libs/GizmoFort.Connector.ERPNext/ERPTypes/Lower_deduction_certificate/Lower_deduction_certificateService.cs | dmequus/gizmofort.connector.erpnext | 0 | 7064595 | <reponame>dmequus/gizmofort.connector.erpnext
using GizmoFort.Connector.ERPNext.PublicInterfaces;
using GizmoFort.Connector.ERPNext.PublicInterfaces.SubServices;
using GizmoFort.Connector.ERPNext.PublicTypes;
namespace GizmoFort.Connector.ERPNext.ERPTypes.Lower_deduction_certificate
{
public class Lower_deduction_... |
SamFirm/Imports.cs | codacy-badger/SamFirm-continued | 23 | 7064596 | using System;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
namespace SamFirm
{
internal class Imports
{
private static IntPtr mod = IntPtr.Zero;
//콘솔을 메모리에서 반환하는 메소드
[DllImport("kernel32.dll")]
public static extern bool FreeConsole();
... |
FourWheel/FourWheels.Tests/Services/CarAdServicesTests/GetLastFiveAddedAds_Should.cs | DobKostadinov/FourWheel | 0 | 7064597 | using System.Linq;
using System.Collections.Generic;
using FourWheels.Data.Models;
using FourWheels.Data.Repositories;
using FourWheels.Data.UnitOfWork;
using FourWheels.Services;
using FourWheels.Services.Contracts;
using Moq;
using NUnit.Framework;
namespace FourWheels.Tests.Services.CarAdServicesTests
{
[Tes... |
Unity-CarrotFantasy-Learning/Unity-CarrotFantasy/Assets/Scripts/Game/Tower/Tower.cs | zhy-stay/Unity-Learning | 0 | 7064598 | /****************************************************
文件:Tower.cs
作者:zhyStay
邮箱: <EMAIL>
日期:2021/3/23 22:26:48
功能:Nothing
*****************************************************/
using System;
using System.Collections.Generic;
using UnityEngine;
public class Tower : MonoBehaviour
{
public int t... |
MonoGame.Utilities/Text/RuneEnumerator.cs | TechnologicalPizza/MonoGame | 0 | 7064599 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace MonoGame.Framework
{
public ref struct RuneEnumerator
{
private delegate bool MoveNextDelegate(ref RuneEnumerator enumerator);
private static MoveNextDelegate CachedSpanMoveNext { get; } = SpanMoveNext;
... |
Projects/Example.App.Shared/Models/View/ContactSummary.cs | TinusHeystek/aspnet-core-web-app | 1 | 7064600 | namespace Example.App.Shared.Models.View
{
public class ContactSummary
{
public int Id { get; set; }
public string Name { get; set; }
public string Initials { get; set; }
public string EyeColor { get; set; }
public string Sport { get; set; }
public int Gender { g... |
tests/Firefly.CloudFormationParser.Tests.Unit/ObjectExtensionsTests.cs | fireflycons/Firefly.CloudFormationParser | 0 | 7064601 | using System;
namespace Firefly.CloudFormationParser.Tests.Unit
{
using Firefly.CloudFormationParser.Utils;
using FluentAssertions;
using System.Collections;
using System.Collections.Generic;
using Xunit;
public class ObjectExtensionsTests
{
[Fact]
public void ShouldConve... |
src/TravisApi/TravisClient.cs | nokia-wroclaw/innovativeproject-dev-dashboard | 3 | 7064602 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using RestSharp;
using TravisApi.Models;
using TravisApi.Models.Responses;
namespace TravisApi
{
/// <summary>
/// https://developer.travis-ci.com/explore/#explorer
/// </summary>
public class TravisClient... |
Assets/Scripts/HotspotManager.cs | BrandynR/0x0A-unity-360_video_tour | 0 | 7064603 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UIElements;
namespace Interactive360
{
//This script should be attached to an empty game object in any scene utilizing hotspots. It binds all hotspots in the scene to the scenes tha... |
YS.System.Data/Service/IListAll.cs | obpt123/Core | 0 | 7064604 | <reponame>obpt123/Core
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace System.Data.Service
{
public interface IListAll<EntityType>
{
Task<List<EntityType>> ListAll(SearchCondition condition, OrderCondition orderitems);
}
}
|
TankLib/STU/Types/STU_AC770D23.cs | Mike111177/OWLib | 1 | 7064605 | <filename>TankLib/STU/Types/STU_AC770D23.cs
// Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0xAC770D23)]
public class STU_AC770D23 : STUInstance {
[STUFieldAttribute(0xF73E67AC, ReaderType = typeof(InlineInstanceFieldReader))]
... |
Utility/Network/Function.cs | Maleaume/MusicsOnlinePlayer | 0 | 7064606 | <reponame>Maleaume/MusicsOnlinePlayer
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
namespace Utility.Network
{
public class Function
{
public static MessageTCP Serialize(object anySerializableObject)
{
using (var memoryStream = new MemoryStream())
... |
Labs/TC3/TC3/Dtos/SalesOrderEnabledDto.cs | nextstepitt/NS40207_Student_Files | 0 | 7064607 | using System;
using TC3.Models;
namespace TC3.DTOs {
public class SalesOrderEnabledDto : SalesOrder {
public SalesOrderEnabledDto() {
}
public SalesOrderEnabledDto(SalesOrder salesOrder) : base(salesOrder) {
}
}
}
|
Ryujinx.Memory/Tracking/IMultiRegionHandle.cs | BSoDGamingYT/Ryujinx | 11,580 | 7064608 | using System;
namespace Ryujinx.Memory.Tracking
{
public interface IMultiRegionHandle : IDisposable
{
/// <summary>
/// True if any write has occurred to the whole region since the last use of QueryModified (with no subregion specified).
/// </summary>
bool Dirty { get; }
... |
Nsiclass.Client/Areas/Admin/Views/Users/CreateNewUser.cshtml | moher4o/NSIClass | 0 | 7064611 | @model CreateUserViewModel
@{
ViewData["Title"] = "Създаване на потребител";
}
<form method="post">
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
<div class="row">
<h4 style="color:azure;">Създаване на потребител</h4>
<hr />
<div style="color:azure;" class="co... |
src/Orchard.Web/Modules/Orchard.Azure/Services/Environment/AzureApplicationEnvironment.cs | Lombiq/Open-Source-Orchard-Extensions | 0 | 7064613 | <filename>src/Orchard.Web/Modules/Orchard.Azure/Services/Environment/AzureApplicationEnvironment.cs
using Microsoft.WindowsAzure.ServiceRuntime;
using Orchard.Environment;
namespace Orchard.Azure.Services.Environment {
public class AzureApplicationEnvironment : IApplicationEnvironment {
public string... |
src/Klarna.Tests/OrderManagementTests.cs | jeya-chandran/KlarnaStuff | 0 | 7064614 | <gh_stars>0
using System;
using System.Threading.Tasks;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
using Klarna;
using Klarna.Requests;
using Klarna.Responses;
namespace Klarna.Tests
{
[TestClass]
public class OrderManagementTests
{
private readonly Mock<KlarnaClient> _cut; ... |
GestorDeTaller.UI/Controllers/RepuestosParaMantenimientoController.cs | michaelbeta/Gestion-Taller | 0 | 7064615 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using GestorDeTaller.BL;
using GestorDeTaller.DA;
using GestorDeTaller.Model;
using GestorDeTaller.UI.Models;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsof... |
src/ETP.Messages/v11/Extensions.IAvroRecord.cs | waveflight/etp.net | 0 | 7064616 | //-----------------------------------------------------------------------
// ETP DevKit, 1.2
//
// Copyright 2021 Energistics
//
// 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/SugCon.Bot/Services/BaseAPI.cs | avwolferen/SitecoreBot | 1 | 7064617 | <filename>src/SugCon.Bot/Services/BaseAPI.cs<gh_stars>1-10
namespace SugCon.SitecoreBot.Services
{
using Newtonsoft.Json;
using SugCon.SitecoreBot.Helpers;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net.Http;
using System.... |
Internals/Helpers/ThicknessExtensions.cs | Appercode/Appercode.UIFramework | 17 | 7064618 | <gh_stars>10-100
using System.Windows;
#if __IOS__
using System;
#else
using nfloat = System.Single;
#endif
namespace Appercode.UI
{
internal static class ThicknessExtensions
{
public static double HorizontalThickness(this Thickness thickness)
{
return thickness.Left ... |
ChromeDevTools/Protocol/Chrome/Overlay/SetShowHitTestBordersCommand.cs | rollrat/custom-crawler | 38 | 7064619 | <reponame>rollrat/custom-crawler
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.Chrome.Overlay
{
/// <summary>
/// Requests that backend shows hit-test borders on layers
/// </summary>
[Command(ProtocolName.Overla... |
Lpp.Adapters/Lpp.Dns.DataMart.Model.PCORIQueryBuilder.Data/Model/Vital.cs | Missouri-BMI/popmednet | 9 | 7064620 | <reponame>Missouri-BMI/popmednet
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
namespace Lpp.Dns.DataMart.Model.PCORIQueryBuilder.Model
... |
CompareCloudware.Domain/Models/Industry.cs | protechdm/CompareCloudware | 0 | 7064621 | <reponame>protechdm/CompareCloudware
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CompareCloudware.Domain.Models
{
#region Industry
public class Industry
{
public virtual int IndustryID { get; set; }
public virtual int Code { get; set; }
... |
ContactsApp/Client/Program.cs | andysterland/BlazorWasmEFCoreExample | 0 | 7064622 | <gh_stars>0
using System;
using System.Net.Http;
using System.Security.Claims;
using System.Threading.Tasks;
using ContactsApp.BaseRepository;
using ContactsApp.Client.Data;
using ContactsApp.Controls.Grid;
using ContactsApp.Model;
using Microsoft.AspNetCore.Components.WebAssembly.Authentication;
using Microsoft.AspNet... |
Deplora.Shared/Enums/DatabaseAdapter.enum.cs | BinderDyn/Deplora | 2 | 7064623 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
namespace Deplora.Shared.Enums
{
/// <summary>
/// Which database adapter to use for SQLCommands
/// </summary>
public enum DatabaseAdapter
{
None = 0,
MSSQL = 1,
MySQL = 2
}
}
|
src/ShopPromotion.Domain/Exceptions/CanNotCreateUserException.cs | mjavadhpour/shop-promotion | 0 | 7064624 | // Copyright (C) 2018 <NAME>. All rights reserved.
// Licensed under the Private License. See LICENSE in the project root for license information.
// Author: <NAME> <<EMAIL>>
namespace ShopPromotion.Domain.Exceptions
{
using System;
/// <summary>
/// Thrown when can not create user with <see cref="Micros... |
02.C#2/07.ExceptionHandling/02.EnterNumbers/EnterNumbers.cs | zvet80/TelerikAcademy | 0 | 7064625 | //Problem 2. Enter numbers
//Write a method ReadNumber(int start, int end) that enters an integer number in a given range [start…end].
//If an invalid number or non-number text is entered, the method should throw an exception.
//Using this method write a program that enters 10 numbers: a1, a2, … a10, such that 1 < a1 ... |
stellar-dotnet-sdk/responses/results/ChangeTrustSelfNotAllowed.cs | mootz12/dotnet-stellar-sdk | 100 | 7064626 | <reponame>mootz12/dotnet-stellar-sdk<filename>stellar-dotnet-sdk/responses/results/ChangeTrustSelfNotAllowed.cs
namespace stellar_dotnet_sdk.responses.results
{
/// <summary>
/// Trusting self is not allowed.
/// </summary>
public class ChangeTrustSelfNotAllowed : ChangeTrustResult
{
}
} |
src/tests/graphql-aspnet-tests/Internal/Templating/InterfaceTestData/ISimpleInterface.cs | NET1211/aspnet-archive-tools | 22 | 7064627 | <gh_stars>10-100
// *************************************************************
// project: graphql-aspnet
// --
// repo: https://github.com/graphql-aspnet
// docs: https://graphql-aspnet.github.io
// --
// License: MIT
// *************************************************************
namespace GraphQL.AspNet.Test... |
METHODS/Exercise 6 Middle Characters/Program.cs | danailstratiev/Csharp-SoftUni-Tech-Module | 2 | 7064628 | using System;
using System.Linq;
using System.Collections.Generic;
namespace Exercise_6_Middle_Characters
{
class Program
{
static void Main(string[] args)
{
string word = Console.ReadLine();
if (word.Length % 2 == 0)
{
Console.WriteLine($... |
src/System.ComponentModel.TypeConverter/tests/Design/MenuCommandTests.cs | vkvenkat/corefx | 2 | 7064629 | // 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.
using System.Collections.Generic;
using Xunit;
namespace System.ComponentModel.Design.Tests
{
public class Men... |
src/Aguacongas.FootballChampionship/Localization/Resources.cs | aguacongas/football-championship | 4 | 7064630 | <gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
namespace Aguacongas.FootballChampionship.Localization
{
public class Resources : IReadOnlyDictionary<string, string>, IResources
{
private re... |
Services/JobService.cs | TrackDatRO/RepairOrderTracker-DBServer | 1 | 7064632 | using MongoDB.Bson;
using MongoDB.Driver;
using RepairOrderTrakerAPI.Models;
using RepairOrderTrakerAPI.Settings;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace RepairOrderTrakerAPI.Services
{
public class JobService
{
#region - Fields & Properti... |
DLLInjectorCS/DLLInjectorCS/Program.cs | ddjanic/libInject | 0 | 7064633 | <reponame>ddjanic/libInject
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.Diagnostics;
namespace DLLInjectorCS
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAT... |
src/Test/AlexanderOnTest.NetCoreWebDriverFactory.UnitTests/DriverOptionsFactory/StaticDriverOptionsFactoryCultureTests.cs | AlexanderOnTesting/NetCoreWebDriverFactory | 1 | 7064634 | <reponame>AlexanderOnTesting/NetCoreWebDriverFactory<gh_stars>1-10
// <copyright>
// Copyright 2018 <NAME>
//
// 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.o... |
aspnet-core/src/Lesson.Application/Domain/Homework/Dto/HomeworkFullOutPut.cs | bsogulcan/LessonCore | 1 | 7064635 | using Abp.Domain.Entities;
using Lesson.Authorization.Users;
using Lesson.Domain.Dto;
using Lesson.Domain.Lesson.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lesson.Domain.Homework.Dto
{
public class HomeworkFullOutPut:Entity<in... |
Metis.Application/ViewModels/BaseViewModel.cs | alexnoddings/TowerUnitePlayer | 0 | 7064636 | <filename>Metis.Application/ViewModels/BaseViewModel.cs
using System;
using System.Reflection;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Ioc;
namespace Metis.Application.ViewModels
{
internal class BaseViewModel : ViewModelBase
{
private const BindingFlags BindingAttr = BindingFlags.Instance ... |
src/MySqlSharp/MySqlDriver.cs | neuecc/MySqlSharp | 55 | 7064637 | <gh_stars>10-100
using MySqlSharp.Internal;
using MySqlSharp.Protocol;
using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Threading.Tasks;
namespace MySqlSharp
{
// TODO:API...?
public class MySqlDriver : IDisposable
{
MySqlConnectionOptions options;
... |
Assets/Editor/AnimationCompressor/Scripts/AnimationCompressor.Util.cs | fish-ken/unity-animation-compressor | 1 | 7064638 | using System.Text;
using System.Text.RegularExpressions;
using UnityEditor;
using UnityEngine;
namespace AnimationCompressor
{
public static class Util
{
/// <summary>
/// Get animation curve's path depth
/// </summary>
/// <param name="path"></param>
/// <returns></retu... |
eLibrary/eLibrary/Services/Interfaces/IPrijedlogKnjigeService.cs | AlmirJusic/eLibrary | 0 | 7064639 | using eLibrary.Model.Requests.PrijedlogKnjige;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace eLibrary.Services.Interfaces
{
public interface IPrijedlogKnjigeService : ICRUDService<Model.PrijedlogKnjige, PrijedlogKnjigeSearchRequest, PrijedlogKnjigeInser... |
Shadowsocks-Net/Minimal/Shadowsocks-Minimal-CrossPlatform-Local/Program.cs | willhuo/Shadowsocks-Net | 0 | 7064640 | /*
* Shadowsocks-Net https://github.com/shadowsocks/Shadowsocks-Net
*/
using System;
using System.Net;
using System.Net.Sockets;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Concurrent;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Configura... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.