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 |
|---|---|---|---|---|
TangoApp/TangoApp/Migrations/202012111255007_Initial.cs | stanbianca/Tango | 0 | 7063062 | namespace TangoApp.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class Initial : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.Cities",
c => new
{
C... |
JDP Remediation - CSOM/JDP.Remediation.Console/JDP.Remediation.Console/WebPartUsage.cs | nokafor/PnP-Transformation | 17 | 7063063 | using JDP.Remediation.Console.Common.Base;
using JDP.Remediation.Console.Common.CSV;
using JDP.Remediation.Console.Common.Utilities;
using JDP.Remediation.Console;
using Microsoft.SharePoint.Client;
using Microsoft.SharePoint.Client.WebParts;
using System;
using System.Collections.Generic;
using System.Data;
using Sys... |
uoooooo/Assets/Scripts/Delite_sw.cs | CloudNyan/uooooooo | 0 | 7063064 | <filename>uoooooo/Assets/Scripts/Delite_sw.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Delite_sw : MonoBehaviour {
[SerializeField] GameObject Delitewall;
DeliteWall _Delitewall;
// Use this for initialization
void Start () {
_Delitewall = Del... |
src/Spark.Engine/Search/ValueExpressionTypes/DateTimeValue.cs | jjrdk/spark | 0 | 7063065 | // /*
// * Copyright (c) 2014, Furore (<EMAIL>) and contributors
// * See the file CONTRIBUTORS for details.
// *
// * This file is licensed under the BSD 3-Clause license
// * available at https://raw.github.com/furore-fhir/spark/master/LICENSE
// */
namespace Spark.Engine.Search.ValueExpressionTypes
{
usi... |
Content/src/AbpTemplate.Domain.Shared/Configuration/AppSettings.cs | Meowv/AbpTemplate | 7 | 7063066 | <gh_stars>1-10
using Microsoft.Extensions.Configuration;
using System;
using System.IO;
namespace AbpTemplate.Configuration
{
public class AppSettings
{
private static readonly IConfigurationRoot configuration;
static AppSettings()
{
var builder = new ConfigurationBuilder(... |
Azpe/Viewer/MediaInfo.cs | RyuaNerin/Azpe | 2 | 7063067 | using System;
using System.Drawing;
using System.IO;
using System.Net;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
namespace Azpe.Viewer
{
public enum MediaTypes : byte { Image, Video, VideoThumb, PageThumb }
public enum Statuses : byt... |
TaskyJ.STSDBServer/WaterfallTree/WTree.Branch.Fall.cs | gallargit/TaskyJ | 0 | 7063068 | using STSdb4.Data;
using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
namespace STSdb4.WaterfallTree
{
public partial class WTree
{
private partial class Branch
{
public volatile Task FallTask;
private void DoFall(object state... |
src/TWCore.Messaging/Services/Messaging/BusinessMessageProcessorAsync.cs | tonyredondo/TWCore2 | 29 | 7063070 | <filename>src/TWCore.Messaging/Services/Messaging/BusinessMessageProcessorAsync.cs
/*
Copyright 2015-2018 <NAME>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/... |
ExpressionExtension.cs | arenchen/Netcorext.Extensions.Linq | 0 | 7063071 | using System.Linq.Expressions;
using System.Reflection;
namespace Netcorext.Extensions.Linq;
public static class ExpressionExtension
{
public static Expression<Func<TSource, bool>> And<TSource>(this Expression<Func<TSource, bool>> expr1, Expression<Func<TSource, bool>> expr2)
{
var secondBody = expr2... |
HomeHunter/App/HomeHunter.App/Views/Offer/DetailsGuest.cshtml | CryptoEcliptic/RealEstateExpanded | 0 | 7063072 | @model HomeHunter.Models.ViewModels.Offer.OfferDetailsGuestViewModel
Layout = "~/Views/Shared/_Layout.cshtml";
}
<link rel="stylesheet" href="~/lib/assets/modal_images.css">
<div class="row backgr-img-details">
<div class="col-md-6 details-real-estate-container">
<br />
<br />
@if (thi... |
NRedisTimeSeries.Test/TestDataTypes/TestTimeSeriesTuple.cs | RedisTimeSeries/NRedisTimeSeries | 20 | 7063073 | using System;
using NRedisTimeSeries.DataTypes;
using Xunit;
namespace NRedisTimeSeries.Test
{
public class TestTimeSeriesTuple
{
[Fact]
public void TestTupleConstructor()
{
TimeSeriesTuple tuple = new TimeSeriesTuple(1, 1.1);
Assert.Equal(1, tuple.Time);
... |
Runtime/Pools/Debugger.cs | fedorenkosergiy/Grabli | 0 | 7063074 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Reflection;
namespace Grabli.Pools
{
using static Defines;
public static class Debugger
{
private static object _locker = new object();
private static IDictionary<Type, Counter> _counters = new Dictionary<Type, C... |
Assets/Scripts/ShootMe.cs | sandokas/CollideVR2016 | 0 | 7063075 | using UnityEngine;
using System.Collections;
public class ShootMe : MonoBehaviour {
public AudioClip shootSound;
public AudioClip stepSound1;
public AudioClip stepSound2;
public AudioClip stepSound3;
public AudioClip stepSound4;
//bool stepsound1played = false;
//bool stepsound2played = false;
... |
test/Testbed/Settings.cs | MackinnonBuck/Box2D.CSharp | 1 | 7063076 | using System.Text.Json;
using System.Text.Json.Serialization;
namespace Testbed;
internal class Settings
{
private static readonly string _fileName = "settings.ini";
private static readonly JsonSerializerOptions _jsonOptions = new()
{
WriteIndented = true,
PropertyNamingPolicy = JsonNami... |
Paraiba.Experiment/Windows/Forms/BasicSurfaceControl.cs | exKAZUu/Paraiba | 0 | 7063077 | #region License
// Copyright (C) 2011-2016 <NAME>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applic... |
15.Streams/WordCount/Program.cs | nikolayvutov/CSharp | 0 | 7063078 | <filename>15.Streams/WordCount/Program.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace WordCount
{
class Program
{
static void Main(string[] args)
{
using (var readStream = new StreamReader("word.txt"))
{
... |
Microsoft.Research/Contracts/System.ServiceModel/Sources/System.ServiceModel.Security.Tokens.ServiceModelSecurityTokenRequirement.cs | jeroen-mostert/CodeContracts | 778 | 7063079 | // CodeContracts
//
// Copyright (c) Microsoft Corporation
//
// All rights reserved.
//
// MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including wit... |
SourceCode/GameDevMajor/GameDevMajor/Level Code/GameObjects/Cursor.cs | Squirrelbear/ChadsChallengeDemoCopy | 0 | 7063080 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Micro... |
test/MyTested.AspNetCore.Mvc.Test.Setups/Common/CustomFileProvider.cs | vmmarko/MyTested.AspNetCore.Mvc | 8 | 7063081 | namespace MyTested.AspNetCore.Mvc.Test.Setups.Common
{
using Microsoft.Extensions.FileProviders;
using Microsoft.Extensions.Primitives;
public class CustomFileProvider : IFileProvider
{
public IDirectoryContents GetDirectoryContents(string subpath)
{
return null;
}
... |
CrossfitDiary/CoreApp/CrossfitDiaryCore.DAL.EF/Migrations/20200205085618_SeedData8.cs | faiverAlb/crossfitDiary- | 1 | 7063082 | using Microsoft.EntityFrameworkCore.Migrations;
namespace CrossfitDiaryCore.DAL.EF.Migrations
{
public partial class SeedData8 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.InsertData(
table: "Exercise",
... |
Source/Initium.Portal.Web/Pages/App/Profile/AuthenticatorApp.cshtml | DeviousCreation/stance | 0 | 7063084 | @page "/app/profile/authentictor-app"
@model Initium.Portal.Web.Pages.App.Profile.AuthenticatorApp
@using Initium.Portal.Core.Constants
@using Initium.Portal.Web.Infrastructure.Constants
@using Microsoft.AspNetCore.Antiforgery
@inject IAntiforgery Antiforgery
@{
Layout = "Shared/_AppLayout";
ViewData["Title"] ... |
aspnet-core/src/ABD.Application/BDSearches/Dto/AnalyzeBDInput.cs | aansadiqul/New | 0 | 7063085 | <reponame>aansadiqul/New
using System;
using System.Collections.Generic;
using System.Text;
namespace ABD.BDSearches.Dto
{
public class AnalyzeBDInput
{
public string BusinessQuery { get; set; }
public string FirstValue { get; set; }
public string SecondValue { get; set; }
publ... |
MvcBootstrap/ViewModels/IChoices.cs | carlgieringer/MvcBootstrap | 1 | 7063086 | <filename>MvcBootstrap/ViewModels/IChoices.cs
namespace MvcBootstrap.ViewModels
{
using System.Collections.Generic;
/// <summary>
/// Provides a non-generic base type for <see cref="Choices{TViewModel}"/> so that
/// strongly-typed Razor views can access <see cref="Choices{TViewModel}.Options"/>.
... |
Assets/Scripts/Card.cs | Xeoneid/ITBA | 0 | 7063087 | <reponame>Xeoneid/ITBA
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;
using UnityEngine.EventSystems;
[RequireComponent(typeof(SpriteRenderer))]
public class Card : MonoBehaviour {
public CardAsset asset;
public Vector2 pickUpSize = Vector2.one * 0.5f;
p... |
HermaFx.Foundation/RuntimeExtensions/IDictionaryExtensions.cs | m-loubani/HermaFx | 12 | 7063088 | using System;
using System.Linq;
using System.Collections.Generic;
namespace HermaFx
{
public static class IDictionaryExtensions
{
public static IDictionary<K, V> Clone<K,V>(this IDictionary<K, V> source)
{
if (source == null) throw new ArgumentNullException("source");
return source.ToDictionary(x => x.K... |
the-eventbridge-atm/csharp/src/TheEventbridgeAtm/TheEventbridgeAtmStack.cs | mttfarmer/serverless | 1,627 | 7063089 | <reponame>mttfarmer/serverless
using System.Collections.Generic;
using Amazon.CDK;
using Amazon.CDK.AWS.APIGateway;
using Amazon.CDK.AWS.Events;
using Amazon.CDK.AWS.Events.Targets;
using Amazon.CDK.AWS.IAM;
using Amazon.CDK.AWS.Lambda;
namespace TheEventbridgeAtm
{
public class TheEventbridgeAtmStack : Stack
... |
LetsGoBiking/WebProxyService/Service1.cs | emmvou/eiin839 | 0 | 7063090 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Runtime.Caching;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
namespace WebProxyService
{
// REMARQUE : vous pouvez utiliser la commande Renomme... |
src/NetStreams/Configuration/NetStreamConfiguration.cs | joelbrinkley/NetStreams | 3 | 7063091 | using System;
using System.Collections.Generic;
using Confluent.Kafka;
using NetStreams.Authentication;
using NetStreams.Logging;
namespace NetStreams.Configuration
{
public class NetStreamConfiguration<TKey, TMessage> : INetStreamConfigurationContext, INetStreamConfigurationBuilderContext<TKey, TMessage>
{
... |
src/WebCompiler/Minify/MinificationResult.cs | leemcmullen/WebCompiler | 475 | 7063093 | namespace WebCompiler
{
/// <summary>
/// Represents the result of minification.
/// </summary>
public class MinificationResult
{
/// <summary>
/// Creates a new instance and populates the content and sourceMap properties.
/// </summary>
/// <param name="content">The... |
SportNewsApp/Models/Standings/StandingTeamInfo.cs | KrasimirHristov12/ASP-NET-Core-Sport-News | 0 | 7063094 | <reponame>KrasimirHristov12/ASP-NET-Core-Sport-News
namespace SportNewsApp.Models.Standings
{
public class StandingTeamInfo
{
public int Id { get; set; }
public string Name { get; set; }
public string Logo { get; set; }
}
}
|
Libraries/Slf/Ast/Ast/Expressions/Linq/ILinqTypedRangeVariable.cs | AlexanderMorou/AbstractionProject | 0 | 7063095 | <reponame>AlexanderMorou/AbstractionProject
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AllenCopeland.Abstraction.Slf.Abstract;
/*---------------------------------------------------------------------\
| Copyright © 2008-2016 <NAME>. [<NAME>] <NAME>r. |
|... |
common_dao_tmp_snpd/TestTableQuery.cs | BryanApellanes/BamCommon | 2 | 7063096 | /*
This file was generated and should not be modified directly
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.Common;
using Bam.Net.Data;
namespace Bam.Net.DaoRef
{
public class TestTableQuery: Query<TestTableColumns, TestTable>
{
public TestTable... |
src/Screenshot/Screenshot.apple.cs | wilsonvargas/ScreenshotPlugin | 33 | 7063098 | <filename>src/Screenshot/Screenshot.apple.cs
using Foundation;
using System;
using System.IO;
using System.Threading.Tasks;
using UIKit;
namespace Plugin.Screenshot
{
/// <summary>
/// Interface for Screenshot
/// </summary>
public class ScreenshotImplementation : IScreenshot
{
public asyn... |
GoalLine.Resources/TextResources.cs | meesterturner/GoalLine | 0 | 7063099 | <filename>GoalLine.Resources/TextResources.cs<gh_stars>0
using System;
using System.IO;
using System.Reflection;
namespace GoalLine.Resources
{
public static class TextResources
{
private const string Namespace = "GoalLine.Resources";
public static string[] NameList(NameListResource ... |
635/Dispatcher.cs | CryptonZylog/cf635 | 0 | 7063100 | <filename>635/Dispatcher.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Diagnostics;
namespace Crypton.Hardware.CrystalFontz {
class Dispatcher {
private CrystalFontz635 cf635 = null;
const int MAXSZ = 512;
... |
Android/SampleBrowser/Samples/DataGrid/Selection.cs | Chansardrake/xamarin-demos | 0 | 7063101 | #region Copyright Syncfusion Inc. 2001-2016.
// Copyright Syncfusion Inc. 2001-2016. All rights reserved.
// Use of this code is subject to the terms of our license.
// A copy of the current license can be obtained at any time by e-mailing
// <EMAIL>. Any infringement will be prosecuted under
// applicable laws.
#endr... |
Assets/Votyra/Core/IInitialImageConfig.cs | mgrman/TycoonTerrain | 3 | 7063102 | using Votyra.Core.Models;
namespace Votyra.Core
{
public interface IInitialImageConfig : IConfig
{
object InitialData { get; }
Vector3f InitialDataScale { get; }
bool ZeroFromInitialStateIsNull { get; }
}
} |
src/Domain/Domain/Conventions/ConventionCommandPipeline.cs | BoasE/BE.CQRS | 9 | 7063103 | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using BE.CQRS.Domain.Commands;
using BE.CQRS.Domain.DomainObjects;
using BE.FluentGuard;
using M... |
BusWatcher/CoreAPI/UsuarioManager.cs | Francisco-Tovar/BusWatcher-Project | 0 | 7063104 | <reponame>Francisco-Tovar/BusWatcher-Project
using DataAcess.Crud;
using Entities_POJOS;
using Exceptions;
using System;
using System.Collections.Generic;
namespace CoreAPI
{
public class UsuarioManager : BaseManager
{
private UsuarioCrudFactory crudUsuario;
public UsuarioManager()
... |
src/Spotify/Models/PlayHistory.cs | varianter/now-playing | 0 | 7063105 | using System;
namespace Spotify.Models
{
public class PlayHistory
{
public PlayHistoryItem[] items { get; set; }
}
public class PlayHistoryItem
{
public Track track { get; set; }
public DateTime played_at { get; set; }
}
} |
VRA.DataAccess/ITypeExpenseDao.cs | devsia93/registration-of-office-expenses | 0 | 7063106 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace VRA.DataAccess
{
/// <summary>
/// Содержит описание действий с таблицей типов расходов.
/// </summary>
public interface ITypeExpenseDao
{
/// <summary>
/// Получить тип по его номеру.
... |
SharpLocker-2.0/Models/Language.cs | Lokk-In/SharpLocker-2.0 | 1 | 7063107 | <reponame>Lokk-In/SharpLocker-2.0<filename>SharpLocker-2.0/Models/Language.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Windows10LokkIn.Models
{
public class Language
{
private string placeholderText = "Password";
... |
RemoteDev/Options/SyncSftpVerbOptions.cs | watkinsmatthewp/RemoteDev | 1 | 7063108 | using CommandLine;
namespace RemoteDev.Options
{
[Verb("sync-sftp", HelpText = "Sync contents with an SFTP directory")]
public class SyncSftpVerbOptions : ProgramOptions
{
[Option('h', "host", Required = true, HelpText = "The host to sync to")]
public string Host { get; set; }
[Op... |
08.ManualStringProcessingExercise/03FormattingNumbers/Program.cs | ChrisPam/CSharpAdvanced | 3 | 7063110 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
public class FormattingNumbers
{
public static void Main()
{
var input = Console.ReadLine().Split(new char[] { ' ', '\t' },
StringSplitOptions.RemoveEmptyEntries);
var a = long.Parse(input[0]);
... |
src/Eto.UnitTest/TestSource.cs | picoe/Eto.Extended | 10 | 7063111 | <gh_stars>1-10
using System;
using System.IO;
using System.Reflection;
namespace Eto.UnitTest
{
public interface ITestSource
{
Assembly Assembly { get; }
Assembly GetReflectionAssembly();
}
[Serializable]
public class TestSource : ITestSource
{
[NonSerialized]
A... |
Program3.cs | dralee/XLDownloader | 11 | 7063112 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Timers;
/*
CreatedBy: <NAME>
CreatedOn: 2017-10-13
*/
namespace XLDownloader
{
class Program3
{
static void Main1(string[] args)
... |
FileManager/Windows/FileManager/DrawMenus.cs | LazyV1llain/UniProjects | 0 | 7063113 | // DrawMenus.cs - методы отрисовки различных меню программы - меню действий с файлами, меню помощи, меню-вопрос и т.д.
using System;
using System.IO;
using System.Linq;
using System.Text;
namespace FileManager
{
partial class Program
{
/// <summary>
/// Метод, выводящий на экран меню выбора ... |
workers/unity/Packages/io.improbable.gdk.mobile/Editor/iOSUtils.cs | ezat90s/gdk-for-unity | 280 | 7063114 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
using System.Xml;
using Improbable.Gdk.Tools;
using UnityEditor;
using UnityEditor.Build;
using UnityEngine;
using Debug = UnityEngine.Debug;
namespace Improbable.Gdk.Mobi... |
demo/F0.Talks.MutationTesting/Threading/AsyncRandom.cs | Flash0ver/F0-Talks-MutationTesting | 0 | 7063115 | <filename>demo/F0.Talks.MutationTesting/Threading/AsyncRandom.cs
using System;
using System.Threading;
using System.Threading.Tasks;
namespace F0.Talks.MutationTesting.Threading
{
public sealed class AsyncRandom : IDisposable
{
private readonly Random random;
private readonly SemaphoreSlim mutex = new(1);
pu... |
windows/FSMonitor/FSMonitor.cs | Acidburn0zzz/LiveReload | 723 | 7063117 | <filename>windows/FSMonitor/FSMonitor.cs
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Threading;
namespace LiveReload.FSMonitor {
// unless specified otherwise, all methods are invoked
public class FSMonitorService : IFSMo... |
Settings/Options.cs | jeancarlo13/JCTools.Shortener | 0 | 7063118 | using System;
using Microsoft.AspNetCore.Authorization;
namespace JCTools.Shortener.Settings
{
/// <summary>
/// Defines all the package settings that are used to suit the application where it will be used
/// </summary>
public class Options
{
/// <summary>
/// The police name used ... |
src/Implementation/FrannHammer.NetCore.WebApi/Controllers/CharacterController.cs | dunnaaron/FrannHammer | 53 | 7063119 | using FrannHammer.Api.Services.Contracts;
using FrannHammer.NetCore.WebApi.HypermediaServices;
using FrannHammer.Utility;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Routing;
using System.Linq;
using static FrannHammer.NetCore.WebApi.Controllers.ApiControllerBaseRoutingConstants;
namespace Fran... |
BobAR/Assets/Scripts/DataManagement/DataStorage.cs | Joiple/BobAR_Client_2019 | 0 | 7063120 | <gh_stars>0
using System.Collections.Generic;
using Common.Dummies;
using UnityEngine;
namespace DataManagement {
public enum DataStorageKeyset {
NextUser,
NextRestaurant,
NextDrawPath,
NextReview,
InitialScene,
MyKey,
FollowStatus,
WritingStatus
... |
src/AddCsClass/Program.cs | majorsilence/AddCsClass | 0 | 7063121 | <reponame>majorsilence/AddCsClass<filename>src/AddCsClass/Program.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace AddCsClass
{
class Program
{
static void Main(string[] args)
{
... |
Sources/TFS.SyncService.Adapter.Word2007/WorkItemObjects/WordTableWorkItem.cs | qanh96/WordToTFS | 9 | 7063122 | using AIT.TFS.SyncService.Adapter.Word2007.Properties;
using AIT.TFS.SyncService.Adapter.Word2007.WorkItemCollections;
using AIT.TFS.SyncService.Contracts.Configuration;
using AIT.TFS.SyncService.Contracts.Enums;
using AIT.TFS.SyncService.Contracts.Exceptions;
using AIT.TFS.SyncService.Contracts.TfsHelper;
using... |
Core/Pvp.Core/MediaEngine/FilterRegistry/FilterDescription.cs | dzimchuk/power-video-player | 12 | 7063123 | using System;
namespace Pvp.Core.MediaEngine.FilterRegistry
{
public class FilterDescription
{
private readonly string _name;
private readonly Guid _classId;
public FilterDescription(string name, Guid classId)
{
_name = name;
_classId = class... |
RealTimeFaceAnalytics.Core/Utils/ImageEncodingParameter.cs | borysrybak/RealTimeFaceAnalytics | 3 | 7063124 | using OpenCvSharp;
namespace RealTimeFaceAnalytics.Core.Utils
{
public class ImageEncodingParameter
{
/// <summary> Gets JpegQuality parameters (<see cref="ImageEncodingParam"/>) for encoding frame image. </summary>
/// <value> Jpeg quality parameters. </value>
public static ImageEncod... |
aula31-40/aula40.cs | fernandosenacruz/Curso_Csharp | 2 | 7063125 | using System;
// Class Sealed
sealed class Veiculo{} // classe com características comuns porém não pode ser herdada.
class Aula40{
static void Main(){
}
} |
Assets/Scripts/Src/Helper/SoccerPlayer.cs | lim147/capstone-mini-game-battery-project | 0 | 7063126 | <reponame>lim147/capstone-mini-game-battery-project
using UnityEngine;
namespace Helper
{
/// <summary>
/// A small script used for the animation of a soccer player in the Ball
/// game.
/// This module implements [SoccerPlayer Module](https://gitlab.cas.mcmaster.ca/bucklj4/capstone-mini-game-battery-p... |
test/WebSites/TagHelpersWebSite/TagHelpers/PrettyTagHelper.cs | walkeeperY/ManagementSystem | 0 | 7063127 | <filename>test/WebSites/TagHelpersWebSite/TagHelpers/PrettyTagHelper.cs
// Copyright (c) Microsoft Open Technologies, Inc. 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 Microsof... |
source/R5T.Dunbar.T003/Code/Classes/DatabaseConnectionConfiguration.cs | SafetyCone/R5T.Dunbar | 0 | 7063128 | <reponame>SafetyCone/R5T.Dunbar<filename>source/R5T.Dunbar.T003/Code/Classes/DatabaseConnectionConfiguration.cs
using System;
using System.Collections.Generic;
using R5T.Dunbar.T002;
namespace R5T.Dunbar.T003
{
public class DatabaseConnectionConfiguration
{
public string DatabaseName { get; set; }
... |
src/Buildron/Assets/_Assets/Scripts/Domain/Users/UserBase.cs | skahal/Buildron | 24 | 7063129 | using System;
using Skahal.Infrastructure.Framework.Domain;
namespace Buildron.Domain.Users
{
/// <summary>
/// Defines a abstract user entity.
/// </summary>
[Serializable]
public abstract class UserBase : AggregateRootBase, IAuthUser
{
#region Fields
private string m_userName;
#endregion
#region Const... |
DSharpPlus/EventArgs/ReadyEventArgs.cs | Epictek/DSharpPlusSlashCommands | 15 | 7063130 | <gh_stars>10-100
namespace DSharpPlus.EventArgs
{
/// <summary>
/// Represents arguments for <see cref="DiscordClient.Ready"/> event.
/// </summary>
public sealed class ReadyEventArgs : DiscordEventArgs
{
internal ReadyEventArgs() : base() { }
}
}
|
TiaCodeGen.Tests/SampleTests.cs | TeaJAge/TiaCodeGen | 6 | 7063131 | <filename>TiaCodeGen.Tests/SampleTests.cs
using NUnit.Framework;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using TiaCodegen.Blocks;
using TiaCodegen.Commands;
using TiaCodegen.Commands.Coils;
using TiaCodegen.Commands.Comparisons;
using TiaCodegen.Commands.Functions;
using... |
src/EmbeddedMail.Tests/SmtpTokenTester.cs | jmarnold/EmbeddedMail | 11 | 7063132 | using System;
using NUnit.Framework;
using Shouldly;
namespace EmbeddedMail.Tests
{
[TestFixture]
public class SmtpTokenTester
{
[Test]
public void should_parse_known_commands()
{
verifyToken("HELO localhost", token => token.Command.ShouldBe("HELO"));
... |
src/main/CsharpDotNet2/LaunchDarkly/Api/Model/IntegrationSubscription.cs | launchdarkly/api-client-dotne | 4 | 7063133 | using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace LaunchDarkly.Api.Model {
/// <summary>
///
/// </summary>
[DataContract]
public class IntegrationSubscription {
/// <summary>
/// Gets or... |
src/Chemistry/Chem4Word.ACME/Behaviors/DeleteBehavior.cs | kazuyaujihara/Version3-1 | 0 | 7063134 | // ---------------------------------------------------------------------------
// Copyright (c) 2019, The .NET Foundation.
// This software is released under the Apache License, Version 2.0.
// The license and further copyright text can be found in the file LICENSE.md
// at the root directory of the distributi... |
src/Daridakr.ProgGuru.Application.Contracts/Events/EventDto.cs | daridakr/ProgGuru | 1 | 7063135 | using Daridakr.ProgGuru.Base;
using System;
namespace Daridakr.ProgGuru.Events
{
public class EventDto : PostEntityDto
{
public DateTime StartDate { get; set; }
public DateTime EndDate { get; set; }
public double Cost { get; set; }
public string UserName { get; set; }
... |
ASMR.Core/Entities/BusinessAnalytic.cs | danang-id/asmr | 0 | 7063136 | <gh_stars>0
//
// asmr: Coffee Beans Management Solution
// © 2021 Pandora Karya Digital. All right reserved.
//
// Written by <NAME> [<EMAIL>]
//
// BeanAnalytic.cs
//
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text.Json.Serialization;
us... |
mono/tests/cas/inheritance/reftype3.cs | lefb766/mono | 469 | 7063137 | using System;
using System.Reflection;
using System.Security;
using System.Security.Permissions;
public class Program {
private const string filename = "library2a";
static int GetTypeFalse (Assembly a)
{
string typename = "InheritanceDemand";
Type t = a.GetType (typename, false);
if (t == null) {
Console... |
Infrastructure/Services/ExchangeRest/Models/Message.cs | Rightpoint/conference-room | 3 | 7063138 | namespace RightpointLabs.ConferenceRoom.Infrastructure.Services.ExchangeRest.Models
{
public class Message
{
public string Subject { get; set; }
public BodyContent Body { get; set; }
public Recipient[] ToRecipients { get; set; }
public Recipient From { get; set; }
public ... |
LBHTenancyAPITest/Test/Gateways/V2/Search/SearchGatewayTests.cs | cob16/LBHTenancyAPI | 0 | 7063139 | using System;
using System.Data.SqlClient;
using System.Threading;
using System.Threading.Tasks;
using FluentAssertions;
using LBHTenancyAPI.Gateways.V2.Search;
using LBHTenancyAPI.UseCases.V2.Search.Models;
using LBHTenancyAPITest.Helpers;
using LBHTenancyAPITest.Helpers.Data;
using Xunit;
namespace LBHTenancyAPITest... |
Assets/Editor_Common/PropertyAttributes/List/ReorderableListAttribute.cs | ldalzotto/ProjectUndefined-TrainingGround | 0 | 7063140 | <gh_stars>0
using UnityEngine;
using System.Collections;
public class ReorderableListAttribute : PropertyAttribute
{
public bool DisplayLineLabel = true;
public ReorderableListAttribute(bool displayLineLabel = true)
{
DisplayLineLabel = displayLineLabel;
}
}
|
Orange/Launcher/Mac/LoggingWindow.cs | game-forest/Citrus | 14 | 7063141 | using System;
using Foundation;
using AppKit;
namespace Launcher
{
public partial class LoggingWindow : NSWindow
{
public LoggingWindow(IntPtr handle) : base(handle)
{
}
[Export("initWithCoder:")]
public LoggingWindow(NSCoder coder) : base(coder)
{
}
public override void AwakeFromNib()
{
bas... |
Csharp/test_win/test_win/MtoLib/Pict/BasePict.cs | tsu-kunn/TGA | 0 | 7063142 | <reponame>tsu-kunn/TGA
using System;
using System.IO;
using System.Drawing;
using System.Drawing.Imaging;
namespace MtoLib
{
namespace Pict
{
/// <summary>
/// 画像データのベースクラス
/// 対応フォーマットを増やす場合はこれを継承して作成する
/// </summary>
class BasePict
{
... |
GM.Web/Views/Account/Checkout.cshtml | salebgmilj2/GreenMoney | 0 | 7063143 | <reponame>salebgmilj2/GreenMoney
@model GM.ViewModels.MyCartCheckoutViewModel
@{
ViewBag.Title = "Checkout";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="row">
<div class="myaccountmenu">
@Html.Partial("_LeftNavigation")
<div class="container checkout-container">
<div... |
Templates/TFWpf/App.xaml.cs | trendfox/templates | 0 | 7063144 | <gh_stars>0
using Microsoft.Extensions.Configuration;
using Prism.Ioc;
using Prism.Modularity;
using Prism.Unity;
using System;
using System.Windows;
namespace TFWpf;
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App
: PrismApplication
{
private readonly IConfiguration ... |
Src/PCompiler/CompilerCore/TypeChecker/Types/TypeDefType.cs | richardnnn/P | 2,607 | 7063145 | <gh_stars>1000+
using Plang.Compiler.TypeChecker.AST.Declarations;
using System;
using System.Collections.Generic;
namespace Plang.Compiler.TypeChecker.Types
{
public class TypeDefType : PLanguageType
{
public TypeDefType(TypeDef typeDef) : base(TypeKind.TypeDef)
{
TypeDefDecl = typ... |
TGC.Group/Model/Crafting/Cuchillo.cs | daianaszwimer/2020_1C_3051_Seagraphics | 0 | 7063146 | using System.Collections.Generic;
using System.Linq;
namespace TGC.Group.Model.Crafting
{
class Cuchillo : Crafting // Ejemplo de un crafteo posible
{
private Dictionary<ElementoRecolectable, int> Composicion;
private bool estoyHabilitado;
private bool estoyCrafteado;
private... |
GitTrends/Views/Trends/StarsChart.cs | saamerm/GitTrends | 548 | 7063147 | <gh_stars>100-1000
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;
using GitTrends.Mobile.Common;
using GitTrends.Mobile.Common.Constants;
using Syncfusion.SfChart.XForms;
using Xamarin.CommunityToolkit.Markup;
using Xamarin.Essentials.Inte... |
Gedcomx.CLI/RecordSetToCSV.cs | FamilySearch/gedcomx-csharp | 27 | 7063148 | <filename>Gedcomx.CLI/RecordSetToCSV.cs
using System;
using NDesk.Options;
namespace Gx.CLI
{
class RecordSetToCSV
{
public static void Main (string[] args)
{
string file = null;
var options = new OptionSet {
{ "f|file=", o => file = o }
... |
src/PowerShell/Models/Authentication/PartnerAccount.cs | cychua/Partner-Center-PowerShell | 1 | 7063149 | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Store.PartnerCenter.PowerShell.Models.Authentication
{
using System;
using System.Collections.Concurrent;
using System.Coll... |
LBHTenancyAPI/Extensions/Controller/ControllerExtensions.cs | cob16/LBHTenancyAPI | 0 | 7063150 | <filename>LBHTenancyAPI/Extensions/Controller/ControllerExtensions.cs
using System;
using LBHTenancyAPI.Infrastructure.V1.API;
using LBHTenancyAPI.Infrastructure.V1.UseCase.Execution;
using Microsoft.AspNetCore.Mvc;
namespace LBHTenancyAPI.Extensions.Controller
{
/// <summary>
/// Extension class to help forma... |
Infrastructure/SDK/Pay/ND.MCJ.Tenpay/TenpayService.cs | PengXX0/ND.MCJ | 0 | 7063153 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using ND.MCJ.AOP.Logging;
using ND.MCJ.Framework;
using ServiceStack.Text;
namespace ND.MCJ.Tenpay
{
public static class Te... |
ArtOfRallyResetVisualizer/Settings/ResetVisualizerSettings.cs | Theaninova/Art-Of-Rally-Reset-Visualizer | 0 | 7063154 | using UnityEngine;
using UnityModManagerNet;
// ReSharper disable FieldCanBeMadeReadOnly.Global
// ReSharper disable ConvertToConstant.Global
namespace ArtOfRallyResetVisualizer.Settings
{
public enum RenderMode
{
Off,
OnHit,
Always
}
public enum HardResetMode
{
I... |
src/Coldairarrow.IBusiness/MiniPrograms/Isys_attachmentBusiness.cs | fanxinshun/HS.Admin.AntVue | 2 | 7063155 | <reponame>fanxinshun/HS.Admin.AntVue
using Coldairarrow.Entity.MiniPrograms;
using Coldairarrow.Util;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Coldairarrow.Business.MiniPrograms
{
public interface Isys_attachmentBusiness
{
Task<PageResult<sys_attachment>> GetDataListAs... |
src/EFCore.PG/Storage/Internal/Mapping/NpgsqlTidTypeMapping.cs | Douglas-Cleghorn/Npgsql.EntityFrameworkCore.PostgreSQL | 0 | 7063156 | <gh_stars>0
using System.Text;
using Microsoft.EntityFrameworkCore.Storage;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using NpgsqlTypes;
namespace Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping
{
public class NpgsqlTidTypeMapping : NpgsqlTypeMapping
{
public NpgsqlTi... |
AstrophotographyBlog/AstrophotographyBlog.Data/Repositories/Contracts/IPostRepository.cs | J-Mitko/AstrophotographyBlog | 2 | 7063157 | <gh_stars>1-10
using AstrophotographyBlog.Data.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AstrophotographyBlog.Data.Repositories.Contracts
{
public interface IPostRepository : IEfRepository<Post>
{
}
}
|
src/Sanderling.Interface/Sanderling.Interface/MemoryStruct/Inventory.cs | SDManson/Sanderling | 3 | 7063158 | namespace Sanderling.Interface.MemoryStruct
{
public interface IInventory : IUIElement
{
/// <summary>
/// this contains the items in the inventory if the view is set to "list".
/// </summary>
IListViewAndControl ListView { get; }
}
public class Inventory : UIElement, IInventory
{
public IListViewAn... |
sdk/dotnet/Inputs/ClusterRkeConfigServicesKubeApiAuditLogConfigurationArgs.cs | pulumi/pulumi-rancher2 | 3 | 7063159 | <gh_stars>1-10
// *** 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.Serial... |
src/WBST.Bibliography/Controllers/ExportAsEPubController.cs | krzysztof-radzimski/Usfm | 0 | 7063160 | <filename>src/WBST.Bibliography/Controllers/ExportAsEPubController.cs
using System;
using System.IO;
using System.Text;
using System.Windows.Forms;
using System.Xml.Linq;
namespace WBST.Bibliography.Controllers {
internal class ExportAsEPubController : IController<string> {
public void Dispose() { }
... |
CS.Itself.Delegates/CS.Itself.Delegates/Program.cs | miroshkin/cs-itself-delegates | 0 | 7063161 | using System;
namespace CS.Itself.Delegates
{
class Program
{
delegate void WriteToConsole(string message);
static void Main(string[] args)
{
Writer writer = new Writer();
WriteToConsole wtc = Writer.WriteChapterHeader;
wtc += writer.WriteChapterTe... |
MvcSozenCit/Views/Product/AdminProductList.cshtml | oguzhanagir/mvc-corporate-website-sozen | 0 | 7063162 | <filename>MvcSozenCit/Views/Product/AdminProductList.cshtml
@model IEnumerable<EntityLayer.Concrete.Product>
@{
ViewBag.Title = "AdminProductList";
Layout = "~/Views/Shared/AdminLayout.cshtml";
}
<br />
<div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12">
<div class="card">
<h2 c... |
src/Scratch/PrimeNumbers/Tests.cs | handcraftsman/Scratch | 12 | 7063163 | <filename>src/Scratch/PrimeNumbers/Tests.cs<gh_stars>10-100
// * **********************************************************************************
// * Copyright (c) <NAME>
// * This source code is subject to terms and conditions of the MIT License.
// * A copy of the license can be found in the License.txt file
/... |
LaTexConvert/Program.cs | RobertLeisner/Bodoconsult.Core.Latex | 0 | 7063164 | using System;
using System.Windows.Forms;
using LaTexConvert.Business.Models;
using LaTexConvert.Business.ViewModels;
namespace LaTexConvert
{
public static class Program
{
public static void Main()
{
var viewModel = new MainWindowViewModel();
Application.EnableVisu... |
src/BlogApp.Data/Entities/Blog.cs | xinliuleo/dockercompose-azdevops | 9 | 7063165 | <reponame>xinliuleo/dockercompose-azdevops
using System;
using System.Collections.Generic;
using System.Linq;
namespace BlogApp.Data.Entities
{
public class Blog
{
public Guid Id { get; private set; }
public string Url { get; private set; }
public List<Post> Posts { get; set; } = Enu... |
GUI/Forms/SearchForm.cs | DarkMio/ValveResourceFormat | 0 | 7063166 | using System;
using System.Windows.Forms;
namespace GUI.Forms
{
public partial class SearchForm : Form
{
/// <summary>
/// Gets whatever text was entered by the user in the search textbox.
/// </summary>
public string SearchText
{
get { return findTextBox.Te... |
Presentation/CRM/Views/Lead/List.cshtml | shpsyte/CRMFx | 1 | 7063167 | <reponame>shpsyte/CRMFx
@model IEnumerable<Ps_Leads>
<!-- MAIN CONTENT -->
<div id="content">
@{ Html.RenderPartialIf("_MiniDashboard", Settings.EnableMiniDashborad); }
<!-- widget grid -->
<section id="widget-grid" class="">
<div class="row">
<article class="col-sm-12 col-md-12 col-lg-... |
NugetConverterService/NugetConverterService.cs | dfev77/NugetConverter | 1 | 7063168 | <reponame>dfev77/NugetConverter<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using System.Threading.Tasks;
namespace NugetConverterService
{
... |
Samples/CPUSkinningSample_4_0/CpuSkinningDemo/CpuSkinningDemo/FrameRateCounter.cs | SimonDarksideJ/XNAGameStudio | 422 | 7063169 | <reponame>SimonDarksideJ/XNAGameStudio<gh_stars>100-1000
#region File Description
//-----------------------------------------------------------------------------
// FrameRateCounter.cs
//
// Microsoft XNA Community Game Platform
// Copyright (C) Microsoft Corporation. All rights reserved.
//----------------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.