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 |
|---|---|---|---|---|
source/ProtocolGenerator/Program.cs | vadik007/ChromeDevTools | 0 | 7036661 | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Text;
namespace MasterDevs.ChromeDevTools.ProtocolGenerator
{
internal class Program
{
private const string CommandA... |
Northwind.Data/Product.cs | achingono/Northwind.Web.WebPages | 1 | 7036662 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Northwind.Data
{
[Table("Products")]
public class Product
{
[Key]
[Column("Product ID")]
public int Id { get; set... |
TimeSeries/PublicApis/SdkExamples/TotalDischargeExternalProcessor/ExternalProcessor.cs | peterataylor/examples | 12 | 7036663 | <gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using Aquarius.TimeSeries.Client;
using Aquarius.TimeSeries.Client.Helpers;
using Aquarius.TimeSeries.Client.ServiceModels.Acquisition;
using Aquarius.TimeSeries.Clien... |
HubSpot.NET/Api/EmailEvents/Dto/EmailCampaignDataHubSpotModel.cs | roycornelissen/HubSpot.NET | 69 | 7036665 | <reponame>roycornelissen/HubSpot.NET<filename>HubSpot.NET/Api/EmailEvents/Dto/EmailCampaignDataHubSpotModel.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using HubSpot.NET.Core.Interfaces;
using HubSpot.NET.Core.JsonConverters;
using Newtonsoft.Json;
namespa... |
Runtime/Tracking/Collision/Active/ActiveCollisionsContainer.cs | Borck/Zinnia.Unity | 209 | 7036666 | namespace Zinnia.Tracking.Collision.Active
{
using Malimbe.BehaviourStateRequirementMethod;
using Malimbe.MemberClearanceMethod;
using Malimbe.PropertySerializationAttribute;
using Malimbe.XmlDocumentationAttribute;
using System;
using System.Collections.Generic;
using UnityEngine;
... |
Assets/2. Asset Management/Editor/FindReferences.cs | randalfien/unity-editor-scripting-tips | 5 | 7036667 | using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using UnityEditor;
using UnityEngine;
public class FindReferences
{
[MenuItem("Assets/Find References in Project",false, 28)] // With Assets/ here this will make it available on right click in Project window
privat... |
src/Curso.ITDeveloper.Mvc/Views/Cid/ArquivoInvalido.cshtml | andrewscristhian/ITDeveloper | 0 | 7036668 | <reponame>andrewscristhian/ITDeveloper
@{ ViewData["Title"] = "ArquivoInvalido"; }
<div class="row" style="margin-top: 12px;">
<div class="col-lg-12">
<p>
@Html.ActionLink("Home", "Index", "Home", null, new { @class = "btn btn-default" })
@Html.ActionLink("Voltar", "ImportarCid", "... |
WindowsExcel/WindowsExcel/DataMange.cs | meloht/DemoCode | 0 | 7036669 | using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace WindowsExcel
{
public class DataMange
{
public ResultData<DataItem> GetData(string sheetName, string path)
{
ResultData<DataItem> result ... |
yafsrc/ServiceStack.OrmLite/src/ServiceStack.OrmLite/OrmLiteConnectionFactory.cs | maxdm/YAFNET | 0 | 7036670 | <filename>yafsrc/ServiceStack.OrmLite/src/ServiceStack.OrmLite/OrmLiteConnectionFactory.cs
using System;
using System.Collections.Generic;
using System.Data;
namespace ServiceStack.OrmLite
{
/// <summary>
/// Allow for mocking and unit testing by providing non-disposing
/// connection factory with injecta... |
ProfileForm.cs | asakura89/Ooki | 0 | 7036671 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Windows.Forms;
using Aku;
namespace Ooki
{
public class ProfileForm : AkuForm
{
readonly Action<String> SelectedChangedAction;
public ProfileForm()
{
... |
Codeable.Foundation.Web.Common/Plugins/PluginConfig.cs | wmansfield/codeable-foundation | 1 | 7036672 | <reponame>wmansfield/codeable-foundation
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using System.IO;
using System.Reflection;
using System.ComponentModel;
namespace Codeable.Foundation.UI.Web.Common.Plugins
{
public class PluginConfig
... |
Cube3Editor/XmlToken.cs | buddybu/Cube3Editor | 5 | 7036673 | <filename>Cube3Editor/XmlToken.cs
///---------------------------------------------------------------------------
/// File Name: XmlToken.cs
/// Description: Represents an Xml token.
///
/// Author: <NAME>
/// Created: 26/12/2009
///---------------------------------------------------------------... |
src/Tests/Nodes/MapConventionsTests.cs | mikeobrien/Bender | 29 | 7036674 | <filename>src/Tests/Nodes/MapConventionsTests.cs
using System;
using Bender.Configuration;
using Bender.Nodes;
using NUnit.Framework;
using Should;
namespace Tests.Nodes
{
[TestFixture]
public class MapConventionsTests
{
private class MapException : Exception
{
pub... |
Tower Defense/Assets/Scripts/TileScripts/CoordinateLabel.cs | SokolyukMisha/TowerDefence | 0 | 7036675 | using TMPro;
using UnityEngine;
[ExecuteAlways]
[RequireComponent(typeof(TextMeshPro))]
public class CoordinateLabel : MonoBehaviour
{
Color defaultColor = Color.white;
Color blockedColor = Color.grey;
Color exploredColor = Color.yellow;
Color pathColor = Color.black;
TextMeshPro label;
Vector... |
RubySharp.Core/Utilities/UserDataUtility.cs | lihaochen910/RubySharp | 1 | 7036676 | namespace RubySharp.Core {
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Fasterflect;
/// <summary>
/// 导入C#类到RubySharpVM中的低性能实现
/// </summary>
public class UserDataUtility {
private static Dictionary<string, string> operat... |
OpenNLP/Tools/Util/IntPair.cs | vishal-bold/OpenNlp | 247 | 7036677 | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OpenNLP.Tools.Util
{
public class IntPair : IntTuple
{
public IntPair() : base(2)
{
}
public IntPair(int src, int trgt) : this()
... |
TerkaFont Builder/Parser/GsubParser.cs | miloush/Terka.TinyFonts | 1 | 7036678 | namespace Terka.FontBuilder.Parser
{
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Windows.Media;
using Terka.FontBuilder.Parser.Output;
using Terka.FontBuilder.Parser.Output.Substitution;
using Terka.FontBuilder.Parser.Reflection;
using Terka.FontB... |
src/Scripting/Core/ScriptMetadataResolver.cs | pcharlesmoran/roslyn | 67 | 7036679 | // Copyright (c) Microsoft. 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;
using System.Collections.Immutable;
using Microsoft.CodeAnalysis.Scripting.Hosting;
using Roslyn.Utilities;
... |
Action Race/Assets/Scripts/PlayerTemplatePanel.cs | nokia-wroclaw/innovativeproject-action-race | 0 | 7036680 | using UnityEngine;
using UnityEngine.UI;
public class PlayerTemplatePanel : MonoBehaviour
{
[Header("References")]
[SerializeField] Image image;
[SerializeField] Text masterClientText;
[SerializeField] Text nickNameText;
[SerializeField] Text pingText;
bool _isLocal, _isMasterClient;
pub... |
DotNet/LearningNotes/AOPStaticProxy/Services/UserService.cs | weisenzcharles/weinode | 0 | 7036681 | <filename>DotNet/LearningNotes/AOPStaticProxy/Services/UserService.cs<gh_stars>0
using AOPStaticProxy.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AOPStaticProxy.Services
{
/// <summary>
/// 用户服务接口实现。
/// </summary>
... |
src/UniversalValveToolbox/UI/View/IconComboBoxItem.cs | EpicMorg/UniversalValveToolbox | 1 | 7036682 | <reponame>EpicMorg/UniversalValveToolbox<filename>src/UniversalValveToolbox/UI/View/IconComboBoxItem.cs
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UniversalValveToolbox.UI.View {
class IconComboBoxItem {
... |
Test/MethodLevelTest/PointcutRulesTest.cs | soroshsabz/MrAdvice | 262 | 7036683 | #region Mr. Advice
// Mr. Advice
// A simple post build weaving package
// http://mradvice.arxone.com/
// Released under MIT license http://opensource.org/licenses/mit-license.php
#endregion
namespace MethodLevelTest
{
using System;
using System.Reflection;
using ArxOne.MrAdvice.Advice;
us... |
Microsoft.Toolkit.Uwp.PlatformDifferencesGen/Program.cs | paulcam206/WindowsCommunityToolkit | 1 | 7036685 | <reponame>paulcam206/WindowsCommunityToolkit
// 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;
using System.Collections.Generic;
using System.IO;
using ... |
Lab4_ShockAndAwe/Assets/Scripts/MouseViewportRotator.cs | Garciaj007/GD3-Lab1 | 0 | 7036686 | <gh_stars>0
using UnityEngine;
public class MouseViewportRotator : MonoBehaviour
{
public static MouseViewportRotator Instance { get; private set; }
public Ray MouseOrientationRay { get; private set; }
private void Awake()
{
if(Instance != null && Instance != this)
Destroy(gameObj... |
src/Identity/IDirective.cs | sufficit/sufficit-identity-core | 0 | 7036687 | <filename>src/Identity/IDirective.cs
using System;
using System.Collections.Generic;
using System.Text;
namespace Sufficit.Identity
{
/// <summary>
/// Basic interface to define rights directives, allow or disallow
/// </summary>
public interface IDirective
{
Guid ID { get; }
Guid ... |
src/System.Data.SqlClient/src/Microsoft/SqlServer/Server/ITypedGetters.cs | Realtao/corefx | 3 | 7036688 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//------------------------------------------------------------------------------
using System;
using System.Data;
using System.Data.SqlTypes;
namespace Microsoft.Sq... |
src/JNCC.PublicWebsite.Core/Services/LatestNewsSectionService.cs | uk-gov-mirror/jncc.jncc-website | 0 | 7036689 | using JNCC.PublicWebsite.Core.Constants;
using JNCC.PublicWebsite.Core.Models;
using JNCC.PublicWebsite.Core.Utilities;
using JNCC.PublicWebsite.Core.ViewModels;
using System.Collections.Generic;
using System.Linq;
using Umbraco.Core;
using Umbraco.Web;
namespace JNCC.PublicWebsite.Core.Services
{
internal sealed... |
Assets/Source/Actors/Items/Items.cs | ewazel/2020VID-csharp | 2 | 7036690 | <filename>Assets/Source/Actors/Items/Items.cs
using Assets.Source.Core;
using DungeonCrawl;
using DungeonCrawl.Actors.Characters;
using Source.Actors.Static;
using Source.Core;
using UnityEngine;
namespace Source.Actors.Items
{
public class Mask : Item
{
private string wearingMessage;
private string usedM... |
src/client/Microsoft.Identity.Client/Platforms/Android/AndroidWebUIFactory.cs | DemGi/microsoft-authentication-library-for-dotnet | 1 | 7036691 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.Identity.Client.Internal;
using Microsoft.Identity.Client.Platforms.Android.EmbeddedWebview;
using Microsoft.Identity.Client.Platforms.Android.SystemWebview;
using Microsoft.Identity.Client.PlatformsCommon.... |
src/Cofoundry.Domain/Domain/AuthorizedTasks/Queries/ValidateAuthorizedTaskTokenQuery.cs | BearerPipelineTest/cofoundry | 0 | 7036692 | <filename>src/Cofoundry.Domain/Domain/AuthorizedTasks/Queries/ValidateAuthorizedTaskTokenQuery.cs
using Cofoundry.Domain.CQS;
using System.ComponentModel.DataAnnotations;
namespace Cofoundry.Domain
{
/// <summary>
/// Determines if an authorized task token is valid. The result is returned as a
/// <see c... |
Slope/Mouse.cs | frederikja163/Slope | 0 | 7036693 | <gh_stars>0
using System.Collections.Generic;
using OpenTK.Mathematics;
using OpenTK.Windowing.GraphicsLibraryFramework;
using GlfwWindow = OpenTK.Windowing.GraphicsLibraryFramework.Window;
namespace Slope
{
public enum MouseButton
{
Left = 0,
Right = 1,
Middle = 3,
Button1 = 4... |
src/Kunc.RiotGames.Api/Lol.Api/Match/BuildingType.cs | AoshiW/Kunc.RiotGames | 0 | 7036694 | using System.Runtime.Serialization;
using System.Text.Json.Serialization;
namespace Kunc.RiotGames.Lol.Api.Match;
[JsonConverter(typeof(JsonStringEnumMemberConverter)), JsonStringEnumMemberConverterOptions(deserializationFailureFallbackValue: UnknownEnumValue)]
public enum BuildingType
{
/// <summary>
/// Re... |
src/ClusterAnalysis/ClusterSolver.cs | OpResCodes/kMeansCluster | 1 | 7036695 | <reponame>OpResCodes/kMeansCluster
using System;
using System.Collections.Generic;
using System.Security.Cryptography;
using System.Text;
namespace ClusterAnalysis
{
public class ClusterSolver
{
public static ClusterEvaluation[] Cluster(ClusterData data, int minClusterCount, int maxClusterCount, int ... |
src/AspNetCore3x/SendGridWebApp/SendGridSendTextSample.cs | ichiroku11/sample | 0 | 7036697 | using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Options;
using SendGrid;
using SendGrid.Helpers.Mail;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SendGridWebApp {
public class SendGridSendTextSample : SendGridSample {
public SendGridSendText... |
src/ImaPo.UI/Main/TreeGridNode.cs | pleonex/ImaPo | 2 | 7036698 | <reponame>pleonex/ImaPo
// Copyright (c) 2022 <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, ... |
Source/MoodndBehaviorsAndEvents/MoodndBehaviorsAndEvents/Comps/HediffComps/HediffComp_ClearCurrentJob.cs | mlholland/MooDndMenagerie | 1 | 7036699 | <filename>Source/MoodndBehaviorsAndEvents/MoodndBehaviorsAndEvents/Comps/HediffComps/HediffComp_ClearCurrentJob.cs
using Verse;
// Removed the current element of a pawn's job queue, used in conjunction with forced behaviors to make sure they don't last too long.
namespace MoodndBehaviorsAndEvents
{
public class H... |
DotNet/DotNet/UE4/Generated/MovieSceneTracks/MovieScene3DConstraintSection.cs | UE4DotNet/Plugin | 2 | 7036700 | // Copyright 2018 by JCoder58. See License.txt for license
// Auto-generated --- Do not modify.
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UE4.Core;
using UE4.CoreUObject;
using UE4.CoreUObject.Native;
using UE4.InputCore;
using UE4.Native;
#pragma warning disable CS01... |
src/Bedrock.Framework/Protocols/ProtocolReadResult.cs | tothalexlaszlo/BedrockFramework | 741 | 7036701 | namespace Bedrock.Framework.Protocols
{
public readonly struct ProtocolReadResult<TMessage>
{
public ProtocolReadResult(TMessage message, bool isCanceled, bool isCompleted)
{
Message = message;
IsCanceled = isCanceled;
IsCompleted = isCompleted;
}
... |
source/EasyBlock.Core.Tests/Settings/TestSettings.cs | fluffynuts/easyblock | 1 | 7036702 | using System;
using System.IO;
using System.Linq;
using System.Reflection;
using EasyBlock.Core.Interfaces.Settings;
using NUnit.Framework;
using PeanutButter.INIFile;
using PeanutButter.TestUtils.Generic;
using static PeanutButter.RandomGenerators.RandomValueGen;
using static EasyBlock.Core.Constants;
namespace Easy... |
StitcherBoy/Weaving/MSBuild/Project/ProjectDefinition.cs | AlexanderButs/StitcherBoy | 0 | 7036703 | // Stitcher Boy - a small library to help building post-build tasks
// https://github.com/picrap/StitcherBoy
// MIT License - http://opensource.org/licenses/MIT
namespace StitcherBoy.Weaving.MSBuild.Project
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
... |
Assets/Editor/CSProjAssetTests.cs | nowsprinting/com.unity.ide.rider | 8 | 7036704 | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
using System.Threading;
using NUnit.Framework;
using Packages.Rider.Editor.ProjectGeneration;
using UnityEditor;
using UnityEngine;
using UnityEngine.TestTools;
namespace RiderEditor.Runtim... |
InvestmentPerformanceWebApi/InvestmentPerformanceWebApi/DTOs/InvestmentDto.cs | rtodosic/CodingExercise | 0 | 7036705 | namespace InvestmentPerformanceWebApi.DTOs;
public class InvestmentDto
{
public const string SHORT_TERM = "Short Term";
public const string LONG_TERM = "Long Term";
public decimal CostBasisPerShare { get; set; }
public decimal? CurrentValue { get; set; }
public decimal? CurrentPrice { get; set; }... |
Kooboo.Sites/Payment/CurrencyCodes.cs | tenghui-kooboo/Kooboo | 296 | 7036706 | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
namespace Kooboo.Sites.Payment
{
/// <summary>
/// refer to https://en.wikipedia.org/wiki/ISO_4217
/// </summary>
public class CurrencyCodes
{
private static readonl... |
modules/AntDesignTheme/Lsw.Abp.AspnetCore.Components.Server.AntDesignTheme/AntDesignThemeToolbarContributor.cs | realLiangshiwei/Lsw.Abp.AntDesignUI | 28 | 7036707 | using System.Threading.Tasks;
using Lsw.Abp.AspnetCore.Components.Server.AntDesignTheme.Themes.AntDesignTheme;
using Lsw.Abp.AspnetCore.Components.Web.AntDesignTheme.Toolbars;
namespace Lsw.Abp.AspnetCore.Components.Server.AntDesignTheme;
public class AntDesignThemeToolbarContributor: IToolbarContributor
{
publ... |
Assets/Scripts/LobbyCanvasManager.cs | Nishchhal95/UNO_Game | 0 | 7036708 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.UI;
public class LobbyCanvasManager : MonoBehaviour
{
[SerializeField] private Button startGameButton;
[SerializeField] private TextMeshProUGUI startGameText;
[SerializeField] private ... |
demoproject/03_demonetfx48/vSalesPersonSalesByFiscalYears.cs | kkamegawa/vscommunityjsample | 0 | 7036709 | <filename>demoproject/03_demonetfx48/vSalesPersonSalesByFiscalYears.cs
//------------------------------------------------------------------------------
// <auto-generated>
// このコードはテンプレートから生成されました。
//
// このファイルを手動で変更すると、アプリケーションで予期しない動作が発生する可能性があります。
// このファイルに対する手動の変更は、コードが再生成されると上書きされます。
// </auto-generat... |
04. C# Advanced - May2017/06. RegEx - Lab/03. Non-Digit Count/NonDigitCount.cs | IvelinMarinov/SoftUni | 3 | 7036710 | <reponame>IvelinMarinov/SoftUni<filename>04. C# Advanced - May2017/06. RegEx - Lab/03. Non-Digit Count/NonDigitCount.cs
using System;
using System.Text.RegularExpressions;
namespace _03.Non_Digit_Count
{
public class NonDigitCount
{
public static void Main()
{
var pattern = "\\D";
... |
NetAppCommon/Helpers/EntityContextHelper.cs | paulpiotr/NetAppCommon | 0 | 7036711 | #region using
using System;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using log4net;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
#endregion
#nullable enable annotations
#region namespace
namespace NetAppCommon.Helpers
{
#region public cla... |
BreezeCommon/Utils.cs | hakanerol/BreezeProject | 34 | 7036712 | <reponame>hakanerol/BreezeProject
using System;
using System.Collections.Generic;
using System.Text;
namespace BreezeCommon
{
public class Utils
{
}
public class ConfigurationOptionWrapper<T>
{
public string Name { get; set; }
public T Value { get; set; }
public Configura... |
Bootstrap/Tooltip/Tooltip.cs | dmayhak/HyperSlackers.Bootstrap | 0 | 7036713 | <reponame>dmayhak/HyperSlackers.Bootstrap
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics.Contracts;
using System.Web;
using HyperSlackers.Bootstrap.Extensions;
namespace HyperSlackers.Bootstrap
{
// TODO: //! see: http://getbootstrap.com/javascript/#tooltips f... |
UnitySource/Assets/Scripts/visc/EventActions/EventAction.cs | marcellus00/visc | 17 | 7036714 | using System;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
namespace Visc
{
public abstract class EventAction : ScriptableObject
{
public const string ActionName = "Generic event action";
[SerializeField] protected string _description;
[SerializeField] protected GameObject _actor;
[Seriali... |
FluentSql/EntityMapper.cs | ernestoherrera/FluentSql | 7 | 7036715 | using System;
using System.Collections.Generic;
using System.Data;
using System.Collections.Concurrent;
using System.Linq;
using FluentSql.DatabaseMappers.Contracts;
using FluentSql.SqlGenerators.Contracts;
using FluentSql.DatabaseMappers.SqlServerMapper;
using FluentSql.SqlGenerators;
using System.Data.Entity.Design... |
sdk/servicebus/Microsoft.Azure.ServiceBus/tests/API/ApprovalTestConfig.cs | gjy5885/azure-sdk-for-net | 3,268 | 7036716 | <reponame>gjy5885/azure-sdk-for-net
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using ApprovalTests.Reporters;
#if FullNetFx
[assembly: UseReporter(typeof(XUnit2Reporter), typeof(AllFailingTestsClipboardReporte... |
ToMigrate/Raven.Tests.Bundles/Authorization/Bugs/Matthew.cs | ryanheath/ravendb | 1 | 7036717 | extern alias client;
using Raven.Client.Exceptions;
using System.Collections.Generic;
using Raven.Client;
using Xunit;
namespace Raven.Tests.Bundles.Authorization.Bugs
{
public class Matthew : AuthorizationTest
{
[Fact]
public void AuthorizationDemo_Works()
{
... |
test/ExtendedXmlSerializer.Tests/ContentModel/Properties/TypePartsFormatterTests.cs | aspektxxx/ExtendedXmlSerializer | 0 | 7036718 | <gh_stars>0
// MIT License
//
// Copyright (c) 2016-2018 <NAME>
// <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 limi... |
Tetriary Wallflower/Assets/Scripts/UI/MainMenu.cs | ghorta4/Project-Tetriary-Wallflower-Unity-Project | 0 | 7036719 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Guildleader;
using System;
//Alot of these act as functions for the buttons associated with this screen. Without it, there isn't much operation.
namespace Assets.Scripts.UI
{
public class MainMen... |
FRBDK/FRBDK Supporting Projects/EditorObjects/Gui/SpriteGridPropertyGrid.cs | patridge/FlatRedBall | 110 | 7036720 | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Text;
using FlatRedBall;
using FlatRedBall.ManagedSpriteGroups;
using FlatRedBall.Gui;
#if FRB_XNA
using Texture2D = Microsoft.Xna.Framework.Graphics.Texture2D;
#endif
namespace EditorObjects.Gui
{
public class SpriteGridPropertyGrid... |
src/MarkdownEdit/Properties/Resources.Designer.cs | rogercloud/Markdown-Edit | 0 | 7036721 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.0
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------... |
DecisionIntervention/Assets/Scripts/Games/Shoot/BulletControll.cs | davtamay/DecisionIntervention | 0 | 7036722 | <filename>DecisionIntervention/Assets/Scripts/Games/Shoot/BulletControll.cs
using UnityEngine;
using System.Collections;
public class BulletControll : MonoBehaviour {
public float bulletSpeed;
public int bulletID;
[SerializeField]private float timeUntilOnDisabled;
private Rigidbody myRigidBody;
void OnEnable... |
Assets/Scripts/View/Intensify/IntensifyItem.cs | moto2002/DinaGameClient | 1 | 7036724 | <reponame>moto2002/DinaGameClient
using UnityEngine;
using System.Collections;
using Assets.Scripts.View.UIDetail;
using Assets.Scripts.Manager;
using Assets.Scripts.View.Drag;
using Assets.Scripts.Logic.Item;
namespace Assets.Scripts.View.Intensify
{
public class IntensifyItem : MonoBehaviour
{
private const str... |
test/CmdLine.Parser.Tests/ArgumentsTests.cs | JeevanJames/ConsoleFx | 6 | 7036725 | <filename>test/CmdLine.Parser.Tests/ArgumentsTests.cs
#region --- License & Copyright Notice ---
/*
ConsoleFx CLI Library Suite
Copyright 2015-2020 <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 Licen... |
Homeworks/CreditCards/tests/CreditCards.Tests/Controller/ValuesControllerShould.cs | PhilShishov/Automated-Unit-Tests | 2 | 7036726 |
namespace CreditCards.Tests.Controller
{
using System.Linq;
using CreditCards.Controllers;
using Microsoft.AspNetCore.Mvc;
using Xunit;
public class ValuesControllerShould
{
[Fact]
public void ReturnValues()
{
var sut = new ValuesController();
... |
src/DataHoarder.Modules.Air.Core/BackgroundJobs/AirQualityCacheUpdaterBackgrounJob.cs | idormenco/DataHoarder | 0 | 7036727 | <gh_stars>0
using DataHoarder.Modules.Air.Core.Options;
using DataHoarder.Modules.Air.Core.Providers;
using Microsoft.Extensions.Caching.Memory;
using Microsoft.Extensions.Options;
using System;
using System.Threading.Tasks;
namespace DataHoarder.Modules.Air.Core.BackgroundJobs
{
internal class AirQualityCacheUpd... |
Develop/PenMotion/System/Infos.cs | Bgoon/PendulumMotionEditor | 1 | 7036728 | <filename>Develop/PenMotion/System/Infos.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PenMotion.System {
public static class SystemInfo {
public const string Version = "2.0";
}
public static class IOInfo {
public ... |
C-Sharp/frmPersonFPRegOT.cs | nodoid/PointOfSale | 10 | 7036729 | using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Windows.Forms;
using DpSdkEngLib;
using DPSDKOPSLib;
using Microsoft.VisualBasic;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Drawing;
using System.Diagnostics;
using System.Windows.Forms;
using Sy... |
AppService/SmartHotel.Registration.Wcf/Service.svc.cs | devlead/AzureHeroSolutions | 1 | 7036730 | <filename>AppService/SmartHotel.Registration.Wcf/Service.svc.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using SmartHotel.Registration.Wcf.Models;
using SmartHotel.Registration.Wcf... |
Rail/Model/RailLayer.cs | chcg/Rail | 0 | 7036731 | using Rail.Misc;
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json.Serialization;
using System.Windows.Media;
using System.Xml.Serialization;
namespace Rail.Model
{
public class RailLayer
{
public RailLayer()
{
this.Show = true;
}
... |
sources/StreamFlow.Tests.AspNetCore/Database/20210902083457_Init.cs | mentalist-dev/StreamFlow | 1 | 7036732 | <reponame>mentalist-dev/StreamFlow
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace StreamFlow.Tests.AspNetCore.Database
{
public partial class Init : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.EnsureS... |
src/Ding.Swashbuckle/Filters/Operations/AddFileParameterOperationFilter.cs | qcjxberin/DC.Framework | 0 | 7036733 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Ding.Swashbuckle.Attributes;
using Microsoft.AspNetCore.Http;
using Swashbuckle.AspNetCore.Swagger;
using Swashbuckle.AspNetCore.SwaggerGen;
namespace Ding.Swashbuckle.Filters.Operations
{
/// <summary>
/// 添加文件参... |
GW2Api.NET/V2/Items/Dto/Skins/SkinTypes/Gathering/Gathering.cs | RyanClementsHax/GW2Api.NET | 2 | 7036734 | using System;
using System.Collections.Generic;
namespace GW2Api.NET.V2.Items.Dto.Skins.SkinTypes.Gathering
{
public record Gathering(
int Id,
string Name,
SkinType Type,
IList<SkinFlag> Flags,
IList<Restriction> Restrictions,
Uri Icon,
Rarity Ra... |
Templates/C#-Full/Winterleaf.Demo.Full/Models.User/GameCode/Tools/WorldEditor/Main.cs | RichardRanft/OmniEngine.Net | 1 | 7036735 | // WinterLeaf Entertainment
// Copyright (c) 2014, WinterLeaf Entertainment LLC
//
// All rights reserved.
//
// The use of the WinterLeaf Entertainment LLC OMNI "Community Edition" is governed by this license agreement ("Agreement").
//
// These license terms are an agreement between WinterLeaf Entertainmen... |
PlacesList/Views/Places/New.cshtml | kmgarvey279/Places-List | 0 | 7036736 | <!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Add New Destination</title>
</head>
<body>
<h1>Destination List</h1>
<form action="/places" method="post">
<label for="cityName">City Name:</label>
<input id="cityName" name="cityName" type="text"> <br>
... |
src/Wave.Extensions.Miner/Miner/Interop/BaseClasses/BaseRelationshipCollectionAU.cs | Jumpercables/Wave | 21 | 7036737 | using System.Collections;
using System.Collections.Generic;
using ESRI.ArcGIS.Geodatabase;
namespace Miner.Interop
{
/// <summary>
/// An abstract Relationship Auto Updater (AU) that is used to to execute multiple <see cref="BaseRelationshipAU" />
/// for the same relationship.
/// </summary>
... |
SimpleWAWS/Models/UIResource.cs | projectkudu/TryAppService | 7 | 7036738 | <reponame>projectkudu/TryAppService
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace SimpleWAWS.Models
{
public class UIResource
{
[JsonProperty(PropertyName = "url", DefaultValueHandling = DefaultValueHandling.Ignore)]
public string Url { get; set; }
[JsonProperty(P... |
perf/WeihanLi.Common.Benchmark/Program.cs | lianghaiqiang12345/WeihanLi.Common | 2 | 7036739 | <filename>perf/WeihanLi.Common.Benchmark/Program.cs<gh_stars>1-10
using BenchmarkDotNet.Running;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System;
namespace WeihanLi.Common.Benchmark
{
public class Program
{
public static void Main(string[] args)
... |
src/KsWare.Presentation.BusinessFramework/(ObjectModel)/ObjectBM~Fields.cs | KsWare/master | 0 | 7036740 | <gh_stars>0
using System;
using System.ComponentModel;
using System.Diagnostics;
using JetBrains.Annotations;
namespace KsWare.Presentation.BusinessFramework {
/// <summary> Business object
/// </summary>
public partial class ObjectBM: INotifyPropertyChanged {
private Lazy<BackingFieldsStore> _lazyFields;
pr... |
PurificationPioneer/Assets/PurificationPioneer/Script/Ui/Loading/LoadingMatcherInfoUi.cs | LaudateCorpus1/distributed-architecture-of-moba-game-server | 37 | 7036741 | using PurificationPioneer.Global;
using PurificationPioneer.Utility;
using UnityEngine;
using UnityEngine.UI;
namespace PurificationPioneer.Script
{
/// <summary>
/// 游戏加载界面的每个玩家的Rect
/// </summary>
public class LoadingMatcherInfoUi : MonoBehaviour
{
public Image bigImage;
public I... |
ClientManagement.UI/ClientManagement.UI.MVC/Views/Jobs/AddServiceType.cshtml | RevProject-1/ui | 0 | 7036742 | <reponame>RevProject-1/ui
@model ClientManagement.UI.MVC.Models.ServiceTypeViewModel
@{
ViewBag.Title = "Add Service Type";
}
<h2>@ViewBag.Title</h2>
<hr/>
@using (Html.BeginForm("AddServiceType", "Jobs", FormMethod.Post))
{
<div class="row">
<div class="col-sm-3">
<p>
Name... |
module/ASC.Mail/ASC.Mail/Core/Dao/ImapSpecialMailboxDao.cs | dev-nm/CommunityServer | 0 | 7036743 | /*
*
* (c) Copyright Ascensio System Limited 2010-2020
*
* 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 la... |
RmEncrypter_PublicVersion/AppRegions.cs | RudMike/RmEncrypter_PublicVersion | 0 | 7036745 | <filename>RmEncrypter_PublicVersion/AppRegions.cs
// <copyright file="AppRegions.cs" company="<NAME>">
// Copyright (c) <NAME>. All rights reserved.
// </copyright>
namespace RmEncrypter_PublicVersion
{
/// <summary>
/// Specifies the list of the regions of the application.
/// </summary>
public stati... |
Assets/NPC/MoveToTarget.cs | alexgidge/NPC-AI | 0 | 7036746 | <reponame>alexgidge/NPC-AI
using BehaviourTree;
using UnityEngine;
public class MoveToTarget<T> : Leaf<T> where T : NPCContext
{
public MoveToTarget(T _context) : base(_context)
{
}
public override NodeResult Process()
{
CurrentState = NodeResult.Proces... |
src/Keda.Scaler.DurableTask.AzureStorage/ScalerMetadata.cs | wsugarman/durabletask-azurestorage-external-scaler | 3 | 7036747 | // Copyright © <NAME>.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Keda.Scaler.DurableTask.AzureStorage.Cloud;
using Keda.Scaler.DurableTask.AzureStorage.Common;
using Microsoft.Extensions.DependencyInjection;
namespace Keda.Sc... |
src/WinUglifier.Plugin.YUI.css/EcmaScript.NET/Types/BuiltinString.cs | jongha/winuglifier | 12 | 7036748 | //------------------------------------------------------------------------------
// <license file="NativeString.cs">
//
// The use and distribution terms for this software are contained in the file
// named 'LICENSE', which can be found in the resources directory of this
// distribution.
//
// ... |
NeuralNetworksFromScratch/Draw/Chart.cs | dansav/neural-networks-from-scratch-net | 0 | 7036749 | <reponame>dansav/neural-networks-from-scratch-net
using OxyPlot;
using OxyPlot.Series;
using System.Collections.Generic;
using System.Linq;
namespace NeuralNetworksFromScratch.Draw
{
public static class Chart
{
public static IEnumerable<ScatterSeries> CreateSeries(float[][] X, int[] y)
{
... |
src/Op.Wealth.Funds/RiskFree.cs | Jeremiad/Op.Wealth.Funds | 0 | 7036750 | using Newtonsoft.Json;
using Op.Wealth.Funds.Models.RiskFreeIndex;
using Op.Wealth.Funds.Models.TimeSeries;
using System;
using System.Net.Http;
using System.Threading.Tasks;
namespace Op.Wealth.Funds
{
public class RiskFree : IRiskFree
{
private readonly IHttpClientFactory httpClientFactory;
... |
Assets/Scripts/GameController.cs | crazymaik/Albert | 1 | 7036751 | <reponame>crazymaik/Albert<gh_stars>1-10
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class GameController : MonoBehaviour {
public delegate void OnScoreChanged(int oldScore, int newScore);
public event OnScore... |
Core/System/Numerics/BigInteger.net35.cs | FFFF0h/System.Core.Net35 | 1 | 7036752 | <filename>Core/System/Numerics/BigInteger.net35.cs
#if NET35
using System.Globalization;
using Theraot.Core;
namespace System.Numerics
{
/// <summary>Represents an arbitrarily large signed integer.</summary>
[Serializable]
public partial struct BigInteger : IFormattable, IComparable, IComparable<BigIntege... |
Engine/Items/BasicArmor/GrowingStoneArmor.cs | Jonitrexis/GameC | 1 | 7036753 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Game.Engine.Items.BasicArmor
{
[Serializable]
class GrowingStoneArmor : Item
{
// armor with magic crystals that can grow stronger from the user's magic aura... |
src/WebQQCore/Im/Core/QQConstants.cs | h0730303779/WebQQWeChat | 133 | 7036754 | <gh_stars>100-1000
namespace iQQ.Net.WebQQCore.Im.Core
{
public abstract class QQConstants
{
public const string APPID = "501004106";
public const string JSVER = "10153";
public const string REFFER = "http://d1.web2.qq.com/proxy.html?v=20151105001&callback=1&id=2";
public const... |
src/CExtensions.Patch/Operations/MoveOperation.cs | CedricDumont/CExtensions-Patch | 0 | 7036755 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CExtensions.Patch.Operations
{
public class MoveOperation : Operation
{
public MoveOperation() : base("move") { }
protected override void DoExecute()
... |
Cvl.VirtualMachine/Cvl.VirtualMachine.Debugger/Views/Variables/VariablesVM.cs | cv-lang/virual-machine | 12 | 7036756 | <filename>Cvl.VirtualMachine/Cvl.VirtualMachine.Debugger/Views/Variables/VariablesVM.cs
using Cvl.VirtualMachine.Debugger.Base;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cvl.VirtualMachine.Debugge... |
src/Bolt.Core/Entities/User.cs | ShakedHad/Bolt | 0 | 7036757 | <gh_stars>0
using Bolt.SharedKernel;
using Bolt.SharedKernel.Interfaces;
namespace Bolt.Core.Entities
{
public class User : BaseEntity, IAggregateRoot
{
public string GoogleId { get; set; }
public string FirstName { get; set; }
public string LastName { get; set; }
public string... |
Foundation/Server/Foundation.Api/Middlewares/Signalr/MessagesHub.cs | abidram/bit-framework | 0 | 7036758 | using System.Threading.Tasks;
using Microsoft.AspNet.SignalR;
using Microsoft.Owin;
using Foundation.Api.Middlewares.SignalR.Contracts;
namespace Foundation.Api.Middlewares.SignalR
{
public class MessagesHub : Hub
{
public override async Task OnConnected()
{
try
{
... |
tests/Mundane.Tests/Tests_FileUpload/UnknownFileUpload_Returns_Empty_Stream.cs | adambarclay/mundane | 4 | 7036759 | <reponame>adambarclay/mundane
using System.Diagnostics.CodeAnalysis;
using Xunit;
namespace Mundane.Tests.Tests_FileUpload;
[ExcludeFromCodeCoverage]
public static class UnknownFileUpload_Returns_Empty_Stream
{
[Fact]
public static void From_OpenReadStream()
{
using (var stream = FileUpload.Unknown.Open())
{
... |
src/Bobs.PDF/Tokenizer.cs | BobsFriends/Bobs.PDF | 1 | 7036760 | using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Bobs.PDF
{
public class Tokenizer : IDisposable
{
private readonly Stream _stream;
private readonly bool _streamIsExternal;
public Tokenizer... |
src/PokeFun.FunTranslations/FunTranslationsService.cs | paolofulgoni/pokefun | 0 | 7036761 | <reponame>paolofulgoni/pokefun<gh_stars>0
using Microsoft.Extensions.Options;
using PokeFun.FunTranslations.Model;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text.Json;
using System.Threading.Tasks;
namespace PokeFun.FunTranslations
{
/// <summary>
/// Provides fun tran... |
Tests/Newtonsoft.Json.Tests/Issues/0100/Case016.cs | lunalabsltd/Bridge.Newtonsoft.Json | 0 | 7036762 | using System;
using System.Collections;
using Bridge;
using Bridge.Test.NUnit;
using System.Collections.Generic;
using System.Linq;
namespace Newtonsoft.Json.Tests.Issues
{
/// <summary>
/// Tests for the PopulateObject and related methods.
/// </summary>
[Category("Issues")]
[TestFixture(TestNameF... |
Libs/Aether.Physics2D/Samples/Testbed/Tests/FluidsTest.cs | jocamar/Caravel | 6 | 7036763 | <filename>Libs/Aether.Physics2D/Samples/Testbed/Tests/FluidsTest.cs
/* Original source Farseer Physics Engine:
* Copyright (c) 2014 <NAME>, http://farseerphysics.codeplex.com
* Microsoft Permissive License (Ms-PL) v1.1
*/
/*
* Farseer Physics Engine:
* Copyright (c) 2012 <NAME>
*/
using System;
using tainicom.Aeth... |
Source/Classic/Libs/AM.Core/Compatibility/JetBrains2.cs | fossabot/ManagedIrbis | 0 | 7036764 | <filename>Source/Classic/Libs/AM.Core/Compatibility/JetBrains2.cs
/* JetBrains2.cs --
* Ars Magna project, http://arsmagna.ru
* -------------------------------------------------------
* Status: poor
*/
#if WINMOBILE || PocketPC
using System;
#pragma warning disable 1591
// ReSharper disable UnusedMember.Global
... |
src/ShowCA/TestCA1033/Program.cs | pointearth/dotnet-best-practices | 0 | 7036765 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestCA1033
{
class Program
{
static void Main(string[] args)
{
Derived a = new Derived();
a.SomeMethod();
}
}
public interface... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.