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 |
|---|---|---|---|---|
AGSTools/POFormat.cs | Taktloss/AGS_TranslationEditor | 1 | 7053312 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
namespace AGSTools
{
public static class POFormat
{
public static void CreatePO(string filename, Dictionary<string, string> data)
{
using (StreamWriter sw = new... |
Gu.Roslyn.Asserts/MetadataReferences/MetadataReferenceComparer.cs | GuOrg/Gu.Roslyn.Asserts | 15 | 7053313 | <gh_stars>10-100
namespace Gu.Roslyn.Asserts
{
using System;
using System.Collections.Generic;
using Microsoft.CodeAnalysis;
/// <summary>
/// An <see cref="IEqualityComparer{T}"/> for <see cref="MetadataReference"/>.
/// </summary>
internal sealed class MetadataReferenceComparer : IEquali... |
CS/JsonDataManager.cs | Auer111/Maestro | 0 | 7053314 | <reponame>Auer111/Maestro<filename>CS/JsonDataManager.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Diagnostics;
using Maestro.Models;
using System.IO;
using Newtonsoft.Json;
namespace Maestro.CS
{
public class JsonDataManager
{
//Val... |
Ext-Strings-and-Text-Processing-Lab/palindrom/palindrom.cs | karaivanska/Programming-Fundamentals | 0 | 7053315 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
class palindrom
{
static void Main()
{
string[] tokens = Console.ReadLine()
.Split(new string[] {",", " ", ".", "!", "?"}, StringSplitOptions.RemoveEm... |
src/gpuNoise/modules/constant.cs | bholcomb/gameEngine | 9 | 7053316 | using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using OpenTK;
using OpenTK.Graphics;
using OpenTK.Graphics.OpenGL;
using Graphics;
using Util;
using Lua;
namespace GpuNoise
{
public class Constant : Module
{
public float val = 0.5f;
float lastVal = -1.0f;
public... |
Samples/1.x/Presence/PresenceGrainInterfaces/IPresenceGrain.cs | JohnDebono/orleans | 17 | 7053317 | using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Orleans;
using Orleans.Concurrency;
namespace Orleans.Samples.Presence.GrainInterfaces
{
/// <summary>
/// Defines an interface for sending binary updates without knowing the specific game ID.
/// Simulat... |
UI-MVC/Views/Ticket/Details.cshtml | anerach/SupportCenter-Dapper | 0 | 7053318 | @model SC.BL.Domain.Ticket
@{
ViewBag.Title = "Details";
}
<h2>Details</h2>
<div>
<h4>Ticket</h4>
<hr />
<dl class="dl-horizontal">
<dt>
@Html.DisplayNameFor(model => model.TicketNumber)
</dt>
<dd>
@Html.DisplayFor(model => model.TicketNumber)
... |
ALinq/Oracle/OracleKeywords.cs | maishumaishu/ALinq | 38 | 7053319 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ALinq.SqlClient;
namespace ALinq.Oracle
{
class OracleKeywords : Keywords
{
public OracleKeywords()
{
base.AddRange(new[] { "KEY", "VALUE", "TEST" });
base.AddRange(new[] { "ACC... |
00.NLib/NLib/Utils/Win32/Timers.cs | chumpon-asaneerat/DMT.TA.TODv3 | 0 | 7053320 | <filename>00.NLib/NLib/Utils/Win32/Timers.cs
#region History
#if HISTORY_COMMENT
// <[History]>
Update 2015-01-07
=================
- Add High Performance Timers class.
- Add NStopWatch class.
- Add MicroStopWatch class.
- Add MicroTimer class and related delegate/event args class.
===========================... |
AlphaWebCommodityBookkeeping/Areas/MDEntities/Controllers/ExcellImportController.cs | alphascorehr/AsBookKeeping | 0 | 7053321 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using BusinessObjects.MDEntities;
using Csla.Web.Mvc;
using BusinessObjects.Security;
using Csla.Data;
using DevExpress.Web.Mvc;
using DevExpress.Web.ASPxUploadControl;
using System.Drawing;
using System.Web.UI;
... |
src/EntityFrameworkCore.Extensions.Events/IEventHandler.cs | kluhman/EntityFrameworkCore.Extensions.Events | 0 | 7053322 | using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.ChangeTracking;
namespace EntityFrameworkCore.Extensions.Events
{
public interface IEventHandler
{
void OnInserting(DbContext context, EntityEntry entry);
void OnInserted(DbContext context, EntityEntry entry);
voi... |
new-client-subhamoy/new-client-subhamoy/DM1/DM1/Globals.cs | subhamoykarmakar224/DM_v2 | 0 | 7053323 | <filename>new-client-subhamoy/new-client-subhamoy/DM1/DM1/Globals.cs<gh_stars>0
using DM1.utils;
using System;
using System.Collections.Generic;
using System.Text;
namespace DM1
{
public static class Globals
{
public static String URI_NAME = "http://192.168.0.4:18001"; // Modifiable
public sta... |
src/Verify.Tests/Snippets/ComparerSnippets.cs | CyberFlameGO/Verify | 21 | 7053324 | <gh_stars>10-100
#if DEBUG
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using VerifyTests;
using VerifyXunit;
using Xunit;
[UsesVerify]
public class ComparerSnippets
{
#region InstanceComparer
[Fact]
public Task InstanceComparer()
{
var sett... |
Src/SwqlStudio/ObjectExplorer/ImageKeys.cs | AnaCr/OrionSDK | 0 | 7053325 | using SwqlStudio.Metadata;
namespace SwqlStudio
{
internal class ImageKeys
{
internal const string Database = "Database";
internal const string Namespace = "Namespace";
internal const string Verb = "Verb";
internal const string Argument = "Argument";
internal const stri... |
test/ZendeskApi.Client.Tests/ResourcesSampleSites/Ticket/DeletedTicketResourceSampleSite.cs | Ud0o/ZendeskApiClient | 61 | 7053326 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using AutoMapper;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing;
using Microsoft.Extensions.DependencyInjection;
using ZendeskApi.Client.Models;
us... |
Musical_WebStore_BlazorApp/Server/Controllers/ChatsController.cs | Burion/AdminMS | 0 | 7053327 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Musical_WebStore_BlazorApp.Shared;
using Musical_WebStore_BlazorApp.Client;
using Musical_WebStore_BlazorApp.Server.Data;
using Microsoft.EntityFramewor... |
src/Venues.Services/Integration Events/Inbound/EventCanceledIntegrationEvent.cs | pingdong/newmoon.places.serverless | 2 | 7053328 | <gh_stars>1-10
using PingDong.Messages;
using System;
namespace PingDong.Newmoon.Venues.Services.IntegrationEvents
{
public class EventCanceledIntegrationEvent : IntegrationEvent
{
public EventCanceledIntegrationEvent(Guid eventId, Guid venueId)
{
EventId = eventId;
Ven... |
NActiviti/Sys.Bpm.Engine/Engine/impl/DataObjectImpl.cs | zhangzihan/nactivity | 62 | 7053329 | /* 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 writing, software
* distribu... |
test/EScooter.Monitor.ManageTelemetryUpdates.UnitTests/ConversionTest.cs | e-scooter-2077/scooter-monitor.manage-telemetry-updates | 0 | 7053330 | <gh_stars>0
using Shouldly;
using System;
using Xunit;
namespace EScooter.Monitor.ManageTelemetryUpdates.UnitTests
{
public class ConversionTest
{
[Fact]
public void ConvertSpeed()
{
double speedInKmH = ConverterUtils.ConvertSpeed(10);
speedInKmH.ShouldBe(36);
... |
data/test/csharp/de49ff55b65980af1ef18e26c45a9e77115cfe88UnitOfWork.cs | aliostad/deep-learning-lang-detection | 84 | 7053331 | <gh_stars>10-100
using KiddyShop.Account;
using KiddyShop.Account.Repositories;
using KiddyShop.Application;
using KiddyShop.Community;
using KiddyShop.Application.Repositories;
using KiddyShop.Data.EntityFramework;
using KiddyShop.Domain;
using KiddyShop.Messaging;
using KiddyShop.Messaging.Repositories;
using System... |
SimpleTv.Sdk/SimpleTvClient.cs | codethug/SimpleTv | 3 | 7053332 | using System.Collections.Generic;
using NodaTime;
using SimpleTv.Sdk.Models;
using SimpleTv.Sdk.Http;
using SimpleTv.Sdk.Diagnostics;
using System;
using System.IO;
using SimpleTv.Sdk.Naming;
using System.Linq;
namespace SimpleTv.Sdk
{
public class SimpleTvClient
{
private ISimpleTvHttpClient tvHttp... |
code/ui/DetectionWorldPanel.cs | yoranmandema/sbox-heist | 2 | 7053333 | <filename>code/ui/DetectionWorldPanel.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sandbox;
using Sandbox.UI;
using Sandbox.UI.Construct;
class DetectionWorldPanel : WorldPanel
{
public DetectionWorldPanel()
{
StyleSheet.Load( "/ui/D... |
Assets/Plugins/Pixel Crushers/Dialogue System/Templates/Scripts/Editor/ConverterWindowTemplate.cs | rin6321910/Github-GameOff-2021 | 1 | 7053335 | /* [REMOVE THIS LINE]
* [REMOVE THIS LINE] To use this template, make a copy and remove the lines that start
* [REMOVE THIS LINE] with "[REMOVE THIS LINE]". Then add your code where the comments indicate.
* [REMOVE THIS LINE]
using UnityEngine;
using UnityEditor;
using System.IO;
using System.Xml;
using System.Xm... |
ZhikeStreet.Models/DO/MyFavorites.cs | zhikecore/zhikestreet | 0 | 7053336 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ZhikeStreet.Models.DO
{
public class MyFavorites
{
public int Id { get; set; }
public int UserId { get; set; }
public int FieldId { get; set; }
public D... |
Src/IntegrationPackage/Adornment.cs | Acidburn0zzz/clide | 0 | 7053337 | using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Utilities;
using System;
using System.ComponentModel.Composition;
using System.Diagnostics;
namespace IntegrationPackage
{
[ExportMetadata("IsClide", true)]
[Export(typeof(IWpfTextViewCreationListener))]
[ContentType("text")]
[Text... |
Assets/NPC/NPC.cs | kenshen112/Unity-Rpg | 12 | 7053338 | <gh_stars>10-100
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NPC : MonoBehaviour
{
NPCManager NpcM;
NPCData NpcData;
public int NpcID;
GameManager manager;
DialogueManager Dialogue;
public GameObject SpeakerProfile;
bool collided;
privat... |
src/NRules/NRules.RuleModel/ForAllElement.cs | jmptrader/NRules | 1,318 | 7053339 | using System.Collections.Generic;
namespace NRules.RuleModel
{
/// <summary>
/// Universal quantifier.
/// </summary>
public class ForAllElement : RuleElement
{
private readonly List<PatternElement> _patterns;
internal ForAllElement(PatternElement source, IEnumerable<PatternElemen... |
src/core/Wyam.Hosting/LiveReload/LiveReloadServer.cs | glennawatson/Wyam | 1 | 7053340 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net.WebSockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using Wyam.Hosting.LiveRe... |
Services/PlanService.cs | Moviles-GoingTo/api | 0 | 7053341 | <filename>Services/PlanService.cs
using GoingTo_API.Domain.Models.Business;
using GoingTo_API.Domain.Repositories;
using GoingTo_API.Domain.Repositories.Business;
using GoingTo_API.Domain.Services.Business;
using GoingTo_API.Domain.Services.Communications;
using System;
using System.Collections.Generic;
using System.L... |
ClientTest/NetHeaderTest.cs | pubsubsql/dotnet | 0 | 7053342 | <filename>ClientTest/NetHeaderTest.cs
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace PubSubSQLTest
{
[TestClass]
public class NetHeaderTest
{
[TestMethod]
public void TestWriteRead()
{
PubSubSQL.NetHeader header1 = new PubSubSQL.N... |
src/Models/HtmlAttributes/Specific/HtmlDirAttribute.cs | atanasgalchov/AgileDotNetHtml | 0 | 7053343 | <gh_stars>0
using AgileDotNetHtml.Attributes;
namespace AgileDotNetHtml.Models.HtmlAttributes
{
[HtmlAttributeClass("dir")]
public class HtmlDirAttribute : HtmlAttribute
{
/// <summary>
/// Initialize a new instance of AgileDotNetHtml.Models.HtmlAttributes.HtmlDirAttribute class represent HTML dir attribute.
... |
src/Akka.MultiNode.TestAdapter.Tests/Helpers/FakeFrameworkHandler.cs | Aaronontheweb/Akka.MultiNodeTestRunner | 6 | 7053344 | using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestPlatform.ObjectModel;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Logging;
namespace Akka.MultiNode.TestAdapter.Tests.Helpers
{
/// <summary>
/// Fake to pas... |
MyBlog.Web/Views/Admin/Index.cshtml | NobleKiss/MyBlog.NetCore | 0 | 7053345 | @* 管理主页 *@
@{
Layout = "_AdminLayout";
ViewBag.Title = "管理";
}
<link href="/css/Admin/index.css" rel="stylesheet" />
<header id="header">
<a id="loginOut" href="/Admin/LoginOut">
<i class="glyphicon glyphicon-log-out"></i>退出登录
</a>
</header>
<div class="container">
<div class="row">
... |
AngleSharp/Network/IDocumentLoader.cs | Livven/AngleSharp | 0 | 7053346 | <filename>AngleSharp/Network/IDocumentLoader.cs
namespace AngleSharp.Network
{
using System.Threading;
using System.Threading.Tasks;
/// <summary>
/// Interface used to handle top-level document requests. These requests
/// include navigation tasks.
/// </summary>
public interface IDocumen... |
Assets/FluxusPulse/Scripts/NewStuff/ComponentDestroyer.cs | MBreakdown/FluxusPulse | 0 | 7053347 | <gh_stars>0
using UnityEngine;
public class ComponentDestroyer : MonoBehaviour
{
public Object[] objectsToDestroy;
public float delay = 0.0f;
public bool destroyOnAwake = false;
public void DestroyObjects()
{
if (delay != 0.0f)
{
foreach (var obj in objectsToDestroy)
{
Destroy(obj, delay);
}
... |
Library/General/BunnyHope.cs | FreddyFox1/CSGO-ExternalCheat | 3 | 7053348 | <gh_stars>1-10
using Engine.Globals;
using System;
using System.Threading;
namespace Engine.General
{
/// <summary>
/// Отвечает за безошбочные прыжки по карте, позволяет намного быстрее передвигаться по карте
/// </summary>
public static class BunnyHope
{
public static void On(BaseVars ba... |
NScrape.Test.Common/NScrapeExtensionTests.cs | darrylwhitmore/NScrape | 55 | 7053349 | <filename>NScrape.Test.Common/NScrapeExtensionTests.cs
using System.Net;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace NScrape.Test {
public class NScrapeExtensionTests {
[Fact]
public async Task GetEncodingTest() {
var request = System.Net.WebRequest.Create( "https://www.wikipedia.o... |
Samples/CompilationIntegration/AgentIntegration.cs | slodge/workbooks | 415 | 7053350 | //
// Author:
// <NAME> <<EMAIL>>
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.IO;
using System.Linq;
using Mono.Cecil;
using Mono.Cecil.Cil;
using Xamarin.Interactive;
using Xamarin.Interactive.CodeAnalysis;
using Xamarin.Interactive... |
System.Data/cdf/src/NetFx40/Tools/System.Activities.Presentation/System/Activities/Presentation/WorkflowFileItem.cs | cnork/referencesource | 911 | 7053351 | <reponame>cnork/referencesource<filename>System.Data/cdf/src/NetFx40/Tools/System.Activities.Presentation/System/Activities/Presentation/WorkflowFileItem.cs
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//--------------------------------... |
Teacher/Teacher.Website/Feature/Interview/Category/Update/Command.cs | PiotrWandycz/Teacher | 1 | 7053352 | <reponame>PiotrWandycz/Teacher
using MediatR;
namespace Teacher.Website.Feature.Interview.Category.Update
{
public class Command : IRequest
{
public ViewModel.CategoryInputModel Category { get; set; }
}
} |
src/testing/TestBusinessLogic/WaveTestSite/Controllers/IntegrationTester.cs | JohnPKosh/azos | 183 | 7053353 | /*<FILE_LICENSE>
* Azos (A to Z Application Operating System) Framework
* The A to Z Foundation (a.k.a. Azist) licenses this file to you under the MIT license.
* See the LICENSE file in the project root for more information.
</FILE_LICENSE>*/
using System;
using System.Collections.Generic;
using System.IO;
using Sy... |
DataAccess/Fabi.Rest.Api.DataAccess/Context/SalesContext.cs | fschneider1509/Fabi.Rest.Api | 0 | 7053354 | <filename>DataAccess/Fabi.Rest.Api.DataAccess/Context/SalesContext.cs
using System;
using Fabi.Rest.Api.DataAccess.Models;
using Fabi.Rest.Api.Logging.Logging;
using Microsoft.EntityFrameworkCore;
namespace Fabi.Rest.Api.DataAccess.Context
{
public class SalesContext : DbContextBase
{
public SalesConte... |
test/Anf.Easy.Test/Downloading/DownloadBoxTest.cs | Cricle/Anf-team | 0 | 7053355 | <reponame>Cricle/Anf-team
using Anf.Easy.Downloading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
namespace Anf.Easy.Test.Downloading
{
[TestClass]
public class DownloadBoxTest
{... |
Core/OfficeDevPnP.Core.Tests/Framework/Connectors/ConnectorAzureTests.cs | SuleymanA/PnP-Sites-Core | 1 | 7053356 | <filename>Core/OfficeDevPnP.Core.Tests/Framework/Connectors/ConnectorAzureTests.cs
using Microsoft.SharePoint.Client;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.WindowsAzure.Storage;
using Microsoft.WindowsAzure.Storage.Blob;
using OfficeDevPnP.Core.Framework.Provisioning.Connectors;
using Sys... |
CMSComponents/BaseCmsComponent.cs | ninianne98/CarrotCakeCMS-MVC | 29 | 7053357 | <reponame>ninianne98/CarrotCakeCMS-MVC
using Carrotware.CMS.Core;
using Carrotware.Web.UI.Components;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
/*
* CarrotCake CMS (MVC5)
* http://www.carrotware.com/
*
* Copyright 2015, <NAME>
* Dual licensed under the MIT or GP... |
Wrapper.Spacy/PythonRuntimeUtils.cs | jesusSerranoCarballido/TFM | 0 | 7053359 | using System;
using System.Diagnostics;
using System.IO;
using Python.Runtime;
namespace Wrapper.Spacy
{
public static class PythonRuntimeUtils
{
/// <summary>
/// Python.NET project provides a WIKI to initialize the library using virtual environments. See:
/// https://github.com/p... |
Source/VncSharp/Encodings/EncodedRectangle.cs | RisesunStudios/Terminals | 1,178 | 7053360 | // VncSharp - .NET VNC Client Library
// Copyright (C) 2008 <NAME>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version... |
src/JnbBudgetApi/Infrastructure/Domain/Entities/MonthlyBudget.cs | josephbales/JnbBudgetApi | 0 | 7053361 | <reponame>josephbales/JnbBudgetApi<filename>src/JnbBudgetApi/Infrastructure/Domain/Entities/MonthlyBudget.cs
using JnbBudgetApi.Infrastructure.Entities.Base;
using System.Collections.Generic;
namespace JnbBudgetApi.Infrastructure.Domain.Entities
{
public class MonthlyBudget : BaseEntity
{
public int M... |
RunTime/Debug/Component/DebuggerImage.cs | saicom/HTFramework | 0 | 7053362 | <gh_stars>0
using UnityEngine;
using UnityEngine.UI;
namespace HT.Framework
{
[CustomDebugger(typeof(Image))]
public sealed class DebuggerImage : DebuggerComponentBase
{
private Image _target;
public override void OnEnable()
{
_target = Target as Image;
}
... |
src/Orc.Controls/Controls/Callout/Views/Callout.xaml.cs | Orcomp/Orc.Controls | 171 | 7053363 | <filename>src/Orc.Controls/Controls/Callout/Views/Callout.xaml.cs
namespace Orc.Controls
{
using System;
using System.Windows;
using System.Windows.Controls.Primitives;
using System.Windows.Input;
using System.Windows.Markup;
using Catel.Logging;
using Catel.MVVM.Views;
[ContentProper... |
01. Programming Basics/06.4. EXAM- While-Loops/04. Darts/Program.cs | GeorgiGradev/SoftwareUniversity | 7 | 7053364 | <reponame>GeorgiGradev/SoftwareUniversity
using System;
namespace _04._Darts
{
class Program
{
static void Main(string[] args)
{
string playerName = Console.ReadLine();
string shot = Console.ReadLine();
int points = 0;
int totalPoints = 0;
... |
Engine/Plugins/UnrealCS/UECSharpDomain/UnrealEngine/GeneratedScriptFile_Editor_64bits/FRawDistributionFloat.cs | RobertAcksel/UnrealCS | 1 | 7053365 | #if WITH_EDITOR
#if PLATFORM_64BITS
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace UnrealEngine
{
[StructLayout(LayoutKind.Explicit,Size=56)]
public partial struct FRawDistributionFloat
{
[FieldOffset(40)]
public float MinValue;
[FieldOffset(44)]
public f... |
pt9.2d/9.2d/Nightmaher.Tests/TestIdentifiableObject.cs | Mikanwolfe/object-oriented-programming | 0 | 7053366 | using System;
using System.Collections.Generic;
using System.Text;
using Nightmaher.Core;
using NUnit.Framework;
namespace Nightmaher.Tests
{
[TestFixture]
class TestIdentifiableObject
{
IdentifiableObject io = new IdentifiableObject(new string[] { "person", "bob" });
[Test]
publ... |
src/W8lessLabs.GraphAPI/Model/Shared.cs | jburman/W8lessLabs.GraphAPI | 1 | 7053367 | using System;
namespace W8lessLabs.GraphAPI
{
public class Shared
{
public IdentitySet Owner { get; set; }
public string Scope { get; set; }
public IdentitySet SharedBy { get; set; }
public DateTimeOffset SharedDateTime {get;set; }
}
}
|
BL/Vm/AlumnoVm.cs | lizelaser/MPB | 0 | 7053368 | <filename>BL/Vm/AlumnoVm.cs
using DA;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace BL
{
public class AlumnoVm: Alumno
{
public string AlumnoNombres { get; set; }
}
}
|
samples/Sample.RabbitMQ.Postgres.DashboardAuth/Controllers/ValuesController.cs | mertyildiz41/CAP | 1 | 7053369 | <gh_stars>1-10
using System;
using System.Threading.Tasks;
using DotNetCore.CAP;
using DotNetCore.CAP.Messages;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace Sample.RabbitMQ.Postgres.DashboardAuth.Controllers
{
[Authorize]
[Route("api/[... |
SEdit/Scripts/SEdit/SceneSearcher.cs | gidHog/SEdit | 0 | 7053370 | <filename>SEdit/Scripts/SEdit/SceneSearcher.cs
using Owlcat.Runtime.Core.Logging;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace OwlcatModification.Modifications.SEdit
{
public class SceneSearcher : MonoBehaviou... |
src/MiniProfiler.EF6/EFProfiledDbProviderServices.cs | GuruCharan94/dotnet | 1 | 7053371 | <filename>src/MiniProfiler.EF6/EFProfiledDbProviderServices.cs
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Data.Entity.Core.Common;
using System.Data.Entity.Core.Common.CommandTrees;
using System.Data.Entity.Core.Metadata.Edm;
using System.Data.Entity.Spatial;
namespace Stac... |
cleanCore/WoWUnit.cs | BuloZB/cleanCore | 6 | 7053372 | using System;
using System.Runtime.InteropServices;
namespace cleanCore
{
public class WoWUnit : WoWObject
{
[UnmanagedFunctionPointer(CallingConvention.ThisCall)]
private delegate bool HasAuraDelegate(IntPtr thisObj, int spellId);
private static HasAuraDelegate _hasAura... |
libtysila5/cil/Opcode.cs | jncronin/tysila | 6 | 7053373 | /* Copyright (C) 2008 - 2016 by <NAME>
*
* 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, modify, merge,... |
_no_namespace/GenericPoser.Map.cs | SinsofSloth/RF5-global-metadata | 1 | 7053374 | <gh_stars>1-10
[Serializable]
public class GenericPoser.Map // TypeDefIndex: 9527
{
// Fields
public Transform bone; // 0x10
public Transform target; // 0x18
private Vector3 defaultLocalPosition; // 0x20
private Quaternion defaultLocalRotation; // 0x2C
// Methods
// RVA: 0x2B2F990 Offset: 0x2B2FA91 VA: 0x2B2F9... |
Assets/Scripts/Network/PlayerNetworking.cs | jackyangzzh/Poly-Space-VR | 1 | 7053375 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Photon.Pun;
using UnityEngine.XR.Interaction.Toolkit;
using TMPro;
public class PlayerNetworking : MonoBehaviourPunCallbacks
{
[SerializeField] GameObject localXRRig;
[SerializeField] GameObject mainAvatar;
[SerializeFie... |
src/htbox/App_Code/Benthos.Web.cshtml | joelhulen/htbox-website | 26 | 7053376 | @using System.Web.Mvc
@helper AlertBox(TempDataDictionary tempData) {
var alertkey = tempData.Keys.FirstOrDefault(key => key.StartsWith("alert-"));
if (alertkey == null) {
return;
}
<div class="alert @alertkey alert-dismissable">
<button type="button" class="close" data-dismiss="a... |
OdinUndercroft.cs | GraveofBears/OdinUndercroft-New | 0 | 7053377 | using System.IO;
using BepInEx;
using BepInEx.Configuration;
using HarmonyLib;
using PieceManager;
using ServerSync;
namespace OdinUndercroft
{
[BepInPlugin(HGUIDLower, ModName, version)]
public class OdinUndercroftPlugin : BaseUnityPlugin
{
public const string version = "1.1.8";
public co... |
Firm_Register/Data/AppDbContext.cs | banano-man/company-register | 4 | 7053378 | using Firm_Register.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Firm_Register.Data
{
public class AppDbContext : DbContext
{
public AppDbContext(DbContextOptions<AppDbContext> options) : base(op... |
src/CutCode.CrossPlatform/Views/FavoritesView.axaml.cs | CutCode-org/CutCode | 2 | 7053379 | <filename>src/CutCode.CrossPlatform/Views/FavoritesView.axaml.cs
using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using Avalonia.ReactiveUI;
using CutCode.CrossPlatform.ViewModels;
namespace CutCode.CrossPlatform.Views
{
public class FavoritesView : ReactiveUserControl<FavoritesViewModel>
... |
src/net45/Tests/WampSharp.Tests/DispatchTests.cs | Jopie64/WampSharp | 361 | 7053380 | <reponame>Jopie64/WampSharp
using System.Linq;
using Moq;
using Newtonsoft.Json.Linq;
using NUnit.Framework;
using WampSharp.Core.Dispatch;
using WampSharp.Core.Dispatch.Handler;
using WampSharp.Core.Serialization;
using WampSharp.Newtonsoft;
using WampSharp.V1.Core.Contracts;
namespace WampSharp.Tests
{
[TestFix... |
Astrolabe/Routing/RoutingResult.cs | ismiller/astrolabe | 0 | 7053381 | <reponame>ismiller/astrolabe
using Astrolabe.Routing.Abstraction;
using Astrolabe.ViewModels;
namespace Astrolabe.Routing
{
/// <inheritdoc />
public class RoutingResult : IRoutingResult
{
#region Private Fields
private readonly INavigatable _navigatable;
#endregion Private Field... |
AppSettings/AppSettingsConfigurationSource.cs | nemec/smartconf.sources | 1 | 7053382 | <filename>AppSettings/AppSettingsConfigurationSource.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
namespace SmartConf.Sources.AppSettings
{
public class AppSettingsConfigurationSource<T> : IConfigurationSource<T> where T : class, new()
{
p... |
translate/api/TranslateV3Samples/DetectLanguage.cs | copans219/dotnet-docs-samples | 0 | 7053383 | <gh_stars>0
// Copyright 2019 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... |
Framework/essentialMix.Windows/Extensions/IWin32WindowExtension.cs | asm2025/asm | 0 | 7053384 | using System;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using JetBrains.Annotations;
// ReSharper disable once CheckNamespace
namespace essentialMix.Extensions
{
public static class IWin32WindowExtension
{
public static void Activate([NotNull] this I... |
Hubs/ebook/LogPlayer.cs | jhuang101/eDocumentReader | 3 | 7053385 | <reponame>jhuang101/eDocumentReader
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.IO;
using System.Diagnostics;
using System.Threading;
using System.Speech.Recognition;
using eDocumentReader.Hubs.activities.system.lightweight;
namespace eDocumentReader.Hubs
{
pub... |
src/IX.Math/StaticVariableValue.cs | adimosh/IX.Math | 2 | 7053386 | <filename>src/IX.Math/StaticVariableValue.cs<gh_stars>1-10
// <copyright file="StaticVariableValue.cs" company="<NAME>">
// Copyright (c) <NAME> with all rights reserved. Part of the IX Framework.
// </copyright>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using IX... |
Master/Appleseed/Projects/PortableAreas/HostWebSite/Controllers/HomeController.cs | wforney/portal | 12 | 7053387 | <reponame>wforney/portal
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace HostWebSite.Controllers
{
[HandleError]
public class HomeController : Controller
{
public ActionResult Index()
{
ViewData["Message"] = "... |
EArchive/EArsiv/eArsivRaporuMustahsilMakbuzYnOkcFisBilgisiFisTip.cs | soyhanbeyazit/EArchive | 1 | 7053388 | <gh_stars>1-10
namespace EArchive.EArsiv
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://earsiv.efatura.gov.tr")]
public enum eArsivRaporuMustahsilMakbuzYnOkcFisB... |
Assets/Scripts/Entities/Armory/Weapon.cs | Aarif123456/GoalOrientedBehaviour | 0 | 7053389 | <reponame>Aarif123456/GoalOrientedBehaviour<filename>Assets/Scripts/Entities/Armory/Weapon.cs<gh_stars>0
using Common;
using Entities.Triggers;
using GameWorld.Managers;
using UnityEngine;
using Utility.Fuzzy;
namespace Entities.Armory {
public abstract class Weapon {
protected int activeProjectileCount;
... |
AspNetDeploy.Dapper/SourceRepository.cs | adoconnection/AspNetDeploy | 11 | 7053390 | <filename>AspNetDeploy.Dapper/SourceRepository.cs<gh_stars>10-100
using System.Collections.Generic;
using System.Linq;
using AspNetDeploy.Contracts;
using AspNetDeploy.Model;
using Dapper;
namespace AspNetDeploy.Dapper
{
public class SourceRepository
{
private readonly DapperDataContext dataContext;
... |
RiotGamesApi.Tests/Others/Tests/UsingStaticApiClass.cs | msx752/RiotGamesApi | 3 | 7053391 | using System.Collections.Generic;
using RiotGamesApi.AspNetCore;
using RiotGamesApi.Libraries.Enums;
using RiotGamesApi.Libraries.Lol.Enums;
using Xunit;
namespace RiotGamesApi.Tests.Others.Tests
{
public class UsingStaticApiClass : BaseTestClass
{
[Fact]
public void Using()
{
... |
Application/Services/UserService.cs | petar1808/Farmer | 0 | 7053392 | <filename>Application/Services/UserService.cs
using Application.Models.Users;
using AutoMapper;
using Microsoft.EntityFrameworkCore;
namespace Application.Services
{
public class UserService : IUserService
{
private readonly IFarmerDbContext farmerDbContext;
private readonly IMapper mapper;
... |
Src/Asp.Net/SqlServerTest/UnitTest/Models/T_BAS_AIRPORT.cs | sunkaixuan/SqlSugar | 3,640 | 7053393 | using System;
using System.Linq;
using System.Text;
using SqlSugar;
namespace ICrewApi.Entity
{
///<summary>
///机场信息
///</summary>
[SugarTable("T_BAS_AIRPORT")]
public partial class T_BAS_AIRPORT
{
public T_BAS_AIRPORT(){
}
/// <summary>
/// Desc:机... |
ClientService/Views/Home/Index.cshtml | ilovepilav/MovieDB-MultiAPI-CMS | 1 | 7053394 | @{
ViewBag.Title = "<NAME>";
}
<link rel="stylesheet" href="~/css/homepage.css" />
<div class="text-center">
<h1 class="display-4">Coming Soon</h1>
<p>Site is under construction..</p>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://sta... |
Source/Wrappers/mscorlib/System.Security.AccessControl.RawSecurityDescriptor.cs | RixianOpenTech/RxWrappers | 0 | 7053395 | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using MS.Core;
namespace System.Security.AccessControl
{
public static class __RawSecurityDescriptor
{
public static IObservable<System.Reactive.Unit> SetFlags(
this IObservabl... |
NPCs/Bosses/Okiku/FirstForm/DamnedSoul.cs | W1K1/tsorcRevamp | 0 | 7053396 | using System;
using Microsoft.Xna.Framework;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using tsorcRevamp.Projectiles.Enemy.Okiku;
namespace tsorcRevamp.NPCs.Bosses.Okiku.FirstForm
{
public class DamnedSoul : ModNPC
{
private bool initiate;
public int TimerHeal;
public float TimerAnim;
p... |
Entity/Extensions/RepositoryExtensions.cs | EdonGashi/Material.Data | 0 | 7053397 | using System;
using System.Collections.Generic;
using System.Data.Entity.Infrastructure;
using System.Linq;
namespace Material.Data.Entity
{
public static class RepositoryExtensions
{
public static IRepository<TEntity> ToRepository<TEntity>(this IRepository repository) where TEntity : class
{
... |
BenMAP/Tools/DatabaseExport2.cs | pjwilcoxen/BenMAP-CE | 13 | 7053398 | <reponame>pjwilcoxen/BenMAP-CE
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.IO;
using System.Runtime.Serialization.Formatters.Binary;
using DocumentFormat.OpenXml;
usin... |
Operate/Select.cs | PinaeOS/ndb-gui | 1 | 7053399 | <reponame>PinaeOS/ndb-gui
using System;
using System.Collections.Generic;
using System.Text;
namespace ndb4vs.Operate
{
class Select : Locator
{
private List<object> resultList = new List<object>(); //查询结果
public object Do(Dictionary<string, object> ndb, string path)
{
L... |
Hazel/MessageReader.cs | DaemonBeast/Singularity.Hazel | 0 | 7053400 | using System;
using System.Buffers.Binary;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Text;
using Microsoft.Extensions.ObjectPool;
using Singularity.Hazel.Api.Net.Messages;
using Singularity.Hazel.Api.Unity;
namespace Singularity.Hazel
{
public class MessageReader : IMessageReader
... |
specs/Foundation.Common/Service References/UtfService/Reference.cs | BillDinger/SCHackathon2016 | 4 | 7053401 | <gh_stars>1-10
//------------------------------------------------------------------------------
// <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
// the code is regenerated.
// </auto-... |
src/dotnetplugins/Bari.Plugins.Nuget/cs/Build/NugetReferenceBuilder.cs | gavrail/bari | 5 | 7053402 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Bari.Core.Build;
using Bari.Core.Build.Cache;
using Bari.Core.Generic;
using Bari.Core.Model;
using Bari.Core.UI;
using Bari.Plugins.Csharp.Model;
using Bari.Plugins.Nuget.Tools;
using Bari.Plugins.VsCore.Model;
n... |
PokeAbilities.Test/Passives/PassiveAbility_2270020Test.cs | TanaUmbreon/PokeAbilities | 0 | 7053403 | <reponame>TanaUmbreon/PokeAbilities
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using PokeAbilities.Bufs;
using PokeAbilities.Passives;
using PokeAbilities.Test.Helpers;
namespace PokeAbilities.Test.Passives
{
[TestFixture]
public class PassiveAbility_2270020Test
... |
src/Services/StockService.cs | scottaddie/OnDotNetConfiguration | 10 | 7053404 | <reponame>scottaddie/OnDotNetConfiguration
using BlazorServerConfiguration.Models;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
using System;
using System.Net.Http;
using System.Net.Http.Json;
using System.Threading.Tasks;
namespace BlazorServerConfiguration.Services
{
public cla... |
饥荒开服工具ByTpxxn/Class/Tools/CommonPath.cs | tpxxn/-ByTpxxn | 10 | 7053405 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace 饥荒开服工具ByTpxxn.Class.Tools
{
internal static class CommonPath
{
#region 字段、属性
/// <summary>
/// 存档根目录
/// </summary>
public static strin... |
ConfirmationReport.Test/ConfirmationReportWorkerCommandTests.cs | williamverdolini/ConfirmationReport | 0 | 7053406 | using System.Threading.Tasks;
using ConfirmRep.Infrastructure.Common;
using ConfirmRep.Models.Domain;
using ConfirmRep.Models.View;
using ConfirmRep.Repositories;
using ConfirmRep.ServiceWorkers;
using NSubstitute;
using NUnit.Framework;
namespace ConfirmRep.Test
{
[TestFixture]
public class ConfirmationRepor... |
MonsterValueCrew/MonsterValueCrew/Views/Account/Register.cshtml | MonsterValueCrew/MVCproject | 0 | 7053407 | @model MonsterValueCrew.Models.RegisterViewModel
@{
ViewBag.Title = "Register";
}
<section class="container">
<section class="row z-depth-3 shadow-container">
@using (Html.BeginForm("Register", "Account", FormMethod.Post, new { @class = "col s12", role = "form" }))
{
@Html.AntiForg... |
BookWeb/Server/Controllers/CalibreAPI/TagsController.cs | seantrace/BookWeb | 0 | 7053408 | <reponame>seantrace/BookWeb<filename>BookWeb/Server/Controllers/CalibreAPI/TagsController.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using LazyCache;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Entity... |
src/Torshify/Core/Native/NativeContainerPlaylist.cs | sourabh18102002/torshify | 8 | 7053409 | <reponame>sourabh18102002/torshify
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
using Torshify.Core.Managers;
namespace Torshify.Core.Native
{
internal class NativeContainerPlaylist : NativePlaylist, IContainerPlaylist
{
#region Fields
... |
SubloaderWpf/ViewModels/ViewModelBase.cs | Valyreon/Subloader | 62 | 7053410 | <filename>SubloaderWpf/ViewModels/ViewModelBase.cs
using System.ComponentModel;
namespace SubloaderWpf.ViewModels
{
public abstract class ViewModelBase : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
public void Set<T>(string propertyName, ref T field, T va... |
SparkyStudios.TrakLibrary/Impl/SecureStorageService.cs | TheLordBritish/trak-app | 1 | 7053411 | <filename>SparkyStudios.TrakLibrary/Impl/SecureStorageService.cs
using System;
using System.Threading.Tasks;
using SparkyStudios.TrakLibrary.Service;
using Xamarin.Essentials;
namespace SparkyStudios.TrakLibrary.Impl
{
public class SecureStorageService : IStorageService
{
public async Task<long> GetUs... |
Chat/ChatServer/Program.cs | fredimachado/TcpChat | 8 | 7053412 | // See https://aka.ms/new-console-template for more information
using ChatApi;
using ChatApi.Messages;
using ChatServer;
using System.Buffers;
using System.IO.Pipelines;
using System.Net;
using System.Net.Sockets;
using System.Text;
Console.WriteLine("Starting server...");
var connections = new ConnectionCollection(... |
Repository/AuthorRepository.cs | TeijiW/music-api | 0 | 7053413 | using System.Collections.Generic;
using Microsoft.EntityFrameworkCore;
using webapi.Context;
using webapi.Models;
namespace musics_api.Repository
{
public class AuthorRepository : Repository<Author>, IAuthorRepository
{
public AuthorRepository(DatabaseContext context) : base(context) { }
publ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.