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 |
|---|---|---|---|---|
Libraries/LiteCore/src/LiteCore.Shared/Interop/ILiteCore.cs | virtualplaynl/couchbase-lite-unity | 7 | 7040972 | //
// ILiteCore.cs
//
// Copyright (c) 2018 Couchbase, Inc All rights reserved.
//
// 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... |
Assets/Test/Scripts/Editor/ActiveObjectNavigator/MenuItem/MenuItemSetting.cs | cofdream/UnityToolKit | 1 | 7040973 | <filename>Assets/Test/Scripts/Editor/ActiveObjectNavigator/MenuItem/MenuItemSetting.cs
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEditor;
using UnityEngine;
namespace Cofdream.Navigator
{
public class MenuItemSetting : MenuItem
{
public stri... |
Visualiser/Assets/Spotify4Unity/api/events/MuteChanged.cs | S8enson/RAVE | 2 | 7040974 | namespace Spotify4Unity.Events
{
public class MuteChanged : GameEventBase
{
public bool IsMuted { get; set; }
public MuteChanged(bool isMuted)
{
IsMuted = isMuted;
}
}
} |
DotNetLearnersHouse/15May_books-store-blazorwasm-dapper/Source/Books.API/Data/SettingsData.cs | jagratimodi/speaker_series_2021 | 12 | 7040975 | <filename>DotNetLearnersHouse/15May_books-store-blazorwasm-dapper/Source/Books.API/Data/SettingsData.cs
namespace Books.API.Data
{
public class SettingsData
{
public SettingsData(string sqlServerConnection) => SqlServerConnectionString = sqlServerConnection;
public string SqlServerConnectionS... |
Brightcove.Core/Models/TemporaryIngestUrls.cs | BissTalk/Sitecore-Connector | 0 | 7040976 | <gh_stars>0
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Brightcove.Core.Models
{
public class TemporaryIngestUrls
{
[JsonProperty("bucket", NullValueHandling = NullValueHandling.Ignore)]... |
src/Libs/SharpMap/SharpMap.Converters.GeoJSON/GeoJSON/GeoJSONWriter.cs | chumano/nextone | 2 | 7040977 | <reponame>chumano/nextone
namespace SharpMap.Converters.GeoJSON
{
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using GeoAPI.Geometries;
using Newtonsoft.Json;
/// <summary>
/// GeoJSON writer class
/// </summary>
public class GeoJS... |
db4o.net/Db4objects.Db4o.Linq/Db4objects.Db4o.Linq/Expressions/ExpressionEnumeration.cs | iboxdb/db4o-gpl | 24 | 7040978 | /* Copyright (C) 2007 - 2008 Versant Inc. http://www.db4o.com */
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq.Expressions;
namespace Db4objects.Db4o.Linq.Expressions
{
internal class ExpressionEnumeration : ExpressionVisitor, IEnumerable<Expression>
{
pr... |
TimetableUI/Utils.cs | TheBohush/Timetable-Planner | 0 | 7040979 | <reponame>TheBohush/Timetable-Planner
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace TimetableUI
{
public static class Utils
{
public const string FileTimetable = "timetable.json";
... |
VagrantAtlas/Api/BoxReferenceVersion.cs | mrich316/VagrantAtlas | 1 | 7040980 | using System.ComponentModel.DataAnnotations;
namespace VagrantAtlas.Api
{
public class BoxReferenceVersion : BoxReference
{
[Required, RegularExpression(@"^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)$")]
public string Version { get; set; }
}
}
|
QuickRoute.BusinessEntities/GlobalizedProperties/Attributes.cs | OndrejSpanel/quickRoute-gps | 0 | 7040981 | using System;
using System.Globalization;
using System.Resources;
using System.Reflection;
namespace QuickRoute.BusinessEntities.GlobalizedProperties
{
[AttributeUsage(AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public class GlobalizedPropertyAttribute : Attribute
{
private Str... |
src/Microsoft.ML.AutoML/API/RecommendationExperiment.cs | ptelman/machinelearning | 8,130 | 7040982 | <reponame>ptelman/machinelearning
// 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.Linq;
using Microsof... |
AppData/Local/Temp/SpaceEngineers/605086856.sbm_Holo/RadarResult.cs | Blue64/Space_Engineers | 0 | 7040983 | using System.Collections.Generic;
using VRage.Game;
using VRageMath;
namespace Hologram
{
public enum ResultType
{
Self = 0,
Self_Alt,
Faction,
Enemy,
FloatingObject,
Voxel,
Meteor,
Unknown,
Engineer,
Neutral,
Friend,
Self_Point,
Self_Point_Alt
}
public class RadarResu... |
App/Tests/InternalTests.cs | 210503-Reston-NET/Ruffner-Garrett-P0 | 0 | 7040984 | using System;
using StoreModels;
using Xunit;
namespace Tests
{
public class InternalTests
{
[Theory]
[InlineData (-10)]
[InlineData (-5)]
public void ItemQuantityTest(int quantity)
{
Item itm = new Item(new Product("name",1.00),0);
Assert.Thro... |
NTUVoteClient/MainForm.Designer.cs | rschiang/ntu-vote-client | 1 | 7040986 | namespace NTUOSC.Vote
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
Hax/Connectors/ContainsConnector.cs | gabrizannoni/hax | 0 | 7040987 | <filename>Hax/Connectors/ContainsConnector.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Hax.Connectors
{
public class ContainsConnector : RelationConnector
{
public static ContainsConnector Connect(INode sou... |
BlurFace/BlurFace.WebApp/Views/Home/Index.cshtml | alferovvictor/justforfun | 0 | 7040988 | <gh_stars>0
@{
ViewData["Title"] = "Search";
}
<div id="blure-facer" style="height: 50px;">
<div class="d-flex p-1"
id="blure-facer-search">
<div class="flex-grow-1">
<input type="text"
id="blure-facer-search-address"
value="https://alferov.pro/about"
class="form-control rounded-0 ro... |
src/Test/MetaDslx.CodeAnalysis.Antlr4.Test/Languages/TestLexerMode/Binding/TestLexerModeBoundKind.cs | balazssimon/meta-cs | 5 | 7040989 | <filename>src/Test/MetaDslx.CodeAnalysis.Antlr4.Test/Languages/TestLexerMode/Binding/TestLexerModeBoundKind.cs
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
// WARNING: This is an auto-generated file. Any manual changes will be lost when the file is regenerate... |
InventoryManager.Data/Entities/WorkOrder.cs | revanorion/ReactDemo | 0 | 7040990 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace InventoryManager.Data.Entities
{
[Table("WORK_ORDER")]
public partial class WorkOrder : ITrackable
{
[Key]
... |
Migrations/20190428011515_wmsLayer_datasourcename_column.cs | yodeskir/wms-data-access | 0 | 7040991 | using Microsoft.EntityFrameworkCore.Migrations;
namespace wmsDataAccess.Migrations
{
public partial class wmsLayer_datasourcename_column : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "datasour... |
OldBasicsExams/OldExams/AceOfDiamonds/AceOfDiamonds.cs | pkindalov/beginner_exercises | 0 | 7040992 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AceOfDiamonds
{
class AceOfDiamonds
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
//top
Console.Write... |
Viticulture/Logic/Cards/Parents/Mamas/MargotMamaCard.cs | MadCowDevelopment/Viticulture | 0 | 7040993 | using Viticulture.Logic.State;
namespace Viticulture.Logic.Cards.Parents.Mamas
{
public class MargotMamaCard : MamaCard
{
public override string Name => "Margot";
protected override void OnSetup(IGameState gameState)
{
gameState.SummerVisitorDeck.DrawToHand();
g... |
EpiDashboard/Mapping/IMapControl.cs | keymind/Epi-Info-Community-Edition | 14 | 7040994 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EpiDashboard.Mapping
{
public interface IMapControl
{
event TimeVariableSetHandler TimeVariableSet;
event EventHandler MapDataChanged;
void OnRecordSelected(int id);
void... |
src/Hive.Domain/Entities/Move.cs | sol-myob/Hive-fma | 2 | 7040995 | <reponame>sol-myob/Hive-fma
using System;
namespace Hive.Domain.Entities
{
public sealed record Move(Tile Tile, Coords Coords)
{
public bool Equals(Move? other)
{
if (ReferenceEquals(null, other)) return false;
if (ReferenceEquals(this, other)) return true;
... |
Terrarium/ModernRonin.Terrarium.Client.Windows/UwpClientModule.cs | ModernRonin/terrarium | 0 | 7040996 | <reponame>ModernRonin/terrarium<gh_stars>0
using System;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Autofac;
using ModernRonin.Terrarium.Rendering.Windows;
using MonoGame.Framework;
namespace ModernRonin.Terrarium.Client.Windows
{
public class UwpClientModule : Module
{
protected ove... |
Assets/Scripts/Runtime/MIDI/Minis/MIDINote.cs | jbat100/visuals1 | 1 | 7040997 | <gh_stars>1-10
namespace Sonosthesia
{
public readonly struct MIDINote
{
public readonly int Channel;
public readonly int Note;
public readonly float Velocity;
public MIDINote(int channel, int note, float velocity)
{
Channel = channel;
Note = note... |
Modules/Arcade/UI/ArcadeUI.cs | ruaduck/Core | 13 | 7040998 | <reponame>ruaduck/Core
#region Header
// Vorspire _,-'/-'/ ArcadeUI.cs
// . __,-; ,'( '/
// \. `-.__`-._`:_,-._ _ , . ``
// `:-._,------' ` _,`--` -: `_ , ` ,' :
// `---..__,,--' (C) 2018 ` -'. -'
// # Vita-Nex [http://core.vita-nex.com] #
// {o)xxx|===============... |
src/Samples/CL.Sinks.MySql.Backup.Demo/Program.cs | vpetkovic/CL.Sinks | 3 | 7040999 | <filename>src/Samples/CL.Sinks.MySql.Backup.Demo/Program.cs
using CL.Sinks.MySql.Backup;
using CL.Sinks.MySql.Backup.Demo;
var backupStatus = FluentMySqlBackup
.For(ConnectionStrings.Connections.FirstOrDefault())
.Export(new string[] { "all" }) // individial db names or "all" for all databases on server
.... |
src/GraphQL/Validation/Rules/LoneAnonymousOperation.cs | Mu-L/graphql-dotnet | 0 | 7041000 | <reponame>Mu-L/graphql-dotnet<filename>src/GraphQL/Validation/Rules/LoneAnonymousOperation.cs
using GraphQL.Validation.Errors;
using GraphQLParser;
using GraphQLParser.AST;
namespace GraphQL.Validation.Rules
{
/// <summary>
/// Lone anonymous operation:
///
/// A GraphQL document is only valid if when ... |
OpenDataApi/Models/GetCacheQuery_Result.cs | shaydoc/OpenDataApi | 0 | 7041001 |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated... |
examples/StreetlightsAPI/API.cs | RicoSuter/saunter | 107 | 7041002 | <reponame>RicoSuter/saunter<gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Saunter.Attributes;
namespace StreetlightsAPI
{
public class Streetlight
{
/// <summary>
... |
src/LogisticsSuite.Infrastructure/Messaging/HandlerRegistry.cs | engelbert-strauss/logistics-suite | 0 | 7041003 | using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
namespace LogisticsSuite.Infrastructure.Messaging
{
pub... |
Code/Light.Undefine/ExpressionParsing/PreprocessorExpressionParser.cs | feO2x/Light.Undefine | 3 | 7041005 | using System;
// ReSharper disable CommentTypo
namespace Light.Undefine.ExpressionParsing
{
/// <summary>
/// Provides static methods to parse a preprocessor expression.
/// </summary>
public static class PreprocessorExpressionParser
{
/// <summary>
/// Parses the specified source... |
Source/UmbracoBase.Tests/Global/Constants.cs | mccallsolutions/UmbracoBase | 0 | 7041006 | namespace UmbracoBase.Tests.Global
{
public class Constants
{
public const string DefaultDataFile = @"Data\Default.xml";
public const string DataOutputPath = @"Data\";
}
}
|
SharpRepository.Repository/Specifications/OrNotSpecification.cs | azraelrabbit/SharpRepository | 516 | 7041007 | namespace SharpRepository.Repository.Specifications
{
public class OrNotSpecification<T> : CompositeSpecification<T>
{
public OrNotSpecification(ISpecification<T> leftSide, ISpecification<T> rightSide)
: base(leftSide.Predicate.OrNot(rightSide.Predicate))
{
}
}
} |
ImobiliariaBoaMorada/ImobiliariaBoaMorada.Domain/Entity/Usuario.cs | BerlySoftwareBrazil/ImobiliariaBoaMorada | 1 | 7041008 | <filename>ImobiliariaBoaMorada/ImobiliariaBoaMorada.Domain/Entity/Usuario.cs
using System;
using System.Collections.Generic;
#region Imports
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
#endregion
namespace ImobiliariaBoaMorada.Domain.Entity
{
public class Usuari... |
ProcessDependencyGraph/ProcessDependencyGraph/IdentifyAffectedProjects.cs | neraath/MsBuildProjectReferenceDependencyGraph | 14 | 7041009 | <gh_stars>10-100
// -----------------------------------------------------------------------
// <copyright file="IdentifyAffectedProjects.cs" company="<NAME>">
// Copyright (c) 2019 <NAME>.
// </copyright>
// -----------------------------------------------------------------------
namespace ProcessDependencyGraph... |
OrBoard.Client/Models/NewCaseViewModel.cs | Rev-Team-4/County-OR-Board | 4 | 7041010 | <filename>OrBoard.Client/Models/NewCaseViewModel.cs
using System;
using System.Collections.Generic;
using System.Linq;
using OrBoard.Client.Controllers;
using OrBoard.Data;
using OrBoard.Domain.Models;
namespace OrBoard.Client.Models
{
public class NewCaseViewModel
{
public Procedure Procedure { get; s... |
Assets/Scripts/Data/LevelData.cs | goodtrailer/masochist | 0 | 7041011 | // Copyright (c) <NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENSE file in the repository root for full licence text.
using Unity.Entities;
public struct LevelData : IComponentData
{
public float Level;
public float LevelMax;
public float LevelCoefficient;
public double NextLevelU... |
ExamPreparationJuly9/Regexmon.cs | YordanTerziev96/Programming-Fundamentals-Exercises | 0 | 7041012 | <filename>ExamPreparationJuly9/Regexmon.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
namespace Regexmon
{
class Program
{
static void Main(string[] args)
{
string input =... |
src/cloudscribe.Core.IdentityServer.EFCore.pgsql/StorageInfo.cs | mfoitzik/cloudscribe | 595 | 7041013 | using cloudscribe.Core.IdentityServerIntegration;
namespace cloudscribe.Core.IdentityServer.EFCore.pgsql
{
public class StorageInfo : IStorageInfo
{
public string StoragePlatform { get { return "Entity Framework with PostgreSql"; } }
}
}
|
AltiumSharp/Records/Pcb/PcbRegion.cs | verigen/AltiumSharp | 30 | 7041014 | <filename>AltiumSharp/Records/Pcb/PcbRegion.cs
using System.Collections.Generic;
using System.Linq;
using AltiumSharp.BasicTypes;
namespace AltiumSharp.Records
{
public class PcbRegion : PcbPrimitive
{
public override PcbPrimitiveObjectId ObjectId => PcbPrimitiveObjectId.Region;
public Paramet... |
Hosts/FunctionsHost/Storage/VectorClock.cs | sebastianburckhardt/ReactiveMachine | 28 | 7041016 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace FunctionsHost
{
[Serializable]
public class VectorC... |
ManoMotion AR/Assets/Manomotion/Scripts/Data Structure/HandInfo.cs | mactrix-markjohn/ManoMotion-AR | 0 | 7041017 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Runtime.InteropServices;
/// <summary>
/// Warnings are a list of messages that the SDK is providing in order to prevent a situation where the hand will be not clearly detected.
/// </summary>
public enum Warning
{... |
src/CleanEstimate/App.xaml.cs | Leonoo/CleanEstimate | 0 | 7041018 | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;
namespace CleanEstimate
{
/// <summary>
/// Interaktionslogik für "App.xaml"
/// </summary>
public partial class App : Application
{
static App()
... |
Heartbeat/WOMBeat.cs | MCForge/MCForge-Vanilla-Redux | 2 | 7041019 | /*
Copyright 2011 MCForge
Dual-licensed under the Educational Community License, Version 2.0 and
the GNU General Public License, Version 3 (the "Licenses"); you may
not use this file except in compliance with the Licenses. You may
obtain a copy of the Licenses at
http://www.opensource.org/licenses/ecl2.php
... |
src/Cogito.Json.Schema/Minimization/JSchemaReducingTransformer.cs | wasabii/Cogito.Text.Json.Schema | 4 | 7041020 | <filename>src/Cogito.Json.Schema/Minimization/JSchemaReducingTransformer.cs
using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json.Schema;
namespace Cogito.Json.Schema.Minimization
{
/// <summary>
/// Transformer implementation that applies a series of reductions to a <see ... |
DotaApi/DotaApi.Data/Models/MatchDetails.cs | RadoslavMitkov/DotaWebMVC | 0 | 7041021 | <gh_stars>0
namespace DotaApi.Data.Models
{
using System.Collections.Generic;
public class MatchDetails
{
public long Id { get; set; }
public bool Winner { get; set; }
public int RadiantScore { get; set; }
public int DireScore { get; set; }
public int Duration {... |
Assets/FriendlyCleanUI/scripts/ButtonAnimator.cs | bnelligan/TicTacTics | 0 | 7041022 | using UnityEngine;
using UnityEngine.EventSystems;
using System;
using System.Collections;
public class ButtonAnimator : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler, IPointerDownHandler, IPointerUpHandler
{
private Animator buttonAnimator;
// Use this for initialization
void Start()
{
... |
src/core/NeTreeSetObj.cs | cell-lang/csharp | 2 | 7041023 | <reponame>cell-lang/csharp<filename>src/core/NeTreeSetObj.cs
namespace Cell.Runtime {
public class NeTreeSetObj : Obj {
Node rootNode;
NeSetObj packed;
//////////////////////////////////////////////////////////////////////////////
private NeTreeSetObj(Node rootNode) {
data = BinRelObjData((uin... |
Summit.API/Mappers/UserMapper.cs | karanbhanushali/Summit-API | 1 | 7041024 | using Summit.API.Entities;
using Summit.API.Models;
using System;
using Summit.API.Extensions;
namespace Summit.API.Mappers
{
public class UserMapper : IMapper<RegistrationRequest, User>
{
public User Map(RegistrationRequest request)
{
var result = new User
{
... |
DataAnalysisDelivery2/Assets/3DGamekitLite/Packages/Interactive/Runtime/Actions/SwitchMaterial.cs | JoanBarduena/DataAnalysis_Delivery2 | 3 | 7041025 | <reponame>JoanBarduena/DataAnalysis_Delivery2<filename>DataAnalysisDelivery2/Assets/3DGamekitLite/Packages/Interactive/Runtime/Actions/SwitchMaterial.cs<gh_stars>1-10
using UnityEngine;
namespace Gamekit3D.GameCommands
{
public class SwitchMaterial : GameCommandHandler
{
public Renderer target;
... |
Persistence.Primary/DataAccess/XNewsDbContext.cs | fossabot/XNews-backend | 0 | 7041026 | using System;
using System.Linq;
using System.Reflection;
using Application.Persistence.Interfaces;
using Domain.Primary.Entities;
using Microsoft.EntityFrameworkCore;
namespace Persistence.Primary.DataAccess
{
internal sealed class XNewsDbContext : DbContext, IXNewsDbContext, IXNewsDbContextExtended
{
... |
WebApiClient/DateTimeFormats.cs | tomni87/WebApiClient | 5 | 7041027 | <reponame>tomni87/WebApiClient<filename>WebApiClient/DateTimeFormats.cs
using System.Globalization;
namespace WebApiClient
{
/// <summary>
/// 提供一些日期时间格式模板
/// </summary>
public static class DateTimeFormats
{
/// <summary>
/// ISO8601精确到毫秒的日期时间格式
/// </summary>
publ... |
Items/SoulShekel.cs | Zeodexic/tsorcRevamp | 4 | 7041028 | <reponame>Zeodexic/tsorcRevamp
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.DataStructures;
using Terraria.ID;
using Terraria.ModLoader;
namespace tsorcRevamp.Items
{
class SoulShekel : BaseRarityItem
{
public override bool Autoload(ref string n... |
AspireStudio/DockedViews/ModelsView.Designer.cs | AeroNexus/AspireStudio | 2 | 7041029 | namespace Aspire.Studio.DockedViews
{
partial class ModelsView
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed re... |
Jarvis.Framework.Tests/BusTests/Handlers/AnotherSampleMessageHandler.cs | selganor74/Jarvis.Framework | 1 | 7041030 | using Jarvis.Framework.Shared.Helpers;
using Jarvis.Framework.Tests.BusTests.MessageFolder;
using Rebus.Handlers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Jarvis.Framework.Tests.BusTests.Handlers
{
public class Another... |
src/libraries/System.Dynamic.Runtime/tests/Dynamic.Simple/OverloadTest.cs | pyracanda/runtime | 9,402 | 7041031 | <reponame>pyracanda/runtime
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Xunit;
namespace SampleDynamicTests
{
public class OverloadTest
{
public int Method(int i)
{
return 1;
... |
Source/UnitTests/ManagedIrbis/AsyncExtensionsTest.cs | fossabot/ManagedIrbis | 0 | 7041032 | using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using AM.IO;
using ManagedIrbis;
using ManagedIrbis.Infrastructure;
using ManagedIrbis.Menus;
using ManagedIrbis.Search;
using Moq;
namespace UnitTests.ManagedIrbis
{
[TestClass]
public class AsyncExtensionsTest
{
[TestMeth... |
src/Util.Ui.Angular.AntDesign/Zorro/Forms/Renders/CheckboxGroupRender.cs | gstsgy/Util | 4,226 | 7041033 | <reponame>gstsgy/Util
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Util.Helpers;
using Util.Ui.Angular;
using Util.Ui.Angular.Base;
using Util.Ui.Angular.Resolvers;
using Util.Ui.Builders;
using Util.Ui.Configs;
using Util.Ui.Extensions;
using Util.Ui.Zorro.Forms.Builders;
using Util.Ui.Zorro.Forms.Configs;
usin... |
GTToolsSharp/BTree/IndexWriter.cs | paulchabotca/GTToolsSharp | 12 | 7041035 | <filename>GTToolsSharp/BTree/IndexWriter.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GTToolsSharp.Utils;
using PDTools.Utils;
namespace GTToolsSharp.BTree
{
public class IndexWriter<TKey> where TKey : IBTreeKey<TKey>, new()
{
... |
Services/Accounts/Accounts.Api/Application/Dtos/AccountDto.cs | sonquer/Cerber | 0 | 7041037 | using System.ComponentModel.DataAnnotations;
namespace Accounts.Api.Application.Dtos
{
public class AccountDto
{
[EmailAddress]
public string Email { get; set; }
public string Password { get; set; }
}
} |
1.3/Source/SRHeadAndTailDecorations/Def/ApparelLayerDefOf.cs | Shadowrabbit/HeadAndTailDecorations | 1 | 7041038 | // ******************************************************************
// /\ /| @file ApparelLayerDefOf.cs
// \ V/ @brief
// | "") @author Shadowrabbit, <EMAIL>
// / |
// / \\ @Modified 2021-01-30 21:34:54
// *(__\_\ ... |
src/KTCommon/IO/Csv/BaseCsvReader.cs | DevTainan/KTCommon | 0 | 7041039 | using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace KTCommon.IO
{
/// <summary>
/// CSV 檔案讀取的基底類別
/// </summary>
public abstract class BaseCsvReader
{
/// <summary>
/// 檔案路徑
/// </summary>
public string FilePath { get; priva... |
Server/Hotfix/GameGather/Common/System/MatchComponent/ChatMatchRoomSystem.cs | dingxing123/fivestar | 121 | 7041040 | using System;
using System.Collections.Generic;
using System.Text;
using ETModel;
using Google.Protobuf.Collections;
namespace ETHotfix
{
public static partial class MatchRoomSystem
{
//玩家聊天
public static bool UserChat(this MatchRoom matchRoom, long userId, ChatInfo chatInfo)
{
... |
Release/Silverlight5/SampleSource/Controls/Controls.Samples.Common/SampleBrowser/SampleBrowserItem.cs | incoplex/SilverlightToolkit | 38 | 7041041 | // (c) Copyright Microsoft Corporation.
// This source is subject to the Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Diagno... |
LineageServer/Server/Model/monitor/L1PcExpMonitor.cs | TaiwanSpring/L1CSharpTW | 0 | 7041042 | using LineageServer.Server.Model.Instance;
using LineageServer.Serverpackets;
namespace LineageServer.Server.Model.monitor
{
class L1PcExpMonitor : L1PcMonitor
{
private int _old_lawful;
private long _old_exp;
private int _old_karma;
// 上一次判斷時的戰鬥特化類別
private int _oldFight;
public L1PcExpMonitor(int... |
WFInfo/RelicsWindow.cs | saceria/WFinfo | 1 | 7041043 | using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
namespace WFInfo
{
/// <summary>
/// Interaction logic for RelicsWindow.xaml
/// </summary>
public partial class RelicsWindow : Window
{
private boo... |
Scheduler.Model/BaseModel.cs | mylovefly001/ScheduleTask | 9 | 7041044 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
namespace Scheduler.Model
{
public class BaseModel:DbContext
{
public DbSet<GroupModel> Group { get; set; }
public DbSet<LoggerModel> Logge... |
VisualizationRecorder/SqlDbHelper/SqlDbHelper.cs | LiangJianyi/VisualizationRecorder | 5 | 7041045 | <filename>VisualizationRecorder/SqlDbHelper/SqlDbHelper.cs
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VisualizationRecorder.SqlDbHelper {
using Debug = System.Diagnostics.Debug;
... |
Source/ReactiveProperty.Platform.UWP/Interactivity/TriggerAction.cs | shanon-hs/ReactiveProperty | 756 | 7041046 | using Windows.UI.Xaml;
namespace Reactive.Bindings.Interactivity
{
/// <summary>
/// Trigger Action
/// </summary>
/// <typeparam name="T"></typeparam>
/// <seealso cref="Reactive.Bindings.Interactivity.TriggerAction"/>
public abstract class TriggerAction<T> : TriggerAction
where T : D... |
Exercicios/Capitulo7/Exercicio7.14.cs | atrigo/livroCSharp | 22 | 7041047 | /*
* Exercicio 7.14
* Livro: Aprenda a programar com C#
* Autores: <NAME> e <NAME>
* Disponível em: http://www.silabo.pt
*/
using System;
namespace Cap7
{
class Program
{
static int custosExp(int n)
{
int soma;
if (n == 0)
return 0;
else
... |
EntityFrameworkCore.Convention/EnumConversion/EnumConversionModelBuilderHelper.cs | lakin32/EntityFrameworkCore.Convention | 0 | 7041048 | <reponame>lakin32/EntityFrameworkCore.Convention
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace EntityFrameworkCore.Convention.Enu... |
OctoAwesome/OctoAwesome.Runtime/DatabaseProvider.cs | TheBlubb14/octoawesome | 86 | 7041050 | <reponame>TheBlubb14/octoawesome
using OctoAwesome.Database;
using OctoAwesome.Logging;
using OctoAwesome.Threading;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OctoAwesome.Runtime
{
public sealed class DatabaseProv... |
app/Agri.CalculatorService.Tests/ManureLiquidSolidSeparationCalculatorTests.cs | plasticviking/agri-nmp | 6 | 7041051 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using Agri.Data;
using Agri.Models;
using Agri.Models.Configuration;
using Agri.Models.Farm;
using NSubstitute;
using Shouldly;
using Xunit;
namespace Agri.CalculateService.Tests
{
public class ManureLiquidSolidSeparationCalculatorTests
... |
External/Mono.Texteditor/Mono.TextEditor/Selection.cs | alexandrvslv/datawf | 8 | 7041052 | <filename>External/Mono.Texteditor/Mono.TextEditor/Selection.cs
using System;
using Mono.TextEditor.Highlighting;
namespace Mono.TextEditor
{
public struct Selection
{
public static readonly Selection Empty = new Selection (true);
public bool IsEmpty {
get {
return anchor.IsEmpty;
}
}
readonly Do... |
src/WpfInfrastructure/Screens/Services/LogFiltering/IDefineLogFilters.cs | sizilium/Mosaic.Infrastructure | 0 | 7041053 | <reponame>sizilium/Mosaic.Infrastructure
/* Copyright 2017 Cimpress
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ... |
BTCPayServer/Payments/Coinswitch/CoinswitchSettings.cs | BigOokie/btcpayserver | 0 | 7041054 | namespace BTCPayServer.Payments.CoinSwitch
{
public class CoinSwitchSettings
{
public string MerchantId { get; set; }
public string Mode { get; set; }
public bool Enabled { get; set; }
public bool IsConfigured()
{
return
!string.IsNull... |
src/WebToEpubKindle.Core/Domain/EpubComponents/MimeType.cs | jciDoval/WebToEpubKindle | 1 | 7041055 | namespace WebToEpubKindle.Core.Domain.EpubComponents
{
public class MimeType
{
private const string _format = @"application/epub+zip";
public string Format { get => _format; }
}
} |
Nav.Language/SemanticModel/Generated/SymbolVisitor.cs | IInspectable/Nav-Language-Extensions | 1 | 7041057 | namespace Pharmatechnik.Nav.Language {
partial interface ISymbol {
void Accept(ISymbolVisitor visitor);
T Accept<T>(ISymbolVisitor<T> visitor);
}
public interface ISymbolVisitor {
void VisitExitConnectionPointReferenceSymbol(IExitConnectionPointReferenceSymbol exitCo... |
src/PSDB/PsDbConnectionStringBuilder.cs | erwinel/PowerShell-Modules | 0 | 7041058 | using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Linq;
namespace PSDB
{
public class PsDbConnectionStringBuilder : DbConnectionStringBuilder
{
public const string Keyword_Database = "Database";
public PsDbConnectionStringBuilder() { }
... |
Qsi.Shared/Extensions/ParserRuleContextExtension.cs | ScriptBox99/chequer-qsi | 36 | 7041059 | <reponame>ScriptBox99/chequer-qsi<gh_stars>10-100
using System.Linq;
using Antlr4.Runtime;
using Antlr4.Runtime.Misc;
using Antlr4.Runtime.Tree;
namespace Qsi.Shared.Extensions
{
internal static class ParserRuleContextExtension
{
public static string GetInputText(this ParserRuleContext context)
... |
paramore.brighter.commandprocessor.tests.nunit/MessagingGateway/awssqs/When_posting_a_message_via_the_messaging_gateway_and_sns_topic_does_not_exist.cs | uQr/Paramore.Brighter | 0 | 7041060 | using System;
using Amazon.Runtime;
using Amazon.SimpleNotificationService.Model;
using NUnit.Framework;
using paramore.brighter.commandprocessor.messaginggateway.awssqs;
namespace paramore.brighter.commandprocessor.tests.nunit.MessagingGateway.awssqs
{
[Category("AWS")]
[TestFixture]
public class SqsMess... |
src/GChat/Authentication/AuthenticationExtension.cs | geuermax/GChat | 0 | 7041061 | <filename>src/GChat/Authentication/AuthenticationExtension.cs
using IdentityModel.AspNetCore.OAuth2Introspection;
using IdentityServer4.AccessTokenValidation;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configurati... |
src/plugins/UUM.Plugin.Ldap/Models/UserInSource.cs | jdehaan/Universal-User-Manager | 0 | 7041062 | using System;
using Catel.Data;
using UUM.Api.Models;
namespace UUM.Plugin.Ldap.Models
{
/// <summary>
/// User in source class.
/// </summary>
[Serializable]
public class UserInSource : UserInSourceBase
{
#region Fields
#endregion
#region Cons... |
ERDashboard-angular/Controllers/GetVitalSignDataController.cs | IgniteUI/ERDashboard-Angular2 | 3 | 7041063 | <filename>ERDashboard-angular/Controllers/GetVitalSignDataController.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using ERDashboard.Models.DTO;
using ERDashboard.Models.ViewModels;
// For more information on enabling Web API for em... |
YellowSignUnity/Assets/ThirdParty/Networking/TrueSync/Unity/Physics2DWorldManager.cs | Xaer033/YellowSign | 0 | 7041064 | <reponame>Xaer033/YellowSign
using UnityEngine;
using System.Collections.Generic;
using System;
using TrueSync.Physics2D;
namespace TrueSync {
/**
* @brief Manages the 2D physics simulation.
**/
public class Physics2DWorldManager : IPhysicsManager {
/**
* @brief Public access to... |
Watsonia.QueryBuilder/InsertT.cs | andrewjk/Watsonia.QueryBuilder | 0 | 7041065 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Watsonia.QueryBuilder;
namespace Watsonia.QueryBuilder
{
/// <summary>
/// The starting point for fluently creating insert sta... |
04. Strings And Text Processing/03. Count Substring Occurences/CountSubstringOccurences.cs | HouseBreaker/Advanced-CSharp | 0 | 7041066 | <reponame>HouseBreaker/Advanced-CSharp
using System;
using System.Linq;
namespace _03.Count_Substring_Occurences
{
class CountSubstringOccurences
{
static void Main()
{
string input = Console.ReadLine();
string substring = Console.ReadLine();
int count = 0;
for (int i = 0; i < input.Length-substrin... |
OfaSchlupfer.Elementary/Model/ModelComplexType.cs | FlorianGrimm/OfaSchlupfer | 1 | 7041067 | <filename>OfaSchlupfer.Elementary/Model/ModelComplexType.cs<gh_stars>1-10
namespace OfaSchlupfer.Model {
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
using OfaSchlupfer.Freezable;
using OfaSchlupfer.Entity;
using System.Linq;
[JsonObject]
... |
Properties/Settings.Designer.cs | LaserFlash/SteamFriendsPatcher | 1 | 7041068 | <gh_stars>1-10
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-... |
src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Ink/Stroke2.cs | txlos/wpf | 5,937 | 7041069 | // 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.
//#define DEBUG_RENDERING_FEEDBACK
using MS.Utility;
using System;
using System.ComponentModel;
using System.Window... |
BomSweeper.Test/GlobsTest.cs | maroontress/BomSweeper.CSharp | 0 | 7041070 | <reponame>maroontress/BomSweeper.CSharp<filename>BomSweeper.Test/GlobsTest.cs
namespace BomSweeper.Test
{
using BomSweeper;
using Microsoft.VisualStudio.TestTools.UnitTesting;
[TestClass]
public sealed class GlobsTest
{
[TestMethod]
public void NoWildcardSingleArgument()
{
... |
HaleyWPF/Controls/ComboRepeatButton.cs | TheHaleyProject/HaleyWPF | 1 | 7041071 | using System;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using Haley.Models;
namespace Haley.WPF.Controls
{
public class ComboRepeatButton : ImageRepeatButton
{
#region Constructors
static ComboRepeatButton()
{
DefaultStyleKeyProperty.OverrideMe... |
sliceViewGTK/SliceViewerMain.cs | roboter/gsSlicerApps | 0 | 7041072 | using g3;
using GLib;
using gs;
using gs.info;
using Gtk;
using System;
using System.Collections.Generic;
using System.IO;
namespace SliceViewer
{
class MainClass
{
static string GPX_PATH = Util.IsRunningOnMono() ? "gpx" : "gpx.exe";
public static Window MainWindow;
public static SliceViewCanvas View;
... |
ICT4RealsWebForms/ICT4RealsWebForms/InUitRij.aspx.designer.cs | marouanopen/ICT4RealsWebForms | 1 | 7041073 | //------------------------------------------------------------------------------
// <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/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniVersionGrayOnlineModel.cs | LuohuaRain/payment | 0 | 7041074 | <filename>src/Essensoft.AspNetCore.Payment.Alipay/Domain/AlipayOpenMiniVersionGrayOnlineModel.cs
using System.Text.Json.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// AlipayOpenMiniVersionGrayOnlineModel Data Structure.
/// </summary>
public class AlipayOpenMin... |
Semantic/BoolWrapper.cs | Isracg/GCL | 0 | 7041075 | <filename>Semantic/BoolWrapper.cs<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Semantic
{
public class BoolWrapper
{
public bool Value { get; set; }
public BoolWrapper(bool value)
{
Value = value;
}
... |
Assets/Scripts/CardPool.cs | khushboogupta17/Beggar-Your-Neighbour | 1 | 7041076 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class CardPool : MonoBehaviour
{
[System.Serializable]
public class Pool
{
public string name;
public Sprite front_Sprite;
public Sprite back_Sprite;
public int chanc... |
HalconDotNet/HalconDotNet/HBeadInspectionModel.cs | yanglei50/OpenHalcon | 57 | 7041077 | <filename>HalconDotNet/HalconDotNet/HBeadInspectionModel.cs
// Decompiled with JetBrains decompiler
// Type: HalconDotNet.HBeadInspectionModel
// Assembly: halcondotnetxl, Version=17.12.0.0, Culture=neutral, PublicKeyToken=4973bed59ddbf2b8
// MVID: 39799324-2494-4A83-8C57-2731D25BAE81
// Assembly location: C:\Program ... |
src/Commands/Advobot.Quotes/Database/QuoteDatabase.cs | advorange/Advobot | 9 | 7041079 | <gh_stars>1-10
using Advobot.Quotes.Models;
using Advobot.SQLite;
using AdvorangesUtils;
using System.Data.SQLite;
namespace Advobot.Quotes.Database;
public sealed class QuoteDatabase : DatabaseBase<SQLiteConnection>, IQuoteDatabase
{
public QuoteDatabase(IConnectionStringFor<QuoteDatabase> conn) : base(conn)
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.