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 |
|---|---|---|---|---|
sdk/dotnet/Cfg/Inputs/RecorderRecordingGroupArgs.cs | Otanikotani/pulumi-aws | 0 | 7031090 | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... |
Cows-HacknSlash/Assets/Scripts/NPC/RatBehaviour.cs | aHagge/cows-hacknslash | 7 | 7031091 | <filename>Cows-HacknSlash/Assets/Scripts/NPC/RatBehaviour.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class RatBehaviour : MonoBehaviour {
[SerializeField]
// Spherecast will release ray from this transfrom.
private Transform Eyes; ... |
src/cloudflare-ddns/Program.cs | nickvdyck/cloudflare-ddns | 6 | 7031092 | <gh_stars>1-10
using CloudflareDDNS.Api;
using CloudflareDDNS.Service;
using System.Net.Http;
using System.Threading.Tasks;
using Serilog;
using Mono.Options;
using System.Reflection;
using System;
using System.Linq;
using System.Collections.Generic;
using System.Net;
using DnsClient;
namespace CloudflareDDNS
{
pu... |
Util/VS2010/Boogie/BoogieLanguageService/Integration/AuthoringScope.cs | uriJuhasz/BoogieVCExtractor | 1 | 7031093 | using System;
using System.Collections.Generic;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.TextManager.Interop;
using Microsoft.VisualStudio.Package;
namespace Demo
{
public class AuthoringScope : Microsoft.VisualStudio.Package.AuthoringScope
{
public AuthoringScope(object par... |
src/IoUring.Transport/Internals/Inbound/AcceptSocketContext.cs | tmds/IoUring | 0 | 7031094 | using System.Net;
using System.Threading.Channels;
using Microsoft.AspNetCore.Connections;
namespace IoUring.Transport.Internals.Inbound
{
internal sealed class AcceptSocketContext
{
public AcceptSocketContext(LinuxSocket socket, IPEndPoint endPoint, ChannelWriter<ConnectionContext> acceptQueue)
... |
KubernetesService/Source/CSharp_Kubernetes/Models/Iok8sapimachinerypkgapismetav1OwnerReference.cs | tonnyeremin/kubernetes_gen | 5 | 7031095 | // <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace KubernetesService.Models
{
using Microsoft.Rest;
using Newtonsoft.Json;
using System.Linq;
/// <summary... |
MedianStats/Stats.cs | CaiMiao/MedianStats | 0 | 7031096 | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static MedianStats.MainWindow;
using static MedianStats.NomadMemory;
namespace MedianStats
{
public class Stats
{
private static NLog.Logger logger = NLog.LogManager.... |
src/Facts/Facts.Web/Data/Migrations/20210503134554_EntitiesNotificationAdded.cs | SenkoVlad/Facts | 1 | 7031097 | <filename>src/Facts/Facts.Web/Data/Migrations/20210503134554_EntitiesNotificationAdded.cs
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Facts.Web.Data.Migrations
{
public partial class EntitiesNotificationAdded : Migration
{
protected override void Up(MigrationBuilder migrati... |
Assets/MercuryMessaging/Task/MmTaskInfo.cs | samsilverman/MercuryMessaging | 37 | 7031098 | // Copyright (c) 2017-2019, Columbia University
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
// this l... |
test/Microsoft.AspNet.Mvc.Core.Test/ParameterBinding/ModelBindingHelperTest.cs | Shazwazza/Mvc | 0 | 7031099 | // 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.
#if NET45
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System... |
src/Directory/Services/CustomClaimsManager.cs | biobankinguk/biobankinguk | 5 | 7031100 | using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
using Biobanks.Identity.Data.Entities;
using Biobanks.Identity.Services;
using Biobanks.Identity.Contracts;
using Biobanks.Identity.Constants;
using Biobanks.Services.Contracts;
using Microsoft.AspNet.Identi... |
src/prod/src/managed/fabricis/parallel/dll/Coordinator/AzureParallelInfrastructureCoordinatorFactory.cs | gridgentoo/ServiceFabricAzure | 2,542 | 7031101 | <reponame>gridgentoo/ServiceFabricAzure
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ----------------------------------------------------... |
src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/ComboBox/ComboBox_DisplayMemberPath.xaml.cs | AlexTrepanier/Uno | 2 | 7031102 | using Windows.UI.Xaml.Controls;
using Uno.UI.Samples.Controls;
namespace SamplesApp.Wasm.Windows_UI_Xaml_Controls.ComboBox
{
[SampleControlInfo("ComboBox", "ComboBox_DisplayMemberPath")]
public sealed partial class ComboBox_DisplayMemberPath : UserControl
{
public ComboBox_DisplayMemberPath()
{
this.Initial... |
Vialinker Source/BaseVialinkerCommerceApps/Libraries/Nop.Data/SqlCeDataProvider.cs | atiq-shumon/DotNetProjects | 3 | 7031103 | <reponame>atiq-shumon/DotNetProjects
using System.Data.Common;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Data.SqlClient;
using Nop.Core.Data;
using Nop.Data.Initializers;
namespace Nop.Data
{
public class SqlCeDataProvider : IDataProvider
{
/// <summary>
/... |
sdk/dotnet/Inputs/PolicyVlanSegmentAdvancedConfigArgs.cs | nvpnathan/pulumi-nsxt | 0 | 7031104 | // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... |
YZX.PlcSimAdv/PlcSim/Compact/ViewModel/LedFlasher.cs | yanzixiang/YZX.PlcSimAdv | 0 | 7031105 | <gh_stars>0
using System;
using System.Threading;
using System.Windows.Media;
using GalaSoft.MvvmLight.Threading;
namespace PlcSim.Compact.ViewModel
{
public class LedFlasher
{
private readonly object _FlashLock = new object();
private readonly Timer Flasher;
private readonly Action<SolidC... |
Office365APIEditor/UI/AccessTokenWizard/IAccessTokenWizardPage.cs | jackwhu/Office365APIEditor | 80 | 7031106 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace Office365APIEditor.UI.AccessTokenWizard
{
interface IAccessTokenWizardPage
{
void NextButtonAction();
}
} |
netfusion/test/CoreTests/Domain/EntityEvaluationTests.cs | grecosoft/NetFusion | 43 | 7031108 | using System.Collections.Generic;
using CommonTests.Base.Entity;
using FluentAssertions;
using NetFusion.Base.Scripting;
using Xunit;
namespace CoreTests.Domain
{
public class EntityEvaluationTests
{
private readonly IEntityScriptingService _evalSrv;
public EntityEvaluationTests()
{
... |
Unity-DarkGodProject/DarkGodClient/Assets/Scripts/System/MainCitySys.cs | zhy-stay/Unity-Learning | 0 | 7031109 | /****************************************************
文件:MainCitySys.cs
作者:zhyStay
邮箱: <EMAIL>
日期:2021/3/31 16:17:52
功能:主城业务系统
*****************************************************/
using PEProtocol;
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public cl... |
Contracts/Messages/MasterFileResponseMessages/IMasterFileResponseM04.cs | amenkes/HL7Parser | 0 | 7031110 | <reponame>amenkes/HL7Parser<filename>Contracts/Messages/MasterFileResponseMessages/IMasterFileResponseM04.cs
namespace HL7Data.Contracts.Messages.MasterFileResponseMessages
{
//MFR_M04
// Could not find any naming / differences for M04, M05, M06 and M07, so use hokey names for now.
public interface IMaster... |
JuvoPlayer/ResourceLoaders/FileResource.cs | acidburn0zzz/JuvoPlayer | 46 | 7031111 | <filename>JuvoPlayer/ResourceLoaders/FileResource.cs
/*!
*
* [https://github.com/SamsungDForum/JuvoPlayer])
* Copyright 2020, Samsung Electronics Co., Ltd
* Licensed under the MIT license
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIE... |
src/Hl7.Fhir.Core/Serialization/FhirXmlParser.cs | andy-a-o/firely-net-sdk | 0 | 7031112 | /*
* Copyright (c) 2018, Firely (<EMAIL>) and contributors
* See the file CONTRIBUTORS for details.
*
* This file is licensed under the BSD 3-Clause license
* available at https://raw.githubusercontent.com/FirelyTeam/firely-net-sdk/master/LICENSE
*/
using Hl7.Fhir.Model;
using System;
using System.Xml;
name... |
Service/App/SystemManage/UserService.cs | LoyieKing/AdminApprovalBack | 0 | 7031113 | <reponame>LoyieKing/AdminApprovalBack
using Common.Encrypt;
using Common.Query;
using Data.Entity.SystemManage;
using Data.RepositoryBase;
using Microsoft.AspNetCore.Http;
using Service;
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
namespace AdminApprovalBack... |
Interactivity/InteractiveCommand.cs | kriho/haf | 0 | 7031114 | <reponame>kriho/haf<gh_stars>0
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using System.Windows.Interactivity;
namespace HAF {
public class InteractiveCommand : TriggerAction<DependencyObject> {... |
Assets/Scripts/Base/Supports/Base/Objs/ValueControl/PursueAngleObj.cs | jiasy/CSharp_Service | 0 | 7031115 | using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Utils;
namespace Objs {
//追赶角度,因为角度有个超过360的过程,需要按照当前的角度对比,向适当的方向旋转
public class PursueAngleObj : PursueObj {
public PursueAngleObj () : base () {
}
public void resetAsInterval (
... |
src/Android/MvvmLightSample/TwoActivity.cs | vincoss/xamarin.samples | 1 | 7031116 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using GalaSoft.MvvmL... |
Welic.WebSite/Views/Payment/Transaction.cshtml | LHayate/Welic | 0 | 7031117 | <filename>Welic.WebSite/Views/Payment/Transaction.cshtml
@using GridMvc.Html
@using Microsoft.AspNet.Identity
@using Welic.Core
@using WebApi.Extensions
@{
ViewBag.Title = "[[[Transactions]]]";
Layout = "~/Views/Shared/_MarketLayout.cshtml";
}
<div class="body-content container-fluid">
<div class="main-s... |
CommonUtilities.Shared/00.NET35/Tuple.Net35.cs | Microshaoft/Microshaoft.WorkFlows | 11 | 7031118 | #if NET35
namespace System
{
using System;
using System.Collections.Generic;
public class Tuple
{
public static Tuple<T1, T2> Create<T1, T2>(T1 item1, T2 item2)
{
return new Tuple<T1, T2>(item1, item2);
}
public static Tuple<T1, T2, T3, T4> Create<T1, T2, T3,... |
src/BitLaboratory.Windows.WizardFramework/Design/WizardButtonInfoConverter.cs | mbolaric/net-win-forms-wizard | 0 | 7031119 | /*
* Copyright 2008 - BitLaboratory
*
* 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, modify, merge, publish, di... |
Src/SCMT/Control/SCMTOperationCore/Message/SNMP/SnmpMessage.cs | visiontrail/LMT2018 | 1 | 7031120 | /*----------------------------------------------------------------
// Copyright (C) 2017 大唐移动通信设备有限公司 版权所有;
//
// 文件名:SnmpMessage.cs
// 文件功能描述:Snmp报文类;
// 创建人:郭亮;
// 版本:V1.0
// 创建标识:创建文件;
// 时间:2017-11-2
//----------------------------------------------------------------*/
using System;
using System.Collections.Generi... |
Mallet.BspEditor/Environment/SerialisedEnvironment.cs | jspicer-code/mallet | 0 | 7031121 | using System.Collections.Generic;
namespace Mallet.BspEditor.Environment
{
public class SerialisedEnvironment
{
public string ID { get; set; }
public string Name { get; set; }
public string Type { get; set; }
public Dictionary<string, string> Properties { get; set; } = new Dict... |
FewBox.Core.Web/Security/BaseRequirement.cs | FewBox/FewBox.Core.Web | 0 | 7031122 | using Microsoft.AspNetCore.Authorization;
namespace FewBox.Core.Web.Security
{
public abstract class BaseRequirement : IAuthorizationRequirement
{
public FewBoxPolicyType FewBoxPolicyType { get; private set; }
public BaseRequirement(FewBoxPolicyType fewBoxPolicyType)
{
this... |
NightlyCode.Scripts/Extensions/ValueExtensions.cs | telmengedar/NightlyCode.Scripting | 0 | 7031125 | <gh_stars>0
using System;
using NightlyCode.Scripting.Errors;
using NightlyCode.Scripting.Extern;
using NightlyCode.Scripting.Tokens;
namespace NightlyCode.Scripting.Extensions {
/// <summary>
/// extensions for values
/// </summary>
static class ValueExtensions {
public static object GetMas... |
Tests/PatniListi.Services.Data.Tests/InvoicesServicesTests.cs | deedeedextor/PatniListi | 0 | 7031126 | <filename>Tests/PatniListi.Services.Data.Tests/InvoicesServicesTests.cs<gh_stars>0
namespace PatniListi.Services.Data.Tests
{
using System;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using PatniListi.Data;
using PatniListi.Data.Models;
using Patni... |
HtmlHelper/Html/List.cs | zdanev/HtmlHelper | 0 | 7031127 | namespace HtmlHelper
{
public class UnorderedList : BodyElement
{
public UnorderedList(params ListItem[] items) : base("ul", items)
{
}
}
public class OrderedList : BodyElement
{
public OrderedList(params ListItem[] items) : base("ol", items)
{
... |
src/ChunkGenerator/ChunkGenerator.cs | thumpnail/FinanceManager | 0 | 7031128 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.IO;
using System.Threading.Tasks;
using System.Threading;
using DownloadManager;
using ICSharpCode.SharpZipLib.Zip;
using ICSharpCode.SharpZipLib.Core;
using WaitLib;
using ArtisanCode.SimpleAesEncrypti... |
src/PhotoShop.Infrastructure/Data/AppDbContext.cs | QuinntyneBrown/PhotoShop | 1 | 7031129 | <reponame>QuinntyneBrown/PhotoShop
using PhotoShop.Core.Interfaces;
using PhotoShop.Core.Models;
using Microsoft.EntityFrameworkCore;
namespace PhotoShop.Infrastructure.Data
{
public class AppDbContext : DbContext, IAppDbContext
{
public AppDbContext(DbContextOptions options)
:base(options)... |
aliyun-net-sdk-live/Live/Transform/V20161101/DescribeLiveStreamsPublishListResponseUnmarshaller.cs | sdk-team/aliyun-openapi-net-sdk | 1 | 7031131 | <gh_stars>1-10
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the... |
src/IdentityApp/Core/Identity.Application/JwtConfig.cs | prafullss/CleanArchitecture | 1 | 7031132 | <filename>src/IdentityApp/Core/Identity.Application/JwtConfig.cs
using TanvirArjel.ArgumentChecker;
namespace Identity.Application
{
public class JwtConfig
{
public JwtConfig(string issuer, string key, int tokenLifeTime)
{
Issuer = issuer.ThrowIfNullOrEmpty(nameof(issuer));
... |
src/Web.Client/Pages/Chat.razor.cs | IEvangelist/learning-blazor | 31 | 7031133 | <filename>src/Web.Client/Pages/Chat.razor.cs
// Copyright (c) 2021 <NAME>. All rights reserved.
// Licensed under the MIT License.
using System.Timers;
using SystemTimer = System.Timers.Timer;
namespace Learning.Blazor.Pages
{
public sealed partial class Chat : IAsyncDisposable
{
private readonly ... |
06Generics/02GenericBoxOfInteger/Box.cs | NenovaRositsa/CSharp-Advanced | 0 | 7031134 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace GenericBoxofInteger
{
public class Box<T>
{
private T input;
public Box(T input)
{
this.input = input;
}
public override string ToString()
{
... |
Anamnesis/Views/AboutView.xaml.cs | azbk/Anamnesis | 295 | 7031135 | <filename>Anamnesis/Views/AboutView.xaml.cs
// © Anamnesis.
// Licensed under the MIT license.
namespace Anamnesis.GUI.Views
{
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Anamnesis.GUI.Dialogs;
using Anamnesis.Services;
using Anamnesis.Updater;
public partial cl... |
KeoghsKata/KeoghsKata/Migrations/20220320054247_Init.cs | GIRU-GIRU/KeoghsKata | 0 | 7031136 | using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace KeoghsKata.Migrations
{
public partial class Init : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "StoreKeepi... |
Backend/Stars/Stars.Core/Models/Configuration/Root/ConnectionStringsSectionModel.cs | m12e/Stars | 0 | 7031137 | namespace Stars.Core.Models.Configuration.Root
{
/// <summary>
/// Раздел конфигурации приложения со строками подключения к базам данных
/// </summary>
public class ConnectionStringsSectionModel
{
/// <summary>
/// Строка подключения к базе данных по умолчанию
/// </summary>
public string Default { get; p... |
Assets/Scripts/GameManager.cs | Geniuslogy/Ninja-Shuriken | 0 | 7031138 | <gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
public class GameManager : MonoBehaviour
{
public static GameManager instance;
bool IsDead = false;
int score = 0;
public Text ScoreText;
public G... |
src/SocialNetwork.Infrastructure/Caching/RedisListCache.cs | andrew-kulikov/otus-architect | 0 | 7031139 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CachingFramework.Redis;
using Microsoft.Extensions.Logging;
using StackExchange.Redis;
using StackExchange.Redis.Extensions.Core.Abstractions;
namespace SocialNetwork.Infrastructure.Caching
{
// TODO: Error hand... |
Assets/Items/EquipItem/Weapon/Weapon.cs | kevinkraft/RTS_4 | 2 | 7031140 | <filename>Assets/Items/EquipItem/Weapon/Weapon.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using RTS;
//class for weapon equip items
public class Weapon : EquipItem
{
//-------------------------------------------------------------------------------------------------
// unity... |
Caasiope.Node/Managers/IssuerManager.cs | duke009/caasiope-blockchain | 3 | 7031141 | <filename>Caasiope.Node/Managers/IssuerManager.cs<gh_stars>1-10
using System;
using System.Collections.Generic;
using Caasiope.Protocol.Types;
namespace Caasiope.Node.Managers
{
public class IssuerManager
{
private readonly Dictionary<Currency, Address> issuers = new Dictionary<Currency, Address>();
... |
PushBulletSharp.Core/Models/Requests/UpdateChatRequest.cs | briankavanaugh/PushBulletSharp.Core | 1 | 7031142 | <gh_stars>1-10
using System.Runtime.Serialization;
namespace PushBulletSharp.Core.Models.Requests
{
/// <summary>
/// Update Chat Request
/// </summary>
[DataContract]
public class UpdateChatRequest : BasicUpdateChatRequest
{
/// <summary>
/// Gets or sets the iden.
///... |
Epam.Task05/Epam.Task05.01_BackupSystem/Backup.cs | Andrei-Kekov/XT-2018Q4 | 0 | 7031143 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Formatters.Binary;
using System.Threading;
public static class Program
{
public const string WATCH_PARAMETER = "/w";
public const string RESTORE_PARAMETER = "/r";
public const... |
RequestParameters.cs | pixartist/ImgurSharp | 1 | 7031144 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ImgurSharp
{
public class RequestParameters
{
private List<string> p;
public RequestParameters()
{
p = new List<string>();
}
public ... |
Question60078465/MVC/TagHelpers/DescriptionTagHelper.cs | rgvlee/StackOverflow | 0 | 7031145 | <gh_stars>0
using System;
using Microsoft.AspNetCore.Mvc.ViewFeatures;
using Microsoft.AspNetCore.Razor.TagHelpers;
namespace Question60078465.MVC.TagHelpers
{
//https://gist.github.com/vanillajonathan/1f6ae7fb43be41a8c5277b9f5c514192
[HtmlTargetElement("span", Attributes = AttributeName)]
public class De... |
AdCampaign.Web/Views/Application/Index.cshtml | RoboNET/AdCampaign | 2 | 7031146 | @using AdCampaign.Common
@model IEnumerable<AdCampaign.BLL.Services.Adverts.DTO.ApplicationListItemDto>
@{
ViewBag.Title = "Список заявок";
}
<div class="container">
<div class="row justify-content-center">
<h2 class="col-12">Список заявок</h2>
</div>
@if (ViewData["AdName"] is string adNam... |
Test.Core/Controllers/ApiTestController.cs | hoofa/IdentityServer4.XPO | 1 | 7031147 | <reponame>hoofa/IdentityServer4.XPO<gh_stars>1-10
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
namespace Test.Core.Controllers
{
[Route("api/[controller]")]
[Authorize]
public class ApiTestController : Controller
{
[HttpGet]
... |
OptixCore.Library/Prime/PrimeModel.cs | jonnybasic/tesNet | 0 | 7031148 | <reponame>jonnybasic/tesNet
using System;
using OptixCore.Library.Native.Prime;
namespace OptixCore.Library.Prime
{
public class PrimeModel : OptixPrimeNode
{
public PrimeModel(PrimeContext context) : base(context)
{
CheckError(PrimeApi.rtpModelCreate(context.InternalPtr, out Inter... |
sourceCode/compositewpf/V1/trunk/Source/StockTraderRI/StockTraderRI.Modules.Position/PositionModule.cs | andrewdbond/CompositeWPF | 0 | 7031149 | //===============================================================================
// Microsoft patterns & practices
// Composite Application Guidance for Windows Presentation Foundation
//===============================================================================
// Copyright (c) Microsoft Corporation. All rights ... |
Utils/MathFunctions.cs | idtoufik/Curved-Grounds | 2 | 7031150 | <reponame>idtoufik/Curved-Grounds
using UnityEngine;
public class MathFunctions{
public static int factorial(int n)
{
int fac = 1;
for (int i = 1; i <= n; i++)
{
fac *= i;
}
return fac;
}
public static int CNKCombination(int n, int k)
{
... |
Facebook.ApiClient.Entities/Api/AdCreativePhotoData.cs | ketanjawahire/FacebookClient.Entities | 0 | 7031151 | using Newtonsoft.Json;
using RestSharp.Deserializers;
namespace Facebook.ApiClient.Entities.Api
{
/// <inheritdoc />
/// <summary>
/// Photo Data is one field within the creative that is used to create photo ads.
/// </summary>
public class AdCreativePhotoData : BaseEntity
{
/// <summa... |
Assets/K2Examples/KinectDemos/ColliderDemo/Scripts/SkeletonCollider.cs | KaiArch2014/HUD-with-Kinect | 0 | 7031152 | <gh_stars>0
using UnityEngine;
using System.Collections;
//using Windows.Kinect;
public class SkeletonCollider : MonoBehaviour
{
// [Tooltip("GUI-texture used to display the color camera feed on the scene background.")]
// public GUITexture backgroundImage;
[Tooltip("Index of the player, tracked by this component.... |
test/Microsoft.AspNet.WebApi.Acceptance.Tests/Http/MediaTypeNegotiation/MediaTypeNegotiationAcceptanceTest.cs | cstheriot/aspnet-api-versioning | 3 | 7031153 | <reponame>cstheriot/aspnet-api-versioning<gh_stars>1-10
namespace Microsoft.Web.Http.MediaTypeNegotiation
{
using Controllers;
using System.Web.Http;
using Versioning;
public abstract class MediaTypeNegotiationAcceptanceTest : AcceptanceTest
{
protected MediaTypeNegotiationAcceptanceTest()... |
NomaiVR/NomaiVRPatch.cs | Maximetinu/nomai-vr | 204 | 7031154 | <filename>NomaiVR/NomaiVRPatch.cs
using System;
using System.Reflection;
namespace NomaiVR
{
public abstract class NomaiVRPatch
{
protected void Prefix<T>(string methodName, string patchMethodName)
{
AddPrefix<T>(methodName, GetType(), patchMethodName);
}
protected... |
AniSched/DataTypes.cs | qkdxorjs1002/AniSched-UWP | 1 | 7031155 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AniSched
{
public enum JsType { List, End, Capton };
public enum Days { Sun, Mon, Tue, Wed, Thu, Fri, Sat, Ova, New, Fav };
class DataTypes
{
public class HttpData
... |
src/Dashboard/Data/FunctionLookup.cs | davidsidlinger/azure-webjobs-sdk | 1 | 7031156 | <reponame>davidsidlinger/azure-webjobs-sdk<filename>src/Dashboard/Data/FunctionLookup.cs
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using Microsoft.Azure.WebJobs.Storage;
using Microsoft.WindowsAz... |
Prova di Esame/Studenti/Studenti/Form1.Designer.cs | LucaMazzei88/CefiCourse | 0 | 7031157 | <gh_stars>0
namespace Studenti
{
partial class Form1
{
/// <summary>
/// Variabile di progettazione necessaria.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Pulire le risorse in uso.
/// </summary>
... |
Netch/3rd/DnsClient.NET/ResponseCache.cs | J0O0O0O0E/Netch | 6 | 7031158 | <gh_stars>1-10
using System;
using System.Collections.Concurrent;
using System.Diagnostics;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace DnsClient
{
internal class ResponseCache
{
private static readonly TimeSpan s_infiniteTimeout = Timeout.InfiniteTime... |
Editor/SkinBrowser/BrowserWindow.Toolbar.cs | FrankenBit/SkinBrowser | 1 | 7031159 | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="BrowserWindow.Toolbar.cs" company="FrankenBit">
// Copyright 2020 by FrankenBit.
// </copyright>
// ------------------------------------------------------------------------------... |
Assets/_Code/Components/UIComponents.cs | Dreaming381/lsss-wip | 67 | 7031160 | <gh_stars>10-100
using System;
using Unity.Collections;
using Unity.Entities;
using Unity.Mathematics;
namespace Lsss
{
public struct TitleAndMenuResources : IComponentData
{
public Entity selectSoundEffect;
public Entity navigateSoundEffect;
}
}
|
SCPStats/Translation.cs | SCPStats/Plugin | 6 | 7031161 | // -----------------------------------------------------------------------
// <copyright file="Translation.cs" company="SCPStats.com">
// Copyright (c) SCPStats.com. All rights reserved.
// Licensed under the Apache v2 license.
// </copyright>
// -----------------------------------------------------------------------
... |
OOPS.BLL/Concreate/StaticConcreate/EducationStatusService.cs | emrecakmak77/OOPS | 0 | 7031162 | using OOPS.BLL.Abstract.StaticAbstract;
using OOPS.Core.Data.UnitOfWork;
using OOPS.DTO.Static;
using OOPS.MapConfig.ConfigProfile;
using OOPS.Model.StaticModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OOPS.BLL.Concreate.StaticConcreate
{
public class Educa... |
LogViewer/LogViewer/Model/IDataLog.cs | mtmal/UrdfSim | 81 | 7031163 | <reponame>mtmal/UrdfSim
using LogViewer.Controls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace LogViewer.Model
{
public interface IDataLog
{
/// <summary>
/// Returns... |
GradeTrackerApp/GradeTrackerApp.EntityFramework/Repositories/EfRepository/IEfRepository.cs | jdmac020/GradeTrackerApp | 0 | 7031164 | using GradeTrackerApp.Core.Entities;
using GradeTrackerApp.EntityFramework.UnitOfWork;
namespace GradeTrackerApp.EntityFramework.Repositories.EfRepository
{
public interface IEfRepository<TEntity, TKey> : IRepository<TEntity, TKey> where TEntity : IEntity<TKey>
{
IEfUnitOfWork EfUnitOfWork { get; set;... |
src/Uno.UI/Controls/BindableButton.Android.cs | ashishpatelcs/uno | 2 | 7031165 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Text;
using Android.Util;
using Android.Views;
using Android.Widget;
using System.Windows.Input;
using Uno.Disposables;
using Java.Lang;
... |
test/CSharpWriterUnitTests/Given_an_OdcmClass_Entity_Abstract.cs | OfficeDev/Vipr | 0 | 7031166 | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using FluentAssertions;
using System.Linq;
using Xunit;
namespace CSharpWriterUnitTests
{
public class Given_an_OdcmClass_Entity_Abstract : EntityTestBase
{
... |
SolastaUnarmoredDefense/Patches/RulesetCharacterHero.cs | Mathih13/SolastaUnarmoredDefense | 0 | 7031167 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HarmonyLib;
namespace SolastaUnarmoredDefense.Patches
{
[HarmonyPatch(typeof(RulesetCharacterHero), "RefreshArmorClass")]
internal static class RulesetCharacterHero_CalculateUnarmoredDefen... |
Fortnox.NET/Models/PrintTemplates/PrintTemplates.cs | zenta-ab/fortnox.net | 16 | 7031168 | using FortnoxNET.Utils;
using Newtonsoft.Json;
namespace FortnoxNET.Models.PrintTemplates
{
[JsonPropertyClass("PrintTemplates")]
public class PrintTemplates
{
/// <summary>
/// Code of the template
/// </summary>
public string Template { get; set; }
/// <s... |
GeometricAlgebraSymbolicsLib/GeometricAlgebraSymbolicsLib.Samples/GAPoT/ClarkeRotation5DSample.cs | ga-explorer/GMac | 8 | 7031169 | using System;
using System.Globalization;
using System.Linq;
using GeometricAlgebraSymbolicsLib.Applications.GAPoT;
using GeometricAlgebraSymbolicsLib.Cas.Mathematica;
using GeometricAlgebraSymbolicsLib.Cas.Mathematica.ExprFactory;
namespace GeometricAlgebraSymbolicsLib.Samples.GAPoT
{
public static class ClarkeR... |
src/UX/Views/WelcomePage.xaml.cs | mattseemon/vault | 1 | 7031170 | <filename>src/UX/Views/WelcomePage.xaml.cs
using Seemon.Vault.ViewModels;
using System.Windows.Controls;
namespace Seemon.Vault.Views
{
/// <summary>
/// Interaction logic for WelcomePage.xaml
/// </summary>
public partial class WelcomePage : Page
{
public WelcomePage(WelcomeViewModel view... |
Sources/Indicators/GlobalAverageTrueRange/GlobalAverageTrueRange/GlobalAverageTrueRange.cs | yuque-official/cAlgoBot3 | 30 | 7031171 | <reponame>yuque-official/cAlgoBot3<filename>Sources/Indicators/GlobalAverageTrueRange/GlobalAverageTrueRange/GlobalAverageTrueRange.cs<gh_stars>10-100
//The MIT License (MIT)
//Copyright (c) 2014 <NAME>, https://www.facebook.com/ab.hacid
//Permission is hereby granted, free of charge, to any person obtaining a copy o... |
src/StructureMap.Testing/Building/setter_expression_building.cs | CurufinweU/structuremap | 574 | 7031172 | <filename>src/StructureMap.Testing/Building/setter_expression_building.cs
using Shouldly;
using StructureMap.Building;
using StructureMap.Testing.Widget3;
using Xunit;
namespace StructureMap.Testing.Building
{
public class setter_expression_building
{
[Fact]
public void simple_creati... |
src/Propella.Application/Commands/ICommandHandler.cs | neildobson-au/Propella | 0 | 7031173 | <reponame>neildobson-au/Propella<filename>src/Propella.Application/Commands/ICommandHandler.cs
using MediatR;
using Propella.Application.Results;
namespace Propella.Application.Commands
{
public interface ICommandHandler<in TCommand, TResponse> : IRequestHandler<TCommand, TResponse>
where TCommand : IComma... |
src/Uno.UWP/UI/Notifications/TileNotification.cs | olirobert/uno | 5,973 | 7031174 | namespace Windows.UI.Notifications
{
public partial class TileNotification
{
public Data.Xml.Dom.XmlDocument Content { get; }
public TileNotification(Data.Xml.Dom.XmlDocument content)
{
Content = content;
}
}
}
|
Source/Fuse/Studio/Theming/LogoAndVersion.cs | mortend/fuse-studio | 324 | 7031175 | <filename>Source/Fuse/Studio/Theming/LogoAndVersion.cs
using System;
using System.Reactive.Linq;
using Outracks.Fusion;
namespace Outracks.Fuse.Designer
{
public static class LogoAndVersion
{
public static IControl Create(string fuseVersion)
{
var versionStr = "Version " + fuseVersion;
return Layout.StackF... |
test/Arbor.KVConfiguration.Tests.Unit/Urn/TypeWithRequiredCtor.cs | niklaslundberg/Arbor.KVConfiguration | 5 | 7031176 | using System;
using Arbor.KVConfiguration.Urns;
using JetBrains.Annotations;
namespace Arbor.KVConfiguration.Tests.Unit.Urn
{
[PublicAPI]
[Urn("urn:type:with:required:ctor")]
internal class TypeWithRequiredCtor
{
public TypeWithRequiredCtor([NotNull] string key)
{
if (string... |
Famoser.SyncApi/Repositories/Base/PersistentRepository.cs | famoser/Famoser.SyncApi | 0 | 7031177 | <gh_stars>0
using System;
using System.Threading.Tasks;
using Famoser.SyncApi.Api;
using Famoser.SyncApi.Api.Configuration;
using Famoser.SyncApi.Enums;
using Famoser.SyncApi.Managers.Interfaces;
using Famoser.SyncApi.Models.Information;
using Famoser.SyncApi.Models.Interfaces.Base;
using Famoser.SyncApi.Repositories.... |
Assets/Lab/Model/WaterBase/Change2.cs | darke333/Chemical-Laboratory-VR | 0 | 7031178 | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Change2 : MonoBehaviour
{
/// <summary>
/// Сюда надо загрузить граф материала
/// </summary>
public Substance.Game.SubstanceGraph Graph;
private float value;
/// <summary>
/// Сюда надо поставить з... |
Assets/AssetBundleGraph/Editor/System/Datastructure/AssetInfo.cs | undeadinu/AssetGraph | 51 | 7031179 | <filename>Assets/AssetBundleGraph/Editor/System/Datastructure/AssetInfo.cs
using System;
namespace AssetBundleGraph {
public class DepreacatedAssetInfo {
public readonly string assetName;
public readonly Type assetType;
public readonly string assetPath;
public readonly string assetDatabaseId;
public Deprea... |
Unity/Assets/Scripts/BehaviorTreeNode/True.cs | WarrenMondeville/LandlordsCore | 3 | 7031180 | <filename>Unity/Assets/Scripts/BehaviorTreeNode/True.cs
namespace ETModel
{
[Node(NodeClassifyType.Decorator)]
public class True: Node
{
public True(NodeProto nodeProto): base(nodeProto)
{
}
protected override bool Run(BehaviorTree behaviorTree, BTEnv env)
{
foreach (Node child in children)
{
c... |
GestaoFinanceira/GestaoFinanceira/Views/Utils/FrmAboutInterest.Designer.cs | MessiasOli/gestao-financeira-doo | 0 | 7031181 | namespace GestaoFinanceira.Views.Utils
{
partial class FrmAboutInterest
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
... |
Zen.Base/Module/Encryption/EncryptionProviderPrimitive.cs | bucknellu/zen | 6 | 7031182 | <filename>Zen.Base/Module/Encryption/EncryptionProviderPrimitive.cs
using Zen.Base.Common;
namespace Zen.Base.Module.Encryption
{
public abstract class EncryptionProviderPrimitive : IEncryptionProvider
{
public EOperationalStatus OperationalStatus { get; set; } = EOperationalStatus.Undefined;
... |
Engine.GIS/GProject/GTransformation.cs | KIWI-ST/kiwi.server | 12 | 7031183 | using GeoAPI.Geometries;
namespace Engine.GIS.GProject
{
/// <summary>
/// 计算投影都的像素坐标相对不同缩放层级下容器的像素坐标
/// @author yellow date 2017/11/9
/// </summary>
public class GTransformation
{
double _a, _b, _c, _d;
public GTransformation(double a, double b, double c, double d)
{... |
src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ResourceIndexNode.cs | lambdageek/corert | 9 | 7031184 | <gh_stars>1-10
// 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 Internal.NativeFormat;
using Internal.Text;
using Internal.TypeSystem;
namespa... |
Bonobo.Git.Server/Views/Repository/_Commit.cshtml | moljac/Bonobo-Git-Server | 0 | 7031185 | <gh_stars>0
@model RepositoryCommitModel
@using Bonobo.Git.Server.Extensions
<h4 class="commitDate">@Model.Date.ToString(Resources.DateTimeFormat)</h4>
<div class="commit">
<div class="window">
<div class="content clearfix">
<div class="fl">
<p>@Model.Message</p>
<p><strong>@Model.Author</str... |
Fuzzlyn/Methods/UnOpTable.cs | jakobbotsch/Fuzzlyn | 210 | 7031186 | <reponame>jakobbotsch/Fuzzlyn
using Microsoft.CodeAnalysis.CSharp;
using System;
namespace Fuzzlyn.Methods
{
internal class UnOpTable
{
private readonly SyntaxKind[] _table;
private UnOpTable(SyntaxKind[] table)
{
_table = table;
}
public SyntaxKind? GetRes... |
src/Foundation/MSSDK/code/Vision/Models/ComputerVision/Caption.cs | markstiles/SitecoreCognitiveServices.Core | 0 | 7031187 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SitecoreCognitiveServices.Foundation.MSSDK.Vision.Models.ComputerVision
{
public class Caption {
public string Text { get; set; }
public double Confidence { get; set; }
... |
src/QuoteService/QuoteContext.cs | sumitkute/quotes | 1 | 7031188 | using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace QuoteService
{
public class QuoteContext : DbContext
{
public QuoteContext(DbContextOptions<QuoteContext> options)
: base(options)
... |
src/Neptuo/ISchedulingContext.cs | ScriptBox99/Money | 148 | 7031189 | <reponame>ScriptBox99/Money
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Neptuo
{
/// <summary>
/// The context information passed to the <see cref="ISchedulingProvider.Schedule(ISchedulingContext)"/> to be executed in the future... |
ARSupport/Query/UserDepartamentQuery.cs | aamartin2k/AReporte | 0 | 7031190 | <gh_stars>0
using System;
namespace AReport.Support.Query
{
[Serializable]
public class UserDepartamentQuery
{
public string UserId
{ get; }
public UserDepartamentQuery(string userId)
{ UserId = userId; }
}
}
|
tests/Tests.Reproduce/GitHubIssue5432.cs | MaxKsyunz/opensearch-net | 1 | 7031192 | <gh_stars>1-10
/* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*
* Modifications Copyright OpenSearch Contributors. See
* GitHub history for details.
*
* Licensed to Elastics... |
EntitasSaveLoader/Assets/Sources/Generated/Game/Components/GameSomeIntComponent.cs | raveneer/EntitasSaveLoader | 29 | 7031193 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by Entitas.CodeGeneration.Plugins.ComponentEntityGenerator.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-genera... |
Dyalect.Library/Json/JsonIgnoreAttribute.cs | vorov2/dyalect | 54 | 7031194 | using System;
namespace Dyalect.Library.Json
{
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)]
public sealed class JsonIgnoreAttribute : Attribute
{
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.