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 |
|---|---|---|---|---|
System.Web/UI/WebControls/CalendarDay.cs | cnork/referencesource | 911 | 7050240 | //------------------------------------------------------------------------------
// <copyright file="CalendarDay.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//----------------------------------... |
src/Package/Test/Package/RPackageTest.cs | skeptycal/RTVS | 429 | 7050241 | <reponame>skeptycal/RTVS
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System.Diagnostics.CodeAnalysis;
namespace Microsoft.VisualStudio.R.Package.Test.Package {
[ExcludeFromCodeCoverage]
public c... |
Assets/TatemonSugoroku/Scripts/Siren/MoveArrow/MoveArrowManagerView.cs | TatemonSugorokuGame/TatemonSugorokuGame | 0 | 7050242 | <filename>Assets/TatemonSugoroku/Scripts/Siren/MoveArrow/MoveArrowManagerView.cs
using System.Linq;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Cysharp.Threading.Tasks;
using DG.Tweening;
using KoganeUnityLib;
using SubmarineMirage.Base;
using SubmarineMirage.Service;
using Subm... |
Mapsui.VectorTileLayers.Core/Interfaces/ITileDataSink.cs | inforithmics/VectorTileLayers | 1 | 7050243 | using Mapsui.VectorTileLayers.Core.Enums;
using Mapsui.VectorTileLayers.Core.Primitives;
namespace Mapsui.VectorTileLayers.Core.Interfaces
{
public interface ITileDataSink
{
void Process(VectorElement element);
/// <summary>
/// Notify loader that tile loading is completed.
//... |
Objects/LetterVariables.cs | Andychochocho/friend-letter | 0 | 7050244 | <filename>Objects/LetterVariables.cs
namespace Letter.Objects
{
public class LetterVariables
{
public string Recipient { get; set; }
public string Sender { get; set; }
public string Places {get; set; }
}
}
|
src/Dnc.Seedwork/AppServices/QueryableExtensions.cs | gainorloss/Dnc.Core | 13 | 7050245 | <reponame>gainorloss/Dnc.Core
using Dnc.AppServices;
using System;
using System.Linq;
using System.Linq.Dynamic.Core;
namespace Dnc
{
public static class QueryableExtensions
{
public static IQueryable<T> SortBy<T>(this IQueryable<T> source, string orderBy, IPropertyMapping mapping)
{
... |
src/PKShop.Web/Extensions/GuardForNulls.cs | PiotrKantorowicz1/CompanyCars | 1 | 7050246 | <gh_stars>1-10
using System;
namespace PKShop.Web.Extensions
{
public static class GuardForNulls
{
public static void CheckForNulls(this object obj, string name)
{
if (obj == null)
{
throw new ArgumentNullException(name);
}
}
}
}
|
blackout/Assets/Scripts/ClickToGo.cs | waynewolf/abucket | 1 | 7050247 | <gh_stars>1-10
using UnityEngine;
using System.Collections;
using UnityStandardAssets.CrossPlatformInput;
using UnityEngine.EventSystems;
public class ClickToGo : BOBehaviour {
void Start () {
}
void Update () {
bool clicked = false;
Vector3 clickPosition = Vector3.zero;
if (Input.touchCount > 0) {
Tou... |
Tests.Bebop.Monads/Monads/Test_CrossEquality.cs | cptjazz/Bebop.Monads | 2 | 7050248 | // Copyright 2020, <NAME>
// License: https://opensource.org/licenses/MIT
using NUnit.Framework;
namespace Bebop.Monads
{
[TestFixture]
public class Test_CrossEquality
{
[Test]
public void ReferenceType()
{
var a = Maybe.From("yada");
var b = Maybe.From(typ... |
LightLib.Web/Controllers/BookController.cs | timtran12/CSE4321Group7 | 0 | 7050249 | <reponame>timtran12/CSE4321Group7
using System.Threading.Tasks;
using LightLib.Models.DTOs.Assets;
using LightLib.Service.Books;
using LightLib.Service.Interfaces;
using Microsoft.AspNetCore.Mvc;
namespace LightLib.Web.Controllers
{
public class BookController : Controller
{
IBookService _bookService... |
core/Brochure.ORM/Database/DbTable.cs | mingyaaaa/Brochure | 3 | 7050250 | <reponame>mingyaaaa/Brochure
using Brochure.ORM.Atrributes;
using System;
using System.Data;
using System.Threading.Tasks;
namespace Brochure.ORM.Database
{
/// <summary>
/// The db table.
/// </summary>
public abstract class DbTable : IAsyncDisposable, ITransaction
{
private readonly DbCon... |
CrabGame Cheat/JNNJMods Cheat Essentials/ClickGUI/ClickGUI.cs | Ju1-js/CrabGame-Cheat | 0 | 7050251 | using JNNJMods.CrabGameCheat.Util;
using JNNJMods.Render;
using JNNJMods.UI.Elements;
using System;
using System.Collections.Generic;
using UnityEngine;
namespace JNNJMods.UI
{
/// <summary>
/// A Class for creating a ClickGUI.
/// </summary>
public class ClickGUI
{
#region Variables
... |
NHS111/NHS111.Domain.Api/Controllers/VersionController.cs | NHSChoices/nhs111-online | 1 | 7050252 | <reponame>NHSChoices/nhs111-online
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using NHS111.Domain.Repository;
using NHS111.Utils.Attributes;
using NHS111.Utils.Extensions;
namespace NHS111.Domain.Api.... |
MonoJavaBridge/android/generated/android/media/AsyncPlayer.cs | JeroMiya/androidmono | 3 | 7050253 | <gh_stars>1-10
namespace android.media
{
[global::MonoJavaBridge.JavaClass()]
public partial class AsyncPlayer : java.lang.Object
{
internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
protected AsyncPlayer(global::MonoJavaBridge.JNIEnv @__env) : base(@__env)
{
}
private static global::M... |
src/core/Elsa.Abstractions/Services/Bookmarks/IBookmarkIndexer.cs | martinhjulstrom/elsa-core | 1 | 7050254 | using System.Threading;
using System.Threading.Tasks;
using Elsa.Models;
namespace Elsa.Services
{
public interface IBookmarkIndexer
{
Task IndexBookmarksAsync(WorkflowInstance workflowInstance, CancellationToken cancellationToken = default);
Task DeleteBookmarksAsync(string workflowInstanceId... |
sdk/machinelearningservices/Azure.ResourceManager.MachineLearningServices/src/Generated/Models/LinkedInfo.Serialization.cs | gjy5885/azure-sdk-for-net | 3,268 | 7050255 | <gh_stars>1000+
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Text.Json;
using Azure.Core;
namespace Azure.ResourceManager.MachineLearningServices.Models
{
public partial class LinkedInfo : IUtf8JsonSerializabl... |
ChunkIO/Event.cs | romkatv/ChunkIO | 7 | 7050256 | // Copyright 2019 <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 writin... |
PieceOfCake.Core/Entities/Dish.cs | KirilToshev/PieceOfCake | 0 | 7050257 | using CSharpFunctionalExtensions;
using PieceOfCake.Core.Common;
using PieceOfCake.Core.Enumerations;
using PieceOfCake.Core.Persistence;
using PieceOfCake.Core.Resources;
using PieceOfCake.Core.ValueObjects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PieceOfCake.C... |
src/Orleans.Core.Abstractions/Activation/IGrainContext.cs | wangjia184/orleans | 0 | 7050258 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Orleans.Serialization.Invocation;
namespace Orleans.Runtime
{
/// <summary>
/// Represents a grain from the perspective of the runtime.
/// </summary>
public interface IGrainContext :... |
code/src/Core/PostActions/Catalog/Merge/IEnumerableExtensions.cs | stefb965/WindowsTemplateStudio | 0 | 7050259 | <filename>code/src/Core/PostActions/Catalog/Merge/IEnumerableExtensions.cs
// ******************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THE CODE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS ... |
src/InterpretGO/Views/Assignments/Index.cshtml | katyisgreaty/InterpretGO | 0 | 7050260 | @{
Layout = "~/Views/Shared/_Layout.cshtml";
}
@model IEnumerable<InterpretGO.Models.Assignment>
<h2>Assigments</h2>
<table class="table">
<tr>
<th>
@Html.DisplayNameFor(model => model.Title)
</th>
<th>
@Html.DisplayNameFor(model => model.Date)
</th... |
PresetMagician.WrapperPlugin/PluginCommandStubAdapter.cs | PresetMagician/PresetMagician | 35 | 7050261 | <gh_stars>10-100
using System;
using System.Configuration;
using System.Drawing;
using Jacobi.Vst.Core;
using Jacobi.Vst.Core.Plugin;
using Jacobi.Vst.Interop.Host;
namespace Jacobi.Vst.Samples.WrapperPlugin
{
public class PluginCommandStubAdapter : IVstPluginCommandStub
{
private VstPluginContext _p... |
CookPopularControl/Controls/Animation/AnimationPath.cs | Muzsor/CookPopularControl | 18 | 7050262 | <gh_stars>10-100
using CookPopularCSharpToolkit.Communal;
using CookPopularCSharpToolkit.Windows;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
/*
* Copyright (c) 2021 ... |
simple_example/Program.cs | NimbusFox/rlImGui-cs | 0 | 7050263 | /*******************************************************************************************
*
* raylib-extras [ImGui] example - Simple Integration
*
* This is a simple ImGui Integration
* It is done using C++ but with C style code
* It can be done in C as well if you use the C ImGui wrapper
* https://github.com/cim... |
ZarinpalUrlConfig.cs | hrsh/Msh.Zarinpal.Api | 2 | 7050264 | namespace Zarinpal.Api
{
internal static class ZarinpalUrlConfig
{
private const string RequestUrl = "https://{0}zarinpal.com/pg/rest/WebGate/PaymentRequest.json";
private const string PgUrl = "https://{0}zarinpal.com/pg/StartPay/{1}";
private const string WebGateUrl = "https://{0}... |
Server/WcfService/WcfUsers.cs | pashcovich/sipserver | 95 | 7050265 | using System.Runtime.Serialization;
using Sip.Server.Users;
namespace Sip.Server.WcfService
{
[DataContract(Name = "Users", Namespace = "http://officesip.com/server.control")]
public class WcfUsers
{
public WcfUsers(IUsers users)
{
Id = users.Id;
SourceName = users.SourceName;
IsReadOnly = users.IsRea... |
sample/SampleEndpointApp/Endpoints/Authors/Get.cs | dannythunder/ApiEndpoints | 2,012 | 7050266 | <filename>sample/SampleEndpointApp/Endpoints/Authors/Get.cs
using System.Threading;
using System.Threading.Tasks;
using Ardalis.ApiEndpoints;
using AutoMapper;
using Microsoft.AspNetCore.Mvc;
using SampleEndpointApp.DomainModel;
namespace SampleEndpointApp.Endpoints.Authors
{
public class Get : EndpointBaseAsync
... |
src/AudioSourceHost/MarshaledEventHandler{T}.cs | chippleh1392/audio-band | 0 | 7050267 | <gh_stars>0
using System;
namespace AudioSourceHost
{
/// <summary>
/// Event handler wrapper for cross app domain callbacks.
/// </summary>
/// <typeparam name="T">Type of the event args</typeparam>
public class MarshaledEventHandler<T> : MarshalByRefObject
{
private readonl... |
OpenSkyRestClient/OpenSkyRestClient/Extensions/JsonElementExtensions.cs | bytefish/OpenSkyRestClient | 0 | 7050268 | // Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Text.Json;
namespace OpenSkyRestClient.Extensions
{
public static class JsonElementExtensions
{
public static string GetNullableString(this ... |
Core/Interfaces/ITableService.cs | livingston12/Restaurant-system-Api | 0 | 7050269 | using System.Threading.Tasks;
using Pandora.Core.Models.Requests;
using Pandora.Core.Models.Responses;
using Pandora.Core.ViewModels;
namespace Pandora.Core.Interfaces
{
public interface ITableService : IPandoraService
{
Task<Response<TableViewModel>> GetAsync(TableRequest filter);
Task<bool> R... |
src/Tfe.NetClient/Features/Workspaces/WorkspacesRequest.cs | cmendible/Tfe.NetClient | 8 | 7050270 | namespace Tfe.NetClient.Workspaces
{
using System.Text.Json.Serialization;
/// <summary>
/// WorkspacesRequest
/// </summary>
public class WorkspacesRequest
{
/// <summary>
/// WorkspacesRequest
/// </summary>
public WorkspacesRequest()
{
this... |
Source/NuGet.Package.Builder/ArgumentOptions.cs | ricaun/NuGet.Package.Builder | 9 | 7050272 | using CommandLine;
using CommandLine.Text;
namespace NuGet.Package.Builder
{
public class ArgumentOptions
{
[Option('a', "path", Required = true, HelpText = "Path to nuget.exe")]
public string PathToNuGet { get; set; }
[Option('t', "targetName", Required = true, HelpText = "Target name of project")]
public... |
src/Tcg.Owin.Cookies.SessionStore.Redis/RedisAuthenticationSessionStore.cs | competencegroup/Tcg.Owin.Cookies.SessionStore | 0 | 7050273 | using Foundatio.Caching;
using Microsoft.Owin.Security;
using Microsoft.Owin.Security.Cookies;
using Newtonsoft.Json.Linq;
using StackExchange.Redis;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Text;
using System.Threading.Tasks;
namespace Tcg.Owin.Coo... |
UpdateUIElements.cs | Rowwbit/WeatherAlert_DB | 1 | 7050274 | <filename>UpdateUIElements.cs<gh_stars>1-10
using ScottPlot;
using SharedResourceLib;
using SharedResourceLib.DirAndIOSystems;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Threading... |
XamarinFormsPushDemo/XamarinFormsPushDemo/XamarinFormsPushDemo/HMSPush/Model/EventHandlers.cs | MEnesDurmusHW/HMS-Push-Kit-Demo | 0 | 7050275 | using System;
using System.Collections.Generic;
using System.Text;
namespace XamarinFormsPushDemo.HMSPush.Model
{
public delegate void OnNewTokenHandler(string token);
public delegate void OnTokenErrorHandler(Exception exception);
public delegate void OnMessageReceivedHandler(RemoteMessage message);
p... |
src/LightWiki.Infrastructure/AutoMapper/CollectionResultConverter.cs | Tarikan/LightWiki | 0 | 7050276 | <reponame>Tarikan/LightWiki
using AutoMapper;
using LightWiki.Infrastructure.Models;
namespace LightWiki.Infrastructure.AutoMapper;
public sealed class CollectionResultConverter<TSource, TDest> : ITypeConverter<CollectionResult<TSource>, CollectionResult<TDest>>
{
public CollectionResult<TDest> Convert(
... |
src/microservices/users/src/Infrastructure/Metrics/PrometheusMetricsRegistry.cs | Expense-Tracker-Team/portfolio-manager | 10 | 7050277 | <gh_stars>1-10
namespace Infrastructure.Metrics
{
using Application.Infrastructure.Metrics;
using Prometheus;
// In case you are hesitating how to name your metric, consult https://prometheus.io/docs/practices/naming/
public class PrometheusMetricsRegistry : IMetricsRegistry
{
private stat... |
Framework.MVC/Extensions/HtmlHelperExtensions.cs | jmirancid/TropicalNet.Framework | 0 | 7050278 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Web;
using System.Web.Mvc;
namespace Framework.MVC.Extensions
{
public static class HtmlHelperExtensions
{
public static MvcHtmlString IdFor<TModel, TProperty>(
this H... |
Encuestas/Softv/SoftvMVC/Views/Home/Index.cshtml | nubiancc/CallCenter | 1 | 7050279 | @{
ViewBag.Title = "Inicio";
}
<!-- Main content -->
<section class="content">
<!-- Main row -->
<div class="row">
<div class="col-md-12">
<p class="text-center" style="padding-top:60px;">
<img src="~/dist/img/logo.png" width="600" height="500" />
</p>
... |
apps/accord/src/Agree.Accord.Presentation/Identity/Controllers/AccountController.cs | vassourita/agree | 14 | 7050280 | using System;
using System.Linq;
using System.Threading.Tasks;
using Agree.Accord.Domain.Identity;
using Agree.Accord.Domain.Identity.Dtos;
using Agree.Accord.Domain.Identity.Services;
using Agree.Accord.Domain.Providers;
using Agree.Accord.Presentation.Identity.ViewModels;
using Agree.Accord.Presentation.Responses;
us... |
Lost/Lost.Experimental/Serialization/IBinaryBlob.cs | brgishy/Lost | 17 | 7050281 | //-----------------------------------------------------------------------
// <copyright file="IBinaryBlob.cs" company="Lost Signal LLC">
// Copyright (c) Lost Signal LLC. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Lost
{
using Syste... |
modules/pricer/src/main/java/com/opengamma/strata/pricer/fx/FxIndexRates.cs | ckarcz/Strata.ConvertedToCSharp | 0 | 7050282 | <gh_stars>0
/*
* Copyright (C) 2015 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
namespace com.opengamma.strata.pricer.fx
{
using Currency = com.opengamma.strata.basics.currency.Currency;
using MultiCurrencyAmount = com.opengamma.strata.basics.curre... |
WordpressToMD/Services/IConvertWpToMdService.cs | pcmichaels/WordpressToMD | 0 | 7050283 | <reponame>pcmichaels/WordpressToMD
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WordpressToMD.Services
{
public interface IConvertWpToMdService
{
string Convert(string input);
}
}
|
ICSharpCode.Decompiler.Tests/TestCases/Pretty/AutoProperties.cs | Jorch72/CS-ILSpy | 1 | 7050284 | <reponame>Jorch72/CS-ILSpy
using System;
namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty
{
// TODO : maybe use single-line formatting in this case?
internal class AutoProperties
{
public int A {
get;
} = 1;
public int B {
get;
set;
} = 2;
public static int C {
get;
} = 3;
publi... |
src/SimScale.Sdk/Model/GeographicalLocation.cs | SimScaleGmbH/simscale-csharp-sdk | 8 | 7050285 | <reponame>SimScaleGmbH/simscale-csharp-sdk<filename>src/SimScale.Sdk/Model/GeographicalLocation.cs
/*
* SimScale API
*
* The version of the OpenAPI document: 0.0.0
*
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
us... |
BlazorServerAppMovies4/BlazorApp4s/obj/Debug/netcoreapp3.1/Razor/Pages/Operators/Index.cshtml.g.cs | mwherman2000/CSharpSuperStack | 2 | 7050286 | #pragma checksum "C:\CSSS\CSharpSuperStack\BlazorServerAppMovies4\BlazorApp4s\Pages\Operators\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "b15dce132052de1621236fc73306c292d7b47183"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribu... |
MiningPrototype/Assets/Scripts/Inventory/InventorySlotVisualizer.cs | LucxMangaJet/BAMiningPrototype | 1 | 7050287 | using System;
using System.Collections;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.EventSystems;
using UnityEngine.UI;
using TMPro;
using Zenject;
public class InventorySlotVisualizer : Button, IBeginDragHandler, IEndDragHandler, IDragHandler, IDropReceiver
{
[SerializeField] public Image icon... |
src/Services/Rendering/Markify.Services.Rendering.T4/MarkdownHelper.cs | Julien-Pires/Markify | 2 | 7050288 | <reponame>Julien-Pires/Markify
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Mime;
using System.Text;
using System.Text.RegularExpressions;
namespace Markify.Services.Rendering.T4
{
internal static class MarkdownHelper
{
#region Fields
private const strin... |
Seed.Api/Models/UserDto.cs | mravinale/net-core-api | 1 | 7050289 | using Seed.Data.Models;
using System;
namespace Seed.Api.Models
{
public class UserDto
{
public UserDto() { }
public UserDto(User user)
{
Id = user.Id;
CreatedAt = user.CreatedOn;
UpdatedAt = user.UpdatedOn;
FirstName = use... |
PathfinderHomebrew/obj/Debug/netcoreapp3.1/Razor/Views/Item/Index.cshtml.g.cs | Scaleo96/PathfinderDatabase | 0 | 7050290 | <gh_stars>0
#pragma checksum "C:\Users\Johan\source\repos\PathfinderHomebrew\PathfinderHomebrew\Views\Item\Index.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "fe5778e6b4715feec9a0a753b0d170405e8e24f8"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompil... |
AppMain/Modulus/Physics/Vector2.cs | tianjiuwan/DemoServer | 0 | 7050291 | <reponame>tianjiuwan/DemoServer<filename>AppMain/Modulus/Physics/Vector2.cs
namespace TwlPhy
{
using System;
using System.Runtime.InteropServices;
// Representation of 2D vectors and points.
[StructLayout(LayoutKind.Sequential)]
public struct Vector2 : IEquatable<Vector2>
{
// X compon... |
AVF.MemberManagement/AVF.MemberManagement/UserControls/FindMembersView.xaml.cs | aikido-forchheim/membermanagement | 2 | 7050292 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AVF.MemberManagement.ViewModels;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace AVF.MemberManagement.UserControls
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public parti... |
TableTemp/ClanData/CRUD.cs | TaiwanSpring/L1CSharpTW | 0 | 7050293 | private readonly static IDataSource dataSource = Container.Instance.Resolve<IDataSourceFactory>().Factory(Enum.DataSourceTypeEnum.ClanData);
IList<IDataSourceRow> dataSourceRows = dataSource.Select().Query();
for (int i = 0; i < dataSourceRows.Count; i++)
{
IDataSourceRow dataSourceRow = dataSourceRows[i];
}
IData... |
unity/basic/Assets/Plugins/lwf/renderer/drawmesh/lwf_drawmesh_factory.cs | gree/lwf-demo | 12 | 7050294 | /*
* Copyright (C) 2012 GREE, Inc.
*
* 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 comme... |
snippets/csharp/System.DateTime/Program.cs | BohdanMosiyuk/samples | 2 | 7050295 | <gh_stars>1-10
namespace SystemDateTimeReference
{
class Program
{
static void Main(string[] args)
{
//Instantiation.Snippets();
//StringFormat.Snippets();
//Parsing.Snippets();
//Resolution.Snippets();
//CalendarSamples.Snippets();
... |
Light window application/Light/ComWrapper.cs | ziajek444/MultipointLightAdjust | 1 | 7050296 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO.Ports;
namespace Light
{
class ComWrapper
{
SerialPort Port;
String Data;
static String StaryPort = "";
public delegate void Event... |
src/War3Api.Object/Generated/1.32.10.17734/Abilities/ShadowOrbAbility.cs | YakaryBovine/AzerothWarsCSharp | 0 | 7050297 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using War3Api.Object.Abilities;
using War3Api.Object.Enums;
using War3Net.Build.Object;
using War3Net.Common.Extensions;
namespace War3Api.Object.Abilities
{
public sealed class ShadowOrbAbility : ... |
Famoser.FrameworkEssentials/Services/ProgressService.cs | famoser/FrameworkEssentials | 1 | 7050298 | using System.Collections.Generic;
using System.Linq;
using Famoser.FrameworkEssentials.Models;
using Famoser.FrameworkEssentials.Services.Interfaces;
namespace Famoser.FrameworkEssentials.Services
{
/// <summary>
/// This is an implementation of the IProgressService.
/// It also implementes the IPropertyC... |
Src/Utils/Test/TestHelper.cs | MonoInfinity/mono-shopping-store-be | 0 | 7050299 | <filename>Src/Utils/Test/TestHelper.cs<gh_stars>0
using System.Linq;
using System;
namespace store.Src.Utils.Test
{
public enum RamdomStringType
{
LETTER_NUMBER = 1,
LETTER_NUMBER_LOWER_CASE = 2,
LETTER_LOWER_CASE = 3,
LETTER = 4,
NUMBER = 5,
}
public class TestH... |
src/Birthday.Telegram.Bot/Services/BotMessageProcessor.cs | kokos-coding/birthday-telegram-bot | 0 | 7050300 | <gh_stars>0
using System.Globalization;
using Birthday.Telegram.Bot.Controls;
using Birthday.Telegram.Bot.Models;
using Birthday.Telegram.Bot.Services.Abstractions;
using Birthday.Telegram.Bot.ApplicationServices.Queries;
using Birthday.Telegram.Bot.ApplicationServices.Commands;
using MediatR;
using Telegram.Bot... |
Assets/Scripts/SteeringSystem/SingleSteerings/Interpose.cs | aOttf/SoccerSim | 0 | 7050301 | <filename>Assets/Scripts/SteeringSystem/SingleSteerings/Interpose.cs<gh_stars>0
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace SteeringSystem
{
public class Interpose : SteeringBehaviour
{
[SerializeField] protected SteerAgent m_targetA;
[SerializeField... |
Core/AppInfo.cs | Baltasarq/Colorado | 2 | 7050302 | <reponame>Baltasarq/Colorado
// Colorado (c) 2015 Baltasar MIT License <<EMAIL>>
/*
* Colorado, a csv-based spreadsheet
*/
namespace Colorado.Core {
public static class AppInfo {
public const string Name = "Colorado";
public const string Version = "v1.2.6 20200116";
public const string Author = "<EMAIL>... |
SadConsole/Extensions/XamlExtensions.cs | AnotherEpigone/SadConsole | 699 | 7050303 | namespace SadConsole
{
/// <summary>
/// Horizontal alignment modes.
/// </summary>
public enum HorizontalAlignment
{
/// <summary>
/// Left alignment.
/// </summary>
Left = 0,
/// <summary>
/// Center alignment.
/// </summary>
Center ... |
Modules/RM.Lib.UzTicket/Model/RouteData.cs | RainmakerUA/uzticket-net | 0 | 7050304 | <reponame>RainmakerUA/uzticket-net<filename>Modules/RM.Lib.UzTicket/Model/RouteData.cs
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using RM.Lib.UzTicket.Contracts;
using RM.Lib.UzTicket.Contracts.DataContracts;
using RM.Lib.UzTicket.Utils;
namespace RM.Lib.UzTicket.Model
{
[Da... |
ExceptionalBear.Net6.Web/Program.cs | swuiceb/Icebear | 0 | 7050305 | <filename>ExceptionalBear.Net6.Web/Program.cs
using System.Configuration;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Mvc.ApplicationParts;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Configuration;
using yourLogs.Exceptions.Core.Log... |
MyTest1/MyTest1/Ejercicios EXAMEN.cs | Ter15/Test1 | 0 | 7050306 |
using ejemplo2;
using System;
using System.Collections.Generic;
using System.Reflection.Metadata.Ecma335;
using System.Resources;
using System.Threading.Tasks.Dataflow;
namespace MyTest1
{
class Ejercicios_EXAMEN
{
// HACER UNA FUNCIÓN QUE RECIBA 2 NUMEROS ENTEROS Y DEVUEKVA LA SUMA DE LOS 2. NO TENG... |
ENET MVC/EnetMVC/DAL/DAL/DAL/Services/BaseService.cs | Shuvayu/DevPracticeBox | 2 | 7050307 | using System;
namespace DAL.Services
{
public class BaseService : IDisposable
{
protected EnetContext Context;
public BaseService()
{
Context = new EnetContext();
}
public BaseService(EnetContext context)
{
this.Context = context;
... |
EmpowerWeb/Areas/LossReport/Views/Shared/EditorTemplates/_PhoneTypeTemplate.cshtml | HaloImageEngine/EmpowerClaim-hotfix-1.25.1 | 0 | 7050308 | @using Kendo.Mvc.UI
@*@model EmpowerWeb.Areas.LossReport.Models.PhoneViewModel*@
@(Html.Kendo().DropDownList()
.Name("PhoneTypeId")
.HtmlAttributes(new { @class = "form-control" })
.OptionLabel("Select...")
.DataTextField("Description")
.DataValueField("Value")
.DataSource(source =... |
BannerlordTwitch/BLTAdoptAHero/Behaviors/BLTAdoptAHeroCustomMissionBehavior.cs | hermesdj/Bannerlord-Twitch | 9 | 7050309 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.CompilerServices;
using BannerlordTwitch.Helpers;
using BannerlordTwitch.Util;
using TaleWorlds.CampaignSystem;
using TaleWorlds.Core;
using TaleWorlds.MountAndBlade;
namespace BLTAdoptAHero
{
/// <summary>
/// Customizabl... |
配套代码/L025/L025/MainWindow.xaml.cs | zmrbak/WpfClassicalExamples | 33 | 7050310 | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
Hexify/Form1.cs | GeoSn0w/Hexify | 10 | 7050311 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Hexify
{
public partial class For... |
MathCore.DSP/Filters/Integrator.cs | Infarh/MathCore.DSP | 0 | 7050312 | <filename>MathCore.DSP/Filters/Integrator.cs
namespace MathCore.DSP.Filters
{
/// <summary>Интегратор</summary>
// Url: http://www.dsplib.ru/content/cic/cic.html
public class Integrator : IIR
{
/// <summary>Инициализация нового интегратора</summary>
public Integrator() : base(new[] { 1d... |
DSS/DSS.Bootstrap.Utilities/Json/DssBaseResultJsonFactory.cs | emir01/document-search-system | 0 | 7050313 | <filename>DSS/DSS.Bootstrap.Utilities/Json/DssBaseResultJsonFactory.cs
using System;
using DSS.Bootstrap.Utilities.Json.Interface;
using DSS.BusinessLogic.Objects.Enums;
using DSS.BusinessLogic.Objects.OperationResults;
using DSS.Common.Infrastructure.Web.JsonModelConstruction;
using DSS.Common.Infrastructure.Web.Obje... |
Assets/Space Graphics Toolkit/Features/Ring/Scripts/SgtRingMesh.cs | wdj294/Virgil | 1 | 7050314 | <reponame>wdj294/Virgil
using UnityEngine;
using UnityEngine.Serialization;
#if UNITY_EDITOR
using UnityEditor;
namespace SpaceGraphicsToolkit
{
[CanEditMultipleObjects]
[CustomEditor(typeof(SgtRingMesh))]
public class SgtRingMesh_Editor : SgtEditor<SgtRingMesh>
{
protected override void OnInspector()
{
va... |
src/backend/Infrastructure/Persistence/ApplicationDbContext.cs | mecvillarina/TernerAcademy | 0 | 7050315 | <reponame>mecvillarina/TernerAcademy
using Application.Common.Interfaces;
using Domain.Common;
using Domain.Entities;
using Domain.Views;
using Microsoft.EntityFrameworkCore;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
namespace Infrastructure.Persistence
{
pu... |
dotnetplsqltests/ErrorTestManaged.cs | raverkamp/dotnetplsql | 0 | 7050316 | <filename>dotnetplsqltests/ErrorTestManaged.cs
using System;
using System.Collections.Generic;
using Oracle.ManagedDataAccess.Client;
using spinat.dotnetplslmanaged;
using NUnit.Framework;
namespace spinat.dotnetplsqltests
{
public class ErrorTestManaged {
public ErrorTestManaged() {
}
OracleConnection ... |
src/IOutputWriter.cs | AlexGhiondea/OutputColorizer | 6 | 7050317 | <filename>src/IOutputWriter.cs
using System;
namespace OutputColorizer
{
public interface IOutputWriter
{
void Write(string text);
void WriteLine(string text);
ConsoleColor ForegroundColor { get; set; }
}
}
|
aliyun-net-sdk-gpdb/Gpdb/Model/V20160503/DescribeDBInstancesRequest.cs | awei1688/aliyun-openapi-net-sdk | 572 | 7050318 | /*
* 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
* "License"); you ... |
BayiPuan.Business/Concrete/Managers/KnowledgeTestManager.cs | keremvaris/NewGenFramework | 33 | 7050319 |
using System.Collections.Generic;
using System.Linq;
using BayiPuan.Business.Abstract;
using NewGenFramework.Core.Aspects.Postsharp.CacheAspects;
using NewGenFramework.Core.CrossCuttingConcerns.Caching.Microsoft;
using BayiPuan.DataAccess.Abstract;
using BayiPuan.Entities.Concrete;
using NewGenFramework.Core.CrossCut... |
BotBase/Exceptions/InvalidParameterException.cs | Topinambur223606/BotBase | 0 | 7050320 | <reponame>Topinambur223606/BotBase<filename>BotBase/Exceptions/InvalidParameterException.cs
using System;
namespace BotBase.Exceptions
{
public class InvalidParameterException : BotException
{
public InvalidParameterException(string paramName, string paramValue, Type expectedType)
: base($... |
Runtime/NotionAPITest.cs | yotiky/unity-notion-api | 0 | 7050321 | using System;
using System.Collections;
using System.Linq;
using UnityEngine;
namespace BennyKok.NotionAPI
{
public class NotionAPITest : MonoBehaviour
{
public string apiKey;
public string database_id;
private IEnumerator Start()
{
var api = new NotionAPI(apiKey);
... |
Ocr.Wrapper/WindowsOcr/Word.cs | WingsMaker/ocr-all-in-one | 9 | 7050322 | <reponame>WingsMaker/ocr-all-in-one
using System;
namespace Ocr.Wrapper.WindowsOcr
{
public class Word
{
public BoundingRect BoundingRect { get; set; }
public string Text { get; set; }
internal static Word FromDynamic(dynamic ocrWord)
{
Word word = new Word();
... |
Code/DVMN/DoVuiHaiNao/Areas/WebManager/Data/MemberManagerRepository.cs | nguyendev/DVMN | 0 | 7050323 | using DoVuiHaiNao.Data;
using DoVuiHaiNao.Extension;
using DoVuiHaiNao.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DoVuiHaiNao.Areas.WebManager.Data
{
public class MemberManagerRepository : IMemberManagerRe... |
HEAL.VarPro/VariableProjection.cs | heal-research/HEAL.VarPro | 4 | 7050324 | using System;
using System.Linq;
using System.Threading;
namespace HEAL.VarPro {
public class VariableProjection {
public delegate void FeatureFunc(double[] alpha, ref double[,] phi);
public delegate void JacobianFunc(double[] alpha, ref double[,] Jac, ref int[,] ind);
public class Report {
public... |
OpenJiraTerminal/UserManager.cs | TehMightyPotato/OpenJiraTerminal | 0 | 7050325 | <gh_stars>0
using System;
using System.Collections.Generic;
using System.Text;
namespace OpenJiraTerminal
{
class UserManager
{
public string CreateUser()
{
return null;
}
public string DeleteUser()
{
return null;
}
}
}
|
auComCtl/CaptionedPictureBox.Designer.cs | misterhaan/au.util | 0 | 7050326 | namespace au.util.comctl {
partial class CaptionedPictureBox {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">tr... |
Samples/Monofoxe.Samples/Demos/ShapeDemo.cs | fdrobidoux/Monofoxe | 232 | 7050327 | using Microsoft.Xna.Framework;
using Monofoxe.Engine;
using Monofoxe.Engine.Drawing;
using Monofoxe.Engine.EC;
using Monofoxe.Engine.SceneSystem;
using Monofoxe.Engine.Utils;
using System.Diagnostics;
namespace Monofoxe.Samples.Demos
{
public class ShapeDemo : Entity
{
Color _mainColor = Color.White;
HsvColo... |
Doodle/TextBoxStreamWriter.cs | NickKrasikov/cautious-doodle | 0 | 7050328 | using System.IO;
using System.Text;
using System.Windows.Forms;
namespace Doodle
{
public class TextBoxStreamWriter : TextWriter
{
TextBox _output = null;
public TextBoxStreamWriter(TextBox output)
{
_output = output;
}
public override voi... |
Prison Escape/Library/Collab/Original/Assets/Scripts/Movement.cs | ArcaneWizard/The-Ghost-of-Mary-Crux | 0 | 7050329 | <reponame>ArcaneWizard/The-Ghost-of-Mary-Crux
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Movement : MonoBehaviour
{
private float speed;
private Rigidbody2D rig;
// Start is called before the first frame update
void S... |
src/ArcGISWindowsPhoneSDK/Samples/Extras/ElevationProfile/GraphDataTypes/BasicGraphData.cs | Esri/arcgis-samples-winphone | 1 | 7050330 | <gh_stars>1-10
using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using GraphSample.CustomControls;
nam... |
src/AK.F1.Timing.UI/src/Results/PlayLiveSessionResult.cs | andykernahan/ak-f1-timing | 3 | 7050331 | // Copyright 2010 <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 ... |
Projects/AAXDataEntityPerfTest/ODataUtility/Connected Services/D365/LedgerJournalFeePosting.cs | NathanClouseAX/AAXDataEntityPerfTest | 1 | 7050332 | <filename>Projects/AAXDataEntityPerfTest/ODataUtility/Connected Services/D365/LedgerJournalFeePosting.cs<gh_stars>1-10
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes ... |
src/Services/Payment/Payment.API/Models/Transaction.cs | MirolimMajidov/Jobs | 3 | 7050333 | using Jobs.Service.Common;
using System;
using System.ComponentModel.DataAnnotations;
namespace PaymentService.Models
{
public class Transaction : BaseEntity
{
[Required]
public Guid UserId { get; set; }
public string UserName { get; set; }
public double Amount { get; set; } ... |
Decia.Business.Common/Time/TimeValueType.cs | 1Schema/Open-Source | 0 | 7050334 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
namespace Decia.Business.Common.Time
{
public enum TimeValueType
{
[Description("Spot Value")]
SpotValue = 1,
[Description("Period Value")]
PeriodValue
}
... |
LanguageServer/src/Compiler/CodeCompletion/CodeCompletionCore.cs | desplesda/YarnSpinnerLanguageServer | 13 | 7050335 | <reponame>desplesda/YarnSpinnerLanguageServer<gh_stars>10-100
using System.Collections.Generic;
using System.Linq;
using Antlr4.Runtime;
using Antlr4.Runtime.Atn;
using Antlr4.Runtime.Misc;
namespace Antlr4CodeCompletion.Core.CodeCompletion
{
/// <summary>
/// </summary>
/// <remarks>
/// Port of antlr... |
collatz-conjecture/CollatzConjecture.cs | SylvesterH13/exercism.io-csharp | 0 | 7050336 | <reponame>SylvesterH13/exercism.io-csharp
using System;
public static class CollatzConjecture
{
public static int Steps(int number)
{
if (number <= 0)
throw new ArgumentOutOfRangeException("Number must be positive!");
if (number == 1)
return 0;
if (number % 2 ... |
Tassel.netcore/Tassel.All/Tassel.API/VM/File/UploadImage.VM.cs | TasselEngine/backend_dotnetcore | 0 | 7050339 | using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Tassel.API.VM.File {
[JsonObject]
public class UploadImageVM {
[JsonProperty("file")]
public string File { get; set; }
}
}
|
Form1.cs | kiyokiyo2/entdes2017 | 0 | 7050340 | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Git_Ex1
{
public partial class Form1 : Form
{
public Form1()
{
// Modificación desde otro reposit... |
Pfz/Threading/Disposers/OptimisticWriteLock.cs | kroll-software/KS.Foundation | 1 | 7050341 | <reponame>kroll-software/KS.Foundation<gh_stars>1-10
using System;
namespace Pfz.Threading.Disposers
{
/// <summary>
/// Class returned by WriteLock method.
/// </summary>
public struct OptimisticWriteLock:
IDisposable
{
private OptimisticReaderWriterLock _lock;
internal OptimisticWriteLock(Opti... |
test/FunctionalTests/Microsoft.OData.Core.Tests/UriParser/Binders/ExpandBinderTests.cs | Sreejithpin/odata.net | 1 | 7050342 | <gh_stars>1-10
//---------------------------------------------------------------------
// <copyright file="ExpandBinderTests.cs" company="Microsoft">
// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
// </copyright>
//--------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.