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 |
|---|---|---|---|---|
asset-management-api/src/GSoft.AbpZeroTemplate.Web.Mvc/Areas/AppAreaName/Views/Invoice/Index.cshtml | NTD98/ASP_ANGULAR | 1 | 7028992 | <reponame>NTD98/ASP_ANGULAR<gh_stars>1-10
@using GSoft.AbpZeroTemplate.Web.Areas.AppAreaName.Models.Accounting
@model InvoiceViewModel
<div class="m-content">
<div class="m-portlet">
<div class="m-portlet__body m-portlet__body--no-padding">
<div class="m-invoice-1">
<div class... |
src/Umbraco.Web/umbraco.presentation/umbraco/ActionHandlers/umbEnsureUniqueName.cs | wtct/Umbraco-CMS | 0 | 7028993 | <reponame>wtct/Umbraco-CMS
using System;
using System.Linq;
using Umbraco.Core.Logging;
using umbraco.cms.businesslogic.web;
using umbraco.BusinessLogic.Actions;
namespace umbraco.ActionHandlers
{
/// <summary>
/// umbEnsureUniqueName is a standard Umbraco action handler.
/// It ensures that new ... |
stock123/app/ui/DlgAddSubchart.cs | thuyps/vnchart_windows | 0 | 7028994 | <filename>stock123/app/ui/DlgAddSubchart.cs
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace stock123.app.ui
{
public partial class DlgAddSubchart : Form
{
public Dl... |
SuperCompilcatedSystem.Data/SuperComplicatedSystemContext.cs | mkyordanov/SuperComplicatedSystem | 0 | 7028995 | <reponame>mkyordanov/SuperComplicatedSystem
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration.Conventions;
using SuperComplicatedSystem.Models;
namespace SuperCompilcatedSystem.Data
... |
Src/AzureBusDepot/SingleMessageTypeListener.cs | SafeStak/AzureBusDepot | 0 | 7028996 | using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using AzureBusDepot.Abstractions;
using Microsoft.Azure.ServiceBus;
using Microsoft.Extensions.Logging;
namespace AzureBusDepot
{
public class SingleMessageTypeListener<TConfig, TMessage> : MessageListener<TConfig>, IMes... |
OurUmbraco/Our/Models/InstallationModel.cs | hartviglarsen/OurUmbraco | 77 | 7028997 | using System;
namespace OurUmbraco.Our.Models
{
public class InstallationModel
{
private string _userAgent;
private string _versionComment;
public Guid InstallId { get; set; }
public bool IsUpgrade { get; set; }
public bool InstallCompleted { get; set; }
public... |
Ashirvad-main/Ashirvad.Repo/DataAcceessAPI/Area/AboutUs/IAboutUs.cs | Shail218/Ashirvad | 0 | 7028998 | using Ashirvad.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ashirvad.Repo.DataAcceessAPI.Area.AboutUs
{
public interface IAboutUs
{
Task<ResponseModel> AboutUsMaintenance(AboutUsEntity aboutUsInfo);
Task<Lis... |
Assets/Scripts/Networking/ServerMessages/S_DespawnPlayerMessage.cs | takaaptech/VoxelLand | 2 | 7028999 | <gh_stars>1-10
using ZeroFormatter;
namespace Voxels.Networking {
[ZeroFormattable]
public class S_DespawnPlayerMessage : BaseMessage {
[Index(1)]
public virtual PlayerEntity PlayerToDespawn { get; set; }
}
}
|
Scripts/FinishLine.cs | vanessavvp/Limbo-Rise-to-Heaven | 0 | 7029000 | <filename>Scripts/FinishLine.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class FinishLine : MonoBehaviour {
void OnTriggerEnter(Collider collider) {
if (collider.gameObject.tag == "Player") {
int nextSc... |
Runtime/Signal.cs | freakshowstudio/com.freakshowstudio.signals | 2 | 7029001 | <filename>Runtime/Signal.cs<gh_stars>1-10
using System;
#if SIGNALING_USE_UNIRX
using UniRx;
#endif
namespace FreakshowStudio.Signaling.Runtime
{
public abstract class SignalBase
{
}
public abstract class Signal : SignalBase
{
private event Action Callback;
#if SIGNALING_USE_UNIR... |
NetCoreCMS.Web/Core/Core.Admin/Views/Admin/Settings.cshtml | bibashkafle/NetCoreCMS | 172 | 7029002 | @using NetCoreCMS.Framework.Utility
@using NetCoreCMS.Framework.Core
@model NccWebSite
@{
Layout = Constants.AdminLayoutName;
//Title = NccInfo.Name + " Settings";
Title = "General Settings";
}
<style>
.tabBorderDesign {
border-left: 1px solid #ddd;
border-right: 1px solid #ddd;
... |
Clarifai/DTOs/Searches/SearchHit.cs | Clarifai/clarifai-csharp | 11 | 7029003 | using Clarifai.DTOs.Inputs;
namespace Clarifai.DTOs.Searches
{
public class SearchHit
{
public decimal Score { get; }
public IClarifaiInput Input { get; }
private SearchHit(decimal score, ClarifaiInput input)
{
Score = score;
Input = input;
}
... |
Wbs.Everdigm.Web/Wbs.Everdigm.Desktop/Handlers/TrackerChatEvent.cs | wanbangsoftware/Everdigm | 1 | 7029004 | <filename>Wbs.Everdigm.Web/Wbs.Everdigm.Desktop/Handlers/TrackerChatEvent.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Wbs.Everdigm.Desktop
{
/// <summary>
/// Tracker推送消息
/// </summary>
public class TrackerChatEvent :... |
application/FSS.Omnius.Modules/Entitron/Entity/ImportExportAttribute.cs | simplifate/omnius | 2 | 7029005 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FSS.Omnius.Modules.Entitron.Entity
{
/// <summary>
/// Type
/// - PARENT: parent in the entity model tree
/// - CHILD: child in the entity model tree, usually collectio... |
src/projects/cms/Borg.Cms.Basic.Presentation/ActionFilters/PopulateComponentFromRouteActionFilter.cs | mitsbits/NoBorg | 1 | 7029006 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Borg.Cms.Basic.Presentation.Areas.Presentation.Controllers;
using Borg.MVC.BuildingBlocks;
using Microsoft.AspNetCore.Mvc.Filters;
namespace Borg.Cms.Basic.Presentation.ActionFilters
{
public class PopulateCompo... |
iothub-digitaltwins-timeseriesinsights/src/PopulateTimeSeriesInsightsModel/generated/Models/SearchInstancesResponsePage.cs | adetayorabiu/streaming-at-scale | 174 | 7029007 | // <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 Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is... |
CR.Domain.Persistence.EF/Services/ConfirmationReportQueryService.cs | williamverdolini/ConfirmationReportDDD | 0 | 7029008 | using CR.Application.Abstractions.Models;
using CR.Application.Abstractions.Services;
using CR.Domain.Persistence.EF.Models;
using CR.Infrastructure;
using CR.Infrastructure.Db;
using CR.Infrastructure.Mappings;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.T... |
CefNet/Generated/Managed/Internal/CefRequestContextHandlerGlue.cs | AigioL/CefNet | 2 | 7029009 | // --------------------------------------------------------------------------------------------
// Copyright (c) 2019 The CefNet Authors. All rights reserved.
// Licensed under the MIT license.
// See the licence file in the project root for full license information.
// ------------------------------------------------... |
src/Neat Implemtation/Form1.cs | s4lt3d/NEAT | 0 | 7029010 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Neat_Implemtation
{
public partial class Form1 : Form
{
public Form1()
... |
Explorer Project/Assets/Scripts/BackGround.cs | Agonz70/GRXM | 0 | 7029011 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BackGround : MonoBehaviour
{
public float randomMoveSpeed = 0.2f;
public GameObject[] defaultBack;
public GameObject[] greenBack;
float waitTime;
Vector3 movingBack;
private void Start()
{
... |
BuzzardWPF/Logging/LogLevel.cs | PNNL-Comp-Mass-Spec/Buzzard | 0 | 7029012 | namespace BuzzardWPF.Logging
{
/// <summary>
/// Logging levels enum
/// </summary>
public enum LogLevel : int
{
/// <summary>
/// Errors causing program shutdown
/// </summary>
Fatal = 0,
/// <summary>
/// Errors that don't cause progra... |
ScriptKid code/Gma.System.MouseKeyHook/ScriptKidAntiCheat - CSGO Edition/Classes/Internal/Player.cs | Aaliyah6022/Fake-CS-GO-HACK | 0 | 7029013 | using ScriptKidAntiCheat.Data;
using ScriptKidAntiCheat.Utils;
using ScriptKidAntiCheat.Utils.Maths;
using SharpDX;
using System;
using System.Text;
/*
* Credit: https://github.com/rciworks/RCi.Tutorials.Csgo.Cheat.External
*/
namespace ScriptKidAntiCheat.Internal
{
public class Player : EntityBase
{
... |
src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Bundling/BasicThemeBundles.cs | bartvanhoey/AbpHideTenantSwitch | 1 | 7029014 | namespace Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic.Bundling
{
public static class BasicThemeBundles
{
public static class Styles
{
public const string Global = "Basic.Global";
}
public static class Scripts
{
public const string Global = "Basic.Glob... |
EssentialUIKit/Models/Login.cs | fformigli/UCPapp | 0 | 7029015 | namespace EssentialUIKit.Models
{
public class Login
{
public string Status { get; set; }
public string Cedula { get; set; }
public string Msg { get; set; }
}
} |
QQ2564874169.Miniblink/LocalHttp/NetApiError.cs | jely1987/NetMiniblink | 2 | 7029016 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
namespace QQ2564874169.Miniblink.LocalHttp
{
public class NetApiError : EventArgs
{
public object Instance { get; internal set; }
public MethodInfo Method { get; internal set; }
... |
tests/monotouch-test/ModelIO/MDLLight.cs | SotoiGhost/xamarin-macios | 0 | 7029017 | <filename>tests/monotouch-test/ModelIO/MDLLight.cs
//
// MDLLight Unit Tests
//
// Authors:
// <NAME> <<EMAIL>>
//
// Copyright 2015 Xamarin Inc.
//
#if !__WATCHOS__
using System;
using CoreGraphics;
using Foundation;
#if !MONOMAC
using UIKit;
#endif
#if !__TVOS__
using MultipeerConnectivity;
#endif
using ModelIO;
us... |
Images/RGBColor.cs | jonesmarlos/Unisinos-RayRender | 0 | 7029018 | using RayRender.Interfaces;
using System;
namespace RayRender.Images
{
public class RGBColor : IRGBColor
{
private float red;
public float Red
{
get => this.red;
set => this.red = RGBColor.EnsureChannel(value);
}
private float green;
p... |
Impl/Barrier.cs | cschladetsch/Flow | 27 | 7029020 | <gh_stars>10-100
// (C) 2012 <NAME>. See https://github.com/cschladetsch/Flow.
namespace Flow.Impl
{
using System.Linq;
internal class Barrier
: Group
, IBarrier
{
public override void Post()
{
base.Post();
if (Contents.Any(t => t.Active))
... |
src/CFrameParser.cs | SilkReyn/NitroMdlConv | 0 | 7029022 | using System;
using System.Collections.Generic;
using NitroMdlConv.Mdl;
namespace NitroMdlConv
{
public class CFrameParser
{
public struct TagInfo
{
public enum Tags : int { frame=0, transform };
public const string frame = "FRME";
public con... |
ScriptableRenderPipeline/Core/Debugging/DebugMenuManager.cs | jk6699/kkkkkkkkk | 0 | 7029023 | <filename>ScriptableRenderPipeline/Core/Debugging/DebugMenuManager.cs
using System;
using System.Linq;
using System.Reflection;
using System.Collections.Generic;
using UnityEngine;
namespace UnityEngine.Experimental.Rendering
{
public class DebugMenuManager
{
private static DebugMenuManager s_Instance... |
QRTrackerNext/QRTrackerNext/ViewModels/HomeworksViewModel.cs | Duanyll/QRTrackerNext | 1 | 7029024 | using System;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Threading.Tasks;
using System.Linq;
using Realms;
using Acr.UserDialogs;
using Xamarin.Forms;
using QRTrackerNext.Models;
using QRTrackerNext.Views;
namespace QRTrackerNext.ViewModels
{
//NOTE: 为了保持统一,Homework 用了复数。我知道他不可... |
Persistance/Salaries/JsonToSalaries.cs | marl8n/Employees-and-Salary | 0 | 7029026 | <filename>Persistance/Salaries/JsonToSalaries.cs
using Employees_and_Salaries.models;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Employees_and_Salaries.Persistance.Salaries
{
class... |
src/Shiny.Core/Extensions_Services.cs | dylanberry/shiny | 0 | 7029027 | <reponame>dylanberry/shiny<gh_stars>0
using System;
using System.ComponentModel;
using System.Linq;
using System.Collections.Generic;
using Shiny.Settings;
using Shiny.Jobs;
using Shiny.Caching;
using Shiny.Infrastructure;
using Microsoft.Extensions.DependencyInjection;
namespace Shiny
{
public static partial cl... |
src/extensions/azure/Alaska.Extensions.Media.Azure/Application/Commands/CreateFolderCommand.cs | alpitourworld/Alaska | 0 | 7029028 | <reponame>alpitourworld/Alaska<filename>src/extensions/azure/Alaska.Extensions.Media.Azure/Application/Commands/CreateFolderCommand.cs
using Alaska.Services.Contents.Domain.Models.Media;
using MediatR;
using System;
using System.Collections.Generic;
using System.Text;
namespace Alaska.Extensions.Media.Azure.Applicati... |
Tests/QueryTests.cs | edgardozoppi/call-graph-orleans | 3 | 7029029 | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
using Orleans.TestingHost;
using OrleansClient.Analysis;
using Common;
namespace Tests
{
[TestClass]
public partial ... |
src/VisualStudio/Core/Def/InheritanceMargin/MarginGlyph/MemberMenuItemViewModel.cs | MelnikovAG/roslyn | 1 | 7029030 | // 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.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using Microsoft.CodeAnalys... |
Builder/Model.LlblGen.Proxy/Entities/LlblGenAssessmentTestProxy.cs | stichting-cito/QuestifyBuilder | 3 | 7029031 | <reponame>stichting-cito/QuestifyBuilder
using System.Collections.Generic;
using Questify.Builder.Logic.ContentModel;
using Questify.Builder.Logic.Service.Model.Entities;
using Questify.Builder.Model.ContentModel.EntityClasses;
using Questify.Builder.Model.LlblGen.Proxy.Interface;
namespace Questify.Builder.Model.Llb... |
Activout.RestClient.Test/RestClientTests.cs | edvin-hysenllari/Activout.RestClient | 4 | 7029032 | <filename>Activout.RestClient.Test/RestClientTests.cs
using System;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Activout.RestClient.Helpers.Implementation;
using Activout.RestClient.Test.MovieRe... |
Snippets/Core/Core_4/Mutators/MutatorRegistration.cs | foz1284/docs.particular.net | 0 | 7029033 | namespace Core4.Mutators
{
using NServiceBus;
class MutatorRegistration
{
MutatorRegistration(Configure configuration)
{
#region MutatorRegistration
var configureComponents = configuration.Configurer;
configureComponents.ConfigureComponent<My... |
WebApi/v4/ODataVersioningSample/ODataVersioningSample/Models/DbSupplier.cs | nickgaudreau/ODataSamples | 1 | 7029034 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace ODataVersioningSample.Models
{
// V2 new entity
public class DbSupplier
{
public DbSupplier()
{
ProductFamilies = new List<DbProductFamily>();
Address = new DbAddress();
... |
MiniUi/Assets/Assignment Week2/ProgramChat/Script/JustTest.cs | Jedsadakron/GI455_1610700898 | 0 | 7029035 | <filename>MiniUi/Assets/Assignment Week2/ProgramChat/Script/JustTest.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using WebSocketSharp;
namespace ChatwithJson
{
public class JustTest : MonoBehaviour
{
public GameObject connection;
publ... |
src/DAL/ReconNess.Data.Npgsql/Migrations/20200929135110_AddSubdomainTechnologyColumn.cs | slooppe/reconness | 267 | 7029036 | <filename>src/DAL/ReconNess.Data.Npgsql/Migrations/20200929135110_AddSubdomainTechnologyColumn.cs
using Microsoft.EntityFrameworkCore.Migrations;
namespace ReconNess.Data.Npgsql.Migrations
{
public partial class AddSubdomainTechnologyColumn : Migration
{
protected override void Up(MigrationBuilder mig... |
Anti Process Freeze/Anti Process Freeze/Form1.Designer.cs | MateusWC/Freezed-Process-Killer | 2 | 7029037 | <reponame>MateusWC/Freezed-Process-Killer<gh_stars>1-10
namespace Anti_Process_Freeze
{
partial class Form1
{
/// <summary>
/// Variável de designer necessária.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
//... |
cards/DALARAN/DAL/Sim_DAL_355.cs | chi-rei-den/Silverfish | 1 | 7029038 | <filename>cards/DALARAN/DAL/Sim_DAL_355.cs
/* _BEGIN_TEMPLATE_
{
"id": "DAL_355",
"name": [
"织命者",
"Lifeweaver"
],
"text": [
"每当有角色获得你的治疗时,随机将一张德鲁伊法术牌置入你的手牌。",
"Whenever you restore Health, add a random Druid spell to your hand."
],
"CardClass": "DRUID",
"type": "MINION",
"cost": 3,
"... |
src/ArcGISWindowsPhoneSDK/Samples/FeatureLayers/FeatureLayerOnDemand.xaml.cs | Esri/arcgis-samples-winphone | 1 | 7029039 | <gh_stars>1-10
using Microsoft.Phone.Controls;
using ESRI.ArcGIS.Client.Geometry;
using ESRI.ArcGIS.Client;
using System.Windows.Media;
using System.Collections.Generic;
using System.Windows;
namespace ArcGISWindowsPhoneSDK
{
public partial class FeatureLayerOnDemand : PhoneApplicationPage
{
private s... |
src/HareDu.Snapshotting.IntegrationTests/Observers/DefaultConnectivitySnapshotConsoleLogger.cs | ahives/HareDu1 | 0 | 7029040 | namespace HareDu.Snapshotting.IntegrationTests.Observers
{
using System;
using Core.Extensions;
using Extensions;
using Model;
public class DefaultConnectivitySnapshotConsoleLogger :
IObserver<SnapshotContext<BrokerConnectivitySnapshot>>
{
public void OnCompleted()
{
... |
Editing/EditOperationRowEvent/Initialize.cs | jiushidt/arcgis-pro-sdk-community-samples | 165 | 7029041 | <filename>Editing/EditOperationRowEvent/Initialize.cs<gh_stars>100-1000
/*
Copyright 2019 Esri
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/LI... |
MichaelBrandonMorris.Extensions.Web/HtmlHelper/Bootstrap/Form/Horizontal/Constants.cs | michaelbmorris/PrimitiveExtensions | 1 | 7029042 | <gh_stars>1-10
using System.Collections.Generic;
namespace MichaelBrandonMorris.Extensions.Web.HtmlHelper.Bootstrap.Form.
Horizontal
{
public static partial class InputExtensions
{
internal static IDictionary<ContextualColor, string> ContextualColors =>
BootstrapExtensions.ContextualCo... |
KpdApps.Orationi.Messaging.DataAccess/EntityConfigurations/PluginAssemblyTypeConfiguration.cs | KpdApps/Orationi.Messaging | 0 | 7029043 | <filename>KpdApps.Orationi.Messaging.DataAccess/EntityConfigurations/PluginAssemblyTypeConfiguration.cs
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using KpdApps.Orationi.Messaging.DataAccess.Models;
namespace KpdApps.Orationi.Messaging.DataAccess.EntityConfigurati... |
C#/From Books/Learning Object-Oriented Programming in C# 5.0 - Harwani/Chapter 6 - Methods and Structures/DemoMethod/DemoMethod/StartUp.cs | Firelexic/Learned | 0 | 7029044 | using System;
namespace DemoMethod
{
public class StartUp
{
static int GetRect(int l,int b)
{
int a = l * b;
return a;
}
public static void Main()
{
int u = 50, v = 8;
int z = GetRect(u, v);
Console.WriteLine(... |
02. ProgFund/Exercises/06. Arrays and Methods - More Exercises/07. Inventory Matcher/InventoryMatcher.cs | origami99/SoftUni | 0 | 7029045 | using System;
using System.Linq;
class InventoryMatcher
{
static void Main()
{
string[] names = Console.ReadLine()
.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries)
.ToArray();
long[] quantities = Console.ReadLine()
.Split(new char[] { ' ' },... |
src/Rocket.Chat.Net/Helpers/EncodingHelper.cs | andy840119/Rocket.Chat.Net | 33 | 7029046 | <reponame>andy840119/Rocket.Chat.Net
namespace Rocket.Chat.Net.Helpers
{
using System;
using System.IO;
using Rocket.Chat.Net.Portability.Crypto;
public static class EncodingHelper
{
public const string Sha256 = "sha-256";
public static string Sha256Hash(string value)
{
... |
a10n/Abbreviator.Lib.Tests/Services/WordAbbreviatorTests.cs | Jankowski-J/CodingKatas | 0 | 7029047 | <reponame>Jankowski-J/CodingKatas<filename>a10n/Abbreviator.Lib.Tests/Services/WordAbbreviatorTests.cs
using Abbreviator.Lib.Services;
using FluentAssertions;
using NUnit.Framework;
namespace Abbreviator.Lib.Tests.Services
{
public class WordAbbreviatorTests
{
private WordAbbreviator _sut;
... |
EntityFramework.Auditing/IAuditEntity.cs | davidbreyer/AuditDbContext | 0 | 7029048 | //-----------------------------------------------------------------------
// <copyright file="IAuditEntity.cs" company="<NAME>">
// Copyright (c) <NAME> 2012. All Rights Reserved.
// </copyright>
// <author><NAME></author>
// <license href="license.txt">
// The use of this software is governed by the Microsoft... |
Core.Test/System.String/String.ExtractLetter.cs | mousavil/Cactus.Blade.Core | 3 | 7029049 | <reponame>mousavil/Cactus.Blade.Core
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Core.Test.System.String
{
[TestClass]
public class SystemStringExtractLetter
{
[TestMethod]
public void ExtractLetter()
{
const string @this = "Fizz1Buzz2";
v... |
FTSEmulator/FTS.Core/Core/MovementManager.cs | RafaelEstevamReis/lzak | 0 | 7029050 | <reponame>RafaelEstevamReis/lzak
using System;
using System.Threading;
namespace FTS.Core
{
public class MovementManager
{
Configuration config;
ISerial Serial;
public MovementManager(ISerial Serial)
{
config = Configuration.Instance;
this.Serial = Seri... |
csharp/tests/Facebook.Yoga/YogaConfigTest.cs | PabloSichert/yoga | 1 | 7029051 | <gh_stars>1-10
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
using NUnit.Framework;
using System;
/**
* Tests for {@link YogaConfig}.
*/
namespace Facebook.Yoga
{
[TestF... |
src/ControleEstoque.Infra.CrossCutting.IoC/NativeInjectorBootStrapper.cs | adrianoaewave/gpm-controle-estoque | 0 | 7029052 | using ControleEstoque.Application.Interfaces;
using ControleEstoque.Application.Services;
using ControleEstoque.Domain.CommandHandlers;
using ControleEstoque.Domain.Commands.Customers;
using ControleEstoque.Domain.Commands.ItemProducts;
using ControleEstoque.Domain.Commands.Items;
using ControleEstoque.Domain.Commands... |
src/SFA.Apprenticeships.Infrastructure.UnitTests/UserDirectory/PasswordHashTests.cs | BugsUK/FindApprenticeship | 2 | 7029053 | namespace SFA.Apprenticeships.Infrastructure.UnitTests.UserDirectory
{
using System;
using FluentAssertions;
using Infrastructure.UserDirectory.Hash;
using NUnit.Framework;
[TestFixture]
[Parallelizable]
public class PasswordHashTests
{
[Test]
public void ValidatePasswo... |
Packages/ca.tekly.webster/Webster/FramelineCore/FramelineInstance.cs | FodderMK/tekly-packages | 1 | 7029054 | #if ((UNITY_EDITOR && WEBSTER_ENABLE_EDITOR) || WEBSTER_ENABLE) && !WEBSTER_FRAMELINE_DISABLE
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using UnityEngine;
using Debug = UnityEngine.Debug;
namespace Tekly.Webster.FramelineCore
{
public class FramelineInstance : IFra... |
StockExchangeYahooFinance.Data/Models/RevenueEstimate.cs | error505/YahooFinanceApi | 1 | 7029055 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StockExchangeYahooFinance.Data.Models
{
public class RevenueEstimate
{
[Key]
public string Id { get; set; } = Guid.NewGuid(... |
snippets/csharp/VS_Snippets_Winforms/GetDataPresent1/CS/getdatapresent1.cs | cston/dotnet-api-docs | 2 | 7029056 | <filename>snippets/csharp/VS_Snippets_Winforms/GetDataPresent1/CS/getdatapresent1.cs
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
namespace GedDataPresent1
{
/// <summary>
/// Summary description for Form1.
/// </... |
InterlockLedger.Peer2Peer/ActiveChannel.cs | interlockledger/interlockledger-peer2peer | 0 | 7029057 | <filename>InterlockLedger.Peer2Peer/ActiveChannel.cs
// ******************************************************************************************************************************
//
// Copyright (c) 2018-2021 InterlockLedger Network
// All rights reserved.
//
// Redistribution and use in source and binary forms, ... |
src/Amazon.Kms/KmsProtector.cs | alexandercamps/Amazon | 0 | 7029058 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Carbon.Json;
namespace Amazon.Kms
{
public sealed class KmsProtector
{
private readonly KmsClient client;
private readonly string keyId;
public KmsProtector(AwsRegion region, string keyId... |
Source/Krypton Toolkit Suite Extended/Full Toolkit/Extended Controls/Base/Code/Colours/ColourConverting.cs | Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.451 | 0 | 7029059 | #region BSD License
/*
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE.md file or at
* https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.451/blob/master/LICENSE
*
*/
#endregion
using System;
using System.Drawing;
namespace ExtendedControls.Base.Code.... |
Jogo Jogo/Library/PackageCache/com.unity.cinemachine@2.6.0/Runtime/Behaviours/CinemachineRecomposer.cs | Eduardo2712/Jogo2D-Unity | 1 | 7029060 | <reponame>Eduardo2712/Jogo2D-Unity
using UnityEngine;
using Cinemachine;
/// <summary>
/// An add-on module for Cinemachine Virtual Camera that adds a final tweak to the camera
/// comnposition. It is intended for use in a Timeline context, where you want to hand-adjust
/// the output of procedural or recorded camer... |
CodeBinder.Java/Java/Writers/JavaInterfaceWriter.cs | ceztko/CodeBinder | 0 | 7029061 | // Copyright(c) 2020 <NAME>
// This file is subject to the MIT license
using CodeBinder.Shared;
using CodeBinder.Shared.CSharp;
using CodeBinder.Util;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using System;
using System.Collections.Generic;
using System.Text;
namespace CodeBinder.Java
{
class JavaIn... |
src/Xenial.Framework/Model/Core/NullDiffsStore.cs | gitter-badger/Xenial.Framework | 0 | 7029062 | using System.Reflection;
using DevExpress.ExpressApp;
using DevExpress.ExpressApp.Model.Core;
namespace Xenial.Framework.Model.Core
{
/// <summary>
/// A empty storage for model differences. Does not store anything.
/// </summary>
/// <seealso cref="ModelStoreBase" />
[XenialCheckLicence]
pub... |
src/Altinn.Notifications.Functions/Startup.cs | roptaty/altinn-notifications | 0 | 7029063 | <filename>src/Altinn.Notifications.Functions/Startup.cs
using Altinn.Notifications.Functions;
using Altinn.Notifications.Functions.Configurations;
using Altinn.Notifications.Functions.Integrations;
using Microsoft.Azure.WebJobs;
using Microsoft.Azure.WebJobs.Hosting;
using Microsoft.Extensions.Configuration;
using Mi... |
src/BuildingBlocks/BuildingBlocks.Tests.Integration/Mocks/MockJwtTokens.cs | mehdihadeli/Modular-Monolith-Template | 5 | 7029064 | <reponame>mehdihadeli/Modular-Monolith-Template
using System;
using System.Collections.Generic;
using System.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using System.Security.Cryptography;
using Microsoft.IdentityModel.Tokens;
namespace BuildingBlocks.Tests.Integration.Mocks
{
public static class MockJ... |
Model/TwitchAbstractUser.cs | AlexSafatli/TwitchSharp | 6 | 7029065 | using System.Collections.Generic;
namespace TwitchSharp {
public abstract class TwitchAbstractUser : ITwitchEntity {
/* Model Fields */
/* Meta Fields */
public string UserName { get; set; }
public string DisplayName { get; set; }
public string Logo { get; set; }
public string Bio { get; set; }
publ... |
src/RapidField.SolidInstruments.Cryptography/Asymmetric/KeyExchange/IKeyExchangeProcessor.cs | RapidField/solid-instruments | 2 | 7029066 | // =================================================================================================================================
// Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in the project root for license information.
// =========================================================... |
CSharp/leetcodesln_test/ShortestDistanceToACharacterUnitTest.cs | user3301/TrialOfTheGrasses | 3 | 7029067 | <gh_stars>1-10
using leetcodesln;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Text;
namespace leetcodesln_test
{
[TestClass]
public class ShortestDistanceToACharacterUnitTest
{
[TestMethod]
public void ShortestDistanceToA... |
order-cancellation/src/fn/ReceiveEvent.cs | msfussell/dapr-demos | 0 | 7029068 | // ------------------------------------------------------------
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// ------------------------------------------------------------
namespace DaprAzFn.Sample
{
using System;
using System.IO;
using System.Threading.Tasks;
u... |
src/SystemWebAdapters/samples/ClassLibrary/Class1.cs | fenglui/AspLabs | 0 | 7029069 | <filename>src/SystemWebAdapters/samples/ClassLibrary/Class1.cs
using System.Web;
namespace ClassLibrary;
public static class Helper
{
public static string UserAgent => HttpContext.Current.Request.UserAgent;
public static string GetUserAgent(HttpContextBase context) => context.Request.UserAgent;
}
|
WeatherReminder/FirstTimeUserForm.Designer.cs | hikasuun/WeatherReminder | 2 | 7029070 | <reponame>hikasuun/WeatherReminder
namespace WeatherNode
{
partial class FirstTimeUserForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being u... |
src/BggCoreSdk/Dto/ValueIdentifierDto.cs | jregnier/BggCore | 0 | 7029071 | <reponame>jregnier/BggCore
using System.Xml.Serialization;
namespace BggCoreSdk.Dto
{
public class ValueIdentifierDto
{
[XmlAttribute("objectid")]
public string Id { get; set; }
[XmlText]
public string Value { get; set; }
}
} |
Assets/Scripts/Oxalis.cs | jch1999/Raising-Oxalis | 0 | 7029072 | using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine;
using UnityEngine.UI;
public class Oxalis : MonoBehaviour
{
//시간의 변환 표현
public Image day, night;
private float time;
public ParticleSystem growUp_Particle;
//레벨업 마다 이미지 변경을 위한 컴포넌트 지정
Image now;
public Sprit... |
Firebend.AutoCrud.Web.Sample/Models/PersonExport.cs | djayd/auto-crud | 16 | 7029073 | <reponame>djayd/auto-crud
using System;
using Firebend.AutoCrud.Core.Extensions;
namespace Firebend.AutoCrud.Web.Sample.Models
{
public class PersonExport
{
public PersonExport()
{
}
public PersonExport(EfPerson person)
{
person.CopyPropertiesTo(this);
... |
Source/USToxins/DamageWorker_USAntifreeze.cs | emipa606/UtilitySupplements | 0 | 7029074 | using System.Collections.Generic;
using RimWorld;
using Verse;
namespace USToxins
{
// Token: 0x02000007 RID: 7
public class DamageWorker_USAntifreeze : DamageWorker
{
// Token: 0x0600000F RID: 15 RVA: 0x000025B8 File Offset: 0x000007B8
public override void ExplosionStart(Explosion explosi... |
CefGlue/WebBrowser/Client/CefWebRequestHandler.cs | yasoonOfficial/cefglue | 1 | 7029075 | namespace CefGlue.WebBrowser
{
using System;
using System.Collections.Generic;
using CefGlue.Diagnostics;
public class CefWebRequestHandler : CefRequestHandler
{
private CefWebBrowserCore context;
public CefWebRequestHandler(CefWebBrowserCore context)
{
this.co... |
osu.Framework/Allocation/BackgroundDependencyLoaderAttribute.cs | HoutarouOreki/osu-framework | 0 | 7029076 | <reponame>HoutarouOreki/osu-framework<filename>osu.Framework/Allocation/BackgroundDependencyLoaderAttribute.cs
// Copyright (c) p<NAME> <<EMAIL>>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using System.Reflection;
using... |
src/Tests/Hosting.Owin/hosting_on_pure_owin_on_asp_net_core.cs | openrasta/openrasta-core | 40 | 7029077 | using System;
using System.Net.Http;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.TestHost;
using Microsoft.Extensions.DependencyInjection;
using OpenRasta.Hosting.Katana;
using OpenRasta.Hosting.Owin;
using Shouldly;
using Tests.Infrastructure;
using Xunit;
names... |
sdk/src/Services/KinesisAnalyticsV2/Generated/Model/AddApplicationInputProcessingConfigurationRequest.cs | ChristopherButtars/aws-sdk-net | 1 | 7029078 | /*
* Copyright Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
src/EasyPagination.Core/Extensions/PageExtensions.cs | morozyan/EasyPagination | 1 | 7029080 | using EasyPagination.Core.Abstractions;
using EasyPagination.Core.Models;
namespace EasyPagination.Core.Extensions;
public static class PageExtensions
{
public static IPage<U> Map<T, U>(this IPage<T> page, Func<T, U> map)
{
var newPage = new MappedPage<U, T>(page, map);
newPage.MapItems(map, ... |
NeoClient/Extensions/StatementResultExtensions.cs | arif-hanif/NeoClient | 30 | 7029081 | <reponame>arif-hanif/NeoClient
using Neo4j.Driver.V1;
using System;
using System.Collections.Generic;
using System.Linq;
namespace NeoClient.Extensions
{
public static class StatementResultExtensions
{
public static T Map<T>(this IStatementResult statementResult) where T : new()
{
... |
TechDevils.UrlTaskScheduler/Views/Overflow.cshtml | MiguelLopez6/Url-Task-Scheduler | 9 | 7029082 | <filename>TechDevils.UrlTaskScheduler/Views/Overflow.cshtml
@inherits UmbracoTemplatePage
@{
Layout = null;
}<!DOCTYPE HTML>
<!--
Overflow 1.0 by HTML5 UP
html5up.net | twitter.com/n33co
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>@Umbraco.Fie... |
SocialMediaAdapters/InstagramAdapter.cs | dlawrences/TwitterSentimentAnalysis | 3 | 7029083 | <reponame>dlawrences/TwitterSentimentAnalysis<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SocialMediaAdapters
{
using InstaSharp;
using InstaSharp.Models;
using InstaSharp.Models.Responses;
public static c... |
Dook/Attributes/SqlQueryAttribute.cs | under1983/Dook | 4 | 7029084 | <gh_stars>1-10
using System;
namespace Dook.Attributes
{
// You may need to install the Microsoft.AspNetCore.Http.Abstractions package into your project
public class SqlQueryAttribute : Attribute
{
public string Query { get; set; }
public Type Type { get; set; }
public SqlQueryAtt... |
CharlieBackend.Data/Configurations/AttachmentOfHomeworkEntityConfiguration.cs | ITA-Dnipro/WhatBackend | 0 | 7029085 | using CharlieBackend.Core.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace CharlieBackend.Data.Configurations
{
class AttachmentOfHomeworkEntityConfiguration
: IEntityTypeConfiguration<AttachmentOfHomework>
{
public void Configure(... |
src/Blockcore.Indexer.Cirrus/Storage/Mongo/CirrusMongoBuilder.cs | seniorblockchain/blockcore-indexer | 0 | 7029086 | <gh_stars>0
using System.Threading.Tasks;
using Blockcore.Indexer.Cirrus.Storage.Mongo.Types;
using Blockcore.Indexer.Core.Settings;
using Blockcore.Indexer.Core.Storage.Mongo;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
namespace Blockcore.Indexer.Cirrus.Storage.Mongo
{
public class Cir... |
src/Benchmark/Program.cs | corentinaltepe/nlog.loki | 3 | 7029087 | <filename>src/Benchmark/Program.cs
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Running;
namespace Benchmark;
public class Program
{
public static void Main()
{
var config = ManualConfig.Create(DefaultConfig.Instance)
.WithOptions(ConfigOptions.JoinSummary)
.WithOptions(Con... |
NewsServerMVC/Data/RequestProcess.cs | gurkangokdemir/NewsServerCore | 0 | 7029088 | <filename>NewsServerMVC/Data/RequestProcess.cs
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace NewsServerMVC.Data
{
public class RequestProcess
{
public static String Seri... |
CdnLibrary/tests/AFD/AfdQueueProcessor_Test.cs | microsoft/cachepurge | 4 | 7029089 | /* -----------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
* ----------------------------------------------------------------------- */
namespace CdnLibrary
{
using CachePurgeLibrary;
using Microso... |
Neutronium.MVVMComponents/Relay/RelayToogleCommand_T.cs | varunjha089/Neutronium | 0 | 7029090 | using System;
using System.Windows.Input;
namespace Neutronium.MVVMComponents.Relay
{
public class RelayToogleCommand<T> : ICommand, ICommand<T>
{
public event EventHandler CanExecuteChanged;
private readonly Action<T> _Execute;
public RelayToogleCommand(Action<T> execute)
{
... |
SimpleImageIO/Metrics.cs | pgrit/SimpleImageIO | 4 | 7029091 | using System.Diagnostics;
namespace SimpleImageIO {
/// <summary>
/// Defines useful (error) metrics to compare and analyze images
/// </summary>
public static class Metrics {
/// <summary>
/// Computes the mean square error of two images
/// </summary>
/// <param name="... |
MvvmCross.Android.Support/Fragment/MvxCachingFragmentStatePagerAdapter.cs | sm-g/MvvmCross | 2 | 7029092 | <gh_stars>1-10
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MS-PL license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Generic;
using System.Linq;
using Android.Content;
using An... |
NRefactory/ICSharpCode.NRefactory.Tests/CSharp/Parser/GeneralScope/PreprocessorDirectiveTests.cs | dotnuttx/Alter-Native | 119 | 7029093 | // Copyright (c) AlphaSierraPapa for the SharpDevelop Team
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, copy, mo... |
Lib/Neon.Kube/Model/ClusterDefinition/Hosting/Azure/AzureNetworkOptions.cs | jefflill/neonKUBE | 0 | 7029094 | <filename>Lib/Neon.Kube/Model/ClusterDefinition/Hosting/Azure/AzureNetworkOptions.cs
//-----------------------------------------------------------------------------
// FILE: AzureNetworkOptions.cs
// CONTRIBUTOR: <NAME>
// COPYRIGHT: Copyright (c) 2005-2022 by neonFORGE LLC. All rights reserved.
//
// Licensed un... |
Design/Rule0013InternalMethodsMustHaveExplicitParameters.cs | tinestaric/CustomALCodeCop | 0 | 7029095 | using Microsoft.Dynamics.Nav.CodeAnalysis;
using Microsoft.Dynamics.Nav.CodeAnalysis.Diagnostics;
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
namespace CustomALCodeCop.Design
{
[DiagnosticAnalyzer]
public class Rule0013InternalMethodsMustHaveExplicitParameters : Diagnos... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.