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 |
|---|---|---|---|---|
OpenKh.Tests/kh2/MotionTests.cs | iwtexplode/OpenKh | 174 | 7032891 | <gh_stars>100-1000
using OpenKh.Common;
using OpenKh.Kh2;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Xunit;
namespace OpenKh.Tests.kh2
{
public class MotionTests
{
private const string RawFileName = "./kh2/res/raw.motion";
private const string InterpolatedFileNa... |
src/Assuan/Global.cs | DandyFX/GPG | 0 | 7032892 | // SPDX-License-Identifier: MIT
// Copyright: 2018 <NAME> <<EMAIL>>
namespace Dandy.GPG.Assuan
{
static class Global
{
/// <summary>
/// Name of the Libassuan dll on Windows
/// </summary>
internal const string AssuanLibraryWin = "libassuan-0";
/// <summary>
///... |
backend/entities/Helpers/Extensions/ProjectExtensions.cs | agalbrai/PIMS | 20 | 7032893 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Entity = Pims.Dal.Entities;
namespace Pims.Dal.Helpers.Extensions
{
/// <summary>
/// ProjectExtensions static class, provides extension methods for projects.
/// </summary>
public static class ProjectExten... |
src/NUglify.Tests/JavaScript/Strict.cs | icnocop/NUglify | 192 | 7032894 | <gh_stars>100-1000
// Strict.cs
//
// Copyright 2011 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unle... |
ProjectTemplates/gmodnet-module/TemplateModule.cs | GlebChili/Templates | 2 | 7032895 | using GmodNET.API;
namespace TemplateModule
{
public class TemplateModule : IModule
{
public string ModuleName => "TemplateModule";
public string ModuleVersion => "1.0.0";
public void Load(ILua lua, bool is_serverside, ModuleAssemblyLoadContext assembly_context)
{
... |
Soothsharp.Translation/Trees/CSharp/UnknownSharpnode.cs | Soothsilver/cs2sil | 1 | 7032896 | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
namespace Soothsharp.Translation.Trees.CSharp
{
class UnknownSharpnode : Sharpnode
{
public UnknownSharpnode(SyntaxNode node) : base(node)
{
}
public override TranslationResult Translate(TranslationContext tran... |
WRLDCWarehouse.ETL/Jobs/JobReadForeignAcTransLineCkts.cs | POSOCO/wrldc_data_warehouse_csharp | 0 | 7032897 | <gh_stars>0
using System.Collections.Generic;
using System.Threading.Tasks;
using WRLDCWarehouse.Data;
using WRLDCWarehouse.Core.Entities;
using WRLDCWarehouse.ETL.Extracts;
using WRLDCWarehouse.ETL.Loads;
using WRLDCWarehouse.ETL.Enums;
using WRLDCWarehouse.Core.ForiegnEntities;
using Microsoft.Extensions.Logging;
n... |
PdfReport.Reporting.MigraDoc/Internal/Size.cs | sandip8277/PDFApp | 0 | 7032898 | using MigraDoc.DocumentObjectModel;
namespace PdfReport.Reporting.MigraDoc.Internal
{
internal class Size
{
// Top and bottom margins are larger to account for the header and footer
public static readonly Unit TopBottomPageMargin = "2.00 in";
public static readonly Unit LeftRightPageMar... |
src/Castle.Sdk/Signature.cs | castle/castle-dotnet | 1 | 7032899 | <filename>src/Castle.Sdk/Signature.cs
using System;
using System.Security.Cryptography;
using System.Text;
namespace Castle
{
public static class Signature
{
/// <summary>
/// Computes hex-encoded (lower-case) SHA-256 HMAC
/// </summary>
/// <param name="key"></param>
/... |
src/Orchard.Web/Modules/Orchard.DynamicForms/Elements/TextField.cs | Lombiq/Open-Source-Orchard-Extensions | 0 | 7032900 | <filename>src/Orchard.Web/Modules/Orchard.DynamicForms/Elements/TextField.cs
using Orchard.DynamicForms.Validators.Settings;
namespace Orchard.DynamicForms.Elements {
public class TextField : LabeledFormElement {
public TextFieldValidationSettings ValidationSettings {
get { return Data.Ge... |
ImageSharpCompare/ImageSharpCompare.cs | kevin-mcmanus/ImageSharp.Compare | 0 | 7032901 | <filename>ImageSharpCompare/ImageSharpCompare.cs
using SixLabors.ImageSharp;
using SixLabors.ImageSharp.PixelFormats;
using System;
namespace Codeuctivity
{
/// <summary>
/// ImageSharpCompare, inspired by testapi feature to compare images. Use this class to compare images using a third image as mask of regio... |
METAbolt/GUI/Consoles/TabsConsole.cs | emperorstarfinder/METAbolt | 5 | 7032902 | <reponame>emperorstarfinder/METAbolt
// Copyright (c) 2008 - 2014, www.metabolt.net (METAbolt)
// Copyright (c) 2006-2008, <NAME> (a.k.a. Delta)
// All rights reserved.
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions... |
app/Varie/AppWormsUnity_old/Assets/Develop/Editor/AssetManager.cs | objuan/picodex | 0 | 7032903 | using UnityEngine;
using UnityEditor;
using System.Collections;
using System.IO;
//using Picodex.Unity.Vxcm;
using Picodex.Vxcm;
namespace Picodex.Volume
{
public class AssetManager
{
//public static VolumeDataType CreateFromVoxelDatabase<VolumeDataType>(string relativePathToVoxelDatabase) where Vo... |
Source/Middleware/ZyGames.Framework.Game/Com/Rank/RankingFactory.cs | lsqtzj/Scut | 1,238 | 7032904 | /****************************************************************************
Copyright (c) 2013-2015 scutgame.com
http://www.scutgame.com
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... |
webapp/ui/ShoppingWebSiteUI/ShoppingWebSiteUI/Views/Authentication/Login.cshtml | vivdalal/shopping-website | 1 | 7032905 | @model ShoppingWebSiteUI.Models.User
@{
ViewData["Title"] = "Login Page";
}
<div class="login-page-container">
<span class="caption-text">
You Shop! We Deliver!
</span>
<div class="inner-container">
<form method="post" action="/Auth/Login">
<div class="form-group">
... |
LanguageExt.Core/IO/LiveIO/FileIO.cs | ode2code95/language-ext | 1 | 7032906 | <filename>LanguageExt.Core/IO/LiveIO/FileIO.cs
using System.Collections.Generic;
using System.Threading.Tasks;
using System.IO;
using System.Text;
using System.Threading;
using LanguageExt.Interfaces;
using LanguageExt;
namespace LanguageExt.LiveIO
{
/// <summary>
/// Real world interaction with the file-syste... |
src/AlohaKit/Controls/PulseIcon/PulseIcon.cs | jsuarezruiz/AlohaKit | 3 | 7032908 | <gh_stars>1-10
using Microsoft.Maui.Dispatching;
using System.Diagnostics;
namespace AlohaKit.Controls
{
// TODO:
// - Render Source Image
// - Include PulseCount BindableProperty.
public class PulseIcon : GraphicsView
{
readonly Stopwatch _stopwatch;
readonly float[] _pulses;
... |
src/NDILibDotNet2/Sender.cs | QuinceImaging/liveswitch-connect | 12 | 7032909 | <filename>src/NDILibDotNet2/Sender.cs
using System;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace NewTek.NDI
{
public class Sender : IDisposable
{
public Sender(String sourceName, bool clockVideo=true, bool clockAudio=false, String[] groups = null, String failov... |
src/BetGame.DDZ.WasmClient/Program.cs | saber-wang/FightLandlord | 29 | 7032910 | <reponame>saber-wang/FightLandlord
using BetGame.DDZ.WasmClient.Services;
using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Net.Http;
using System.Net.WebSockets;
using System.Thread... |
OI Wireless Camera/HelpPage.xaml.cs | pvainio/oiwireless | 1 | 7032911 | <filename>OI Wireless Camera/HelpPage.xaml.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using Microsoft.Phone.Tasks;
using System... |
Samples/V1.0Samples/AksSamples/teams-recording-bot/src/RecordingBot.Tests/Helper/ParticipantConverter.cs | azabet/microsoft-graph-comms-samples | 161 | 7032912 | <reponame>azabet/microsoft-graph-comms-samples
// ***********************************************************************
// Assembly : RecordingBot.Tests
// Author : JasonTheDeveloper
// Created : 09-07-2020
//
// Last Modified By : dannygar
// Last Modified On : 09-03-2020
// *************... |
Assets/TurnBasedGameKit/DemoProjects/UnityTilemap/Scripts/Units/UnitFactory.cs | ddayin/Unity-TurnBasedGameKit | 2 | 7032913 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace TurnBasedGameKit.DemoUnityTilemap
{
/// <summary>
/// 유닛을 생성하는 팩토리 클래스
/// </summary>
public static class UnitFactory
{
/// <summary>
/// 플레이어가 조작 가능한 유닛들을 생성한다.
/// </summary>
... |
Buffs/PolarisElectrecutedBuff.cs | W1K1/tsorcRevamp | 4 | 7032915 | <filename>Buffs/PolarisElectrecutedBuff.cs
using Terraria;
using Terraria.ModLoader;
using tsorcRevamp.NPCs;
namespace tsorcRevamp.Buffs
{
public class PolarisElectrocutedBuff : ModBuff
{
public override bool Autoload(ref string name, ref string texture)
{
// NPC only buff so we'll... |
TankLib/STU/Types/STU_FD20A05C.cs | ekin1106/OWLib | 1 | 7032916 | <filename>TankLib/STU/Types/STU_FD20A05C.cs
// Instance generated by TankLibHelper.InstanceBuilder
using TankLib.STU.Types.Enums;
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0xFD20A05C)]
public class STU_FD20A05C : STUInstance {
[STUFieldAttribute(0x08D19750)]
public te... |
src/libraries/System.ComponentModel.Composition/src/System/ComponentModel/Composition/Hosting/AssemblyCatalogDebuggerProxy.cs | mklement0/runtime | 28 | 7032917 | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.ObjectModel;
using System.ComponentModel.Composition.Primitives;
using System.Reflection;
using Microsoft.Internal;
using Microsoft.Internal.Collections;
na... |
BTCPayServer.Tests/UnitTestBase.cs | satwo/btcpayserver | 0 | 7032918 | <filename>BTCPayServer.Tests/UnitTestBase.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using BTCPayServer.Tests.Logging;
using Xunit.Abstractions;
namespace BTCPayServer.Tests
{
public class UnitTestBase
{
pub... |
Tools/Src/SFProtocolCompiler/CSharp/Message.cs | blue3k/StormForge | 1 | 7032919 | <gh_stars>1-10
////////////////////////////////////////////////////////////////////////////////
//
// CopyRight (c) 2018 <NAME>
//
// Author : <NAME>
//
// Description : Generic Message
//
////////////////////////////////////////////////////////////////////////////////
using System;
using System.Collec... |
Models/Questions.cs | trashmoldwilliams/.net-stackoverflow | 0 | 7032920 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace StackOverflow.Models
{
[Table("Questions")]
public class Question
{
[Key]
public int I... |
src/wizards/Sage300FinderGenerator/FinderDefinitionControl.cs | echan-sage/Sage300-SDK | 21 | 7032921 | <gh_stars>10-100
// The MIT License (MIT)
// Copyright (c) 1994-2021 The Sage Group plc or its licensors. All rights reserved.
//
// 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 with... |
Tests/Cookbook/Grenade.cs | tznind/Wanderer | 9 | 7032922 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using Wanderer.Actors;
using Wanderer.Adjectives;
namespace Tests.Cookbook
{
class Grenade : Recipe
{
string injurySystemYaml =
@"
Identifier: 7ccafc68-d51f-4408-861c-f1d7... |
DotNetBungieAPI.Generated/Models/Forum/PollResponse.cs | EndGameGl/.NetBungieAPI | 25 | 7032923 | <reponame>EndGameGl/.NetBungieAPI<gh_stars>10-100
using System.Text.Json.Serialization;
namespace DotNetBungieAPI.Generated.Models.Forum;
public sealed class PollResponse
{
[JsonPropertyName("topicId")]
public long TopicId { get; init; }
[JsonPropertyName("results")]
public List<Forum.PollResult> Re... |
tests/Domain0.Api.Client.Test/Domain0ContextRefreshByTimer.cs | kirillnvnsk/domain0 | 0 | 7032924 | <filename>tests/Domain0.Api.Client.Test/Domain0ContextRefreshByTimer.cs
using Moq;
using System.Threading.Tasks;
using Xunit;
using static Domain0.Api.Client.Test.Domain0ContextAttachedClientTest;
namespace Domain0.Api.Client.Test
{
public class Domain0ContextRefreshByTimer
{
[Fact]
public asy... |
src/SpectatorView.Unity/Assets/SpectatorView.Tests/CompositorTestsBase.cs | arttylovelychoise/MixedReality-SpectatorView | 165 | 7032925 | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#if UNITY_EDITOR
using NUnit.Framework;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace Microsoft.MixedReality.SpectatorView.Tests
{
public class... |
src/ModuleExtensions.cs | jfellien/Auth0.NancyFx.SelfHost | 8 | 7032926 | <gh_stars>1-10
using System.Configuration;
using Nancy;
using Nancy.Security;
namespace Auth0.Nancy.SelfHost
{
public static class ModuleExtensions
{
private static readonly Auth0.Client Auth0Client = new Auth0.Client(
ConfigurationManager.AppSettings["auth0:ClientId"],
Configu... |
msbuild/Xamarin.MacDev.Tasks.Core/Tasks/PropertyListEditorTaskBase.cs | Acidburn0zzz/xamarin-macios | 1 | 7032927 | using System;
using System.IO;
using System.Text;
using System.Globalization;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
namespace Xamarin.MacDev.Tasks
{
public enum PropertyListEditorAction {
Add,
Clear,
Delete,
Import,
Merge,
Set
}
public abstract class PropertyListEditorTask... |
MMC-Ideas/Calc/Form_BaseChoice.Designer.cs | oelsnerc/MMC-Ideas | 0 | 7032928 | namespace Calc
{
partial class Form_BaseChoice
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
Source/SyrHarpy/CostToMoveIntoCellPatch.cs | emipa606/SYRHarpy | 0 | 7032929 | <gh_stars>0
using HarmonyLib;
using Verse;
using Verse.AI;
namespace SyrHarpy
{
// Token: 0x0200000D RID: 13
[HarmonyPatch(typeof(Pawn_PathFollower), "CostToMoveIntoCell", typeof(Pawn), typeof(IntVec3))]
public class CostToMoveIntoCellPatch
{
// Token: 0x0600003C RID: 60 RVA: 0x00003400 File O... |
Assets/Project/SpaceEngine/Code/Types/Matrix2x2d.cs | aronarts/SpaceW | 0 | 7032930 | #region License
//
// Procedural planet renderer.
// Copyright (c) 2008-2011 INRIA
//
// 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 3 of the License, or
// (at your option) ... |
src/lib/iTin.Core/iTin.Core/ComponentModel/ByteReader.cs | iAJTin/iInternetInformationServices | 30 | 7032931 |
namespace iTin.Core.ComponentModel
{
using System.Collections.ObjectModel;
using System.Linq;
/// <summary>
/// Class
/// </summary>
public class ByteReader
{
#region constructor/s
#region [private] ByteReader(byte[]): Initializes a new instance of the class
/// <... |
bccr/csharp/core/Models/MonitorTask.cs | alipay/antchain-openapi-prod-sdk | 6 | 7032932 | // This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AntChain.SDK.BCCR.Models
{
// 监测任务信息
public class MonitorTask : TeaModel {
// 内容表述
//
//
[NameInMap("content_desc")]
[Validati... |
Assets/_Scripts/World/BlockType.cs | AJ213/Rimecraft | 0 | 7032933 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
[CreateAssetMenu(fileName = "BlockType", menuName = "Rimecraft/BlockType")]
public class BlockType : ScriptableObject
{
public string blockName;
public bool isSolid;
public VoxelMeshData meshData;
publ... |
src/es-replicator/Settings/Transformers.cs | kaancfidan/replicator | 13 | 7032934 | using System;
using System.IO;
using EventStore.Replicator.Http;
using EventStore.Replicator.JavaScript;
using EventStore.Replicator.Shared;
using EventStore.Replicator.Shared.Pipeline;
namespace es_replicator.Settings {
public static class Transformers {
public static TransformEvent GetTransformer(Replica... |
project/LanguageServerProtocol/Model/WorkspaceSymbols.cs | ohtorii/hidemaru_lsp_client | 6 | 7032935 | using System;
using System.Collections.Generic;
using System.Text;
namespace LSP.Model
{
class WorkspaceSymbolClientCapabilities
{
public bool dynamicRegistration;
public class _symbolKind {
public SymbolKind[] valueSet;
};
public _symbolKind symbolKind;
/**
* The client supports tags on `SymbolI... |
test/dotnet-publish.Tests/PublishAppWithBuildDependency.cs | mendhak/dotnet-cli | 1 | 7032936 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using FluentAssertions;
using Microsoft.DotNet.Tools.Test.Utilities;
using Microsoft.Extensions.DependencyModel;
using Xunit;
namespace Microsoft.DotNet.Tools.Publish.Tests
{
public class PublishAppWithBuildDependen... |
Entities/Badge.cs | sanbir/SharpSquare | 3 | 7032937 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace FourSquare.SharpSquare.Entities
{
public class Badge : FourSquareEntity
{
/// <summary>
/// A unique identifier for this badge, if locked, or this user's specific unlock of this badge, if unlocked.
... |
UltimaOnline.Data/Items/Skill Items/Tailor Items/Dyetubs/MetallicLeatherDyeTub.cs | netcode-gamer/game.ultimaonline.io | 0 | 7032938 | using System;
namespace UltimaOnline.Items
{
public class MetallicLeatherDyeTub : LeatherDyeTub
{
public override CustomHuePicker CustomHuePicker{ get{ return null; } }
public override int LabelNumber { get { return 1153495; } } // Metallic Leather ...
public override bool MetallicHues { get { ret... |
Lutra.Examples/src/Scenes/RichTextScene.cs | emmyleaf/Lutra | 1 | 7032939 | <filename>Lutra.Examples/src/Scenes/RichTextScene.cs<gh_stars>1-10
using ImGuiNET;
using Lutra.Graphics;
using Lutra.Utility;
namespace Lutra.Examples
{
public class RichTextScene : Scene
{
RichText richText;
string textContent = "Waltz, bad nymph, for quick jigs vex.";
public overrid... |
DanTup.TestAdapters/GenericTestXml.cs | DanTup/TestAdapters | 17 | 7032940 | using System;
using System.Xml.Serialization;
using Microsoft.VisualStudio.TestPlatform.ObjectModel;
namespace DanTup.TestAdapters
{
[XmlRoot("Tests")]
[Serializable]
public class GenericTests
{
[XmlElement("Test")]
public GenericTest[] Tests { get; set; }
}
[Serializable]
public class GenericTest
{
pu... |
src/Microsoft.Azure.SignalR/ServerConnections/ServiceConnection.cs | nickcox/azure-signalr | 0 | 7032941 | // 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.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Connec... |
Src/System.Linq.Dynamic/ExpressionParser.cs | Tricept/System.Linq.Dynamic | 14 | 7032942 | using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq.Expressions;
using System.Reflection;
using System.Collections;
using System.Globalization;
namespace System.Linq.Dynamic
{
internal class ExpressionParser
{
struct Token
{
publi... |
src/DotVVM.Samples.Common/ViewModels/FeatureSamples/ActionFilterErrorHandling/ActionFilterErrorHandlingViewModel.cs | vnwonah/dotvvm | 641 | 7032943 | <reponame>vnwonah/dotvvm
using System;
using System.Threading.Tasks;
using DotVVM.Framework.Hosting;
using DotVVM.Framework.Runtime.Filters;
using DotVVM.Framework.ViewModel;
using DotVVM.Framework.Utils;
namespace DotVVM.Samples.BasicSamples.ViewModels.FeatureSamples.ActionFilterErrorHandling
{
public class Actio... |
src/Astron.Network/SocketFactory.cs | thenameless314159/Astron.Network | 8 | 7032944 | <gh_stars>1-10
using System.Net;
using System.Threading.Tasks;
using Astron.Network.Abstractions;
namespace Astron.Network
{
public abstract class SocketFactory
{
protected abstract ISocketProxy CreateSocket();
public ISocketListener CreateListenerSocket(EndPoint endPoint, int backlog)
... |
src/Xamarin.Forms.Labs/Xamarin.Forms.Labs/Controls/ExtendedEntryCell.cs | XpiritBV/Xamarin-Forms-Labs | 1 | 7032945 | <filename>src/Xamarin.Forms.Labs/Xamarin.Forms.Labs/Controls/ExtendedEntryCell.cs
using System;
using System.Runtime.CompilerServices;
[assembly:
InternalsVisibleTo("Xamarin.Forms.Labs.Droid"),
InternalsVisibleTo("Xamarin.Forms.Labs.iOS"),
InternalsVisibleTo("Xamarin.Forms.Labs.WP8")]
namespace Xamarin.... |
src/FontAwesome.Regular/FontAwesome/Icon.cs | dimonovdd/Xamarin.Forms.FontAwesomeFree | 15 | 7032946 |
namespace FontAwesome.Regular
{
/// <summary>Regular Icons</summary>
public enum Icon
{
/// <summary>fa-address-book</summary>
AddressBook = '\uf2b9',
/// <summary>fa-address-card</summary>
AddressCard = '\uf2bb',
/// <summary>fa-angry</summary>
Angry = '\uf... |
GenericValueEditor/Utils/TextBoxUtils.cs | ScanMountGoat/GenericValueEditor | 0 | 7032947 | using System.Drawing;
using System.Globalization;
using System.Windows.Forms;
namespace GenericValueEditor.Utils
{
/// <summary>
/// Contains methods for converting the text of a <see cref="TextBox"/> to numeric types.
/// </summary>
public static class TextBoxUtils
{
/// <summary>
... |
DizMat4/Form1.cs | Krogenit/discrete-math4 | 0 | 7032949 | using DeezMat4;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace DizMat4
{
public class GameRunner
{
pr... |
src/SharpBrick.PoweredUp/Protocol/Formatter/LwpVersionNumberEncoder.cs | KeyDecoder/powered-up | 60 | 7032950 | <reponame>KeyDecoder/powered-up
using System;
namespace SharpBrick.PoweredUp.Protocol.Formatter
{
public static class LwpVersionNumberEncoder
{
// spec chapter: 3.5.7
public static Version Decode(byte byte0, byte byte1)
{
var major = (byte1 >> 4) * 10 + (byte1 & 0b0000_1111... |
src/Naruto.Id4.Entities/NoCollection/ClientPostLogoutRedirectUri.cs | zhanghaiboshiwo/Naruto.Id4.MongoDB | 1 | 7032951 |
namespace Naruto.Id4.Entities
{
/// <summary>
/// oidc注销之后跳转地址
/// </summary>
public class ClientPostLogoutRedirectUri : BaseMongo.Model.IMongoEntity
{
/// <summary>
/// 重定向地址
/// </summary>
public string PostLogoutRedirectUri { get; set; }
}
} |
PddOpenSdk/PddOpenSdk/Models/Request/Ad/CreateAdKeywordRequestModel.cs | gitter-badger/open-pdd-net-sdk | 16 | 7032952 | <reponame>gitter-badger/open-pdd-net-sdk
using Newtonsoft.Json;
namespace PddOpenSdk.Models.Request.Ad
{
public partial class CreateAdKeywordRequestModel : PddRequestModel
{
/// <summary>
/// 0--搜索广告,1--明星店铺,2--定向广告,3--首页Banner广告(目前只支持0,暂不支持1、2、3)
/// </summary>
[JsonProperty("sc... |
src/Sefaz.Core/Models/NFe/TEventoInfEventoDetEventoVersao.cs | GRMagic/Sefaz | 5 | 7032953 | <filename>src/Sefaz.Core/Models/NFe/TEventoInfEventoDetEventoVersao.cs
namespace Sefaz.Core.Models.NFe
{
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.8.3928.0")]
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace ... |
BLL/AdminBl.cs | nickgoodrow/Mvc3Tier_LinkHub | 0 | 7032954 | <reponame>nickgoodrow/Mvc3Tier_LinkHub
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Transactions;
using BOL;
namespace BLL
{
public class AdminBl : BaseBl
{
public void ApproveOrReject(List<int> ids, string status)
... |
Assets/Scripts/Game/Characters/Players/PlayerBehavior2D.cs | pdxparrot/ggj2019 | 0 | 7032955 | using pdxpartyparrot.Core.Data;
using pdxpartyparrot.Core.Util;
using pdxpartyparrot.Game.Data;
using UnityEngine;
using UnityEngine.Assertions;
namespace pdxpartyparrot.Game.Characters.Players
{
public abstract class PlayerBehavior2D : CharacterBehavior2D, IPlayerBehavior
{
[SerializeField]
... |
AUCapture-WPF/Converters/PlayerColorToBrush.cs | k2wanko/amonguscapture | 1 | 7032956 | <filename>AUCapture-WPF/Converters/PlayerColorToBrush.cs
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using System.Windows.Media;
using AmongUsCapture;
namespace AUCapture_WPF.Converters
{
public class PlayerColorToBrush : IValueConve... |
camunda-bpm-platform-net/engine/src/main/java/org/camunda/bpm/engine/impl/migration/instance/MigratingEventScopeInstance.cs | luizfbicalho/Camunda.NET | 6 | 7032957 | <gh_stars>1-10
using System.Collections.Generic;
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH
* under one or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information regarding copyright
* ownership. Camunda licenses this file... |
Examples/Eklee.Azure.Functions.GraphQl.Example/HttpMocks/PublisherMockRepository.cs | seekdavidlee/Eklee-Azure-Functions-GraphQl | 67 | 7032958 | using System.Collections.Generic;
using System.Linq;
namespace Eklee.Azure.Functions.GraphQl.Example.HttpMocks
{
public class PublisherMockRepository : IHttpMockRepository<Publisher>
{
private readonly Dictionary<string, Publisher> _publishers = new Dictionary<string, Publisher>();
public void Add(Publisher it... |
DesignPattern/Instance/CreationalPattern/Pool.cs | AndryaDE/Practice-DesignPattern | 0 | 7032959 | <gh_stars>0
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Diagnostics;
using System.Security.Cryptography;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Instance.CreationalPattern.Pool {
class Pool<T> {
private Concu... |
AndroidPSWRDMGR/AndroidPSWRDMGR/Utilities/BaseViewModel.cs | AngryCarrot789/PSWRDMGR | 7 | 7032960 | using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace AndroidVersion.Utilities
{
public class BaseViewModel : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
//public void RaisePropertyChanged([CallerMemberName] string propName = null... |
Assets/Scripts/Game/Mahjong3D/Standard/Main/HUD/PanelTitleMessage/PanelTitleMessage.cs | da1fanshu/1234ewsd | 2 | 7032961 | <reponame>da1fanshu/1234ewsd
namespace Assets.Scripts.Game.Mahjong3D.Standard
{
public enum TitleMessageType
{
ChangeCardTip,//换牌提示
DingqueTip,//定缺提示
BbmjTip,//白板麻将出牌提示
HuanAndDq,//定缺和换张提示
FgChangeCardTip,//确定风杠提示
}
[UIPanelData(typeof(PanelTitleMessage), UI... |
main/DelimitedFlatFileReader/DelimitedFileReader/DelimitedFileReaderComponentUI.cs | fan130/mssql-ssis-community-samples | 27 | 7032962 | using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Microsoft.SqlServer.Dts.Design;
using Microsoft.SqlServer.Dts.Runtime;
using Microsoft.SqlServer.Dts.Pipeline;
using Microsoft.SqlServer.Dts.Pipeline.Design;
usi... |
src/Unitverse.Core.Tests/Assets/AssetFactoryTests.cs | andy-clymer/unittestgenerator | 26 | 7032963 | <reponame>andy-clymer/unittestgenerator<filename>src/Unitverse.Core.Tests/Assets/AssetFactoryTests.cs
namespace Unitverse.Core.Tests.Assets
{
using NUnit.Framework;
using Unitverse.Core.Assets;
[TestFixture]
public static class AssetFactoryTests
{
[Test]
public static void CanCallCr... |
Presentacion/FormularioCliente.aspx.designer.cs | Drestton/PWII | 0 | 7032964 | <gh_stars>0
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------... |
src/QBittorrent.CommandLineInterface/ViewModels/ServerPreferences/SpeedViewModel.cs | fedarovich/qbittorrent-cli | 151 | 7032965 | using System;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics.CodeAnalysis;
using QBittorrent.Client;
namespace QBittorrent.CommandLineInterface.ViewModels.ServerPreferences
{
public readonly struct SpeedViewModel
{
private readonly Preferences _wrappedObject;
public Spe... |
sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CloudServiceConfiguration.cs | sojain/azure-sdk-for-net | 2 | 7032966 | <filename>sdk/batch/Microsoft.Azure.Batch/src/GeneratedProtocol/Models/CloudServiceConfiguration.cs<gh_stars>1-10
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Mi... |
src/flutterwave-dotnet/Models/Bank.cs | VictorSega/flutterwave-dotnet | 16 | 7032967 | using Newtonsoft.Json;
namespace Flutterwave.Net
{
public class Bank
{
[JsonProperty("id")]
public int Id { get; set; }
[JsonProperty("code")]
public string Code { get; set; }
[JsonProperty("name")]
public string Name { get; set; }
}
}
|
src/Moryx.Resources.UI.Interaction/ModuleController/ModuleController.cs | dbeuchler/MORYX-AbstractionLayer | 0 | 7032968 | // Copyright (c) 2020, Phoenix Contact GmbH & Co. KG
// Licensed under the Apache License, Version 2.0
using System;
using System.Windows.Media;
using C4I;
using Moryx.AbstractionLayer.UI.Aspects;
using Moryx.ClientFramework;
using Moryx.Logging;
using Moryx.Resources.UI.Interaction.Properties;
using Moryx.Tools.Wcf;
... |
CASLIB/NCAS/jasig/ticket/InvalidTicketException.cs | zbw911/CasServer | 2 | 7032969 | <reponame>zbw911/CasServer
/*
* Licensed to Jasig under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Jasig licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may no... |
Spells/Elements/Spatial.cs | MercuriusXeno/Terraria.Arcana | 0 | 7032970 | using System;
using Terraria.ModLoader.IO;
using Arcana.Reference;
namespace Arcana.Spells.Elements
{
public class Spatial : Element
{
public Spatial() : base(Constants.Elements.SPATIAL)
{
}
public static readonly Func<TagCompound, Spatial> DESERIALIZER = Load<Spatial>;
}
... |
modules/AWSPowerShell/Cmdlets/Greengrass/Basic/New-GGFunctionDefinitionVersion-Cmdlet.cs | ajsing/aws-tools-for-powershell | 181 | 7032971 | <reponame>ajsing/aws-tools-for-powershell<filename>modules/AWSPowerShell/Cmdlets/Greengrass/Basic/New-GGFunctionDefinitionVersion-Cmdlet.cs
/*******************************************************************************
* Copyright 2012-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Licensed under... |
02.C Sharp part 2/08.TextFiles/ConcatenateTextFiles/ConcatenateTextFiles.cs | enchev-93/Telerik-Academy | 0 | 7032972 | //Problem 2. Concatenate text files
//Write a program that concatenates two text files into another text file.
using System;
using System.IO;
class ConcatenateTextFiles
{
static void Main()
{
using (StreamWriter writer = new StreamWriter(@"..\..\concatenated_files.txt", false))
{
... |
libs/Feats.Domain/Aggregates/IPathsAggregate.cs | dotnet-feats/feats | 0 | 7032973 | <reponame>dotnet-feats/feats
using System.Collections.Generic;
using Feats.CQRS;
namespace Feats.Domain.Aggregates
{
public interface IPathsAggregate : IAggregate
{
IEnumerable<IPath> Paths { get; }
}
} |
Bubbles/Assets/Scripts/Bubbles/TemporaryBubble.cs | Gabriel-Spinola/Bubbles-MiniJam | 1 | 7032974 | <filename>Bubbles/Assets/Scripts/Bubbles/TemporaryBubble.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TemporaryBubble : MonoBehaviour
{
[SerializeField] private ParticleSystem movingEffect = null;
[SerializeField] private GameObject explodeEffect = null;
[... |
FrameWorks/SteamAuthCore/Manifest/ManifestModel.cs | bduj1/StreamDesktopAuthenticatorCore | 2 | 7032975 | <filename>FrameWorks/SteamAuthCore/Manifest/ManifestModel.cs
using System.Collections.ObjectModel;
using System.Text.Json.Serialization;
namespace SteamAuthCore.Manifest
{
public class ManifestModel
{
public ManifestModel()
{
}
public ManifestModel(bool firstRun = false)
... |
Galapagos.UnitTests/ChromosomeTests/NeuralChromosomeUnitTests.cs | kosieram21/Galapagos | 0 | 7032976 | using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Galapagos.Chromosomes;
using Galapagos.API;
using Galapagos.API.Factory;
using Galapagos.UnitTests.Fakes;
namespace Galapagos.UnitTests.ChromosomeTests
{
[TestClass]
public class NeuralChromosomeUnitTests... |
src/Migrations/DuaBotContextModelSnapshot.cs | Dualog-students/Office365-slackbot | 0 | 7032977 | // <auto-generated />
using System;
using DuaBot.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace DuaBot.Migrations
{
[DbContext(typeof(DuaBotContext))]
partial class DuaBotContextModelSnapshot... |
Models/ProjectMonthRange.cs | tcd1nc/ProjectRep-PTR | 0 | 7032978 | <reponame>tcd1nc/ProjectRep-PTR
using System;
namespace PTR.Models
{
public class ProjectMonthRange
{
public DateTime? StartDate
{
get;
set;
}
public DateTime? LastDate
{
get; set;
}
}
}
|
sources/Interop/Windows/um/endpointvolume/Windows.cs | phizch/terrafx.interop.windows | 146 | 7032979 | <filename>sources/Interop/Windows/um/endpointvolume/Windows.cs
// Copyright © <NAME> Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/endpointvolume.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft... |
Todos/tests/TodosModel.Tests/TodosModelShould.cs | cheperuiz/unlearn-python | 0 | 7032980 | using System;
using TodosModel;
using Xunit;
namespace TodosModelTests
{
public class TodosModelShould
{
private Todo _sut;
public TodosModelShould()
{
_sut = new Todo("A valid title");
}
[Fact]
public void Todo_NewTodo_ShouldHaveATitle()
{... |
IdeaStatiCa.PluginsTools/PluginTools/Tools/IIndexTriangleMesh.cs | idea-statica/ideastatisa-plugin | 3 | 7032981 | <gh_stars>1-10
using System.Runtime.InteropServices;
namespace CI.Geometry3D
{
[Guid("3A18ED7B-7192-4F2C-A35A-001E61DC4E80")]
public interface IIndexTriangleMesh
{
int V1{ get; set; }
int V2{ get; set; }
int V3{ get; set; }
}
} |
src/CMS/CMSModules/Content/Controls/ContentTree.ascx.cs | Kentico/xperience-module-intercom | 1 | 7032982 | <reponame>Kentico/xperience-module-intercom
using System;
using System.Collections;
using System.Collections.Generic;
using CMS.Base;
using CMS.DocumentEngine;
using CMS.Helpers;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CMS.Bas... |
Test/Rafy.UnitTest.WPF/ViewConfig/TestRoleConfig.cs | zgynhqf/trunk | 0 | 7032983 | /*******************************************************
*
* 作者:胡庆访
* 创建日期:20130930
* 运行环境:.NET 4.0
* 版本号:1.0.0
*
* 历史记录:
* 创建文件 胡庆访 20130930 14:58
*
*******************************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text... |
src/Data/Primitives/KeyOutput.cs | aTiKhan/RDO.Net | 23 | 7032984 | using DevZest.Data.Addons;
using System;
namespace DevZest.Data.Primitives
{
/// <summary>
/// Represents model that contains primary key of specified model.
/// </summary>
public class KeyOutput : Model
{
private sealed class PK : CandidateKey
{
public PK(KeyOutput key... |
Everytime/commands/SemiNumericComparer.cs | stiderspace/Everytime | 0 | 7032985 | <filename>Everytime/commands/SemiNumericComparer.cs
using System;
using System.Collections.Generic;
namespace EveryTime
{
internal class SemiNumericComparer : IComparer<string>
{
public int Compare(string s1, string s2)
{
if (IsNumeric(s1) && IsNumeric(s2))
{
... |
SwarmerServer/src/Services/Tournaments/Swarmer.TM.Core/TournamentsApi.cs | VolhvPorechja/SwarmerNetCore | 0 | 7032986 | <reponame>VolhvPorechja/SwarmerNetCore
using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json.Linq;
using Swarmer.Common;
using Swarmer.Common.Assetions;
using Swarmer.TM.Contracts.Contracts;
using Swarmer.TM.Contracts.Domain;
using Swarmer.TM.Contracts.Providers;
using Swarmer.TM.Con... |
eLMM/CodePlex/MBF/IO/GenBank/LocationRange.cs | jdm7dv/Microsoft-Biology-Foundation | 0 | 7032987 | <gh_stars>0
//*********************************************************
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
//
//
//
//
//*********************************************************
namespace Bio.IO.GenBank
{
/// <summary>
/// Holds start and end position of a feature in a seq... |
testcases/main/HSSF/Model/TestFormulaParserEval.cs | sunshinele/npoi | 74 | 7032988 | /* ====================================================================
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 ... |
src/Package/TestReq.cs | moto2002/tianqi_src | 5 | 7032989 | using NetWork.Utilities;
using ProtoBuf;
using System;
using System.ComponentModel;
namespace Package
{
[ForRecv(309), ForSend(309), ProtoContract(Name = "TestReq")]
[Serializable]
public class TestReq : IExtensible
{
public static readonly short OP = 309;
private TestType.TT _opType;
private int _intParam... |
CodeVirtualization-Console/CodeVirtualization-Console/RefactoringVisitors/IfRefactoring/IfConditionRefactoringVisitor.cs | obfuscators-2019/vot4cs | 27 | 7032990 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace CodeVirtualization_Console.RefactoringVisitors
{
class IfCondition... |
Classifier.Outlook/utils/LogData.cs | FFMG/myoddweb.classifier | 12 | 7032991 | using myoddweb.classifier.core;
using myoddweb.classifier.interfaces;
namespace myoddweb.classifier.utils
{
public class LogData
{
/// <summary>
/// The log level
/// </summary>
public LogLevels Level { get; set; }
/// <summary>
/// The message itself.
/// </summary>
public string... |
Applications/GameSpec.App.Cli/Program+Export.cs | bclnet/GameSpec | 0 | 7032992 | using CommandLine;
using System;
using System.Threading.Tasks;
namespace GameSpec.App.Cli
{
partial class Program
{
[Verb("export", HelpText = "Extract files contents to folder.")]
class ExportOptions
{
[Option('f', "family", Required = true, HelpText = "Family")... |
Framework/Adxstudio.Xrm/Notes/AzureAnnotationFile.cs | hhnguyen/xRM-Portals-Community-Edition | 117 | 7032993 | /*
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for license information.
*/
using System.Web;
using Microsoft.WindowsAzure.Storage.Blob;
namespace Adxstudio.Xrm.Notes
{
internal class AzureAnnotationFile : AnnotationFile, IAzureAnno... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.