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 |
|---|---|---|---|---|---|---|---|---|
c051c45d631ec593567ab341e789cd7085410dcb | Add ErrorLevels to ValidationErrors | unlimitedbacon/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,mmoening/MatterControl,unlimitedbacon/MatterControl,mmoening/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,mmoening/Matte... | MatterControl.Printing/Settings/ValidationError.cs | MatterControl.Printing/Settings/ValidationError.cs | /*
Copyright (c) 2019, 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 the following ... | /*
Copyright (c) 2019, 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 the following ... | bsd-2-clause | C# |
0d515a522fe5a33bfb0c651b69b6e60b1d8b7484 | Mark MarkdownString as complex type | leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net | JoinRpg.DataModel/MarkdownString.cs | JoinRpg.DataModel/MarkdownString.cs | using System.ComponentModel.DataAnnotations.Schema;
namespace JoinRpg.DataModel
{
[ComplexType]
public class MarkdownString
{
public MarkdownString(string contents)
{
//TODO: Validate for correct Markdown
Contents = contents;
}
public MarkdownString() : this(null)
{
}
p... | namespace JoinRpg.DataModel
{
public class MarkdownString
{
public MarkdownString(string contents)
{
//TODO: Validate for correct Markdown
Contents = contents;
}
public MarkdownString() : this(null)
{
}
public string Contents { get; set; }
}
}
| mit | C# |
695e797f925445f247ac0f3184e56f380af86ebc | Add license disclaimer | Livit/CefSharp,Livit/CefSharp,illfang/CefSharp,Haraguroicha/CefSharp,yoder/CefSharp,yoder/CefSharp,gregmartinhtc/CefSharp,haozhouxu/CefSharp,jamespearce2006/CefSharp,VioletLife/CefSharp,ITGlobal/CefSharp,dga711/CefSharp,rover886/CefSharp,VioletLife/CefSharp,rover886/CefSharp,illfang/CefSharp,windygu/CefSharp,zhangjingp... | CefSharp/CefTerminationStatus.cs | CefSharp/CefTerminationStatus.cs | // Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
namespace CefSharp
{
public enum CefTerminationStatus
{
///
// Non-zero exit status.
///
AbnormalTerminati... | namespace CefSharp
{
public enum CefTerminationStatus
{
///
// Non-zero exit status.
///
AbnormalTermination = 0,
///
// SIGKILL or task manager kill.
///
ProcessWasKilled,
///
// Segmentation fault.
///
ProcessCr... | bsd-3-clause | C# |
70d4ee5397f7e35c2f363f84c7d73ec7ffc16727 | Check enums also use the lax enum deserialiser | bcemmett/SurveyMonkeyApi-v3,davek17/SurveyMonkeyApi-v3 | SurveyMonkeyTests/ContainerDeserialisationTests.cs | SurveyMonkeyTests/ContainerDeserialisationTests.cs | using System;
using System.Linq;
using System.Reflection;
using Newtonsoft.Json;
using NUnit.Framework;
using SurveyMonkey;
namespace SurveyMonkeyTests
{
[TestFixture]
public class ContainerDeserialisationTests
{
[Test]
public void AllValueTypesAreMadeNullable()
{
var t... | using System;
using System.Linq;
using System.Reflection;
using Newtonsoft.Json;
using NUnit.Framework;
using SurveyMonkey;
namespace SurveyMonkeyTests
{
[TestFixture]
public class ContainerDeserialisationTests
{
[Test]
public void AllValueTypesAreMadeNullable()
{
var t... | mit | C# |
eba25a542f5033146bcad6ef94d2ad40afa9fe2a | Update Product_MenuFunctions.cs | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | Test/AdventureWorksFunctionalModel/Production/Product_MenuFunctions.cs | Test/AdventureWorksFunctionalModel/Production/Product_MenuFunctions.cs | // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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 requi... | // Copyright Naked Objects Group Ltd, 45 Station Road, Henley on Thames, UK, RG9 1AT
// 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 requi... | apache-2.0 | C# |
db4eea81a07b0a7fc93ae0d16657a85b2ef92459 | Add regex for associating work items | git-tfs/git-tfs,steveandpeggyb/Public,pmiossec/git-tfs,irontoby/git-tfs,irontoby/git-tfs,guyboltonking/git-tfs,allansson/git-tfs,hazzik/git-tfs,TheoAndersen/git-tfs,irontoby/git-tfs,allansson/git-tfs,adbre/git-tfs,modulexcite/git-tfs,WolfVR/git-tfs,guyboltonking/git-tfs,TheoAndersen/git-tfs,kgybels/git-tfs,modulexcite/... | GitTfs/GitTfsConstants.cs | GitTfs/GitTfsConstants.cs | using System.Text.RegularExpressions;
namespace Sep.Git.Tfs
{
public static class GitTfsConstants
{
public static readonly Regex Sha1 = new Regex("[a-f\\d]{40}", RegexOptions.IgnoreCase);
public static readonly Regex Sha1Short = new Regex("[a-f\\d]{4,40}", RegexOptions.IgnoreCase);
publ... | using System.Text.RegularExpressions;
namespace Sep.Git.Tfs
{
public static class GitTfsConstants
{
public static readonly Regex Sha1 = new Regex("[a-f\\d]{40}", RegexOptions.IgnoreCase);
public static readonly Regex Sha1Short = new Regex("[a-f\\d]{4,40}", RegexOptions.IgnoreCase);
publ... | apache-2.0 | C# |
ee0ef1e2c5bd763c55a4b62142d7eb330377563d | Bump to v2.7.1.0 | Silv3rPRO/proshine | PROShine/Properties/AssemblyInfo.cs | PROShine/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
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: As... | using System.Reflection;
using System.Resources;
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: As... | mit | C# |
498d594baa420b5d5772d17842fc66cd82e2ef7f | Write if no builds are associated with application | appharbor/appharbor-cli | src/AppHarbor/Commands/BuildCommand.cs | src/AppHarbor/Commands/BuildCommand.cs | using System;
using System.IO;
using System.Linq;
namespace AppHarbor.Commands
{
[CommandHelp("List latest builds")]
public class BuildCommand : ICommand
{
public const string OutputFormat = "{0,-43}{1,-13}{2,5}";
private readonly IApplicationConfiguration _applicationConfiguration;
private readonly IAppHar... | using System;
using System.IO;
using System.Linq;
namespace AppHarbor.Commands
{
[CommandHelp("List latest builds")]
public class BuildCommand : ICommand
{
public const string OutputFormat = "{0,-43}{1,-13}{2,5}";
private readonly IApplicationConfiguration _applicationConfiguration;
private readonly IAppHar... | mit | C# |
5d146e2b85161f5fd905f9039998430d110de85b | change version from 0.15.0 to 0.14.1 | config-r/config-r | src/ConfigR/Properties/AssemblyInfo.cs | src/ConfigR/Properties/AssemblyInfo.cs | // <copyright file="AssemblyInfo.cs" company="ConfigR contributors">
// Copyright (c) ConfigR contributors. (configr.net@gmail.com)
// </copyright>
using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("ConfigR")]
[assembly: AssemblyDescription("Write your .N... | // <copyright file="AssemblyInfo.cs" company="ConfigR contributors">
// Copyright (c) ConfigR contributors. (configr.net@gmail.com)
// </copyright>
using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("ConfigR")]
[assembly: AssemblyDescription("Write your .N... | mit | C# |
a044d7b2d7ec9246ca84cde30594295b5bfc38e4 | Update BrowserView.cs | Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D.Editor/Views/BrowserView.cs | src/Core2D.Editor/Views/BrowserView.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 System;
namespace Core2D.Editor.Views
{
/// <summary>
/// Browser view.
/// </summary>
public class BrowserView : ViewBase<ProjectEditor>
... | // 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 System;
namespace Core2D.Editor.Views
{
/// <summary>
/// Browser view.
/// </summary>
public class BrowserView : ViewBase<ProjectEditor>
... | mit | C# |
cf5229e18a16a4093ac0d9e752403310a31e86a5 | Update JohnMiller.cs (#371) | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin | src/Firehose.Web/Authors/JohnMiller.cs | src/Firehose.Web/Authors/JohnMiller.cs | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web
{
public class JohnMiller : IWorkAtXamarinOrMicrosoft
{
public string FirstName => "John";
public string LastName => "Miller";
public string StateOrRegion => "Pennsylvania, USA";
... | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web
{
public class JohnMiller : IWorkAtXamarinOrMicrosoft
{
public string FirstName => "John";
public string LastName => "Miller";
public string StateOrRegion => "Pennsylvania, USA";
... | mit | C# |
a7bdb169fddc9c9b130055a6672dccdcd2435b2c | Use proper input instead of log message to request manual DNS change | Lone-Coder/letsencrypt-win-simple | src/main/Plugins/ValidationPlugins/Dns/Manual/Manual.cs | src/main/Plugins/ValidationPlugins/Dns/Manual/Manual.cs | using PKISharp.WACS.Services;
namespace PKISharp.WACS.Plugins.ValidationPlugins.Dns
{
class Manual : DnsValidation<ManualOptions, Manual>
{
private IInputService _input;
public Manual(ILogService log, IInputService input, ManualOptions options, string identifier) : base(log, options, identif... | using PKISharp.WACS.Services;
namespace PKISharp.WACS.Plugins.ValidationPlugins.Dns
{
class Manual : DnsValidation<ManualOptions, Manual>
{
private IInputService _input;
public Manual(ILogService log, IInputService input, ManualOptions options, string identifier) : base(log, options, identif... | apache-2.0 | C# |
82e17a63e1f72990cabd4b5e19a7a79020b570ee | Update PBU-Main-Future.cs | win120a/ACClassRoomUtil,win120a/ACClassRoomUtil | ProcessBlockUtil/PBU-Main-Future.cs | ProcessBlockUtil/PBU-Main-Future.cs | /*
THIS IS ONLY TO EASY CHANGE, NOT THE PROJECT CODE AT NOW. (I will use in the future.)
Copyright (C) 2011-2014 AC Inc. (Andy Cheung)
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... | /*
THIS IS ONLY TO EASY CHANGE, NOT THE PROJECT CODE AT NOW. (I will use in the future.)
Copyright (C) 2011-2014 AC Inc. (Andy Cheung)
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# |
6ec2f10e12d9ebe93a750814fa16d812255d1c05 | update db connection string (#6126) | martin-g/FrameworkBenchmarks,sagenschneider/FrameworkBenchmarks,MTDdk/FrameworkBenchmarks,jamming/FrameworkBenchmarks,martin-g/FrameworkBenchmarks,sagenschneider/FrameworkBenchmarks,jamming/FrameworkBenchmarks,jamming/FrameworkBenchmarks,martin-g/FrameworkBenchmarks,sagenschneider/FrameworkBenchmarks,jamming/FrameworkB... | frameworks/CSharp/beetlex/PlatformBenchmarks/HttpServer.cs | frameworks/CSharp/beetlex/PlatformBenchmarks/HttpServer.cs | using BeetleX;
using BeetleX.EventArgs;
using Microsoft.Extensions.Hosting;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace PlatformBenchmarks
{
public class HttpServer : IHostedService
{
public static IServer ApiServer... | using BeetleX;
using BeetleX.EventArgs;
using Microsoft.Extensions.Hosting;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace PlatformBenchmarks
{
public class HttpServer : IHostedService
{
public static IServer ApiServer... | bsd-3-clause | C# |
fa7d6076ceb9f7772ed08f7aa771acc5a795ad7d | Update version info. | maraf/Money,maraf/Money,maraf/Money | src/Money.UI.Blazor/Pages/About.cshtml | src/Money.UI.Blazor/Pages/About.cshtml | @page "/about"
<h1>Money</h1>
<h4>Neptuo</h4>
<p class="gray">
v1.3.2
</p>
<p>
<a target="_blank" href="http://github.com/maraf/Money">Documentation</a>
</p>
<p>
<a target="_blank" href="https://github.com/maraf/Money/issues/new">Report an issue</a>
</p> | @page "/about"
<h1>Money</h1>
<h4>Neptuo</h4>
<p class="gray">
v1.3.0
</p>
<p>
<a target="_blank" href="http://github.com/maraf/Money">Documentation</a>
</p>
<p>
<a target="_blank" href="https://github.com/maraf/Money/issues/new">Report an issue</a>
</p> | apache-2.0 | C# |
450a703217e61f050861102c8b76719a9e73ba51 | uninstall previous vsixes | AdamSpeight2008/roslyn-AdamSpeight2008,reaction1989/roslyn,Pvlerick/roslyn,ljw1004/roslyn,genlu/roslyn,wvdd007/roslyn,abock/roslyn,jmarolf/roslyn,AArnott/roslyn,genlu/roslyn,cston/roslyn,bkoelman/roslyn,KevinRansom/roslyn,MattWindsor91/roslyn,CyrusNajmabadi/roslyn,heejaechang/roslyn,paulvanbrenk/roslyn,KirillOsenkov/ro... | src/Test/Perf/infra/install_vsixes.csx | src/Test/Perf/infra/install_vsixes.csx | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#r "./../../Roslyn.Test.Performance.Utilities.dll"
// IsVerbose()
#load "../util/tools_util.csx"
using System.IO;
using Roslyn.Test.Performance.Utilities;
... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
#r "./../../Roslyn.Test.Performance.Utilities.dll"
// IsVerbose()
#load "../util/tools_util.csx"
using System.IO;
using Roslyn.Test.Performance.Utilities;
... | mit | C# |
105bd4cb31a1d0fdaf1d76fdc95a3191901e87a6 | remove data dependency in Api.Startup | alimon808/contoso-university,alimon808/contoso-university,alimon808/contoso-university | ContosoUniversity.Api/Startup.cs | ContosoUniversity.Api/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using ContosoUniversity.Data.Interfaces;
using Microsoft.Extensions.Logging;
using Microsoft.AspNetCore.Rewrite;
using ContosoUniversity.Services;
using Cont... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using ContosoUniversity.Data;
using ContosoUniversity.Data.Interfaces;
using Microsoft.Extensions.Logging;
using Microsoft.AspNetCore.Rewrite;
using ContosoU... | mit | C# |
d22f79c171d84fc6af28132f2e9def83e600215f | Update CSharpValidator to use the new Emit extension method. | appharbor/ConsolR,vendettamit/compilify,vendettamit/compilify,jrusbatch/compilify,appharbor/ConsolR,jrusbatch/compilify | Core/Services/CSharpValidator.cs | Core/Services/CSharpValidator.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Roslyn.Compilers;
using Roslyn.Compilers.CSharp;
using Roslyn.Compilers.Common;
using Compilify.Extensions;
namespace Compilify.Services
{
public class CSharpValidator
{
public CSharpValidator(I... | using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using Roslyn.Compilers;
using Roslyn.Compilers.CSharp;
using Roslyn.Compilers.Common;
namespace Compilify.Services
{
public class CSharpValidator
{
public CSharpValidator(ICSh... | mit | C# |
3f3e10def6cfc877a7566d150906a49c25e75c8d | load the parser assembly with Assembly.LoadWithPartialName to support the GAC | drslump/boo,scottstephens/boo,scottstephens/boo,rmboggs/boo,rmboggs/boo,boo-lang/boo,BillHally/boo,bamboo/boo,hmah/boo,rmboggs/boo,hmah/boo,scottstephens/boo,BITechnologies/boo,BITechnologies/boo,drslump/boo,BITechnologies/boo,KidFashion/boo,wbardzinski/boo,Unity-Technologies/boo,BillHally/boo,scottstephens/boo,scottst... | src/Boo.Lang.Compiler/Pipelines/Parse.cs | src/Boo.Lang.Compiler/Pipelines/Parse.cs | #region license
// Copyright (c) 2004, Rodrigo B. de Oliveira (rbo@acm.org)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above co... | #region license
// Copyright (c) 2004, Rodrigo B. de Oliveira (rbo@acm.org)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the... | bsd-3-clause | C# |
2dbf372d8b68abf727e83a51a3824f1fd0549fef | fix unit tests (#132) | maximn/google-maps,maximn/google-maps | GoogleMapsApi.Test/IntegrationTests/PlacesFindTests.cs | GoogleMapsApi.Test/IntegrationTests/PlacesFindTests.cs | using GoogleMapsApi.Entities.PlacesFind.Request;
using GoogleMapsApi.Entities.PlacesFind.Response;
using GoogleMapsApi.Test.Utils;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GoogleMapsApi.Test.Integrati... | using GoogleMapsApi.Entities.PlacesFind.Request;
using GoogleMapsApi.Entities.PlacesFind.Response;
using GoogleMapsApi.Test.Utils;
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GoogleMapsApi.Test.Integrati... | bsd-2-clause | C# |
f5f102f09fd9cdf799b3fa99db777908cfebb828 | Fix compiler warning and rename test to be more clear. | samus/mongodb-csharp,mongodb-csharp/mongodb-csharp,zh-huan/mongodb | MongoDB.Net-Tests/Connections/TestConnectionFactory.cs | MongoDB.Net-Tests/Connections/TestConnectionFactory.cs | using System;
using NUnit.Framework;
namespace MongoDB.Driver.Connections
{
[TestFixture]
public class TestConnectionFactory
{
[TearDown]
public void TearDown (){
ConnectionFactory.Shutdown ();
}
[Test]
public void TestGetConnection (){
... | using System;
using NUnit.Framework;
namespace MongoDB.Driver.Connections
{
[TestFixture]
public class TestConnectionFactory
{
[TearDown]
public void TearDown (){
ConnectionFactory.Shutdown ();
}
[Test]
public void TestGetConnection (){
... | apache-2.0 | C# |
f61ef96fcab27b08cde5f7f4ac4368bff2d43538 | Copy paste error was causing all ternaries (cond ? trueExpr : falseExpr) to actually get compiled as (cond ? cond : cond). | blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon,blakeohare/crayon | Compiler/ParseTree/Ternary.cs | Compiler/ParseTree/Ternary.cs | namespace Crayon.ParseTree
{
internal class Ternary : Expression
{
public override bool CanAssignTo { get { return false; } }
public Expression Condition { get; private set; }
public Expression TrueValue { get; private set; }
public Expression FalseValue { get; private set; }
public Ternary(Exp... | namespace Crayon.ParseTree
{
internal class Ternary : Expression
{
public override bool CanAssignTo { get { return false; } }
public Expression Condition { get; private set; }
public Expression TrueValue { get; private set; }
public Expression FalseValue { get; private set; }
public Ternary(Exp... | mit | C# |
c91056e44812c962bc45ff388303e66980463e7b | Rename some hotkey property names | danielchalmers/DesktopWidgets | DesktopWidgets/Classes/Hotkey.cs | DesktopWidgets/Classes/Hotkey.cs | using System;
using System.ComponentModel;
using System.Windows.Input;
using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
namespace DesktopWidgets.Classes
{
[ExpandableObject]
[DisplayName("Hotkey")]
public class Hotkey
{
public Hotkey(Key key, ModifierKeys modifierKeys, bool worksIfForegroundIs... | using System;
using System.ComponentModel;
using System.Windows.Input;
using Xceed.Wpf.Toolkit.PropertyGrid.Attributes;
namespace DesktopWidgets.Classes
{
[ExpandableObject]
[DisplayName("Hotkey")]
public class Hotkey
{
public Hotkey(Key key, ModifierKeys modifierKeys, bool worksIfForegroundIs... | apache-2.0 | C# |
ba4b578c36d8f0c4cdcdcf7881ce79e323e6e369 | Add google analytics | Calvinverse/calvinverse.docs,Calvinverse/calvinverse.docs | src/_Scripts.cshtml | src/_Scripts.cshtml | <!-- Our scripts -->
<script src="/assets/js/script.js"></script><script src="@Context.GetLink("/assets/js/scribbler.js")"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<!-- Global site tag (gtag.js) - ... | <!-- Our scripts -->
<script src="/assets/js/script.js"></script><script src="@Context.GetLink("/assets/js/scribbler.js")"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<!--
<script async src="https:... | apache-2.0 | C# |
dcc728850eefe9ec59817712e89e3a8d8ccd0e49 | correct region tag | GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples | storage/api/Storage.Samples/DownloadObjectIntoMemory.cs | storage/api/Storage.Samples/DownloadObjectIntoMemory.cs | // Copyright 2021 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 agreed to in... | // Copyright 2021 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 agreed to in... | apache-2.0 | C# |
93366f18ac6bf3d5d7b53c707f22cdf3392040f7 | Update HomeExclusion.cs | smartsheet-platform/smartsheet-csharp-sdk,smartsheet-platform/smartsheet-csharp-sdk | main/Smartsheet/Api/Models/Inclusions/HomeExclusion.cs | main/Smartsheet/Api/Models/Inclusions/HomeExclusion.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# |
52a9e81dc0592d5ccbb329f5acda9d0eb6c1148f | Use UserName instead of UserDomainName | jaredpar/ConversionTools | src/OneWayMirror/ReportingConsoleHost.cs | src/OneWayMirror/ReportingConsoleHost.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Mail;
using System.Text;
using System.Threading.Tasks;
using OneWayMirror.Core;
namespace OneWayMirror
{
internal sealed class ReportingConsoleHost : ConsoleHost
{
private readonly string _reportEmailAddress;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Mail;
using System.Text;
using System.Threading.Tasks;
using OneWayMirror.Core;
namespace OneWayMirror
{
internal sealed class ReportingConsoleHost : ConsoleHost
{
private readonly string _reportEmailAddress;
... | apache-2.0 | C# |
388991336c0b3956a7624e171c915ef0e7a9ac98 | Disable commands while they are executing | lmadhavan/fotografix | Fotografix/DelegateCommand.cs | Fotografix/DelegateCommand.cs | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using System.Windows.Input;
namespace Fotografix
{
public sealed class DelegateCommand : ICommand
{
private readonly Func<bool> canExecute;
private readonly Func<Task> execute;
private bool executing;
public... | using System;
using System.Diagnostics;
using System.Threading.Tasks;
using System.Windows.Input;
namespace Fotografix
{
public sealed class DelegateCommand : ICommand
{
private readonly Func<bool> canExecute;
private readonly Func<Task> execute;
private bool executing;
public... | mit | C# |
aa1417baa3a8b7d37a8f0ffd6b28a0b6569ac874 | Update VlcMediaPlayer.Events.EndReached.cs | marcomeyer/Vlc.DotNet,agherardi/Vlc.DotNet,xue-blood/wpfVlc,xue-blood/wpfVlc,thephez/Vlc.DotNet,marcomeyer/Vlc.DotNet,ZeBobo5/Vlc.DotNet,agherardi/Vlc.DotNet,jeremyVignelles/Vlc.DotNet,thephez/Vlc.DotNet | src/Vlc.DotNet.Core/VlcMediaPlayer/VlcMediaPlayer.Events.EndReached.cs | src/Vlc.DotNet.Core/VlcMediaPlayer/VlcMediaPlayer.Events.EndReached.cs | using System;
using Vlc.DotNet.Core.Interops.Signatures;
namespace Vlc.DotNet.Core
{
public sealed partial class VlcMediaPlayer
{
private EventCallback myOnMediaPlayerEndReachedInternalEventCallback;
public event EventHandler<VlcMediaPlayerEndReachedEventArgs> EndReached;
private void... | using System;
using Vlc.DotNet.Core.Interops.Signatures;
namespace Vlc.DotNet.Core
{
public sealed partial class VlcMediaPlayer
{
private EventCallback myOnMediaPlayerEndReachedInternalEventCallback;
public event EventHandler<VlcMediaPlayerEndReachedEventArgs> EndReached;
private void... | mit | C# |
bc09f26a3c8366f30cc63fd2c4af36e62007a7c3 | Fix bug 8262 in MTDWalkthrough sample. Set MinimumDate to today in DatePicker. | a9upam/monotouch-samples,nervevau2/monotouch-samples,a9upam/monotouch-samples,iFreedive/monotouch-samples,haithemaraissia/monotouch-samples,albertoms/monotouch-samples,albertoms/monotouch-samples,robinlaide/monotouch-samples,nervevau2/monotouch-samples,davidrynn/monotouch-samples,W3SS/monotouch-samples,kingyond/monotou... | MTDWalkthrough/AppDelegate.cs | MTDWalkthrough/AppDelegate.cs | using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using MonoTouch.Dialog;
namespace MTDWalkthrough
{
[Register ("AppDelegate")]
public partial class AppDelegate : UIApplicationDelegate
{
UIWindow _window;
UINavigationController _nav;
Dial... | using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using MonoTouch.Dialog;
namespace MTDWalkthrough
{
[Register ("AppDelegate")]
public partial class AppDelegate : UIApplicationDelegate
{
UIWindow _window;
UINavigationController _nav;
Dial... | mit | C# |
af68291bfea2e9351f078553372f036db7b4a948 | Update PlaceTypeEnum.cs | ADAPT/ADAPT | source/ADAPT/Logistics/PlaceTypeEnum.cs | source/ADAPT/Logistics/PlaceTypeEnum.cs | /*******************************************************************************
* Copyright (C) 2019 AgGateway, ADAPT Contributors
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution... | /*******************************************************************************
* Copyright (C) 2019 AgGateway, ADAPT Contributors
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution... | epl-1.0 | C# |
b6075c76ad6534d3b8767fb70fba01746207a6fa | Add description indicating retrieval method | peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework | osu.Framework/Localisation/LocalisableEnumAttribute.cs | osu.Framework/Localisation/LocalisableEnumAttribute.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 osu.Framework.Extensions;
using osu.Framework.Extensions.TypeExtensions;
namespace osu.Framework.Localisation
{
/// <summary>
/// Indicates t... | // 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 osu.Framework.Extensions.TypeExtensions;
namespace osu.Framework.Localisation
{
/// <summary>
/// Indicates that the members of an enum can b... | mit | C# |
6e21806873976561322499602e516ee0a6c29d36 | Adjust sample test to pass with pooling | NeoAdonis/osu,UselessToucan/osu,peppy/osu,peppy/osu,peppy/osu,peppy/osu-new,ppy/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu | osu.Game.Rulesets.Taiko.Tests/TestSceneSampleOutput.cs | osu.Game.Rulesets.Taiko.Tests/TestSceneSampleOutput.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.Collections.Generic;
using System.Linq;
using osu.Framework.Testing;
using osu.Game.Audio;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Taiko.Objects.Dra... | // 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.Linq;
using osu.Framework.Testing;
using osu.Game.Audio;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Taiko.Objects.Drawables;
namespace osu.Game.Rulese... | mit | C# |
c99c290964341d78880b45b858b56eb9ab5bba9c | fix binding in BaseActivity for SupportActionBar | ueman/CommitStripReader | CommitStrip/CommitStrip.Droid/Activities/BaseActivity.cs | CommitStrip/CommitStrip.Droid/Activities/BaseActivity.cs | using System;
using System.Collections.Generic;
using Android.App;
using Android.OS;
using CommitStrip.Core.ViewModels;
using MvvmCross.Binding.BindingContext;
using MvvmCross.Droid.Support.V7.AppCompat;
namespace CommitStrip.Droid.Activities
{
[Activity(Theme = "@style/AppTheme", Label = "BaseActivity")]
pub... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using CommitStrip.Core.ViewModels;
using MvvmCross.Binding.BindingContext;
using MvvmCross.Droid.Support.V7.AppCompat;
using MvvmCross.Droid.Views;
namespace CommitStrip.D... | apache-2.0 | C# |
7e433f58e7031e0126e6c3b62948bc1ee94339d5 | update to CommunityGoalDiscard | vendolis/EDDiscovery,jeoffman/EDDiscovery,jgoode/EDDiscovery,mwerle/EDDiscovery,jgoode/EDDiscovery,mwerle/EDDiscovery,jthorpe4/EDDiscovery,jeoffman/EDDiscovery,vendolis/EDDiscovery | EDDiscovery/EliteDangerous/JournalEvents/JournalCommunityGoalDiscard.cs | EDDiscovery/EliteDangerous/JournalEvents/JournalCommunityGoalDiscard.cs | using Newtonsoft.Json.Linq;
using System.Linq;
namespace EDDiscovery.EliteDangerous.JournalEvents
{
//Parameters:
//• Name
//• System
public class JournalCommunityGoalDiscard : JournalEntry
{
public JournalCommunityGoalDiscard(JObject evt) : base(evt, JournalTypeEnum.CommunityGoalDiscard)
... | using Newtonsoft.Json.Linq;
using System.Linq;
namespace EDDiscovery.EliteDangerous.JournalEvents
{
//When Written: when signing up to a community goal
//Parameters:
//• Name
//• System
public class JournalCommunityGoalDiscard : JournalEntry
{
public JournalCommunityGoalDiscard(JObject... | apache-2.0 | C# |
b7edd7db54f9de2721ea0c793e33d26fb86355cd | Load the service in the main thread, once more. | yonglehou/hadouken,Robo210/hadouken,vktr/hadouken,Robo210/hadouken,yonglehou/hadouken,Robo210/hadouken,vktr/hadouken,yonglehou/hadouken,Robo210/hadouken,vktr/hadouken,vktr/hadouken | src/Hosts/Hadouken.Hosts.WindowsService/HdknService.cs | src/Hosts/Hadouken.Hosts.WindowsService/HdknService.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using System.Threading.Tasks;
using Hadouken.Common;
using Hadouken.Hosting;
using System.Threading;
namespace Hadou... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using System.Threading.Tasks;
using Hadouken.Common;
using Hadouken.Hosting;
namespace Hadouken.Hosts.WindowsService
... | mit | C# |
6b271f8f54389022ecdf579ee69b9d87db63eb0e | Create Display/Editor location settings for Parts and Fields | DonnotRain/Orchard,OrchardCMS/Orchard-Harvest-Website,Morgma/valleyviewknolls,AdvantageCS/Orchard,Fogolan/OrchardForWork,jtkech/Orchard,rtpHarry/Orchard,IDeliverable/Orchard,tobydodds/folklife,dcinzona/Orchard-Harvest-Website,Praggie/Orchard,openbizgit/Orchard,qt1/Orchard,princeppy/JPYSites-Orchard-Azure-Live-SourceCod... | src/Orchard.Web/Core/Common/Drivers/TextFieldDriver.cs | src/Orchard.Web/Core/Common/Drivers/TextFieldDriver.cs | using JetBrains.Annotations;
using Orchard.ContentManagement;
using Orchard.ContentManagement.Drivers;
using Orchard.Core.Common.Fields;
using Orchard.Core.Common.Settings;
namespace Orchard.Core.Common.Drivers {
[UsedImplicitly]
public class TextFieldDriver : ContentFieldDriver<TextField> {
... | using JetBrains.Annotations;
using Orchard.ContentManagement;
using Orchard.ContentManagement.Drivers;
using Orchard.Core.Common.Fields;
namespace Orchard.Core.Common.Drivers {
[UsedImplicitly]
public class TextFieldDriver : ContentFieldDriver<TextField> {
public IOrchardServices Services { ge... | bsd-3-clause | C# |
e818888f9f56ca9701d934bc83273aca71c9145a | Add InfiniteTimeout constant to WindowsSerialPort | crozone/LinuxSerialPort | src/SerialPorts.WindowsSerialPort/WindowsSerialPort.cs | src/SerialPorts.WindowsSerialPort/WindowsSerialPort.cs | using crozone.SerialPorts.Abstractions;
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using System.IO.Ports;
using Handshake = crozone.SerialPorts.Abstractions.Handshake;
using Parity = crozone.SerialPorts.Abstractions.Parity;
using StopBits = crozone.SerialPorts.Abstractions.St... | using crozone.SerialPorts.Abstractions;
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using System.IO.Ports;
using Handshake = crozone.SerialPorts.Abstractions.Handshake;
using Parity = crozone.SerialPorts.Abstractions.Parity;
using StopBits = crozone.SerialPorts.Abstractions.St... | mit | C# |
e9f3db1d567cecf7a9cb11c23dd145c97d38c4e5 | Fix AdressesController | eberlitz/WebApiClientTS,eberlitz/WebApiClientTS,eberlitz/WebApiClientTS | src/WebApiSample/Controllers/Api/AdressesController.cs | src/WebApiSample/Controllers/Api/AdressesController.cs | using System.Collections.Generic;
using System.Web.Http;
namespace WebApiSample.Controllers.Api
{
[RoutePrefix("Api/Adresses")]
public class AdressesController : ApiController
{
[HttpGet]
[Route("Address")]
public IList<Address> Adresses()
{
return new List<Addr... | using System.Collections.Generic;
using System.Web.Http;
namespace WebApiSample.Controllers.Api
{
public class AddressController : ApiController
{
[RoutePrefix("Api/Adresses")]
public class AdressesController : ApiController
{
[HttpGet]
[Route("Address")]
... | mit | C# |
412e4ab5dd0850ac17e8d0e7bde83832aa7cc22c | Add error exception handling | AshleyPoole/ssllabs-api-wrapper | SSLLWrapper/ApiService.cs | SSLLWrapper/ApiService.cs | using System;
using Newtonsoft.Json;
using SSLLWrapper.Helpers;
using SSLLWrapper.Interfaces;
using SSLLWrapper.Models.Response;
namespace SSLLWrapper
{
public class ApiService
{
readonly IApi _api;
private readonly HttpWebResponseHelper _webResponseHelper;
private readonly RequestModelHelper _... | using System;
using Newtonsoft.Json;
using SSLLWrapper.Helpers;
using SSLLWrapper.Interfaces;
using SSLLWrapper.Models.Response;
namespace SSLLWrapper
{
public class ApiService
{
readonly IApi _api;
private readonly HttpWebResponseHelper _webResponseHelper;
private readonly RequestModelHelper _... | mit | C# |
97ea27b3466d0cd4e9cf47ebfe3f194c62fc69dc | Enable angular routing in Asp.Net Core hosting | lanfeust69/LanfeustBridge,lanfeust69/LanfeustBridge,lanfeust69/LanfeustBridge,lanfeust69/LanfeustBridge,lanfeust69/LanfeustBridge | Startup.cs | Startup.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System.IO;
namespace Lanfe... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
namespace LanfeustBridge
{
p... | mit | C# |
4415d24a4d6276b1e18ccdea1fd94b29c4a51e1d | Add some overrides of RenderEffect to make it easier to render just a roi, line, or pixel. | PintaProject/Pinta,Fenex/Pinta,jakeclawson/Pinta,PintaProject/Pinta,jakeclawson/Pinta,PintaProject/Pinta,Mailaender/Pinta,Mailaender/Pinta,Fenex/Pinta,xxgreg/Pinta | Pinta.Core/Effects/BaseEffect.cs | Pinta.Core/Effects/BaseEffect.cs | //
// BaseEffect.cs
//
// Author:
// Jonathan Pobst <monkey@jpobst.com>
//
// Copyright (c) 2010 Jonathan Pobst
//
// 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 restr... | //
// BaseEffect.cs
//
// Author:
// Jonathan Pobst <monkey@jpobst.com>
//
// Copyright (c) 2010 Jonathan Pobst
//
// 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 restr... | mit | C# |
2fa81a3c9957ef98b8ce35fd3d8f9c7cdaecabaf | Fix for #104 | darkoperator/Posh-SSH | PoshSSH/PoshSSH/TrustedKeyMng.cs | PoshSSH/PoshSSH/TrustedKeyMng.cs | using System.Collections.Generic;
using Microsoft.Win32;
using System;
namespace SSH
{
// Class for managing the keys
public class TrustedKeyMng
{
public Dictionary<string, string> GetKeys()
{
var hostkeys = new Dictionary<string, string>(StringComparer.InvariantCultureIgnoreC... | using System.Collections.Generic;
using Microsoft.Win32;
namespace SSH
{
// Class for managing the keys
public class TrustedKeyMng
{
public Dictionary<string, string> GetKeys()
{
var hostkeys = new Dictionary<string, string>();
var poshSoftKey = Registry.CurrentUse... | bsd-3-clause | C# |
422b08ea5cef244dcb634e60927d127e230fa7c8 | fix culture | klinkby/klinkby.timerjob | Properties/CommonAssemblyInfo.cs | Properties/CommonAssemblyInfo.cs | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyCompany("Mads Klinkby")]
[assembly: AssemblyProduct("Klinkby")]
[assembly: AssemblyCo... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyCompany("Mads Klinkby")]
[assembly: AssemblyProduct("Klinkby")]
[assembly: AssemblyCopyright("Copyright © Ma... | mit | C# |
83f955c577f5c6f8a453cf1c119d212a990de5a0 | add 'Unmerge' method to MergeableSubject | rdavisau/sockethelpers-for-pcl | SocketHelpers/SocketHelpers/Messaging/MergableSubject.cs | SocketHelpers/SocketHelpers/Messaging/MergableSubject.cs | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Subjects;
namespace SocketHelpers.Messaging
{
public class MergableSubject<T> : IDisposable
{
readonly Subject<T> _backingSub = new Subject<T>();
public IObservable<T> SubscriptionLine { get { retu... | using System;
using System.Collections.Generic;
using System.Reactive.Linq;
using System.Reactive.Subjects;
namespace SocketHelpers.Messaging
{
public class MergableSubject<T> : IDisposable
{
readonly Subject<T> _backingSub = new Subject<T>();
public IObservable<T> SubscriptionLine { get { retu... | mit | C# |
95f99918006db435a61534877e03e3569cfdb9a7 | use NRT | dotnet/roslyn,AmadeusW/roslyn,CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,mavasani/roslyn,diryboy/roslyn,eriawan/roslyn,bartdesmet/roslyn,mavasani/roslyn,physhi/roslyn,wvdd007/roslyn,dotnet/roslyn,sharwell/roslyn,jasonmalinowski/roslyn,KevinRansom/roslyn,sharwell/roslyn,eriawan/... | src/Features/Core/Portable/AddParameter/RegisterFixData.cs | src/Features/Core/Portable/AddParameter/RegisterFixData.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.Collections.Immutable;
namespace Microsoft.CodeAnalysis.AddParameter
{
internal class RegisterFix... | // 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.
#nullable disable
using System.Collections.Immutable;
namespace Microsoft.CodeAnalysis.AddParameter
{
interna... | mit | C# |
920427260cd06a26ae9519265e18bbcf64dc3544 | Make global tool entrypoint class static (#15880) | JamesWTruher/PowerShell-1,daxian-dbw/PowerShell,PaulHigin/PowerShell,PaulHigin/PowerShell,daxian-dbw/PowerShell,PaulHigin/PowerShell,TravisEz13/PowerShell,PaulHigin/PowerShell,daxian-dbw/PowerShell,TravisEz13/PowerShell,JamesWTruher/PowerShell-1,daxian-dbw/PowerShell,JamesWTruher/PowerShell-1,TravisEz13/PowerShell,Trav... | src/Microsoft.PowerShell.GlobalTool.Shim/GlobalToolShim.cs | src/Microsoft.PowerShell.GlobalTool.Shim/GlobalToolShim.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.IO;
using System.Runtime.InteropServices;
namespace Microsoft.PowerShell.GlobalTool.Shim
{
/// <summary>
/// Shim layer to chose the appropriate runtime for PowerShell DotNet Global tool.
/// </summary>
... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
using System.IO;
using System.Runtime.InteropServices;
namespace Microsoft.PowerShell.GlobalTool.Shim
{
/// <summary>
/// Shim layer to chose the appropriate runtime for PowerShell DotNet Global tool.
/// </summary>
... | mit | C# |
64543d184c074eaac39fe231916fcd08743df22f | Update LayerContainer.cs | wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Containers/LayerContainer.cs | src/Core2D/Containers/LayerContainer.cs | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using Core2D.Shapes;
namespace Core2D.Containers
{
/// <summary>
/// Layer container.
/// </summary>
public class LayerContainer : ObservableObject, ILayerContainer
{
/// <inheritdoc/>
public event ... | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using Core2D.Shapes;
namespace Core2D.Containers
{
/// <summary>
/// Layer container.
/// </summary>
public class LayerContainer : ObservableObject, ILayerContainer
{
/// <inheritdoc/>
public event ... | mit | C# |
432f3ffad1a10bb00b02e02be9c06cf7b7450dc7 | Make default CustomAttributeCollection ctor public | modulexcite/dnlib,picrap/dnlib,0xd4d/dnlib,Arthur2e5/dnlib,jorik041/dnlib,ZixiangBoy/dnlib,ilkerhalil/dnlib,kiootic/dnlib,yck1509/dnlib | src/DotNet/CustomAttributeCollection.cs | src/DotNet/CustomAttributeCollection.cs | using System.Collections.Generic;
namespace dot10.DotNet {
/// <summary>
/// Stores <see cref="CustomAttribute"/>s
/// </summary>
public class CustomAttributeCollection : LazyList<CustomAttribute> {
/// <summary>
/// Default constructor
/// </summary>
public CustomAttributeCollection() {
}
/// <summa... | using System.Collections.Generic;
namespace dot10.DotNet {
/// <summary>
/// Stores <see cref="CustomAttribute"/>s
/// </summary>
public class CustomAttributeCollection : LazyList<CustomAttribute> {
/// <summary>
/// Default constructor
/// </summary>
internal CustomAttributeCollection() {
}
/// <sum... | mit | C# |
c0a7b8054c09dd7f6d66590767c16a547f3f695c | Update IHasLifetime.cs | EVAST9919/osu-framework,Nabile-Rahmani/osu-framework,smoogipooo/osu-framework,paparony03/osu-framework,default0/osu-framework,peppy/osu-framework,Tom94/osu-framework,ppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,paparony03/osu-framework,ZLima12/osu-framework,DrabWeb/osu-framework,EVAST9919/o... | osu.Framework/Lists/IHasLifetime.cs | osu.Framework/Lists/IHasLifetime.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
namespace osu.Framework.Lists
{
public interface IHasLifetime
{
/// <summary>
/// Whether this life-timed object is currently ... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Timing;
namespace osu.Framework.Lists
{
public interface IHasLifetime
{
/// <summary>
/// Whether this ... | mit | C# |
5885c8508b2cd96d8bbc4fb5b63035108783c7e6 | Hide mesh renderer in snap back collider | PearMed/Pear-Interaction-Engine | Scripts/Interactions/SnapBack.cs | Scripts/Interactions/SnapBack.cs | using Pear.InteractionEngine.Utils;
using System.Collections.Generic;
using UnityEngine;
namespace Pear.InteractionEngine.Interactions
{
public class SnapBack : MonoBehaviour
{
private Anchor _anchor;
private StoreTransform _originalData;
// Tells whether we are colliding with our collider mesh
private boo... | using Pear.InteractionEngine.Utils;
using System.Collections.Generic;
using UnityEngine;
namespace Pear.InteractionEngine.Interactions
{
public class SnapBack : MonoBehaviour
{
private Anchor _anchor;
private StoreTransform _originalData;
// Tells whether we are colliding with our collider mesh
private boo... | mit | C# |
80ce8ca3332a8de89505737df46e93f4d608ae05 | Update bundle identifier for Unity | bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity | test/mobile/features/fixtures/maze_runner/Assets/Scripts/Builder.cs | test/mobile/features/fixtures/maze_runner/Assets/Scripts/Builder.cs | using System.Linq;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
using UnityEditor.Callbacks;
public class Builder : MonoBehaviour
{
// Generates mazerunner.apk
public static void AndroidBuild()
{
Debug.Log("Building Android app...");
PlayerSettings.SetApplicationIdentifier(Build... | using System.Linq;
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
using UnityEditor.Callbacks;
public class Builder : MonoBehaviour
{
// Generates mazerunner.apk
public static void AndroidBuild()
{
Debug.Log("Building Android app...");
PlayerSettings.SetApplicationIdentifier(Build... | mit | C# |
15954d1dc5ac605863d01c104635286cccb6a004 | Fix intermittent Style unit test failures. | Perspex/Perspex,AvaloniaUI/Avalonia,OronDF343/Avalonia,AvaloniaUI/Avalonia,AvaloniaUI/Avalonia,DavidKarlas/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Perspex,bbqchickenrobot/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,kekekeks/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,susloparovdeni... | tests/Perspex.Styling.UnitTests/Properties/AssemblyInfo.cs | tests/Perspex.Styling.UnitTests/Properties/AssemblyInfo.cs | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System.Reflection;
using Xunit;
[assembly: AssemblyTitle("Perspex.Styling.UnitTests")]
// Don't run tests in parallel.
[assembly: CollectionBehavi... | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System.Reflection;
[assembly: AssemblyTitle("Perspex.Styling.UnitTests")]
| mit | C# |
1a1f8b223500d5186b962fc94abbeab1d8441c9e | Fix dumb in torch mod | TorchAPI/Torch | Torch.Mod/TorchModCore.cs | Torch.Mod/TorchModCore.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sandbox.ModAPI;
using VRage.Game.Components;
namespace Torch.Mod
{
[MySessionComponentDescriptor(MyUpdateOrder.AfterSimulation)]
public class TorchModCore : MySessionComponentBase
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sandbox.ModAPI;
using VRage.Game.Components;
namespace Torch.Mod
{
[MySessionComponentDescriptor(MyUpdateOrder.AfterSimulation)]
public class TorchModCore : MySessionComponentBase
{
... | apache-2.0 | C# |
d47b0b5aaa455cdbc256bd66f8625f2b94893835 | replace identity and short name in template file | secana/CakeApp | build.cake | build.cake |
/*
1) clean old packages DONE
2) ensure all needed directories exist DONE
3) package test version of template
4) install test version of template
5) create new sln with test version
6) test test version
7) if successful: package to release version
8) publish package to nuget
*/
var target = Argument("target", "Defaul... |
/*
1) clean old packages DONE
2) ensure all needed directories exist DONE
3) package test version of template
4) install test version of template
5) create new sln with test version
6) test test version
7) if successful: package to release version
8) publish package to nuget
*/
var target = Argument("target", "Defaul... | apache-2.0 | C# |
a6995ab9b08259aaa18ddd8db2a5e43d276bedee | Fix buildversion parameter | justinjstark/Delivered,justinjstark/Verdeler | build.cake | build.cake | //////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
var version = Argument("buildversion", "0.0.0");
////////////... | //////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
var version = Argument("version", "0.0.0");
/////////////////... | mit | C# |
f925959a4f57596c8f1c646d09c0220ab9556281 | Update Delete.cshtml | CarmelSoftware/Generic-Data-Repository-for-ASP.NET-MVC | Views/Blogs/Delete.cshtml | Views/Blogs/Delete.cshtml | @model GenericRepository.Models.Blog
@{
ViewBag.Title = "Delete";
}
<div class="jumbotron">
<h2>Generic Data Repository - Delete</h2><br /><h4>By Carmel Schvartzman</h4>
</div>
<div class="jumbotron">
<h3>Are you sure you want to delete this?</h3>
<fieldset>
<legend>Blog</legend>
<div class="display-l... | @model GenericRepository.Models.Blog
@{
ViewBag.Title = "Delete";
}
<div class="jumbotron">
<h2>Generic Data Repository - Delete</h2><br /><h4>By Carmel Schvartzman</h4>
</div>
<div class="jumbotron">
<h3>Are you sure you want to delete this?</h3>
<fieldset>
<legend>Blog</legend>
<div class="display-l... | mit | C# |
dc7a7fd9f56180770fb45e28b218feb3345bf7ba | add app insights | ucdavis/Namster,ucdavis/Namster,ucdavis/Namster | src/Namster/Views/Shared/_Layout.cshtml | src/Namster/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>NamstR - @ViewData["Title"]</title>
<link href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medi... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>NamstR - @ViewData["Title"]</title>
<link href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medi... | mit | C# |
12395d9c374183850e604003314a8288be3dec5b | Update src/PerfView/GuiUtilities/WindowBase.cs | vancem/perfview,vancem/perfview,vancem/perfview,vancem/perfview,vancem/perfview | src/PerfView/GuiUtilities/WindowBase.cs | src/PerfView/GuiUtilities/WindowBase.cs | using System.Windows;
namespace PerfView
{
/// <summary>
/// This Window Base class was created to solve the issue #680
/// https://github.com/Microsoft/perfview/issues/680
/// </summary>
public class WindowBase : Window
{
/// <summary>
/// This constructor is only used for Des... | using System.Windows;
namespace PerfView
{
/// <summary>
/// This Window Base class was created to solve the issue #680
/// https://github.com/Microsoft/perfview/issues/680
/// </summary>
public class WindowBase : Window
{
/// <summary>
/// This constructor is only used for Des... | mit | C# |
519b2ff1c3b501a23d1a03203ba635b7d08306c3 | Set version to 0.1. | strayfatty/ShowFeed,strayfatty/ShowFeed | src/ShowFeed/Properties/AssemblyInfo.cs | src/ShowFeed/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("Sh... | 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("Sh... | mit | C# |
cbf64f04f91b3f47fce6c3e6190a8ede7579c444 | add Sales to SalesReport | Team-Espresso-Martini/databases-teamwork,Team-Espresso-Martini/databases-teamwork,Team-Espresso-Martini/databases-teamwork | ComputersFactory/ComputersFactory.Models/SalesReport.cs | ComputersFactory/ComputersFactory.Models/SalesReport.cs | using System;
using System.Collections.Generic;
using ComputersFactory.Data.Models;
namespace ComputersFactory.Models
{
public class SalesReport
{
private ICollection<Computer> computers;
public SalesReport()
{
this.computers = new HashSet<Computer>();
}
... | using System;
using System.Collections.Generic;
using ComputersFactory.Data.Models;
namespace ComputersFactory.Models
{
public class SalesReport
{
private ICollection<Computer> computers;
public SalesReport()
{
this.computers = new HashSet<Computer>();
}
... | mit | C# |
f97b28c91906df73eac61500d55179685e076b6c | add file name | kidchenko/windows-phone | DailyRitualsApp/DailyRitualsApp/DataModel/DataSource.cs | DailyRitualsApp/DailyRitualsApp/DataModel/DataSource.cs | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Json;
using System.Text;
using System.Threading.Tasks;
using Windows.Storage;
namespace DailyRitualsApp.DataModel
{
public class DataSource
{
pri... | using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Linq;
using System.Runtime.Serialization.Json;
using System.Text;
using System.Threading.Tasks;
using Windows.Storage;
namespace DailyRitualsApp.DataModel
{
public class DataSource
{
pri... | mit | C# |
0320072ba3d75805271822a81aeeb5a9511c561c | Make TickGenerator.TickGenerated event public | melanchall/drymidi,melanchall/drywetmidi,melanchall/drywetmidi | DryWetMidi/Devices/Clock/TickGenerator/TickGenerator.cs | DryWetMidi/Devices/Clock/TickGenerator/TickGenerator.cs | using System;
namespace Melanchall.DryWetMidi.Devices
{
/// <summary>
/// Tick generator which provides ticking with the specified interval.
/// </summary>
public abstract class TickGenerator : IDisposable
{
#region Events
/// <summary>
/// Occurs on tick generator's tick.... | using System;
namespace Melanchall.DryWetMidi.Devices
{
/// <summary>
/// Tick generator which provides ticking with the specified interval.
/// </summary>
public abstract class TickGenerator : IDisposable
{
#region Events
internal event EventHandler TickGenerated;
#endre... | mit | C# |
3a5cb629e2eace925b4e647e3f3af53125f79015 | Add failing usage test. | alastairs/BobTheBuilder,fffej/BobTheBuilder | BobTheBuilder.Tests/ExampleUsage.cs | BobTheBuilder.Tests/ExampleUsage.cs | using System;
using Xunit;
namespace BobTheBuilder.Tests
{
public class ExampleUsage
{
[Fact]
public void Usage()
{
const string stringProperty = "expected value";
var expected = new SampleType
{
StringProperty = stringProperty
... | using System;
using Xunit;
namespace BobTheBuilder.Tests
{
public class ExampleUsage
{
[Fact]
public void Usage()
{
const string stringProperty = "expected value";
var expected = new SampleType
{
StringProperty = stringProperty
... | apache-2.0 | C# |
50ae332062a6051694e76e522430b608ee494c13 | Modify alpha result packet to use spine-case | AnshulYADAV007/Lean,AlexCatarino/Lean,kaffeebrauer/Lean,Jay-Jay-D/LeanSTP,StefanoRaggi/Lean,QuantConnect/Lean,redmeros/Lean,jameschch/Lean,kaffeebrauer/Lean,redmeros/Lean,kaffeebrauer/Lean,jameschch/Lean,AnshulYADAV007/Lean,AnshulYADAV007/Lean,JKarathiya/Lean,AnshulYADAV007/Lean,jameschch/Lean,AlexCatarino/Lean,AnshulY... | Common/Packets/AlphaResultPacket.cs | Common/Packets/AlphaResultPacket.cs | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of... | /*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of... | apache-2.0 | C# |
effcf0046add1658cbb0d405df14114c6c9ac697 | Add IsMousePresent property to CCDevice. | mono/CocosSharp,mono/CocosSharp | src/Platform/CCDevice.cs | src/Platform/CCDevice.cs | using Microsoft.Xna.Framework;
#if ANDROID
using Android.App;
using Android.Util;
#endif
#if NETFX_CORE
using Windows.Devices;
#endif
#if WINDOWS || WINDOWSGL
#endif
namespace CocosSharp
{
public static class CCDevice
{
public static float DPI
{
get
{
float dpi;
#if ANDROID
v... | using Microsoft.Xna.Framework;
#if ANDROID
using Android.App;
using Android.Util;
#endif
#if WINDOWS || WINDOWSGL
#endif
namespace CocosSharp
{
public static class CCDevice
{
public static float DPI
{
get
{
float dpi;
#if ANDROID
var display = Game.Activity.WindowManager.Defa... | mit | C# |
9693721ca5f2b6c4c4ffc4533228a3d4666707b1 | Add System.Diagnostics.TraceSource serialization | YoupHulsebos/corefx,ViktorHofer/corefx,YoupHulsebos/corefx,gkhanna79/corefx,lggomez/corefx,billwert/corefx,the-dwyer/corefx,DnlHarvey/corefx,gkhanna79/corefx,tijoytom/corefx,weltkante/corefx,rahku/corefx,richlander/corefx,shimingsg/corefx,twsouthwick/corefx,ViktorHofer/corefx,twsouthwick/corefx,alexperovich/corefx,Pete... | src/System.Diagnostics.TraceSource/src/System/Diagnostics/TraceLevel.cs | src/System.Diagnostics.TraceSource/src/System/Diagnostics/TraceLevel.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.Diagnostics;
using System;
namespace System.Diagnostics
{
/// <devdoc>
/// <para>Specifies ... | // 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.Diagnostics;
using System;
namespace System.Diagnostics
{
/// <devdoc>
/// <para>Specifies ... | mit | C# |
9bf70e4e97ed84c95bb5d19eb4e7cf59391f7e8c | Add slider test step for visual inspection purposes | smoogipoo/osu,NeoAdonis/osu,ppy/osu,ppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,ppy/osu,UselessToucan/osu,UselessToucan/osu,UselessToucan/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu | osu.Game.Tests/Visual/Gameplay/TestSceneStarCounter.cs | osu.Game.Tests/Visual/Gameplay/TestSceneStarCounter.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 NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Utils;
using osu.Game.Graphics.Sprites;
using osu.Game.Graphics.UserInterface;
using osuTK;
name... | // 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 NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Utils;
using osu.Game.Graphics.Sprites;
using osu.Game.Graphics.UserInterface;
using osuTK;
name... | mit | C# |
e23ea00197ff7eb0c6d2e719aa7f54b3c5625025 | add notice box | NeoAdonis/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,peppy/osu,ppy/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,peppy/osu-new,UselessToucan/osu,peppy/osu,UselessToucan/osu | osu.Game/Overlays/Wiki/Markdown/WikiNoticeContainer.cs | osu.Game/Overlays/Wiki/Markdown/WikiNoticeContainer.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 Markdig.Extensions.Yaml;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Contain... | // 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 Markdig.Extensions.Yaml;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Game.Overlays.Wiki.Markdown
{
public class WikiNo... | mit | C# |
cc02cf585ffe85a1d8730117a446e476dd008860 | Save on System Shutdown | DarkIrata/WinCommandPalette | WinCommandPalette/App.xaml.cs | WinCommandPalette/App.xaml.cs | using System;
using System.Diagnostics;
using System.IO;
using System.Windows;
using Microsoft.Win32;
using WinCommandPalette.Helper;
using WinCommandPalette.PluginSystem;
using WinCommandPalette.Views;
namespace WinCommandPalette
{
/// <summary>
/// Interaktionslogik für "App.xaml"
/// </sum... | using System;
using System.Diagnostics;
using System.IO;
using System.Windows;
using WinCommandPalette.Helper;
using WinCommandPalette.PluginSystem;
using WinCommandPalette.Views;
namespace WinCommandPalette
{
/// <summary>
/// Interaktionslogik für "App.xaml"
/// </summary>
public partia... | mit | C# |
0f43f8725464a264d08ecc94137e164c2c0ef7ce | bump version | Fody/InfoOf | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("InfoOf")]
[assembly: AssemblyProduct("InfoOf")]
[assembly: AssemblyVersion("1.3.1")]
| using System.Reflection;
[assembly: AssemblyTitle("InfoOf")]
[assembly: AssemblyProduct("InfoOf")]
[assembly: AssemblyVersion("1.3.0")]
| mit | C# |
a9b4530d8c5687b6984dada3caf25aeaf3f9123f | Update UserAgents.cs | Kingloo/Rdr | RdrLib/UserAgents.cs | RdrLib/UserAgents.cs | using System.Linq;
namespace RdrLib.Common
{
public static class UserAgents
{
public const string Firefox_89_Windows = "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0";
public const string Edge_91_Windows = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 ... | using System.Linq;
namespace RdrLib.Common
{
public static class UserAgents
{
public const string Firefox_87_Windows = "MMozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.0";
public const string Edge_88_Windows = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/... | unlicense | C# |
aef9b8e710bb9e27e5cc94d30a88cc85c86077cb | 修改 DbParam.Value set 实现. | shuxinqin/Chloe | src/Chloe/DbParam.cs | src/Chloe/DbParam.cs | using System;
using System.Data;
namespace Chloe
{
public class DbParam
{
object _value;
public DbParam()
{
}
public DbParam(string name, object value)
{
this.Name = name;
this.Value = value;
}
public DbParam(string name, ... | using System;
using System.Data;
namespace Chloe
{
public class DbParam
{
object _value;
public DbParam()
{
}
public DbParam(string name, object value)
{
this.Name = name;
this.Value = value;
}
public DbParam(string name, ... | mit | C# |
3552ecf07a9a14e2e3ab77f658867b6630508535 | Make settings static | erooijak/MeditationTimer | src/Data/Settings.cs | src/Data/Settings.cs | using System;
namespace Rooijakkers.MeditationTimer.Data
{
/// <summary>
/// Stores settings data in local settings storage
/// </summary>
public static class Settings
{
private const string TIME_TO_GET_READY_IN_SECONDS_STORAGE = "TimeToGetReadyStorage";
public static TimeSpan Tim... | using System;
namespace Rooijakkers.MeditationTimer.Data
{
/// <summary>
/// Stores settings data in local settings storage
/// </summary>
public class Settings
{
private const string TIME_TO_GET_READY_IN_SECONDS_STORAGE = "TimeToGetReadyStorage";
public TimeSpan TimeToGetReady
... | mit | C# |
235669b279e080760046d6b9256ccf70dcbbeb43 | Make CredentialPresentation.ctor public | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Crypto/ZeroKnowledge/CredentialPresentation.cs | WalletWasabi/Crypto/ZeroKnowledge/CredentialPresentation.cs | using NBitcoin.Secp256k1;
using WalletWasabi.Crypto.Groups;
namespace WalletWasabi.Crypto.ZeroKnowledge
{
public class CredentialPresentation
{
public CredentialPresentation(GroupElement Ca, GroupElement Cx0, GroupElement Cx1, GroupElement CV, GroupElement S)
{
this.Ca = Ca;
this.Cx0 = Cx0;
this.Cx1 = ... | using NBitcoin.Secp256k1;
using WalletWasabi.Crypto.Groups;
namespace WalletWasabi.Crypto.ZeroKnowledge
{
public class CredentialPresentation
{
private CredentialPresentation(GroupElement Ca, GroupElement Cx0, GroupElement Cx1, GroupElement CV, GroupElement S)
{
this.Ca = Ca;
this.Cx0 = Cx0;
this.Cx1 =... | mit | C# |
c9d21894e5aeba8e2ddbf7c97779584bbc95ac93 | Add test for icon toggle | ppy/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,peppy/osu,UselessToucan/osu,ppy/osu,smoogipooo/osu,UselessToucan/osu | osu.Game.Tests/Visual/UserInterface/TestSceneCommentRepliesButton.cs | osu.Game.Tests/Visual/UserInterface/TestSceneCommentRepliesButton.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.Game.Overlays.Comments.Buttons;
using osu.Framework.Graphics;
using osu.Framework.Allocation;
using osu.Game.Overlays;
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 osu.Game.Overlays.Comments.Buttons;
using osu.Framework.Graphics;
using osu.Framework.Allocation;
using osu.Game.Overlays;
using osu.Framework.Graphics.Containers;... | mit | C# |
ea4634cb98f48f8c69fdb46a7aac7157115ed82b | refactor Microprocessor.ValueAt to improve the semantics of the parameters | rmterra/NesZord | src/NesZord.Core/Microprocessor.cs | src/NesZord.Core/Microprocessor.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
namespace NesZord.Core
{
public class Microprocessor
{
public byte X { get; private set; }
public byte Accumulator { get; private set; }
public int ProgramCounter { get; private set; }
public... | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
namespace NesZord.Core
{
public class Microprocessor
{
public byte X { get; private set; }
public byte Accumulator { get; private set; }
public int ProgramCounter { get; private set; }
public... | apache-2.0 | C# |
25b6064c9808d97d1f9d3bd1aeee2c43c08b65a6 | Save all missed events in LockableEvent class | Drenn1/LynnaLab,Drenn1/LynnaLab | LynnaLab/Core/Util/LockableEvent.cs | LynnaLab/Core/Util/LockableEvent.cs | using System;
using System.Collections.Generic;
namespace LynnaLab {
// This is just like an Event, but you can "Lock" it to pause callbacks, and "Unlock" it to
// resume them. Useful for doing atomic operations.
public class LockableEvent<T> {
EventHandler<T> handler;
int locked = 0;
... | using System;
namespace LynnaLab {
// This is just like an Event, but you can "Lock" it to pause callbacks, and "Unlock" it to
// resume them. Useful for doing atomic operations.
// NOTE: This assumes that only the most recent event matters. If multiple events occur while
// locked, all but the last on... | mit | C# |
9a68efef864317a4b209701dfe8879c73131a9e2 | Move toolbar resource first | xamarin/app-customers,xamarin/app-customers | Droid/MainActivity.cs | Droid/MainActivity.cs | using Android.App;
using Android.Content.PM;
using Android.OS;
using Xamarin.Forms.Platform.Android;
using Xamarin.Forms;
using ImageCircle.Forms.Plugin.Droid;
using Xamarin;
namespace Customers.Droid
{
[Activity (Icon = "@drawable/icon", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigCh... | using Android.App;
using Android.Content.PM;
using Android.OS;
using Xamarin.Forms.Platform.Android;
using Xamarin.Forms;
using ImageCircle.Forms.Plugin.Droid;
using Xamarin;
namespace Customers.Droid
{
[Activity (Icon = "@drawable/icon", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigCh... | mit | C# |
c9f1d99b97e5e416043d36b9759cb5fd099f832f | Bump to version 2.5.0.1 | Silv3rPRO/proshine,bobus15/proshine | PROShine/Properties/AssemblyInfo.cs | PROShine/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
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: As... | using System.Reflection;
using System.Resources;
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: As... | mit | C# |
ab7c2682d58e37bbc8f0695f5ea88ec14772d8a7 | Fix in TempFileForSafeWriting | gmartin7/libpalaso,ddaspit/libpalaso,hatton/libpalaso,sillsdev/libpalaso,JohnThomson/libpalaso,JohnThomson/libpalaso,ermshiperete/libpalaso,mccarthyrb/libpalaso,andrew-polk/libpalaso,mccarthyrb/libpalaso,chrisvire/libpalaso,JohnThomson/libpalaso,glasseyes/libpalaso,gmartin7/libpalaso,JohnThomson/libpalaso,mccarthyrb/li... | Palaso/IO/TempFileForSafeWriting.cs | Palaso/IO/TempFileForSafeWriting.cs | using System.IO;
namespace Palaso.IO
{
public class TempFileForSafeWriting
{
private readonly string _realFilePath;
private string _tempPath;
public TempFileForSafeWriting(string realFilePath)
{
_realFilePath = realFilePath;
_tempPath = Path.GetTempFileName();
}
public string TempFilePath
{
... | using System.IO;
namespace Palaso.IO
{
public class TempFileForSafeWriting
{
private readonly string _realFilePath;
private string _tempPath;
public TempFileForSafeWriting(string realFilePath)
{
_realFilePath = realFilePath;
_tempPath = Path.GetTempFileName();
}
public string TempFilePath
{
... | mit | C# |
30a5586452e8e1b55372cb85d0a1742d4fb4994e | Save camera mode. | ihsoft/EasyVesselSwitch,ihsoft/EasyVesselSwitch | Source/VesselInfo.cs | Source/VesselInfo.cs | // KSP Easy Vessel Switch
// Author: igor.zavoychinskiy@gmail.com
// This software is distributed under Public domain license.
using System;
using UnityEngine;
namespace EasyVesselSwitch {
/// <summary>Vessel & camera context used when switching.</summary>
struct VesselInfo {
/// <summary>Position of the new ... | // KSP Easy Vessel Switch
// Author: igor.zavoychinskiy@gmail.com
// This software is distributed under Public domain license.
using System;
using UnityEngine;
namespace EasyVesselSwitch {
/// <summary>Vessel & camera context used when switching.</summary>
struct VesselInfo {
/// <summary>Position of the new ... | unlicense | C# |
ecbf4c95a72bb2ac844e1200f8af8692a78514b7 | Check if _soundData is null before attempting to play the sound | TimBo93/Toxy,Umriyaev/Toxy,Reverp/Toxy,Reverp/Toxy | Toxy/Common/Winmm.cs | Toxy/Common/Winmm.cs | using System;
using System.Runtime.InteropServices;
using System.Resources;
using System.IO;
namespace Win32
{
public static class Winmm
{
public static void PlayMessageNotify()
{
if (_soundData == null)
{
using (UnmanagedMemoryStream sound ... | using System;
using System.Runtime.InteropServices;
using System.Resources;
using System.IO;
namespace Win32
{
public static class Winmm
{
public static void PlayMessageNotify()
{
if (_soundData == null)
{
using (UnmanagedMemoryStream sound ... | mit | C# |
927c89c3f03777047d1b5e2621c24b15321405bb | Fix formatting of FunctionWrapper.Windows.cs. | seanshpark/corefx,Ermiar/corefx,Jiayili1/corefx,twsouthwick/corefx,seanshpark/corefx,fgreinacher/corefx,tijoytom/corefx,zhenlan/corefx,twsouthwick/corefx,ptoonen/corefx,Ermiar/corefx,mmitche/corefx,Ermiar/corefx,twsouthwick/corefx,axelheer/corefx,BrennanConroy/corefx,tijoytom/corefx,Ermiar/corefx,Jiayili1/corefx,wtgodb... | src/Common/src/System/Runtime/InteropServices/FunctionWrapper.Windows.cs | src/Common/src/System/Runtime/InteropServices/FunctionWrapper.Windows.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.
namespace System.Runtime.InteropServices
{
internal static partial class FunctionWrapper
{
private ... | namespace System.Runtime.InteropServices
{
internal static partial class FunctionWrapper
{
private static IntPtr LoadFunctionPointer(IntPtr nativeLibraryHandle, string functionName) => Interop.Kernel32.GetProcAddress(nativeLibraryHandle, functionName);
}
}
| mit | C# |
c52cd9b9078a090fcfccd65693b3bf323f75e9c8 | Implement land value calculation on growth zones only. | Miragecoder/Urbanization,Miragecoder/Urbanization,Miragecoder/Urbanization | src/Mirage.Urbanization.Simulation/Datameters/LandValueCalculator.cs | src/Mirage.Urbanization.Simulation/Datameters/LandValueCalculator.cs | using System;
using System.Linq;
using Mirage.Urbanization.ZoneConsumption;
using Mirage.Urbanization.ZoneConsumption.Base;
using Mirage.Urbanization.ZoneStatisticsQuerying;
namespace Mirage.Urbanization.Simulation.Datameters
{
public class LandValueCalculator : ILandValueCalculator
{
public static rea... | using System;
using System.Linq;
using Mirage.Urbanization.ZoneConsumption;
using Mirage.Urbanization.ZoneConsumption.Base;
using Mirage.Urbanization.ZoneStatisticsQuerying;
namespace Mirage.Urbanization.Simulation.Datameters
{
public class LandValueCalculator : ILandValueCalculator
{
public static rea... | mit | C# |
08a85b705ec6853ec5f6aa56993fb0ec150ff96b | Remove invalid test code | damiensawyer/cassette,andrewdavey/cassette,honestegg/cassette,andrewdavey/cassette,andrewdavey/cassette,honestegg/cassette,damiensawyer/cassette,honestegg/cassette,damiensawyer/cassette | src/Website/Views/Documentation/v2/BundlesHelper/InlineScript.cshtml | src/Website/Views/Documentation/v2/BundlesHelper/InlineScript.cshtml | @{
ViewBag.Title = "Inline scripts";
}
<h1>Inline Scripts</h1>
<p>Ad-hoc inline page scripts can be managed by using the <code>AddInlineScript</code> method.</p>
<pre><code>@@{
Bundles.AddInlineScript("alert('Hello');");
}</code></pre>
<p>When <code>@@Bundles.RenderScripts()</code> is called, the fol... | @{
ViewBag.Title = "Inline scripts";
Bundles.AddInlineScript(@<script>
function() {
}
</script>);
}
<h1>Inline Scripts</h1>
<p>Ad-hoc inline page scripts can be manage... | mit | C# |
c75de317684b9280ade3a62b2a6b616e7c338e75 | Bump version to 2.5.0 | TheOtherTimDuncan/TOTD | SharedAssemblyInfo.cs | SharedAssemblyInfo.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: AssemblyConfigura... | 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: AssemblyConfigura... | mit | C# |
18bd724495ff640150ee039427cbb7b9df944fc4 | Fix name. | ExRam/ExRam.Gremlinq | ExRam.Gremlinq.Providers.JanusGraph.AspNet/GremlinqSetupExtensions.cs | ExRam.Gremlinq.Providers.JanusGraph.AspNet/GremlinqSetupExtensions.cs | using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace ExRam.Gremlinq.Core.AspNet
{
public static class GremlinqSetupExtensions
{
private sealed class UseJanusGraphGremlinQueryEnvironmentTransformation : IGremlinQueryEnvironmentTransformation
{
... | using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace ExRam.Gremlinq.Core.AspNet
{
public static class GremlinqSetupExtensions
{
private sealed class UseGremlinServerGremlinQueryEnvironmentTransformation : IGremlinQueryEnvironmentTransformation
{
... | mit | C# |
feef16b09b409b9446dd1b3dadea206b246691b7 | Add potentially failing test case | peppy/osu,ppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu | osu.Game.Tests/Visual/Gameplay/TestSceneSpectatorHost.cs | osu.Game.Tests/Visual/Gameplay/TestSceneSpectatorHost.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.
#nullable disable
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Screens;
using osu.Game.Online.API;
using osu.Game.Online.API.Requests.Respo... | // 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.
#nullable disable
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Game.Online.API;
using osu.Game.Online.API.Requests.Responses;
using osu.Game.Online.S... | mit | C# |
3b9afd7ce4881f53dffcd4ad2b85b5f5061b9ee1 | Use local definition of ArchiveTypes to validate metadata systemtypes | arkivverket/arkade5,arkivverket/arkade5,arkivverket/arkade5 | src/Arkivverket.Arkade/Metadata/MetsTranslationHelper.cs | src/Arkivverket.Arkade/Metadata/MetsTranslationHelper.cs | using System;
using Arkivverket.Arkade.Core;
namespace Arkivverket.Arkade.Metadata
{
public static class MetsTranslationHelper
{
public static bool IsValidSystemType(string systemType)
{
return Enum.IsDefined(typeof(ArchiveType), systemType);
}
public static bool I... | using System;
namespace Arkivverket.Arkade.Metadata
{
public static class MetsTranslationHelper
{
public static bool IsValidSystemType(string systemType)
{
// TODO: Use Enum ExternalModels.Mets.type (not ExternalModels.Info.type) when/if supported in built in mets schema
... | agpl-3.0 | C# |
ecdd6e3a46750cca98b5160d369285219d0343a0 | Bump version for proper Nuget serving. | peterlanoie/aspnet-mvc-slack | src/Pelasoft.AspNet.Mvc.Slack/Properties/AssemblyInfo.cs | src/Pelasoft.AspNet.Mvc.Slack/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# |
5ed6179194cab0b88b608011f6b4d5477816e544 | Fix comment | Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script,fabiocav/azure-webjobs-sdk-script,Azure/azure-webjobs-sdk-script | src/WebJobs.Script/Extensions/INameResolverExtensions.cs | src/WebJobs.Script/Extensions/INameResolverExtensions.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Reflection;
using Microsoft.Azure.WebJobs.Host;
namespace Microsoft.Azure.WebJobs.Script
{
public static class INameResolverExtensions
... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Reflection;
using Microsoft.Azure.WebJobs.Host;
namespace Microsoft.Azure.WebJobs.Script
{
public static class INameResolverExtensions
... | mit | C# |
9c39f4ba4061fae4e061d35c6f701e663308de23 | Remove userGuid on ValidateUser method | Paymentsense/Dapper.SimpleSave | PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/IDiallerService.cs | PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/IDiallerService.cs | using System;
using System.Collections.Generic;
using System.ServiceModel;
using PS.Mothership.Core.Common.Dto;
namespace PS.Mothership.Core.Common.Contracts
{
[ServiceContract(Name = "DiallerService")]
public interface IDiallerService
{
[OperationContract]
ValidUserInfoDto Vali... | using System;
using System.Collections.Generic;
using System.ServiceModel;
using PS.Mothership.Core.Common.Dto;
namespace PS.Mothership.Core.Common.Contracts
{
[ServiceContract(Name = "DiallerService")]
public interface IDiallerService
{
[OperationContract]
ValidUserInfoDto Vali... | mit | C# |
42c5b22bdd8206d36d0117a338df4185bef5c16e | add TranslatedInstanceLogic | signumsoftware/framework,signumsoftware/framework | Signum.Upgrade/Upgrades/Upgrade_20210216_RegisterTranslatableRoutes.cs | Signum.Upgrade/Upgrades/Upgrade_20210216_RegisterTranslatableRoutes.cs | using Signum.Utilities;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
namespace Signum.Upgrade.Upgrades
{
class Upgrade_20210216_RegisterTranslatableRoutes : CodeUpgradeBase
... | using Signum.Utilities;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;
namespace Signum.Upgrade.Upgrades
{
class Upgrade_20210216_RegisterTranslatableRoutes : CodeUpgradeBase
... | mit | C# |
dbe195171d6758d139c7040a72374bbebaf2bbd3 | add TextArea attribute to HFTReadme | greggman/hft-unity3d,greggman/hft-unity3d,greggman/hft-unity3d,greggman/hft-unity3d | Assets/HappyFunTimes/Scripts/HFTReadme.cs | Assets/HappyFunTimes/Scripts/HFTReadme.cs | using UnityEngine;
using System;
using System.Collections;
namespace HappyFunTimes {
[ExecuteInEditMode]
public class HFTReadme : MonoBehaviour {
[TextArea(10, 30)]
public string message = "";
public bool richText = false;
#if UNITY_EDITOR
void Awake() {
... | using UnityEngine;
using System;
using System.Collections;
namespace HappyFunTimes {
[ExecuteInEditMode]
public class HFTReadme : MonoBehaviour {
[Multiline(20)]
public string message = "";
public bool richText = false;
#if UNITY_EDITOR
void Awake() {
Sho... | bsd-3-clause | C# |
575b3b8b8f58f5525968abd16ff407181c62ac27 | Revert "fix: Uses async to log an error message" | Elders/Cronus,Elders/Cronus | src/Elders.Cronus/MessageProcessing/DynamicMessageHandle.cs | src/Elders.Cronus/MessageProcessing/DynamicMessageHandle.cs | using Elders.Cronus.Workflow;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System.IO;
using System.Threading.Tasks;
namespace Elders.Cronus.MessageProcessing
{
/// <summary>
/// Work-flow which gets an object from the passed context and calls a method 'Handle' pass... | using Elders.Cronus.Workflow;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System.IO;
using System.Threading.Tasks;
namespace Elders.Cronus.MessageProcessing
{
/// <summary>
/// Work-flow which gets an object from the passed context and calls a method 'Handle' pass... | apache-2.0 | C# |
e9ecefb865e9faedf0caef604ecd32b2aebaeca3 | Bump version to 0.13.4 | quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/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# |
a7923afc36667fa92b62a4b5b1370d029e00f318 | Fix missing guid braces. | configit-open-source/csmerge | Cpc.CsMerge.Core/Core/ProjectReference.cs | Cpc.CsMerge.Core/Core/ProjectReference.cs | using System;
using System.Xml.Linq;
namespace Cpc.CsMerge.Core {
public class ProjectReference: Item {
public string CsProjPath { get; private set; }
public Guid ProjectId { get; private set; }
public string Name { get; private set; }
public override string Key {
get { return ProjectId.ToStri... | using System;
using System.Xml.Linq;
namespace Cpc.CsMerge.Core {
public class ProjectReference: Item {
public string CsProjPath { get; private set; }
public Guid ProjectId { get; private set; }
public string Name { get; private set; }
public override string Key {
get { return ProjectId.ToStri... | mit | C# |
a08539603a08c51aade9edacda6f8fc525faeb05 | Add comment for recipient | SendGridJP/sendgridjp-csharp-example | sendgridjp-csharp-example/SendGridCsharpExample.cs | sendgridjp-csharp-example/SendGridCsharpExample.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;
using System.Net.Mail;
using System.Net;
using SendGrid;
namespace sendgridjp_csharp_example
{
class SendGridCsharpExample
{
static void Main(string[] args)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Configuration;
using System.Net.Mail;
using System.Net;
using SendGrid;
namespace sendgridjp_csharp_example
{
class SendGridCsharpExample
{
static void Main(string[] args)
... | mit | C# |
aefd823edc6938a4640e39577af3ac43f6542932 | Refactor ScriptableObjectUtility class | bartlomiejwolk/AnimationPathAnimator | Include/Editor/ScriptableObjectUtility.cs | Include/Editor/ScriptableObjectUtility.cs | using System.IO;
using UnityEditor;
using UnityEngine;
public static class ScriptableObjectUtility {
public static void CreateAsset<T>() where T : ScriptableObject {
var asset = ScriptableObject.CreateInstance<T>();
var path = AssetDatabase.GetAssetPath(Selection.activeObject);
if (path ... | using System;
using System.CodeDom;
using System.IO;
using UnityEditor;
using UnityEngine;
namespace ATP.SimplePathAnimator.Animator {
public static class ScriptableObjectUtility
{
/// <summary>
// This makes it easy to create, name and place unique new ScriptableObject asset files.
/// </summary>
public s... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.