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
75d3f7cac51c0e02c045b42958bd33a7655ebdb9
fix updated version number
NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity
ncmb_unity/Assets/NCMB/CommonConstant.cs
ncmb_unity/Assets/NCMB/CommonConstant.cs
/******* Copyright 2014 NIFTY Corporation All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable la...
/******* Copyright 2014 NIFTY Corporation All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable la...
apache-2.0
C#
1798c3ef6fec59038626c5c43c7c59e5cab5a1bd
fix updated version number
NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity,NIFTYCloud-mbaas/ncmb_unity
ncmb_unity/Assets/NCMB/CommonConstant.cs
ncmb_unity/Assets/NCMB/CommonConstant.cs
/******* Copyright 2014 NIFTY Corporation All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable la...
/******* Copyright 2014 NIFTY Corporation All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable la...
apache-2.0
C#
1906f7bebdfe94c40e79b19b8f8c7cc1044d891b
Add citation for Ref.cs
Changer098/ChristmasPi,Changer098/ChristmasPi,Changer098/ChristmasPi,Changer098/ChristmasPi
src/Data/Models/Ref.cs
src/Data/Models/Ref.cs
using System; namespace ChristmasPi.Data.Models { /// <summary> /// A way to store references to value types /// </summary> /// <source>https://stackoverflow.com/a/2258102</source> public sealed class Ref<T> { private Func<T> getter; private Action<T> setter; public Ref(Func...
using System; namespace ChristmasPi.Data.Models { public sealed class Ref<T> { private Func<T> getter; private Action<T> setter; public Ref(Func<T> getter, Action<T> setter) { this.getter = getter; this.setter = setter; } public T Value { ...
apache-2.0
C#
7b0e696f93574e0b806732565089403dabf8a439
Update project settings
sakapon/Bellona.Analysis
Bellona/Analysis/Properties/AssemblyInfo.cs
Bellona/Analysis/Properties/AssemblyInfo.cs
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("Bellona.Analysis")] [assembly: AssemblyDescription("The library for statistical analysis...
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // アセンブリに関する一般情報は以下の属性セットをとおして制御されます。 // アセンブリに関連付けられている情報を変更するには、 // これらの属性値を変更してください。 [assembly: AssemblyTitle("Bellona.Analysis")] [assembly: AssemblyDescription("The library for statistical analysis...
mit
C#
fb1aadfb93f8edf81119324f58f627440dee49b8
Add DiscogRelease properties: lowest_price and num_for_sale
David-Desmaisons/DiscogsClient
DiscogsClient/Data/Result/DiscogsRelease.cs
DiscogsClient/Data/Result/DiscogsRelease.cs
using System; namespace DiscogsClient.Data.Result { public class DiscogsRelease : DiscogsReleaseBase { public DiscogsReleaseArtist[] extraartists { get; set; } public DiscogsReleaseLabel[] labels { get; set; } public DiscogsReleaseLabel[] companies { get; set; } public DiscogsF...
using System; namespace DiscogsClient.Data.Result { public class DiscogsRelease : DiscogsReleaseBase { public DiscogsReleaseArtist[] extraartists { get; set; } public DiscogsReleaseLabel[] labels { get; set; } public DiscogsReleaseLabel[] companies { get; set; } public DiscogsF...
mit
C#
7722526d449d8d926d92d9df5a3e01fdb0b93cc2
Update JsonGrammar to use StringParser for more speed
ArsenShnurkov/Eto.Parse,ArsenShnurkov/Eto.Parse,picoe/Eto.Parse,smbecker/Eto.Parse,smbecker/Eto.Parse,picoe/Eto.Parse
Eto.Parse.Samples/JsonGrammar.cs
Eto.Parse.Samples/JsonGrammar.cs
using System; using Eto.Parse.Parsers; using System.Linq; namespace Eto.Parse.Samples { public class JsonGrammar : Grammar { public JsonGrammar() : base("json") { // terminals var jstring = new StringParser { AllowEscapeCharacters = true }; var jnumber = new NumberParser { AllowExponent = true, Allow...
using System; using Eto.Parse.Parsers; using System.Linq; namespace Eto.Parse.Samples { public class JsonGrammar : Grammar { public JsonGrammar() : base("json") { // terminals var jstring = new GroupParser("\""); var jnumber = new NumberParser { AllowExponent = true, AllowSign = true, AllowDecimal = ...
mit
C#
6e1f30d81653d5a4d2832fbfa5ecc161efe91196
Remove Culture since that causes issues for Workbooks
kzu/Logo
src/es/AssemblyInfo.cs
src/es/AssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("Logo en español para Xamarin Workbooks")] [assembly: AssemblyDescription("Aprende a programar con Xamarin Workbooks, C# y la legendaria Tortuga!")] // NuGet package metadata [assembly: AssemblyMetadata("id", "Logo.es")] [assembly: AssemblyMetadata("authors", "Daniel...
using System.Reflection; [assembly: AssemblyTitle("Logo en español para Xamarin Workbooks")] [assembly: AssemblyDescription("Aprende a programar con Xamarin Workbooks, C# y la legendaria Tortuga!")] [assembly: AssemblyCulture("es")] // NuGet package metadata [assembly: AssemblyMetadata("id", "Logo.es")] [assembly: A...
mit
C#
05a5a63e96bc2c017b0bfdf5b76be2963d699701
Update assembly version to 2.2
jmezach/NuGet2,mrward/NuGet.V2,GearedToWar/NuGet2,indsoft/NuGet2,themotleyfool/NuGet,jmezach/NuGet2,mono/nuget,rikoe/nuget,pratikkagda/nuget,dolkensp/node.net,kumavis/NuGet,chocolatey/nuget-chocolatey,zskullz/nuget,GearedToWar/NuGet2,RichiCoder1/nuget-chocolatey,mono/nuget,themotleyfool/NuGet,mrward/NuGet.V2,jmezach/Nu...
Common/CommonAssemblyInfo.cs
Common/CommonAssemblyInfo.cs
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Outercurve Foundation")] [assembly: AssemblyProduct("NuGet")] [assembly: AssemblyCopyright("\x00a9 Outercurve Foundation. All rights reserved.")] [assembly: AssemblyConfiguration("")] [assembly: A...
using System.Reflection; using System.Resources; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Outercurve Foundation")] [assembly: AssemblyProduct("NuGet")] [assembly: AssemblyCopyright("\x00a9 Outercurve Foundation. All rights reserved.")] [assembly: AssemblyConfiguration("")] [assembly: A...
apache-2.0
C#
f6616ba3b32db1cf91963de28187e35bc6c6b4ea
Update account balance check, account can have zero balance and still be valid.
interfax/interfax-dotnet,interfax/interfax-dotnet
InterFAX.Api.Test.Integration/AccountTests.cs
InterFAX.Api.Test.Integration/AccountTests.cs
using NUnit.Framework; namespace InterFAX.Api.Test.Integration { [TestFixture] public class AccountTests { [Test] public void can_get_balance() { var interfax = new FaxClient(); var actual = interfax.Account.GetBalance().Result; //Assert.IsTrue(ac...
using NUnit.Framework; namespace InterFAX.Api.Test.Integration { [TestFixture] public class AccountTests { [Test] public void can_get_balance() { var interfax = new FaxClient(); var actual = interfax.Account.GetBalance().Result; Assert.IsTrue(actu...
mit
C#
b305e0767a73a33fabc6a7fc5663353363527a5d
Fix missing ConfigureAwait call
jskeet/gax-dotnet,jskeet/gax-dotnet,googleapis/gax-dotnet,googleapis/gax-dotnet
Google.Api.Gax.Grpc/Rest/RestCallInvoker.cs
Google.Api.Gax.Grpc/Rest/RestCallInvoker.cs
/* * Copyright 2020 Google LLC * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file or at * https://developers.google.com/open-source/licenses/bsd */ using Grpc.Core; using System; using System.Threading.Tasks; namespace Google.Api.Gax.Grpc.Rest { /// <summary...
/* * Copyright 2020 Google LLC * Use of this source code is governed by a BSD-style * license that can be found in the LICENSE file or at * https://developers.google.com/open-source/licenses/bsd */ using Grpc.Core; using System; using System.Threading.Tasks; namespace Google.Api.Gax.Grpc.Rest { /// <summary...
bsd-3-clause
C#
e5a4156c552486d9ac65ec91f5322d9b83cbd294
Add additional code gen smoke test cases
IntelliTect/Coalesce,IntelliTect/Coalesce,IntelliTect/Coalesce,IntelliTect/Coalesce
src/IntelliTect.Coalesce.Tests/TargetClasses/CaseDtoStandalone.cs
src/IntelliTect.Coalesce.Tests/TargetClasses/CaseDtoStandalone.cs
using System.Collections; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using IntelliTect.Coalesce; using IntelliTect.Coalesce.DataAnnotations; using IntelliTect.Coalesce.Tests.TargetClasses.TestDbContext; #nullable enable namespace IntelliTect.Coalesce.Tests.Targe...
using System.Collections; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using IntelliTect.Coalesce; using IntelliTect.Coalesce.DataAnnotations; using IntelliTect.Coalesce.Tests.TargetClasses.TestDbContext; #nullable enable namespace IntelliTect.Coalesce.Tests.Targe...
apache-2.0
C#
20091aa991560fb72be97b2f4724e452b96444f1
Change back to Node to ThreadSafeCollection (https://github.com/MetacoSA/NBitcoin/pull/698)
MetacoSA/NBitcoin,NicolasDorier/NBitcoin,MetacoSA/NBitcoin
NBitcoin/Protocol/Filters/NodeFiltersCollection.cs
NBitcoin/Protocol/Filters/NodeFiltersCollection.cs
#if !NOSOCKET using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBitcoin.Protocol.Filters { public class NodeFiltersCollection : ThreadSafeCollection<INodeFilter> { public IDisposable Add(Action<IncomingMessage, Action> onRecei...
#if !NOSOCKET using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace NBitcoin.Protocol.Filters { public class NodeFiltersCollection : ThreadSafeList<INodeFilter> { public IDisposable Add(Action<IncomingMessage, Action> onReceiving, ...
mit
C#
390b37c03a814df534c0b3302ad78dbc0f935a36
Fix XPackCluster. Set license json from reading file, based on path in environment variable.
elastic/elasticsearch-net,elastic/elasticsearch-net
src/Tests/Framework/ManagedElasticsearch/Clusters/XPackCluster.cs
src/Tests/Framework/ManagedElasticsearch/Clusters/XPackCluster.cs
using System; using System.IO; using Elastic.Managed.Ephemeral; using Elastic.Xunit; using Elasticsearch.Net; using Nest; using Tests.Framework.ManagedElasticsearch.NodeSeeders; using Tests.Framework.ManagedElasticsearch.Tasks; namespace Tests.Framework.ManagedElasticsearch.Clusters { public class XPackClusterConfig...
using Elastic.Managed.Ephemeral; using Elastic.Xunit; using Elasticsearch.Net; using Nest; using Tests.Framework.ManagedElasticsearch.NodeSeeders; using Tests.Framework.ManagedElasticsearch.Tasks; namespace Tests.Framework.ManagedElasticsearch.Clusters { public class XPackClusterConfiguration : ClientTestClusterConf...
apache-2.0
C#
a31a3349e90ed4cc26c6efa8c509ffca4319464a
Update copyright.
tompostler/lecture-convert
lecture-convert/Properties/AssemblyInfo.cs
lecture-convert/Properties/AssemblyInfo.cs
using System.Resources; 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. [ass...
using System.Resources; 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. [ass...
apache-2.0
C#
a986e151f8b7e93215ef299dd3ea9f217ba9cd36
Rewrite login method without explicit synchronization
k-t/SharpHaven
MonoHaven.Client/Network/LoginService.cs
MonoHaven.Client/Network/LoginService.cs
using System; using System.Threading.Tasks; namespace MonoHaven.Network { public class LoginService { private readonly LoginSettings settings; public LoginService(LoginSettings settings) { this.settings = settings; } public event EventHandler<LoginStatusEventArgs> StatusChanged; public async Task<...
using System; using System.ComponentModel; using System.Threading.Tasks; namespace MonoHaven.Network { public class LoginService { private readonly LoginSettings settings; public LoginService(LoginSettings settings) { this.settings = settings; } public event EventHandler<LoginStatusEventArgs> StatusC...
mit
C#
bbc07aa098cbbf82f24950f3abca8e915d5790a6
Add non-generic ITableDependency and base ITableDependency<T> on it
christiandelbianco/monitor-table-change-with-sqltabledependency
TableDependency/Abstracts/ITableDependency.cs
TableDependency/Abstracts/ITableDependency.cs
#region License // TableDependency, SqlTableDependency // Copyright (c) 2015-2018 Christian Del Bianco. All rights reserved. // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // ...
#region License // TableDependency, SqlTableDependency // Copyright (c) 2015-2018 Christian Del Bianco. All rights reserved. // // Permission is hereby granted, free of charge, to any person // obtaining a copy of this software and associated documentation // files (the "Software"), to deal in the Software without // ...
mit
C#
947ef60d3b6ff250f92b246f195dd41742afe488
add exception handled
AspectCore/AspectCore-Framework,AspectCore/AspectCore-Framework,AspectCore/Lite,AspectCore/Abstractions
src/AspectCore.Lite.DependencyInjection/Internal/SupportOriginalService.cs
src/AspectCore.Lite.DependencyInjection/Internal/SupportOriginalService.cs
using AspectCore.Lite.DependencyInjection; using System; namespace AspectCore.Lite.DependencyInjection.Internal { internal class SupportOriginalService : ISupportOriginalService { private readonly IServiceProvider serviceProvider; public SupportOriginalService(IServiceProvider serviceProvider...
using AspectCore.Lite.DependencyInjection; using System; namespace AspectCore.Lite.DependencyInjection.Internal { internal class SupportOriginalService : ISupportOriginalService { private readonly IServiceProvider serviceProvider; public SupportOriginalService(IServiceProvider serviceProvider...
mit
C#
2d0d15512f67197c01bbe6cae54934638e8c9bef
バージョン番号更新。
YKSoftware/YKToolkit.Controls
YKToolkit.Controls/Properties/AssemblyInfo.cs
YKToolkit.Controls/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; [assembly: AssemblyTitle("YKToolkit.Controls")] #if NET4 [assembly: AssemblyDescription(".NET Framework 4.0 用 の WPF カスタムコントロールライブラリです。")] #else [assembly: AssemblyDescription("WPF カスタムコントロールライブラリです。")] #endif [assembly: Ass...
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; [assembly: AssemblyTitle("YKToolkit.Controls")] #if NET4 [assembly: AssemblyDescription(".NET Framework 4.0 用 の WPF カスタムコントロールライブラリです。")] #else [assembly: AssemblyDescription("WPF カスタムコントロールライブラリです。")] #endif [assembly: Ass...
mit
C#
c4c59d6f50672ccbbe2aaa0dfde00312cfbe9023
Update log controller for ow-server-enet
eKiosk/HardwareSensorSystem,eKiosk/HardwareSensorSystem,eKiosk/HardwareSensorSystem
src/HardwareSensorSystem.SensorTechnology/Controllers/OwServerEnet2LogController.cs
src/HardwareSensorSystem.SensorTechnology/Controllers/OwServerEnet2LogController.cs
using HardwareSensorSystem.SensorTechnology.Models; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Linq; namespace Hardwa...
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Linq; namespace HardwareSensorSystem.SensorTechnology.Controllers { public class OwServerEnet2LogController...
apache-2.0
C#
55f830a305a908fd3488f47f4fbde985b0b9f375
Fix typo cultur -> culture
yaronthurm/Pinger
Pinger/Code/Program.cs
Pinger/Code/Program.cs
using System; using System.IO; using System.Windows.Forms; namespace PingTester { static class Program { /* TODO: * issue 1: add support to new file format (xml) * issue 2: add full support for telnet, ssh, remote desktop, vnc (icons and prebuilt passwords) * issue 3: add l...
using System; using System.IO; using System.Windows.Forms; namespace PingTester { static class Program { /* TODO: * issue 1: add support to new file format (xml) * issue 2: add full support for telnet, ssh, remote desktop, vnc (icons and prebuilt passwords) * issue 3: add l...
mit
C#
56adf9647e18b3deb08fddb5a9795ebdf55f7292
Update UnityProject/Assets/Scripts/Inventory/NamedSlot.cs
fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation,fomalsd/unitystation
UnityProject/Assets/Scripts/Inventory/NamedSlot.cs
UnityProject/Assets/Scripts/Inventory/NamedSlot.cs
using System; /// <summary> /// All possible item slots. You MUST specify the ordinal otherwise it will break everything. /// </summary> [Serializable] public enum NamedSlot { //NOTE: To ensure safety of things, like scriptable objects, that are referencing this enum, you must NOT change //the ordinals and any new ...
using System; /// <summary> /// All possible item slots. You MUST specify the ordinal otherwise it will break everything. /// </summary> [Serializable] public enum NamedSlot { //NOTE: To ensure safety of things, like scriptable objects, that are referencing this enum, you must NOT change //the ordinals and any new ...
agpl-3.0
C#
07b52dfbbea7b84a17fd907ff9d0a597cd67e02a
add tests for base 16 number (hex) + cleanup
martinlindhe/Punku
PunkuTests/Math/NaturalNumber.cs
PunkuTests/Math/NaturalNumber.cs
using System; using NUnit.Framework; using Punku; [TestFixture] [Category ("Math")] public class Math_NaturalNumber { [Test] public void ToDecimal01 () { var x = new NaturalNumber ("12345"); Assert.AreEqual (x.ToDecimal (), 12345); } [Test] public void ToDecimal02 () { var x = new NaturalNumber ("000123...
using System; using NUnit.Framework; using Punku; [TestFixture] [Category ("Math")] public class Math_NaturalNumber { [Test] public void ToDecimal01 () { var bb = new NaturalNumber ("12345"); Assert.AreEqual (bb.ToDecimal (), 12345); } [Test] public void ToDecimal02 () { var bb = new NaturalNumber ("000...
mit
C#
3b815536498f04290e15054ea5ee3c84d88b1cfe
Replace more hard-coded directory separators with "Path.DirectorySeparatorChar"
YuvalItzchakov/aerospike-client-csharp
AerospikeClient/Lua/LuaConfig.cs
AerospikeClient/Lua/LuaConfig.cs
/* * Copyright 2012-2015 Aerospike, Inc. * * Portions may be licensed to Aerospike, Inc. under one or more contributor * license agreements. * * 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 Lice...
/* * Copyright 2012-2015 Aerospike, Inc. * * Portions may be licensed to Aerospike, Inc. under one or more contributor * license agreements. * * 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 Lice...
apache-2.0
C#
22e9a95486ffb6c5751a3b75dbc22a5eb00ae5e2
Add button to move to page1. it means both of destination page must set "HasNavigationBar=False"
ytabuchi/Study
XF_TabbedPage/XF_TabbedPage/XF_TabbedPage/Page3.cs
XF_TabbedPage/XF_TabbedPage/XF_TabbedPage/Page3.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection.Emit; using System.Text; using Xamarin.Forms; namespace XF_TabbedPage { public class Page3 : ContentPage { public Page3() { NavigationPage.SetHasNavigationBar(this, false); var ...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection.Emit; using System.Text; using Xamarin.Forms; namespace XF_TabbedPage { public class Page3 : ContentPage { public Page3() { NavigationPage.SetHasNavigationBar(this, false); var ...
mit
C#
a46c3af6469fc0436ee7aa197318a84f0e9e64be
Update Assembly Version
samtoubia/azure-sdk-for-net,btasdoven/azure-sdk-for-net,JasonYang-MSFT/azure-sdk-for-net,Yahnoosh/azure-sdk-for-net,jamestao/azure-sdk-for-net,AzCiS/azure-sdk-for-net,shutchings/azure-sdk-for-net,ScottHolden/azure-sdk-for-net,olydis/azure-sdk-for-net,DheerendraRathor/azure-sdk-for-net,ahosnyms/azure-sdk-for-net,shahabh...
src/ResourceManagement/Compute/Microsoft.Azure.Management.Compute/Properties/AssemblyInfo.cs
src/ResourceManagement/Compute/Microsoft.Azure.Management.Compute/Properties/AssemblyInfo.cs
// // Copyright (c) Microsoft. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable la...
// // Copyright (c) Microsoft. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable la...
mit
C#
61a94bb56dad6c65365bdcb3ce8d27618e258c87
Add missing URL property in AttachmentAction
Inumedia/SlackAPI
SlackAPI/Attachment.cs
SlackAPI/Attachment.cs
namespace SlackAPI { //See: https://api.slack.com/docs/attachments public class Attachment { public string callback_id; public string fallback; public string color; public string pretext; public string author_name; public string author_link; public st...
namespace SlackAPI { //See: https://api.slack.com/docs/attachments public class Attachment { public string callback_id; public string fallback; public string color; public string pretext; public string author_name; public string author_link; public st...
mit
C#
eb757d7aef7ee2a74d034e5378223e45aa50d996
Add missing field to config
LordMike/TMDbLib
TMDbLib/Objects/General/ConfigImageTypes.cs
TMDbLib/Objects/General/ConfigImageTypes.cs
using System.Collections.Generic; using Newtonsoft.Json; namespace TMDbLib.Objects.General { public class ConfigImageTypes { [JsonProperty("base_url")] public string BaseUrl { get; set; } [JsonProperty("secure_base_url")] public string SecureBaseUrl { get; set; } [Jso...
using System.Collections.Generic; using Newtonsoft.Json; namespace TMDbLib.Objects.General { public class ConfigImageTypes { [JsonProperty("base_url")] public string BaseUrl { get; set; } [JsonProperty("secure_base_url")] public string SecureBaseUrl { get; set; } [Jso...
mit
C#
d840b4b3e9224b9310f10d311c6f1e391369b045
Fix an error in test (#5041)
jackmagic313/azure-sdk-for-net,jamestao/azure-sdk-for-net,stankovski/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,markcowl/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,hyonholee/azure-sdk-for-net,shahabhijeet/azure-sdk-for...
src/SDKs/CognitiveServices/dataPlane/Search/BingCustomSearch/BingCustomSearch.Tests/CustomSearchTests.cs
src/SDKs/CognitiveServices/dataPlane/Search/BingCustomSearch/BingCustomSearch.Tests/CustomSearchTests.cs
using Microsoft.Azure.Test.HttpRecorder; using Microsoft.Azure.CognitiveServices.Search.CustomSearch; using Microsoft.Azure.CognitiveServices.Search.CustomSearch.Models; using Microsoft.Rest.ClientRuntime.Azure.TestFramework; using System.Linq; using Xunit; using System.Net.Http; namespace SearchSDK.Tests { public...
using Microsoft.Azure.Test.HttpRecorder; using Microsoft.Azure.CognitiveServices.Search.CustomSearch; using Microsoft.Azure.CognitiveServices.Search.CustomSearch.Models; using Microsoft.Rest.ClientRuntime.Azure.TestFramework; using System.Linq; using Xunit; using System.Net.Http; namespace SearchSDK.Tests { public...
mit
C#
a4d6c788b2e603031a00e5d7a3e45d075de8f197
Make a picture unque for every next level
Barrelrolla/MonsterClicker
MonsterClicker/MonsterClicker/Monster.cs
MonsterClicker/MonsterClicker/Monster.cs
using System; using System.Collections.Generic; namespace MonsterClicker { using Interfaces; using System.Numerics; using System.Windows.Forms; public class Monster : IMonster { private BigInteger health; private static BigInteger startHealth = 10; private BigIn...
using System; using System.Collections.Generic; namespace MonsterClicker { using Interfaces; using System.Numerics; using System.Windows.Forms; public class Monster : IMonster { private BigInteger health; private static BigInteger startHealth = 10; private BigIn...
mit
C#
8619fe5df975ded2156f7f8f490867b46e585662
Update UnprotectingSimplyProtectedWorksheet.cs
asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cell...
Examples/CSharp/Worksheets/Security/Unprotect/UnprotectingSimplyProtectedWorksheet.cs
Examples/CSharp/Worksheets/Security/Unprotect/UnprotectingSimplyProtectedWorksheet.cs
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Worksheets.Security.Unprotect { public class UnprotectingSimplyProtectedWorksheet { public static void Main(string[] args) { //ExStart:1 // The path to the documents directory. string dataD...
using System.IO; using Aspose.Cells; namespace Aspose.Cells.Examples.Worksheets.Security.Unprotect { public class UnprotectingSimplyProtectedWorksheet { public static void Main(string[] args) { //Exstart:1 // The path to the documents directory. string dataD...
mit
C#
f00c1ff5e6efb29d8bbcc55e2a615ee44d360063
Add missing import to default class in C# template.
splunk/splunk-extension-visualstudio
SplunkSDKCSharpProjectTemplate/Class1.cs
SplunkSDKCSharpProjectTemplate/Class1.cs
using System; using System.Collections.Generic; using System.Threading.Tasks; using System.Text; using Splunk.Client; // This is a template for new users of the Splunk SDK for Java. // The code below connects to a Splunk instance, runs a search, // and prints out the results in a crude form. namespace $safeprojectnam...
using System; using System.Collections.Generic; using System.Text; using Splunk.Client; // This is a template for new users of the Splunk SDK for Java. // The code below connects to a Splunk instance, runs a search, // and prints out the results in a crude form. namespace $safeprojectname$ { public class Class1 { ...
apache-2.0
C#
ce7d767aae805f61b6e513356198dfc7e1aaec3f
Handle null string enum values
twilio/twilio-csharp
Twilio/Converters/StringEnumConverter.cs
Twilio/Converters/StringEnumConverter.cs
using System; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System.Collections.Generic; using System.Collections; using Twilio.Types; namespace Twilio.Converters { public class StringEnumConverter : JsonConverter { public override void WriteJson(JsonWriter writer, object value, JsonSerializer serialize...
using System; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System.Collections.Generic; using System.Collections; using Twilio.Types; namespace Twilio.Converters { public class StringEnumConverter : JsonConverter { public override void WriteJson(JsonWriter writer, object value, JsonSerializer serialize...
mit
C#
b5d2cfa495f60e673c29322c0c16c1cfb553dfc6
Remove TODO in integration test (it passes now)
evildour/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,iantalarico/google-cloud-dotnet,evildour/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/gcloud-dotnet,jskeet/google-cloud-dotnet,googleapis/g...
apis/Google.Cloud.Vision.V1/Google.Cloud.Vision.V1.IntegrationTests/ImageAnnotatorClientTest.cs
apis/Google.Cloud.Vision.V1/Google.Cloud.Vision.V1.IntegrationTests/ImageAnnotatorClientTest.cs
// Copyright 2016 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
// Copyright 2016 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicabl...
apache-2.0
C#
0d1a6f8b88ba3c720e518f7ef1ce60d9690dd037
Fix StyleCop warnings
RehanSaeed/Serilog.Exceptions,RehanSaeed/Serilog.Exceptions
Tests/Serilog.Exceptions.Test/Destructurers/UriDestructurerTest.cs
Tests/Serilog.Exceptions.Test/Destructurers/UriDestructurerTest.cs
namespace Serilog.Exceptions.Test.Destructurers { using System; using System.Collections; using Core; using Exceptions.Destructurers; using Xunit; public class UriDestructurerTest { private ReflectionBasedDestructurer destructurer; public UriDestructurerTest() { ...
using System; using System.Collections; using Serilog.Exceptions.Core; using Serilog.Exceptions.Destructurers; using Xunit; namespace Serilog.Exceptions.Test.Destructurers { public class UriDestructurerTest { private ReflectionBasedDestructurer destructurer; public UriDestructurerTest() ...
mit
C#
8061da3abad243913ee216303892073998c0326b
Fix build
ASP-NET-MVC-Boilerplate/Framework,ASP-NET-MVC-Boilerplate/Framework
Tests/Boxed.AspNetCore.Swagger.Test/SchemaFilters/JsonPatchDocumentSchemaFilterTest.cs
Tests/Boxed.AspNetCore.Swagger.Test/SchemaFilters/JsonPatchDocumentSchemaFilterTest.cs
namespace Boxed.AspNetCore.Swagger.Test.SchemaFilters { using System; using Boxed.AspNetCore.Swagger.SchemaFilters; using Microsoft.AspNetCore.JsonPatch; using Microsoft.OpenApi.Any; using Microsoft.OpenApi.Models; using Swashbuckle.AspNetCore.SwaggerGen; using Xunit; public class JsonP...
namespace Boxed.AspNetCore.Swagger.Test.SchemaFilters { using System; using Boxed.AspNetCore.Swagger.SchemaFilters; using Microsoft.AspNetCore.JsonPatch; using Microsoft.OpenApi.Any; using Microsoft.OpenApi.Models; using Swashbuckle.AspNetCore.SwaggerGen; using Xunit; public class JsonP...
mit
C#
8b610c0b7236d6d3e3598e0a60bc97518ddf07d1
fix LogLevel method
exercism/xcsharp,exercism/xcsharp
exercises/concept/strings/.meta/Example.cs
exercises/concept/strings/.meta/Example.cs
static class LogLine { public static string Message(string logLine) { return logLine.Substring(logLine.IndexOf(":") + 1).Trim(); } public static string LogLevel(string logLine) { return logLine.Substring(1, (logLine.IndexOf("]") - 1).ToLower(); } public static string Reform...
static class LogLine { public static string Message(string logLine) { return logLine.Substring(logLine.IndexOf(":") + 1).Trim(); } public static string LogLevel(string logLine) { return logLine.Substring(1, logLine.IndexOf("]")).ToLower(); } public static string Reformat(st...
mit
C#
66e5bae71ed4ee1aa0ee2a1bf170cab13c8e0b0f
Clean up Constants file
CoraleStudios/Colore,Sharparam/Colore,danpierce1/Colore,WolfspiritM/Colore
Corale.Colore/Razer/Constants.cs
Corale.Colore/Razer/Constants.cs
// --------------------------------------------------------------------------------------- // <copyright file="Constants.cs" company="Corale"> // Copyright © 2015 by Adam Hellberg and Brandon Scott. // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and a...
// --------------------------------------------------------------------------------------- // <copyright file="Constants.cs" company="Corale"> // Copyright © 2015 by Adam Hellberg and Brandon Scott. // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and a...
mit
C#
35836e976dd79c9942866d5a331b59d848c68ad5
Update OneSignal default Instance
one-signal/OneSignal-Xamarin-SDK,one-signal/OneSignal-Xamarin-SDK
Com.OneSignal/OneSignal.cs
Com.OneSignal/OneSignal.cs
using System; using System.Diagnostics; using Com.OneSignal.Core; namespace Com.OneSignal { public class OneSignal { static readonly Lazy<OneSignalSDK> Implementation = new Lazy<OneSignalSDK>(CreateOneSignal); public static OneSignalSDK Default { get { if (Implem...
using System; using System.Diagnostics; using Com.OneSignal.Abstractions; namespace Com.OneSignal { public class OneSignal { static readonly Lazy<IOneSignal> Implementation = new Lazy<IOneSignal>(CreateOneSignal); public static IOneSignal Current { get { if (Impl...
mit
C#
ee026aa61fe278e484efe86d19a394cbf7e67cb0
Update AutomationActionType.cs
smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk
main/Smartsheet/Api/Models/AutomationActionType.cs
main/Smartsheet/Api/Models/AutomationActionType.cs
// #[license] // SmartsheetClient SDK for C# // %% // Copyright (C) 2018 SmartsheetClient // %% // 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 // // ...
// #[license] // SmartsheetClient SDK for C# // %% // Copyright (C) 2018 SmartsheetClient // %% // 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 // // ...
apache-2.0
C#
8cc0e72be287c854a842dca126895ee7baf0e130
Remove unneccessary attributes
andrewlock/NetEscapades.AspNetCore.SecurityHeaders,andrewlock/NetEscapades.AspNetCore.SecurityHeaders,andrewlock/NetEscapades.AspNetCore.SecurityHeaders,andrewlock/NetEscapades.AspNetCore.SecurityHeaders
src/NetEscapades.AspNetCore.SecurityHeaders/Properties/AssemblyInfo.cs
src/NetEscapades.AspNetCore.SecurityHeaders/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: InternalsVisibleTo("NetEscapades.AspNetCore.SecurityHeaders.Test")]
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: AssemblyConfigurat...
mit
C#
5bde5c9a3c86e9cd54c46bb3eb304c3ef118e632
Allow to run build even if git repo informations are not available
Abc-Arbitrage/zerio
build/scripts/utilities.cake
build/scripts/utilities.cake
#tool "nuget:?package=GitVersion.CommandLine" #addin "Cake.Yaml" public class ContextInfo { public string NugetVersion { get; set; } public string AssemblyVersion { get; set; } public GitVersion Git { get; set; } public string BuildVersion { get { return NugetVersion + "-" + Git.Sha; } ...
#tool "nuget:?package=GitVersion.CommandLine" #addin "Cake.Yaml" public class ContextInfo { public string NugetVersion { get; set; } public string AssemblyVersion { get; set; } public GitVersion Git { get; set; } public string BuildVersion { get { return NugetVersion + "-" + Git.Sha; } ...
mit
C#
ea3c06cd44186620d65aaf9090180807a5d0e6cc
Add more logs (#3032)
Neurosploit/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,fassadlr/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,bokobza/StratisBitcoinFullNode,mikedennis/StratisBitcoinFullNode,stratisproject/St...
src/Stratis.Bitcoin.Features.Consensus/Rules/CommonRules/TransactionDuplicationActivationRule.cs
src/Stratis.Bitcoin.Features.Consensus/Rules/CommonRules/TransactionDuplicationActivationRule.cs
using System.Threading.Tasks; using Microsoft.Extensions.Logging; using NBitcoin; using Stratis.Bitcoin.Base.Deployments; using Stratis.Bitcoin.Consensus; using Stratis.Bitcoin.Consensus.Rules; using Stratis.Bitcoin.Utilities; namespace Stratis.Bitcoin.Features.Consensus.Rules.CommonRules { /// <summary> /// ...
using System.Threading.Tasks; using Microsoft.Extensions.Logging; using NBitcoin; using Stratis.Bitcoin.Base.Deployments; using Stratis.Bitcoin.Consensus; using Stratis.Bitcoin.Consensus.Rules; using Stratis.Bitcoin.Utilities; namespace Stratis.Bitcoin.Features.Consensus.Rules.CommonRules { /// <summary> /// ...
mit
C#
9106ba808c97994f869ad721ef81aa8dd5dd764f
fix using and type
autumn009/TanoCSharpSamples
chap36/GetEnumerator/GetEnumerator/Program.cs
chap36/GetEnumerator/GetEnumerator/Program.cs
using System; using System.Collections.Generic; class X { internal int A { get; set; } internal int B { get; set; } } internal static class MyExtensions { internal static IEnumerator<int> GetEnumerator(this X x) { yield return x.A; yield return x.B; } } class Program { static...
using System; using System.Collections; using System.Collections.Generic; class X { internal int A { get; set; } internal int B { get; set; } } internal static class MyExtensions { internal static IEnumerator GetEnumerator(this X x) { yield return x.A; yield return x.B; } } class...
mit
C#
2ea0cdd6b76658b11bc9c472fb3ccd0da8859da8
Fix Mono 5.0 run under Unity 5.5+
SaladbowlCreative/Unity3D.IncrementalCompiler,SaladLab/Unity3D.IncrementalCompiler
extra/UniversalCompiler/Compilers/Mono50Compiler.cs
extra/UniversalCompiler/Compilers/Mono50Compiler.cs
using System.Diagnostics; using System.IO; using System.Linq; internal class Mono50Compiler : Compiler { public Mono50Compiler(Logger logger, string compilerPath) : base(logger, compilerPath, null) { } public override string Name => "Mono C# 5.0"; protected override Process CreateCompilerProcess(Platform platform...
using System.Diagnostics; using System.IO; internal class Mono50Compiler : Compiler { public Mono50Compiler(Logger logger, string compilerPath) : base(logger, compilerPath, null) { } public override string Name => "Mono C# 5.0"; protected override Process CreateCompilerProcess(Platform platform, string monoProfil...
mit
C#
d444e4deb41b527c29743fc52df8583e73908c3f
Fix Actions property
XamlBehaviors/XamlBehaviors,wieslawsoltes/AvaloniaBehaviors,XamlBehaviors/XamlBehaviors,wieslawsoltes/AvaloniaBehaviors
src/Avalonia.Xaml.Interactivity/Trigger.cs
src/Avalonia.Xaml.Interactivity/Trigger.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.Metadata; namespace Avalonia.Xaml.Interactivity { /// <summary> /// A base class for behaviors, implementing the basic plumbing of <seeals...
// 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.Metadata; namespace Avalonia.Xaml.Interactivity { /// <summary> /// A base class for behaviors, implementing the basic plumbing of <seeals...
mit
C#
626fd591f4919aa33ee5d0c4b53e42e70dc2cb1e
Fix for email obfuscator of Cloudflare
codetuner/Arebis.Web.Mvc.ElmahDashboard,codetuner/Arebis.Web.Mvc.ElmahDashboard,codetuner/Arebis.Web.Mvc.ElmahDashboard
ElmahDashboardHostingApp/Areas/MvcElmahDashboard/Views/Logs/ItemsPart.cshtml
ElmahDashboardHostingApp/Areas/MvcElmahDashboard/Views/Logs/ItemsPart.cshtml
@model ElmahDashboardHostingApp.Areas.MvcElmahDashboard.Models.Logs.ItemsModel @{ Layout = null; var dateFormat = System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern.Replace("yyyy", "yy").ToUpperInvariant(); } @* Disable Email obfuscation by Cloudflare (which is not compatible ...
@model ElmahDashboardHostingApp.Areas.MvcElmahDashboard.Models.Logs.ItemsModel @{ Layout = null; var dateFormat = System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern.Replace("yyyy", "yy").ToUpperInvariant(); } @foreach (var item in Model.Items) { <a id="i@(item.Sequence)" c...
mit
C#
bbaa7f95de2c12af5ef7e2c0686fd9d7fa113f7d
Add semicolon
planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell
src/Firehose.Web/Authors/DanTsekhanskiy.cs
src/Firehose.Web/Authors/DanTsekhanskiy.cs
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class DanTsekhanskiy : IAmACommunityMember { public string FirstName => "Dan"; public string Las...
using System; using System.Collections.Generic; using System.Linq; using System.ServiceModel.Syndication; using System.Web; using Firehose.Web.Infrastructure; namespace Firehose.Web.Authors { public class DanTsekhanskiy : IAmACommunityMember { public string FirstName => "Dan"; public string Las...
mit
C#
9919022a8afdc72a8fd5f200f42ac157bd377f19
Update GeraldVersluis.cs
MabroukENG/planetxamarin,MabroukENG/planetxamarin,beraybentesen/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,stvansolano/planetxamarin,stvansolano/planetxamarin,stvansolano/planetxamarin,beraybentesen/planetxamarin,MabroukENG/planetxamarin,beraybentesen/planetxamarin...
src/Firehose.Web/Authors/GeraldVersluis.cs
src/Firehose.Web/Authors/GeraldVersluis.cs
using Firehose.Web.Infrastructure; using System; using System.Collections.Generic; namespace Firehose.Web.Authors { public class GeraldVersluis : IAmAMicrosoftMVP { public string FirstName => "Gerald"; public string LastName => "Versluis"; public string StateOrRegion => "Holland"; ...
using Firehose.Web.Infrastructure; using System; using System.Collections.Generic; namespace Firehose.Web.Authors { public class GeraldVersluis : IAmAMicrosoftMVP { public string FirstName => "Gerald"; public string LastName => "Versluis"; public string StateOrRegion => "Holland"; ...
mit
C#
ad7c7915d382fb164be0477bb983566ce6aab176
remove log from QuartzJob
smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp
src/StockportWebapp/Scheduler/QuartzJob.cs
src/StockportWebapp/Scheduler/QuartzJob.cs
using System; using System.Threading.Tasks; using Quartz; using StockportWebapp.Exceptions; using StockportWebapp.FeatureToggling; using StockportWebapp.Models; using StockportWebapp.Repositories; using StockportWebapp.Services; using StockportWebapp.Utils; using Microsoft.Extensions.Logging; using System.Linq; names...
using System; using System.Threading.Tasks; using Quartz; using StockportWebapp.Exceptions; using StockportWebapp.FeatureToggling; using StockportWebapp.Models; using StockportWebapp.Repositories; using StockportWebapp.Services; using StockportWebapp.Utils; using Microsoft.Extensions.Logging; using System.Linq; names...
mit
C#
eda9ef91838051e03f6d98ce03472807cbec9360
fix category endpoint
volkanceylan/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,rolembergfilho/Serenity,linpiero/Serenity,linpiero/Serenity,dfaruque/Serenity,dfaruque/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,TukekeSoft/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,linpiero/Serenity,linpiero/Serenity,linpiero/Ser...
Samples/BasicApplication/BasicApplication/BasicApplication.Web/Modules/Northwind/Category/CategoryEndpoint.cs
Samples/BasicApplication/BasicApplication/BasicApplication.Web/Modules/Northwind/Category/CategoryEndpoint.cs
 namespace BasicApplication.Northwind.Endpoints { using Serenity.Data; using Serenity.Services; using System.Data; using System.Web.Mvc; using MyRepository = Repositories.CategoryRepository; using MyRow = Entities.CategoryRow; [RoutePrefix("Services/Northwind/Category"), Route("{...
 namespace BasicApplication.Northwind.Endpoints { using Serenity; using Serenity.Services; using System.Web.Mvc; using MyRepository = Repositories.CategoryRepository; using MyRow = Entities.CategoryRow; [ServiceAuthorize] [RoutePrefix("Services/Northwind/Category"), Route("{act...
mit
C#
0427399746e323d12c8f432cc243fd3284857b11
add stress tests
ceee/PocketSharp
PocketSharp.Tests/StressTests.cs
PocketSharp.Tests/StressTests.cs
using PocketSharp.Models; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Xunit; namespace PocketSharp.Tests { public class StressTests : TestsBase { private static IEnumerable<string> urls; private static string[] tags = new string[]...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Xunit; namespace PocketSharp.Tests { public class StressTests : TestsBase { private static IEnumerable<string> urls; private static string[] tags = new string[] { "css", "js", "csharp", ...
mit
C#
0a268c71405af6185021423dd68720a3c3808667
Update GdalDriverInfo.cs
LANDIS-II-Foundation/Landis-Spatial-Modeling-Library
src/RasterIO.Gdal/GdalDriverInfo.cs
src/RasterIO.Gdal/GdalDriverInfo.cs
// Contributors: // James Domingo, Green Code LLC using System; using System.Collections.Generic; using OSGeo.GDAL; namespace Landis.SpatialModeling.CoreServices { public static class GdalDriverInfo { public static void PrintAll() { try { Gdal.AllRegister(); ...
// Copyright 2010 Green Code LLC // All rights reserved. // // The copyright holders license this file under the New (3-clause) BSD // License (the "License"). You may not use this file except in // compliance with the License. A copy of the License is available at // // http://www.opensource.org/licenses/BSD-3-Cla...
apache-2.0
C#
9ceba58e92454f4b4bd8fdcca9af3b4217f02a70
Fix datalist markup
peterblazejewicz/documentdb-todo-app-aspnet5,peterblazejewicz/documentdb-todo-app-aspnet5
src/ToDoApp/Views/Home/Index.cshtml
src/ToDoApp/Views/Home/Index.cshtml
@using Microsoft.Extensions.OptionsModel @using ToDoApp.Models @inject IOptions<DocumentDbOptions> config <h1>@ViewData["Title"]</h1> <h1>ToDo Application<br/> <small>backed by Azure DocumentDb</small></h1> <blockquote> <p>To highlight how you can efficiently leverage Azure DocumentDB to store and query JSON ...
@using Microsoft.Extensions.OptionsModel @using ToDoApp.Models @inject IOptions<DocumentDbOptions> config <h1>@ViewData["Title"]</h1> <h1>ToDo Application<br/> <small>backed by Azure DocumentDb</small></h1> <blockquote> <p>To highlight how you can efficiently leverage Azure DocumentDB to store and query JSON ...
unlicense
C#
cfddee4676b48c3c5a41f05ac99d64a3a810fbd3
fix and improve user management test
JetBrains/YouTrackSharp,JetBrains/YouTrackSharp
tests/YouTrackSharp.Tests/Integration/Management/UserManagement/CreateAndUpdateUser.cs
tests/YouTrackSharp.Tests/Integration/Management/UserManagement/CreateAndUpdateUser.cs
using System; using System.Threading.Tasks; using Xunit; using YouTrackSharp.Tests.Infrastructure; namespace YouTrackSharp.Tests.Integration.Management.UserManagement { public partial class UserManagementServiceTests { public class CreateAndUpdateUser { [Fact(Skip = "Don't want to p...
using System; using System.Threading.Tasks; using Xunit; using YouTrackSharp.Tests.Infrastructure; namespace YouTrackSharp.Tests.Integration.Management.UserManagement { public partial class UserManagementServiceTests { public class CreateAndUpdateUser { [Fact(Skip = "Don't want to p...
apache-2.0
C#
77e26db516ed097c16c419e37d2ad04ef8829ca9
Add credentials to UsersEndpointTests
thedillonb/octokit.net,octokit-net-test-org/octokit.net,Sarmad93/octokit.net,nsrnnnnn/octokit.net,shiftkey/octokit.net,octokit-net-test/octokit.net,cH40z-Lord/octokit.net,editor-tools/octokit.net,ivandrofly/octokit.net,shiftkey/octokit.net,SamTheDev/octokit.net,octokit/octokit.net,devkhan/octokit.net,SmithAndr/octokit....
Nocto.Tests.Integration/UsersEndpointTests.cs
Nocto.Tests.Integration/UsersEndpointTests.cs
using System.Threading.Tasks; using FluentAssertions; using Nocto.Http; using Xunit; namespace Nocto.Tests.Integration { public class UsersEndpointTests { public class TheGetMethod { [Fact] public async Task ReturnsSpecifiedUser() { var githu...
using System; using System.Threading.Tasks; using FluentAssertions; using Nocto.Http; using Xunit; namespace Nocto.Tests.Integration { public class UsersEndpointTests { public class TheGetMethod { [Fact] public async Task ReturnsSpecifiedUser() { ...
mit
C#
ddd4709bfd0ff7b85e6222c750ce31c52b518445
Add helper GetPropertyValue
clariuslabs/TransformOnBuild
Clarius.TransformOnBuild.MSBuild.Task/Clarius.TransformOnBuild.MSBuild.Task/TransformOnBuildTask.cs
Clarius.TransformOnBuild.MSBuild.Task/Clarius.TransformOnBuild.MSBuild.Task/TransformOnBuildTask.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Microsoft.Build.Execution; namespace Clarius.TransformOnBuild.MSBuild.Task { public class TransformOnBuildTask : Microsoft.Build.Utilities.Task { private ProjectInstance _projectInstance; ...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Microsoft.Build.Execution; namespace Clarius.TransformOnBuild.MSBuild.Task { public class TransformOnBuildTask : Microsoft.Build.Utilities.Task { private ProjectInstance _projectInstance; ...
apache-2.0
C#
d25278622a0e8a918476c3702e8a2e60397773e3
Make test more readable
riganti/infrastructure
src/Infrastructure/Tests/Riganti.Utils.Infrastructure.Core.Tests/CoreNamespacesTests.cs
src/Infrastructure/Tests/Riganti.Utils.Infrastructure.Core.Tests/CoreNamespacesTests.cs
 using System.Linq; using Xunit; namespace Riganti.Utils.Infrastructure.Core.Tests { public class CoreNamespacesTests { /// <summary> /// If this test fail you have to correct the name space. /// If you are using Resharper you should set NamespaceProvider to false in folder ...
 using System.Linq; using Xunit; namespace Riganti.Utils.Infrastructure.Core.Tests { public class CoreNamespacesTests { /// <summary> /// If this test fail you have to correct the name space. /// If you are using Resharper you should set NamespaceProvider to false in folder properties...
apache-2.0
C#
56bba0637b8447846099817ecfe703ee504f140a
Delete test.
nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet
WalletWasabi.Tests/StoreTests.cs
WalletWasabi.Tests/StoreTests.cs
using NBitcoin; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using WalletWasabi.Stores; using Xunit; namespace WalletWasabi.Tests { public class StoreTests { [Fact] public async Task IndexStoreTestsAsync() { var indexSto...
using NBitcoin; using System; using System.Collections.Generic; using System.IO; using System.Text; using System.Threading.Tasks; using WalletWasabi.Stores; using Xunit; namespace WalletWasabi.Tests { public class StoreTests { [Fact] public async Task IndexStoreTestsAsync() { var indexStore = new IndexStore...
mit
C#
023692058b203a897101107adffd521a333d6a31
Enumerate packages.config file from repositories.config files.
Peter-Juhasz/PackageDiscovery
src/PackageDiscovery/Finders/NuGetPackageFinder.cs
src/PackageDiscovery/Finders/NuGetPackageFinder.cs
using System.Collections.Generic; using System.IO; using System.Linq; using System.Xml.Linq; namespace PackageDiscovery.Finders { public sealed class NuGetPackageFinder : IPackageFinder { public const string Moniker = "NuGet"; public IReadOnlyCollection<Package> FindPackages(DirectoryInfo dir...
using System.Collections.Generic; using System.IO; using System.Linq; using System.Xml.Linq; namespace PackageDiscovery.Finders { public sealed class NuGetPackageFinder : IPackageFinder { public const string Moniker = "NuGet"; public IReadOnlyCollection<Package> FindPackages(DirectoryInfo dir...
mit
C#
c95fb8ac9a1f7612884fe95a11e9e11554986ca5
Fix to use GetViewSize() instead of Screen.height.
Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x,Senspark/ee-x
unity/Runtime/Unity/UnityAdView.cs
unity/Runtime/Unity/UnityAdView.cs
using System.Threading.Tasks; using UnityEngine; namespace EE { public class UnityAdView : ObserverManager<IAdViewObserver>, IAdView { private readonly IAdView _ad; private readonly ObserverHandle _handle; private readonly int _screenHeight; public UnityAdView(IAdView ad) ...
using System.Threading.Tasks; using UnityEngine; namespace EE { public class UnityAdView : ObserverManager<IAdViewObserver>, IAdView { private readonly IAdView _ad; private readonly ObserverHandle _handle; public UnityAdView(IAdView ad) { _ad = ad; _handle ...
mit
C#
1534fd2fdc4b160b13815ae9ead391bb77a82e36
Change version number.
Clairety/ConnectMe,jockorob/BotBuilder,yakumo/BotBuilder,xiangyan99/BotBuilder,xiangyan99/BotBuilder,stevengum97/BotBuilder,dr-em/BotBuilder,msft-shahins/BotBuilder,navaei/BotBuilder,xiangyan99/BotBuilder,dr-em/BotBuilder,navaei/BotBuilder,jockorob/BotBuilder,xiangyan99/BotBuilder,msft-shahins/BotBuilder,digibaraka/Bot...
CSharp/Library/Properties/AssemblyInfo.cs
CSharp/Library/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: AssemblyTi...
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: AssemblyTi...
mit
C#
7631b53a2fa778bce1425053d84fa46b633fd066
Bump version to 0.5.0
sqt/cactbot,sqt/cactbot,sqt/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,sqt/cactbot,sqt/cactbot,quisquous/cactbot
CactbotOverlay/Properties/AssemblyInfo.cs
CactbotOverlay/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("CactbotOverlay")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("CactbotOverlay")] [assembly: AssemblyC...
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; [assembly: AssemblyTitle("CactbotOverlay")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("CactbotOverlay")] [assembly: AssemblyC...
apache-2.0
C#
1bd5cf5fbef6f6d1005bfb1c8d562d0a8edea3aa
remove comma from list
DanielaPopova/TelerikAcademy_Homeworks,DanielaPopova/TelerikAcademy_Homeworks,DanielaPopova/TelerikAcademy_Homeworks
C#OOP/ExtensionMethodsDelegatesLambdaLINQ_HW/Problem02_IEnumerable/StartUp.cs
C#OOP/ExtensionMethodsDelegatesLambdaLINQ_HW/Problem02_IEnumerable/StartUp.cs
namespace Problem2_IEnumerable { using System; using System.Collections.Generic; using Problem2_IEnumerable.Extensions; // using System.Numerics; public class StartUp { public static void Main() { var testList = new List<int> { 2, 3, 4, 5, 8, 100, 14 }; // doesn't...
namespace Problem2_IEnumerable { using System; using System.Collections.Generic; using Problem2_IEnumerable.Extensions; // using System.Numerics; public class StartUp { public static void Main() { var testList = new List<int> { 2, 3, 4, 5, 8, 100, 14, }; // doesn'...
mit
C#
cf5812dbbf0a877086f726b8582c02c2a0bcc63e
fix updatedAfter filter for GetIssuesInProject
JetBrains/YouTrackSharp,JetBrains/YouTrackSharp
src/YouTrackSharp/Issues/IssuesService.Querying.cs
src/YouTrackSharp/Issues/IssuesService.Querying.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using YouTrackSharp.Generated; using YouTrackSharp.Internal; namespace YouTrackSharp.Issues { public partial class IssuesService { /// <inheritdoc /> public async Task<ICollection<Issue>> GetIssuesI...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using YouTrackSharp.Generated; using YouTrackSharp.Internal; namespace YouTrackSharp.Issues { public partial class IssuesService { /// <inheritdoc /> public async Task<ICollection<Issue>> GetIssuesI...
apache-2.0
C#
280ea123a7494400ba0dbb4f35cf2f7c7257bb0e
Fix PR display
jaredpar/jenkins,jaredpar/jenkins,jaredpar/jenkins
Dashboard/Views/Builds/TestFailure.cshtml
Dashboard/Views/Builds/TestFailure.cshtml
@model Dashboard.Models.TestFailureModel @using Dashboard.Jenkins @{ ViewBag.Title = Model.Name; var prValue = Model.IncludePullRequests ? @"checked=""checked""" : ""; var startDateValue = Model.StartDate.ToString("yyyy-MM-dd"); var showForPrStyle = Model.IncludePullRequests ? "" : "display: none"; } ...
@model Dashboard.Models.TestFailureModel @using Dashboard.Jenkins @{ ViewBag.Title = Model.Name; var prValue = Model.IncludePullRequests ? @"checked=""checked""" : ""; var startDateValue = Model.StartDate.ToString("yyyy-MM-dd"); var showForPrStyle = Model.IncludePullRequests ? "" : "display: none"; } ...
apache-2.0
C#
ccf2b289eb0ca620f4bd7c1a9b1741b41ea3568e
Add docs region for User class
GoogleCloudPlatform/getting-started-dotnet,GoogleCloudPlatform/getting-started-dotnet,GoogleCloudPlatform/getting-started-dotnet
aspnet/4-auth/Models/User.cs
aspnet/4-auth/Models/User.cs
// Copyright(c) 2016 Google Inc. // // 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 agree...
// Copyright(c) 2016 Google Inc. // // 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 agree...
apache-2.0
C#
98d2cd9c369bee584e31eb45715f6f76d3ce9eca
fix #45 Disable transactions
aspnetboilerplate/aspnetboilerplate-samples,aspnetboilerplate/aspnetboilerplate-samples,aspnetboilerplate/aspnetboilerplate-samples,aspnetboilerplate/aspnetboilerplate-samples,aspnetboilerplate/aspnetboilerplate-samples,aspnetboilerplate/aspnetboilerplate-samples
SqliteDemo/aspnet-core/src/Volo.SqliteDemo.EntityFrameworkCore/EntityFrameworkCore/SqliteDemoEntityFrameworkModule.cs
SqliteDemo/aspnet-core/src/Volo.SqliteDemo.EntityFrameworkCore/EntityFrameworkCore/SqliteDemoEntityFrameworkModule.cs
using Abp.EntityFrameworkCore.Configuration; using Abp.Modules; using Abp.Reflection.Extensions; using Abp.Zero.EntityFrameworkCore; using Volo.SqliteDemo.EntityFrameworkCore.Seed; namespace Volo.SqliteDemo.EntityFrameworkCore { [DependsOn( typeof(SqliteDemoCoreModule), typeof(AbpZeroCoreEntityFr...
using Abp.EntityFrameworkCore.Configuration; using Abp.Modules; using Abp.Reflection.Extensions; using Abp.Zero.EntityFrameworkCore; using Volo.SqliteDemo.EntityFrameworkCore.Seed; namespace Volo.SqliteDemo.EntityFrameworkCore { [DependsOn( typeof(SqliteDemoCoreModule), typeof(AbpZeroCoreEntityFr...
mit
C#
100babb8a35a6d5c2f315eb092ff9b506cf3a4fe
copy paste error
yuxuac/docs.particular.net,pedroreys/docs.particular.net,WojcikMike/docs.particular.net,eclaus/docs.particular.net
samples/header-manipulation/Version_5/Sample/Pipeline/PipelineConfig.cs
samples/header-manipulation/Version_5/Sample/Pipeline/PipelineConfig.cs
using NServiceBus.Features; using NServiceBus.Pipeline; #region pipeline-config public class HeaderFeature : Feature { internal HeaderFeature() { EnableByDefault(); } protected override void Setup(FeatureConfigurationContext context) { context.Pipeline.Register<IncomingHeaderRegis...
using NServiceBus.Features; using NServiceBus.Pipeline; #region pipeline-config public class HeaderFeature : Feature { internal HeaderFeature() { EnableByDefault(); } protected override void Setup(FeatureConfigurationContext context) { context.Pipeline.Register<IncomingHeaderRegis...
apache-2.0
C#
b99448b0b158122533c7012b7171d22ceb7facac
Improve settings descriptions
Bjornej/GruntLauncher
GruntLauncher/OptionPage.cs
GruntLauncher/OptionPage.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using Microsoft.VisualStudio.Shell; namespace Bjornej.GruntLauncher { [ClassInterface(ClassInterfaceType.AutoDual)] [CLSComplia...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using Microsoft.VisualStudio.Shell; namespace Bjornej.GruntLauncher { [ClassInterface(ClassInterfaceType.AutoDual)] [CLSComplia...
mit
C#
921775df77255232fa26a5505d04d6d8c1d99524
Include a pepper in the hashing algorithm.
ravendb/ravendb.contrib
src/Raven.Client.Contrib.MVC/Auth/Default/BCryptSecurityEncoder.cs
src/Raven.Client.Contrib.MVC/Auth/Default/BCryptSecurityEncoder.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Raven.Client.Contrib.MVC.Auth.Interfaces; namespace Raven.Client.Contrib.MVC.Auth.Default { internal class BCryptSecurityEncoder : ISecurityEncoder { /// <summary> /// Generates a unique token. ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using Raven.Client.Contrib.MVC.Auth.Interfaces; namespace Raven.Client.Contrib.MVC.Auth.Default { internal class BCryptSecurityEncoder : ISecurityEncoder { /// <summary> /// Generates a unique token. ...
mit
C#
ee0f9089b4bffeae2695d91dd5bb20f17684645e
Clean up a bit
tgstation/tgstation-server,tgstation/tgstation-server-tools,Cyberboss/tgstation-server,tgstation/tgstation-server,Cyberboss/tgstation-server
src/Tgstation.Server.Host/Security/WindowsSystemIdentityFactory.cs
src/Tgstation.Server.Host/Security/WindowsSystemIdentityFactory.cs
using Microsoft.Win32.SafeHandles; using System; using System.DirectoryServices.AccountManagement; using System.Runtime.InteropServices; using System.Security.Principal; using System.Threading; using System.Threading.Tasks; using Tgstation.Server.Host.Models; namespace Tgstation.Server.Host.Security { /// <summary> ...
using Microsoft.Win32.SafeHandles; using System; using System.DirectoryServices.AccountManagement; using System.Runtime.InteropServices; using System.Security.Principal; using System.Threading; using System.Threading.Tasks; using Tgstation.Server.Host.Models; namespace Tgstation.Server.Host.Security { /// <summary> ...
agpl-3.0
C#
a8e743b14fef41ec0a584c4cfd4d52df19a9c5eb
Remove unnecessary using
mavasani/roslyn-analyzers,mavasani/roslyn-analyzers,dotnet/roslyn-analyzers,dotnet/roslyn-analyzers
src/Utilities/FlowAnalysis/Extensions/OperationBlocksExtensions.cs
src/Utilities/FlowAnalysis/Extensions/OperationBlocksExtensions.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.Collections.Immutable; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.FlowAnalysis; namespace Analyzer.Utilities.Extensions { i...
// 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.Collections.Immutable; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.FlowAnalysis; using Microsoft.CodeAnalysis.Operations; namesp...
mit
C#
3d2eece7b1cf3cd69a9f2d9fba5403c3a7a80a37
Decrease allocations in List Serializer
gregsdennis/Manatee.Json,gregsdennis/Manatee.Json
Manatee.Json/Serialization/Internal/AutoRegistration/ListSerializationDelegateProvider.cs
Manatee.Json/Serialization/Internal/AutoRegistration/ListSerializationDelegateProvider.cs
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Manatee.Json.Serialization.Internal.AutoRegistration { internal class ListSerializationDelegateProvider : SerializationDelegateProviderBase { public override bool CanHandle(Type type) { return type...
using System; using System.Collections.Generic; using System.Linq; using System.Reflection; namespace Manatee.Json.Serialization.Internal.AutoRegistration { internal class ListSerializationDelegateProvider : SerializationDelegateProviderBase { public override bool CanHandle(Type type) { return type...
mit
C#
c4ce5c41d686cdc1c9626a93d2ea429ec9e44651
Fix build
Catel/Catel.Fody
src/MethodTimeLogger.cs
src/MethodTimeLogger.cs
using System.Reflection; //using Catel.Logging; using System; /// <summary> /// Note: do not rename this class or put it inside a namespace. /// </summary> internal static class MethodTimeLogger { #region Methods public static void Log(MethodBase methodBase, long milliseconds, string message) { Log...
using System.Reflection; using Catel.Logging; using System; /// <summary> /// Note: do not rename this class or put it inside a namespace. /// </summary> internal static class MethodTimeLogger { #region Methods public static void Log(MethodBase methodBase, long milliseconds, string message) { Log(m...
mit
C#
441c8de9172e4465aae463f583d8032cc6d73d96
Update ILineDisassembler.cs
informedcitizenry/6502.Net
6502.Net/ILineDisassembler.cs
6502.Net/ILineDisassembler.cs
//----------------------------------------------------------------------------- // Copyright (c) 2017 informedcitizenry <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 // d...
//----------------------------------------------------------------------------- // Copyright (c) 2017 informedcitizenry <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 // d...
mit
C#
a68d49c6ff6dcc9766366a35c601d214a125dd5c
Save assets more aggressively during playmode
JoeOsborn/SRPGCK,JoeOsborn/SRPGCK
Assets/Editor/SRPGKit/SRPGCKEditor.cs
Assets/Editor/SRPGKit/SRPGCKEditor.cs
using UnityEngine; using UnityEditor; using System.Linq; public abstract class SRPGCKEditor : Editor { public Formulae fdb; public bool listeningForGuiChanges; public bool guiChanged, guiChangedAtAll; public string[] formulaOptions; public string lastFocusedControl, newFocusedControl; protected bool useFormu...
using UnityEngine; using UnityEditor; using System.Linq; public abstract class SRPGCKEditor : Editor { public Formulae fdb; public bool listeningForGuiChanges; public bool guiChanged, guiChangedAtAll; public string[] formulaOptions; public string lastFocusedControl, newFocusedControl; protected bool useFormu...
lgpl-2.1
C#
126e5c6abbae99874f9801aead7648a347b663ce
DEBUG proper.
holycattle/strawberryjam,holycattle/strawberryjam
Assets/Scripts/Utils.cs
Assets/Scripts/Utils.cs
using UnityEngine; public class Utils { public const bool DEBUG = false; public Utils () { } static Vector3 ScreenSize = new Vector3(1280, 800, 0); public static Vector3 MousePosition(){ Ray ray = Camera.mainCamera.ScreenPointToRay(Input.mousePosition); RaycastHit hit = new RaycastHit(); Physics.Raycast(...
using UnityEngine; public class Utils { public const int DEBUG = false; public Utils () { } static Vector3 ScreenSize = new Vector3(1280, 800, 0); public static Vector3 MousePosition(){ Ray ray = Camera.mainCamera.ScreenPointToRay(Input.mousePosition); RaycastHit hit = new RaycastHit(); Physics.Raycast(r...
mit
C#
ffe041d1aa58219bb2f533f21435dfc56e7de8c6
Fix to ShadowManager
CompProto/UnityGame
Assets/Scripts/ModeManager.cs
Assets/Scripts/ModeManager.cs
using UnityEngine; using System.Collections; public class ModeManager : MonoBehaviour { public AudioClip DayMusic, ShadowMusic; public GameObject[] gameObjects; public Material[] materials; // There must be 2 materials for each gameobject. First material is the white version, second material is dark vers...
using UnityEngine; using System.Collections; public class ModeManager : MonoBehaviour { public AudioClip DayMusic, ShadowMusic; public GameObject[] gameObjects; public Material[] materials; // There must be 2 materials for each gameobject. First material is the white version, second material is dark vers...
apache-2.0
C#
0a1553fca5a720c883f5f6f764179d3c5cb9ed5b
add constructor for C# BaseLearnLogger class
GeneralizedLearningUtilities/SuperGLU,GeneralizedLearningUtilities/SuperGLU,GeneralizedLearningUtilities/SuperGLU,GeneralizedLearningUtilities/SuperGLU,GeneralizedLearningUtilities/SuperGLU
C#_module/SuperGLU/SuperGLU/Class1.cs
C#_module/SuperGLU/SuperGLU/Class1.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SuperGLU { public class BaseLearnLogger: BaseService { // BaseService not implemented /* Member variables Arguments: gateway -- the parent getway for this s...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SuperGLU { public class Class1 { } }
mit
C#
c574f1cf9d45040fd917f5a00cdb094a671bc1e5
Update Movement.cs
daybson/LaserRaycast
Assets/Movement.cs
Assets/Movement.cs
/* * Copyright 2014 * author: Daybson B.S. Paisante * daybson.paisante@outlook.com * http://daybsonpaisante.wordpress.com/ */ using UnityEngine; using System.Collections; public class Movement : MonoBehaviour { public float speed; private void Update() { //rotate and translate by user inpu...
/* * Copyright 2014 * autor: Daybson B.S. Paisante * email: daybsonbsp@gmail.com * encontrado em: http://daybsonpaisante.wordpress.com/ */ using UnityEngine; using System.Collections; public class Movement : MonoBehaviour { //fator de movimentação public float speed; private void Update() { ...
mit
C#
9dd07c860ff669c4a88bbba5a3c63c9384e4fa3a
add comment
bitzhuwei/CSharpGL,bitzhuwei/CSharpGL,bitzhuwei/CSharpGL
CSharpGL/Scene/Scene.cs
CSharpGL/Scene/Scene.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Drawing.Design; using System.Windows.Forms; using System.Linq; namespace CSharpGL { /// <summary> /// Manages a scene to be rendered and updated. /// </summary> [Editor(typeof(PropertyGridEd...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Drawing.Design; using System.Windows.Forms; using System.Linq; namespace CSharpGL { /// <summary> /// Manages a scene to be rendered and updated. /// </summary> [Editor(typeof(PropertyGridEd...
mit
C#
c3cc82f689769b7a5829b3e1362b7f05f0d13739
Fix string.Format parameter indexes
mmoening/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,mmoening/MatterControl,jlewin/MatterControl,mmoening/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterC...
MatterControlLib/ConfigurationPage/PrintLeveling/LevelingStrings.cs
MatterControlLib/ConfigurationPage/PrintLeveling/LevelingStrings.cs
/* Copyright (c) 2018, Lars Brubaker, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and...
/* Copyright (c) 2018, Lars Brubaker, John Lewin All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and...
bsd-2-clause
C#
88f67bf90db38809da3f452c1055befd970dbc15
Bump version
nixxquality/WebMConverter,Yuisbean/WebMConverter,o11c/WebMConverter
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("We...
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("We...
mit
C#
9d6f4732cea105211aa1e58623d1e339ec9a258b
Update assemblyinfo
hartez/PneumaticTube
Properties/AssemblyInfo.cs
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("PneumaticTube")] [assembly: AssemblyDescr...
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("Pn...
mit
C#
c74a436a965f561da0cabd072012e5bfb3035e58
Bump to version 2.3.0 (#17)
dreadnought-friends/support-tool,iltar/support-tool
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // 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("Dreadnought Communi...
using System.Reflection; using System.Runtime.InteropServices; using System.Windows; // 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("Dreadnought Communi...
mit
C#
602ea75b3fd25cb85305389916842172553c7784
Build script now writes the package name and version into the AssemblyDescription attibute. This allows the package information to be seen in Visual Studio avoiding confusion with the assembly version that remains at the major.
autofac/Autofac.Extras.Moq
Properties/AssemblyInfo.cs
Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Autofac.Extras.Moq")] [assembly: ComVisible(false)]
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Autofac.Extras.Moq")] [assembly: AssemblyDescription("Autofac Moq Integration")] [assembly: ComVisible(false)]
mit
C#
42913adaadc49d51a9bc6214c9e324558216a07a
Add license to Language enum file
fredatgithub/WinFormTemplate
WinFormTemplate/Language.cs
WinFormTemplate/Language.cs
/* The MIT License(MIT) Copyright(c) 2015 Freddy Juhel Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, pub...
namespace WinFormTemplate { public enum Language { French, English } }
mit
C#
9f40da6b40262563d884cf8eea92748ca12bf677
Test on this feature
amenjosh/test
sources/Medication_Reminder/Program.cs
sources/Medication_Reminder/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace Medication_Reminder { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { ...
using System; using System.Collections.Generic; using System.Linq; using System.Windows.Forms; namespace Medication_Reminder { static class Program { /// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { ...
mit
C#
9eb786d6764e08dc0310366c77430dac850532db
Hide indicator if no mouse activity
TroyHouston/AngryTrains
Assets/Scripts/TrainMovement.cs
Assets/Scripts/TrainMovement.cs
using UnityEngine; using System.Collections; public class TrainMovement : MonoBehaviour { public float turnSpeed = 100.0f; // Units per second public float moveSpeed = 100.0f; // Units per second public GameObject indicator; public Camera cam; private Rigidbody rigid; private Vector3 up =...
using UnityEngine; using System.Collections; public class TrainMovement : MonoBehaviour { public float turnSpeed = 100.0f; // Units per second public float moveSpeed = 100.0f; // Units per second public GameObject indicator; public Camera cam; private Rigidbody rigid; private Vector3 up =...
mit
C#
8bd8a61142888faba20d41c8f9f5b22969dfa245
Throw if no matching property accessor found.
wieslawsoltes/Perspex,SuperJMN/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Perspex,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,jkoritzinsk...
src/Avalonia.Base/Data/Core/PropertyAccessorNode.cs
src/Avalonia.Base/Data/Core/PropertyAccessorNode.cs
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using System.Linq; using System.Reactive.Linq; using Avalonia.Data.Core.Plugins; namespace Avalonia.Data.Core { internal class Property...
// Copyright (c) The Avalonia Project. All rights reserved. // Licensed under the MIT license. See licence.md file in the project root for full license information. using System; using System.Linq; using System.Reactive.Linq; using Avalonia.Data.Core.Plugins; namespace Avalonia.Data.Core { internal class Property...
mit
C#
0f9ac40cd8e38a2af09cc8aef2fa1a5069b6c242
Update ScriptWindow.xaml.cs
wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D
src/Core2D/UI/Avalonia/Windows/ScriptWindow.xaml.cs
src/Core2D/UI/Avalonia/Windows/ScriptWindow.xaml.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; using Avalonia.Markup.Xaml; using Dock.Avalonia.Controls; namespace Core2D.UI.Avalonia.Windows { /// <summary> /// Interaction logic for <...
// 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; using Avalonia.Markup.Xaml; using Avalonia.ThemeManager; using Dock.Avalonia.Controls; namespace Core2D.UI.Avalonia.Windows { /// <summary> ...
mit
C#
6f9abd7bfbb7f031d7d7f0a804fc3e4db1efc4be
Add recently used items data
auz34/js-studio
src/Examples/MyStudio/ViewModels/RibbonViewModel.cs
src/Examples/MyStudio/ViewModels/RibbonViewModel.cs
namespace MyStudio.ViewModels { using System.Collections.Generic; using Catel; using Catel.MVVM; using MyStudio.Models; using MyStudio.Services; using Orchestra.Models; using Orchestra.Services; public class RibbonViewModel : ViewModelBase { private StudioStateModel mode...
namespace MyStudio.ViewModels { using Catel; using Catel.MVVM; using MyStudio.Models; using MyStudio.Services; public class RibbonViewModel : ViewModelBase { private StudioStateModel model; private ICommandsService commandsService; public RibbonViewModel(StudioStateM...
mit
C#
93115bcee7df1b1cc8bdf994832b04eaaae8c4a0
Fix displayed version in built-in version command
spectresystems/commandline
src/Spectre.Cli/Internal/Commands/VersionCommand.cs
src/Spectre.Cli/Internal/Commands/VersionCommand.cs
using System; using System.ComponentModel; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Reflection; using Spectre.Console; namespace Spectre.Cli.Internal { [Description("Displays the CLI library version")] [SuppressMessage("Performance", "CA1812:AvoidUninstantiatedInternalClass...
using System.ComponentModel; using System.Diagnostics.CodeAnalysis; using Spectre.Console; namespace Spectre.Cli.Internal { [Description("Displays the CLI library version")] [SuppressMessage("Performance", "CA1812:AvoidUninstantiatedInternalClasses", Justification = "Injected")] internal sealed class Versi...
mit
C#
9bac5de93fcdbf65b12324b685d0cbcc257f2d72
Bump version to 2.1.0.0
InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform
Files/Packaging/GlobalAssemblyInfo.cs
Files/Packaging/GlobalAssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Infinnity Solutions")] [assembly: AssemblyProduct("InfinniPlatform")] [assembly: AssemblyCopyright("Copyright © Infinnity Solutions 2017")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: ComVisible...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyCompany("Infinnity Solutions")] [assembly: AssemblyProduct("InfinniPlatform")] [assembly: AssemblyCopyright("Copyright © Infinnity Solutions 2017")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: ComVisible...
agpl-3.0
C#
dd1043503179a0f6dbae3510415ad6bb06b4e70b
Change enum UpdateInterval to class.
Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW
src/NadekoBot/Common/UpdateInterval.cs
src/NadekoBot/Common/UpdateInterval.cs
namespace Mitternacht.Common { public class UpdateInterval { public const int TeamUpdate = 1 * 60 * 1000; public const int Birthday = 1* 60 * 1000; } }
namespace Mitternacht.Common { public enum UpdateInterval : int { TeamUpdate = 1 * 60 * 1000, Birthday = 1* 60 * 1000 } }
mit
C#
23b32cbdf4e5658afec76c357c28826aa61e3aeb
Update baufile.csx
huoxudong125/bau,modulexcite/bau,modulexcite/bau,bau-build/bau,adamralph/bau,eatdrinksleepcode/bau,aarondandy/bau,eatdrinksleepcode/bau,bau-build/bau,eatdrinksleepcode/bau,modulexcite/bau,bau-build/bau,aarondandy/bau,bau-build/bau,adamralph/bau,eatdrinksleepcode/bau,aarondandy/bau,huoxudong125/bau,modulexcite/bau,adamr...
src/samples/baufile.csx
src/samples/baufile.csx
// usage: // scriptcs -install Bau -pre // scriptcs baufile.csx // // inspired by on http://jasonseifer.com/2010/04/06/rake-tutorial Require<BauPack>() .DependsOn("groom_myself", "walk_dog") .Task("turn_off_alarm") .Do(() => Console.WriteLine("Turned off alarm. Would have liked 5 more minutes, thoug...
// usage: // scriptcs -install Bau -pre // scriptcs baufile.csx // // inspired by on http://jasonseifer.com/2010/04/06/rake-tutorial Require<BauPack>() .DependsOn("groom_myself", "walk_dog") .Task("turn_off_alarm") .Do(() => Console.WriteLine("Turned off alarm. Would have liked 5 more minutes, thoug...
mit
C#
ffdd4b7ebdcf545df62fa08183e62a638bf0501d
Quit correctly if canceled
lmagder/TFV
TFV/Program.cs
TFV/Program.cs
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; using System.Configuration; using System.Xml.Serialization; using Microsoft.TeamFoundation.Client; using Microsoft.TeamFoundation.VersionControl.Client; namespace TFV { static class Program...
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows.Forms; using System.Configuration; using System.Xml.Serialization; using Microsoft.TeamFoundation.Client; using Microsoft.TeamFoundation.VersionControl.Client; namespace TFV { static class Program...
mit
C#
0fb27b97a09cca21a308e73fb38b1e9366e4edfd
Set the version to 1.3 since we're releasing.
SpectraLogic/ds3_net_powershell,RachelTucker/ds3_net_sdk,asomers/ds3_net_sdk,SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk,rpmoore/ds3_net_sdk,shabtaisharon/ds3_net_sdk,SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk,shabtaisharon/ds3_net_sdk,SpectraLogic/ds3_net_powershell,rpmoore/ds3_net_sdk,shabtaisharon/ds3_n...
VersionInfo.cs
VersionInfo.cs
using System.Reflection; // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [as...
using System.Reflection; // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [as...
apache-2.0
C#
c6aebc599285498e9d4878ae9884b057d24b51d9
change the version to 3.0.2
shabtaisharon/ds3_net_sdk,RachelTucker/ds3_net_sdk,rpmoore/ds3_net_sdk,rpmoore/ds3_net_sdk,SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk,RachelTucker/ds3_net_sdk,shabtaisharon/ds3_net_sdk,SpectraLogic/ds3_net_sdk,SpectraLogic/ds3_net_sdk,shabtaisharon/ds3_net_sdk,rpmoore/ds3_net_sdk
VersionInfo.cs
VersionInfo.cs
/* * ****************************************************************************** * Copyright 2014 Spectra Logic Corporation. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"). You may not use * this file except in compliance with the License. A copy of the License is loc...
/* * ****************************************************************************** * Copyright 2014 Spectra Logic Corporation. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"). You may not use * this file except in compliance with the License. A copy of the License is loc...
apache-2.0
C#
349915f84021959df569907111177362285ad598
Add list of Transactions to OpenOrder
Gatecoin/api-gatecoin-dotnet,Gatecoin/API_client_csharp,Gatecoin/api-gatecoin-dotnet
Model/OpenOrder.cs
Model/OpenOrder.cs
using ServiceStack.ServiceInterface.ServiceModel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using GatecoinServiceInterface.Model; namespace GatecoinServiceInterface.Model{ [Serializable] public class OpenOrder { public System.String Code {get; s...
using ServiceStack.ServiceInterface.ServiceModel; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using GatecoinServiceInterface.Model; namespace GatecoinServiceInterface.Model{ [Serializable] public class OpenOrder { public System.String Code {get; s...
mit
C#