commit
stringlengths
40
40
subject
stringlengths
4
1.73k
repos
stringlengths
5
127k
old_file
stringlengths
2
751
new_file
stringlengths
2
751
new_contents
stringlengths
1
8.98k
old_contents
stringlengths
0
6.59k
license
stringclasses
13 values
lang
stringclasses
23 values
27d215cc7775e923412627945488cb38412d8f61
Fix OrderRecursivelyAsync bug with OrderByDescending
Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training,Chess-Variants-Training/Chess-Variants-Training
src/ChessVariantsTraining/ViewModels/CommentSorter.cs
src/ChessVariantsTraining/ViewModels/CommentSorter.cs
using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Threading.Tasks; using ChessVariantsTraining.DbRepositories; namespace ChessVariantsTraining.ViewModels { public class CommentSorter { ICommentVoteRepository voteRepo; IUserRepository userRe...
using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Threading.Tasks; using ChessVariantsTraining.DbRepositories; namespace ChessVariantsTraining.ViewModels { public class CommentSorter { ICommentVoteRepository voteRepo; IUserRepository userRe...
agpl-3.0
C#
42eacd34b079c86d3f92f99b341937f1ef529156
fix access level bug.
dotnetcore/CAP,dotnetcore/CAP,ouraspnet/cap,dotnetcore/CAP
src/DotNetCore.CAP.RabbitMQ/CAP.Options.Extensions.cs
src/DotNetCore.CAP.RabbitMQ/CAP.Options.Extensions.cs
using System; using DotNetCore.CAP; // ReSharper disable once CheckNamespace namespace Microsoft.Extensions.DependencyInjection { public static class CapOptionsExtensions { public static CapOptions UseRabbitMQ(this CapOptions options, string hostName) { return options.UseRabbitMQ(o...
using System; using DotNetCore.CAP; // ReSharper disable once CheckNamespace namespace Microsoft.Extensions.DependencyInjection { internal static class CapOptionsExtensions { public static CapOptions UseRabbitMQ(this CapOptions options, string hostName) { return options.UseRabbitMQ...
mit
C#
8105e4d89ef2aa18101104d70b56817b0c641481
apply responsecache to the whole controller
collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists,collinbarrett/FilterLists
src/FilterLists.Api/V1/Controllers/ListsController.cs
src/FilterLists.Api/V1/Controllers/ListsController.cs
using FilterLists.Services.Contracts; using Microsoft.AspNetCore.Mvc; namespace FilterLists.Api.V1.Controllers { [ApiVersion("1.0")] [Produces("application/json")] [ResponseCache(CacheProfileName = "Long-Lived")] public class ListsController : Controller { private readonly IFilterListServi...
using FilterLists.Services.Contracts; using Microsoft.AspNetCore.Mvc; namespace FilterLists.Api.V1.Controllers { [ApiVersion("1.0")] [Produces("application/json")] public class ListsController : Controller { private readonly IFilterListService filterListService; public ListsController...
mit
C#
379419deb03d62518fee0d3c3383c48f2820977f
add serialized issue type
wikibus/Argolis
src/Examples/TestHydraApi/Issue.cs
src/Examples/TestHydraApi/Issue.cs
using System.ComponentModel; using Hydra.Annotations; using Newtonsoft.Json; namespace TestHydraApi { [SupportedClass(IssueType)] [Description("An issue reported by our users")] public class Issue : IssueBase { private const string IssueType = "http://example.api/o#Issue"; public stri...
using System.ComponentModel; using Hydra.Annotations; using Newtonsoft.Json; namespace TestHydraApi { [SupportedClass("http://example.api/o#Issue")] [Description("An issue reported by our users")] public class Issue : IssueBase { public string Id { get; set; } [JsonProperty("t...
mit
C#
2681b5b8c65f992a000e6e45a0acfb98b0c96ab2
improve the XML comment on Execute.
jwChung/Experimentalism,jwChung/Experimentalism
src/Experiment/ExceptionCommand.cs
src/Experiment/ExceptionCommand.cs
using System; using Xunit.Sdk; namespace Jwc.Experiment { /// <summary> /// Exception 테스트 케이스를 나타냄. /// </summary> public class ExceptionCommand : TestCommand { private readonly Exception _exception; /// <summary> /// Initializes a new instance of the <see cref="ExceptionC...
using System; using Xunit.Sdk; namespace Jwc.Experiment { /// <summary> /// Exception 테스트 케이스를 나타냄. /// </summary> public class ExceptionCommand : TestCommand { private readonly Exception _exception; /// <summary> /// Initializes a new instance of the <see cref="ExceptionC...
mit
C#
5710b6d09441a0a2d3cb9778ae927da14b5087cd
Fix ProjectN regression in `ByReference<T>` (dotnet/corert#6713)
BrennanConroy/corefx,wtgodbe/corefx,ptoonen/corefx,wtgodbe/corefx,shimingsg/corefx,BrennanConroy/corefx,ViktorHofer/corefx,wtgodbe/corefx,ericstj/corefx,wtgodbe/corefx,shimingsg/corefx,BrennanConroy/corefx,ptoonen/corefx,ViktorHofer/corefx,shimingsg/corefx,ptoonen/corefx,ptoonen/corefx,wtgodbe/corefx,ViktorHofer/corefx...
src/Common/src/CoreLib/System/ByReference.cs
src/Common/src/CoreLib/System/ByReference.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. using System.Runtime.CompilerServices; using System.Runtime.Versioning; namespace System { // ByReference<T> is...
// 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.Runtime.CompilerServices; using System.Runtime.Versioning; namespace System { // ByReference<T> is...
mit
C#
68db8b9ea0bb077cf0d18c1da026d41424e62276
Update property group type enum
arknu/Umbraco-CMS,robertjf/Umbraco-CMS,abryukhov/Umbraco-CMS,KevinJump/Umbraco-CMS,marcemarc/Umbraco-CMS,mattbrailsford/Umbraco-CMS,dawoe/Umbraco-CMS,abjerner/Umbraco-CMS,marcemarc/Umbraco-CMS,robertjf/Umbraco-CMS,dawoe/Umbraco-CMS,umbraco/Umbraco-CMS,bjarnef/Umbraco-CMS,dawoe/Umbraco-CMS,dawoe/Umbraco-CMS,marcemarc/Um...
src/Umbraco.Core/Models/PropertyGroupType.cs
src/Umbraco.Core/Models/PropertyGroupType.cs
namespace Umbraco.Core.Models { /// <summary> /// Represents the type of a property group. /// </summary> public enum PropertyGroupType : short { /// <summary> /// Display property types in a group. /// </summary> Group = 0, /// <summary> /// Display ...
namespace Umbraco.Core.Models { /// <summary> /// Represents the type of a property group. /// </summary> public enum PropertyGroupType : short { /// <summary> /// Display as a group (using a header). /// </summary> Group = 0, /// <summary> /// Displa...
mit
C#
3a76d4f102178578824a8c00a9a2e17a29a39baa
Fix comment
jameschch/LeanOptimization
Optimization/CompoundingAnnualReturnFitness.cs
Optimization/CompoundingAnnualReturnFitness.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Optimization { public class CompoundingAnnualReturnFitness : OptimizerFitness { public CompoundingAnnualReturnFitness(IOptimizerConfiguration config) : base(config) { ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Optimization { public class CompoundingAnnualReturnFitness : OptimizerFitness { public CompoundingAnnualReturnFitness(IOptimizerConfiguration config) : base(config) { ...
apache-2.0
C#
c58ee10b13da38509eea579587ea20fd3a2e663d
set security mode in startup
jerryhuffman/IdentityManager,jerryhuffman/IdentityManager,alibad/IdentityManager.vNext,nexbit/IdentityManager,IdentityManager/IdentityManager,Nicholi/IdentityManager,Ernesto99/IdentityManager,nexbit/IdentityManager,Ernesto99/IdentityManager,nexbit/IdentityManager,IdentityManager/IdentityManager,alibad/IdentityManager.v...
source/Host/Startup.cs
source/Host/Startup.cs
/* * Copyright (c) Dominick Baier, Brock Allen. All rights reserved. * see license */ using Owin; namespace Thinktecture.IdentityManager.Host { public class Startup { public void Configuration(IAppBuilder app) { int numberOfRandomUsers = new System.Random().Next(5000, 20000); ...
/* * Copyright (c) Dominick Baier, Brock Allen. All rights reserved. * see license */ using Owin; namespace Thinktecture.IdentityManager.Host { public class Startup { public void Configuration(IAppBuilder app) { int numberOfRandomUsers = new System.Random().Next(5000, 20000); ...
apache-2.0
C#
7a49c8dffa9f91e0b79bf03cbca521669bc5ecc0
Add force solve handler to Who's On First
CaitSith2/KtaneTwitchPlays,samfun123/KtaneTwitchPlays
TwitchPlaysAssembly/Src/ComponentSolvers/Vanilla/WhosOnFirstComponentSolver.cs
TwitchPlaysAssembly/Src/ComponentSolvers/Vanilla/WhosOnFirstComponentSolver.cs
using System; using System.Linq; using System.Collections; using Assets.Scripts.Rules; using UnityEngine; public class WhosOnFirstComponentSolver : ComponentSolver { public WhosOnFirstComponentSolver(BombCommander bombCommander, WhosOnFirstComponent bombComponent) : base(bombCommander, bombComponent) { ...
using System; using System.Linq; using System.Collections; using UnityEngine; public class WhosOnFirstComponentSolver : ComponentSolver { public WhosOnFirstComponentSolver(BombCommander bombCommander, WhosOnFirstComponent bombComponent) : base(bombCommander, bombComponent) { _buttons = bombComponent.Bu...
mit
C#
44c07c20344a7f7221913c31c7ae6e674b7a8c90
Fix broken ASP.NET Core integration.
JTrotta/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,chkr1011/MQTTnet,JTrotta/MQTTnet,JTrotta/MQTTnet,JTrotta/MQTTnet
Frameworks/MQTTnet.AspnetCore/MqttHostedServer.cs
Frameworks/MQTTnet.AspnetCore/MqttHostedServer.cs
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Hosting; using MQTTnet.Adapter; using MQTTnet.Diagnostics; using MQTTnet.Server; namespace MQTTnet.AspNetCore { public class MqttHostedServer : MqttServer, IHostedService { ...
using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Hosting; using MQTTnet.Adapter; using MQTTnet.Diagnostics; using MQTTnet.Server; namespace MQTTnet.AspNetCore { public class MqttHostedServer : MqttServer, IHostedService { ...
mit
C#
61baa350255fda080cfe3b77626f886f4e3ffc29
Make specific message for UWP
Azure/azure-iot-hub-vs-cs,Azure/azure-iot-hub-vs-cs,Azure/azure-iot-hub-vs-cs
AzureIoTHubConnectedServiceLibrary/Resources/CSharp/AzureIoTHub.cs
AzureIoTHubConnectedServiceLibrary/Resources/CSharp/AzureIoTHub.cs
using System; using System.Text; using System.Threading.Tasks; using Microsoft.Azure.Devices.Client; static class AzureIoTHub { // // Note: this connection string is specific to the device "$deviceId$". To configure other devices, // see information on iothub-explorer at http://aka.ms/iothubgetstartedVSCS ...
using System; using System.Text; using System.Threading.Tasks; using Microsoft.Azure.Devices.Client; static class AzureIoTHub { // // Note: this connection string is specific to the device "$deviceId$". To configure other devices, // see information on iothub-explorer at http://aka.ms/iothubgetstartedVSCS ...
mit
C#
129b2e1c1ac1c3b8b3965868e5b4ce434c3072b6
Add test PageGenerator_GenerateContentPage_Should.ReplaceAllTitlePlaceholdersWithTheTitle.
bsstahl/PPTail,bsstahl/PPTail
PrehensilePonyTail/PPTail.Generator.T4Html.Test/PageGenerator_GenerateContentPage_Should.cs
PrehensilePonyTail/PPTail.Generator.T4Html.Test/PageGenerator_GenerateContentPage_Should.cs
using PPTail.Entities; using PPTail.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Xunit; namespace PPTail.Generator.T4Html.Test { public class PageGenerator_GenerateContentPage_Should { [Fact] public void ReplaceATitlePlaceho...
using PPTail.Entities; using PPTail.Interfaces; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Xunit; namespace PPTail.Generator.T4Html.Test { public class PageGenerator_GenerateContentPage_Should { [Fact] public void ReplaceATitlePlaceho...
mit
C#
afd50f6e9168f4c94740cb6f3c1139ffd727c033
Remove ManageId from PollRequestResponseModel
Generic-Voting-Application/voting-application,Generic-Voting-Application/voting-application,JDawes-ScottLogic/voting-application,stevenhillcox/voting-application,stevenhillcox/voting-application,tpkelly/voting-application,tpkelly/voting-application,stevenhillcox/voting-application,JDawes-ScottLogic/voting-application,G...
VotingApplication/VotingApplication.Web/Api/Models/DBViewModels/PollRequestResponseModel.cs
VotingApplication/VotingApplication.Web/Api/Models/DBViewModels/PollRequestResponseModel.cs
using System; using System.Collections.Generic; using VotingApplication.Data.Model; namespace VotingApplication.Web.Api.Models.DBViewModels { public class PollRequestResponseModel { public Guid UUID { get; set; } public string Name { get; set; } public string Creator { get; set; } ...
using System; using System.Collections.Generic; using VotingApplication.Data.Model; namespace VotingApplication.Web.Api.Models.DBViewModels { public class PollRequestResponseModel { public Guid UUID { get; set; } public Guid ManageId { get; set; } public string Name { get; set; } ...
apache-2.0
C#
ad5aef17478264221485a8bfebb03c01a9e672d0
Update SuppressFormsAuthenticationRedirectModule.cs
NServiceKit/NServiceKit,MindTouch/NServiceKit,MindTouch/NServiceKit,nataren/NServiceKit,nataren/NServiceKit,MindTouch/NServiceKit,timba/NServiceKit,ZocDoc/ServiceStack,nataren/NServiceKit,MindTouch/NServiceKit,NServiceKit/NServiceKit,NServiceKit/NServiceKit,ZocDoc/ServiceStack,timba/NServiceKit,NServiceKit/NServiceKit,...
src/ServiceStack.ServiceInterface/SuppressFormsAuthenticationRedirectModule.cs
src/ServiceStack.ServiceInterface/SuppressFormsAuthenticationRedirectModule.cs
using System; using System.Web; namespace ServiceStack.ServiceInterface { //adapted from https://github.com/Haacked/CodeHaacks/blob/master/src/AspNetHaack/SuppressFormsAuthenticationRedirectModule.cs /// <summary> /// This class interecepts 401 requests and changes them to 402 errors. When this happens...
using System; using System.Web; namespace ServiceStack.ServiceInterface { //adapted from https://github.com/Haacked/CodeHaacks/blob/master/src/AspNetHaack/SuppressFormsAuthenticationRedirectModule.cs /// <summary> /// This class interecepts 401 requests and changes them to 402 errors. When this happens...
bsd-3-clause
C#
24b784206f0ce8f4db1c667da15036a72a2e5b65
Fix bug where origin would move around
EvanHahn/Unity-RTS-camera
RTSCamera.cs
RTSCamera.cs
using UnityEngine; using System.Collections; public class RTSCamera : MonoBehaviour { private readonly string[] INPUT_MOUSE_BUTTONS = {"Mouse Look", "Mouse Select"}; private bool[] isDragging = new bool[2]; private Vector3 selectStartPosition; private Texture2D pixel; void Start() { setPixel(Color.green);...
using UnityEngine; using System.Collections; public class RTSCamera : MonoBehaviour { private readonly string[] INPUT_MOUSE_BUTTONS = {"Mouse Look", "Mouse Select"}; private bool[] isDragging = new bool[2]; private Vector3 selectStartPosition; private Texture2D pixel; void Start() { setPixel(Color.green);...
mit
C#
9a117fea53879bde2242f5789c0f5ae3d7ce601a
Use explicit modifier.
0x2aff/WoWCore
WoWCore/Program.cs
WoWCore/Program.cs
/* * WoWCore - World of Warcraft 1.12 Server * Copyright (C) 2017 exceptionptr * * 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 op...
/* * WoWCore - World of Warcraft 1.12 Server * Copyright (C) 2017 exceptionptr * * 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 op...
mit
C#
054e92521a44baf9784034dd6f10d06b0ab7fa79
Move the download link to the top
jeremycook/PickupMailViewer,jeremycook/PickupMailViewer
PickupMailViewer/Views/Home/GetMailDetails.cshtml
PickupMailViewer/Views/Home/GetMailDetails.cshtml
@model PickupMailViewer.Models.MailModel <div> @Html.ActionLink("Download mail", "DownloadMail", new { mailId = @Model.MailId }) <hr /> <div>From: @Model.FromAddress</div> <div>To: @Model.ToAddress</div> <div>Sent date: @Html.DisplayFor(m => m.SentOn)</div> <div>Subject: @Model.Subject</div> ...
@model PickupMailViewer.Models.MailModel <div> <div>From: @Model.FromAddress</div> <div>To: @Model.ToAddress</div> <div>Sent date: @Html.DisplayFor(m => m.SentOn)</div> <div>Subject: @Model.Subject</div> <hr /> <div class="mail-body">@Model.Body</div> <hr /> @Html.ActionLink("Download ...
mit
C#
9453f6bcaf228ad47fdb79cab2cbaf0d7a959e9e
Bump version to 1.2
devmondo/HangFire.SimpleInjector
src/HangFire.SimpleInjector/Properties/AssemblyInfo.cs
src/HangFire.SimpleInjector/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ha...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ha...
mit
C#
df31ab7672593fb5737dc932f5c7ea1994f5ca77
Bump version to 0.1.6.
ejball/Facility,FacilityApi/Facility
SolutionInfo.cs
SolutionInfo.cs
using System.Reflection; [assembly: AssemblyVersion("0.1.6.0")] [assembly: AssemblyCompany("")] [assembly: AssemblyCopyright("Copyright 2016 Ed Ball")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")]
using System.Reflection; [assembly: AssemblyVersion("0.1.5.0")] [assembly: AssemblyCompany("")] [assembly: AssemblyCopyright("Copyright 2016 Ed Ball")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")]
mit
C#
13c35be839d0b8b3abd718ea41d6e780b36cb15b
Update ILineDisassembler.cs
informedcitizenry/6502.Net
6502.Net/ILineDisassembler.cs
6502.Net/ILineDisassembler.cs
//----------------------------------------------------------------------------- // Copyright (c) 2017 Nate Burnett <informedcitizenry@gmail.com> // // 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...
using System; using System.Collections.Generic; namespace Asm6502.Net { /// <summary> /// Represents an interface for a line disassembler. /// </summary> public interface ILineDisassembler { /// <summary> /// Disassemble a line of 6502-source. /// </summary> ...
mit
C#
06e94a28ffe6c21747ab845ef5dcc879c48e150e
Fix unittest barcode
BinaryKits/ZPLUtility
src/BinaryKits.ZplUtility.UnitTest/BarcodeTest.cs
src/BinaryKits.ZplUtility.UnitTest/BarcodeTest.cs
using BinaryKits.ZplUtility.Elements; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Diagnostics; namespace BinaryKits.ZplUtility.UnitTest { [TestClass] public class BarcodeTest { [TestMethod] public void Barcode39() { ...
using BinaryKits.ZplUtility.Elements; using Microsoft.VisualStudio.TestTools.UnitTesting; using System.Collections.Generic; using System.Diagnostics; namespace BinaryKits.ZplUtility.UnitTest { [TestClass] public class BarcodeTest { [TestMethod] public void Barcode39() { ...
mit
C#
08dcc320f6869a162813555fb261ddfcd91afa92
Fix marketing pagination display page number
albertodall/eShopOnContainers,TypeW/eShopOnContainers,productinfo/eShopOnContainers,andrelmp/eShopOnContainers,productinfo/eShopOnContainers,dotnet-architecture/eShopOnContainers,dotnet-architecture/eShopOnContainers,andrelmp/eShopOnContainers,productinfo/eShopOnContainers,TypeW/eShopOnContainers,andrelmp/eShopOnContai...
src/Web/WebMVC/Controllers/CampaignsController.cs
src/Web/WebMVC/Controllers/CampaignsController.cs
namespace Microsoft.eShopOnContainers.WebMVC.Controllers { using AspNetCore.Authorization; using AspNetCore.Mvc; using Services; using ViewModels; using System.Threading.Tasks; using System; using ViewModels.Pagination; using global::WebMVC.ViewModels; [Authorize] public class C...
namespace Microsoft.eShopOnContainers.WebMVC.Controllers { using AspNetCore.Authorization; using AspNetCore.Mvc; using Services; using ViewModels; using System.Threading.Tasks; using System; using ViewModels.Pagination; using global::WebMVC.ViewModels; [Authorize] public class C...
mit
C#
ca96ad44a6fb545ef27a2ef6e385abcd9ce71e18
Fix path for B2C settings
mlorbetske/templating,seancpeters/templating,seancpeters/templating,seancpeters/templating,mlorbetske/templating,seancpeters/templating
template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/WebApi-CSharp/Extensions/AzureAdB2C/AzureAdB2CServiceCollectionExtensions.cs
template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/WebApi-CSharp/Extensions/AzureAdB2C/AzureAdB2CServiceCollectionExtensions.cs
using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; namespace Microsoft.AspNetCore.Authentication.Extensions { public static class AzureAdServiceCollectionExtensions { public ...
using Microsoft.AspNetCore.Authentication.JwtBearer; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; namespace Microsoft.AspNetCore.Authentication.Extensions { public static class AzureAdServiceCollectionExtensions { public ...
mit
C#
5905b3fc172ef51d649fd674cf013a40287bb5ee
Add GitHub page link
NightmareX1337/LF2.IDE
LF2.IDE/Program.cs
LF2.IDE/Program.cs
using System; using System.Diagnostics; using System.Drawing.Imaging; using System.Globalization; using System.Drawing; using System.Security.Cryptography; using System.Text; using System.IO; using System.Windows.Forms; using System.Windows.Forms.VisualStyles; using Microsoft.VisualBasic.ApplicationServices; namespac...
using System; using System.Diagnostics; using System.Drawing.Imaging; using System.Globalization; using System.Drawing; using System.Security.Cryptography; using System.Text; using System.IO; using System.Windows.Forms; using System.Windows.Forms.VisualStyles; using Microsoft.VisualBasic.ApplicationServices; namespac...
mit
C#
834d09954dbbf68e8b26451124674cef4ed9700e
Bump version
Norbyte/lslib,Norbyte/lslib,Norbyte/lslib
LSLib/LS/Common.cs
LSLib/LS/Common.cs
using System; using System.Text.RegularExpressions; namespace LSLib.LS { public static class Common { public const int MajorVersion = 1; public const int MinorVersion = 14; public const int PatchVersion = 1; /// <summary> /// Returns the version number of the LSLib library /// </summary> public sta...
using System; using System.Text.RegularExpressions; namespace LSLib.LS { public static class Common { public const int MajorVersion = 1; public const int MinorVersion = 14; public const int PatchVersion = 0; /// <summary> /// Returns the version number of the LSLib library /// </summary> public sta...
mit
C#
5b4f6be48b1ffa4d3fe21918b9277fe483611904
Update Time-Calculator.cs
DeanCabral/Code-Snippets
Console/Time-Calculator.cs
Console/Time-Calculator.cs
class TimeCalculator { static void Main(string[] args) { GetUserInput(); } static void GetUserInput() { string input = ""; Console.Write("Enter date (dd/mm/yyyy): "); input = Console.ReadLine(); CalculateDate(inpu...
class TimeCalculator { static void Main(string[] args) { GetUserInput(); } static void GetUserInput() { string input = ""; Console.Write("Enter date (dd/mm/yyyy): "); input = Console.ReadLine(); CalculateDate(inpu...
mit
C#
dfd440d75668a74bca4a7ef2ad41e221cb2580c8
fix where it wasn't building under Unity
Hitcents/iOS4Unity,Hitcents/iOS4Unity
Assets/iOS4Unity/EventArgs.cs
Assets/iOS4Unity/EventArgs.cs
using System; public class EventArgs<T> : EventArgs { public T Value; } public class EventArgs<T1, T2> : EventArgs { public T1 Value1; public T2 Value2; } #if !XAMARIN namespace System { public delegate void Action<T1, T2, T3, T4, T5>(T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5); } #endif
using System; public class EventArgs<T> : EventArgs { public T Value; } public class EventArgs<T1, T2> : EventArgs { public T1 Value1; public T2 Value2; }
apache-2.0
C#
7971d06df1840dec0966f29ed8e0b98029d2a9a0
Remove AlwaysPresent
2yangk23/osu,DrabWeb/osu,NeoAdonis/osu,EVAST9919/osu,NeoAdonis/osu,EVAST9919/osu,naoey/osu,UselessToucan/osu,ppy/osu,UselessToucan/osu,peppy/osu-new,johnneijzen/osu,naoey/osu,johnneijzen/osu,peppy/osu,UselessToucan/osu,peppy/osu,ppy/osu,ZLima12/osu,smoogipoo/osu,naoey/osu,2yangk23/osu,peppy/osu,smoogipoo/osu,smoogipooo...
osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableStrongHandler.cs
osu.Game.Rulesets.Taiko/Objects/Drawables/DrawableStrongHandler.cs
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Rulesets.Objects.Drawables; using osu.Game.Rulesets.Taiko.Judgements; namespace osu.Game.Rulesets.Taiko.Objects.Drawables { /// <summary> /// Use...
// Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using osu.Game.Rulesets.Objects.Drawables; using osu.Game.Rulesets.Taiko.Judgements; namespace osu.Game.Rulesets.Taiko.Objects.Drawables { /// <summary> /// Use...
mit
C#
d536bebae93006c09b51c22d14b4512e5bb37f05
Update SafeAreaEffectRouter.ios.cs (#1404)
FormsCommunityToolkit/FormsCommunityToolkit
src/CommunityToolkit/Xamarin.CommunityToolkit/Effects/SafeArea/SafeAreaEffectRouter.ios.cs
src/CommunityToolkit/Xamarin.CommunityToolkit/Effects/SafeArea/SafeAreaEffectRouter.ios.cs
using System.Linq; using Foundation; using UIKit; using Xamarin.CommunityToolkit.Effects; using Xamarin.Forms; using Xamarin.Forms.Platform.iOS; using Effects = Xamarin.CommunityToolkit.iOS.Effects; [assembly: ExportEffect(typeof(Effects.SafeAreaEffectRouter), nameof(SafeAreaEffectRouter))] namespace Xamarin.Communi...
using System.Linq; using Foundation; using UIKit; using Xamarin.CommunityToolkit.Effects; using Xamarin.Forms; using Xamarin.Forms.Platform.iOS; using Effects = Xamarin.CommunityToolkit.iOS.Effects; [assembly: ExportEffect(typeof(Effects.SafeAreaEffectRouter), nameof(SafeAreaEffectRouter))] namespace Xamarin.Communi...
mit
C#
6d34a488c48778016bbfdc79b8e876d28d0ee3ad
move to using
Drawaes/CondenserDotNet
src/CondenserDotNet.Middleware/WindowsAuthentication/AuthenticationConnectionMiddleware.cs
src/CondenserDotNet.Middleware/WindowsAuthentication/AuthenticationConnectionMiddleware.cs
using System; using System.IO; using System.Threading.Tasks; using Microsoft.AspNetCore.Connections; namespace CondenserDotNet.Middleware.WindowsAuthentication { public class AuthenticationConnectionMiddleware : ConnectionHandler { private ConnectionDelegate _next; public AuthenticationConnect...
using System; using System.IO; using System.Threading.Tasks; using Microsoft.AspNetCore.Connections; namespace CondenserDotNet.Middleware.WindowsAuthentication { public class AuthenticationConnectionFilter : ConnectionHandler { private ConnectionDelegate _next; public AuthenticationConnectionF...
mit
C#
7910243d995ce59e97b230df1c1bfd4068a8547b
Update Program.cs
vishipayyallore/CSharp-DotNet-Core-Samples
LearningDesignPatterns/Source/DataStructures/LinkedLists/LinkedList.Demos/Program.cs
LearningDesignPatterns/Source/DataStructures/LinkedLists/LinkedList.Demos/Program.cs
using System; using System.Runtime.InteropServices; using static System.Console; namespace LinkedList.Demos { public class Node { public int Value { get; set; } public Node NextNode { get; set; } public override string ToString() { GCHandle handle = GCHandle.All...
using System; using System.Runtime.InteropServices; using static System.Console; namespace LinkedList.Demos { public class Node { public int Value { get; set; } public Node NextNode { get; set; } public override string ToString() { GCHandle handle = GCHandle.All...
apache-2.0
C#
f39ba6aa5669f67e66c498c299621b3fca1d5647
make sure our postprocess runs last, after any others (since the end user may have their own)
karlgluck/XUPorter,maoi/XUPorter,zhutaorun/XUPorter,foolhuang/XUPorter,trampliu/XUPorter,sq5gvm/XUPorter,onevcat/XUPorter
XCodePostProcess.cs
XCodePostProcess.cs
using UnityEngine; using UnityEditor; using UnityEditor.Callbacks; using UnityEditor.XCodeEditor; using System.IO; public static class XCodePostProcess { [PostProcessBuild(100)] public static void OnPostProcessBuild( BuildTarget target, string path ) { if (target != BuildTarget.iPhone) { Debug.LogWarning("Targ...
using UnityEngine; using UnityEditor; using UnityEditor.Callbacks; using UnityEditor.XCodeEditor; using System.IO; public static class XCodePostProcess { [PostProcessBuild] public static void OnPostProcessBuild( BuildTarget target, string path ) { if (target != BuildTarget.iPhone) { Debug.LogWarning("Target is...
mit
C#
aea8215ae0e032810470c4e86d9c4b8f463e878b
Support switching retro mode render target at runtime
Nystul-the-Magician/dfunity-mods
EnhancedSky/Scripts/SkyCam.cs
EnhancedSky/Scripts/SkyCam.cs
//Enhanced Sky for Daggerfall Tools for Unity by Lypyl, contact at lypyl@dfworkshop.net //http://www.reddit.com/r/dftfu //http://www.dfworkshop.net/ //Author: LypyL ///Contact: Lypyl@dfworkshop.net //License: MIT License (http://www.opensource.org/licenses/mit-license.php) using UnityEngine; //using DaggerfallConn...
//Enhanced Sky for Daggerfall Tools for Unity by Lypyl, contact at lypyl@dfworkshop.net //http://www.reddit.com/r/dftfu //http://www.dfworkshop.net/ //Author: LypyL ///Contact: Lypyl@dfworkshop.net //License: MIT License (http://www.opensource.org/licenses/mit-license.php) using UnityEngine; //using DaggerfallConn...
mit
C#
8e3f981427c19e980e194721871ceb0010680224
add method wait for ajax
douglasPinheiro/Selenium-Webdriver-helpers
src/Selenium-Webdriver-Helpers/Selenium-Webdriver-Helpers.App/WaitExtensions.cs
src/Selenium-Webdriver-Helpers/Selenium-Webdriver-Helpers.App/WaitExtensions.cs
using System.Threading; using OpenQA.Selenium; namespace Selenium_Webdriver_Helpers.App { public static class WaitExtensions { public static void WaitForAjax(this IWebDriver driver) { while (true) { var ajaxIsComplete = (bool)(driver as IJavaScriptExecut...
namespace Selenium_Webdriver_Helpers.App { public static class WaitExtensions { } }
mit
C#
395f75133b5d5f231ad24c17ab043817744ea339
Simplify option resolution
ASP-NET-MVC-Boilerplate/Templates,ASP-NET-MVC-Boilerplate/Templates
Source/GraphQLTemplate/Tests/GraphQLTemplate.IntegrationTest/CustomWebApplicationFactory.cs
Source/GraphQLTemplate/Tests/GraphQLTemplate.IntegrationTest/CustomWebApplicationFactory.cs
namespace GraphQLTemplate.IntegrationTest { using System; using System.Net.Http; using GraphQLTemplate.Options; using GraphQLTemplate.Services; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.Testing; using Microsoft.Extensions.DependencyInjection; using Moq; #if Seril...
namespace GraphQLTemplate.IntegrationTest { using System; using System.Net.Http; using GraphQLTemplate.Options; using GraphQLTemplate.Services; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.Testing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Exte...
mit
C#
e3ceeb43ba6740e986c2a7ffe079261554dff752
Fix build
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
samples/SampleApp/Program.cs
samples/SampleApp/Program.cs
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Linq; namespace SampleApp { public class Program { public static void Main(string[] args) { ...
// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; namespace SampleApp { public class Program { public static void Main(string[] args) { var mergedArgs...
apache-2.0
C#
e9a212698771df50d951ad740f21059fc6a0c094
Fix ios test app
studio-nine/Nine.Application,yufeih/Nine.Application
test/iOSApp/AppDelegate.cs
test/iOSApp/AppDelegate.cs
namespace iOSApp { using Foundation; using UIKit; using Nine.Application.Layout; [Register("AppDelegate")] public class AppDelegate : UIApplicationDelegate { public override UIWindow Window { get; set; } public override bool FinishedLaunching(UIApplication application, NSDicti...
namespace iOSApp { using Foundation; using UIKit; using Nine.Application.Layout; [Register("AppDelegate")] public class AppDelegate : UIApplicationDelegate { public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions) { Window = new...
mit
C#
15d1211015761b3ffce7e57d025c27155210d2b1
Update FocusOnPointerMovedBehavior.cs
wieslawsoltes/AvaloniaBehaviors,XamlBehaviors/XamlBehaviors,XamlBehaviors/XamlBehaviors,wieslawsoltes/AvaloniaBehaviors
src/Avalonia.Xaml.Interactions/Core/FocusOnPointerMovedBehavior.cs
src/Avalonia.Xaml.Interactions/Core/FocusOnPointerMovedBehavior.cs
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Avalonia.Controls; using Avalonia.Input; using Avalonia.Xaml.Interactivity; namespace Avalonia.Xaml.Interactions.Core { /// <summary> /// Focuses t...
// Copyright (c) Wiesław Šoltés. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Avalonia.Controls; using Avalonia.Input; using Avalonia.Xaml.Interactivity; namespace Avalonia.Xaml.Interactions.Core { /// <summary> /// Focuses t...
mit
C#
54b047ab9e27e67a88aa19af573c2b1d288c9f8b
Fix #628 : Ground experiments does not work with "Science = false"
PiezPiedPy/Kerbalism,PiezPiedPy/Kerbalism,PiezPiedPy/Kerbalism
src/Kerbalism/Patches/DeployedScienceExperiment_SendDataToComms.cs
src/Kerbalism/Patches/DeployedScienceExperiment_SendDataToComms.cs
#if !KSP15_16 using System.Collections.Generic; using Harmony; using Expansions.Serenity.DeployedScience.Runtime; namespace KERBALISM { [HarmonyPatch(typeof(DeployedScienceExperiment))] [HarmonyPatch("SendDataToComms")] class DeployedScienceExperiment_SendDataToComms { static bool Prefix(DeployedScienceExperiment...
#if !KSP15_16 using System.Collections.Generic; using Harmony; using Expansions.Serenity.DeployedScience.Runtime; namespace KERBALISM { [HarmonyPatch(typeof(DeployedScienceExperiment))] [HarmonyPatch("SendDataToComms")] class DeployedScienceExperiment_SendDataToComms { static bool Prefix(DeployedScienceExperiment...
unlicense
C#
df453afa816da79795a4e3a0c7a6a8c6a85db7c0
Update PlatformCompositionRootSetupBase.cs
tiksn/TIKSN-Framework
TIKSN.Framework.Platform/DependencyInjection/PlatformCompositionRootSetupBase.cs
TIKSN.Framework.Platform/DependencyInjection/PlatformCompositionRootSetupBase.cs
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace TIKSN.DependencyInjection { public abstract class PlatformCompositionRootSetupBase : CompositionRootSetupBase { protected PlatformCompositionRootSetupBase(IConfigurationRoot configurationRoot) : base(co...
using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; namespace TIKSN.DependencyInjection { public abstract class PlatformCompositionRootSetupBase : CompositionRootSetupBase { protected PlatformCompositionRootSetupBase(IConfigurationRoot configurationRoot) : base(co...
mit
C#
49ad1fb8b4f3a08562f5aa8f442ca464a2ea11d3
Fix typo in variable name
jamesqo/roslyn,nguerrera/roslyn,tannergooding/roslyn,jmarolf/roslyn,wvdd007/roslyn,KirillOsenkov/roslyn,DustinCampbell/roslyn,ErikSchierboom/roslyn,dotnet/roslyn,jcouv/roslyn,OmarTawfik/roslyn,mavasani/roslyn,cston/roslyn,davkean/roslyn,AlekseyTs/roslyn,jcouv/roslyn,CyrusNajmabadi/roslyn,panopticoncentral/roslyn,mavasa...
src/Workspaces/Core/Portable/Utilities/ForegroundThreadDataKind.cs
src/Workspaces/Core/Portable/Utilities/ForegroundThreadDataKind.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading; using static Microsoft.CodeAnalysis.Utilities.ForegroundThreadDataKind; namespace Microsoft.CodeAnalysis.Utilities { internal en...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System.Threading; using static Microsoft.CodeAnalysis.Utilities.ForegroundThreadDataKind; namespace Microsoft.CodeAnalysis.Utilities { internal en...
mit
C#
17b2241bc11a8e306f5d5f7025e580bc4f1650c6
Correct the FucntionNameHelper
USDXStartups/CalendarHelper
shared/AppSettingsHelper.csx
shared/AppSettingsHelper.csx
#load "LogHelper.csx" #load "FunctionNameHelper.csx" using System.Configuration; public static class AppSettingsHelper { public static string GetAppSetting(string SettingName, bool LogValue = true ) { string SettingValue = ""; string methodName = this.GetType().FullName; try ...
#load "LogHelper.csx" #load "FunctionNameHelper.csx" using System.Configuration; public static class AppSettingsHelper { public static string GetAppSetting(string SettingName, bool LogValue = true ) { string SettingValue = ""; string methodName = this.GetType().FullName; try ...
mit
C#
d7783eaad87f31b323bf0dbadbda01aa30887823
add sessionid alias for serialization
0xFireball/KQAnalytics3,0xFireball/KQAnalytics3,0xFireball/KQAnalytics3
KQAnalytics3/src/KQAnalytics3/Models/Data/LogRequest.cs
KQAnalytics3/src/KQAnalytics3/Models/Data/LogRequest.cs
using Newtonsoft.Json; using System; namespace KQAnalytics3.Models.Data { public class LogRequest : DatabaseObject { /// <summary> /// Stores an identifier that should be unique to the request /// </summary> [JsonProperty("id")] public Guid Identifier { get; set; } ...
using Newtonsoft.Json; using System; namespace KQAnalytics3.Models.Data { public class LogRequest : DatabaseObject { /// <summary> /// Stores an identifier that should be unique to the request /// </summary> [JsonProperty("id")] public Guid Identifier { get; set; } ...
agpl-3.0
C#
51c91a002132a1130cef5c8b73bc624ed7e45465
Update Global.cs
CosmosOS/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,jp2masa/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,zarlo/Cosmos,jp2masa/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,jp2masa/Cosmos
source/Cosmos.HAL2/Global.cs
source/Cosmos.HAL2/Global.cs
using System; using System.Threading; using Cosmos.Core; using Cosmos.Debug.Kernel; using Cosmos.HAL.BlockDevice; namespace Cosmos.HAL { public static class Global { public static readonly Debugger mDebugger = new Debugger("HAL", "Global"); static public PIT PIT = new PIT(); // Must be static init, ot...
using System; using System.Threading; using Cosmos.Core; using Cosmos.Debug.Kernel; using Cosmos.HAL.BlockDevice; namespace Cosmos.HAL { public static class Global { public static readonly Debugger mDebugger = new Debugger("HAL", "Global"); static public PIT PIT = new PIT(); // Must be static init, ot...
bsd-3-clause
C#
cff0582d61fab4ce8983b7706b5262abd0489af8
fix MakeWritable In case the MiniObject had a reference count of 1 (writable), the object was destroyed due to a bug in Opaque not handling self-assignment of Raw. In case the MiniObject was not writable, the returned copy was not writable either because it had two references: one from gst_mini_object_make_writable and...
GStreamer/gstreamer-sharp,GStreamer/gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,GStreamer/gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,gstreamer-sharp/gstreamer-sharp,freedesktop-unofficial-mirror/gstreamer__gstreamer-sharp,gstream...
sources/custom/MiniObject.cs
sources/custom/MiniObject.cs
// Copyright (C) 2014 Stephan Sundermann <stephansundermann@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 Software Foundation; either // version 2.1 of the License, or (at your option) an...
// Copyright (C) 2014 Stephan Sundermann <stephansundermann@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 Software Foundation; either // version 2.1 of the License, or (at your option) an...
lgpl-2.1
C#
2cab5007e66bd6cfcc779eaadcaa61f4f08b1a53
Use ValueStringBuilder in DictionaryHelper
carbon/Amazon
src/Amazon.Core/Helpers/DictionaryExtensions.cs
src/Amazon.Core/Helpers/DictionaryExtensions.cs
using System.Collections.Generic; using System.Text; using System.Text.Encodings.Web; namespace Amazon.Helpers { public static class DictionaryExtensions { public static string ToPostData(this Dictionary<string, string> nvc) { if (nvc is null || nvc.Count == 0) ...
using System.Collections.Generic; using System.Text; using System.Text.Encodings.Web; namespace Amazon.Helpers { public static class DictionaryExtensions { public static string ToPostData(this Dictionary<string, string> nvc) { if (nvc is null || nvc.Count == 0) ...
mit
C#
174ac313eaf839c68845c60f1f228355a74598ed
fix null ref
bitwarden/core,bitwarden/core,bitwarden/core,bitwarden/core
src/Api/Models/Response/DomainsResponseModel.cs
src/Api/Models/Response/DomainsResponseModel.cs
using System; using Bit.Core.Domains; using System.Collections.Generic; using Newtonsoft.Json; using Bit.Core.Enums; using System.Linq; namespace Bit.Api.Models { public class DomainsResponseModel : ResponseModel { public DomainsResponseModel(User user, bool excluded = true) : base("domain...
using System; using Bit.Core.Domains; using System.Collections.Generic; using Newtonsoft.Json; using Bit.Core.Enums; using System.Linq; namespace Bit.Api.Models { public class DomainsResponseModel : ResponseModel { public DomainsResponseModel(User user, bool excluded = true) : base("domain...
agpl-3.0
C#
b56f3340ee827ab475c34c45b3db3a097504cf20
Add multifieldmap also the GenericMapping
mac2000/elasticsearch-net,jonyadamit/elasticsearch-net,cstlaurent/elasticsearch-net,faisal00813/elasticsearch-net,geofeedia/elasticsearch-net,azubanov/elasticsearch-net,gayancc/elasticsearch-net,SeanKilleen/elasticsearch-net,UdiBen/elasticsearch-net,TheFireCookie/elasticsearch-net,ststeiger/elasticsearch-net,CSGOpenSou...
src/Nest/Domain/Mapping/Types/GenericMapping.cs
src/Nest/Domain/Mapping/Types/GenericMapping.cs
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Nest { /// <summary> /// Sometimes you need a generic type mapping, i.e when using dynamic templates /// in order to specify "{dynamic_template}" the type, or if you have some plugin that exposes a new type. /// </summary> [JsonObj...
using System; using System.Collections.Generic; using Newtonsoft.Json; namespace Nest { /// <summary> /// Sometimes you need a generic type mapping, i.e when using dynamic templates /// in order to specify "{dynamic_template}" the type, or if you have some plugin that exposes a new type. /// </summary> [JsonObj...
apache-2.0
C#
bab34932ce8f9d981353d6d95005c144fcb3a713
Fix index out of range error
portaljacker/portalbot
src/portalbot/Commands/AskModule.cs
src/portalbot/Commands/AskModule.cs
using Discord.Commands; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace portalbot.Commands { public class AskModule : ModuleBase { private List<string> _answers = new List<string> { "It is certain.", "It is decidedly s...
using Discord.Commands; using System; using System.Collections.Generic; using System.Threading.Tasks; namespace portalbot.Commands { public class AskModule : ModuleBase { private List<string> _answers = new List<string> { "It is certain.", "It is decidedly s...
mit
C#
05baeed40d5eff78cabf3584ce6b9b949d89b81a
rename dto property
Paymentsense/Dapper.SimpleSave
PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Event/Notification/NotificationReceivedDto.cs
PS.Mothership.Core/PS.Mothership.Core.Common/Dto/Event/Notification/NotificationReceivedDto.cs
using PS.Mothership.Core.Common.Template.Event; namespace PS.Mothership.Core.Common.Dto.Event.Notification { public class NotificationReceivedDto { public EventTypeEnum EventType { get; set; } public int EventTypeTotalNotifications { get; set; } } }
using PS.Mothership.Core.Common.Template.Event; namespace PS.Mothership.Core.Common.Dto.Event.Notification { public class NotificationReceivedDto { public EventTypeEnum EventType { get; set; } public int NotificationAmount { get; set; } } }
mit
C#
e2a3b4ae3484f3a9578311f4ea442342ed44d156
Change to when the cleardown is invoked
SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice
src/SFA.DAS.EAS.Transactions.AcceptanceTests/Steps/CommonSteps/GlobalTestSteps.cs
src/SFA.DAS.EAS.Transactions.AcceptanceTests/Steps/CommonSteps/GlobalTestSteps.cs
using Moq; using SFA.DAS.EAS.TestCommon.DbCleanup; using SFA.DAS.EAS.TestCommon.DependencyResolution; using SFA.DAS.EAS.Web; using SFA.DAS.EAS.Web.Authentication; using SFA.DAS.Messaging; using StructureMap; using TechTalk.SpecFlow; namespace SFA.DAS.EAS.Transactions.AcceptanceTests.Steps.CommonSteps { [Binding] ...
using Moq; using SFA.DAS.EAS.TestCommon.DbCleanup; using SFA.DAS.EAS.TestCommon.DependencyResolution; using SFA.DAS.EAS.Web; using SFA.DAS.EAS.Web.Authentication; using SFA.DAS.Messaging; using StructureMap; using TechTalk.SpecFlow; namespace SFA.DAS.EAS.Transactions.AcceptanceTests.Steps.CommonSteps { [Binding] ...
mit
C#
d0c3318a870e8e86d04cfb5dd6f8a6088610f5e1
Leverage 'GuardIsNotNullOrWhiteSpace' method instead of 'GuardIsNotNull'
spektrumgeeks/Spk.Common
src/Spk.Common.Helpers/Service/ServiceResult.cs
src/Spk.Common.Helpers/Service/ServiceResult.cs
using System.Collections.Generic; using System.Linq; using Spk.Common.Helpers.Guard; namespace Spk.Common.Helpers.Service { public class ServiceResult { public IEnumerable<string> Errors => _internalErrors; private readonly List<string> _internalErrors = new List<string>(); public IEnu...
using System.Collections.Generic; using System.Linq; using Spk.Common.Helpers.Guard; namespace Spk.Common.Helpers.Service { public class ServiceResult { public IEnumerable<string> Errors => _internalErrors; private readonly List<string> _internalErrors = new List<string>(); public IEnu...
mit
C#
2a04c6a6647d773ce08b610fb1ed31e344f4b665
Add routes layout fix
BikeMates/bike-mates,BikeMates/bike-mates,BikeMates/bike-mates
BikeMates/BikeMates.Web/Views/Route/_Layout.cshtml
BikeMates/BikeMates.Web/Views/Route/_Layout.cshtml
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - My ASP.NET Application</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") @if (IsSectionDefined("Head")) { ...
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>@ViewBag.Title - My ASP.NET Application</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") @if (IsSectionDefined("Head")) { ...
mit
C#
cac575d9b0d2cd3745cb7b3f4c88b0898e195f0e
Put the wrong header in this file
enckse/StyleCopCmd,enckse/StyleCopCmd
StyleCopCmd.Core/Generator.cs
StyleCopCmd.Core/Generator.cs
//------------------------------------------------------------------------------ // <copyright // file="FileRunner.cs" // company="enckse"> // Copyright (c) All rights reserved. // </copyright> //------------------------------------------------------------------------------ namespace StyleCopCmd.Core { /// <su...
//------------------------------------------------------------------------------ // <copyright // file="Generator.cs" // company="Schley Andrew Kutz"> // Copyright (c) Schley Andrew Kutz. All rights reserved. // </copyright> // <authors> // <author>Schley Andrew Kutz</author> // </authors> //--------------------...
bsd-3-clause
C#
55dab0df20f313977695655fad8343d4ada67765
add more test case
qianlifeng/Wox,qianlifeng/Wox,qianlifeng/Wox,Wox-launcher/Wox,Wox-launcher/Wox
Wox.Test/PluginManagerTest.cs
Wox.Test/PluginManagerTest.cs
using System; using System.Collections.Generic; using System.Linq; using NUnit.Framework; using Wox.Core; using Wox.Core.Configuration; using Wox.Core.Plugin; using Wox.Infrastructure; using Wox.Infrastructure.Image; using Wox.Infrastructure.UserSettings; using Wox.Plugin; using Wox.ViewModel; namespace Wox.Test { ...
using System; using System.Collections.Generic; using System.Linq; using NUnit.Framework; using Wox.Core; using Wox.Core.Configuration; using Wox.Core.Plugin; using Wox.Infrastructure; using Wox.Infrastructure.Image; using Wox.Infrastructure.UserSettings; using Wox.Plugin; using Wox.ViewModel; namespace Wox.Test { ...
mit
C#
6fe3475f6d7d46ceae78ca3395a1a45feec9bf2f
save first & last names
smhinsey/Fulcrum,smhinsey/Fulcrum,smhinsey/Fulcrum
seed/SeedComponents/Components/UserAccounts/CommandHandlers/RegisterAccountHandler.cs
seed/SeedComponents/Components/UserAccounts/CommandHandlers/RegisterAccountHandler.cs
using Fulcrum.Common; using Fulcrum.Core; using FulcrumSeed.Components.UserAccounts.Commands; using FulcrumSeed.Components.UserAccounts.Domain.Services; namespace FulcrumSeed.Components.UserAccounts.CommandHandlers { public class RegisterAccountHandler : ILoggingSource, ICommandHandler<RegisterAccount> { private ...
using Fulcrum.Common; using Fulcrum.Core; using FulcrumSeed.Components.UserAccounts.Commands; using FulcrumSeed.Components.UserAccounts.Domain.Services; namespace FulcrumSeed.Components.UserAccounts.CommandHandlers { public class RegisterAccountHandler : ILoggingSource, ICommandHandler<RegisterAccount> { private ...
bsd-3-clause
C#
7fcbf2d8d4dfc8c472f056352ce9bfea82cd3bb2
Add t=0 display to notes.
naoey/osu,peppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,tacchinotacchi/osu,ppy/osu,osu-RP/osu-RP,ppy/osu,EVAST9919/osu,naoey/osu,ZLima12/osu,smoogipooo/osu,DrabWeb/osu,Nabile-Rahmani/osu,johnneijzen/osu,johnneijzen/osu,2yangk23/osu,peppy/osu,DrabWeb/osu,EVAST9919/osu,ppy/osu,ZLima12/osu,Drezi126/osu,naoey/osu...
osu.Game.Rulesets.Mania/Objects/Drawables/DrawableNote.cs
osu.Game.Rulesets.Mania/Objects/Drawables/DrawableNote.cs
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using OpenTK.Graphics; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Sprite...
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE using OpenTK.Graphics; using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Sprite...
mit
C#
53520ec7c45b65961b9653c3c7f1b0927ca23889
Add test
NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu-new,peppy/osu,smoogipooo/osu,ppy/osu,peppy/osu
osu.Game.Rulesets.Osu.Tests/TestSceneDrawableJudgement.cs
osu.Game.Rulesets.Osu.Tests/TestSceneDrawableJudgement.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Collections.Generic; using System.Linq; using osu.Framework.Extensions; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers;...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using System.Linq; using osu.Framework.Extensions; using osu.Framework.Graphics; using osu.Game.Rulesets.Judgements; using osu.Game.Rulesets.Objects; using...
mit
C#
fe86ee629ed8b7a7a36eb7048064192cf9584672
Fix temp files from beatmap listing imports not being cleaned up
ppy/osu,UselessToucan/osu,peppy/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,ppy/osu,ppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipooo/osu
osu.Game/Online/API/Requests/DownloadBeatmapSetRequest.cs
osu.Game/Online/API/Requests/DownloadBeatmapSetRequest.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.IO.Network; using osu.Game.Beatmaps; namespace osu.Game.Online.API.Requests { public class DownloadBeatmapSetRequest : ArchiveDownloadRequest<Be...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.IO.Network; using osu.Game.Beatmaps; namespace osu.Game.Online.API.Requests { public class DownloadBeatmapSetRequest : ArchiveDownloadRequest<Be...
mit
C#
8c065225dc780a86dd56e6a8c10a539f47104bdf
update SpatialRelationship docs
krille90/unitystation,fomalsd/unitystation,Necromunger/unitystation,Necromunger/unitystation,fomalsd/unitystation,krille90/unitystation,fomalsd/unitystation,fomalsd/unitystation,Necromunger/unitystation,Necromunger/unitystation,krille90/unitystation,Necromunger/unitystation,fomalsd/unitystation,fomalsd/unitystation,Nec...
UnityProject/Assets/Scripts/Tilemaps/Behaviours/Objects/SpatialRelationship/SpatialRelationship.cs
UnityProject/Assets/Scripts/Tilemaps/Behaviours/Objects/SpatialRelationship/SpatialRelationship.cs
/// <summary> /// Main API for working with spatial relationships. If you want to activate or end a relationship, /// use these methods. Use spatial relationships if you need to have some logic run when 2 things /// move relative to each other, such as going out of range. /// /// A spatial relationship defines an arbit...
/// <summary> /// Main API for working with spatial relationships. If you want to activate or end a relationship, /// use these methods. Use spatial relationships if you need to have some logic run when 2 things /// move relative to each other, such as going out of range. /// /// A spatial relationship defines an arbit...
agpl-3.0
C#
3c67dbf0bb0b7915ea152fce2c9d711ab9b3c7e1
add UIContext.IsInDesignTool
huoxudong125/Weakly,tibel/Weakly
src/Weakly.MVVM/UIContext.cs
src/Weakly.MVVM/UIContext.cs
using System; using System.Threading; using System.Threading.Tasks; namespace Weakly.MVVM { /// <summary> /// Shared UI context /// </summary> public static class UIContext { private static Thread _thread; private static TaskScheduler _taskScheduler; private static bool _is...
using System; using System.Threading; using System.Threading.Tasks; namespace Weakly.MVVM { /// <summary> /// Shared UI context /// </summary> public static class UIContext { private static Thread _thread; private static TaskScheduler _taskScheduler; static UIContext() ...
mit
C#
fa2e9c5d655ee6520ac12dc28051382709f3fc44
Use correct attribute
rasmus/EventFlow
Source/EventFlow.Tests/UnitTests/Configuration/Registrations/AutofacServiceRegistrationTests.cs
Source/EventFlow.Tests/UnitTests/Configuration/Registrations/AutofacServiceRegistrationTests.cs
// The MIT License (MIT) // // Copyright (c) 2015-2017 Rasmus Mikkelsen // Copyright (c) 2015-2017 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Softwar...
// The MIT License (MIT) // // Copyright (c) 2015-2017 Rasmus Mikkelsen // Copyright (c) 2015-2017 eBay Software Foundation // https://github.com/eventflow/EventFlow // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Softwar...
mit
C#
bd6770246b1b63fb277429de01a51cb7d6d44672
simplify the check for numeric codes and if the same object is used repeatedly it will perform faster due to compiling the regex
barnhill/barcodelib,barnhill/barcodelib,bbarnhill/barcodelib
BarcodeStandard/BarcodeCommon.cs
BarcodeStandard/BarcodeCommon.cs
using System; using System.Collections.Generic; using System.Text.RegularExpressions; namespace BarcodeLib { abstract class BarcodeCommon { protected string Raw_Data = ""; protected List<string> _Errors = new List<string>(); public string RawData { get { return this...
using System; using System.Collections.Generic; namespace BarcodeLib { abstract class BarcodeCommon { protected string Raw_Data = ""; protected List<string> _Errors = new List<string>(); public string RawData { get { return this.Raw_Data; } } public...
apache-2.0
C#
cbe6d215153753029c55d6ad2342be1a446d6575
Update version number.
Damnae/storybrew
editor/Properties/AssemblyInfo.cs
editor/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("storybrew editor")] [assembly: AssemblyDe...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("storybrew editor")] [assembly: AssemblyDe...
mit
C#
828b3e3951cfd4c0e2bdc1e6c09540852b508128
Update AuraColor.cs
Yonom/BotBits
BotBits/Models/AuraColor.cs
BotBits/Models/AuraColor.cs
using BotBits.Shop; namespace BotBits { public enum AuraColor { Normal = 0, [Pack("aurared")] Red = 1, [Pack("aurablue")] Blue = 2, [Pack("aurayellow")] Yellow = 3, [Pack("auragreen")] Green = 4, [Pack("aurapurple")] ...
using BotBits.Shop; namespace BotBits { public enum AuraColor { Normal = 0, [Pack("aurared")] Red = 1, [Pack("aurablue")] Blue = 2, [Pack("aurayellow")] Yellow = 3, [Pack("auragreen")] Green = 4, [Pack("aurapurple")] ...
mit
C#
d41e261776232bcec492860c8aaf1c56b6a314d9
Change how WebClient instance is created to try and fix build issue.
lewishenson/FluentCineworld
Code/Utilities/WebClient.cs
Code/Utilities/WebClient.cs
namespace FluentCineworld.Utilities { public class WebClient : IWebClient { private const string ChromeUserAgent = "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.11 Safari/537.36"; private readonly string _userAgent; public WebClient() ...
namespace FluentCineworld.Utilities { public class WebClient : IWebClient { private const string ChromeUserAgent = "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.11 Safari/537.36"; private readonly string _userAgent; public WebClient() ...
mit
C#
242abdfab10a7448c1ed287fd5a24b2978ed3a0d
Fix some AssemblyInfo
rdennis/cassette.mapfile,rdennis/cassette.mapfile,rdennis/cassette.mapfile,rdennis/cassette.mapfile
src/Albatross.Cassette.MapFile/Properties/AssemblyInfo.cs
src/Albatross.Cassette.MapFile/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Albatross.Cassette.MapFile")] [assembly: ...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Albatross.Cassette.TypeScript")] [assembl...
mit
C#
c986afc43784ccd99143b38f5a00e23581c3ed92
Tweak delete cloned build chain routine.
ComputerWorkware/TeamCityApi
src/TeamCityApi/UseCases/DeleteClonedBuildChainUseCase.cs
src/TeamCityApi/UseCases/DeleteClonedBuildChainUseCase.cs
using System.Linq; using System.Threading.Tasks; using TeamCityApi.Helpers; using TeamCityApi.Logging; namespace TeamCityApi.UseCases { public class DeleteClonedBuildChainUseCase { private static readonly ILog Log = LogProvider.GetLogger(typeof(DeleteClonedBuildChainUseCase)); private readonl...
using System.Linq; using System.Threading.Tasks; using TeamCityApi.Helpers; using TeamCityApi.Logging; namespace TeamCityApi.UseCases { public class DeleteClonedBuildChainUseCase { private static readonly ILog Log = LogProvider.GetLogger(typeof(DeleteClonedBuildChainUseCase)); private readonl...
mit
C#
f451c69d7e0a8a0ce8c469bb72b51f9c1bf3c5e7
Update depot page url
GoeGaming/SteamDatabaseBackend,SGColdSun/SteamDatabaseBackend,SteamDatabase/SteamDatabaseBackend,GoeGaming/SteamDatabaseBackend,agarbuno/SteamDatabaseBackend,thecocce/SteamDatabaseBackend,SteamDatabase/SteamDatabaseBackend,SGColdSun/SteamDatabaseBackend,thecocce/SteamDatabaseBackend
Util/SteamDB.cs
Util/SteamDB.cs
/* * Copyright (c) 2013, SteamDB. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ using System; namespace SteamDatabaseBackend { public static class SteamDB { public const string UNKNOWN_APP = "SteamDB Unknown App"; ...
/* * Copyright (c) 2013, SteamDB. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ using System; namespace SteamDatabaseBackend { public static class SteamDB { public const string UNKNOWN_APP = "SteamDB Unknown App"; ...
bsd-3-clause
C#
479ce6c7e81418f20529c8dcbf45890b99473714
Remove unused using
peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,peppy/osu-framework
osu.Framework.Tests.Android/TestGameActivity.cs
osu.Framework.Tests.Android/TestGameActivity.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using Android.App; using osu.Framework.Android; namespace osu.Framework.Tests.Android { [Activity(ConfigurationChanges = DEFAULT_CONFIG_CHANGES, LaunchMode = DEFAUL...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using Android.App; using Android.OS; using Android.Views; using osu.Framework.Android; namespace osu.Framework.Tests.Android { [Activity(ConfigurationChanges = DEFA...
mit
C#
50cdeae38284aa1b8a4041f2c96eb21681945724
Fix ordering of lines
christophwille/viennarealtime,christophwille/viennarealtime
Source/MundlTransit.WP8/ViewModels/Lines/LinesPivotPageViewModel.cs
Source/MundlTransit.WP8/ViewModels/Lines/LinesPivotPageViewModel.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Caliburn.Micro; using MundlTransit.WP8.Data.Reference; using MundlTransit.WP8.Model; using MundlTransit.WP8.Services; using WienerLinien.Api; using WienerLinien.Api.Ogd; namespace MundlTransit.WP8...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Caliburn.Micro; using MundlTransit.WP8.Model; using MundlTransit.WP8.Services; using WienerLinien.Api; using WienerLinien.Api.Ogd; namespace MundlTransit.WP8.ViewModels.Lines { // "list" "sear...
mit
C#
fc9434f689ac427407b9877930017732e91168f8
Set Arkitektum as author in AssemblyInfo.cs
Arkitektum/GIS.Lib.SerializeUtil
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ar...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Ar...
bsd-2-clause
C#
9787f3961846d093dff79b8bf98e6ea3b5747061
Bump version to 0.3.5
FatturaElettronicaPA/FatturaElettronicaPA
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Resources; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("FatturaElettronica.NET")] [assembly: AssemblyDescriptio...
using System.Reflection; using System.Resources; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("FatturaElettronica.NET")] [assembly: AssemblyDescriptio...
bsd-3-clause
C#
1fd7453d860ac047837b77fe9d4211b6e085ae52
fix COM interface definition
dpoeschl/roslyn,KevinH-MS/roslyn,oocx/roslyn,supriyantomaftuh/roslyn,ericfe-ms/roslyn,CyrusNajmabadi/roslyn,marksantos/roslyn,AmadeusW/roslyn,yjfxfjch/roslyn,akrisiun/roslyn,MavenRain/roslyn,Maxwe11/roslyn,supriyantomaftuh/roslyn,brettfo/roslyn,nagyistoce/roslyn,MichalStrehovsky/roslyn,OmarTawfik/roslyn,wschae/roslyn,K...
src/VisualStudio/Core/Def/Implementation/Interop/IVsSolutionWorkingFoldersEvents.cs
src/VisualStudio/Core/Def/Implementation/Interop/IVsSolutionWorkingFoldersEvents.cs
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Runtime.InteropServices; namespace Microsoft.Internal.VisualStudio.Shell.Interop { internal enum __SolutionWorkingFolder ...
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; using System.Runtime.InteropServices; namespace Microsoft.Internal.VisualStudio.Shell.Interop { internal enum __SolutionWorkingFolder ...
apache-2.0
C#
08a3f2ddb47ae47bec93fca6d74c03f9dd088822
Add enemy path
Yennefer/TowerDefense
Assets/Scripts/TargetMovement.cs
Assets/Scripts/TargetMovement.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AI; public class TargetMovement : MonoBehaviour { [SerializeField] private Transform target; private NavMeshAgent agent; void Awake () { agent = GetComponent<NavMeshAgent>(); } void Start () { ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AI; public class TargetMovement : MonoBehaviour { [SerializeField] private Transform target; private NavMeshAgent agent; void Awake () { agent = GetComponent<NavMeshAgent>(); } void Start () { ...
mit
C#
14a410a0fff427ce5474495dcfd0c6c67b172641
fix tests
bgTeamDev/bgTeam.Core,bgTeamDev/bgTeam.Core
tests/bgTeam.ProjectTemplate.Tests/UnitTest1.cs
tests/bgTeam.ProjectTemplate.Tests/UnitTest1.cs
using System; using Xunit; namespace bgTeam.ProjectTemplate.Tests { public class UnitTest1 { private string bgTeamVersion = "2.0.5-alfa"; public UnitTest1() { } //[Fact] //public void Generator_ProjectFile() //{ // var name = "bgTeam.TestGen...
using System; using Xunit; namespace bgTeam.ProjectTemplate.Tests { public class UnitTest1 { private string bgTeamVersion = "2.0.5-alfa"; public UnitTest1() { } [Fact] public void Generator_ProjectFile() { var name = "bgTeam.TestGenerate"; ...
mit
C#
2b84791391343e0db42f2297c233d060ce3c179c
fix raw html
btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver
BTCPayServer/Views/AppsPublic/ViewCrowdfund.cshtml
BTCPayServer/Views/AppsPublic/ViewCrowdfund.cshtml
@addTagHelper *, Meziantou.AspNetCore.BundleTagHelpers @inject BTCPayServer.HostedServices.CssThemeManager themeManager @model BTCPayServer.Models.AppViewModels.ViewCrowdfundViewModel @{ ViewData["Title"] = Model.Title; Layout = null; } <!DOCTYPE html> <html class="h-100"> <head> <title>@Model.Title</titl...
@addTagHelper *, Meziantou.AspNetCore.BundleTagHelpers @inject BTCPayServer.HostedServices.CssThemeManager themeManager @model BTCPayServer.Models.AppViewModels.ViewCrowdfundViewModel @{ ViewData["Title"] = Model.Title; Layout = null; } <!DOCTYPE html> <html class="h-100"> <head> <title>@Model.Title</titl...
mit
C#
4713ac9983e9b9c0be7553eff9cddf775a821255
Add test for Get All sessions that creates session
generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork
src/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/ExampleTests/Repository/RepositoryGetAllTests.cs
src/Smooth.IoC.Dapper.Repository.UnitOfWork.Tests/ExampleTests/Repository/RepositoryGetAllTests.cs
using System.Collections.Generic; using System.Linq; using FakeItEasy; using NUnit.Framework; using Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Tests.TestHelpers; using Smooth.IoC.Dapper.Repository.UnitOfWork.Data; namespace Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Tests.ExampleTests.Repository { [Te...
using System.Collections.Generic; using System.Linq; using FakeItEasy; using NUnit.Framework; using Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Tests.TestHelpers; using Smooth.IoC.Dapper.Repository.UnitOfWork.Data; namespace Smooth.IoC.Dapper.FastCRUD.Repository.UnitOfWork.Tests.ExampleTests.Repository { [Te...
mit
C#
67aa268408237bb79901b2c399200ecbc11ceacb
Fix MaximumLength-Rule for null values
Sandra/Sandra.SimpleValidator
src/Sandra.SimpleValidator/Rules/MaximumLength.cs
src/Sandra.SimpleValidator/Rules/MaximumLength.cs
namespace Sandra.SimpleValidator.Rules { public class MaximumLength : IRule { private readonly int _length; public MaximumLength(int length) { _length = length; Message = "Field needs to be Maximum length of " + length; } public bool IsValid(obj...
namespace Sandra.SimpleValidator.Rules { public class MaximumLength : IRule { private readonly int _length; public MaximumLength(int length) { _length = length; Message = "Field needs to be Maximum length of " + length; } public bool IsValid(obj...
mit
C#
5bba9d74d0f19b286e49b471ba52d980e2283383
Use correct revertTree command from Sitecore as fallback fixes #237
kamsar/Unicorn,kamsar/Unicorn
src/Unicorn/UI/Commands/UnicornLoadTreeCommand.cs
src/Unicorn/UI/Commands/UnicornLoadTreeCommand.cs
using System; using System.Linq; using Rainbow.Model; using Sitecore.Data; using Sitecore.Data.Items; using Sitecore.Data.Serialization; using Sitecore.Diagnostics; using Sitecore.Pipelines; using Sitecore.Shell.Framework.Commands.Serialization; using Unicorn.Data; using Unicorn.Logging; using Unicorn.Pipelines.Unicor...
using System; using System.Linq; using Rainbow.Model; using Sitecore.Data; using Sitecore.Data.Items; using Sitecore.Data.Serialization; using Sitecore.Diagnostics; using Sitecore.Pipelines; using Sitecore.Shell.Framework.Commands.Serialization; using Unicorn.Data; using Unicorn.Logging; using Unicorn.Pipelines.Unicor...
mit
C#
a75b6d687f40e520085b3e80df8520cb5437a7a9
Fix datetime issue with emptyfile (#325)
NuGetPackageExplorer/NuGetPackageExplorer,campersau/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer
Core/Packages/EmptyFolderFile.cs
Core/Packages/EmptyFolderFile.cs
using System; using System.IO; namespace NuGetPe { public class EmptyFolderFile : PackageFileBase { public EmptyFolderFile(string folderPath) : base(System.IO.Path.Combine(folderPath, NuGetPe.Constants.PackageEmptyFileName)) { LastWriteTime = DateTimeOffset.UtcNow; ...
using System.IO; namespace NuGetPe { public class EmptyFolderFile : PackageFileBase { public EmptyFolderFile(string folderPath) : base(System.IO.Path.Combine(folderPath, NuGetPe.Constants.PackageEmptyFileName)) { } public override Stream GetStream() { ...
mit
C#
8d654a2151571f42bd271ecfa8ef91872eab565f
Rewrite this to be shorter & consistent
stampsy/Stampsy.ImageSource
Descriptions/AssetDescription.cs
Descriptions/AssetDescription.cs
using System; using System.Web; namespace Stampsy.ImageSource { public class AssetDescription : IDescription { public enum AssetImageKind { Thumbnail, FullResolution } public AssetImageKind Kind { get; private set; } public string AssetUrl { get;...
using System; using System.Web; namespace Stampsy.ImageSource { public class AssetDescription : IDescription { public enum AssetImageKind { Thumbnail, FullResolution } public AssetImageKind Kind { get; private set; } public string AssetUrl { get;...
mit
C#
3870f53848a9dd0ed6d8f37d33bf8a6cc943fd50
change data dictionary to <string, string>
rit-sse-mycroft/core
Mycroft.Messages/Msg/MsgQuery.cs
Mycroft.Messages/Msg/MsgQuery.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Runtime.Serialization; using System.Runtime.Serialization.Json; namespace Mycroft.Messages.Msg { [DataContract] public class MsgQuery { [DataMember(Name = "id", IsRequir...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Runtime.Serialization; using System.Runtime.Serialization.Json; namespace Mycroft.Messages.Msg { [DataContract] public class MsgQuery { [DataMember(Name = "id", IsRequir...
bsd-3-clause
C#
8e1acb4ada79d0a4d06f5c7f1a481bb55e6c59a0
Change UseCsla extension method from HostBuilder to IHostBuilder for: !NET40 and !NET45, as its not available for those.
rockfordlhotka/csla,MarimerLLC/csla,rockfordlhotka/csla,MarimerLLC/csla,rockfordlhotka/csla,MarimerLLC/csla
Source/Csla.Windows.Shared/ConfigurationExtensions.cs
Source/Csla.Windows.Shared/ConfigurationExtensions.cs
//----------------------------------------------------------------------- // <copyright file="WebConfiguration.cs" company="Marimer LLC"> // Copyright (c) Marimer LLC. All rights reserved. // Website: https://cslanet.com // </copyright> // <summary>Implement extension methods for .NET Core configuration</summa...
//----------------------------------------------------------------------- // <copyright file="WebConfiguration.cs" company="Marimer LLC"> // Copyright (c) Marimer LLC. All rights reserved. // Website: https://cslanet.com // </copyright> // <summary>Implement extension methods for .NET Core configuration</summa...
mit
C#
693711a9dde8ad9e59e11520053c4fadd3823ccc
Update LocalBufferSafeHandle.cs
vcsjones/FiddlerCert,madmarks/FiddlerCert
VCSJones.FiddlerCert/Interop/LocalBufferSafeHandle.cs
VCSJones.FiddlerCert/Interop/LocalBufferSafeHandle.cs
using System; using System.Runtime.InteropServices; using Microsoft.Win32.SafeHandles; namespace VCSJones.FiddlerCert.Interop { internal sealed class LocalBufferSafeHandle : SafeHandleZeroOrMinusOneIsInvalid { [return: MarshalAs(UnmanagedType.SysInt)] [method: DllImport("kernel32.dll", EntryPo...
using System; using System.Runtime.InteropServices; using Microsoft.Win32.SafeHandles; namespace VCSJones.FiddlerCert.Interop { internal sealed class LocalBufferSafeHandle : SafeHandleZeroOrMinusOneIsInvalid { [return: MarshalAs(UnmanagedType.SysInt)] [method: DllImport("kernel32.dll", EntryPo...
mit
C#
272426ec70425b22b9a17a5d3ba26a51c481151b
add an open command to navbaritems.
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Fluent/ViewModels/NavBarItemViewModel.cs
WalletWasabi.Fluent/ViewModels/NavBarItemViewModel.cs
using ReactiveUI; using System; using System.Reactive; using WalletWasabi.Gui.ViewModels; namespace WalletWasabi.Fluent.ViewModels { public abstract class NavBarItemViewModel : ViewModelBase, IRoutableViewModel { private bool _isSelected; private bool _isExpanded; private string _title; public NavBarItemVie...
using ReactiveUI; using System; using WalletWasabi.Gui.ViewModels; namespace WalletWasabi.Fluent.ViewModels { public abstract class NavBarItemViewModel : ViewModelBase, IRoutableViewModel { private bool _isSelected; private bool _isExpanded; private string _title; public NavBarItemViewModel(IScreen screen) ...
mit
C#
375c64ce94e1b512c491b905117b36a97baa98d2
Make PDB test pass (#444)
Microsoft/clrmd,Microsoft/clrmd,cshung/clrmd,cshung/clrmd
src/Microsoft.Diagnostics.Runtime.Tests/src/PdbTests.cs
src/Microsoft.Diagnostics.Runtime.Tests/src/PdbTests.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. using System.Linq; using Xunit; namespace Microsoft.Diagnostics.Runtime.Tests { public class PdbTests { ...
// 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.Linq; using Xunit; namespace Microsoft.Diagnostics.Runtime.Tests { public class PdbTests { ...
mit
C#
e481bfe0f98a4ccadbfa10eecad7696077a78303
Update EncryptingFiles.cs
maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-c...
Examples/CSharp/Files/Utility/EncryptingFiles.cs
Examples/CSharp/Files/Utility/EncryptingFiles.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Files.Utility { public class EncryptingFiles { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetD...
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Files.Utility { public class EncryptingFiles { public static void Main(string[] args) { // The path to the documents directory. string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection...
mit
C#
93744c572e1b8e5556a321b205e02cc5a6c00276
Update Resource.Designer.cs, I have no idea, we need to remove it all
charlenni/Mapsui,charlenni/Mapsui,pauldendulk/Mapsui
Mapsui.UI.Android/Resources/Resource.Designer.cs
Mapsui.UI.Android/Resources/Resource.Designer.cs
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-------------...
#pragma warning disable 1591 //------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //-------------...
mit
C#
55ebcb88b205d0162f2413f26cadffd75b75b78f
kill the duplication of the setup
M-Zuber/octokit.net,geek0r/octokit.net,eriawan/octokit.net,ivandrofly/octokit.net,daukantas/octokit.net,nsnnnnrn/octokit.net,octokit-net-test-org/octokit.net,TattsGroup/octokit.net,brramos/octokit.net,adamralph/octokit.net,SamTheDev/octokit.net,rlugojr/octokit.net,mminns/octokit.net,bslliw/octokit.net,octokit-net-test/...
Octokit.Tests.Integration/ReleasesClientTests.cs
Octokit.Tests.Integration/ReleasesClientTests.cs
using System; using System.Linq; using System.Net.Http.Headers; using System.Threading.Tasks; using Xunit; namespace Octokit.Tests.Integration { public class ReleasesClientTests { public class TheGetReleasesMethod : IDisposable { readonly IReleasesClient _releaseClient; ...
using System.Linq; using System.Net.Http.Headers; using System.Threading.Tasks; using Xunit; namespace Octokit.Tests.Integration { public class ReleasesClientTests { public class TheGetReleasesMethod { [IntegrationTest] public async Task ReturnsReleases() { ...
mit
C#
7f2e5930f1291de7bcbf43c7b5cebf9589bfdaa4
Add missing interface for FindPlayerById
LaserHydra/Oxide,Visagalis/Oxide,Visagalis/Oxide,LaserHydra/Oxide
Oxide.Core/Libraries/Covalence/IPlayerManager.cs
Oxide.Core/Libraries/Covalence/IPlayerManager.cs
using System.Collections.Generic; namespace Oxide.Core.Libraries.Covalence { /// <summary> /// Represents a generic player manager /// </summary> public interface IPlayerManager { #region Player Finding /// <summary> /// Gets all players /// </summary> /// ...
using System.Collections.Generic; namespace Oxide.Core.Libraries.Covalence { /// <summary> /// Represents a generic player manager /// </summary> public interface IPlayerManager { #region Player Finding /// <summary> /// Gets all players /// </summary> /// ...
mit
C#
50775c793dfa884aa580ce64238d1249d960e797
Fix invert boolean converter
KodamaSakuno/Library
Sakuno.Base/Converters/InvertBooleanConverter.cs
Sakuno.Base/Converters/InvertBooleanConverter.cs
using System; using System.Globalization; using System.Windows.Data; using ConvertType = System.Convert; namespace Sakuno.Converters { [ValueConversion(typeof(bool), typeof(bool))] public class InvertBooleanConverter : IValueConverter { public object Convert(object rpValue, Type rpTargetType, obje...
using System; using System.Globalization; using System.Windows.Data; using ConvertType = System.Convert; namespace Sakuno.Converters { [ValueConversion(typeof(bool), typeof(bool))] public class InvertBooleanConverter : IValueConverter { public object Convert(object rpValue, Type rpTargetType, obje...
mit
C#
639dbd843c0e1c12cfa6846cc66cefed39573693
Add some extra options to the agent broker interface
zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototy...
src/Glimpse.Agent.Common/Broker/IAgentBroker.cs
src/Glimpse.Agent.Common/Broker/IAgentBroker.cs
using System; using System.Threading.Tasks; namespace Glimpse.Agent { public interface IAgentBroker { IObservable<MessageListenerOptions> Listen<T>(); IObservable<MessageListenerOptions> ListenIncludeLatest<T>(); IObservable<MessageListenerOptions> ListenAll(); IObservable<M...
using System; using System.Threading.Tasks; namespace Glimpse.Agent { public interface IAgentBroker { IObservable<MessageListenerOptions> Listen<T>(); IObservable<MessageListenerOptions> ListenIncludeLatest<T>(); void SendMessage(object message); } }
mit
C#
5cac0fdd992f8aa1a0aaea37a32ab3f979e60cec
Improve C# seed source code.
exKAZUu/ParserTests,exKAZUu/ParserTests,exKAZUu/ParserTests,exKAZUu/ParserTests,exKAZUu/ParserTests,exKAZUu/ParserTests,exKAZUu/ParserTests
fixture/CSharp/input_code/Seed.cs
fixture/CSharp/input_code/Seed.cs
using System; namespace Occf.Learner.Core.Tests.Experiments { internal class Seed { public static void Main(string[] args) { Contract.Requires(true); Contract.Requires(true, "msg"); Contract.Requires<Exception>(true); Contract.Requires<Exception>(true, "msg"); System.Diagnostics.Contracts.Contract.R...
using System; namespace Occf.Learner.Core.Tests.Experiments { internal class Seed { public static void Main(string[] args) { Contract.Requires(true); Contract.Requires(true, "msg"); Contract.Requires<Exception>(true); Contract.Requires<Exception>(true, "msg"); System.Diagnostics.Contracts.Contract.R...
apache-2.0
C#
2956790f5d73e02d1f2c72d92f26a68675d349ae
bump version 0.9.0.3
lstefano71/Nowin,Bobris/Nowin,pysco68/Nowin,Bobris/Nowin,Bobris/Nowin,modulexcite/Nowin,modulexcite/Nowin,modulexcite/Nowin,pysco68/Nowin,pysco68/Nowin,et1975/Nowin,et1975/Nowin,lstefano71/Nowin,et1975/Nowin,lstefano71/Nowin
Nowin/Properties/AssemblyInfo.cs
Nowin/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Nowin")] [assembly: AssemblyDescription("...
using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Nowin")] [assembly: AssemblyDescription("...
mit
C#
0c0a5b9aca36b6d41984409508776e1c5ecff138
Use repository build metadata as patch version
volak/Aggregates.NET,volak/Aggregates.NET
build/version.cake
build/version.cake
public class BuildVersion { public string Version { get; private set; } public string SemVersion { get; private set; } public string Milestone { get; private set; } public string Sha { get; private set; } public string CakeVersion { get; private set; } public static BuildVersion Calculate(ICake...
public class BuildVersion { public string Version { get; private set; } public string SemVersion { get; private set; } public string Milestone { get; private set; } public string Sha { get; private set; } public string CakeVersion { get; private set; } public static BuildVersion Calculate(ICake...
mit
C#
8b85f309f5e560641ae9b3e6460b97a334878ea7
Change update check interval
danielchalmers/SteamAccountSwitcher
SteamAccountSwitcher/UpdateChecker.cs
SteamAccountSwitcher/UpdateChecker.cs
#region using System; using System.Windows.Threading; using SteamAccountSwitcher.Properties; #endregion namespace SteamAccountSwitcher { internal class UpdateChecker { private static readonly DispatcherTimer _updateTimer = new DispatcherTimer(); static UpdateChecker() { ...
#region using System; using System.Windows.Threading; using SteamAccountSwitcher.Properties; #endregion namespace SteamAccountSwitcher { internal class UpdateChecker { private static readonly DispatcherTimer _updateTimer = new DispatcherTimer(); static UpdateChecker() { ...
mit
C#
34175bb57ed0d7bcc11003f5419605a3272e8524
Update ProgressReport.cs
tiksn/TIKSN-Framework
TIKSN.Core/Progress/ProgressReport.cs
TIKSN.Core/Progress/ProgressReport.cs
using System.Diagnostics; namespace TIKSN.Progress { public class ProgressReport { public ProgressReport(double percentComplete) { Debug.Assert(percentComplete >= 0d); Debug.Assert(percentComplete <= 100d); this.PercentComplete = percentComplete; } ...
using System.Diagnostics; namespace TIKSN.Progress { public class ProgressReport { public ProgressReport(double percentComplete) { Debug.Assert(percentComplete >= 0d); Debug.Assert(percentComplete <= 100d); this.PercentComplete = percentComplete; } ...
mit
C#
3f0f675862bbbf209485cb5f09d9fdf4f5d8614c
fix web camera behavior script
HackathonVRAR/ar-cam-control-experiment,HackathonVRAR/ar-cam-control-experiment
Assets/Plugins/NewBehaviourScript.cs
Assets/Plugins/NewBehaviourScript.cs
using UnityEngine; using System.Collections; public class Webcam : MonoBehaviour { public MeshRenderer[] UseWebcamTexture; private WebCamTexture webcamTexture; void Start() { webcamTexture = new WebCamTexture(); foreach(MeshRenderer r in UseWebcamTexture) { r.material.mainTexture = webcamTexture; ...
using UnityEngine; using System.Collections; public class Webcam : MonoBehaviour { public MeshRenderer[] UseWebcamTexture; private WebCamTexture webcamTexture; void Start() { webcamTexture = new WebCamTexture(); foreach(MeshRenderer r in UseWebcamTexture) { r.material.mainTexture = webcamTexture; ...
mit
C#