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 |
|---|---|---|---|---|
Fabric/AudioComponent.cs | smdx24/CPI-Source-Code | 8 | 7040131 | // AudioComponent
using Fabric;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[AddComponentMenu("Fabric/Components/AudioComponent")]
public class AudioComponent : Fabric.Component
{
protected AudioSource _audioSource;
protected AudioSource[] _loopRegionAudioSources;
... |
unity_jsontest/Assets/ThirdParty/Open/Fee/Script/Input/Pad_Status.cs | bluebackblue/jsontest | 0 | 7040132 | <gh_stars>0
/**
* Copyright (c) blueback
* Released under the MIT License
* https://github.com/bluebackblue/fee/blob/master/LICENSE.txt
* @brief 入力。パッド。
*/
/** Fee.Input
*/
namespace Fee.Input
{
/** Pad_Status
*/
public struct Pad_Status
{
/** 有効。
*/
public bool enable;
/** devicename
*/
public... |
FriendlyFisherman/Users.Tests/RepositoryTests/UsersRepositoryTests.cs | toshetoo/friendly-fisherman-api | 0 | 7040133 | <filename>FriendlyFisherman/Users.Tests/RepositoryTests/UsersRepositoryTests.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FriendlyFisherman.SharedKernel.Repositories.Impl;
using Users.DataAccess.Repositories;
using Users.Domain.Entities;
using Users.Tests.DummyData;
us... |
src/Network/Network/NatGateway/NewAzureRMNatGatewayCommand.cs | khannarheams/azure-powershell | 0 | 7040135 | // ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://w... |
Tortuga.Graphics/Components/Camera.cs | tortuga-foundation/tortuga-library | 27 | 7040137 | <reponame>tortuga-foundation/tortuga-library<gh_stars>10-100
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Threading.Tasks;
using Tortuga.Graphics.API;
using Tortuga.Core;
using static Tortuga.Graphics.Light;
using System.Linq;
namespace Tortuga.Graphics
{
/// <summary>
//... |
Assets/Scripts/Ai/State.cs | Floglor/Biolab | 0 | 7040138 | <gh_stars>0
using System.Collections.Generic;
using UnityEngine;
namespace Ai
{
[CreateAssetMenu(menuName = "PluggableAI/State")]
public class State : ScriptableObject
{
public Color gizmoColor = Color.gray;
public List<OneTimeAction> oneTimeActions;
public List<Action> actions;
... |
runtime/IKVM.Runtime/ByteCodeHelper.cs | klokedm/ikvm | 5 | 7040140 | /*
Copyright (C) 2002-2015 <NAME>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commerci... |
src/Lego/Lego.App/MainPage.xaml.cs | Vouzamo/Lego | 15 | 7040141 | using Lego.Core;
using Lego.Core.Extensions;
using Lego.Core.Models.Devices.General;
using Lego.Core.Models.Devices.Hubs;
using Lego.Core.Models.Devices.Parts;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Windows.Devices.Enumeration;
u... |
src/Accord/Accord.Math/Optimization/NonlinearObjectiveFunction.cs | mastercs999/fn-trading | 4 | 7040142 | // Accord Math Library
// The Accord.NET Framework
// http://accord-framework.net
//
// Copyright © <NAME>, 2009-2015
// cesarsouza at gmail.com
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free... |
TensorShaderTest/Links/UnaryArithmetric/CbrtTest.cs | tk-yoshimura/TensorShaderAVX | 0 | 7040143 | using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TensorShader;
using static TensorShader.Field;
namespace TensorShaderTest.Links.UnaryArithmetric {
[TestClass]
public class CbrtTest {
[TestMethod]
public void ReferenceTest() {
int length = 24;
... |
kth/idiomatic/Block.cs | k-nuth/cs-api | 1 | 7040144 | // Copyright (c) 2016-2021 Knuth Project developers.
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
using Knuth.Native;
using System;
namespace Knuth
{
/// <summary>
/// Represents a full Bitcoin blockchain block.
... |
src/Extensions/Nimbus.Logger.Serilog/Logger/Serilog/SerilogStaticLogger.cs | sbalkum/Nimbus | 0 | 7040145 | <reponame>sbalkum/Nimbus
using System;
using Serilog;
namespace Nimbus.Logger.Serilog
{
public class SerilogStaticLogger : ILogger
{
public void Debug(string format, params object[] args)
{
Log.Debug(format, args);
}
public void Info(string format, params object[] ... |
Models/WindowsAPIHelper.cs | htsnmiku39/Genshin-Lyre-Midi-Tool | 0 | 7040146 | using System.Runtime.InteropServices;
namespace Genshin_Lyre_Midi_Tool.Models
{
public static class WindowsAPIHelper
{
[DllImport("user32.dll", EntryPoint = "keybd_event", SetLastError = true)]
public static extern void keybd_event(byte bVk, byte bScan, int dwFlags, int dwExtraInfo);
}
}
|
X10D.Performant/src/Custom/IntegerExtensions/UInt16Extensions/CustomModulus.cs | rubiksmaster02/X10D | 0 | 7040148 | namespace X10D.Performant.UInt16Extensions;
public static partial class UInt16Extensions
{
/// <include file='UInt16Extensions.g.xml' path='members/member[@name="Mod"]'/>
public static ushort Mod(this ushort value, ushort modulus)
{
if (value < modulus)
{
return value;
... |
src/Mvc/Jerrycurl.Data/Queries/Internal/Nodes/ResultNode.cs | rwredding/jerrycurl | 44 | 7040149 | using System.Collections.Generic;
namespace Jerrycurl.Data.Queries.Internal.Nodes
{
internal class ResultNode
{
public IList<ListNode> Lists { get; set; }
public IList<ElementNode> Elements { get; set; }
public IList<HelperNode> Helpers { get; set; }
}
}
|
Sora/Command/CommandManager.cs | Kerwin1202/Sora | 0 | 7040150 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using Sora.Attributes;
using Sora.Attributes.Command;
using Sora.Entities.Info... |
WcfDataServicesClient/NetFx4/Client/System/Data/Services/Client/ALinq/DataServiceQueryProvider.cs | BrightstarDB/odata-sparql | 4 | 7040151 | <gh_stars>1-10
//Copyright 2010 Microsoft Corporation
//
//Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
//http://www.apache.org/licenses/LICENSE-2.0
//
//Unless required by applicab... |
VisualStudioPlugin/Gui/DiffPlex/FontInfo.cs | hperadin/dsl-compiler-client | 0 | 7040152 | namespace DDDLanguage
{
internal class FontInfo
{
public FontInfo(string family, double linePadding)
{
FontFamily = family;
LinePadding = linePadding;
IsMonoSpaced = false;
}
public FontInfo(string family, double linePadding, double characterWidth, double leftOffset)
{
FontFamily = f... |
src/Toimik.CommonCrawl/Streamer.cs | toimik/CommonCrawl | 1 | 7040153 | <reponame>toimik/CommonCrawl<gh_stars>1-10
/*
* Copyright 2021 <EMAIL>
*
* 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 requ... |
Ashirvad-main/Ashirvad.Repo/DataAcceessAPI/Area/UPI/IUPIAPI.cs | Shail218/Ashirvad | 0 | 7040154 | using Ashirvad.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ashirvad.Repo.DataAcceessAPI.Area.UPI
{
public interface IUPIAPI
{
Task<ResponseModel> UPIMaintenance(UPIEntity upiInfo);
Task<List<UPIEntity>> Get... |
MVC-12/MvcApplication8/Controllers/EmployeeController.cs | VahidN/MVC-Samples | 5 | 7040156 | <filename>MVC-12/MvcApplication8/Controllers/EmployeeController.cs
using System;
using System.Web.Mvc;
using MvcApplication8.Models;
namespace MvcApplication8.Controllers
{
public class EmployeeController : Controller
{
public ActionResult EmployeeList()
{
var list = new Employees(... |
Blazer.Net.Tests/BigDataTests.cs | force-net/blazer | 10 | 7040157 | <gh_stars>1-10
using System;
using System.Diagnostics;
using System.IO;
using Force.Blazer;
using NUnit.Framework;
namespace Blazer.Net.Tests
{
[TestFixture]
public class BigDataTests
{
[Test]
[Ignore("Slow for usual run")]
public void Large_Data_Should_Be_Compressed()
{
var outs = new MemoryStream();... |
CatFactory/NamingConvention.cs | hherzl/CatFactory | 60 | 7040158 | using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace CatFactory
{
/// <summary>
/// Provides helper methods for naming conventions
/// </summary>
/// <remarks>Thanks to ewmccarty <!-- https://github.com/ewmccarty --> by adding XML comm... |
CommunityToolkit.Authentication.Uwp/WebAccountCommandParameter.cs | HavenDV/Graph-Controls | 63 | 7040159 | // 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 Windows.UI.ApplicationSettings;
namespace CommunityToolkit.Authentication
{
/// <summary>
/// <see c... |
JDS.OrgManager/JDS.OrgManager.Application/Tenants/TenantViewModelToDbEntityMapper.cs | CurlyBytes/OrgManager | 0 | 7040160 | // Copyright ©2020 <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 applicable law or agreed to in writing, softwar... |
src/WebSocket/WebSocketConnectionProxy.cs | rohitramu/roramu-csharp-websocket-service-framework | 1 | 7040161 | namespace RoRamu.WebSocket
{
using System;
using System.Threading;
using System.Threading.Tasks;
using RoRamu.Utils;
using RoRamu.Utils.Logging;
using RoRamu.Utils.Messaging;
/// <summary>
/// Represents a websocket connection and exposes methods for interacting with it.
/// </summ... |
MultiLanguageWebApp/Views/Home/Index.cshtml | Smahdie/MultiLanguageWebsite | 0 | 7040162 | @inject IHtmlLocalizer<SharedResource> SharedLocalizer
@inject IViewLocalizer Localizer
@model ContactRequest
<div class="text-center">
<h1 class="display-4">@SharedLocalizer["Welcome"]</h1>
<p>@Localizer["Learn about building Web apps with ASP.NET Core."]</p>
</div>
<form id="contact-form" method="post" as... |
AvatarUtils.cs | Slaynash/VRCTools_OLD | 5 | 7040163 | using BestHTTP.JSON;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using System.Threading;
using UnityEngine;
using VRC;
using VRC.Core;
using VRC.Core.BestHTTP;
using VRC.UI;
namespace VRCTools
{
public abstract class AvatarUtils
{
private static L... |
Projects/RealmServer/ClientDB/Structures/TelegraphDamage.cs | Arctium/WildStar-Sandbox | 5 | 7040164 | <reponame>Arctium/WildStar-Sandbox
public class TelegraphDamage
{
public uint Id { get; set; }
public uint TelegraphSubtypeEnum { get; set; }
public uint DamageShapeEnum { get; set; }
public float Param00 { get; set; }
public float Param01 { get; set; }
public float Param02 { get; ... |
Server/Mod.CatsV3.Server/Mod.CatsV3.Application/Dtos/DepartmentDto.cs | EOP-OMB/CATSV3 | 0 | 7040165 | using Mod.Framework.Application;
using System;
using System.Collections.Generic;
using System.Text;
namespace Mod.CatsV3.Application.Dtos
{
public class DepartmentDto : DepartmentBaseDto
{
public ICollection<DepartmentDto> Children { get; set; }
public ICollection<EmployeeDto> Employees { get;... |
tests/MassTransit.Azure.ServiceBus.Core.Tests/TestAzureServiceBusAccountSettings.cs | roshdi/MassTransit | 53 | 7040166 | namespace MassTransit.Azure.ServiceBus.Core.Tests
{
using System;
using Microsoft.Azure.ServiceBus.Primitives;
public class TestAzureServiceBusAccountSettings :
ServiceBusTokenProviderSettings
{
public TestAzureServiceBusAccountSettings()
{
TokenTimeToLive = TimeSp... |
CefNet/Generated/Managed/Enums/CefTextFieldCommands.cs | RhubarbVR/CefNet | 92 | 7040167 | // --------------------------------------------------------------------------------------------
// 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.
// ------------------------------------------------... |
Source/Libraries/openXDA.Nodes/Types/FileProcessing/FileProcessingTask.cs | GridProtectionAlliance/openXDA | 13 | 7040168 | <filename>Source/Libraries/openXDA.Nodes/Types/FileProcessing/FileProcessingTask.cs
//******************************************************************************************************
// FileProcessingTask.cs - Gbtc
//
// Copyright © 2021, Grid Protection Alliance. All Rights Reserved.
//
// Licensed to the G... |
OSS.Website/Views/Home/Index.cshtml | rosenruntev/OnlineShopSystem | 0 | 7040169 | <filename>OSS.Website/Views/Home/Index.cshtml
@model OSS.Website.Models.AccountViewModel
@{
ViewData["Title"] = "Home Page";
}
<div class="text-center">
<h1 class="display-4">Welcome</h1>
<p>Learn about <a href="https://docs.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
</div>
... |
src/PresenceLight.Web/Program.cs | plkumar/PresenceLight | 0 | 7040170 | using Blazorise;
using Blazorise.Bootstrap;
using Blazorise.Icons.FontAwesome;
using Microsoft.ApplicationInsights.Extensibility;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;
using Microsoft.AspNetCore.HttpOverrides;
using Microsoft.Graph.ExternalConnectors;
using Microsoft.Identity.Web;
using Microsoft.I... |
test/Fan.UnitTests/Helpers/UtilTest.cs | flyznex/Fanray | 0 | 7040171 | using Fan.Helpers;
using Fan.Settings;
using Humanizer;
using System;
using System.Net;
using Xunit;
namespace Fan.UnitTests.Helpers
{
public class UtilTest
{
/// <summary>
/// Test for <see cref="Util.FormatSlug(string)"/>.
/// </summary>
[Theory]
[InlineData("c#", "c"... |
web/WebApp/Pages/Components/TopBar/Default.cshtml | Smahdie/Blog | 0 | 7040173 | <reponame>Smahdie/Blog<gh_stars>0
@using Core.Dtos.ContactInfoDtos
@model List<ContactInfoListDto>
@{
var email = Model.FirstOrDefault(c => c.ContactType == ContactType.Email);
var phone = Model.FirstOrDefault(c => c.ContactType == ContactType.Phone);
}
<section id="topbar" class="d-none d-lg-block">
<d... |
PanoramicData.SheetMagic.Test/AddSheetTests.cs | panoramicdata/PanoramicData.SheetMagic | 7 | 7040174 | <filename>PanoramicData.SheetMagic.Test/AddSheetTests.cs<gh_stars>1-10
using PanoramicData.SheetMagic.Test.Models;
using System;
using System.Collections.Generic;
using Xunit;
namespace PanoramicData.SheetMagic.Test
{
public class AddSheetTests : Test
{
[Theory]
[InlineData("12345678901234567890123456789012")]
... |
Model/Accounting/Budget.cs | AGenius/Xero.Net.OAuth2 | 2 | 7040175 | <gh_stars>1-10
/*
* Xero Accounting API
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* Contact: <EMAIL>
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Linq;
using System.IO;
using System.Te... |
src/Hl7/Billing/SubjectFilter.cs | alex-bello/hl7.netstandard | 0 | 7040176 | namespace Hl7.Billing
{
/// <summary>
/// Describes a subject filter as used in QRD-9 and URD-4.
/// </summary>
public class SubjectFilter : LookupEntity
{
}
} |
Source/UltravioletGame/Desktop/Game.cs | Spool5520/ultraviolet | 0 | 7040177 | <reponame>Spool5520/ultraviolet
using System;
using System.IO;
using System.Text;
using SAFE_PROJECT_NAME.Assets;
using SAFE_PROJECT_NAME.Input;
using Ultraviolet;
using Ultraviolet.Content;
using Ultraviolet.Core;
using Ultraviolet.Core.Text;
using Ultraviolet.Graphics.Graphics2D;
using Ultraviolet.Graphics.Graphics2... |
Graphics.Imaging/PixelFormat.cs | bortmechanic/Yagl | 0 | 7040178 | <filename>Graphics.Imaging/PixelFormat.cs
/*
This source file is a part of the project YAGL.
Copyright (c) 2020 <NAME>.
Distributed under the MIT License (http://opensource.org/licenses/MIT).
See LICENSE.txt for the full license text.
*/
namespace Yagl.Graphics.Imaging
{
public enum PixelFormat
{
... |
backend/src/Squidex.Domain.Apps.Core.Operations/Templates/Extensions/UserFluidExtension.cs | Ruud-cb/squidex | 0 | 7040179 | <gh_stars>0
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===============... |
src/ProSuite.Processing/Utils/Interval.cs | ProSuite/ProSuite | 5 | 7040180 | using System;
using System.Diagnostics.Contracts;
namespace ProSuite.Processing.Utils
{
/// <summary>
/// An immutable closed (Min and Max are included) interval.
/// </summary>
public readonly struct Interval
{
public readonly double Min;
public readonly double Max;
private Interval(double min, double max... |
Sources/Test/SimpleTesting/Partitioned/PartitionedLaggingCleanupTests.cs | AlgorithmsAreCool/Trill | 844 | 7040181 | // *********************************************************************
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License
// *********************************************************************
using System;
using System.Collections.Generic;
using System.Linq;
using Syste... |
src/Cofoundry.Domain/Domain/CustomEntities/Queries/GetAllCustomEntityRoutingRulesQueryHandler.cs | hur1can3/cofoundry | 3 | 7040182 | <gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Cofoundry.Domain.CQS;
namespace Cofoundry.Domain
{
public class GetAllCustomEntityRoutingRulesQueryHandler
: IAsyncQueryHandler<GetAllCustomEntityRoutingRulesQuery, ICo... |
src/Internal/Framework/ESRI.ArcGIS.Mapping.Core/Connections/Connection.cs | Esri/arcgis-viewer-silverlight | 7 | 7040183 | <gh_stars>1-10
/*
(c) Copyright ESRI.
This source is subject to the Microsoft Public License (Ms-PL).
Please see https://opensource.org/licenses/ms-pl for details.
All other rights reserved.
*/
using System.ComponentModel;
using System.Runtime.Serialization;
namespace ESRI.ArcGIS.Mapping.Core
{
[DataContract]
... |
src/IdentityServer.Admin.Core/Entities/Users/UserDefaults.cs | Olek-HZQ/IdentityServerManagement | 9 | 7040184 | namespace IdentityServer.Admin.Core.Entities.Users
{
public class UserDefaults
{
/// <summary>
/// Gets a name of generic attribute to store the value of 'LanguageId'
/// </summary>
public static string LanguageIdAttribute => "LanguageId";
}
}
|
src/Catel.Tests/MVVM/ViewModels/TestClasses/TestViewModelWithEnabledModelValidation.cs | aTiKhan/Catel | 722 | 7040185 | <filename>src/Catel.Tests/MVVM/ViewModels/TestClasses/TestViewModelWithEnabledModelValidation.cs
// <copyright file="TestViewModelWithEnabledModelValidation.cs" company="Catel development team">
// Copyright (c) 2008 - 2017 Catel development team. All rights reserved.
// </copyright>
// -----------------------------... |
src/Services/LMSApp.Services.Models/Users/EducatorIdAndNameViewModel.cs | Divelina/LMSApp | 0 | 7040186 |
using AutoMapper;
using LMSApp.Data.Models.UserTypes;
using LMSApp.Services.Mapping;
namespace LMSApp.Services.Models.Users
{
public class EducatorIdAndNameViewModel : IMapFrom<Educator>, IHaveCustomMappings
{
public string Id { get; set; }
public string FullName { get; set; }
publi... |
Common7/Tools/NClass_v2.04/src/DiagramEditor/ClassDiagram/ContextMenus/TypeShapeContextMenu.cs | jdm7dv/visual-studio | 1 | 7040187 | // NClass - Free class diagram editor
// Copyright (C) 2006-2007 <NAME>
//
// This program is free software; you can redistribute it and/or modify it under
// the terms of the GNU General Public License as published by the Free Software
// Foundation; either version 3 of the License, or (at your option) any later ve... |
PTK/Classes/DetailModel.cs | CSDG-DDL/PTK | 12 | 7040188 | //using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using System.Threading.Tasks;
//using Grasshopper.Kernel;
//using Grasshopper.Kernel.Types;
//namespace PTK
//{
// public class DetailModel
// {
// public Assembly Assembly { get; private set; }
// publ... |
src/QingShan.Core/App/Options/AppSettingsOptions.cs | qingshan315/QS.Core | 0 | 7040189 | <filename>src/QingShan.Core/App/Options/AppSettingsOptions.cs
using Microsoft.Extensions.Configuration;
using QingShan.Core.ConfigurableOptions;
using System;
namespace QingShan.Core.Options
{
/// <summary>
/// 应用全局配置
/// </summary>
public sealed class AppSettingsOptions : IConfigurableOptions<AppSett... |
LibQQProtocol/Util/Encrypt/TeaCrypter.cs | mikuKeeper/QQBot | 1 | 7040190 | <reponame>mikuKeeper/QQBot<filename>LibQQProtocol/Util/Encrypt/TeaCrypter.cs
using System;
namespace LibQQProtocol.Util {
public class TeaCrypter {
// Token: 0x04000334 RID: 820
private Int64 _contextStart;
// Token: 0x04000335 RID: 821
private Int64 _crypt;
// Token: 0x0... |
GCL/Bean/Middler/ConstructorBeanCreater.cs | baibing0004/GCL | 1 | 7040191 | <reponame>baibing0004/GCL
using System;
using System.Collections.Generic;
using System.Text;
namespace GCL.Bean.Middler {
public class ConstructorBeanCreater : AObjectCreater {
private int constructorParaLength = 0;
/// <summary>
/// 初始化参数
/// </summary>
/// <pa... |
IL2CDR/IL2CDR/Model/Sugar.cs | rstoki/IL2CDR | 1 | 7040192 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IL2CDR
{
///
/// http://www.codeproject.com/Articles/109026/Chained-null-checks-and-the-Maybe-monad
///
public static class Sugar
{
public static TResult With<TInput, TResult>(this TIn... |
Harvest.Email/Views/Shared/EmailButtonModel.cs | ucdavis/Harvest | 2 | 7040193 | <reponame>ucdavis/Harvest
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Harvest.Email.Views.Shared
{
public class EmailButtonModel
{
public EmailButtonModel(string text, string url)
{
Text = text;
... |
Madplan/Main/Views/RecipeTools/IngredientCreatePage.xaml.cs | Kcsorensen/MadplanVBK | 0 | 7040195 | <reponame>Kcsorensen/MadplanVBK
using SharedLib.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace Main.Views.RecipeTools
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public parti... |
FormItemEditor.cs | satelliteprogrammer/rawr | 0 | 7040196 | <reponame>satelliteprogrammer/rawr
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace Rawr
{
public partial class FormItemEditor : Form, IFormItemSelectionProvider
{
private bool _firstLoad = true;
private FormItemSelection _formItemSelection;
... |
Microsoft.Web.Management/Host/ConnectionManager.cs | microbian-systems/JexusManager | 222 | 7040197 | <reponame>microbian-systems/JexusManager<gh_stars>100-1000
// Copyright (c) <NAME>. All rights reserved.
//
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.ObjectModel;
using Microsoft.Web.Management.Client;
namespace Micro... |
EliteDangerousINARA/src/EliteDangerousINARA/InaraResponse.cs | h0useRus/EliteDangerousINARA | 0 | 7040198 | using System.Collections.Generic;
using NSW.EliteDangerous.INARA.Events;
namespace NSW.EliteDangerous.INARA
{
public class InaraResponse
{
public ResponseStatus Status { get; internal set; }
public string StatusText { get; internal set; }
public InaraUser User { get; internal set; }
... |
MainWindow.xaml.cs | badhitman/gps-map-routes | 0 | 7040199 | <reponame>badhitman/gps-map-routes
////////////////////////////////////////////////
// © https://github.com/badhitman - @fakegov
////////////////////////////////////////////////
using GMap.NET.MapProviders;
using System.Windows;
namespace GpsMapRoutes
{
/// <summary>
/// Логика взаимодействия для MainWindow... |
FuzzySets/Homework/Sets/CalculatedFuzzySet.cs | bookycookie/Fuzzy-Evolutionary-and-Neuro-Computing | 0 | 7040200 | <reponame>bookycookie/Fuzzy-Evolutionary-and-Neuro-Computing
using Homework.Domain;
namespace Homework.Sets
{
public class CalculatedFuzzySet : IFuzzySet
{
private IDomain Domain { get; set; }
private IIntUnaryFunction Function { get; set; }
public CalculatedFuzzySet(I... |
FileHelpers.ExcelStorage/ExcelStorage.cs | kimseungkyeong/FileHelper | 2 | 7040201 | <filename>FileHelpers.ExcelStorage/ExcelStorage.cs<gh_stars>1-10
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Threading;
using FileHelpers.Events;
using Microsoft.Office.Interop.Excel;
namespace FileHelpers.DataLink
{
/// <... |
Assets/Scripts/GameOverManager.cs | Xwilarg/NSFWValentinesJam | 1 | 7040202 | using UnityEngine;
public class GameOverManager : MonoBehaviour
{
public enum EndType
{
Victory,
DeathSouls,
DeathLight
}
public EndType type { set; get; }
private void Start()
{
DontDestroyOnLoad(gameObject);
Object[] objs = FindObjectsOfType(GetType(... |
Assets/Scripts/PlatformerBase/Abilities/DashAbility.cs | zvolchak/TrappedEscape | 0 | 7040203 | using UnityEngine;
namespace GHAbilities {
/// <summary>
/// Call this script from some other component, presumably The Player one.
/// Caller should use DeltaMovement after calling UseAbility to get the change in
/// velocity (e.g. current dashed velocity).
/// </summary>
public class DashAb... |
src/ENode/Commanding/CommandResult.cs | scjjcs/enode | 1,868 | 7040204 | <reponame>scjjcs/enode
using System;
using System.Collections.Generic;
namespace ENode.Commanding
{
/// <summary>Represents a command result.
/// </summary>
[Serializable]
public class CommandResult
{
/// <summary>Represents the result status of the command.
/// </summary>
... |
src/Ametista.Sync/SyncApplication.cs | sanbir/cqrs-clean-eventual-consistency | 4 | 7040205 | using Ametista.Core.Events;
using Ametista.Core.Interfaces;
using System;
namespace Ametista.Sync
{
public interface IApplication
{
void Run();
}
public class SyncApplication : IApplication
{
private readonly IEventBus eventBus;
public SyncApplication(IEventBus eventBus)
... |
Oren.Core/Core.Map/CoreMap.cs | Pasinli/-izim-payla-m-platformu | 0 | 7040206 | <filename>Oren.Core/Core.Map/CoreMap.cs
using Oren.Core.Core.Entity;
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Oren.Core.Core.Map
{
public class CoreMap<T>: EntityTypeConfiguration<T>whe... |
Esiur/Core/AsyncReply.cs | esyur/esyur-dotnet | 6 | 7040207 | /*
Copyright (c) 2017 <NAME>
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, distribute, subli... |
src/RaynMaker.Entities/Stock.cs | Tball40/RaynMaker | 1 | 7040209 | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Plainion.Validation;
using RaynMaker.Entities.Figures;
namespace RaynMaker.Entities
{
public class Stock : EntityBase
{
private string myIsin;
private string myWpkn;
private s... |
Drills.TennisMatch/Drills.TennisMatch.Desktop/Controls/AnimatedLabel.cs | eddieshan/Drills | 0 | 7040211 | using System;
using System.Windows;
using System.Windows.Controls;
namespace Drills.TennisMatch.Desktop.Controls
{
public class AnimatedLabel : Label
{
public static readonly RoutedEvent ContentChangedEvent = EventManager.RegisterRoutedEvent(
"ContentChanged", RoutingStrategy.Bubble, typeo... |
exercises/practice/say/Say.cs | gmf002/csharp | 185 | 7040212 | <reponame>gmf002/csharp
using System;
public static class Say
{
public static string InEnglish(long number)
{
throw new NotImplementedException("You need to implement this function.");
}
} |
RESTAPI/Models/Requests/PasswordConfirmRequestModel.cs | zekroTJA/voidseeker | 5 | 7040213 | using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
namespace RESTAPI.Models.Requests
{
/// <summary>
/// The request model to confirm a passowrd
/// reset wrapping token and new password.
/// </summary>
public class PasswordConfirmRequestModel
{
[JsonPro... |
JohnChess/Rank.cs | johnathandavis/JohnChess | 2 | 7040214 | using System;
using System.Collections.Generic;
using System.Text;
namespace JohnChess
{
public enum Rank : int
{
_1 = 1,
_2 = 2,
_3 = 3,
_4 = 4,
_5 = 5,
_6 = 6,
_7 = 7,
_8 = 8
}
}
|
AccessManager/Views/Home/Index.cshtml | xiong-ang/MiniSSO | 0 | 7040215 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>AccessManager</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">... |
Assets/Scripts/Movement.cs | KKEV1NN/Smash- | 1 | 7040216 | using System.Collections;
using System.Collections.Generic;
using Valve.VR;
using UnityEngine;
public class Movement : MonoBehaviour
{
public SteamVR_Input_Sources _Hand;
public SteamVR_Action_Vector2 _Touchpad;
public float speed;
public Camera InsertCamHere;
// Start is called before the first frame upd... |
src/SchedulingClients.Core/Service References/SchedulingServiceReference/Reference.cs | GuidanceAutomation/SchedulingClients | 0 | 7040217 | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
src/xna/BackyardBattleField/BackyardBattlefield.Common/LivingGameObject.cs | mwwhited/PlaygroundGames | 0 | 7040218 | <gh_stars>0
using System;
using System.Collections.Generic;
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 Microsoft.Xna.Framework.N... |
Sunctum.Domain/Logic/Async/BookTagInitializing.cs | dhq-boiler/Sunctum | 0 | 7040219 | <reponame>dhq-boiler/Sunctum
using NLog;
using Sunctum.Domain.Data.Dao;
using Sunctum.Domain.Data.DaoFacade;
using Sunctum.Domain.ViewModels;
using System.Linq;
namespace Sunctum.Domain.Logic.Async
{
public class BookTagInitializing : AsyncTaskMakerBase, IBookTagInitializing
{
private static readonl... |
src/ikc/main/Ioke.Lang/ISpecMain.cs | olabini/ioke | 77 | 7040220 | <filename>src/ikc/main/Ioke.Lang/ISpecMain.cs
public class ISpecMain {
public static void Main(string[] args) {
string[] newArgs = new string[args.Length+1];
System.Array.Copy(args, 0, newArgs, 1, args.Length);
string current = System.Reflection.Assembly.GetExecutingAssembly().Location;
... |
Encryptior/FirstPassword.cs | Encryptior/EncryptiorDotNetApp | 2 | 7040221 | <reponame>Encryptior/EncryptiorDotNetApp
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;
using System.IO;
using Nethereum.Hex.HexConvertors.Extensions;
u... |
Client/Common/O10.Client.Common/Interfaces/IIdentityAttributesService.cs | muaddibco/O10city | 1 | 7040222 | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using O10.Client.Common.Identities;
using O10.Core.Architecture;
namespace O10.Client.Common.Interfaces
{
[ServiceContract]
public interface IIdentityAttributesService
{
IEnumerable<(string validationType, string validat... |
AMBEDConfig/AMBEDConfig.Designer.cs | mkagawa/AMBEDConfig | 1 | 7040223 | /*
AMBED Config
Copyright © 2018 <NAME> NW6UP
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, pu... |
src/OmniSharp.Abstractions/Models/v1/InlayHints/InlayHintResolveRequest.cs | stg609/omnisharp-roslyn | 1 | 7040224 | <filename>src/OmniSharp.Abstractions/Models/v1/InlayHints/InlayHintResolveRequest.cs
using OmniSharp.Mef;
namespace OmniSharp.Models.v1.InlayHints;
[OmniSharpEndpoint(OmniSharpEndpoints.InlayHintResolve, typeof(InlayHintResolveRequest), typeof(InlayHint))]
public record InlayHintResolveRequest : IRequest
{
publi... |
DIImprove/Injection/Attributes/ConfigurationSectionAttribute.cs | sattinos/DIImprove | 0 | 7040225 | <filename>DIImprove/Injection/Attributes/ConfigurationSectionAttribute.cs
using System;
namespace DIImprove.Injection.Attributes
{
[AttributeUsage(System.AttributeTargets.Class)]
public class ConfigurationSectionAttribute : Attribute
{
public string KeyName { get; }
public ConfigurationSect... |
src/Web.RazorPages/Areas/Admin/ViewModels/WorkExampleViewModel.cs | smirnov-coder/startup-creative-agency-razor-pages | 1 | 7040226 | <gh_stars>1-10
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using StartupCreativeAgency.Web.RazorPages.Areas.Admin.Attributes;
namespace StartupCreativeAgency.Web.RazorPages.Areas.Admin.ViewModels
{
public class WorkExampleViewModel
{
[H... |
RomVaultXCore/RomRootDir.cs | skyhoshi/RVWorld | 66 | 7040227 | <reponame>skyhoshi/RVWorld<filename>RomVaultXCore/RomRootDir.cs
using System;
using RVXCore.Util;
namespace RVXCore
{
public static class RomRootDir
{
private static readonly string[] rootDirs;
static RomRootDir()
{
if (!System.IO.File.Exists("DirPaths.conf"))
... |
KlotosLib.UnitTests/Angles/RotationAngleTest.cs | Klotos/KlotosLib | 0 | 7040228 | <filename>KlotosLib.UnitTests/Angles/RotationAngleTest.cs
using System;
using System.Globalization;
using KlotosLib.Angles;
using NUnit.Framework;
namespace KlotosLib.UnitTests.Angles
{
[NUnit.Framework.TestFixture]
public class RotationAngleTest
{
private static MeasurementUnit ConvertFromNumber(... |
Tests/LibraryTests/StreamExtentTest.cs | fantasydr/DiscUtils | 535 | 7040229 | <filename>Tests/LibraryTests/StreamExtentTest.cs<gh_stars>100-1000
//
// Copyright (c) 2008-2011, <NAME>
//
// 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 w... |
test/Masa.Contrib.Dispatcher.Events.CheckMethodsParameterType.Tests/EventHandlers/AddCatalogHandler.cs | capdiem/MASA.Contrib | 3 | 7040230 | <reponame>capdiem/MASA.Contrib
namespace Masa.Contrib.Dispatcher.Events.CheckMethodsParameterType.Tests.EventHandlers;
public class AddCatalogHandler
{
/// <summary>
/// The method name of this method can be named according to the actual business
/// but we recommend HandlerAsync or CancelAsync if the busi... |
src/EasyRepository.EFCore.Abstractions/IEasyCreateDateEntity.cs | furkandeveloper/EasyRepository.EFCore | 34 | 7040231 | <filename>src/EasyRepository.EFCore.Abstractions/IEasyCreateDateEntity.cs<gh_stars>10-100
using System;
namespace EasyRepository.EFCore.Abstractions
{
/// <summary>
/// This interface implemented creation date for entity
/// </summary>
public interface IEasyCreateDateEntity
{
/// <summary>... |
src/GemTracker.Shared/Fetchers/Steps/TokenHoldersStep.cs | JoWProDev/TokenTalksTracker | 14 | 7040232 | <filename>src/GemTracker.Shared/Fetchers/Steps/TokenHoldersStep.cs
using GemTracker.Shared.Domain;
using GemTracker.Shared.Domain.DTOs;
using GemTracker.Shared.Extensions;
using GemTracker.Shared.Services;
using System;
using System.Threading.Tasks;
namespace GemTracker.Shared.Fetchers.Steps
{
public class TokenH... |
src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Documents/FlowDocument.cs | Mu-L/wpf | 1 | 7040233 | <filename>src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Documents/FlowDocument.cs
// 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.
//
// Descript... |
src/PersonalBlog.App/Services/BlogService.cs | okusnadi/PersonalBlog | 1 | 7040234 | <reponame>okusnadi/PersonalBlog<gh_stars>1-10
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using PersonalBlog.App.Data;
using SAFe.Infrastructure.Services;
namespace PersonalBlog.App.Services
{
/// <summary>
/// Represent... |
AddIn/Dialog/Config/ConfigWindow.Designer.cs | garafu/ExcelExtension | 0 | 7040235 | namespace ExcelX.AddIn.Dialog.Config
{
partial class ConfigWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summar... |
Models/RelationshipXref.cs | ericwood8/FamilyGenerator | 1 | 7040236 | <reponame>ericwood8/FamilyGenerator
using System;
using FamilyGenerator.Enums;
using FamilyGenerator.ExtensionMethods;
// ours
namespace FamilyGenerator.Models
{
public class RelationshipXref
{
public FamilyMember Child { get; }
public FamilyMember AdultMale { get; }
public ... |
MTG-Inventory/MVVM/ViewModel/AllCardsViewModel.cs | mikeGafert/MTG-Inventory | 1 | 7040237 | <gh_stars>1-10
using MTG_Inventory.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using MTG_Inventory.Classes;
using MTG_Inventory.MVVM.Model;
using MTG_Inventory.MVVM.View;
using System.Windows.Controls;
namespace MTG_Inventory.MVVM.ViewModel
{
class AllCardsViewMo... |
sting-handling/Task1/Task1/Program.cs | MikkoTur/Programming-basics | 0 | 7040238 | <filename>sting-handling/Task1/Task1/Program.cs
using System;
namespace Task1
{
class Program
{
static void Main(string[] args)
{
Console.OutputEncoding = System.Text.Encoding.UTF8;
Console.WriteLine("Ohjelma ilmoittaa merkkien lukumäärän");
string merkkijon... |
test/CmdLine.Tests/CmdLineDriverTest.cs | andykernahan/ak-cmdline | 1 | 7040239 | <reponame>andykernahan/ak-cmdline<gh_stars>1-10
// Copyright 2011 <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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.