max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
src/CodeGenHero.Core/Metadata/MetadataSourceProperties.cs | SaberVS7/CodeGenHero | 14 | 7042558 | using CodeGenHero.Core.Metadata.Interfaces;
using System;
using System.Collections.Generic;
using System.Reflection;
namespace CodeGenHero.Core.Metadata
{
[Serializable]
public class MetadataSourceProperties : IMetadataSourceProperties
{
/// <summary>
/// A case-insensitive dictionary of k... |
src/AuthenticodeExaminer/CmsSignature.cs | Lakritzator/AuthenticodeExaminer | 27 | 7042559 | <gh_stars>10-100
using AuthenticodeExaminer.Interop;
using System;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
using System.Security.Cryptography.Pkcs;
using System.Security.Cryptography.X509Certificates;
using System.Security.Cryptography.Xml;
using System.Text;
using System.Collections.... |
Imagin.Common.WPF/Linq/Common/StorageWindowMode.cs | fritzmark/Imagin.NET | 0 | 7042561 | using Imagin.Common.Controls;
using Imagin.Common.Storage;
using System;
namespace Imagin.Common.Linq
{
public static class StorageWindowModeExtensions
{
public static ItemType Convert(this StorageWindowModes input)
{
switch (input)
{
case StorageWindowM... |
Assets/Scripts/Main/Systems/SphereSpawnSystem.cs | MartinKral/Spherestroyer | 11 | 7042562 | <filename>Assets/Scripts/Main/Systems/SphereSpawnSystem.cs
using System;
using Unity.Collections;
using Unity.Entities;
using Unity.Jobs;
using Unity.Mathematics;
using Unity.Transforms;
using Random = Unity.Mathematics.Random;
[UpdateInGroup(typeof(SimulationSystemGroup))]
[AlwaysSynchronizeSystem]
public class Sphe... |
src/WebExtensions.Net/Generated/Tabs/SendMessageOptions.cs | dragnilar/WebExtensions.Net | 22 | 7042563 | using JsBind.Net;
using System.Text.Json.Serialization;
namespace WebExtensions.Net.Tabs
{
// Type Class
/// <summary></summary>
[BindAllProperties]
public partial class SendMessageOptions : BaseObject
{
/// <summary>Send a message to a specific $(topic:frame_ids)[frame] identified by <c>fr... |
src/Vortice.Mathematics/PlaneEx.cs | andrew-boyarshin/Vortice.Mathematics | 44 | 7042564 | // Copyright (c) <NAME> and contributors.
// Distributed under the MIT license. See the LICENSE file in the project root for more information.
using System.Numerics;
namespace Vortice.Mathematics
{
/// <summary>
/// Represents extensions methods for <see cref="Plane"/>.
/// </summary>
public static c... |
LoggerHealthCheck/IsExternalInit.cs | AnderssonPeter/LoggerHealthCheck | 1 | 7042565 | #if !NET5
namespace System.Runtime.CompilerServices
{
/// <summary>
/// Used to allow the usage of Record and init in non .net5.0
/// </summary>
internal static class IsExternalInit { }
}
#endif |
DictionariesNestedDict/PokemonEvolutionV3/PokemonEvolutionV3.cs | Radostta/DictionariesNestedCollectionsLinqLambda---ExamPreparation | 0 | 7042567 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PokemonEvolutionV3
{
public class Evolution
{
public string EvoName { get; set; }
public int EvoIndex { get; set; }
public Evolution(String evoName, int evoInd... |
packages/itextsharp-all-5.5.10/itextsharp-src-core/iTextSharp/text/pdf/PdfSignatureAppearance.cs | mdalaminmiah/Diagnostic-Bill-management-System | 1 | 7042568 | using System;
using System.IO;
using Org.BouncyCastle.X509;
using iTextSharp.text.error_messages;
using System.Text;
using System.Collections.Generic;
using iTextSharp.text.pdf.security;
using iTextSharp.text.io;
/*
* $Id$
*
* This file is part of the iText (R) project.
* Copyright (c) 1998-2016 iText Group NV
* A... |
HaloEzAPI/Model/Response/MetaData/HaloWars2/Campaign/CommonContentInformation.cs | glitch100/Halo-API | 23 | 7042569 | using System;
namespace HaloEzAPI.Model.Response.MetaData.HaloWars2.Campaign
{
public class CommonContentInformation
{
public string Owner { get; set; }
public DateTime CreatedUtc { get; set; }
public DateTime ModifiedUtc { get; set; }
public DateTime PublishedUtc { get; set; }... |
UJCSystem/ITJakub.Web.Hub/Areas/AudioBooks/Views/AudioBooks/Information.cshtml | RIDICS/ITJakub | 3 | 7042570 | <reponame>RIDICS/ITJakub
@using Scalesoft.Localization.AspNetCore
@model ITJakub.Web.Hub.Models.StaticTextViewModel
@inject ILocalizationService Localizer
@section styles{
<link asp-append-version="true" href="~/Areas/AudioBooks/css/itjakub.audiobooks.css" rel="stylesheet" />
}
@{
ViewBag.Title = @Localizer.... |
src/public API/Solution/ApplicationLogic/Business/Commands/InventoryAccount/GetAllCommand/InventoryAccountGetAllCommand.cs | lneninger/quickbookdestop-integrator | 1 | 7042571 | using System;
using System.Collections.Generic;
using System.Text;
using EntityFrameworkCore.DbContextScope;
using ApplicationLogic.Repositories.DB;
using ApplicationLogic.Business.Commands.InventoryAccount.GetAllCommand.Models;
using Framework.Core.Messages;
using System.Linq;
namespace ApplicationLogic.Business.Com... |
Unity Project/Assets/KAT/Codebase/Keyboard Mappings/KUIMappingManager.cs | mark-mcg/keyboard_augmentation_toolkit | 0 | 7042572 | using NaughtyAttributes;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace KAT
{
/// <summary>
/// This manages the binding of UIElement (e.g. augmentations) collections to the available KUIElementContainers (e.g. keys)
/// </summary>
//[Requir... |
DynamicBoneExtensions.cs | MistressPlague/RandomUnityScripts | 0 | 7042573 | #if UNITY_EDITOR
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
public class DynamicBoneExtensions : UnityEditor.EditorWindow
{
//Created By Plague <3
//Copyright Reserved
[MenuItem("GameObject/DynamicBone Extensions/Set DynamicBones To Have All Colliders", false, -10)]
... |
Shqip/Data/ApplicationUser.cs | mensaco/shqip | 0 | 7042574 | <reponame>mensaco/shqip<filename>Shqip/Data/ApplicationUser.cs
using Microsoft.AspNetCore.Identity;
using System.ComponentModel.DataAnnotations;
namespace Shqip.Data
{
/// <summary>
/// Nje klase qe mundeson zgjerimin e IdentityUser me te dhena plotesuese per perdoruesin
/// </summary>
public class A... |
client/framework/UnityCsReference-master/Modules/ParticleSystem/ScriptBindings/ParticleSystem.bindings.cs | HelloWindows/AccountBook- | 1 | 7042575 | // Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using UnityEngine.Bindings;
using UnityEngine.Scripting;
using RequiredByNativ... |
smartData/Views/Shared/_AddAdminPartial.cshtml | joshisachin675/SocialMediaBroadcast | 0 | 7042576 | '@model smartData.Models.AdminRegisterViewModel
@{
ViewBag.Title = "Add Admin";
Layout = null;
}
<link href="~/Content/css/Font-OpenSans.css" rel="stylesheet" />
<style>
body.modal-open {
padding-right: 17px !important;
}
.modal-open {
}
.modal-open .inner-table-filter-fx-PS ... |
Alba.InkBunny.Api/Framework/EnumMetaAttribute.cs | Athari/InkBunny.Api | 0 | 7042577 | <filename>Alba.InkBunny.Api/Framework/EnumMetaAttribute.cs
using System;
namespace Alba.InkBunny.Api.Framework
{
[AttributeUsage(AttributeTargets.Field)]
internal class EnumMetaAttribute : Attribute
{
public string JsonName { get; set; }
public string Description { get; set; }
}
} |
Discord.Net.Abstractions/WebSocket/ISocketDMChannel.cs | Perksey/MODiX | 0 | 7042578 | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Discord.Rest;
namespace Discord.WebSocket
{
/// <inheritdoc cref="SocketDMChannel" />
public interface ISocketDMChannel : ISocketChannel, IDMChannel, IISocketPrivateChannel, IISocketMessage... |
src/Services/Catalog/PushFive.Catalog.Domain/Models/Genre.cs | gabrielcalegari/pushfive | 0 | 7042579 | using PushFive.Core.DomainObjects;
using System.Collections.Generic;
namespace PushFive.Catalog.Domain.Models
{
public class Genre : Entity
{
public string Name { get; private set; }
// EF Relation
public ICollection<Song> Songs { get; set; }
public Genre() { }
publi... |
Caterpillar/UnitConversions/Speeds/Speed.cs | interopxyz/Caterpillar | 0 | 7042580 | <gh_stars>0
namespace Caterpillar
{
abstract class Speed : Unit
{
public Speed() : base()
{
type = Types.Speed;
}
public Speed(Speed obj) : base(obj)
{
}
}
}
|
Assets/Scripts/Menu.cs | dearsip/4D-Viewer-Demo | 2 | 7042581 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Valve.VR;
using Valve.VR.InteractionSystem;
using System;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class Menu : MonoBehaviour
{
public Core core;
public SteamVR_Action_Boolean interactUI, menu;
publ... |
SanteDB.Core.Model/Association.cs | santedb/santedb-model | 0 | 7042582 | <reponame>santedb/santedb-model<gh_stars>0
/*
* Copyright (C) 2021 - 2021, SanteSuite Inc. and the SanteSuite Contributors (See NOTICE.md for full copyright notices)
* Copyright (C) 2019 - 2021, Fyfe Software Inc. and the SanteSuite Contributors
* Portions Copyright (C) 2015-2018 Mohawk College of Applied Arts and ... |
nhitomi-idx/nhitomi/Scrapers/nhentaiBook.cs | Azato21/nhitomi | 2 | 7042583 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Text.RegularExpressions;
using Newtonsoft.Json;
using nhitomi.Models;
namespace nhitomi.Scrapers
{
public class nhentaiBook
{
[JsonProperty("id")] public int Id;
[JsonProperty("media_id")] public i... |
SolarDigest.Deploy/Schema/Inputs/IUploadMultiPartAbortInput.cs | mjfreelancing/SolarDigest | 0 | 7042584 | <gh_stars>0
using AllOverIt.Aws.Cdk.AppSync;
using AllOverIt.Aws.Cdk.AppSync.Attributes;
namespace SolarDigest.Deploy.Schema.Inputs
{
[SchemaType("UploadMultiPartAbortInput", GraphqlSchemaType.Input)]
internal interface IUploadMultiPartAbortInput
{
[SchemaTypeRequired]
string Filename { ge... |
AstroBot/Commands/HelpCommand.cs | wostling/FriendlyCosmosBot | 12 | 7042585 | <filename>AstroBot/Commands/HelpCommand.cs
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Linq;
using System.Threading.Tasks;
using AwesomeChatBot.ApiWrapper;
using AwesomeChatBot.Commands.Handlers;
using AwesomeChatBot.Config;
using System.Reflection;
namespace AstroBot.Commands
... |
src/BinaryDepths.Extensions/System.Reflection/AssemblyExtensions.cs | AridTag/BinaryDepths.Extensions | 1 | 7042586 | <reponame>AridTag/BinaryDepths.Extensions
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.IO;
using System.Linq;
using System.Reflection;
namespace BinaryDepths.Extensions
{
public static class AssemblyExtensions
{
/// <summary>
/// Get the types... |
Assets/GameObjects/InteractiveObjects/DestructableObjects/SlowTurner.cs | tls5200/Nebula-Wars | 0 | 7042587 | // written by: <NAME>
// tested by: <NAME>
// debugged by: <NAME>, <NAME>
// balanced by: <NAME>, <NAME>, <NAME>
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
/// <summary>
/// SlowTurner is a DestructableObject that slowly turns towars its target, always moving forward.
/// The targ... |
NJetty.Util.Test/Util/DateCacheTest.cs | chris2001jm/njetty | 1 | 7042588 | #region Apache License
//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for Additional information regarding copyright ownership.
// The ASF licenses this file to you under the Apache License, Version 2.... |
indicators/Patterns/Doji/LongLeggedDoji.cs | metathron/Stock.Indicators | 0 | 7042589 | <reponame>metathron/Stock.Indicators<filename>indicators/Patterns/Doji/LongLeggedDoji.cs
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
namespace Skender.Stock.Indicators
{
public static partial class Indicator
{
//https://w... |
.RemoteTalk/Assets/Test/Scripts/Visualizer.cs | i-saint/RemoteTalk | 36 | 7042590 | using UnityEngine;
using UnityEngine.Audio;
using UnityEngine.Experimental.VFX;
#if UNITY_EDITOR
using UnityEditor;
#endif
[ExecuteInEditMode]
public class Visualizer : MonoBehaviour
{
public VisualEffect visualEffect;
public DecibelCalculator[] sourceSound;
public float spawn = 4000.0f;
public float ... |
Wing.WeiXin.MP.SDK/Exception/FailGetAccountException.cs | lkhuge/Wing.WeiXin.MP.SDK | 1 | 7042591 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Wing.WeiXin.MP.SDK.Exception
{
/// <summary>
/// 获取账号异常
/// </summary>
public class FailGetAccountException : WXException
{
#region 根据微信公共账号ID实例化 public FailGetAccount(string weixinMPDI)
... |
Source/BPSolver/IOHandler/IOHandlerSol.cs | aamartin2k/BlockPuzzle-Solver | 0 | 7042592 | <reponame>aamartin2k/BlockPuzzle-Solver<filename>Source/BPSolver/IOHandler/IOHandlerSol.cs
using BPSolver.Objects;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BPSolver
{
public partial class IOHan... |
Scripts/OakFramework2/ClassExtensions/Vector3ExtensionMethods.cs | pavel-fadrhonc/of2 | 0 | 7042593 | <reponame>pavel-fadrhonc/of2
using UnityEngine;
using System.Collections.Generic;
public static class Vector3ExtensionMethods
{
public static Vector3 NormalizeIfLongerThanOne(this Vector3 vector)
{
return vector.sqrMagnitude > 1f ? vector.normalized : vector;
}
public static Vector3 GetZeroYN... |
Neutronium.Core/Binding/GlueObject/Basic/JsBool.cs | NeutroniumCore/Neutronium | 1,338 | 7042594 | using Neutronium.Core.Binding.Builder;
using Neutronium.Core.WebBrowserEngine.JavascriptObject;
namespace Neutronium.Core.Binding.GlueObject.Basic
{
internal sealed class JsBool : JsBasicTyped<bool>, IBasicJsCsGlue
{
internal JsBool(bool value) : base(value) { }
internal JsBool(IJavascriptObj... |
demo/PersianComponents.Demo/Views/Home/ICheck.cshtml | hootanht/PersianComponents | 25 | 7042595 | @model TestViewModel
@{
ViewData["Title"] = "ICheck";
}
<h2>iCheck</h2>
<form style="width: 500px; display: inline-block;">
<div>
@Html.ICheckCheckBoxFor(p => p.Test, "تست", ICheckStyle.Flat_Blue)
</div>
<div>
@Html.ICheckCheckBoxFor(p => p.Test, "تست", ICheckStyle.Flat_Red)
</div... |
tests/SharpDeck.Tests/Mocks/FooStreamDeckAction.cs | Suikoden001/SharpDeck | 0 | 7042596 | <reponame>Suikoden001/SharpDeck<filename>tests/SharpDeck.Tests/Mocks/FooStreamDeckAction.cs
namespace SharpDeck.Tests.Mocks
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using SharpDeck.PropertyInspectors... |
study-cafu-roll-a-ball-Unity/Assets/Tests/PlayMode/Scripts/Domain/Entity/PlayerEntityTest.cs | mtmt/study-cafu-roll-a-ball | 0 | 7042597 | using System.Collections;
using NUnit.Framework;
using StudyCafuRollABall.Domain.Entity;
using UnityEngine;
using UnityEngine.TestTools;
using Zenject;
namespace StudyCafuRollABall.Tests.PlayMode.Scripts.Domain.Entity
{
public class PlayerEntityTest : ZenjectIntegrationTestFixture
{
[Inject] IPlayerEnt... |
CybtansSDK/Tests/Cybtans.Tests/Serialization/Models/Product.cs | ansel86castro/cybtans-sdk | 14 | 7042598 | <reponame>ansel86castro/cybtans-sdk
using System;
using Cybtans.Serialization;
using System.ComponentModel.DataAnnotations;
namespace Cybtans.Serialization.Tests.Models
{
public partial class Product : IReflectorMetadataProvider
{
private static readonly ProductAccesor __accesor = new ProductAccesor();
public i... |
src/SignalR/perf/benchmarkapps/Crankier/WorkerSender.cs | belav/aspnetcore | 0 | 7042599 | <filename>src/SignalR/perf/benchmarkapps/Crankier/WorkerSender.cs
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.IO;
using System.Threading.Tasks;
using Microsoft.AspNetCor... |
WixSharp/Entities/Ribbon.cs | Tall-Paul/PrimePenguin.WixSharp | 3 | 7042601 | <filename>WixSharp/Entities/Ribbon.cs
using Newtonsoft.Json;
namespace WixSharp.Entities
{
public class Ribbon
{
/// <summary>
/// Ribbon text
/// </summary>
[JsonProperty("text")]
public string Text { get; set; }
}
} |
Assets/!Scripts/Tools/UndoableCommands/IUndoableCommand.cs | Esurielt/Nijito | 2 | 7042602 | using System.Collections.Generic;
namespace UndoableCommands
{
public interface IUndoableCommand
{
string Description { get; }
void Execute();
void Undo();
//void Redo(); just execute again, it works.
}
}
|
src/Arrays and Lists/Array Manipulator/Program.cs | ArvvenUndomiel/CSharp-Fundamentals | 0 | 7042603 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _10.Array_Manipulator
{
class Program
{
static void Main(string[] args)
{
//Write a program that reads an array of integers from the console
... |
LowVisibility/LowVisibility/Patch/MechComponentPatches.cs | CMiSSioN/LowVisibility | 3 | 7042604 | using BattleTech;
using Harmony;
using LowVisibility.Helper;
using LowVisibility.Object;
using System.Collections.Generic;
using us.frostraptor.modUtils;
namespace LowVisibility.Patch {
[HarmonyPatch(typeof(MechComponent), "CancelCreatedEffects")]
public static class MechComponent_CancelCreatedEffects {
... |
BasicEC.Secret/src/ProcessingQueue.cs | BasicEC/BasicEC.Secret | 0 | 7042605 | using System;
using System.Collections.Concurrent;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
namespace BasicEC.Secret
{
public class ProcessingQueue<T> : IDisposable
{
private readonly Co... |
source/xcite.csharp/ICustomSerializer.cs | LaGuillotine/xcite | 0 | 7042606 | <filename>source/xcite.csharp/ICustomSerializer.cs
namespace xcite.csharp {
/// <summary> Announces classes taking part of the serialization process of an object. </summary>
public interface ICustomSerializer {
/// <summary> Custom serialization mode </summary>
ECustomSerializationMode Cust... |
src/Microsoft.Data.Encryption/src/Microsoft/Data/Encryption/Cryptography/PlaintextDataEncryptionKey.cs | Xtrimmer/SqlClient | 0 | 7042607 | <filename>src/Microsoft.Data.Encryption/src/Microsoft/Data/Encryption/Cryptography/PlaintextDataEncryptionKey.cs
using System;
using System.Security.Cryptography;
namespace Microsoft.Data.Encryption.Cryptography
{
/// <inheritdoc/>
public class PlaintextDataEncryptionKey : DataEncryptionKey
{
/// ... |
sdk/dotnet/DeployToken.cs | pulumi/pulumi-gitlab | 11 | 7042608 | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... |
OrgOps/OrgOps/ApiExceptionFilterAttribute.cs | arindamdeyofficial/OrgOps | 0 | 7042609 | using Businessmodel.Common;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.Logging;
using System;
namespace Filters
{
public class ApiExceptionFilterAttribute : TypeFilterAttribute
{
public ApiExceptionFilterAttribute() : base(typeof(HandleExceptionP... |
TeamAluminium/ArtGallery.MySqlModel/Places/CountryMySql.cs | Databases-Team-Aluminium/Team-Aluminium | 0 | 7042610 | <reponame>Databases-Team-Aluminium/Team-Aluminium<gh_stars>0
namespace ArtGallery.MySqlModel.Places
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using ArtGallery.MySqlModel.People;
public class CountryMySql
{
private ICollection<ArtistMySql> artist;
... |
HexMaster.ShortLink.Core/Caching/RedisCacheService.cs | nikneem/shortlink-core | 1 | 7042611 | <filename>HexMaster.ShortLink.Core/Caching/RedisCacheService.cs
using System;
using System.Threading.Tasks;
using HexMaster.ShortLink.Core.Caching.Contracts;
using Newtonsoft.Json;
using StackExchange.Redis;
namespace HexMaster.ShortLink.Core.Caching
{
public sealed class RedisCacheService:IRedisCacheService
... |
csharp/CodingChallenge.cs | salgadorw/zpt-interview | 0 | 7042612 | <reponame>salgadorw/zpt-interview<filename>csharp/CodingChallenge.cs
using Interview.Fixtures;
using System.Linq;
using System.Threading.Tasks;
using Xunit;
namespace Interview
{
public class CodingChallenge: IClassFixture<TestsFixture>
{
private readonly TestsFixture fixture;
... |
src/Microsoft.NetCore.Analyzers/UnitTests/Security/DoNotUseDeprecatedSecurityProtocolsTests.cs | LingxiaChen/roslyn-analyzers | 1 | 7042613 | <gh_stars>1-10
// 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 System.Text;
using Microsoft.CodeAnalysis;
using Mic... |
CMDB.Solution/CMDB.BackEnd/DbContextBuilder.cs | juandozuna/CMDB.ClassPractice | 0 | 7042614 | <reponame>juandozuna/CMDB.ClassPractice
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.EntityFrameworkCore.Infrastructure;
namespace CMDB.BackEnd
{
public class DbContextBuilder : IDesignTimeDbContextFactory<CMDBContext>
{
public static ... |
src/Cassandra.IntegrationTests/Core/CollectionsTests.cs | laneser/csharp-driver | 1 | 7042615 | <filename>src/Cassandra.IntegrationTests/Core/CollectionsTests.cs
//
// Copyright (C) 2012 DataStax Inc.
//
// 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.... |
Quadruped/MathExtensions.cs | dmweis/DynamixelServo | 4 | 7042616 | <gh_stars>1-10
using System;
namespace Quadruped
{
static class MathExtensions
{
public static double RadToDegree(this double angle)
{
return angle * (180.0 / Math.PI);
}
public static float RadToDegree(this float angle)
{
return angle * (180f /... |
CompareCloudware.Web/Models/SearchModel.cs | protechdm/CompareCloudware | 0 | 7042617 | <reponame>protechdm/CompareCloudware
namespace CompareCloudware.Web.Models
{
using CompareCloudware.Web;
using System;
using System.Runtime.CompilerServices;
public class SearchModel : BaseModel
{
public SearchModel()
{
this.SearchFiltersModelOneColumn = new CompareClou... |
Samples/Monofoxe.Samples/Resources/Fonts.cs | fdrobidoux/Monofoxe | 232 | 7042618 | using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using Monofoxe.Engine;
using Monofoxe.Engine.Drawing;
using Monofoxe.Engine.Resources;
namespace Monofoxe.Samples.Resources
{
public class Fonts : ResourceBox<IFont>
{
private ContentManager _content;
public Fonts() : base("Fonts")
... |
SpaceBlog/SpaceBlog/App_Start/BundleConfig.cs | Team-Code-Ninjas/SpaceBlog | 0 | 7042619 | namespace SpaceBlog
{
using System.Web.Optimization;
public class BundleConfig
{
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-{version}.js"));
bund... |
tests/WebAppCallsWebApiCallsGraph/TodoListService/Controllers/ILongRunningProcessContextFactory.cs | fcccodeho/microsoft-identity-web | 481 | 7042621 | <reponame>fcccodeho/microsoft-identity-web
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
namespace TodoListService
{
public interface ILongRunningProcessContextFactory
{
Task<string> CreateKey(HttpContext http, string keyHint = null);
Task<LongRunningProcessContext> UseKey(Htt... |
Src/WebMoney.Services.Contracts/BusinessObjects/Invoice/IOriginalOutgoingInvoice.cs | MarketKernel/webmoney-business-tools | 1 | 7042622 | namespace WebMoney.Services.Contracts.BusinessObjects
{
public interface IOriginalOutgoingInvoice
{
int OrderId { get; }
long ClientIdentifier { get; }
string StorePurse { get; }
decimal Amount { get; }
string Description { get; }
string Address { get; }
... |
WpfInterface.Library/API/APIHelper.cs | CodingRacoonn/LibraryManager | 0 | 7042623 | using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using WpfInterface.Library.Models;
namespace WpfInterface.Library.API
{
public class APIHelper : IAPIHelper
{
... |
src/PenaltyCalculation.Web/Models/PenaltyOutputModel.cs | izzetaydogdu/PenaltyCalculation-Assignment | 1 | 7042624 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace PenaltyCalculation.Web.Models
{
public class PenaltyOutputModel
{
public decimal TotalPrice { get; set; }
public int BusinessDays { get; set; }
public string Curren... |
dev/v0.3/QuickPlot/PlotSettings/AxisLabel.cs | StendProg/QuickPlot | 30 | 7042625 | <reponame>StendProg/QuickPlot
using SkiaSharp;
using System;
using System.Collections.Generic;
using System.Text;
namespace QuickPlot.PlotSettings
{
class AxisLabel
{
public bool visible = true;
public string text = "label";
public float fontSize = 14;
public string fontFamily ... |
RekordboxDatabaseReader/Internal/QuantizedPoint.cs | pdelvo/RekordboxDatabaseReader | 3 | 7042626 | <reponame>pdelvo/RekordboxDatabaseReader<filename>RekordboxDatabaseReader/Internal/QuantizedPoint.cs
using System.Runtime.InteropServices;
using static RekordboxDatabaseReader.Internal.ParserHelper;
namespace RekordboxDatabaseReader.Internal
{
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct Quan... |
src/Directory/Biobanks.Web/Results/HttpForbiddenResult.cs | biobankinguk/biobankinguk | 5 | 7042627 | <gh_stars>1-10
using System.Net;
using System.Web.Mvc;
namespace Biobanks.Web.Results
{
public class HttpForbiddenResult : HttpStatusCodeResult
{
public HttpForbiddenResult() : base(HttpStatusCode.Forbidden) { }
}
} |
Standard/test/Cosmos.Test/Judgements/QueryableJudgementTest.cs | chinayou25/Cosmos | 3 | 7042628 | <reponame>chinayou25/Cosmos
using System.Collections.Generic;
using System.Linq;
using Cosmos.Judgements;
using Xunit;
namespace Cosmos.Test.Judgements
{
public class QueryableJudgementTest
{
List<string> source = new List<string> { "1", "2", "3", "4", "5", "6", "7", "8" };
[Theory]
[... |
test/Microsoft.Azure.EventHubs.Tests/TestConstants.cs | vishwas-neo/azure-event-hubs-dotnet | 95 | 7042629 | <filename>test/Microsoft.Azure.EventHubs.Tests/TestConstants.cs
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Azure.EventHubs.Tests
{
static class TestConstants
{
internal const... |
HideTMPECrosswalks/Utils/NS2Utils.cs | CitiesSkylinesMods/HideCrosswalks | 1 | 7042630 | using System;
using System.IO;
using UnityEngine;
using KianCommons;
namespace HideCrosswalks.Utils {
internal static class NS2Utils {
private static bool exists = true;
internal static void Init() => exists = true;
public static bool HideJunctionMarkings(ushort segmentID) {
if... |
Src/DomainAnalysis/Properties/Settings.Designer.cs | lawenliu/MaRK | 0 | 7042631 | <reponame>lawenliu/MaRK<filename>Src/DomainAnalysis/Properties/Settings.Designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34209
//
// Changes to this file may cause incorrect be... |
CdIts.Caffoa.Cli/ApiBuilder.cs | claasd/caffoa.net | 0 | 7042632 | <filename>CdIts.Caffoa.Cli/ApiBuilder.cs
using CdIts.Caffoa.Cli.Config;
using CdIts.Caffoa.Cli.Generator;
using CdIts.Caffoa.Cli.Model;
using CdIts.Caffoa.Cli.Parser;
using Microsoft.OpenApi.Models;
namespace CdIts.Caffoa.Cli;
public class ApiBuilder
{
private readonly ServiceConfig _service;
private readonly... |
src/Vernuntii.Git/Extensions/Configurers/SinceCommitConfigurer.cs | Teneko-NET-Tools/Teneko.MessagesVersioning | 0 | 7042633 | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using Vernuntii.Git;
using Vernuntii.MessagesProviders;
namespace Vernuntii.Extensions.Configurers
{
internal class SinceCommitConfigurer : GitConfigurer, ISinceCommitConfigurer, IConfigureOptions<CommitVersionFindingOptions>, ICo... |
Client/App/MaintainTimer.cs | p2pquake/epsp-peer-cs | 11 | 7042634 | <reponame>p2pquake/epsp-peer-cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Client.App.State;
using Client.Client;
using Client.Common.General;
using Client.Common.Net;
using log4net;
namespace Client.App
{
clas... |
APIChrysallis/Controllers/assistirsController.cs | shuansanchez/APIChrysallis | 1 | 7042635 | <filename>APIChrysallis/Controllers/assistirsController.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;... |
MegaApi/Class1.cs | redwyre/MegaApi | 1 | 7042636 | <filename>MegaApi/Class1.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using System.IO;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.Diagnostics;
namespace MegaApi
{
public enum Error
{
... |
KoS.Apps.SharePoint.SmartCAML/KoS.Apps.SharePoint.SmartCAML.Editor/AttachedProperties/PasswordBoxAssistant.cs | konradsikorski/smartCAML | 18 | 7042637 | <filename>KoS.Apps.SharePoint.SmartCAML/KoS.Apps.SharePoint.SmartCAML.Editor/AttachedProperties/PasswordBoxAssistant.cs
using System.Windows;
using System.Windows.Controls;
namespace KoS.Apps.SharePoint.SmartCAML.Editor.AttachedProperties
{
public static class PasswordBoxAssistant
{
public static read... |
MPT.Math/Curves/Tools/Intersections/ICurveIntersection.cs | MarkPThomas/MPT.Math-.netCore | 0 | 7042638 | // ***********************************************************************
// Assembly : MPT.Math
// Author : <NAME>
// Created : 11-16-2020
//
// Last Modified By : <NAME>
// Last Modified On : 11-19-2020
// ***********************************************************************
// <copyrig... |
OTTDLib/AISignList.cs | ttv86/CsNut | 0 | 7042639 | <reponame>ttv86/CsNut
namespace OpenTTD
{
/// <summary>Create a list of signs your company has created.</summary>
public class AISignList : AIList<SignID>
{
public AISignList() { throw null; }
}
} |
Database/MessageBlockDB.cs | MCForge/MCForge-Vanilla-Redux | 2 | 7042640 | <filename>Database/MessageBlockDB.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace MCForge {
public class MessageBlockDB {
public static List<MessageBlock> messageBlocks = new List<MessageBlock>();
static string messageBlockFile = "m... |
WebApiStore/StoreApi/Controllers/Auth/AuthController.cs | cob3x85/NetCoreDev | 0 | 7042641 | <gh_stars>0
using Microsoft.AspNetCore.Mvc;
using StoreApi.Models;
using System.Collections.Generic;
using System.Linq;
namespace StoreApi.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class AuthController : ControllerBase
{
private readonly StoreContext _context;
public AuthControl... |
ExercisesCSharpBasicsMoreExercises/04.PhotoGallery/Program.cs | MustafaAmish/Homeworks | 0 | 7042642 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _04.PhotoGallery
{
class Program
{
static void Main(string[] args)
{
int numFoto = int.Parse(Console.ReadLine());
int dd = int.Parse(Console.Rea... |
ExampleBot/Extensions/Extensions.cs | 1NieR/Fergun.Interactive | 10 | 7042643 | <reponame>1NieR/Fergun.Interactive<gh_stars>1-10
using Discord;
using Fergun.Interactive;
namespace ExampleBot.Extensions;
public static class EmbedBuilderExtensions
{
public static EmbedBuilder WithRandomColor(this EmbedBuilder builder) => builder.WithColor(Utils.GetRandomColor());
}
public static class PageBu... |
src/SlackReporting/UpdateMessageResponse.cs | ITGlobal/dotnet-slack-reporting | 0 | 7042644 | using Newtonsoft.Json;
namespace ITGlobal.SlackReporting
{
internal sealed class UpdateMessageResponse : Response
{
[JsonProperty("ts")]
public string Timestamp { get; set; }
[JsonProperty("channel")]
public string Channel { get; set; }
}
} |
Source-Skinning/ExtendedControlsLibrary/Skinning/CustomWizard/NoHeaderWizardAeroClientPainter.cs | kyle208/ZetaResourceEditor | 0 | 7042645 | <reponame>kyle208/ZetaResourceEditor
namespace ExtendedControlsLibrary.Skinning.CustomWizard;
using DevExpress.Utils.Drawing;
using DevExpress.XtraWizard;
internal class NoHeaderWizardAeroClientPainter : WizardAeroClientPainter
{
public NoHeaderWizardAeroClientPainter(WizardViewInfo viewInfo) : base(viewInfo) { }... |
ReSharper.FSharp/src/Daemon.FSharp/src/Stages/FSharpDaemonStageBase.cs | gitter-badger/fsharp-support | 0 | 7042646 | using System.Collections.Generic;
using JetBrains.Annotations;
using JetBrains.Application.Settings;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Plugins.FSharp.Psi;
using JetBrains.ReSharper.Plugins.FSharp.Psi.Tree;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.Files;
us... |
Source/Terminals/Integration/Import/RdcMan/LogonCredentials.cs | RisesunStudios/Terminals | 1,178 | 7042647 | using System;
using System.Xml.Linq;
namespace Terminals.Integration.Import.RdcMan
{
internal class LogonCredentials : Settings<LogonCredentials>
{
internal string UserName
{
get
{
Func<string> getParentValue = () => this.Parent.UserName;
... |
src/Couchbase.Transactions/ProtocolVersion.cs | malclear/couchbase-transactions-dotnet | 0 | 7042648 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Couchbase.Transactions
{
internal static class ProtocolVersion
{
public static readonly decimal SupportedVersion = 2.1m;
public static IEnumerable<ExtensionName> ExtensionsSupported()
... |
src/System/Borg.System.Backoffice.Security/BorgAuthenticationOptions.cs | mitsbits/Bor | 0 | 7042649 | <gh_stars>0
using Microsoft.AspNetCore.Authentication;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using System;
using System.Net.Http.Headers;
using System.Security.Claims;
using System.Text;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
namespace Borg.System.Backoffice.S... |
src/PandaPlayer/App.xaml.cs | CodeFuller/music-library | 0 | 7042650 | <reponame>CodeFuller/music-library<gh_stars>0
using System;
using CodeFuller.Library.Wpf;
using PandaPlayer.ViewModels;
namespace PandaPlayer
{
internal partial class App : WpfApplication<ApplicationViewModel>
{
public App()
#pragma warning disable CA2000 // Dispose objects before losing scope
: base... |
src/Pglet/Controls/Html.cs | pglet/pglet-dotnet | 0 | 7042651 | <gh_stars>0
namespace Pglet
{
public class Html : Control
{
protected override string ControlName => "html";
public string Value
{
get { return GetAttr("value"); }
set { SetAttr("value", value); }
}
}
}
|
plugins/src/mousewheel/NativeWindow.cs | KyzarCho/PoE-Overlay | 827 | 7042652 | using System;
using overwolf.plugins.mousewheel.Models;
namespace overwolf.plugins.mousewheel
{
internal class NativeWindow
{
private InputOptionsWinInfo _winInfo;
/// <summary>
///
/// </summary>
/// <param name="info"></param>
public void SetWindowInfo(InputOptionsWinInfo info)
{
... |
Assets/Scripts/Characters/HealthbarController.cs | tylcos/SignalLost | 4 | 7042653 | <reponame>tylcos/SignalLost
using UnityEngine;
public class HealthbarController : MonoBehaviour
{
public GameObject background;
public GameObject foreground;
public MovementController boundCharacter;
private float current;
private float max;
private Sprite fgSprite;
private Sprite bgSpr... |
Referee/KnockoutErrorInfo.cs | TheBerkin/Referee | 1 | 7042654 | <reponame>TheBerkin/Referee
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Referee
{
[DataContract]
internal sealed class KnockoutErrorInfo
{
[DataMember(Name = "error", IsRequired = ... |
MemoEngine/My.aspx.cs | VisualAcademy/Supports | 1 | 7042655 | using System;
namespace MemoEngine
{
public partial class My : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (Session["UserName"] == null || Session["UserName"].ToString() == "")
{
Response.Redirect("~/Account/Login.aspx?... |
EPOS/SaleScreen.cs | JoeBurnside/FinalYearProject | 0 | 7042656 | <reponame>JoeBurnside/FinalYearProject
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace EPOS
{
public partial ... |
CommonDistSimFrame/Server/ServerThread.cs | loadprofilegenerator/DistributedSimulator | 0 | 7042657 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Threading;
using Automation;
using CommonDistSimFrame.Client;
using CommonDistSimFrame.Common;
using JetBrains.Annotat... |
src/HotChocolate/Data/src/Data/Projections/Convention/IProjectionConvention.cs | anadale/hotchocolate | 3 | 7042658 | <filename>src/HotChocolate/Data/src/Data/Projections/Convention/IProjectionConvention.cs
using HotChocolate.Execution.Processing;
using HotChocolate.Resolvers;
using HotChocolate.Types.Descriptors;
namespace HotChocolate.Data.Projections;
/// <summary>
/// The projection convention provides defaults for projections p... |
Nitrocoin.Bitcoin/RPC/Converters/BtcDecimalJsonConverter.cs | nitro-coin/NitrocoinFullNode | 0 | 7042659 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
namespace Nitrocoin.Bitcoin.RPC.Converters
{
public class BtcDecimalJsonConverter : JsonConverter
{
const int _minDecimals = 8;
public override ... |
src/Shouldly.Tests/ShouldNotContain/StringArrayScenario.cs | stop-cran/shouldly | 1 | 7042660 | <reponame>stop-cran/shouldly
using Shouldly.Tests.Strings;
using Xunit;
namespace Shouldly.Tests.ShouldNotContain
{
public class StringArrayScenario
{
readonly string[] _target = new[] { "a", "b", "c" };
[Fact]
public void StringArrayScenarioShouldFail()
{
Verify.S... |
Assets/Scripts/JatayuMenuController.cs | YICG-GamesForSeva/Jatayus_Journey | 0 | 7042661 | <filename>Assets/Scripts/JatayuMenuController.cs
/*
* Young Indian Culture Group Inc. 5013(c)
*
* Copyright (c) 2017
*
* Author : <NAME>
*
* Project : Jatayu's Journey
*
* File Name : JatayuMenuController.cs
*
* Date Created : 6th July 2017
*
* Purpose : To be able to an... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.