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 |
|---|---|---|---|---|---|---|---|---|
0f87897aaee9b156839ae414f3bce269d6f0092e | Use Array.Empty instead of list. | wieslawsoltes/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Perspex,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,Perspex/Perspex,AvaloniaUI/Avalonia,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,AvaloniaUI/Avalonia,SuperJMN/Avalonia,SuperJMN/A... | src/Avalonia.Native/ScreenImpl.cs | src/Avalonia.Native/ScreenImpl.cs | using System;
using System.Collections.Generic;
using Avalonia.Native.Interop;
using Avalonia.Platform;
namespace Avalonia.Native
{
class ScreenImpl : IScreenImpl, IDisposable
{
private IAvnScreens _native;
public ScreenImpl(IAvnScreens native)
{
_native = native;
}... | using System;
using System.Collections.Generic;
using Avalonia.Native.Interop;
using Avalonia.Platform;
namespace Avalonia.Native
{
class ScreenImpl : IScreenImpl, IDisposable
{
private IAvnScreens _native;
public ScreenImpl(IAvnScreens native)
{
_native = native;
}... | mit | C# |
6a75488ee17f23de5a76c3c18297609711145581 | Fix disposed pixmap bug in Adjust Colours tool | mans0954/f-spot,mono/f-spot,mans0954/f-spot,Yetangitu/f-spot,NguyenMatthieu/f-spot,NguyenMatthieu/f-spot,Yetangitu/f-spot,mono/f-spot,nathansamson/F-Spot-Album-Exporter,Sanva/f-spot,mono/f-spot,dkoeb/f-spot,dkoeb/f-spot,mans0954/f-spot,mans0954/f-spot,GNOME/f-spot,nathansamson/F-Spot-Album-Exporter,mans0954/f-spot,mans... | src/ColorAdjustment/Adjustment.cs | src/ColorAdjustment/Adjustment.cs | /*
* Adjustment.cs
*
* Copyright 2006, 2007 Novell Inc.
*
* Author
* Larry Ewing <lewing@novell.com>
* Ruben Vermeersch <ruben@savanne.be>
*
* See COPYING for license information
*
*/
using FSpot.Utils;
using Cms;
using Gdk;
using System.Collections.Generic;
namespace FSpot.ColorAdjustment {
public a... | /*
* Adjustment.cs
*
* Copyright 2006, 2007 Novell Inc.
*
* Author
* Larry Ewing <lewing@novell.com>
* Ruben Vermeersch <ruben@savanne.be>
*
* See COPYING for license information
*
*/
using FSpot.Utils;
using Cms;
using Gdk;
using System.Collections.Generic;
namespace FSpot.ColorAdjustment {
public a... | mit | C# |
d7ff6ae4ab287e61b9625dbb623c6679f1c60237 | Update test utility class for new ILibrary interface. | u255436/CppSharp,KonajuGames/CppSharp,ktopouzi/CppSharp,imazen/CppSharp,xistoso/CppSharp,genuinelucifer/CppSharp,ktopouzi/CppSharp,xistoso/CppSharp,mydogisbox/CppSharp,SonyaSa/CppSharp,ddobrev/CppSharp,ktopouzi/CppSharp,genuinelucifer/CppSharp,nalkaro/CppSharp,inordertotest/CppSharp,KonajuGames/CppSharp,ktopouzi/CppSha... | src/Generator/Utils/TestsUtils.cs | src/Generator/Utils/TestsUtils.cs | using System.IO;
using CppSharp.Generators;
namespace CppSharp.Utils
{
public abstract class LibraryTest : ILibrary
{
readonly string name;
readonly LanguageGeneratorKind kind;
public LibraryTest(string name, LanguageGeneratorKind kind)
{
this.name = name;
... | using System.IO;
using CppSharp.Generators;
namespace CppSharp.Utils
{
public abstract class LibraryTest : ILibrary
{
readonly string name;
readonly LanguageGeneratorKind kind;
public LibraryTest(string name, LanguageGeneratorKind kind)
{
this.name = name;
... | mit | C# |
39a90f1a35f2eb343518499cef6865a1a920eed4 | Improve docs | mganss/HtmlSanitizer | src/HtmlSanitizer/RemoveReason.cs | src/HtmlSanitizer/RemoveReason.cs | namespace Ganss.XSS
{
/// <summary>
/// List of reasons why something was identified to get removed from the HTML.
/// </summary>
public enum RemoveReason
{
/// <summary>
/// Tag is not allowed.
/// </summary>
NotAllowedTag,
/// <summary>
/// Attribut... | namespace Ganss.XSS
{
/// <summary>
/// List of reasons why something was identified to get removed from the HTML
/// </summary>
public enum RemoveReason
{
/// <summary>
/// Tag is not allowed
/// </summary>
NotAllowedTag,
/// <summary>
/// Attribute ... | mit | C# |
c99ad6f9cd546f6aef3a7c686ea856c5b9b32357 | remove warning in HotKey | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TCC.Core/HotKey.cs | TCC.Core/HotKey.cs | #pragma warning disable 659
using System.Windows.Forms;
using TCC.Data;
namespace TCC
{
public struct HotKey
{
public HotKey(Keys k, ModifierKeys m) : this()
{
Key = k;
Modifier = m;
}
public Keys Key { get; set; }
public ModifierKeys Modifier {... | using System.Windows.Forms;
using TCC.Data;
namespace TCC
{
public struct HotKey
{
public HotKey(Keys k, ModifierKeys m) : this()
{
Key = k;
Modifier = m;
}
public Keys Key { get; set; }
public ModifierKeys Modifier { get; set; }
public... | mit | C# |
09e469b5694b23570b5c62de318fb48af7ca66bc | Remove mocking IEntityTemplateProvider in EngineTestsBase | Simie/OpenAOE | Source/OpenAOE.Engine.Tests/EngineTestsBase.cs | Source/OpenAOE.Engine.Tests/EngineTestsBase.cs | using Ninject;
using Ninject.Extensions.Logging;
using Ninject.MockingKernel;
using Ninject.MockingKernel.Moq;
using OpenAOE.Engine.Entity;
namespace OpenAOE.Engine.Tests
{
public class EngineTestsBase
{
protected IKernel Kernel = new MoqMockingKernel(new NinjectSettings(), new EngineModule());
... | using Ninject;
using Ninject.Extensions.Logging;
using Ninject.MockingKernel;
using Ninject.MockingKernel.Moq;
using OpenAOE.Engine.Entity;
namespace OpenAOE.Engine.Tests
{
public class EngineTestsBase
{
protected IKernel Kernel = new MoqMockingKernel(new NinjectSettings(), new EngineModule());
... | apache-2.0 | C# |
8e234a38d723871837c7c2828bb9fcd450d9d0d9 | Add action to "Read more" button | Team-Code-Ninjas/SpaceBlog,Team-Code-Ninjas/SpaceBlog,Team-Code-Ninjas/SpaceBlog | SpaceBlog/SpaceBlog/Views/Article/Index.cshtml | SpaceBlog/SpaceBlog/Views/Article/Index.cshtml |
@using SpaceBlog.Models;
@model IEnumerable<Article>
@{
ViewBag.Title = "Index";
}
<h2>Index</h2>
<table class="table">
<tr>
<th> Title</th>
<th> Author</th>
</tr>
@foreach(var article in Model)
{
<tr>
<td... |
@using SpaceBlog.Models;
@model IEnumerable<Article>
@{
ViewBag.Title = "Index";
}
<h2>Index</h2>
<table class="table">
<tr>
<th> Title</th>
<th> Author</th>
</tr>
@foreach(var article in Model)
{
<tr>
<td... | mit | C# |
4a673b837c2aabf09b4fb630f5f118689f0ca388 | Add docstring | smoy/Xamarin.Droid.AesCrypto | Xamarin.Droid.AesCrypto.Util/EncryptionUtil.cs | Xamarin.Droid.AesCrypto.Util/EncryptionUtil.cs | using System;
using System.Text;
using Android.Content;
using Com.Tozny.Crypto.Android;
namespace Xamarin.Droid.AesCrypto.Util
{
/// <summary>
/// EncryptionUtil exists because AndroidKeyStore does not play well with symmetric key (SecretKeyEntry)
/// until API 23. So we are doing a around about well to have a ... | using System;
using System.Text;
using Android.Content;
using Com.Tozny.Crypto.Android;
namespace Xamarin.Droid.AesCrypto.Util
{
public class EncryptionUtil
{
public EncryptionUtil ()
{
}
public static EncryptedTuple Encrypt (Context context, string alias, string clearText)
{
var secret... | mit | C# |
8bf28717038b09947a3603c89d12538b58eb5987 | fix required attribute in form ignored if field is not nullable in row | rolembergfilho/Serenity,rolembergfilho/Serenity,volkanceylan/Serenity,dfaruque/Serenity,volkanceylan/Serenity,WasimAhmad/Serenity,rolembergfilho/Serenity,WasimAhmad/Serenity,dfaruque/Serenity,dfaruque/Serenity,dfaruque/Serenity,volkanceylan/Serenity,dfaruque/Serenity,WasimAhmad/Serenity,volkanceylan/Serenity,rolembergf... | Serenity.Data.Entity/PropertyGrid/BasicPropertyProcessor/BasicPropertyProcessor.Required.cs | Serenity.Data.Entity/PropertyGrid/BasicPropertyProcessor/BasicPropertyProcessor.Required.cs | using Serenity.ComponentModel;
using Serenity.Data;
using System.ComponentModel;
namespace Serenity.PropertyGrid
{
public partial class BasicPropertyProcessor : PropertyProcessor
{
private void SetRequired(IPropertySource source, PropertyItem item)
{
var attr = source.Get... | using Serenity.ComponentModel;
using Serenity.Data;
using System.ComponentModel;
namespace Serenity.PropertyGrid
{
public partial class BasicPropertyProcessor : PropertyProcessor
{
private void SetRequired(IPropertySource source, PropertyItem item)
{
var attr = source.Get... | mit | C# |
35df05fe04f3aac88d931f9a9a32e6a7c9e257e1 | Change SectionName.ToString() format | jonathanvdc/cs-wasm,jonathanvdc/cs-wasm | libwasm/SectionName.cs | libwasm/SectionName.cs | namespace Wasm
{
/// <summary>
/// /// Represents a section's header.
/// </summary>
public struct SectionName
{
/// <summary>
/// Creates a section name for a non-custom section with the given section code.
/// </summary>
/// <param name="Code">The section code.</par... | namespace Wasm
{
/// <summary>
/// /// Represents a section's header.
/// </summary>
public struct SectionName
{
/// <summary>
/// Creates a section name for a non-custom section with the given section code.
/// </summary>
/// <param name="Code">The section code.</par... | mit | C# |
01f2cdfde6b55632d573072c0127b117ca2e4fb2 | Update IPathConverter.cs | Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Model/IPathConverter.cs | src/Core2D/Model/IPathConverter.cs | using System.Collections.Generic;
using Core2D.Renderer;
using Core2D.Shapes;
namespace Core2D
{
/// <summary>
/// Defines path converter contract.
/// </summary>
public interface IPathConverter
{
/// <summary>
/// Convert shapes to path shape.
/// </summary>
/// <p... | using System.Collections.Generic;
using Core2D.Renderer;
using Core2D.Shapes;
namespace Core2D
{
/// <summary>
/// Defines path converter contract.
/// </summary>
public interface IPathConverter
{
/// <summary>
/// Convert shapes to path shape.
/// </summary>
/// <p... | mit | C# |
70e75b154a97a571e70fa5d39669b2c51b97386f | Set compatibility version to 2.2 in simple API test project | ExplicitlyImplicit/AspNetCore.Mvc.FluentActions,ExplicitlyImplicit/AspNetCore.Mvc.FluentActions | test/WebApps/SimpleApi/Startup.cs | test/WebApps/SimpleApi/Startup.cs | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using ExplicitlyImpl.AspNetCore.Mvc.FluentActions;
using Microsoft.AspNetCore.Mvc;
namespace SimpleApi
{
public class Startup
{
public void ConfigureServices(IServiceCollection servi... | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using ExplicitlyImpl.AspNetCore.Mvc.FluentActions;
namespace SimpleApi
{
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
servi... | mit | C# |
bedf993c193dbc1f235d2bbbbc663f5e873f9a62 | fix doc comments | andremarcondesteixeira/currency | src/AndreMarcondesTeixeira/CurrencyOperators.cs | src/AndreMarcondesTeixeira/CurrencyOperators.cs | using System;
namespace AndreMarcondesTeixeira
{
public partial struct Currency : IEquatable<Currency>
{
/// <summary>Compares the equality of two currencies.</summary>
/// <remarks>
/// The instances of <see cref="Currency" /> class are compared through their
/// whole ... | using System;
namespace AndreMarcondesTeixeira
{
public partial struct Currency : IEquatable<Currency>
{
/// <summary>Compares the equality of two currencies.</summary>
/// <remarks>
/// The instances of <see cref="Currency" /> class are compared through their
/// whole ... | mit | C# |
cbce58e5e363f2aec4056178e5f8eafb494d2c84 | Remove refs to "ShowPager" that isn't relevant any more | GiveCampUK/GiveCRM,GiveCampUK/GiveCRM | src/GiveCRM.Web/Views/Member/MembersList.cshtml | src/GiveCRM.Web/Views/Member/MembersList.cshtml | @model PagedMemberListViewModel
@using GiveCRM.Web.Models.Members
@using PagedList.Mvc
@{
Layout = null;
}
<script src="@Url.Content("~/Scripts/ViewScripts/MemberList.js")" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
MemberList.Initialise();
});
</script>
@i... | @model PagedMemberListViewModel
@using GiveCRM.Web.Models.Members
@using PagedList.Mvc
@{
Layout = null;
}
<script src="@Url.Content("~/Scripts/ViewScripts/MemberList.js")" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
MemberList.Initialise();
});
</script>
@i... | mit | C# |
c1ef46efea0b6a580961ce3686327ef32f8adb3b | tweak checker class | edyoung/prequel | Prequel/Checker.cs | Prequel/Checker.cs | using Microsoft.SqlServer.TransactSql.ScriptDom;
using System;
using System.Collections.Generic;
using System.IO;
namespace Prequel
{
public class Checker
{
private Arguments arguments;
public Checker(Arguments arguments)
{
this.arguments = arguments;
}
pu... | using Microsoft.SqlServer.TransactSql.ScriptDom;
using System;
using System.Collections.Generic;
using System.IO;
namespace Prequel
{
public class Checker
{
private Arguments arguments;
public Checker(Arguments arguments)
{
this.arguments = arguments;
}
pu... | mit | C# |
95abb635c91f25456c02823121b03a8f4c8f87da | Update PartialConfigurationServiceCollectionExtensions.cs | tiksn/TIKSN-Framework | TIKSN.Core/DependencyInjection/PartialConfigurationServiceCollectionExtensions.cs | TIKSN.Core/DependencyInjection/PartialConfigurationServiceCollectionExtensions.cs | using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using TIKSN.Configuration;
using TIKSN.Configuration.ValidationStrategy;
using TIKSN.Configuration.Validator;
namespace TIKSN.DependencyInjection
{
public static class PartialConfigurationServiceCollectionExtensions
{
... | using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using TIKSN.Configuration;
using TIKSN.Configuration.ValidationStrategy;
using TIKSN.Configuration.Validator;
namespace TIKSN.DependencyInjection
{
public static class PartialConfigurationServiceCollectionExtensions
{
... | mit | C# |
0045c1a2ccf7223777c271e49bd076610c2abb2f | Improve granularity of component description | David-Desmaisons/Neutronium,NeutroniumCore/Neutronium,sjoerd222888/MVVM.CEF.Glue,David-Desmaisons/Neutronium,David-Desmaisons/Neutronium,NeutroniumCore/Neutronium,NeutroniumCore/Neutronium,sjoerd222888/MVVM.CEF.Glue,sjoerd222888/MVVM.CEF.Glue | WebBrowserEngine/ChromiumFX/HTMEngine.ChromiumFX/ChromiumFXWPFWebWindowFactory.cs | WebBrowserEngine/ChromiumFX/HTMEngine.ChromiumFX/ChromiumFXWPFWebWindowFactory.cs | using System;
using Chromium;
using Chromium.WebBrowser;
using Neutronium.Core;
using Neutronium.WebBrowserEngine.ChromiumFx.EngineBinding;
using Neutronium.WebBrowserEngine.ChromiumFx.Session;
using Neutronium.WPF;
using Chromium.Event;
namespace Neutronium.WebBrowserEngine.ChromiumFx
{
public class ChromiumFXWP... | using System;
using Chromium;
using Chromium.WebBrowser;
using Neutronium.Core;
using Neutronium.WebBrowserEngine.ChromiumFx.EngineBinding;
using Neutronium.WebBrowserEngine.ChromiumFx.Session;
using Neutronium.WPF;
using Chromium.Event;
namespace Neutronium.WebBrowserEngine.ChromiumFx
{
public class ChromiumFXWP... | mit | C# |
6f5eeb53595453a096daad9579f172e837d6ad9b | Use IWireMockLogger in example | StefH/WireMock.Net,StefH/WireMock.Net,WireMock-Net/WireMock.Net | src/dotnet-WireMock.Net/Program.cs | src/dotnet-WireMock.Net/Program.cs | using System;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using WireMock.Logging;
using WireMock.Net.StandAlone;
using WireMock.Server;
namespace WireMock.Net
{
public class Program
{
private static readonly int SleepTime = 30000;
private static readonly ILogge... | using System;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using WireMock.Net.StandAlone;
using WireMock.Server;
namespace WireMock.Net
{
public class Program
{
private static int SleepTime = 30000;
private static readonly ILogger Logger = LoggerFactory.Create(o... | apache-2.0 | C# |
c97ba90afb6f6e49aefb6780f5edbed438e3fa19 | Add - Aggiunta la registrazione nella composition root della ricerca della richiesta di assistenza | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.CompositionRoot/PersistenceServicesConfigurator.MongoDB.cs | src/backend/SO115App.CompositionRoot/PersistenceServicesConfigurator.MongoDB.cs | using Microsoft.Extensions.Configuration;
using Persistence.MongoDB;
using SimpleInjector;
using SO115App.API.Models.Servizi.Infrastruttura.GestioneSoccorso;
using SO115App.Models.Servizi.Infrastruttura.GestioneSoccorso;
using SO115App.Persistence.MongoDB;
namespace SO115App.CompositionRoot
{
internal static clas... | using Microsoft.Extensions.Configuration;
using Persistence.MongoDB;
using SimpleInjector;
using SO115App.API.Models.Servizi.Infrastruttura.GestioneSoccorso;
using SO115App.Persistence.MongoDB;
namespace SO115App.CompositionRoot
{
internal static class PersistenceServicesConfigurator_MongoDB
{
interna... | agpl-3.0 | C# |
e4cbefa005fae6673f4b42394a0e78e978799cd5 | Fix memory leak | step-up-labs/firebase-database-dotnet | src/Firebase/Offline/SetHandler.cs | src/Firebase/Offline/SetHandler.cs | namespace Firebase.Database.Offline
{
using Firebase.Database.Query;
using System.Threading.Tasks;
public class SetHandler<T> : ISetHandler<T>
{
public virtual async Task SetAsync(ChildQuery query, string key, OfflineEntry entry)
{
using (var child = query.Child(key))
... | namespace Firebase.Database.Offline
{
using Firebase.Database.Query;
using System.Threading.Tasks;
public class SetHandler<T> : ISetHandler<T>
{
public virtual Task SetAsync(ChildQuery query, string key, OfflineEntry entry)
{
if (entry.SyncOptions == SyncOptions.Put)
... | mit | C# |
33049ba34831bb2eed590e110d130090983bb3d2 | change the name of the drone dir, this way it can be checked in and have a place to place the source files. | juankakode/Drone | src/Drone/Drone.Lib/DroneConfig.cs | src/Drone/Drone.Lib/DroneConfig.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Drone.Lib.Helpers;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Drone.Lib
{
public class DroneConfig
{
public static readonly string DroneFileName = "drone.json";
public static readonly ... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Drone.Lib.Helpers;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Drone.Lib
{
public class DroneConfig
{
public static readonly string DroneFileName = "drone.json";
public static readonly ... | mit | C# |
29b45afdcf53a99d2be2e72bf5a5f5efc0869107 | Switch Conduit to use rift.lol | molenzwiebel/Mimic,BonusPlay/Mimic,Querijn/Mimic,Querijn/Mimic,molenzwiebel/Mimic,BonusPlay/Mimic,molenzwiebel/Mimic,Querijn/Mimic,BonusPlay/Mimic,Querijn/Mimic,molenzwiebel/Mimic,BonusPlay/Mimic | conduit/Program.cs | conduit/Program.cs | using System;
using System.IO;
namespace Conduit
{
class Program
{
public static string APP_NAME = "Mimic Conduit";
public static string VERSION = "2.0.0";
public static string HUB_WS = "ws://rift.mimic.lol/conduit";
public static string HUB = "https://rift.mimic.lo... | using System;
using System.IO;
namespace Conduit
{
class Program
{
public static string APP_NAME = "Mimic Conduit";
public static string VERSION = "2.0.0";
public static string HUB_WS = "ws://127.0.0.1:51001/conduit";
public static string HUB = "http://127.0.0.1:510... | mit | C# |
d8eedfc0acb7617fb1bee17858d9fade783fd007 | speed up bullets | pako1337/raim,pako1337/raim,pako1337/raim | PaCode.Raim/Model/Bullet.cs | PaCode.Raim/Model/Bullet.cs | using System;
namespace PaCode.Raim.Model
{
public class Bullet : IGameObject, IDestroyable, ILimitedTimelife
{
private static int _speed = 250;
public Guid Id { get; private set; }
public Vector2d Position { get; set; }
public Vector2d Speed { get; private set; }
publ... | using System;
namespace PaCode.Raim.Model
{
public class Bullet : IGameObject, IDestroyable, ILimitedTimelife
{
private static int _speed = 60;
public Guid Id { get; private set; }
public Vector2d Position { get; set; }
public Vector2d Speed { get; private set; }
publi... | mit | C# |
382b49706bd26940d1aa1b158adf6694e796bf28 | update version | gaochundong/Cowboy | SolutionVersion.cs | SolutionVersion.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyDescription("Cowboy is a library for building Sockets/HTTP based services.")]
[assembly: AssemblyCompany("Dennis Gao")]
[assembly: AssemblyProduct("Cowboy")]
[assembly: AssemblyCopyright("Copyright © 2015-2016 Dennis Gao.")]
[assembly: ... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyDescription("Cowboy is a library for building Sockets/HTTP based services.")]
[assembly: AssemblyCompany("Dennis Gao")]
[assembly: AssemblyProduct("Cowboy")]
[assembly: AssemblyCopyright("Copyright © 2015-2016 Dennis Gao.")]
[assembly: ... | mit | C# |
dbda536d50dc55cee45f7e5c925830388903c60f | Clean up restore logging and add time to restore | absynce/Raven.Assure,absynce/Raven.Assure | src/Raven.Assure/Fluent/Restore.cs | src/Raven.Assure/Fluent/Restore.cs | using System;
using System.Threading.Tasks;
using Raven.Abstractions.Data;
using Raven.Assure.Log;
using Raven.Client.Document;
namespace Raven.Assure.Fluent
{
public class Restore : AssureBase, IRestore<Restore>
{
public string DatabaseLocation { get; private set; }
public IRestore<Restore> From(s... | using System.Threading.Tasks;
using Raven.Abstractions.Data;
using Raven.Assure.Log;
using Raven.Client.Document;
namespace Raven.Assure.Fluent
{
public class Restore : AssureBase, IRestore<Restore>
{
public string DatabaseLocation { get; private set; }
public IRestore<Restore> From(string path)
... | mit | C# |
39103b954f3076d6e009151d97c311ce567d1b86 | Implement DeviceInformation | alesliehughes/monoDX,alesliehughes/monoDX | Microsoft.DirectX.DirectSound/Microsoft.DirectX.DirectSound/DeviceInformation.cs | Microsoft.DirectX.DirectSound/Microsoft.DirectX.DirectSound/DeviceInformation.cs | /*
* The MIT License (MIT)
*
* Copyright (c) 2013 Alistair Leslie-Hughes
*
* 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 ... | /*
* The MIT License (MIT)
*
* Copyright (c) 2013 Alistair Leslie-Hughes
*
* 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 ... | mit | C# |
f7af912766e4b0e67d554f1b4990bbbd9869614f | Fix ArgumentNullException on any RedditObject creation | CrustyJew/RedditSharp,pimanac/RedditSharp,justcool393/RedditSharp-1 | RedditSharp/RedditObject.cs | RedditSharp/RedditObject.cs | using Newtonsoft.Json;
using System;
namespace RedditSharp {
public abstract class RedditObject {
[JsonIgnore]
public Reddit Reddit { get; }
[JsonIgnore]
public IWebAgent WebAgent => Reddit?.WebAgent;
public RedditObject(Reddit reddit) {
if (reddit == null)
thro... | using Newtonsoft.Json;
using System;
namespace RedditSharp {
public abstract class RedditObject {
[JsonIgnore]
public Reddit Reddit { get; }
[JsonIgnore]
public IWebAgent WebAgent => Reddit?.WebAgent;
public RedditObject(Reddit reddit) {
if (Reddit == null)
thro... | mit | C# |
7c7e6f96f123ee5c44368c74abda38b928105a1b | disable test that requires x11 | majorsilence/My-FyiReporting,daniellor/My-FyiReporting,chripf/My-FyiReporting,maratoss/My-FyiReporting,chripf/My-FyiReporting,majorsilence/My-FyiReporting,chripf/My-FyiReporting,maratoss/My-FyiReporting,majorsilence/My-FyiReporting,chripf/My-FyiReporting,chripf/My-FyiReporting,majorsilence/My-FyiReporting,maratoss/My-F... | ReportTests/FunctionTest.cs | ReportTests/FunctionTest.cs | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ReportTests
{
public class FunctionTest
{
[Test()]
public void Test1()
{
// disable test. travis ci does not have x11
//string cwd = System.En... | using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ReportTests
{
public class FunctionTest
{
[Test()]
public void Test1()
{
string cwd = System.Environment.CurrentDirectory;
var rdlV... | apache-2.0 | C# |
381ccd3fb4a2c61d8af57ee0bf9ca9cdd83fb946 | correct assemblyname so svg icons show | AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us,AerisG222/mikeandwan.us | src/auth/Views/_ViewImports.cshtml | src/auth/Views/_ViewImports.cshtml | @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, maw_auth
@using MawMvcApp.TagHelpers
| @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, auth
@using MawMvcApp.TagHelpers
| mit | C# |
a5a0bbbd29bfa5c9bc1f6427b0164aa445cce69a | Update the namespace test | jonathanvdc/ecsc | tests/cs/namespace/Namespace.cs | tests/cs/namespace/Namespace.cs | using System;
namespace Lib
{
public sealed class Box<T>
{
public T value;
}
}
namespace Lib.BoxTricks
{
public static class BoxUtils
{
public static void Print<T>(Box<T> box)
{
Console.WriteLine("box [{0}]", box.value);
}
}
}
public static class Pr... | using System;
namespace Lib
{
public sealed class Box<T>
{
public T value;
}
}
public static class Program
{
public static void Main()
{
var b = new Lib.Box<int>();
b.value = 10;
Console.WriteLine(b.value);
}
} | mit | C# |
0c91a44f40927d15b9d6dade96c4c3285bc51efa | Add filter property to most watched movies request. | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Movies/Common/TraktMoviesMostWatchedRequest.cs | Source/Lib/TraktApiSharp/Requests/WithoutOAuth/Movies/Common/TraktMoviesMostWatchedRequest.cs | namespace TraktApiSharp.Requests.WithoutOAuth.Movies.Common
{
using Base;
using Base.Get;
using Enums;
using Objects.Basic;
using Objects.Get.Movies.Common;
using System.Collections.Generic;
internal class TraktMoviesMostWatchedRequest : TraktGetRequest<TraktPaginationListResult<TraktMostW... | namespace TraktApiSharp.Requests.WithoutOAuth.Movies.Common
{
using Base.Get;
using Enums;
using Objects.Basic;
using Objects.Get.Movies.Common;
using System.Collections.Generic;
internal class TraktMoviesMostWatchedRequest : TraktGetRequest<TraktPaginationListResult<TraktMostWatchedMovie>, Tr... | mit | C# |
b32481f82024876b7e019cf31b37087f1e5b2dfe | disable tcp remoting control by default | kerryjiang/NDock,kerryjiang/NDock | src/NDock.Base/Config/NDockConfig.cs | src/NDock.Base/Config/NDockConfig.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NDock.Base.Configuration;
namespace NDock.Base.Config
{
[Serializable]
public class NDockConfig : IConfigSource
{
public const int DefaultTcpRemotingPort = 0;
public NDockConfig()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NDock.Base.Configuration;
namespace NDock.Base.Config
{
[Serializable]
public class NDockConfig : IConfigSource
{
public const int DefaultTcpRemotingPort = 4040;
public NDockConfig()
{
... | apache-2.0 | C# |
8415f3119342d4d4dd81e8f92e69d0621bd7b2e1 | Increment version | gering/Tiny-JSON | Tiny-JSON/Tiny-JSON/Json.cs | Tiny-JSON/Tiny-JSON/Json.cs | namespace Tiny {
public static class Json {
public const string Version = "1.1.1";
public static T Decode<T>(this string json) {
if (string.IsNullOrEmpty(json)) return default(T);
object jsonObj = JsonParser.ParseValue(json);
if (jsonObj == null) return default(T);
return JsonMapper.DecodeJsonObject<T... | namespace Tiny {
public static class Json {
public const string Version = "1.0.1";
public static T Decode<T>(this string json) {
if (string.IsNullOrEmpty(json)) return default(T);
object jsonObj = JsonParser.ParseValue(json);
if (jsonObj == null) return default(T);
return JsonMapper.DecodeJsonObject<T... | mit | C# |
0306b5274da2ea0fb496a0516b6f4b477bcef760 | Add list filter ManureAndCompost | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Core/Domain/AnalysisMethod.cs | Anlab.Core/Domain/AnalysisMethod.cs | using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Anlab.Core.Domain
{
public class AnalysisMethod
{
// SOP number
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public int Id { get; set; }
[StringLength(256)]
... | using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Anlab.Core.Domain
{
public class AnalysisMethod
{
// SOP number
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public int Id { get; set; }
[StringLength(256)]
... | mit | C# |
0fbd64c07384a53449c32c12d2a8e7ef3cd8285e | Fix Newtonsoft.Json usage example | Jaskaranbir/InstaPost,Jaskaranbir/InstaPost,Jaskaranbir/InstaPost,Jaskaranbir/InstaPost | Api/Controllers/ValuesController.cs | Api/Controllers/ValuesController.cs | using Api.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Data.SqlClient;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using MongoDB.Driver;
using MongoDB.Bson;
using Newtonsoft.Json;
namespace Api.Controllers
{
[Rout... | using Api.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Data.SqlClient;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using MongoDB.Driver;
using MongoDB.Bson;
using Newtonsoft.Json;
namespace Api.Controllers
{
[Rout... | apache-2.0 | C# |
b303e3371b01cb61349d95ba8c79d1cef267d7e7 | Fix bug in GammaRamp validation | rhynodegreat/CSharpGameLibrary,rhynodegreat/CSharpGameLibrary,vazgriz/CSharpGameLibrary,vazgriz/CSharpGameLibrary | CSharpGameLibrary/GLFW/GammaRamp.cs | CSharpGameLibrary/GLFW/GammaRamp.cs | using System;
namespace CSGL.GLFW {
public class GammaRamp {
public ushort[] red;
public ushort[] green;
public ushort[] blue;
public GammaRamp() {
red = new ushort[256];
green = new ushort[256];
blue = new ushort[256];
}
public... | using System;
namespace CSGL.GLFW {
public class GammaRamp {
public ushort[] red;
public ushort[] green;
public ushort[] blue;
public GammaRamp() {
red = new ushort[256];
green = new ushort[256];
blue = new ushort[256];
}
public... | mit | C# |
aaed7141609a5dbfbf448c371e7f8dc1717a7931 | Adjust Explode alpha slightly. | default0/osu,peppy/osu,DrabWeb/osu,NeoAdonis/osu,Nabile-Rahmani/osu,naoey/osu,ppy/osu,johnneijzen/osu,peppy/osu,UselessToucan/osu,ZLima12/osu,NeoAdonis/osu,RedNesto/osu,UselessToucan/osu,theguii/osu,naoey/osu,tacchinotacchi/osu,Damnae/osu,smoogipooo/osu,johnneijzen/osu,nyaamara/osu,UselessToucan/osu,2yangk23/osu,Drezi1... | osu.Game.Modes.Osu/Objects/Drawables/Pieces/ExplodePiece.cs | osu.Game.Modes.Osu/Objects/Drawables/Pieces/ExplodePiece.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using OpenTK;
namespace osu.Game.Modes.Osu.Objects.Drawables.Pieces
{
public class ... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using OpenTK;
namespace osu.Game.Modes.Osu.Objects.Drawables.Pieces
{
public class ... | mit | C# |
c25f85dde9cf44ba3b5cc231ce56961043e61516 | Enable shutdown and set reset period. | wasabii/Cogito,wasabii/Cogito | Cogito.Components.Server/Program.cs | Cogito.Components.Server/Program.cs | using Topshelf;
using Topshelf.HostConfigurators;
namespace Cogito.Components.Server
{
public static class Program
{
/// <summary>
/// Main application entry point.
/// </summary>
/// <param name="args"></param>
/// <returns></returns>
public static int Main(s... | using Topshelf;
using Topshelf.HostConfigurators;
namespace Cogito.Components.Server
{
public static class Program
{
/// <summary>
/// Main application entry point.
/// </summary>
/// <param name="args"></param>
/// <returns></returns>
public static int Main(s... | mit | C# |
b2b009e8ea6842afaee721b87e264978acffb233 | use environment variable for connection string | modulexcite/lokad-cqrs | Cqrs.Azure.Tests/ConnectionConfig.cs | Cqrs.Azure.Tests/ConnectionConfig.cs | #region (c) 2010-2011 Lokad - CQRS for Windows Azure - New BSD License
// Copyright (c) Lokad 2010-2011, http://www.lokad.com
// This code is released as Open Source under the terms of the New BSD Licence
#endregion
using System;
using Microsoft.WindowsAzure;
namespace Cqrs.Azure.Tests
{
public static class Conn... | #region (c) 2010-2011 Lokad - CQRS for Windows Azure - New BSD License
// Copyright (c) Lokad 2010-2011, http://www.lokad.com
// This code is released as Open Source under the terms of the New BSD Licence
#endregion
using Microsoft.WindowsAzure;
namespace Cqrs.Azure.Tests
{
public static class ConnectionConfig
... | bsd-3-clause | C# |
645fe1ea30ef711dd82ce75e1e37d0a41aeb5df1 | Create the log file if it doesn't already exist | UKParliData/bptweets | src/UKParliData.BPTweets/TweetLog.cs | src/UKParliData.BPTweets/TweetLog.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UKParliData.BPTweets
{
public class TweetLog : ITweetLog
{
private string filename;
public TweetLog(string filename)
{
this.filena... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UKParliData.BPTweets
{
public class TweetLog : ITweetLog
{
private string filename;
public TweetLog(string filename)
{
this.filena... | mit | C# |
769566aa3d6d8a11692bc37b3efc68aaa53c2617 | Use using() for Ninject kernel. | SludgeVohaul/P2EApp | P2EApp/Program.cs | P2EApp/Program.cs | using System;
using System.Linq;
using CommandLine;
using Ninject;
using P2E.ExtensionMethods;
using P2E.Interfaces.AppLogic;
using P2E.Interfaces.CommandLine;
namespace P2EApp
{
internal static class Program
{
static void Main(string[] args)
{
try
{
// ... | using System;
using System.Linq;
using CommandLine;
using Ninject;
using P2E.ExtensionMethods;
using P2E.Interfaces.AppLogic;
using P2E.Interfaces.CommandLine;
namespace P2EApp
{
internal static class Program
{
static void Main(string[] args)
{
try
{
var... | bsd-2-clause | C# |
56fd052b429d12040fd8f0a744474ee9b5b7f7b0 | Update version | bartlomiejwolk/Annotation | DescriptionComponent/Description.cs | DescriptionComponent/Description.cs | // Copyright (c) 2015 Bartlomiej Wolk (bartlomiejwolk@gmail.com)
//
// This file is part of the Annotation extension for Unity.
// Licensed under the MIT license. See LICENSE file in the project root folder.
using UnityEngine;
namespace AnnotationEx.DescriptionComponent {
public sealed class Description : Mon... | // Copyright (c) 2015 Bartlomiej Wolk (bartlomiejwolk@gmail.com)
//
// This file is part of the Annotation extension for Unity.
// Licensed under the MIT license. See LICENSE file in the project root folder.
using UnityEngine;
namespace AnnotationEx.DescriptionComponent {
public sealed class Description : Mon... | mit | C# |
c3484a23cb58e435fb1d1a6ba45bf8a449084e0d | Update Unit Tests | foxbot/Discord.Addons.EmojiTools,foxbot/Discord.Addons.EmojiTools | test/Tests.cs | test/Tests.cs | using Discord.Addons.EmojiTools;
using System;
using Xunit;
namespace Tests
{
public class Tests
{
[Fact]
public void Parse_Unicode()
{
Assert.Equal("🏎", EmojiExtensions.FromText(":racing_car:").Name);
}
[Fact]
public void Parse_Unicode_Alias()
... | using System;
using Xunit;
using Discord.Addons.EmojiTools;
namespace Tests
{
public class Tests
{
[Fact]
public void Parse_Unicode()
{
Assert.Equal("🏎", UnicodeEmoji.FromText(":racing_car:"));
}
[Fact]
public void Parse_Unicode_Alias()
{
... | isc | C# |
b7dc99206b36c34ddc5d10607edc315e6d7bf5f8 | Fix threading issue on initialisation | episerver/AlloyDemoKit,episerver/AlloyDemoKit,episerver/AlloyDemoKit | src/AlloyDemoKit/Business/Channels/DisplayResolutionBase.cs | src/AlloyDemoKit/Business/Channels/DisplayResolutionBase.cs | using System;
using EPiServer.Framework.Localization;
using EPiServer.ServiceLocation;
using EPiServer.Web;
namespace AlloyDemoKit.Business.Channels
{
/// <summary>
/// Base class for all resolution definitions
/// </summary>
public abstract class DisplayResolutionBase : IDisplayResolution
{
... | using EPiServer.Framework.Localization;
using EPiServer.ServiceLocation;
using EPiServer.Web;
namespace AlloyDemoKit.Business.Channels
{
/// <summary>
/// Base class for all resolution definitions
/// </summary>
public abstract class DisplayResolutionBase : IDisplayResolution
{
private Inje... | apache-2.0 | C# |
d12a00a2d1e78f91b44a70c0258736106a8850a6 | Validate Evolve.Configuration | lecaillon/Evolve | src/Evolve/Configuration/EvolveConfigurationProviderBase.cs | src/Evolve/Configuration/EvolveConfigurationProviderBase.cs | using System.Linq;
using Evolve.Utilities;
namespace Evolve.Configuration
{
public abstract class EvolveConfigurationProviderBase : IConfigurationProvider
{
private const string ValueCannotBeNull = "Configuration parameter [{0}] cannot be null or empty. Update your Evolve configuration file at: {1}.";... | using System;
using Evolve.Utilities;
namespace Evolve.Configuration
{
public abstract class EvolveConfigurationProviderBase : IConfigurationProvider
{
protected string _filePath;
protected IEvolveConfiguration _configuration;
protected const string ConnectionString = "Evolve.Connecti... | mit | C# |
68a30554c68ed8d3201a67ff277506e5bee070a1 | set version info | simpsojo/emcaster,fish55/emcaster,fish55/emcaster,simpsojo/emcaster,simpsojo/emcaster,fish55/emcaster | Emcaster/Properties/AssemblyInfo.cs | Emcaster/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly : AssemblyTitle("Emcaster")]
[assembly : AssemblyDes... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly : AssemblyTitle("Emcaster")]
[assembly : AssemblyDes... | bsd-3-clause | C# |
18375d33007e6294439afab9747b37e968d6d069 | Use IndexOf for case-insensitive searching | DotNetKit/DotNetKit.Wpf.AutoCompleteComboBox | DotNetKit.Wpf.AutoCompleteComboBox/Windows/Controls/AutoCompleteComboBoxSetting.cs | DotNetKit.Wpf.AutoCompleteComboBox/Windows/Controls/AutoCompleteComboBoxSetting.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DotNetKit.Windows.Controls
{
/// <summary>
/// Represents an object to configure <see cref="AutoCompleteComboBox"/>.
/// </summary>
public class AutoCompleteComboBoxSetting
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DotNetKit.Windows.Controls
{
/// <summary>
/// Represents an object to configure <see cref="AutoCompleteComboBox"/>.
/// </summary>
public class AutoCompleteComboBoxSetting
... | mit | C# |
19c39c3493400f0e1e8a53f941e3b5de62f1b3ad | Improve error message on EmptyConstraint. | nunit/nunit,OmicronPersei/nunit,appel1/nunit,mikkelbu/nunit,OmicronPersei/nunit,JustinRChou/nunit,JustinRChou/nunit,mikkelbu/nunit,mjedrzejek/nunit,nunit/nunit,mjedrzejek/nunit,appel1/nunit | src/NUnitFramework/framework/Constraints/EmptyConstraint.cs | src/NUnitFramework/framework/Constraints/EmptyConstraint.cs | // ***********************************************************************
// Copyright (c) 2007 Charlie Poole, Rob Prouse
//
// 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 restri... | // ***********************************************************************
// Copyright (c) 2007 Charlie Poole, Rob Prouse
//
// 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 restri... | mit | C# |
de871a7537d434af337c08423f8afcad262a074d | Fix PerspexSynchronizationContext | jkoritzinsky/Perspex,AvaloniaUI/Avalonia,SuperJMN/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,Perspex/Perspex,OronDF343/Avalonia,jkoritzinsky/Avalonia,punker76/Perspex,jkoritzinsky/Avalonia,jkoritzinsky/Avalonia,susloparovdenis/Perspex,akrisiun/Pers... | src/Perspex.Base/Threading/PerspexSynchronizationContext.cs | src/Perspex.Base/Threading/PerspexSynchronizationContext.cs | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
namespace Per... | // Copyright (c) The Perspex Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
namespace Per... | mit | C# |
a81e6bc0f26577c8cda73bc66627f8314103ae83 | Update DonationReimu.cs | uulltt/NitoriWare,NitorInc/NitoriWare,plrusek/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare | Assets/Resources/Microgames/_Finished/Donation/Scripts/DonationReimu.cs | Assets/Resources/Microgames/_Finished/Donation/Scripts/DonationReimu.cs | using UnityEngine;
using System.Collections;
public class DonationReimu : MonoBehaviour
{
public int position, minPosition, maxPosition;
public float minX, maxX, moveSpeed;
private Rigidbody2D body;
public float progress;
public ObjectPool textPool;
void Awake()
{
body = GetComponent<Rigidbody2D>();
... | using UnityEngine;
using System.Collections;
public class DonationReimu : MonoBehaviour
{
public int position, minPosition, maxPosition;
public float minX, maxX, moveSpeed;
private Rigidbody2D body;
public float progress;
public ObjectPool textPool;
void Awake()
{
body = GetComponent<Rigidbody2D>();
... | mit | C# |
fdac9209418d7d452836c16ae3f913bd41b37293 | Modify ConnectionMode | emoacht/ManagedNativeWifi | ManagedNativeWifi/ConnectionMode.cs | ManagedNativeWifi/ConnectionMode.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static ManagedNativeWifi.Win32.NativeMethod;
namespace ManagedNativeWifi
{
/// <summary>
/// Connection mode
/// </summary>
public enum ConnectionMode
{
/// <summary>
/// Not used.
///... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static ManagedNativeWifi.Win32.NativeMethod;
namespace ManagedNativeWifi
{
/// <summary>
/// Connection mode
/// </summary>
/// <remarks>Equivalent to WLAN_CONNECTION_MODE</remarks>
public e... | mit | C# |
07076a7159f1ce9c95244e865ed81e1db5f28bdb | Improve AssemblyInfo | NLog/NLog.Web,mmaitre314/NLog.Web,304NotModified/NLog.Web | NLog.Web/Properties/AssemblyInfo.cs | NLog.Web/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("NL... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("NL... | bsd-3-clause | C# |
c5c8a003d7c56498a4208b031f2fe0dca9281617 | Update Button.Design.cshtml (#8022) | OrchardCMS/Orchard,LaserSrl/Orchard,OrchardCMS/Orchard,aaronamm/Orchard,IDeliverable/Orchard,aaronamm/Orchard,IDeliverable/Orchard,aaronamm/Orchard,aaronamm/Orchard,Lombiq/Orchard,Lombiq/Orchard,OrchardCMS/Orchard,hbulzy/Orchard,LaserSrl/Orchard,hbulzy/Orchard,OrchardCMS/Orchard,Lombiq/Orchard,IDeliverable/Orchard,Lomb... | src/Orchard.Web/Modules/Orchard.DynamicForms/Views/Elements/Button.Design.cshtml | src/Orchard.Web/Modules/Orchard.DynamicForms/Views/Elements/Button.Design.cshtml | @using Orchard.DynamicForms.Elements
@using Orchard.Layouts.Helpers
@{
var element = (Button)Model.Element;
var tagBuilder = TagBuilderExtensions.CreateElementTagBuilder(Model, "button");
tagBuilder.Attributes["type"] = "button";
tagBuilder.Attributes["name"] = element.Name;
tagBuilder.SetInnerTex... | @using Orchard.DynamicForms.Elements
@using Orchard.Layouts.Helpers
@{
var element = (Button)Model.Element;
var tagBuilder = TagBuilderExtensions.CreateElementTagBuilder(Model, "button");
tagBuilder.Attributes["type"] = "submit";
tagBuilder.Attributes["name"] = element.Name;
tagBuilder.SetInnerTex... | bsd-3-clause | C# |
803571fdbfbca5cb5f9aa6032c56b90e26f051e8 | bump assembly version | cgerrior/recurly-client-net,jvalladolid/recurly-client-net | Library/Properties/AssemblyInfo.cs | Library/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Re... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Re... | mit | C# |
93093e8c5c1a83c06d74963e82c6e26e10933fa7 | Add missing RotateZ helper function. | GeirGrusom/ModGL | ModGL/Numerics/MatrixExtensions.cs | ModGL/Numerics/MatrixExtensions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace ModGL.Numerics
{
public static class MatrixExtensions
{
public static Matrix4f Translate(this Matrix4f mat, Vector3f offset)
{
return... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
namespace ModGL.Numerics
{
public static class MatrixExtensions
{
public static Matrix4f Translate(this Matrix4f mat, Vector3f offset)
{
return... | lgpl-2.1 | C# |
dcd3bc2ea2ed5b657ce4632f0c5e2826f4337490 | fix typo | SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice,SkillsFundingAgency/das-providerapprenticeshipsservice | src/SFA.DAS.ProviderApprenticeshipsService.Web/Views/Agreement/Agreements.cshtml | src/SFA.DAS.ProviderApprenticeshipsService.Web/Views/Agreement/Agreements.cshtml | @model SFA.DAS.ProviderApprenticeshipsService.Web.Models.Agreement.AgreementsViewModel
@{
ViewBag.Title = "Organisations and Agreements";
ViewBag.PageID = "organisations-and-agreements";
}
<div class="grid-row">
<div class="column-full">
<h1 class="heading-xlarge">Organisations and agreements</h... | @model SFA.DAS.ProviderApprenticeshipsService.Web.Models.Agreement.AgreementsViewModel
@{
ViewBag.Title = "Organisations and Agreements";
ViewBag.PageID = "organisations-and-agreements";
}
<div class="grid-row">
<div class="column-full">
<h1 class="heading-xlarge">Organisations and agreements</h... | mit | C# |
af72cc5d7f34403332a687128cbca0e9a240be47 | Fix for #135 - AJAX requests for named instances | maurobennici/Opserver,rducom/Opserver,VictoriaD/Opserver,manesiotise/Opserver,maurobennici/Opserver,jeddytier4/Opserver,mqbk/Opserver,opserver/Opserver,mqbk/Opserver,rducom/Opserver,GABeech/Opserver,geffzhang/Opserver,geffzhang/Opserver,jeddytier4/Opserver,opserver/Opserver,opserver/Opserver,manesiotise/Opserver,manesi... | Opserver/Views/SQL/Dashboard.cshtml | Opserver/Views/SQL/Dashboard.cshtml | @using StackExchange.Opserver.Controllers
@using StackExchange.Opserver.Data.SQL
@using StackExchange.Opserver.Views.SQL
@model DashboardModel
@{
Layout = "~/Views/Shared/Master.cshtml";
this.SetPageTitle("SQL Dashboard");
this.SetTopNodes(SQLInstance.AllInstances, "SQL", Model.CurrentInstance, Model.View ... | @using StackExchange.Opserver.Controllers
@using StackExchange.Opserver.Data.SQL
@using StackExchange.Opserver.Views.SQL
@model DashboardModel
@{
Layout = "~/Views/Shared/Master.cshtml";
this.SetPageTitle("SQL Dashboard");
this.SetTopNodes(SQLInstance.AllInstances, "SQL", Model.CurrentInstance, Model.View ... | mit | C# |
187fcfdf25d0ccdfe3ed8980ea520cb19bff394a | set userID and displayName to BuildingBlock | Notulp/Pluton,Notulp/Pluton | Pluton/Events/FrameDeployedEvent.cs | Pluton/Events/FrameDeployedEvent.cs | using System;
using UnityEngine;
namespace Pluton
{
public class FrameDeployedEvent : CountedInstance
{
public readonly Player Deployer;
public readonly Item.Modules.Planner _planner;
public readonly BuildingPart BuildingPart;
public readonly InvItem invItem;
public Fr... | using System;
using UnityEngine;
namespace Pluton
{
public class FrameDeployedEvent : CountedInstance
{
public readonly Player Deployer;
public readonly Item.Modules.Planner _planner;
public readonly BuildingPart BuildingPart;
public readonly InvItem invItem;
public Fr... | mit | C# |
da0abfc976b0cd55043020719db86813dbcb70cd | Use instance method in constructor | rytz/MatterControl,CodeMangler/MatterControl,mmoening/MatterControl,rytz/MatterControl,unlimitedbacon/MatterControl,CodeMangler/MatterControl,mmoening/MatterControl,jlewin/MatterControl,MatterHackers/MatterControl,CodeMangler/MatterControl,larsbrubaker/MatterControl,MatterHackers/MatterControl,unlimitedbacon/MatterCont... | SettingsManagement/UserSettings.cs | SettingsManagement/UserSettings.cs | using MatterHackers.MatterControl.DataStorage;
using System.Collections.Generic;
using System.Linq;
namespace MatterHackers.MatterControl
{
public class UserSettings
{
private static UserSettings globalInstance = null;
private static readonly object syncRoot = new object();
private Dictionary<string, UserSe... | using MatterHackers.MatterControl.DataStorage;
using System.Collections.Generic;
using System.Linq;
namespace MatterHackers.MatterControl
{
public class UserSettings
{
private static UserSettings globalInstance = null;
private static readonly object syncRoot = new object();
private Dictionary<string, UserSe... | bsd-2-clause | C# |
5cbaa33001067235490daef2df1c054347cf7fc7 | Add help text when incorrect args passed in | adoprog/Sitecore-Courier,cmgutmanis/Sitecore-Courier,rauljmz/Sitecore-Courier,unic/Sitecore-Courier,csteeg/Sitecore-Courier | Sitecore.Courier.Runner/Program.cs | Sitecore.Courier.Runner/Program.cs | namespace Sitecore.Courier.Runner
{
using Sitecore.Update;
using Sitecore.Update.Engine;
using System;
/// <summary>
/// Defines the program class.
/// </summary>
internal class Program
{
/// <summary>
/// Mains the specified args.
/// </summary>
/// <pa... | namespace Sitecore.Courier.Runner
{
using Sitecore.Update;
using Sitecore.Update.Engine;
using System;
/// <summary>
/// Defines the program class.
/// </summary>
internal class Program
{
/// <summary>
/// Mains the specified args.
/// </summary>
/// <pa... | mit | C# |
8d2d71ab15d26c5065c7254678634aa1b6ec00b8 | Apply a ReadTimeout/WriteTimeout to serialport stream | mycroes/SupportManager,mycroes/SupportManager,mycroes/SupportManager | SupportManager.Control/ATHelper.cs | SupportManager.Control/ATHelper.cs | using System;
using System.IO.Ports;
using MYCroes.ATCommands;
using MYCroes.ATCommands.Forwarding;
namespace SupportManager.Control
{
public class ATHelper : IDisposable
{
private readonly SerialPort serialPort;
public ATHelper(string port)
{
serialPort = new SerialPort(po... | using System;
using System.IO.Ports;
using MYCroes.ATCommands;
using MYCroes.ATCommands.Forwarding;
namespace SupportManager.Control
{
public class ATHelper : IDisposable
{
private readonly SerialPort serialPort;
public ATHelper(string port)
{
serialPort = new SerialPort(po... | mit | C# |
61dd7bb49d13df29383ab7508de65304ca5dd65d | Update RuleUpdater.cs | win120a/ACClassRoomUtil,win120a/ACClassRoomUtil | ProcessBlockUtil/RuleUpdater.cs | ProcessBlockUtil/RuleUpdater.cs | /*
Copyright (C) 2011-2014 AC Inc. (Andy Cheung)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law ... | /*
Copyright (C) 2011-2014 AC Inc. (Andy Cheung)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law ... | apache-2.0 | C# |
acd3ac2575077802fbe68fcced6ad6adf2d959a1 | Update Export-Project.csx | Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | scripts/Export-Project.csx | scripts/Export-Project.csx | using System.IO;
var project = Editor.Project;
var output = "D:\\";
foreach (var document in project.Documents)
{
var dir = Path.Combine(output, document.Name);
Directory.CreateDirectory(dir);
foreach (var page in document.Pages)
{
foreach (var writer in Editor.FileWriters)
{
... | using System.IO;
var project = Editor.Project;
var output = "D:\\DOKUMENTY\\WEB\\EXPORT\\";
foreach (var document in project.Documents)
{
var dir = Path.Combine(output, document.Name);
Directory.CreateDirectory(dir);
foreach (var page in document.Pages)
{
foreach (var writer in Editor.FileWr... | mit | C# |
a45a4427f575a7cf8c66d8b9b442ded2aab70f8c | Test that a non thrown exception produces a report | bugsnag/bugsnag-dotnet,bugsnag/bugsnag-dotnet | tests/Bugsnag.Tests/ReportTests.cs | tests/Bugsnag.Tests/ReportTests.cs | using Bugsnag.Payload;
using Xunit;
namespace Bugsnag.Tests
{
public class ReportTests
{
[Fact]
public void BasicTest()
{
System.Exception exception = null;
var configuration = new Configuration("123456");
try
{
throw new System.Exception("test");
}
catch (S... | using Bugsnag.Payload;
using Xunit;
namespace Bugsnag.Tests
{
public class ReportTests
{
[Fact]
public void BasicTest()
{
System.Exception exception = null;
var configuration = new Configuration("123456");
try
{
throw new System.Exception("test");
}
catch (S... | mit | C# |
31ad3927a6be78ccebce17104a92834b8d9778c3 | Fix CppCodegen build break and hook up CppCodegen to TFS build | yizhang82/corert,tijoytom/corert,shrah/corert,shrah/corert,tijoytom/corert,krytarowski/corert,gregkalapos/corert,gregkalapos/corert,tijoytom/corert,yizhang82/corert,krytarowski/corert,yizhang82/corert,krytarowski/corert,krytarowski/corert,gregkalapos/corert,shrah/corert,tijoytom/corert,gregkalapos/corert,yizhang82/core... | src/ILCompiler.CppCodeGen/src/Compiler/DependencyAnalysis/CppCodegenNodeFactory.cs | src/ILCompiler.CppCodeGen/src/Compiler/DependencyAnalysis/CppCodegenNodeFactory.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 ILCompiler.DependencyAnalysisFramework;
using Internal.TypeSystem;
namespace ILCompiler.Depend... | // 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 ILCompiler.DependencyAnalysisFramework;
using Internal.TypeSystem;
namespace ILCompiler.Depend... | mit | C# |
3fb8918386ff36f4a06c85ae7831f260bc86d84c | Fix RenderSearchTemplate unit tests | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Nest/Search/SearchTemplate/RenderSearchTemplate/RenderSearchTemplateRequest.cs | src/Nest/Search/SearchTemplate/RenderSearchTemplate/RenderSearchTemplateRequest.cs | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Utf8Json;
namespace Nest
{
public partial interface IRenderSearchTemplateRequest
{
[DataMember(Name = "file")]
string File { get; set; }
[Obsolete("Inline is being deprecated for Source and will be removed in Elasticsea... | using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Utf8Json;
namespace Nest
{
public partial interface IRenderSearchTemplateRequest
{
[DataMember(Name ="file")]
string File { get; set; }
[Obsolete("Inline is being deprecated for Source and will be removed in Elasticsear... | apache-2.0 | C# |
2b79b097cd38ea636ae6e73fdf510e71ec668566 | Add block not in order, WIP@ | ajlopez/PegSharp | Src/PegSharp/External/BlockChain.cs | Src/PegSharp/External/BlockChain.cs | namespace PegSharp.External
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class BlockChain
{
private List<BlockData> blocks = new List<BlockData>();
private List<BlockData> others = new List<BlockData>();
pub... | namespace PegSharp.External
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class BlockChain
{
private List<BlockData> blocks = new List<BlockData>();
private List<BlockData> others = new List<BlockData>();
pub... | mit | C# |
262e9b8475b8d4433fd406ce9f7caab03313e9c8 | Clarify reason for mismatch in name of "email" property | bcemmett/SurveyMonkeyApi-v3 | SurveyMonkey/Containers/Response.cs | SurveyMonkey/Containers/Response.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using SurveyMonkey.Enums;
namespace SurveyMonkey.Containers
{
[JsonConverter(typeof(TolerantJsonConverter))]
public class Response : IPageableContainer
{
public long? Id { get; set; }
public long? Sur... | using System;
using System.Collections.Generic;
using System.Linq;
using Newtonsoft.Json;
using SurveyMonkey.Enums;
namespace SurveyMonkey.Containers
{
[JsonConverter(typeof(TolerantJsonConverter))]
public class Response : IPageableContainer
{
public long? Id { get; set; }
public long? Sur... | mit | C# |
2ef3b95ada18ba5f71cc261a53c40444a76b8b37 | Fix group | BigBabay/AsyncConverter,BigBabay/AsyncConverter | AsyncConverter/Highlightings/NullReturnAsTaskHighlighting.cs | AsyncConverter/Highlightings/NullReturnAsTaskHighlighting.cs | using JetBrains.DocumentModel;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.CSharp.Parsing;
using JetBrains.ReSharper.Psi.CSharp.Tree;
using JetBrains.ReSharper.Psi.Tree;
[assembly:RegisterConfigurableHighlightingsGroup("AsyncConverter", "Async conver... | using JetBrains.DocumentModel;
using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.CSharp.Parsing;
using JetBrains.ReSharper.Psi.CSharp.Tree;
using JetBrains.ReSharper.Psi.Tree;
[assembly:RegisterConfigurableHighlightingsGroup("AsyncConverter", "Async conver... | mit | C# |
b8b138e64c926f1c3437fe8681d07afa6767fdb5 | Update PaddleLeft.cs | thakyZ/myFirstXNAGame,thakyZ/Glow-Pong | myFirstXNAGame/myFirstXNAGame/PaddleLeft.cs | myFirstXNAGame/myFirstXNAGame/PaddleLeft.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Inp... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.In... | unknown | C# |
2deda95623ada6c70bdac9a023bc03466d750f0c | fix compile | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-yaml/src/Daemon/Stages/YamlLanguageSpecificDaemonBehaviour.cs | resharper/resharper-yaml/src/Daemon/Stages/YamlLanguageSpecificDaemonBehaviour.cs | using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Plugins.Yaml.Psi;
using JetBrains.ReSharper.Psi;
namespace JetBrains.ReSharper.Plugins.Yaml.Daemon.Stages
{
[Language(typeof(YamlLanguage))]
public class YamlLanguageSpecificDaemonBehaviour : LanguageSpecificDaemonBehavior
{
public... | using JetBrains.ReSharper.Feature.Services.Daemon;
using JetBrains.ReSharper.Plugins.Yaml.Psi;
using JetBrains.ReSharper.Psi;
namespace JetBrains.ReSharper.Plugins.Yaml.Daemon.Stages
{
[Language(typeof(YamlLanguage))]
public class YamlLanguageSpecificDaemonBehaviour : LanguageSpecificDaemonBehavior
{
public... | apache-2.0 | C# |
025d56995a58ae993eeba7af1299fd8a8bc6c164 | Add debug mode | mitchfizz05/DangerousPanel,mitchfizz05/DangerousPanel,mitchfizz05/DangerousPanel | Program.cs | Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DangerousPanel_Server
{
class Program
{
public static bool Debug = true;
static void Log(string text, ConsoleColor color = ConsoleColor.White, bool debug = false)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DangerousPanel_Server
{
class Program
{
static bool Debug = true;
static void Log(string text, ConsoleColor color = ConsoleColor.White, bool debug = false)
{
... | mit | C# |
22f559ef7493d68e8648d0546b773dc6a1d6c0ad | Fix SafeWaitTests | atata-framework/atata-webdriverextras,atata-framework/atata-webdriverextras | src/Atata.WebDriverExtras.Tests/SafeWaitTests.cs | src/Atata.WebDriverExtras.Tests/SafeWaitTests.cs | using System;
using System.Threading;
using NUnit.Framework;
namespace Atata.WebDriverExtras.Tests
{
[TestFixture]
[Parallelizable(ParallelScope.None)]
public class SafeWaitTests
{
private SafeWait<object> wait;
[SetUp]
public void SetUp()
{
wait = new Safe... | using System;
using System.Threading;
using NUnit.Framework;
namespace Atata.WebDriverExtras.Tests
{
[TestFixture]
public class SafeWaitTests
{
private SafeWait<object> wait;
[SetUp]
public void SetUp()
{
wait = new SafeWait<object>(new object())
{
... | apache-2.0 | C# |
398a42707b8078c7f06b016de6db130615859c5b | Write log in CreateTask method. | s-takatsu/aspnetboilerplate-samples,GutierrezDev/aspnetboilerplate-samples,bikaqiou2000/aspnetboilerplate-samples,luchaoshuai/aspnetboilerplate-samples,Saviio/aspnetboilerplate-samples,kylin589/aspnetboilerplate-samples,bikaqiou2000/aspnetboilerplate-samples,nicklv/aspnetboilerplate-samples,aspnetboilerplate/aspnetboil... | SimpleTaskSystemSPA_AngularJs_EntityFramework/SimpleTaskSystem.Application/Tasks/TaskAppService.cs | SimpleTaskSystemSPA_AngularJs_EntityFramework/SimpleTaskSystem.Application/Tasks/TaskAppService.cs | using System.Collections.Generic;
using System.Threading;
using Abp.Domain.Uow;
using AutoMapper;
using Castle.Core.Logging;
using SimpleTaskSystem.People;
using SimpleTaskSystem.Tasks.Dtos;
namespace SimpleTaskSystem.Tasks
{
public class TaskAppService : ITaskAppService
{
public ILogger Logger { get;... | using System.Collections.Generic;
using System.Threading;
using Abp.Domain.Uow;
using AutoMapper;
using Castle.Core.Logging;
using SimpleTaskSystem.People;
using SimpleTaskSystem.Tasks.Dtos;
namespace SimpleTaskSystem.Tasks
{
public class TaskAppService : ITaskAppService
{
public ILogger Logger { get;... | mit | C# |
eb7309a70a7d53d4773d5ffdaaf8b06485d2bd0d | Disable test parallelism. | mfilippov/vimeo-dot-net | src/VimeoDotNet.Tests/Properties/AssemblyInfo.cs | src/VimeoDotNet.Tests/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using Xunit;
[assembly: AssemblyTitle("VimeoDotNet.Tests")]
[assembly: AssemblyCompany("VimeoDotNet")]
[assembly: AssemblyProduct("VimeoDotNet")]
[assembly: AssemblyCopyright("Copyright © 2014-2016, Stephen Commisso, Mikhael Filippov")]
[assembly: Assembl... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("VimeoDotNet.Tests")]
[assembly: AssemblyCompany("VimeoDotNet")]
[assembly: AssemblyProduct("VimeoDotNet")]
[assembly: AssemblyCopyright("Copyright © 2014-2016, Stephen Commisso, Mikhael Filippov")]
[assembly: AssemblyDescription(... | mit | C# |
75ec4211c11cbb57c3d05123173f2049bb78e546 | Fix huge oops in test scene (we actually want ConfigureAwait(true) here) | peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework | osu.Framework.Tests/Visual/Drawables/TestSceneSynchronizationContext.cs | osu.Framework.Tests/Visual/Drawables/TestSceneSynchronizationContext.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System.Threading;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osuTK;
namespace osu.Framework.Tests.Visual.Drawa... | // 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.Threading;
using NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osuTK;
namespace osu.Framework.Tests.Visual.Drawa... | mit | C# |
f2744f23712c9377286048b6f3063a6e9e090ce0 | Make the AnotherDependencyImpl be "slightly worse" by delaying for 500 ms | orthros/windsor.owinlifestyle | sample/SampleOwinLifeStyle/SampleOwinLifeStyle/AnotherDependencyImpl.cs | sample/SampleOwinLifeStyle/SampleOwinLifeStyle/AnotherDependencyImpl.cs | using System;
using System.Threading.Tasks;
namespace SampleOwinLifeStyle
{
public class AnotherDependencyImpl : IDependency
{
public string DataPacket
{
get
{
Task.Delay(500).Wait();
return "I am a much worse implementation";
... | using System;
namespace SampleOwinLifeStyle
{
public class AnotherDependencyImpl : IDependency
{
public string DataPacket
{
get
{
return "I am a much worse implementation";
}
}
}
}
| mit | C# |
eca8573d58430eef6271af623b5c1e773339ebee | Update search uri | agrc/daq-web-framework,agrc/daq-web-framework,agrc/daq-web-framework,agrc/daq-web-framework | api/Controllers/SearchController.cs | api/Controllers/SearchController.cs | using Microsoft.AspNetCore.Mvc;
using daq.Services;
using System.Linq;
namespace daq.Controllers
{
public class EdocsController : Controller
{
public EdocsController(IRepository repo, ArcOnlineHttpClient client)
{
Repository = repo;
Client = client;
}
pu... | using Microsoft.AspNetCore.Mvc;
using daq.Services;
using System.Linq;
using System.Threading.Tasks;
namespace daq.Controllers
{
public class EdocsController : Controller
{
public EdocsController(IRepository repo, ArcOnlineHttpClient client)
{
Repository = repo;
Client =... | mit | C# |
0004c47dd29078a019226a0a7f71f550a1dc59b4 | Fix OpenFileRequest not checking for open files | PowerShell/PowerShellEditorServices | src/PowerShellEditorServices.Transport.Stdio/Request/OpenFileRequest.cs | src/PowerShellEditorServices.Transport.Stdio/Request/OpenFileRequest.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.Session;
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Message;
namespace Microsoft.PowerShell.EditorServi... | //
// 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.Session;
using Microsoft.PowerShell.EditorServices.Transport.Stdio.Message;
namespace Microsoft.PowerShell.EditorServi... | mit | C# |
ed905f392ea14ff3566de846f6ba2c47438b0e86 | bump version | alecgorge/adzerk-dot-net | Adzerk.Api/Properties/AssemblyInfo.cs | Adzerk.Api/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ad... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ad... | mit | C# |
a443026387c31ebd3869b1e20f86008c0f810a60 | Add extension method with environment string | SteelToeOSS/Configuration,SteelToeOSS/Configuration,SteelToeOSS/Configuration | src/Steeltoe.Extensions.Configuration.ConfigServer/ConfigServerConfigurationBuilderExtensions.cs | src/Steeltoe.Extensions.Configuration.ConfigServer/ConfigServerConfigurationBuilderExtensions.cs | //
// Copyright 2017 the original author or authors.
//
// 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 ... | //
// Copyright 2017 the original author or authors.
//
// 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 ... | apache-2.0 | C# |
5dd782c316ef768165daafbad45e6ff7214a50a8 | Fix typo | whampson/bft-spec,whampson/cascara | Cascara.Tests/Src/StatementTests.cs | Cascara.Tests/Src/StatementTests.cs | using System.Xml.Linq;
using WHampson.Cascara;
using Xunit;
using Xunit.Abstractions;
namespace Cascara.Tests
{
public class StatementTests : CascaraTestFramework
{
public StatementTests(ITestOutputHelper output)
: base(output)
{
}
private Statement CreateXmlStatem... | using System.Xml.Linq;
using WHampson.Cascara;
using Xunit;
using Xunit.Abstractions;
namespace Cascara.Tests
{
public class StatementTests : CascaraTestFramework
{
public Statement(ITestOutputHelper output)
: base(output)
{
}
private Statement CreateXmlStatement(s... | mit | C# |
5832e983a372046b9551f2245058221a6c9d232f | Add support for ctm model format | PyriteServer/PyriteServer,obsoleted/PyriteServer,PyriteServer/PyriteServer,obsoleted/PyriteServer | CubeServer/DataAccess/ModelFormats.cs | CubeServer/DataAccess/ModelFormats.cs | // // //-------------------------------------------------------------------------------------------------
// // // <copyright file="ModelFormats.cs" company="Microsoft Corporation">
// // // Copyright (c) Microsoft Corporation. All rights reserved.
// // // </copyright>
// // //---------------------------------------... | // // //-------------------------------------------------------------------------------------------------
// // // <copyright file="ModelFormats.cs" company="Microsoft Corporation">
// // // Copyright (c) Microsoft Corporation. All rights reserved.
// // // </copyright>
// // //---------------------------------------... | mit | C# |
666b1883e9634b31e8cbcd8fe23a7fb9b0b478d2 | Fix encoding issue | felixcho-msft/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,btasdoven/azure-sdk-for-net,olydis/azure-sdk-for-net,MichaelCommo/azure-sdk-for-net,jtlibing/azure-sdk-for-net,gubookgu/azure-sdk-for-net,avijitgupta/azure-sdk-for-net,vivsriaus/azure-sdk-for-net,cwickham3/azure-sdk-for-net,SiddharthChatrolaMs/azure-sdk-for... | microsoft-azure-api/Configuration/Microsoft.WindowsAzure.Configuration/GlobalSuppressions.cs | microsoft-azure-api/Configuration/Microsoft.WindowsAzure.Configuration/GlobalSuppressions.cs | // This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
//
// To add a suppression to this file, right-click the message in the ... | / / T h i s f i l e i s u s e d b y C o d e A n a l y s i s t o m a i n t a i n S u p p r e s s M e s s a g e
/ / a t t r i b u t e s t h a t a r e a p p l i e d t o t h i s p r o j e c t .
/ / P r o j e c t - l e v e l s u p p r e s s i o n s e i t h e r h a v e n ... | apache-2.0 | C# |
2208a5311444d6ad09414161f561ed3a627d1198 | Fix aggiunta dettaglio tipologia | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.Persistence.MongoDB/GestioneDettaglioTipologia/AddDettaglioTipologia.cs | src/backend/SO115App.Persistence.MongoDB/GestioneDettaglioTipologia/AddDettaglioTipologia.cs | using MongoDB.Driver;
using Persistence.MongoDB;
using SO115App.Models.Classi.Condivise;
using SO115App.Models.Servizi.Infrastruttura.GestioneDettaglioTipologie;
using System;
using System.Collections.Generic;
using System.Text;
namespace SO115App.Persistence.MongoDB.GestioneDettaglioTipologia
{
public class AddD... | using MongoDB.Driver;
using Persistence.MongoDB;
using SO115App.Models.Classi.Condivise;
using SO115App.Models.Servizi.Infrastruttura.GestioneDettaglioTipologie;
using System;
using System.Collections.Generic;
using System.Text;
namespace SO115App.Persistence.MongoDB.GestioneDettaglioTipologia
{
public class AddD... | agpl-3.0 | C# |
82a42524e670c8d55ea76d4ecd7dde3db1740f8e | Remove Debug statement | StefanoFiumara/Harry-Potter-Unity | Assets/Scripts/HarryPotterUnity/Cards/Charms/Spells/WingardiumLeviosa.cs | Assets/Scripts/HarryPotterUnity/Cards/Charms/Spells/WingardiumLeviosa.cs | using System.Collections.Generic;
using HarryPotterUnity.Cards.Generic;
using JetBrains.Annotations;
namespace HarryPotterUnity.Cards.Charms.Spells
{
[UsedImplicitly]
public class WingardiumLeviosa : GenericSpell
{
protected override void SpellAction(List<GenericCard> targets)
{
... | using System.Collections.Generic;
using HarryPotterUnity.Cards.Generic;
using JetBrains.Annotations;
namespace HarryPotterUnity.Cards.Charms.Spells
{
[UsedImplicitly]
public class WingardiumLeviosa : GenericSpell
{
protected override void SpellAction(List<GenericCard> targets)
{
... | mit | C# |
dd826f6c8de540c933642650b45edfe26cba25a3 | Change title of code fixer. | modulexcite/DebuggerStepThroughRemover,tiesmaster/DebuggerStepThroughRemover | DebuggerStepThroughRemover/DebuggerStepThroughRemover/CodeFixProvider.cs | DebuggerStepThroughRemover/DebuggerStepThroughRemover/CodeFixProvider.cs | using System.Collections.Immutable;
using System.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace DebuggerStepThro... | using System.Collections.Immutable;
using System.Composition;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.CodeFixes;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace DebuggerStepThro... | mit | C# |
8bce870f78e206543f16bbdd3a6d12f5e12ff77d | Add IANA reference | mstrother/BmpListener | BmpListener/Bgp/PathAttributeType.cs | BmpListener/Bgp/PathAttributeType.cs | namespace BmpListener.Bgp
{
// http://www.iana.org/assignments/bgp-parameters/bgp-parameters.xhtml#bgp-parameters-2
public enum PathAttributeType
{
ORIGIN = 1,
AS_PATH,
NEXT_HOP,
MULTI_EXIT_DISC,
LOCAL_PREF,
ATOMIC_AGGREGATE,
AGGREGATOR,
COMMU... | namespace BmpListener.Bgp
{
public enum PathAttributeType
{
ORIGIN = 1,
AS_PATH,
NEXT_HOP,
MULTI_EXIT_DISC,
LOCAL_PREF,
ATOMIC_AGGREGATE,
AGGREGATOR,
COMMUNITY,
ORIGINATOR_ID,
CLUSTER_LIST,
MP_REACH_NLRI = 14,
MP_UN... | mit | C# |
ea461c3b4796f3b0c02dc8a5a982e3e4c35c16b4 | Update CommonOptions.cs | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.Mvc.Razor.Precompilation.Design/Internal/CommonOptions.cs | src/Microsoft.AspNetCore.Mvc.Razor.Precompilation.Design/Internal/CommonOptions.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 Microsoft.Extensions.CommandLineUtils;
namespace Microsoft.AspNetCore.Mvc.Razor.Precompilation.Design.Internal
{
public class CommonOptions
... | // 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 Microsoft.Extensions.CommandLineUtils;
namespace Microsoft.AspNetCore.Mvc.Razor.Precompilation.Design.Internal
{
public class CommonOptions
... | apache-2.0 | C# |
5e8817ea6b00c1b1265761ea98a7cc6518778972 | Fix update-database using BaseDirectory LocalPath | ekospinach/kawaldesa,ekospinach/kawaldesa,ghk/kawaldesa,ghk/kawaldesa,ghk/kawaldesa,ekospinach/kawaldesa,ekospinach/kawaldesa,ghk/kawaldesa | Migrations/201412260908019_Views.cs | Migrations/201412260908019_Views.cs | namespace App.Migrations
{
using System;
using System.Data.Entity.Migrations;
using System.IO;
using System.Reflection;
using System.Web;
using System.Web.Hosting;
public partial class Views : DbMigration
{
public override void Up()
{
DropTable("dbo.AccountRe... | namespace App.Migrations
{
using System;
using System.Data.Entity.Migrations;
using System.IO;
using System.Reflection;
using System.Web;
using System.Web.Hosting;
public partial class Views : DbMigration
{
public override void Up()
{
DropTable("dbo.AccountRe... | mit | C# |
f866847aeacf3c8980de7a4cc689dcf742cd2c37 | Build fix | DragonSpark/Framework,DragonSpark/Framework,DragonSpark/Framework,DragonSpark/Framework | DragonSpark.Application/Model/MemoryAssignment.cs | DragonSpark.Application/Model/MemoryAssignment.cs | using DragonSpark.Application.Compose.Store;
using DragonSpark.Model;
using DragonSpark.Model.Commands;
using DragonSpark.Model.Selection;
using Microsoft.Extensions.Caching.Memory;
using ExtensionMethods = DragonSpark.Compose.ExtensionMethods;
namespace DragonSpark.Application.Model;
public class MemoryAssignment<T... | using DragonSpark.Model;
using DragonSpark.Model.Commands;
using DragonSpark.Model.Selection;
using Microsoft.Extensions.Caching.Memory;
using ExtensionMethods = DragonSpark.Compose.ExtensionMethods;
namespace DragonSpark.Application.Model;
public class MemoryAssignment<T> : IAssign<string, T?>, ISelect<string, T?>
... | mit | C# |
c9bdcd3b6c3ae0a1557d49022091ad473e6a263e | Update node detection logic, if a known startup file exists in the root directory, treat web site as basic instead of node. Fixes #560 | puneet-gupta/kudu,shrimpy/kudu,oliver-feng/kudu,WeAreMammoth/kudu-obsolete,puneet-gupta/kudu,badescuga/kudu,uQr/kudu,YOTOV-LIMITED/kudu,MavenRain/kudu,chrisrpatterson/kudu,bbauya/kudu,kenegozi/kudu,dev-enthusiast/kudu,YOTOV-LIMITED/kudu,kenegozi/kudu,badescuga/kudu,EricSten-MSFT/kudu,uQr/kudu,barnyp/kudu,shrimpy/kudu,s... | Kudu.Core/Deployment/Generator/NodeSiteEnabler.cs | Kudu.Core/Deployment/Generator/NodeSiteEnabler.cs | using System;
using System.IO;
using System.IO.Abstractions;
using Kudu.Contracts.Settings;
using Kudu.Contracts.Tracing;
using Kudu.Core.Infrastructure;
namespace Kudu.Core.Deployment.Generator
{
public static class NodeSiteEnabler
{
private static readonly string[] IisStartupFiles = new[]
{
... | using System;
using System.IO;
using System.IO.Abstractions;
using Kudu.Contracts.Settings;
using Kudu.Contracts.Tracing;
using Kudu.Core.Infrastructure;
namespace Kudu.Core.Deployment.Generator
{
public static class NodeSiteEnabler
{
private static readonly string[] NodeDetectionFiles = new[] { "serv... | apache-2.0 | C# |
cd94659bf8e4a09233751b2c4acc5c6abfa74bd5 | Fix for #684, null dereference for incomplete for loop | mjbvz/nodejstools,kant2002/nodejstools,paulvanbrenk/nodejstools,Microsoft/nodejstools,mousetraps/nodejstools,paladique/nodejstools,AustinHull/nodejstools,AustinHull/nodejstools,avitalb/nodejstools,munyirik/nodejstools,munyirik/nodejstools,paulvanbrenk/nodejstools,mjbvz/nodejstools,Microsoft/nodejstools,Microsoft/nodejs... | Nodejs/Product/Analysis/JavaScript/declaration.cs | Nodejs/Product/Analysis/JavaScript/declaration.cs | // declaration.cs
//
// Copyright 2012 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... | // declaration.cs
//
// Copyright 2012 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... | apache-2.0 | C# |
13e765ac6247d86b809656464d8834fd8cd8cdb5 | Add remaining Program props | unosquare/sshdeploy | Unosquare.Labs.SshDeploy/Program.cs | Unosquare.Labs.SshDeploy/Program.cs | using System;
using System.Threading;
using Unosquare.Labs.SshDeploy.Options;
using Unosquare.Swan;
using Unosquare.Swan.Components;
namespace Unosquare.Labs.SshDeploy
{
static public class Program
{
private static readonly string MutexName = string.Format("Global\\{0}", typeof(Program).Name... | using System;
using Unosquare.Labs.SshDeploy.Options;
using Unosquare.Swan;
using Unosquare.Swan.Components;
namespace Unosquare.Labs.SshDeploy
{
class Program
{
public static void Main(string[] args)
{
var options = new CliOptions();
Runtime... | mit | C# |
33e772ae24faa4af4d9488ae6af2d01e53c0fbf5 | Add push test | michael-reichenauer/GitMind | GitMindTest/Utils/Git/GitPushTest.cs | GitMindTest/Utils/Git/GitPushTest.cs | using System.Threading.Tasks;
using GitMind.Utils;
using GitMind.Utils.Git;
using GitMindTest.Utils.Git.Private;
using NUnit.Framework;
namespace GitMindTest.Utils.Git
{
[TestFixture]
public class GitPushTest : GitTestBase<IGitPushService>
{
[Test]
public async Task TestPushAsync()
{
await CloneRepoAsync... | using System.Threading.Tasks;
using GitMind.Utils.Git;
using GitMindTest.Utils.Git.Private;
using NUnit.Framework;
namespace GitMindTest.Utils.Git
{
[TestFixture]
public class GitPushTest : GitTestBase<IGitPushService>
{
[Test]
public async Task TestPushAsync()
{
await CloneRepoAsync();
FileWrite("fi... | mit | C# |
10f20517a070db2bcb809826612c243dfe08c6c8 | Fix Hide/Show KO | csengineer13/Simple.MVC,csengineer13/Simple.MVC,csengineer13/Simple.MVC | Simple.MVC/Views/Shared/Components/_Header.cshtml | Simple.MVC/Views/Shared/Components/_Header.cshtml | <nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span cl... | <nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span cl... | mit | C# |
55d0cf8671364426e8bdf435ce6c3543c1f4cf55 | Remove NRefactory usage | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | resharper/resharper-unity/src/Yaml/Feature/Services/Occurrences/UnityYamlOccurrenceKindProvider.cs | resharper/resharper-unity/src/Yaml/Feature/Services/Occurrences/UnityYamlOccurrenceKindProvider.cs | using System.Collections.Generic;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Feature.Services.Occurrences;
using JetBrains.ReSharper.Plugins.Unity.Yaml.Psi.Resolve;
using JetBrains.Util;
namespace JetBrains.ReSharper.Plugins.Unity.Yaml.Feature.Services.Occurrences
{
[SolutionComponent]
public clas... | using System.Collections.Generic;
using ICSharpCode.NRefactory;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Feature.Services.Occurrences;
using JetBrains.ReSharper.Plugins.Unity.Yaml.Psi.Resolve;
namespace JetBrains.ReSharper.Plugins.Unity.Yaml.Feature.Services.Occurrences
{
[SolutionComponent]
pub... | apache-2.0 | C# |
4210216e8f3d12b33cd93fc82aa9425936088805 | Update ProductMap.cs | henkmollema/Dapper-FluentMap,henkmollema/Dapper-FluentMap,arumata/Dapper-FluentMap,bondarenkod/Dapper-FluentMap,thomasbargetz/Dapper-FluentMap | examples/ProductMap.cs | examples/ProductMap.cs | using Dapper.FluentMap.Mapping;
namespace App.Data.Mapping
{
/// <summary>
/// Represents a manual mapping for the Product entity.
/// </summary>
public class ProductMap : EntityMap<Product>
{
public ProductMap()
{
// Map property 'Name' to column 'strName'.
Map(p => p.Name)
.ToColumn("strN... | using Dapper.FluentMap.Mapping;
namespace App.Data.Mapping
{
/// <summary>
/// Represents a manual mapping for the Product entity.
/// </summary>
public class ProductMap : EntityMap<Product>
{
public ProductMap()
{
Map(m => m.Id)
.ToColumn("autID");
... | mit | C# |
f0cc42e0eb3831a91ff71ce54412bb64419c2922 | change main classname | jeske/StepsDB-alpha,jeske/StepsDB-alpha,jeske/StepsDB-alpha | Bend/_Main.cs | Bend/_Main.cs | // Copyright (C) 2008, by David W. Jeske
// All Rights Reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Bend
{
// ---------------[ Main ]---------------------------------------------------------
class MainBend
{
static void Main(string[]... | // Copyright (C) 2008, by David W. Jeske
// All Rights Reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Bend
{
// ---------------[ Main ]---------------------------------------------------------
class Program
{
static void Main(string[] ... | apache-2.0 | C# |
854dc6e3b5f235df3ef79991144fba5ea21453c2 | use dropbox screenshot format | gradientspace/frame3Sharp | behaviors/ScreenCaptureBehavior.cs | behaviors/ScreenCaptureBehavior.cs | using System;
using System.Collections.Generic;
using UnityEngine;
namespace f3
{
public class ScreenCaptureBehavior : StandardInputBehavior
{
public string ScreenshotPath = "C:\\";
public string ScreenshotPrefix = "Screenshot_";
public ScreenCaptureBehavior()
{
}
... | using System;
using System.Collections.Generic;
using UnityEngine;
namespace f3
{
public class ScreenCaptureBehavior : StandardInputBehavior
{
public string ScreenshotPath = "C:\\";
public string ScreenshotPrefix = "Screenshot_";
public ScreenCaptureBehavior()
{
}
... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.