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 |
|---|---|---|---|---|---|---|---|---|
92a9e7895e4b3554e391c5e6ba59bcebc92ea592 | add getDayHourMinFractionOfWeek() | yasokada/unity-150912-weeklyGraph | Assets/MyScript.cs | Assets/MyScript.cs | using UnityEngine;
using System.Collections;
using System; // for TimeSpan
/*
* v0.2 2015/09/12
* - add getDayHourMinFractionOfWeek()
* v0.1 2015/09/12
* - get days from sunday
*/
public class MyScript : MonoBehaviour {
System.DateTime getSundayH00M00S00(System.DateTime dt) {
System.DateTime res = dt;
... | using UnityEngine;
using System.Collections;
using System; // for TimeSpan
/*
* v0.1 2015/09/12
* - get days from sunday
*/
public class MyScript : MonoBehaviour {
System.DateTime getSundayH00M00S00(System.DateTime dt) {
System.DateTime res = dt;
dt -= new TimeSpan ((int)dt.DayOfWeek, dt.Hour, dt.Minute, ... | mit | C# |
dcf1a42a7db9e017afc87467c40434dd0c0a7678 | Create a ProxyModulePath from a list of path segments | markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation,markfinal/BuildAMation | Opus.Core/ProxyModulePath.cs | Opus.Core/ProxyModulePath.cs | // <copyright file="ProxyModulePath.cs" company="Mark Final">
// Opus
// </copyright>
// <summary>Opus Core</summary>
// <author>Mark Final</author>
namespace Opus.Core
{
public class ProxyModulePath
{
private string[] pathSegments;
public ProxyModulePath()
{
t... | // <copyright file="ProxyModulePath.cs" company="Mark Final">
// Opus
// </copyright>
// <summary>Opus Core</summary>
// <author>Mark Final</author>
namespace Opus.Core
{
public class ProxyModulePath
{
private string[] pathSegments;
public ProxyModulePath()
{
t... | bsd-3-clause | C# |
d45b438bb0ceb8e20d8bf5d2f8d505e37f70f6fd | Include version to get e.g ReSharper happy. | danielwertheim/Ensure.That,danielwertheim/Ensure.That | Source/SharedAssemblyInfo.cs | Source/SharedAssemblyInfo.cs | using System.Reflection;
#if DEBUG
[assembly: AssemblyProduct("Ensure.That (Debug)")]
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyProduct("Ensure.That (Release)")]
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyDescription("Yet another guard clause project.")... | using System.Reflection;
#if DEBUG
[assembly: AssemblyProduct("Ensure.That (Debug)")]
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyProduct("Ensure.That (Release)")]
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyDescription("Yet another guard clause project.")... | mit | C# |
a4cda1df9cd8abba693559f239f875b5227b44d1 | Make the speed test main program call the first runner | kf6kjg/WHIP-LRU | Source/SpeedTests/Program.cs | Source/SpeedTests/Program.cs | // Program.cs
//
// Author:
// Ricky Curtice <ricky@rwcproductions.com>
//
// Copyright (c) 2017 Richard Curtice
//
// 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 restricti... | // Program.cs
//
// Author:
// Ricky Curtice <ricky@rwcproductions.com>
//
// Copyright (c) 2017 Richard Curtice
//
// 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 restricti... | mit | C# |
fae782a6668a908d08cf0a4b0f0ff973aeef42e3 | update obselete unity editor code | mage/mage-sdk-unity,AlmirKadric/mage-sdk-unity | Unity/UnityEditorPlayMode.cs | Unity/UnityEditorPlayMode.cs | #if UNITY_EDITOR
using UnityEditor;
namespace Wizcorp.MageSDK.Unity
{
[InitializeOnLoad]
public static class UnityEditorPlayMode
{
private static EditorPlayModeState currentState = EditorPlayModeState.Stopped;
public delegate void EditorModeChanged(EditorPlayModeState newState);
public static EditorModeChang... | #if UNITY_EDITOR
using UnityEditor;
namespace Wizcorp.MageSDK.Unity
{
[InitializeOnLoad]
public static class UnityEditorPlayMode
{
private static EditorPlayModeState currentState = EditorPlayModeState.Stopped;
public delegate void EditorModeChanged(EditorPlayModeState newState);
public static EditorModeChang... | mit | C# |
29d0d72b39456286f9fedde10759ba5cd21cdd3d | Fix code documentation of ScriptRegionRequest | PowerShell/PowerShellEditorServices | src/PowerShellEditorServices.Protocol/LanguageServer/ScriptRegionRequest.cs | src/PowerShellEditorServices.Protocol/LanguageServer/ScriptRegionRequest.cs | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
/// <summary>
... | //
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
{
/// <summary>
... | mit | C# |
fc30848187faec02fb8c3a0e952d25fbca08768e | Clean up code in SmsRequestControlelr to ready it to be worked on via Issue #1405 | bcbeatty/allReady,HTBox/allReady,pranap/allReady,anobleperson/allReady,colhountech/allReady,forestcheng/allReady,mipre100/allReady,bcbeatty/allReady,arst/allReady,shanecharles/allReady,enderdickerson/allReady,shanecharles/allReady,dpaquette/allReady,MisterJames/allReady,chinwobble/allReady,mgmccarthy/allReady,VishalMad... | AllReadyApp/Web-App/AllReady/Areas/Admin/Controllers/SmsRequestController.cs | AllReadyApp/Web-App/AllReady/Areas/Admin/Controllers/SmsRequestController.cs | using System;
using System.Diagnostics;
using AllReady.Hangfire.Jobs;
using Hangfire;
using Microsoft.AspNetCore.Mvc;
namespace AllReady.Areas.Admin.Controllers
{
public class SmsRequestController : Controller
{
private readonly IBackgroundJobClient jobClient;
private readonly IChan... | using System;
using System.Diagnostics;
using AllReady.Hangfire.Jobs;
using Hangfire;
using Microsoft.AspNetCore.Mvc;
namespace AllReady.Areas.Admin.Controllers
{
public class SmsRequestController : Controller
{
private readonly IBackgroundJobClient jobClient;
private readonly IChan... | mit | C# |
3a01260d87c738361f1b72673f73135b4d7545e7 | Fix native GLib warnings when disposing SourceProxy objects | sillsdev/gtk-sharp,sillsdev/gtk-sharp,sillsdev/gtk-sharp,sillsdev/gtk-sharp,sillsdev/gtk-sharp | glib/Source.cs | glib/Source.cs | // GLib.Source.cs - Source class implementation
//
// Author: Duncan Mak <duncan@ximian.com>
//
// Copyright (c) 2002 Mike Kestner
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of version 2 of the Lesser GNU General
// Public License as published by the Free Software... | // GLib.Source.cs - Source class implementation
//
// Author: Duncan Mak <duncan@ximian.com>
//
// Copyright (c) 2002 Mike Kestner
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of version 2 of the Lesser GNU General
// Public License as published by the Free Software... | lgpl-2.1 | C# |
9c3543e6e0fcc89c3f01c1de184615e8934901fe | add a return type | mschray/CalendarHelper | shared/LogHelper.csx | shared/LogHelper.csx | public static class LogHelper
{
private static TraceWriter logger;
public static void InitializeLogger(TraceWriter log)
{
if (!logger) logger = log;
}
public static void Info(TraceWriter log, string logtext)
{
logger.Info(logtext);
}
public static void Error(TraceWri... | public static class LogHelper
{
private static TraceWriter logger;
public static InitializeLogger(TraceWriter log)
{
if (!logger) logger = log;
}
public static void Info(TraceWriter log, string logtext)
{
logger.Info(logtext);
}
public static void Error(TraceWriter l... | mit | C# |
0b9a9a5101d6c25abdce11b41bf3143a3928afda | Fix poorly written test (sorry). | RobSiklos/moq4,kulkarnisachin07/moq4,LeonidLevin/moq4,iskiselev/moq4,AhmedAssaf/moq4,HelloKitty/moq4,Moq/moq4,ocoanet/moq4,chkpnt/moq4,jeremymeng/moq4,JohanLarsson/moq4,AhmedAssaf/moq4,ramanraghur/moq4,kolomanschaft/moq4,breyed/moq4,madcapsoftware/moq4,cgourlay/moq4 | UnitTests/ExtensionsFixture.cs | UnitTests/ExtensionsFixture.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace Moq.Tests
{
public class ExtensionsFixture
{
#region Public Methods
[Fact]
public void IsMockeableReturnsFalseForValueType()
{
Assert.False(t... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace Moq.Tests
{
public class ExtensionsFixture
{
[Fact]
public void IsMockeableReturnsFalseForValueType()
{
Assert.False(typeof(int).IsMockeable());
}
// [Fact]
// pu... | bsd-3-clause | C# |
4a87fa92475a11358d9a847ec5c8be7f9955bf40 | Update Application.cs | stephanstapel/ZUGFeRD-csharp,stephanstapel/ZUGFeRD-csharp | ZUGFeRDToExcelTest/Application.cs | ZUGFeRDToExcelTest/Application.cs | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... | using s2industries.ZUGFeRD;
using System;
using System.IO;
namespace ZUGFeRDToExcel
{
internal class Application
{
internal void Run(Options options)
{
if (options.InputFile.Contains("*"))
{
string baseDirectory = System.IO.Path.GetDirectoryN... | apache-2.0 | C# |
de3fdbeaf151deb6473aac9e5f3d2aa268e36925 | Add ClipGeometry and OpacityMask properties to DrawingGroup | wieslawsoltes/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,grokys/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Perspex,grokys/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,SuperJMN/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,AvaloniaUI/Avalonia,Perspex/Perspex,Avalon... | src/Avalonia.Visuals/Media/DrawingGroup.cs | src/Avalonia.Visuals/Media/DrawingGroup.cs | using Avalonia.Collections;
using Avalonia.Metadata;
using Avalonia.Platform;
namespace Avalonia.Media
{
public class DrawingGroup : Drawing
{
public static readonly StyledProperty<double> OpacityProperty =
AvaloniaProperty.Register<DrawingGroup, double>(nameof(Opacity), 1);
publi... | using Avalonia.Collections;
using Avalonia.Metadata;
using Avalonia.Platform;
namespace Avalonia.Media
{
public class DrawingGroup : Drawing
{
public static readonly StyledProperty<double> OpacityProperty =
AvaloniaProperty.Register<DrawingGroup, double>(nameof(Opacity), 1);
publi... | mit | C# |
0899829e0d433cc71dc4c34e2c977ca361c27b02 | Support remote scripts with empty/null Content Type | filipw/dotnet-script,filipw/dotnet-script | src/Dotnet.Script.Core/ScriptDownloader.cs | src/Dotnet.Script.Core/ScriptDownloader.cs | using System;
using System.IO;
using System.IO.Compression;
using System.Net.Http;
using System.Threading.Tasks;
namespace Dotnet.Script.Core
{
public class ScriptDownloader
{
public async Task<string> Download(string uri)
{
using (HttpClient client = new HttpClient())
... | using System;
using System.IO;
using System.IO.Compression;
using System.Net.Http;
using System.Threading.Tasks;
namespace Dotnet.Script.Core
{
public class ScriptDownloader
{
public async Task<string> Download(string uri)
{
using (HttpClient client = new HttpClient())
... | mit | C# |
3e25262ed4331d0433883734bab60288802fb7b4 | Remove Xamarin for PowerShell | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/KieranJacobsen.cs | src/Firehose.Web/Authors/KieranJacobsen.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 KieranJacobsen : IAmAMicrosoftMVP, IFilterMyBlogPosts
{
public string FirstName => "Kieran";
... | 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 KieranJacobsen : IAmAMicrosoftMVP, IFilterMyBlogPosts
{
public string FirstName => "Kieran";
... | mit | C# |
4dd90d1584a1b82fbecd6a7c0e4afbbca06a4e7c | Add bio and Github profile | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin | src/Firehose.Web/Authors/MartijnVanDijk.cs | src/Firehose.Web/Authors/MartijnVanDijk.cs | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class MartijnVanDijk : IAmAMicrosoftMVP, IAmAXamarinMVP
{
public IEnumerable<Uri> FeedUris
{
get { yield return new Uri("https://medium.com/feed/@martijn00"); ... | using System;
using System.Collections.Generic;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class MartijnVanDijk : IAmAMicrosoftMVP, IAmAXamarinMVP
{
public IEnumerable<Uri> FeedUris
{
get { yield return new Uri("https://medium.com/feed/@martijn00"); ... | mit | C# |
00d86f53f245c54d190ca0821b12c420d8c33383 | Remove reflection namespace | SixLabors/Fonts | src/SixLabors.Fonts/Unicode/UnicodeData.cs | src/SixLabors.Fonts/Unicode/UnicodeData.cs | // Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Globalization;
using System.IO;
using System.Runtime.CompilerServices;
namespace SixLabors.Fonts.Unicode
{
internal static class UnicodeData
{
private static readonly Lazy<UnicodeTrie> LazyBidiTr... | // Copyright (c) Six Labors.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Globalization;
using System.IO;
using System.Reflection;
using System.Runtime.CompilerServices;
namespace SixLabors.Fonts.Unicode
{
internal static class UnicodeData
{
private static readonly Laz... | apache-2.0 | C# |
8d0178b73a225533b786e3c0a3e48681bade8929 | increment patch version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
18cb603c5f9a72f9e2777be5fac583df1ba9c2bc | Fix user cache variation (#657) | xkproject/Orchard2,OrchardCMS/Brochard,stevetayloruk/Orchard2,petedavis/Orchard2,lukaskabrt/Orchard2,lukaskabrt/Orchard2,stevetayloruk/Orchard2,yiji/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,yiji/Orchard2,yiji/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,petedavis/Orchard2,OrchardCMS/B... | src/OrchardCore/Orchard.Environment.Cache/CacheContextProviders/UserCacheContextProvider.cs | src/OrchardCore/Orchard.Environment.Cache/CacheContextProviders/UserCacheContextProvider.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
namespace Orchard.Environment.Cache.CacheContextProviders
{
public class UserCacheContextProvider : ICacheContextProvider
{
private readonly IHttpContextAccessor _httpConte... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Http;
namespace Orchard.Environment.Cache.CacheContextProviders
{
public class UserCacheContextProvider : ICacheContextProvider
{
private readonly IHttpContextAccessor _httpConte... | bsd-3-clause | C# |
9abec8ae101be7d50e3c33ca999a128a7d4cad98 | Use a type converter to try and convert values | jsmale/MassTransit | src/MassTransit/Internals/Mapping/NullableValueObjectMapper.cs | src/MassTransit/Internals/Mapping/NullableValueObjectMapper.cs | // Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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... | // Copyright 2007-2015 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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... | apache-2.0 | C# |
9661becf046daf1756f20f4e3d51dd82cdb16617 | Fix typo | mlorbetske/templating,seancpeters/templating,seancpeters/templating,mlorbetske/templating,seancpeters/templating,seancpeters/templating | template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/RazorPagesWeb-CSharp/Pages/Account/Manage/ResetAuthenticator.cshtml | template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/RazorPagesWeb-CSharp/Pages/Account/Manage/ResetAuthenticator.cshtml | @page
@model ResetAuthenticatorModel
@{
ViewData["Title"] = "Reset authenticator key";
ViewData["ActivePage"] = "TwoFactorAuthentication";
}
<h2>@ViewData["Title"]</h2>
<div class="alert alert-warning" role="alert">
<p>
<span class="glyphicon glyphicon-warning-sign"></span>
<strong... | @page
@model ResetAuthenticatorModel
@{
ViewData["Title"] = "Reset authenticator key";
ViewData["ActivePage"] = "TwoFactorAuthentication";
}
<h2>@ViewData["Title"]</h2>
<div class="alert alert-warning" role="alert">
<p>
<span class="glyphicon glyphicon-warning-sign"></span>
<strong... | mit | C# |
b9d975dc37991092acee28839534b523b0949dbb | Use settings | sakapon/Tools-2016 | FileSplitter/FileSplitter/Program.cs | FileSplitter/FileSplitter/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace FileSplitter
{
class Program
{
static void Main(string[] args)
{
if (args.Length < 1) return;
Split(args[0], Properties.Settings.Default.MaxSizeInMegabyte);
... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace FileSplitter
{
class Program
{
static void Main(string[] args)
{
if (args.Length < 1) return;
if (args.Length == 1)
Split(args[0]);
... | mit | C# |
35eada447c8f60c0bbe0302991d3685f7784c979 | Add Part_type property | jnwatts/cs320_project2_group11,jnwatts/cs320_project2_group11 | Model/partentry.cs | Model/partentry.cs | using System;
using System.Data;
using System.Collections.Generic;
public class PartEntry
{
public string Part_num { get; set; }
public int Part_type_id { get; set; }
public string Part_type { get; set; }
public Dictionary<string, string> Attributes;
public Dictionary<string, string> ExtendedAttrib... | using System;
using System.Data;
using System.Collections.Generic;
public class PartEntry
{
public string Part_num { get; set; }
public int Part_type_id { get; set; }
public Dictionary<string, string> Attributes;
public Dictionary<string, string> ExtendedAttributes;
public PartEntry(string Part_nu... | apache-2.0 | C# |
469f70758af0e748bb3b7bcaae320c88f7b17fba | remove and sort usings | gothandy/Augustus,gothandy/Augustus | Augustus.Web.Portal/Startup.cs | Augustus.Web.Portal/Startup.cs | using Owin;
namespace Augustus.Web.Portal
{
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
AuthenticationConfig.ConfigureAuth(app);
}
}
}
| using System;
using System.Threading.Tasks;
using Microsoft.Owin;
using Owin;
namespace Augustus.Web.Portal
{
public partial class Startup
{
public void Configuration(IAppBuilder app)
{
AuthenticationConfig.ConfigureAuth(app);
}
}
}
| mit | C# |
25305d4300b9f2bab4ec00706a00ec489abf40ec | Update map path | Misphix/CarDirve | CarDrive/Ui/ControlBar.xaml.cs | CarDrive/Ui/ControlBar.xaml.cs | using System.Collections.ObjectModel;
using System.Diagnostics;
using System.IO;
namespace CarDrive.Ui
{
/// <summary>
/// ControlBar.xaml 的互動邏輯
/// </summary>
public partial class ControlBar
{
private const string MapDirectory = "Maps";
private Map _selectedMap;
public del... | using System.Collections.ObjectModel;
using System.Diagnostics;
using System.IO;
namespace CarDrive.Ui
{
/// <summary>
/// ControlBar.xaml 的互動邏輯
/// </summary>
public partial class ControlBar
{
private const string MapDirectory = "../../Maps";
private Map _selectedMap;
publ... | mit | C# |
3eb41ad5bd12577091dd5b3bbdcbb1f05741196f | Make TaskNote.Text concrete | mono-soc-2012/Tasque,mono-soc-2012/Tasque,mono-soc-2012/Tasque | src/libtasque/TaskNote.cs | src/libtasque/TaskNote.cs | // ICategory.cs created with MonoDevelop
// User: boyd at 9:04 AM 2/11/2008
//
// To change standard headers go to Edit->Preferences->Coding->Standard Headers
//
//
// TaskNote.cs
//
// Author:
// Antonius Riha <antoniusriha@gmail.com>
//
// Copyright (c) 2012 Antonius Riha
//
// Permission is hereby granted... | // ICategory.cs created with MonoDevelop
// User: boyd at 9:04 AM 2/11/2008
//
// To change standard headers go to Edit->Preferences->Coding->Standard Headers
//
//
// TaskNote.cs
//
// Author:
// Antonius Riha <antoniusriha@gmail.com>
//
// Copyright (c) 2012 Antonius Riha
//
// Permission is hereby granted... | mit | C# |
475f7e6c3b8a71234151db2265a53885b710f616 | Bump version to 8.12.0 | dawoe/Umbraco-CMS,marcemarc/Umbraco-CMS,abryukhov/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,mattbrailsford/Umbraco-CMS,marcemarc/Umbraco-CMS,bjarnef/Umbraco-CMS,mattbrailsford/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,marcemarc/Umbraco-CMS,arknu/Umbraco-CMS,abryukhov/Umbraco-CMS,robertjf/Umbraco-CMS,arknu/Umbraco-CMS,b... | src/SolutionInfo.cs | src/SolutionInfo.cs | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("Umbraco")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en-US")]
// versions
// read https://stackoverflow.com/questions/64... | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("Umbraco")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en-US")]
// versions
// read https://stackoverflow.com/questions/64... | mit | C# |
6d9080ea615774abdbd856632c41816238ea068d | add Emscripten target instaling | lriki/Lumino,lriki/Lumino,lriki/Lumino,lriki/Lumino,lriki/Lumino,lriki/Lumino,lriki/Lumino | tools/LuminoBuild/Tasks/BuildEmscripten.cs | tools/LuminoBuild/Tasks/BuildEmscripten.cs | using System;
using System.Collections.Generic;
using System.IO;
namespace LuminoBuild.Tasks
{
class BuildEmscripten : BuildTask
{
public override string CommandName { get { return "BuildEmscripten"; } }
public override string Description { get { return "Build Emscripten"; } }
... | using System;
using System.Collections.Generic;
using System.IO;
namespace LuminoBuild.Tasks
{
class BuildEmscripten : BuildTask
{
public override string CommandName { get { return "BuildEmscripten"; } }
public override string Description { get { return "Build Emscripten"; } }
... | mit | C# |
947eb2ef0300c546a08b033a8c1c4f69d1992f82 | change id | Trojaner25/Rocket-Regions,Trojaner25/Rocket-Safezone | Util/PlayerUtil.cs | Util/PlayerUtil.cs | using System;
using System.Linq;
using Rocket.API;
using Rocket.Unturned.Player;
using SDG.Unturned;
using Steamworks;
namespace RocketRegions.Util
{
public static class PlayerUtil
{
public static UnturnedPlayer GetUnturnedPlayer(IRocketPlayer player)
{
if (player == null) return n... | using System;
using System.Linq;
using Rocket.API;
using Rocket.Unturned.Player;
using SDG.Unturned;
using Steamworks;
namespace RocketRegions.Util
{
public static class PlayerUtil
{
public static UnturnedPlayer GetUnturnedPlayer(IRocketPlayer player)
{
if (player == null) return n... | agpl-3.0 | C# |
40feeac06b804af4571404cb4696333906abb568 | Remove no longer required SDL2 P/Invokes in Linux clipboard | ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,peppy/osu-framework | osu.Framework/Platform/Linux/SDL2/SDL2Clipboard.cs | osu.Framework/Platform/Linux/SDL2/SDL2Clipboard.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 SDL2;
namespace osu.Framework.Platform.Linux.SDL2
{
public class SDL2Clipboard : Clipboard
{
public override string GetText() => SDL.SDL_GetClipboa... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Runtime.InteropServices;
namespace osu.Framework.Platform.Linux.SDL2
{
public class SDL2Clipboard : Clipboard
{
private const ... | mit | C# |
cdfbe96e9bdceecc7f04ff2262e23b4e207720e7 | Make AccentColour of StageHint virtual | 2yangk23/osu,NeoAdonis/osu,peppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,UselessToucan/osu,johnneijzen/osu,ppy/osu,smoogipoo/osu,johnneijzen/osu,smoogipoo/osu,peppy/osu,ppy/osu,peppy/osu-new,UselessToucan/osu,EVAST9919/osu,smoogipoo/osu,EVAST9919/osu,2yangk23/osu,NeoAdonis/osu,smoogipooo/osu | osu.Game.Rulesets.Mania/UI/Components/StageHint.cs | osu.Game.Rulesets.Mania/UI/Components/StageHint.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics;
using osuTK.Graphics;
namespace osu.Game.Rulesets.Mania.UI.Components
{
public abstract class Stage... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Graphics.Containers;
using osu.Game.Graphics;
using osuTK.Graphics;
namespace osu.Game.Rulesets.Mania.UI.Components
{
public abstract class Stage... | mit | C# |
c004dff82def0f92ca837b81fd93445ae767fd62 | Add Type Forward (#23036) | wtgodbe/coreclr,krk/coreclr,poizan42/coreclr,wtgodbe/coreclr,cshung/coreclr,cshung/coreclr,mmitche/coreclr,mmitche/coreclr,poizan42/coreclr,krk/coreclr,cshung/coreclr,mmitche/coreclr,wtgodbe/coreclr,mmitche/coreclr,mmitche/coreclr,wtgodbe/coreclr,cshung/coreclr,poizan42/coreclr,poizan42/coreclr,krk/coreclr,cshung/corec... | src/System.Private.CoreLib/shared/System/Runtime/AmbiguousImplementationException.cs | src/System.Private.CoreLib/shared/System/Runtime/AmbiguousImplementationException.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.Globalization;
using System.Runtime.Serialization;
namespace System.Runtime
{
[Serializable]
[... | // 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.Globalization;
using System.Runtime.Serialization;
namespace System.Runtime
{
[Serializable]
p... | mit | C# |
ab2ee0cb9b744ba831d342c34677f8e647a2003f | Return a more specific DesktopGameHost. | Nabile-Rahmani/osu-framework,EVAST9919/osu-framework,Nabile-Rahmani/osu-framework,DrabWeb/osu-framework,smoogipooo/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,RedNesto/osu-framework,naoey/osu-framework,default0/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,naoey/osu-frame... | osu.Framework.Desktop/Host.cs | osu.Framework.Desktop/Host.cs | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Desktop.Platform;
using osu.Framework.Desktop.Platform.Linux;
using osu.Framework.Desktop.Platform.Windows;
using OpenTK.Graphics;
... | // Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using osu.Framework.Desktop.Platform.Linux;
using osu.Framework.Desktop.Platform.Windows;
using osu.Framework.Platform;
using OpenTK.Graphics;
namesp... | mit | C# |
73ec830b355e352f10ff398a9f7bbcd84fe31ec7 | Add must_exist to alias remove (#4914) | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Nest/Indices/AliasManagement/Alias/Actions/AliasRemoveOperation.cs | src/Nest/Indices/AliasManagement/Alias/Actions/AliasRemoveOperation.cs | // Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System.Collections.Generic;
using System.Runtime.Serialization;
using Elasticsearch.Net.Utf8Json;
namespace... | // Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System.Collections.Generic;
using System.Runtime.Serialization;
using Elasticsearch.Net.Utf8Json;
namespace... | apache-2.0 | C# |
64e3a32a8d41c4e2c82ab06b016c71e35f481689 | write flags to flags.md | edyoung/prequel | GenerateDocs/Program.cs | GenerateDocs/Program.cs | using Prequel;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GenerateDocs
{
/// <summary>
/// Output markdown text for info about the program's options, to keep docs in sync with code
/// </summary>
class ... | using Prequel;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GenerateDocs
{
/// <summary>
/// Output markdown text for info about the program's options, to keep docs in sync with code
/// </summary>
class ... | mit | C# |
c64df62bf6596de090a910d525d4b944c70a89b2 | Refactor Scheduler Management Service contracts | Paymentsense/Dapper.SimpleSave | PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/ISchedulerManagementService.cs | PS.Mothership.Core/PS.Mothership.Core.Common/Contracts/ISchedulerManagementService.cs | using PS.Mothership.Core.Common.Constructs;
using PS.Mothership.Core.Common.Dto.DynamicRequest;
using PS.Mothership.Core.Common.Dto.SchedulerManagement;
using PS.Mothership.Core.Common.Template.Gen;
using System.ServiceModel;
namespace PS.Mothership.Core.Common.Contracts
{
[ServiceContract(Name = "SchedulerManage... | using PS.Mothership.Core.Common.Constructs;
using PS.Mothership.Core.Common.Dto.DynamicRequest;
using PS.Mothership.Core.Common.Dto.SchedulerManagement;
using PS.Mothership.Core.Common.Template.Gen;
using Quartz;
using System;
using System.Collections.Generic;
using System.ServiceModel;
namespace PS.Mothership.Core.C... | mit | C# |
b3346ed105b8cf7bdfabd33631ee0732626670de | Change trait finding to use LoadAssetAtPath | NitorInc/NitoriWare,Barleytree/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare | Assets/Scripts/Microgame/MicrogameTraits.cs | Assets/Scripts/Microgame/MicrogameTraits.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using UnityEngine.Events;
public class MicrogameTraits : MonoBehaviour
{
#pragma warning disable 0649
[SerializeField]
private ControlScheme _controlScheme;
public virtual ControlScheme controlScheme { get { return... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class MicrogameTraits : MonoBehaviour
{
#pragma warning disable 0649
[SerializeField]
private ControlScheme _controlScheme;
public virtual ControlScheme controlScheme { get { return _controlScheme; } ... | mit | C# |
2b56f9208c0f60bede076bb2a7c11dc0c8c18441 | 修改IMessageHandlerDocument注释,感谢@vabc3 | JeffreySu/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,mc7246/WeiXinMPSDK,lishewen/WeiXinMPSDK,JeffreySu/WxOpen,lishewen/WeiXinMPSDK,down4u/WeiXinMPSDK,mc7246/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,down4u/WeiXinMPSDK,wanddy/WeiXin... | Senparc.Weixin/Senparc.Weixin/MessageHandlers/IMessageHandlerDocument.cs | Senparc.Weixin/Senparc.Weixin/MessageHandlers/IMessageHandlerDocument.cs | /*----------------------------------------------------------------
Copyright (C) 2015 Senparc
文件名:IMessageHandlerDocument.cs
文件功能描述:为IMessageHandler单独提供XDocument类型的属性接口(主要是ResponseDocument)。
创建标识:Senparc - 20150211
修改标识:Senparc - 20150303
修改描述:整理接口
--------------------------... | /*----------------------------------------------------------------
Copyright (C) 2015 Senparc
文件名:IMessageHandlerDocument.cs
文件功能描述:为IMessageHandler单独提供XDocument类型的属性接口(主要是ResponseDocument)。
创建标识:Senparc - 20150211
修改标识:Senparc - 20150303
修改描述:整理接口
--------------------------... | apache-2.0 | C# |
c3c80ee9cbdbbcabc22c1d64ea5c34e54f82d161 | add ContextFreeTask.Run overloads for accepting CancellationToken | ufcpp/ContextFreeTask | src/ContextFreeTasks.Shared/ContextFreeTask.cs | src/ContextFreeTasks.Shared/ContextFreeTask.cs | using System;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using ContextFreeTasks.Internal;
using static System.Threading.Tasks.Task;
namespace ContextFreeTasks
{
[AsyncMethodBuilder(typeof(AsyncContextFreeTaskMethodBuilder))]
public struct ContextFreeTask
{... | using System;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using ContextFreeTasks.Internal;
using static System.Threading.Tasks.Task;
namespace ContextFreeTasks
{
[AsyncMethodBuilder(typeof(AsyncContextFreeTaskMethodBuilder))]
public struct ContextFreeTask
{
private readonl... | mit | C# |
8357bd4085f355bc15b460f562a8113073e94f05 | trim registrations code | wikibus/Argolis | src/Lernaean.Hydra.Nancy/HydraRegistrations.cs | src/Lernaean.Hydra.Nancy/HydraRegistrations.cs | using Hydra.Discovery;
using Hydra.Discovery.SupportedClasses;
using Hydra.Discovery.SupportedOperations;
using Hydra.Discovery.SupportedProperties;
using JsonLD.Entities;
using Nancy.Bootstrapper;
namespace Hydra.Nancy
{
/// <summary>
/// Registrations of all necessary components
/// </summary>
publi... | using Hydra.Discovery;
using Hydra.Discovery.SupportedClasses;
using Hydra.Discovery.SupportedOperations;
using Hydra.Discovery.SupportedProperties;
using JsonLD.Entities;
using Nancy.Bootstrapper;
namespace Hydra.Nancy
{
/// <summary>
/// Registrations of all necessary components
/// </summary>
publi... | mit | C# |
328345a3267de870b8d9e8c7ee4a98870cac6a31 | add missing model: IndexingServer | lvermeulen/ProGet.Net | src/ProGet.Net/Native/Models/IndexingServer.cs | src/ProGet.Net/Native/Models/IndexingServer.cs | using System;
// ReSharper disable InconsistentNaming
namespace ProGet.Net.Native.Models
{
public class IndexingServer
{
public string Server_Name { get; set; }
public string IPAddress_Text { get; set; }
public DateTime LastUpdated_Date { get; set; }
public bool Primary_Indica... | namespace ProGet.Net.Native.Models
{
public class IndexingServer
{
}
}
| mit | C# |
fc0f01e957a169fd9b7b73c912cb73e3e0c74d13 | Tidy up some unused usings | MattCotterellNZ/IdentityServer3.Contrib.AzureKeyVaultTokenSigningService,MattCotterellNZ/IdentityServer.Contrib.AzureKeyVaultTokenSigningService | src/IdentityServer3.Contrib.AzureKeyVaultTokenSigningService/AzureKeyVaultPublicKeyProvider.cs | src/IdentityServer3.Contrib.AzureKeyVaultTokenSigningService/AzureKeyVaultPublicKeyProvider.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using IdentityServer.Contrib.JsonWebKeyAdapter;
using Microsoft.Azure.KeyVault;
using Microsoft.Extensions.OptionsModel;
using Microsoft.IdentityModel.Protocols;
namespace IdentityServer3.Contrib.AzureKeyVaultTokenSigningService
{
public class AzureK... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using IdentityServer.Contrib.JsonWebKeyAdapter;
using Microsoft.Azure.KeyVault;
using Microsoft.Extensions.OptionsModel;
using Microsoft.IdentityModel.Clients.ActiveDirectory;
using Microsoft.IdentityModel.Protocols;
namespace IdentityServe... | mit | C# |
2d75d7cfc8d3b69bb9dcb0c4296d855769b23430 | Fix wrong assembly naming. | undeadlabs/msgpack-cli,scopely/msgpack-cli,msgpack/msgpack-cli,undeadlabs/msgpack-cli,modulexcite/msgpack-cli,scopely/msgpack-cli,modulexcite/msgpack-cli,msgpack/msgpack-cli | src/MsgPack/Serialization/EmittingSerializers/AssemblyBuilderCodeGenerationContext.cs | src/MsgPack/Serialization/EmittingSerializers/AssemblyBuilderCodeGenerationContext.cs | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010-2013 FUJIWARA, Yusuke
//
// 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.apach... | #region -- License Terms --
//
// MessagePack for CLI
//
// Copyright (C) 2010-2013 FUJIWARA, Yusuke
//
// 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.apach... | apache-2.0 | C# |
9576fbff067ce44f650cfb574a93ee5f476d4dc8 | Fix menu backend | mminns/xwt,residuum/xwt,lytico/xwt,iainx/xwt,akrisiun/xwt,antmicro/xwt,cra0zy/xwt,directhex/xwt,TheBrainTech/xwt,mono/xwt,mminns/xwt,sevoku/xwt,hwthomas/xwt,hamekoz/xwt,steffenWi/xwt | Xwt.Mac/Xwt.Mac/MenuBackend.cs | Xwt.Mac/Xwt.Mac/MenuBackend.cs | //
// MenuBackend.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2011 Xamarin Inc
//
// 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 restricti... | //
// MenuBackend.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2011 Xamarin Inc
//
// 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 restricti... | mit | C# |
9ef8257aedc7ae3f60838ac542e2d4aed98a0cb4 | Add support for appending blacklists | abstractspoon/ToDoList_Plugins,abstractspoon/ToDoList_Plugins,abstractspoon/ToDoList_Plugins | UIExension/WordCloudUIExtension/CloudControl/TextAnalyses/Blacklist/CommonBlacklist.cs | UIExension/WordCloudUIExtension/CloudControl/TextAnalyses/Blacklist/CommonBlacklist.cs | using System;
using System.Collections.Generic;
using System.IO;
namespace Gma.CodeCloud.Controls.TextAnalyses.Blacklist
{
public class CommonBlacklist : IBlacklist
{
private readonly HashSet<string> m_ExcludedWordsHashSet;
public CommonBlacklist()
: this(new string[] { })
{
}
public CommonBlack... | using System;
using System.Collections.Generic;
using System.IO;
namespace Gma.CodeCloud.Controls.TextAnalyses.Blacklist
{
public class CommonBlacklist : IBlacklist
{
private readonly HashSet<string> m_ExcludedWordsHashSet;
public CommonBlacklist() : this(new string[] {})
{
}
... | epl-1.0 | C# |
76fc3f820189ce8fdddf48a4ed897025823c1438 | Fix for rooted UNC paths (#11982) | abjerner/Umbraco-CMS,robertjf/Umbraco-CMS,KevinJump/Umbraco-CMS,abjerner/Umbraco-CMS,dawoe/Umbraco-CMS,arknu/Umbraco-CMS,KevinJump/Umbraco-CMS,abryukhov/Umbraco-CMS,robertjf/Umbraco-CMS,dawoe/Umbraco-CMS,dawoe/Umbraco-CMS,marcemarc/Umbraco-CMS,abryukhov/Umbraco-CMS,robertjf/Umbraco-CMS,marcemarc/Umbraco-CMS,abryukhov/U... | src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.FileSystems.cs | src/Umbraco.Infrastructure/DependencyInjection/UmbracoBuilder.FileSystems.cs | using System.IO;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Umbraco.Cms.Core.Configuration.Models;
using Umbraco.Cms.Core.DependencyInjection;
using Umbraco.Cms.Core.Hosting;
using Umbraco.Cms.Core.IO;
using Umbraco.Cms.Core.IO.MediaPath... | using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Umbraco.Cms.Core.Configuration.Models;
using Umbraco.Cms.Core.DependencyInjection;
using Umbraco.Cms.Core.Hosting;
using Umbraco.Cms.Core.IO;
using Umbraco.Cms.Core.IO.MediaPathSchemes;
using Um... | mit | C# |
e38e06c3d9ae7c0b0cd03c34f92997dade01c5ff | Store OOP server persistence database in a different file. | brettfo/roslyn,Giftednewt/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,a-ctor/roslyn,jasonmalinowski/roslyn,AnthonyDGreen/roslyn,mattscheffer/roslyn,tmeschter/roslyn,mmitche/roslyn,amcasey/roslyn,xoofx/roslyn,a-ctor/roslyn,CaptainHayashi/roslyn,tannergooding/roslyn,AnthonyDGreen/roslyn,agocke/roslyn,AnthonyDGreen/rosl... | src/Workspaces/Remote/Core/Storage/RemotePersistentStorageLocationService.cs | src/Workspaces/Remote/Core/Storage/RemotePersistentStorageLocationService.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.Generic;
using System.Composition;
using System.IO;
using Microsoft.CodeAnalysis.Host;
using Microsoft.CodeAnalysis.Host.Mef;
names... | // 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.Generic;
using System.Composition;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.CodeAnalysis.Host;
namespace Microsoft.Co... | mit | C# |
37ad543b929696450fb09898d3b66d742b9250e4 | Fix Thrall of Vengeance. | gothos-folly/TeraDamageMeter | Tera.Core/Game/UserEntity.cs | Tera.Core/Game/UserEntity.cs | // Copyright (c) Gothos
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Tera.Game.Messages;
namespace Tera.Game
{
// A player character, including your own
public class UserEntity : Entity
{
public string Name { get; set; }
... | // Copyright (c) Gothos
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Tera.Game.Messages;
namespace Tera.Game
{
// A player character, including your own
public class UserEntity : Entity
{
public string Name { get; set; }
... | mit | C# |
464c2aec38f1ff833a94e507df09c26ebf815a9b | Update IUnitOfWork.cs | tiksn/TIKSN-Framework | TIKSN.Core/Data/IUnitOfWork.cs | TIKSN.Core/Data/IUnitOfWork.cs | using System;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data
{
public interface IUnitOfWork : IDisposable, IAsyncDisposable
{
Task CompleteAsync(CancellationToken cancellationToken);
Task DiscardAsync(CancellationToken cancellationToken);
}
}
| using System;
using System.Threading;
using System.Threading.Tasks;
namespace TIKSN.Data
{
public interface IUnitOfWork : IDisposable, IAsyncDisposable
{
Task CompleteAsync(CancellationToken cancellationToken);
Task DiscardAsync(CancellationToken cancellationToken);
}
} | mit | C# |
036877ceba95d40a9cdfa6d892f2fcbc968f74a2 | remove from live db | dev-academy-phase4/cs-portfolio,dev-academy-phase4/cs-portfolio | Portfolio/Migrations/Configuration.cs | Portfolio/Migrations/Configuration.cs | using System.Linq;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Portfolio.Models;
namespace Portfolio.Migrations
{
using System.Data.Entity.Migrations;
internal sealed class Configuration : DbMigrationsConfiguration<Portfolio.Models.ApplicationDbContext>
{
... | using System.Linq;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.EntityFramework;
using Portfolio.Models;
namespace Portfolio.Migrations
{
using System.Data.Entity.Migrations;
internal sealed class Configuration : DbMigrationsConfiguration<Portfolio.Models.ApplicationDbContext>
{
... | isc | C# |
137ecaef3ade46ef7fba5df70691e2c3e7df4399 | Update Disqus partial to use node name for the page title configuration variable | stvnhrlnd/SH,stvnhrlnd/SH,stvnhrlnd/SH | SH.Site/Views/Partials/_Disqus.cshtml | SH.Site/Views/Partials/_Disqus.cshtml | @inherits UmbracoViewPage<IPublishedContent>
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
this.page.url = '@Umbraco.NiceUrlWithDomain(Model.Id)';
this.page.identifier = '@Model.Id';
this.page.title = '@Model.Name';
};
(function () {
var d = docu... | @inherits UmbracoViewPage<IMaster>
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
this.page.url = '@Umbraco.NiceUrlWithDomain(Model.Id)';
this.page.identifier = '@Model.Id';
this.page.title = '@Model.SeoMetadata.Title';
};
(function () {
var d = d... | mit | C# |
263d76421554042e5029d2e3b14b7fea473349ee | Fix assembly metadata to fix package verifier warnings | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.WebSockets.Protocol/Properties/AssemblyInfo.cs | src/Microsoft.AspNetCore.WebSockets.Protocol/Properties/AssemblyInfo.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle... | using System.Reflection;
using System.Resources;
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.
[asse... | apache-2.0 | C# |
a553e0aa910089416a60015ed6600831ad4452a1 | update version and copyright | lunabox/logviewer | LogViewer/Properties/AssemblyInfo.cs | LogViewer/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("LogViewer")]
[assembly: AssemblyDescription("用于查看zip压缩格式的Log和数据")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("LogViewer")]
[assembly: AssemblyDescription("用于查看后台上报各种类型的Log和数据")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
... | apache-2.0 | C# |
a06d6fb59c6c7e923b2e83dc32d1f1ff001f6eb2 | Change char to byte in gaf frame header | MHeasell/Mappy,MHeasell/Mappy | TAUtil/Gaf/Structures/GafFrameData.cs | TAUtil/Gaf/Structures/GafFrameData.cs | namespace TAUtil.Gaf.Structures
{
using System.IO;
public struct GafFrameData
{
public ushort Width;
public ushort Height;
public ushort XPos;
public ushort YPos;
public byte Unknown1;
public bool Compressed;
public ushort FramePointers;
... | namespace TAUtil.Gaf.Structures
{
using System.IO;
public struct GafFrameData
{
public ushort Width;
public ushort Height;
public ushort XPos;
public ushort YPos;
public char Unknown1;
public bool Compressed;
public ushort FramePointers;
... | mit | C# |
6806e9082558ead332dc4ed4a47f55066776abe9 | Mark Concat overload extending a single element obsolete | ddpruitt/morelinq,morelinq/MoreLINQ,morelinq/MoreLINQ,fsateler/MoreLINQ,fsateler/MoreLINQ,ddpruitt/morelinq | MoreLinq/Concat.cs | MoreLinq/Concat.cs | #region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2008 Jonathan Skeet. 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
//
// ... | #region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2008 Jonathan Skeet. 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
//
// ... | apache-2.0 | C# |
f74ca2479ed78cbfef9dddd5f3edc26c593ebe9c | Update CustomersService.cs | zhaokunfay/ServiceStack.Examples,zhaokunfay/ServiceStack.Examples,zhaokunfay/ServiceStack.Examples,zhaokunfay/ServiceStack.Examples,ServiceStack/ServiceStack.Examples,ServiceStack/ServiceStack.Examples,ServiceStack/ServiceStack.Examples,ServiceStack/ServiceStack.Examples | src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceInterface/CustomersService.cs | src/ServiceStack.Northwind/ServiceStack.Northwind.ServiceInterface/CustomersService.cs | using ServiceStack.Northwind.ServiceModel.Operations;
using ServiceStack.Northwind.ServiceModel.Types;
using ServiceStack.OrmLite;
using ServiceStack.ServiceInterface;
namespace ServiceStack.Northwind.ServiceInterface
{
public class CustomersService : Service
{
public CustomersResponse Get(Cus... | namespace ServiceStack.Northwind.ServiceInterface
{
using ServiceStack.Northwind.ServiceModel.Operations;
using ServiceStack.Northwind.ServiceModel.Types;
using ServiceStack.OrmLite;
using ServiceStack.ServiceInterface;
public class CustomersService : Service
{
public CustomersResponse Get(Customers ... | bsd-3-clause | C# |
a96eeb6022cdf465bdffcd4edf3f8851d62a4fcb | Fix hue outside range | JKennedy24/Xamarin.Forms.GoogleMaps,amay077/Xamarin.Forms.GoogleMaps,quesera2/Xamarin.Forms.GoogleMaps,JKennedy24/Xamarin.Forms.GoogleMaps | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps.Android/Extensions/BitmapDescriptorExtensions.cs | Xamarin.Forms.GoogleMaps/Xamarin.Forms.GoogleMaps.Android/Extensions/BitmapDescriptorExtensions.cs | using System;
using Android.Graphics;
using NativeBitmapDescriptor = Android.Gms.Maps.Model.BitmapDescriptor;
using NativeBitmapDescriptorFactory = Android.Gms.Maps.Model.BitmapDescriptorFactory;
using System.Threading;
using Xamarin.Forms.Platform.Android;
namespace Xamarin.Forms.GoogleMaps.Android.Extensions
{
... | using System;
using Android.Graphics;
using NativeBitmapDescriptor = Android.Gms.Maps.Model.BitmapDescriptor;
using NativeBitmapDescriptorFactory = Android.Gms.Maps.Model.BitmapDescriptorFactory;
using System.Threading;
using Xamarin.Forms.Platform.Android;
namespace Xamarin.Forms.GoogleMaps.Android.Extensions
{
... | mit | C# |
e7eee340d9091630746b206b4667a5e1ff20a42d | Disable parallel tests | OpenMagic/OpenMagic.Azure.Storage.Table | tests/OpenMagic.Azure.Storage.Table.Specifications/Properties/AssemblyInfo.cs | tests/OpenMagic.Azure.Storage.Table.Specifications/Properties/AssemblyInfo.cs | using System.Reflection;
using Xunit;
[assembly: AssemblyTitle("OpenMagic.Azure.Storage.Table.Specifications")]
[assembly: AssemblyDescription("Specifications for OpenMagic.Azure.Storage.Table project.")]
// todo: enable parallel tests
[assembly: CollectionBehavior(DisableTestParallelization = true)]
| using System.Reflection;
[assembly: AssemblyTitle("OpenMagic.Azure.Storage.Table.Specifications")]
[assembly: AssemblyDescription("Specifications for OpenMagic.Azure.Storage.Table project.")] | mit | C# |
222f319651020382c26ad358af0d17882938e81a | Update server side API for single multiple answer question | Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist,Promact/trappist | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | Trappist/src/Promact.Trappist.Repository/Questions/QuestionRepository.cs | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRepository
{
private readonly TrappistDbContext _dbContext... | using System.Collections.Generic;
using Promact.Trappist.DomainModel.Models.Question;
using System.Linq;
using Promact.Trappist.DomainModel.DbContext;
namespace Promact.Trappist.Repository.Questions
{
public class QuestionRepository : IQuestionRepository
{
private readonly TrappistDbContext _dbContext... | mit | C# |
aaab4945b7f566a3b3f2f785e3ba3d75b636e984 | Update HomeController.cs | NanoMania/GitRepoVisualStudio,NanoMania/GitRepoVisualStudio | GitTutorialVS/Controllers/HomeController.cs | GitTutorialVS/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace GitTutorialVS.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
//edited on git hub
return View();
}
pu... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace GitTutorialVS.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View();
}
public ActionResult About()
... | mit | C# |
7e68d7c2510f2673ab9fe8cb11306b2b2295c101 | Update answer.cs | neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu/Paiza-POH-MyAnswers,neetsdkasu... | POH6plus/answer.cs | POH6plus/answer.cs | using C=System.Console;using System.Linq;class H{public static void Main(){int i,j,n=int.Parse(C.ReadLine());string s="",t="",c="",z,r;var w=new string[n];for(i=0;i<n;i++)w[i]=C.ReadLine();System.Array.Sort(w);for(i=0;i<n;i++){z=w[i];if(z!=""){r=new string(z.Reverse().ToArray());for(j=i+1;j<n;j++){if(w[j]==r){s+=z;t=r+... | using System;
using System.Linq;
public class Hello
{
public static void Main()
{
var n = int.Parse(Console.ReadLine());
var w = new string[n];
for (var i = 0; i < n; i++)
w[i] = Console.ReadLine();
Array.Sort(w);
string s = "", t = "", c = "";
for (va... | mit | C# |
4777b1bf4a588f2e46c25045ea323b57657f8803 | Add version to SQL instance selector screen | GABeech/Opserver,GABeech/Opserver,opserver/Opserver,mqbk/Opserver,opserver/Opserver,manesiotise/Opserver,opserver/Opserver,manesiotise/Opserver,mqbk/Opserver,manesiotise/Opserver | Opserver/Views/SQL/Instance.Selector.cshtml | Opserver/Views/SQL/Instance.Selector.cshtml | @using StackExchange.Opserver.Data.SQL
@{
Layout = null;
var clusters = SQLModule.Clusters;
var standalone = SQLModule.StandaloneInstances;
}
@helper RenderInstances(IEnumerable<SQLInstance> instances, bool showVersion)
{
foreach (var i in instances)
{
var props = i.ServerProperties.SafeDat... | @using StackExchange.Opserver.Data.SQL
@{
Layout = null;
var clusters = SQLModule.Clusters;
var standalone = SQLModule.StandaloneInstances;
}
@helper RenderInstances(IEnumerable<SQLInstance> instances)
{
foreach (var i in instances)
{
var props = i.ServerProperties.SafeData(true);
<... | mit | C# |
648196d355f1e78882d2202b61c074139d41b408 | Fix BigQueryInsertStatus bullet point descriptions | jskeet/gcloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet,googleapis/google-cloud-dotnet,jskeet/google-cloud-dotnet | apis/Google.Cloud.BigQuery.V2/Google.Cloud.BigQuery.V2/BigQueryInsertStatus.cs | apis/Google.Cloud.BigQuery.V2/Google.Cloud.BigQuery.V2/BigQueryInsertStatus.cs | // Copyright 2020 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | // Copyright 2020 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to... | apache-2.0 | C# |
c048682659089a01ce42864e9bc7b8b5db1f38eb | Update MasterYi.cs | metaphorce/leaguesharp | MetaSmite/Champions/MasterYi.cs | MetaSmite/Champions/MasterYi.cs | using System;
using LeagueSharp;
using LeagueSharp.Common;
using SharpDX;
namespace MetaSmite.Champions
{
public static class MasterYi
{
internal static Spell champSpell;
private static Menu Config = MetaSmite.Config;
private static double totalDamage;
private static double spe... | using System;
using LeagueSharp;
using LeagueSharp.Common;
using SharpDX;
namespace MetaSmite.Champions
{
public static class MasterYi
{
internal static Spell champSpell;
private static Menu Config = MetaSmite.Config;
private static double totalDamage;
private static double spe... | mit | C# |
d34d237714c3bfb596f25fc29da2c621131d6c19 | Add comment for ResourceRegion | sharpdx/SharpDX,VirusFree/SharpDX,shoelzer/SharpDX,sharpdx/SharpDX,VirusFree/SharpDX,wyrover/SharpDX,weltkante/SharpDX,shoelzer/SharpDX,weltkante/SharpDX,VirusFree/SharpDX,waltdestler/SharpDX,davidlee80/SharpDX-1,fmarrabal/SharpDX,fmarrabal/SharpDX,PavelBrokhman/SharpDX,TechPriest/SharpDX,TechPriest/SharpDX,jwollen/Sha... | Source/SharpDX.Direct3D11/ResourceRegion.cs | Source/SharpDX.Direct3D11/ResourceRegion.cs | // Copyright (c) 2010-2012 SharpDX - Alexandre Mutel
//
// 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, modi... | // Copyright (c) 2010-2012 SharpDX - Alexandre Mutel
//
// 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, modi... | mit | C# |
2dcc472ba5897c689613a1a198e3ed3735383baa | Apply CR | hallihan/azure-sdk-for-net,peshen/azure-sdk-for-net,atpham256/azure-sdk-for-net,mabsimms/azure-sdk-for-net,felixcho-msft/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,abhing/azure-sdk-for-net,AzCiS/azure-sdk-for-net,gubookgu/azure-sdk-for-net,pattipaka/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,akromm/azure-sd... | microsoft-azure-api/Configuration/Microsoft.WindowsAzure.Configuration/Properties/AssemblyInfo.cs | microsoft-azure-api/Configuration/Microsoft.WindowsAzure.Configuration/Properties/AssemblyInfo.cs | //
// Copyright Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | //
// Copyright Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agr... | apache-2.0 | C# |
8a2e86c7ecbe5269c816f7206f58322a367e9a39 | Add values for a couple of enum values | fearthecowboy/pinvoke,jmelosegui/pinvoke,AArnott/pinvoke,vbfox/pinvoke | src/NCrypt/NCrypt+NCryptCreatePersistedKeyFlags.cs | src/NCrypt/NCrypt+NCryptCreatePersistedKeyFlags.cs | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
using System;
/// <content>
/// Contains the <see cref="NCryp... | // Copyright (c) to owners found in https://github.com/AArnott/pinvoke/blob/master/COPYRIGHT.md. All rights reserved.
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
namespace PInvoke
{
using System;
/// <content>
/// Contains the <see cref="NCryp... | mit | C# |
0f355d2f897c6b2f19788954b33945fe86d584f6 | remove unused method | fluffynuts/NExpect,fluffynuts/NExpect | src/NExpect/Implementations/ContinuationFactory.cs | src/NExpect/Implementations/ContinuationFactory.cs | using System;
using NExpect.Interfaces;
namespace NExpect.Implementations
{
/// <summary>
/// Factory to create continuations where the continuation is an IExpectationContext<T>
/// </summary>
public static class ContinuationFactory
{
internal static T2 Create<T1, T2>(
Fun... | using System;
using NExpect.Interfaces;
namespace NExpect.Implementations
{
/// <summary>
/// Factory to create continuations where the continuation is an IExpectationContext<T>
/// </summary>
public static class ContinuationFactory
{
[Obsolete("Rather use the lazy eval version!")]
... | bsd-3-clause | C# |
7746ec43aa122bd02e60440213350c7080f5efc1 | tag equality to be made case incensitive | tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web,tugberkugurlu/tugberk-web | src/Tugberk.Web.OldBlogMigrator/TagEquality.cs | src/Tugberk.Web.OldBlogMigrator/TagEquality.cs | using System;
using System.Collections.Generic;
using Bloggy.Domain.Entities;
namespace Tugberk.Web.OldBlogMigrator
{
internal class TagEquality : IEqualityComparer<Tag>
{
public bool Equals(Tag x, Tag y) => x.Name.Equals(y.Name, StringComparison.InvariantCultureIgnoreCase);
public int GetHash... | using System.Collections.Generic;
using Bloggy.Domain.Entities;
namespace Tugberk.Web.OldBlogMigrator
{
internal class TagEquality : IEqualityComparer<Tag>
{
public bool Equals(Tag x, Tag y) => x.Name.Equals(y.Name);
public int GetHashCode(Tag obj) => obj.Name.GetHashCode();
}
} | agpl-3.0 | C# |
f511b00bd4a803265036079fe170d18a717709ad | Fix incorrect serialization of recipient status | messagebird/csharp-rest-api | MessageBird/Objects/Recipient.cs | MessageBird/Objects/Recipient.cs | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Runtime.Serialization;
namespace MessageBird.Objects
{
public class Recipient
{
public enum RecipientStatus
{
// Message status
[EnumMember(Value = "scheduled")]
Scheduled,
... | using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace MessageBird.Objects
{
public class Recipient
{
public enum RecipientStatus { Scheduled, Sent, Buffered, Delivered, DeliveryFailed };
[JsonProperty("recipient")]
public long Msisdn {get; set;}
[Js... | isc | C# |
29e8fa018af89b00df937e6223ad040d22d4e8a0 | Update UserInfoJson.cs | down4u/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,JeffreySu/WxOpen,down4u/WeiXinMPSDK,wanddy/WeiXinMPSDK,mc7246/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,lishewen/WeiXinMPSDK,mc7246/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,lishewen/WeiXinMPSDK,JeffreySu/WxOpen,wanddy/WeiXinMPSDK,j... | Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/User/UserJson/UserInfoJson.cs | Senparc.Weixin.MP/Senparc.Weixin.MP/AdvancedAPIs/User/UserJson/UserInfoJson.cs | /*----------------------------------------------------------------
Copyright (C) 2015 Senparc
文件名:UserInfoJson.cs
文件功能描述:获取用户信息返回结果
创建标识:Senparc - 20150211
修改标识:Senparc - 20150303
修改描述:整理接口
修改标识:jsionr - 20150321
修改描述:添加remark属性
修改标识:Senparc - 2... | /*----------------------------------------------------------------
Copyright (C) 2015 Senparc
文件名:UserInfoJson.cs
文件功能描述:获取用户信息返回结果
创建标识:Senparc - 20150211
修改标识:Senparc - 20150303
修改描述:整理接口
修改标识:jsionr - 20150321
修改描述:添加remark属性
修改标识:Senparc - 2... | apache-2.0 | C# |
3a2caafdfd706c77a35f011eaf3f752d44a74336 | Add jquery as dependency of icon picker script (#3242) | petedavis/Orchard2,petedavis/Orchard2,xkproject/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,xkproject/Orchard2,stevetayloruk/Orc... | src/OrchardCore.Modules/OrchardCore.ContentFields/Views/TextField-IconPicker.Edit.cshtml | src/OrchardCore.Modules/OrchardCore.ContentFields/Views/TextField-IconPicker.Edit.cshtml | @model OrchardCore.ContentFields.ViewModels.EditTextFieldViewModel
@using OrchardCore.ContentManagement.Metadata.Models
@using OrchardCore.ContentFields.Settings;
@{
var settings = Model.PartFieldDefinition.Settings.ToObject<TextFieldSettings>();
}
<style name="fontpickerStyle" at="Head" asp-src="~/OrchardCore.Co... | @model OrchardCore.ContentFields.ViewModels.EditTextFieldViewModel
@using OrchardCore.ContentManagement.Metadata.Models
@using OrchardCore.ContentFields.Settings;
@{
var settings = Model.PartFieldDefinition.Settings.ToObject<TextFieldSettings>();
}
<style name="fontpickerStyle" at="Head" asp-src="~/OrchardCore.Co... | bsd-3-clause | C# |
eea2f9588c713884f82c9760ca999a8accacb85b | Update DefaultConfiguration.cs | snipervld/StormXamarin,Julien-Mialon/StormXamarin,Julien-Mialon/StormXamarin,snipervld/StormXamarin,Julien-Mialon/StormXamarin,snipervld/StormXamarin | StormXamarin/Storm.Binding.AndroidTarget/Configuration/DefaultConfiguration.cs | StormXamarin/Storm.Binding.AndroidTarget/Configuration/DefaultConfiguration.cs | using System.Collections.Generic;
using System.IO;
using Storm.Binding.AndroidTarget.Configuration.Model;
using Storm.Binding.AndroidTarget.Helper;
namespace Storm.Binding.AndroidTarget.Configuration
{
public static class DefaultConfiguration
{
public static IEnumerable<string> Namespaces { get; private set; }
... | using System.Collections.Generic;
using System.IO;
using Storm.Binding.AndroidTarget.Configuration.Model;
using Storm.Binding.AndroidTarget.Helper;
namespace Storm.Binding.AndroidTarget.Configuration
{
public static class DefaultConfiguration
{
public static IEnumerable<string> Namespaces { get; private set; }
... | mit | C# |
f5fd83fd88ded5b1b654abf7acff5aaf5755ecba | Fix test on PersonTests | justinyoo/agl-coding-test | test/AglCodingTest.Models.Tests/PersonTests.cs | test/AglCodingTest.Models.Tests/PersonTests.cs | using AglCodingTest.Models.Tests.Fixtures;
using FluentAssertions;
using Newtonsoft.Json;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.Xunit2;
using Xunit;
namespace AglCodingTest.Models.Tests
{
/// <summary>
/// This represents the test entity for <see cref="Pet"/>.
/// </summary>
public clas... | using AglCodingTest.Models.Tests.Fixtures;
using FluentAssertions;
using Newtonsoft.Json;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.Xunit2;
using Xunit;
namespace AglCodingTest.Models.Tests
{
/// <summary>
/// This represents the test entity for <see cref="Pet"/>.
/// </summary>
public clas... | mit | C# |
cef57c1ea931343b1455a1bc1cde79c806e4b8b4 | Enable tests. | linq2db/linq2db,jogibear9988/linq2db,giuliohome/linq2db,scratch-net/linq2db,yonglehou/linq2db,sdanyliv/linq2db,enginekit/linq2db,jogibear9988/linq2db,scratch-net/linq2db,linq2db/linq2db,LinqToDB4iSeries/linq2db,AK107/linq2db,sdanyliv/linq2db,fraillt/linq2db,AK107/linq2db,LinqToDB4iSeries/linq2db,bahram-aliyev/linq2db,M... | Tests/Linq/Linq/LoadWithTest.cs | Tests/Linq/Linq/LoadWithTest.cs | using System;
using System.Linq;
using LinqToDB;
using NUnit.Framework;
namespace Tests.Linq
{
[TestFixture]
public class LoadWithTest : TestBase
{
[Test, DataContextSource]
public void LoadWith1(string context)
{
using (var db = GetDataContext(context))
{
var q =
from p in... | using System;
using System.Linq;
using LinqToDB;
using NUnit.Framework;
namespace Tests.Linq
{
[TestFixture]
public class LoadWithTest : TestBase
{
// TODO: [Test, DataContextSource]
public void LoadWith1(string context)
{
using (var db = GetDataContext(context))
{
var q =
... | mit | C# |
19b1e9176a18143870e069cb6891900c6e423a4f | change commit | wenhuix/COMDBG | COMDBG/COMDBG/Program.cs | COMDBG/COMDBG/Program.cs | /**
* Copyright (c) 2014, Wenhuix, 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 copyright notice,
* this list of conditions and th... | /**
* Copyright (c) 2014, Wenhuix, 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 copyright notice,
* this list of conditions and th... | bsd-3-clause | C# |
55da56148af35bc6cc158966868561e06a66acb8 | Change how trim affects text elements. | Prof9/TextPet | TextPet/Commands/TrimCommand.cs | TextPet/Commands/TrimCommand.cs | using LibTextPet.General;
using LibTextPet.Msg;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TextPet.Commands {
internal class TrimCommand : CliCommand {
public override string Name => "trim";
public override string RunString => "Trimming scripts...";
priva... | using LibTextPet.General;
using LibTextPet.Msg;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TextPet.Commands {
internal class TrimCommand : CliCommand {
public override string Name => "trim";
public override string RunString => "Trimming scripts...";
priva... | mit | C# |
5bd9f36326e6e6d5a6fea14026e9f0df40c64375 | Define and use Game#ShownLetterFor | 12joan/hangman | game.cs | game.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Hangman {
public class Game {
public string Word;
private List<char> GuessedLetters;
public Game(string word) {
Word = word;
GuessedLetters = new List<char>();
}
public string ShownWord() {
StringBuil... | using System;
using System.Collections.Generic;
namespace Hangman {
public class Game {
public string Word;
private List<char> GuessedLetters;
public Game(string word) {
Word = word;
GuessedLetters = new List<char>();
}
public string ShownWord() {
return Word;
}
priva... | unlicense | C# |
698dfd35048b207ee93fb41195c8aee19bcdb598 | add new action to client interface | SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments,SkillsFundingAgency/das-commitments | src/SFA.DAS.Commitments.Api.Client/Interfaces/IProviderCommitmentsApi.cs | src/SFA.DAS.Commitments.Api.Client/Interfaces/IProviderCommitmentsApi.cs | using System.Collections.Generic;
using System.Threading.Tasks;
using SFA.DAS.Commitments.Api.Types;
using SFA.DAS.Commitments.Api.Types.Apprenticeship;
using SFA.DAS.Commitments.Api.Types.Commitment;
using SFA.DAS.Commitments.Api.Types.DataLock;
namespace SFA.DAS.Commitments.Api.Client.Interfaces
{
public interf... | using System.Collections.Generic;
using System.Threading.Tasks;
using SFA.DAS.Commitments.Api.Types;
using SFA.DAS.Commitments.Api.Types.Apprenticeship;
using SFA.DAS.Commitments.Api.Types.Commitment;
using SFA.DAS.Commitments.Api.Types.DataLock;
namespace SFA.DAS.Commitments.Api.Client.Interfaces
{
public interf... | mit | C# |
4fdedc880d185ae79a56b02b26060af682480c3a | Add type serializer for udders (#6027) | space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14 | Content.Server/Animals/Components/UdderComponent.cs | Content.Server/Animals/Components/UdderComponent.cs | using System;
using Content.Server.Animals.Systems;
using Content.Shared.Chemistry.Reagent;
using Content.Shared.FixedPoint;
using Robust.Shared.Analyzers;
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prot... | using System;
using Content.Server.Animals.Systems;
using Content.Shared.FixedPoint;
using Robust.Shared.Analyzers;
using Robust.Shared.GameObjects;
using Robust.Shared.Serialization.Manager.Attributes;
using Robust.Shared.ViewVariables;
namespace Content.Server.Animals.Components
{
[RegisterComponent, Friend(type... | mit | C# |
563adc27c1f226948135c497a602081e096b5fc8 | Fix last azure test | modulexcite/lokad-cqrs | Core/Lokad.Cqrs.Azure.Tests/Synthetic/Given_Tx_Scenarios_When_Composite_Azure.cs | Core/Lokad.Cqrs.Azure.Tests/Synthetic/Given_Tx_Scenarios_When_Composite_Azure.cs | #region (c) 2010-2011 Lokad CQRS - New BSD License
// Copyright (c) Lokad SAS 2010-2011 (http://www.lokad.com)
// This code is released as Open Source under the terms of the New BSD Licence
// Homepage: http://lokad.github.com/lokad-cqrs/
#endregion
using System;
using Lokad.Cqrs.Envelope;
using Lokad.Cqrs.Feature.... | #region (c) 2010-2011 Lokad CQRS - New BSD License
// Copyright (c) Lokad SAS 2010-2011 (http://www.lokad.com)
// This code is released as Open Source under the terms of the New BSD Licence
// Homepage: http://lokad.github.com/lokad-cqrs/
#endregion
using System;
using Lokad.Cqrs.Envelope;
using Lokad.Cqrs.Feature.... | bsd-3-clause | C# |
b8eb0d6f77442d4fd947b9eb912c76787142002d | move product definition into client region tag | GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples | bigquery/api/SimpleApp/Program.cs | bigquery/api/SimpleApp/Program.cs | /*
* Copyright (c) 2018 Google LLC
*
* 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 a... | /*
* Copyright (c) 2018 Google LLC
*
* 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 a... | apache-2.0 | C# |
6aa41f0a3d3817c4934940d0e6922a15245f164f | Correct RegAddressDto so that it matches the original object, in order to have the mapping work automatically | Paymentsense/Dapper.SimpleSave | PS.Mothership.Core/PS.Mothership.Core.Common/Dto/CompaniesHouse/SubDtos/RegAddressDto.cs | PS.Mothership.Core/PS.Mothership.Core.Common/Dto/CompaniesHouse/SubDtos/RegAddressDto.cs | using System.Collections.Generic;
namespace PS.Mothership.Core.Common.Dto.CompaniesHouse.SubDtos
{
public class RegAddressDto
{
public string CareOfName { get; set; }
public string PoBox { get; set; }
public List<string> AddressLine { get; set; }
}
}
| using System.Collections.Generic;
namespace PS.Mothership.Core.Common.Dto.CompaniesHouse.SubDtos
{
public class RegAddressDto
{
public string Careof { get; set; }
public string PoBox { get; set; }
public List<string> AddressLine { get; set; }
}
}
| mit | C# |
1169d753027319d2b29687302e75225bc0c38ecb | Fix Unix build break | yizhang82/corert,yizhang82/corert,yizhang82/corert,yizhang82/corert,gregkalapos/corert,shrah/corert,gregkalapos/corert,shrah/corert,shrah/corert,gregkalapos/corert,gregkalapos/corert,shrah/corert | src/System.Private.StackTraceGenerator/src/Internal/StackTraceGenerator/StackTraceGenerator.Unix.cs | src/System.Private.StackTraceGenerator/src/Internal/StackTraceGenerator/StackTraceGenerator.Unix.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;
using System.Diagnostics;
namespace Internal.StackTraceGenerator
{
public static class StackTrace... | // 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;
namespace Internal.StackTraceGenerator
{
public static class StackTraceGenerator
{
//... | mit | C# |
e737a4deefe7f6a70144f991a6efe5850c7dee18 | Improve parsing /etc/os-release, handle more cases. | joperezr/buildtools,alexperovich/buildtools,ericstj/buildtools,ChadNedzlek/buildtools,JeremyKuhne/buildtools,tarekgh/buildtools,karajas/buildtools,crummel/dotnet_buildtools,mmitche/buildtools,nguerrera/buildtools,weshaggard/buildtools,ianhays/buildtools,ChadNedzlek/buildtools,MattGal/buildtools,ericstj/buildtools,dotne... | src/Run/Interop.cs | src/Run/Interop.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;
using System.IO;
namespace Microsoft.DotNet.Execute
{
internal class Interop
{
publi... | // 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;
using System.IO;
namespace Microsoft.DotNet.Execute
{
internal class Interop
{
publi... | mit | C# |
cb8e7eab8f4b03136f5c813f56b30eaeebfc1e25 | Update AbpZeroDbContext.cs | fanpan26/module-zero,yonglehou/module-zero,MaikelE/module-zero-fork,Jerome2606/module-zero,fanpan26/module-zero,Jerome2606/module-zero,renu5682/Module-Zero,luchaoshuai/module-zero,selyutind/GitTest,selyutind/GitTest,codeyu/module-zero,sagacite2/module-zero,volkd/module-zero,jxzly229190/module-zero,kan6xing/module-zero,... | src/Abp.Zero.EntityFramework/Zero/EntityFramework/Repositories/AbpZeroDbContext.cs | src/Abp.Zero.EntityFramework/Zero/EntityFramework/Repositories/AbpZeroDbContext.cs | using System.Data.Entity;
using Abp.Authorization;
using Abp.Authorization.Roles;
using Abp.Authorization.Users;
using Abp.Configuration;
using Abp.EntityFramework;
using Abp.MultiTenancy;
namespace Abp.Zero.EntityFramework.Repositories
{
/// <summary>
///
/// </summary>
public class AbpZeroDbContext ... | using System.Data.Entity;
using Abp.Authorization;
using Abp.Authorization.Roles;
using Abp.Authorization.Users;
using Abp.Configuration;
using Abp.EntityFramework;
using Abp.MultiTenancy;
namespace Abp.Zero.EntityFramework.Repositories
{
/// <summary>
///
/// </summary>
public class AbpZeroDbContext ... | mit | C# |
c1bd2c0fccb01606e21d6df48cdf719276becf54 | test change | jezzay/Test-Travis-CI,jezzay/Test-Travis-CI | TestWebApp/TestWebApp/Controllers/HomeController.cs | TestWebApp/TestWebApp/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace TestWebApp.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
ViewBag.Title = "Home Page test";
return View();
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace TestWebApp.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
ViewBag.Title = "Home Page";
return View();
}
... | mit | C# |
16d57f1a614c4293255eea5e08bf6810d3309cdc | fix bad code generation for google image search. | ecologylab/BigSemanticsWrapperRepository,ecologylab/BigSemanticsWrapperRepository,ecologylab/BigSemanticsWrapperRepository | BigSemantics.GeneratedClassesCSharp/Library/SearchNS/GoogleImageSearch.cs | BigSemantics.GeneratedClassesCSharp/Library/SearchNS/GoogleImageSearch.cs | //
// GoogleImageSearch.cs
// s.im.pl serialization
//
// Generated by MetaMetadataDotNetTranslator.
// Copyright 2015 Interface Ecology Lab.
//
using Ecologylab.BigSemantics.Generated.Library.SearchNS;
using Ecologylab.BigSemantics.Generated.Library.SearchNS.ImageSearchNS;
using Ecologylab.BigSemantics.MetaMetadata... | //
// GoogleImageSearch.cs
// s.im.pl serialization
//
// Generated by MetaMetadataDotNetTranslator.
// Copyright 2015 Interface Ecology Lab.
//
using Ecologylab.BigSemantics.Generated.Library.SearchNS;
using Ecologylab.BigSemantics.Generated.Library.SearchNS.ImageSearchNS;
using Ecologylab.BigSemantics.MetaMetadata... | apache-2.0 | C# |
9976cd82f35ad001fd2dfbccbc7ad4d9eeb66480 | Deal with fast app resume in Universal Sample (fixes #74) | Billpzoom/Caliburn.Micro,vgrigoriu/Caliburn.Micro,suvjunmd/Caliburn.Micro,taori/Caliburn.Micro,TriadTom/Caliburn.Micro,huoxudong125/Caliburn.Micro,bitbonk/Caliburn.Micro,mbruckner/Caliburn.Micro,BrunoJuchli/Caliburn.Micro,ckjohn88/CaliburnMicroCopy,TriadTom/Caliburn.Micro,dvdvorle/Caliburn.Micro,Bobdina/Caliburn.Micro,... | samples/CM.HelloUniversal/CM.HelloUniversal/CM.HelloUniversal.Shared/App.xaml.cs | samples/CM.HelloUniversal/CM.HelloUniversal/CM.HelloUniversal.Shared/App.xaml.cs | using System;
using System.Collections.Generic;
using Caliburn.Micro;
using CM.HelloUniversal.Views;
using CM.HelloUniversal.ViewModels;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml.Controls;
namespace CM.HelloUniversal
{
public sealed partial class App
{
private WinRTContainer con... | using System;
using System.Collections.Generic;
using Caliburn.Micro;
using CM.HelloUniversal.Views;
using CM.HelloUniversal.ViewModels;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml.Controls;
namespace CM.HelloUniversal
{
public sealed partial class App
{
private WinRTContainer con... | mit | C# |
8ee61dd103ff55445f8baf3137bb768ed86370d9 | Revert removal of SuppressGCTransition from SystemNative_GetTimestamp() (#27473) | ericstj/corefx,ericstj/corefx,ericstj/corefx,ericstj/corefx,ericstj/corefx,ericstj/corefx,ericstj/corefx | src/Common/src/CoreLib/Interop/Unix/System.Native/Interop.GetTimestamp.cs | src/Common/src/CoreLib/Interop/Unix/System.Native/Interop.GetTimestamp.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime.InteropServices;
internal static partial class Interop
{
internal static partial class Sys... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime.InteropServices;
internal static partial class Interop
{
internal static partial class Sys... | mit | C# |
6314230d91da95085bbd31dbd2b7c664dc546eb2 | Simplify ReadOnlyCollection | sailro/cecil,ttRevan/cecil,saynomoo/cecil,gluck/cecil,jbevain/cecil,mono/cecil,joj/cecil,fnajera-rac-de/cecil,furesoft/cecil,xen2/cecil,kzu/cecil,SiliconStudio/Mono.Cecil,cgourlay/cecil | Mono.Collections.Generic/ReadOnlyCollection.cs | Mono.Collections.Generic/ReadOnlyCollection.cs | //
// ReadOnlyCollection.cs
//
// Author:
// Jb Evain (jbevain@gmail.com)
//
// Copyright (c) 2008 - 2010 Jb Evain
//
// 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,... | //
// ReadOnlyCollection.cs
//
// Author:
// Jb Evain (jbevain@gmail.com)
//
// Copyright (c) 2008 - 2010 Jb Evain
//
// 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,... | mit | C# |
0f7d6ee1fd07d1d684cae9fd345b5b40f0dfffd8 | load UIImage from bundle im main thread | luberda-molinet/FFImageLoading,daniel-luberda/FFImageLoading,petlack/FFImageLoading,kalarepa/FFImageLoading,AndreiMisiukevich/FFImageLoading,molinch/FFImageLoading | source/FFImageLoading.Touch/Work/DataResolver/AssetCatalogDataResolver.cs | source/FFImageLoading.Touch/Work/DataResolver/AssetCatalogDataResolver.cs | using System;
using FFImageLoading.Work;
using System.IO;
using FFImageLoading.IO;
using System.Threading.Tasks;
using System.Threading;
using UIKit;
using Foundation;
namespace FFImageLoading.Work.DataResolver
{
public class AssetCatalogDataResolver : IDataResolver
{
public async Task<UIImageData> GetData(string... | using System;
using FFImageLoading.Work;
using System.IO;
using FFImageLoading.IO;
using System.Threading.Tasks;
using System.Threading;
using UIKit;
namespace FFImageLoading.Work.DataResolver
{
public class AssetCatalogDataResolver : IDataResolver
{
public async Task<UIImageData> GetData(string identifier, Cance... | mit | C# |
6c4250744dd1776380d5a3cff06c87dd7dc5c0c7 | clear connection pools before trying to drop the database | schambers/fluentmigrator,igitur/fluentmigrator,itn3000/fluentmigrator,istaheev/fluentmigrator,stsrki/fluentmigrator,FabioNascimento/fluentmigrator,bluefalcon/fluentmigrator,drmohundro/fluentmigrator,dealproc/fluentmigrator,stsrki/fluentmigrator,spaccabit/fluentmigrator,FabioNascimento/fluentmigrator,spaccabit/fluentmig... | src/FluentMigrator.Tests/Integration/Processors/Firebird/TestDisposing.cs | src/FluentMigrator.Tests/Integration/Processors/Firebird/TestDisposing.cs | using System.Data;
using FirebirdSql.Data.FirebirdClient;
using FluentMigrator.Expressions;
using FluentMigrator.Runner.Announcers;
using FluentMigrator.Runner.Generators.Firebird;
using FluentMigrator.Runner.Processors;
using FluentMigrator.Runner.Processors.Firebird;
using NUnit.Framework;
using NUnit.Should;
names... | using System.Data;
using FirebirdSql.Data.FirebirdClient;
using FluentMigrator.Expressions;
using FluentMigrator.Runner.Announcers;
using FluentMigrator.Runner.Generators.Firebird;
using FluentMigrator.Runner.Processors;
using FluentMigrator.Runner.Processors.Firebird;
using NUnit.Framework;
using NUnit.Should;
names... | apache-2.0 | C# |
0c3682c5222a7f5fbd471b653928d6ee8eb402d2 | Set default relative path for Project Identity in Integration tests | aelij/roslyn,AdamSpeight2008/roslyn-AdamSpeight2008,jcouv/roslyn,cston/roslyn,eriawan/roslyn,CaptainHayashi/roslyn,tmeschter/roslyn,dotnet/roslyn,tmat/roslyn,reaction1989/roslyn,agocke/roslyn,mavasani/roslyn,aelij/roslyn,MichalStrehovsky/roslyn,dpoeschl/roslyn,KevinRansom/roslyn,mmitche/roslyn,orthoxerox/roslyn,lorcanm... | src/VisualStudio/IntegrationTest/TestUtilities/Common/ProjectUtilities.cs | src/VisualStudio/IntegrationTest/TestUtilities/Common/ProjectUtilities.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.IO;
namespace Microsoft.VisualStudio.IntegrationTest.Utilities.Common.ProjectUtils
{
public abstract class Identity
{
public st... | // Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.VisualStudio.IntegrationTest.Utilities.Common.ProjectUtils
{
public abstract class Identity
{
public string Name { get; p... | apache-2.0 | C# |
cf2e9d3f785dc2fe3e887a187b8ee4322382306a | Fix GlobRecurse. | sensics/DeviceMetadataTools | Sensics.DeviceMetadataInstaller/GlobRecurse.cs | Sensics.DeviceMetadataInstaller/GlobRecurse.cs | using System;
using System.Collections.Generic;
using System.IO;
namespace Sensics.DeviceMetadataInstaller
{
/// <summary>
/// see https://support.microsoft.com/en-us/kb/303974
/// </summary>
internal class GlobRecurse
{
public static List<string> SearchDirectory(string dir, string pattern... | using System;
using System.Collections.Generic;
using System.IO;
namespace Sensics.DeviceMetadataInstaller
{
/// <summary>
/// see https://support.microsoft.com/en-us/kb/303974
/// </summary>
internal class GlobRecurse
{
public static List<string> SearchDirectory(string dir, string pattern... | apache-2.0 | C# |
fa0096cf6a7f9fb6832e75aae79118d76cb75675 | Change attributes for benchmark | dupdob/Michonne,dupdob/Michonne,dupdob/Michonne | Solution/Michonne.01.Tests/PerformanceTests.cs | Solution/Michonne.01.Tests/PerformanceTests.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="PerformanceTests.cs" company="No lock... no deadlock" product="Michonne">
// Copyright 2014 Olivier COANET (@ocoanet), Thomas PIERRAIN (@tpierrain)
// Licensed under the ... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="PerformanceTests.cs" company="No lock... no deadlock" product="Michonne">
// Copyright 2014 Olivier COANET (@ocoanet), Thomas PIERRAIN (@tpierrain)
// Licensed under the ... | apache-2.0 | C# |
c6327b1eadc1532236a480725d7dc05525bdc47c | create structure to hold current chain state | ArsenShnurkov/BitSharp | BitSharp.Data/ChainState.cs | BitSharp.Data/ChainState.cs | using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BitSharp.Data
{
public class ChainState
{
private readonly ChainedBlock currentBlock;
private readonly ChainedBlock targ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BitSharp.Data
{
public class ChainState
{
}
}
| unlicense | C# |
a3071ffe2925cd37c1124701ab962125d72766b9 | Bring up version to 2.0.0.0. | flamestream/taction,flamestream/taction,flamestream/taction | App/Properties/AssemblyInfo.cs | App/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
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 w... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
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 w... | mit | C# |
2e333c2e417e3b46286a4050626561cce770d490 | increase version | programcsharp/griddly,programcsharp/griddly,nickdevore/griddly,programcsharp/griddly,nickdevore/griddly,jehhynes/griddly,jehhynes/griddly | Build/CommonAssemblyInfo.cs | Build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("Griddly")]
[assembly: AssemblyCopyright("Copyright © 2014 Chris Hynes and Data Research Group")]
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Ver... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("Griddly")]
[assembly: AssemblyCopyright("Copyright © 2014 Chris Hynes and Data Research Group")]
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Ver... | mit | C# |
9a5281bff11bf8858481d3b4f7563374a819767f | Add comment. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Crypto/ZeroKnowledge/Challenge.cs | WalletWasabi/Crypto/ZeroKnowledge/Challenge.cs | using NBitcoin.Secp256k1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WalletWasabi.Crypto.Groups;
using WalletWasabi.Helpers;
namespace WalletWasabi.Crypto.ZeroKnowledge
{
public static class Challenge
{
public static Scalar Build(GroupElement publicPoint, GroupEleme... | using NBitcoin.Secp256k1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WalletWasabi.Crypto.Groups;
using WalletWasabi.Helpers;
namespace WalletWasabi.Crypto.ZeroKnowledge
{
public static class Challenge
{
public static Scalar Build(GroupElement publicPoint, GroupEleme... | mit | C# |
b91117294f0e4ead08f1d9dc510b0cdc994f6690 | remove debug code | degrand1/Always-Banana,degrand1/Always-Banana,degrand1/Always-Banana | Assets/Scripts/SplashScreen.cs | Assets/Scripts/SplashScreen.cs | using UnityEngine;
using System.Collections;
// the splash screen is basically two overlay textures (one main splash, one subtitle)
// both textures must be 800 by 600, and they are drawn centered to the screen
public class SplashScreen : MonoBehaviour {
private Texture splashTex;
private Texture subtitleTex;
priv... | using UnityEngine;
using System.Collections;
// the splash screen is basically two overlay textures (one main splash, one subtitle)
// both textures must be 800 by 600, and they are drawn centered to the screen
public class SplashScreen : MonoBehaviour {
private Texture splashTex;
private Texture subtitleTex;
priv... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.