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 |
|---|---|---|---|---|---|---|---|---|
53aa46fd7a565e52dd6c4978aa44a7683e89b4ab | Disable native mac file dialogs in GtkOnMac engine | residuum/xwt,mono/xwt,TheBrainTech/xwt,lytico/xwt,antmicro/xwt,hwthomas/xwt,cra0zy/xwt,hamekoz/xwt,akrisiun/xwt | Xwt.Gtk.Mac/MacPlatformBackend.cs | Xwt.Gtk.Mac/MacPlatformBackend.cs | //
// GtkMacEngine.cs
//
// Author:
// Lluis Sanchez Gual <lluis@xamarin.com>
//
// Copyright (c) 2014 Xamarin, Inc (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in th... | //
// GtkMacEngine.cs
//
// Author:
// Lluis Sanchez Gual <lluis@xamarin.com>
//
// Copyright (c) 2014 Xamarin, Inc (http://www.xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in th... | mit | C# |
df7525b8d840e8accb19c116936b5c42dfce95a4 | use lowercase for issues to make v3 work. | mps/OctoNet | OctoNet/Models/Dto/IssueDto.cs | OctoNet/Models/Dto/IssueDto.cs | using Newtonsoft.Json;
namespace OctoNet.Models.Dto
{
[JsonObject]
public class IssueDto
{
[JsonProperty("title")]
public string title { get; set; }
[JsonProperty("body")]
public string body { get; set; }
[JsonProperty("assignee")]
public string assignee {... | using Newtonsoft.Json;
namespace OctoNet.Models.Dto
{
[JsonObject]
public class IssueDto
{
[JsonProperty("title")]
public string Title { get; set; }
[JsonProperty("body")]
public string Body { get; set; }
[JsonProperty("assignee")]
public string Assignee {... | mit | C# |
78df04213b87fde4f41ae7868a7ff3f6ec734cd9 | Add an Explicit test that tries to use AsParallel(). It will hang after the exercise is completed, if the solution is the same as mine. | peterchase/parallel-workshop | ParallelWorkshopTests/Ex10WaitHalfWay/LimitedModeCharacterCounterTests.cs | ParallelWorkshopTests/Ex10WaitHalfWay/LimitedModeCharacterCounterTests.cs | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Lurchsoft.FileData;
using Lurchsoft.ParallelWorkshop.Ex10WaitHalfWay;
using NUnit.Framework;
namespace Lurchsoft.ParallelWorkshopTests.Ex10WaitHalfWay
{
[TestFixture]
public class LimitedModeCharacterCounterTests
{
... | using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Lurchsoft.FileData;
using Lurchsoft.ParallelWorkshop.Ex10WaitHalfWay;
using NUnit.Framework;
namespace Lurchsoft.ParallelWorkshopTests.Ex10WaitHalfWay
{
[TestFixture]
public class LimitedModeCharacterCounterTests
{
... | apache-2.0 | C# |
8c567c63261e202b91ed79d6224646d205178b42 | Make GeneratorContext internal. | PowerOfCode/Eto,l8s/Eto,PowerOfCode/Eto,l8s/Eto,PowerOfCode/Eto,l8s/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1 | Source/Eto/GeneratorContext.cs | Source/Eto/GeneratorContext.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Eto
{
/// <summary>
/// Sets the current generator for a block of code,
/// and verifies that all objects created in that
/// block were created using that generator.
/// </summary>
internal class GeneratorContext :... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Eto
{
/// <summary>
/// Sets the current generator for a block of code,
/// and verifies that all objects created in that
/// block were created using that generator.
/// </summary>
public class GeneratorContext : I... | bsd-3-clause | C# |
a35dba3edc47a1f3a58b0874c3396cff32310f92 | Add a space. | darrencauthon/AutoMoq,darrencauthon/AutoMoq,darrencauthon/AutoMoq | AutoMoq/AutoMoq/Unity/AutoMockingBuilderStrategy.cs | AutoMoq/AutoMoq/Unity/AutoMockingBuilderStrategy.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Microsoft.Practices.ObjectBuilder2;
using Moq;
namespace AutoMoq.Unity
{
public class AutoMockingBuilderStrategy : BuilderStrategy
{
private readonly MockFactory mockFactory;
private readonly IEn... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Microsoft.Practices.ObjectBuilder2;
using Moq;
namespace AutoMoq.Unity
{
public class AutoMockingBuilderStrategy : BuilderStrategy
{
private readonly MockFactory mockFactory;
private readonly IEnu... | mit | C# |
75acaeb22853b5eb82077e11e7f21ec569e1f5cd | Use Task.Run instead of .Start() | FetzenRndy/Creative,FetzenRndy/Creative,FetzenRndy/Creative,FetzenRndy/Creative,FetzenRndy/Creative | Creative/StatoBot/StatoBot.Analytics/AnalyzerBot.cs | Creative/StatoBot/StatoBot.Analytics/AnalyzerBot.cs | using System;
using System.IO;
using System.Timers;
using System.Threading.Tasks;
using StatoBot.Core;
namespace StatoBot.Analytics
{
public class AnalyzerBot : TwitchBot
{
public ChatAnalyzer Analyzer;
public AnalyzerBot(Credentials credentials, string channel) : base(credentials, channel)
... | using System;
using System.IO;
using System.Timers;
using StatoBot.Core;
namespace StatoBot.Analytics
{
public class AnalyzerBot : TwitchBot
{
public ChatAnalyzer Analyzer;
public AnalyzerBot(Credentials credentials, string channel) : base(credentials, channel)
{
Analyzer ... | mit | C# |
eb1ecc6fc77daad761d4ab947ed518f131a05cdb | put dynamic objects into a common hierarchy | guibec/rpgcraft,guibec/rpgcraft,guibec/rpgcraft,guibec/rpgcraft | unity/Assets/Scripts/Engine/GameObjects/MonoBehaviourEx.cs | unity/Assets/Scripts/Engine/GameObjects/MonoBehaviourEx.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MonoBehaviourEx : MonoBehaviour
{
static GameObject m_dynHolder;
public GameObject Instantiate(GameObject prefab)
{
return Instantiate(prefab, Vector3.zero, Quaternion.identity);
}
public GameObje... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MonoBehaviourEx : MonoBehaviour
{
public GameObject Instantiate(GameObject prefab)
{
return MonoBehaviour.Instantiate(prefab);
}
public GameObject Instantiate(GameObject parent, Vector3 position, Quat... | mit | C# |
aec5bd0355354ada7a7e2b4d8427cf94fb9b67ac | Update AssemblyInfo.cs | dstiert/Wox,danisein/Wox,AlexCaranha/Wox,AlexCaranha/Wox,yozora-hitagi/Saber,mika76/Wox,dstiert/Wox,18098924759/Wox,JohnTheGr8/Wox,shangvven/Wox,danisein/Wox,zlphoenix/Wox,gnowxilef/Wox,apprentice3d/Wox,apprentice3d/Wox,EmuxEvans/Wox,18098924759/Wox,mika76/Wox,EmuxEvans/Wox,AlexCaranha/Wox,gnowxilef/Wox,yozora-hitagi/S... | Wox/Properties/AssemblyInfo.cs | Wox/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
[assembly: AssemblyTitle("Wox")]
[assembly: AssemblyDescription("https://github.com/qianlifeng/Wox")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCo... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Wox")]
[assembly: AssemblyDescription("https://github.com/qianlifeng/Wox")]
[asse... | mit | C# |
77b7f3c1dcbe51da06652054bb21239e4925a295 | Add additional tests | restsharp/RestSharp,PKRoma/RestSharp | RestSharp.Tests/RequestHeaderTests.cs | RestSharp.Tests/RequestHeaderTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace RestSharp.Tests
{
public class RequestHeaderTests
{
[Test]
public void AddHeaders_SameCaseDuplicatesExist_ThrowsException()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
namespace RestSharp.Tests
{
public class RequestHeaderTests
{
[Test]
public void AddHeaders_SameCaseDuplicatesExist_ThrowsException()
{
... | apache-2.0 | C# |
b039c5ced077058d2fa9031ce54681a15e341283 | Monitor for database connection | jona8690/Project-Exam | RoomReservationSystem/DAL/Database.cs | RoomReservationSystem/DAL/Database.cs | using System;
using System.Data.SqlClient;
using System.Threading;
namespace DAL {
public abstract class Database {
private static string _connInfo = DatabaseConn.ConnString;
private static SqlConnection _conn;
protected object locked;
protected SqlConnection OpenConnection() {
Monitor.Enter(locked);
... | using System;
using System.Data.SqlClient;
namespace DAL {
public abstract class Database {
private static string _connInfo = DatabaseConn.ConnString;
private static SqlConnection _conn;
protected SqlConnection OpenConnection() {
if (_conn == null) {
_conn = new SqlConnection(_connInfo);
}
_conn... | mit | C# |
48b4864e73427b21bd60b694561bd0af725865b4 | Update ShortBioOrTagLine and use IAmACommunityMember (#387) | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin | src/Firehose.Web/Authors/DevlinDuldulao.cs | src/Firehose.Web/Authors/DevlinDuldulao.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using Firehose.Web.Infrastructure;
namespace Firehose.Web
{
public class DevlinDuldulao : IFilterMyBlogPosts, IAmACommunityMember
{
public string FirstName => "Devlin";
public string LastNa... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using Firehose.Web.Infrastructure;
namespace Firehose.Web
{
public class DevlinDuldulao : IFilterMyBlogPosts
{
public string FirstName => "Devlin";
public string LastName => "Duldulao";
... | mit | C# |
6b0662a9435113b68e546cd28e4d2112659c3bec | Use HasMore and NextOffset | libertyernie/WeasylSync | CrosspostSharp3/DeviantArt/DeviantArtFolderSelectionForm.cs | CrosspostSharp3/DeviantArt/DeviantArtFolderSelectionForm.cs | using DeviantArtFs;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CrosspostSharp3 {
public partial class DeviantArtFolderSelectionForm : Fo... | using DeviantArtFs;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace CrosspostSharp3 {
public partial class DeviantArtFolderSelectionForm : Fo... | mit | C# |
c64c21ef02a0a28c513026642c3698418b625b30 | Update Merchant.cs | hugobritobh/Cielo3.0 | Cielo/Merchant.cs | Cielo/Merchant.cs | using System;
namespace Cielo
{
public class Merchant
{
/// <summary>
/// FIX: UTILIZAR A SUA CHAVE
/// </summary>
public static readonly Merchant SANDBOX = new Merchant(Guid.Parse("d0274285-581c-4f35-a495-3314590b6642"), "UPVHCCVVUJRLXNYGJYKMVHTEATEPTPEPQOTRBDES");
pu... | using System;
namespace Cielo
{
public class Merchant
{
/// <summary>
/// FIX: UTILIZAR A SUA CHAVE
/// </summary>
public static readonly Merchant SANDBOX = new Merchant(Guid.Parse("00000000-0000-0000-0000-000000000000"), "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA");
public M... | mit | C# |
7d76fcf2b64766c14dce7c54c6af03ab0cdb4b37 | Fix hit object placement not receiving input when outside playfield | peppy/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,peppy/osu,NeoAdonis/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu-new | osu.Game.Rulesets.Catch/Edit/Blueprints/CatchPlacementBlueprint.cs | osu.Game.Rulesets.Catch/Edit/Blueprints/CatchPlacementBlueprint.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.Allocation;
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.UI;
using osu.Game.Rulesets.UI.Scrolling;
usi... | // 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.Allocation;
using osu.Game.Rulesets.Catch.Objects;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.UI;
using osu.Game.Rulesets.UI.Scrolling;
na... | mit | C# |
9c5fddd79b6c8613d8190e51b270b235d8ec26c1 | Add log to JobFactory | mattgwagner/Task-Processor | TaskProcessor/Utilities/JobFactory.cs | TaskProcessor/Utilities/JobFactory.cs | using Common.Logging;
using Quartz;
using Quartz.Spi;
using System;
namespace TaskProcessor.Utilities
{
public class JobFactory : IJobFactory
{
private static readonly ILog Log = LogManager.GetCurrentClassLogger();
public IJob NewJob(TriggerFiredBundle bundle, IScheduler scheduler)
{
... | using Quartz;
using Quartz.Spi;
using System;
namespace TaskProcessor.Utilities
{
public class JobFactory : IJobFactory
{
public IJob NewJob(TriggerFiredBundle bundle, IScheduler scheduler)
{
// Configure your IoC container to return a job instance based on jobType
var... | mit | C# |
310afdaaf4f67f2ede3ee490fd608182961cfffb | Fix warning | tom-englert/TomsToolbox | TomsToolbox.Composition.Tests/MetadataReaderTest.cs | TomsToolbox.Composition.Tests/MetadataReaderTest.cs | namespace TomsToolbox.Composition.Tests
{
using System.Collections.Generic;
using System.Text.RegularExpressions;
using ApprovalTests;
using ApprovalTests.Reporters;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
[TestClass]
[UseReporter(typeof(DiffReport... | namespace TomsToolbox.Composition.Tests
{
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text.RegularExpressions;
using ApprovalTests;
using ApprovalTests.Reporters;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Newtonsoft.Json;
[Te... | mit | C# |
2b1ba1ca1aa6882606d21f0a27eb8da80e9fae15 | make plugins config files be optional | AntShares/AntShares,shargon/neo | neo/Plugins/Helper.cs | neo/Plugins/Helper.cs | using Microsoft.Extensions.Configuration;
using System.IO;
using System.Reflection;
namespace Neo.Plugins
{
public static class Helper
{
public static IConfigurationSection GetConfiguration(this Assembly assembly)
{
string path = Path.Combine("Plugins", assembly.GetName().Name, "co... | using Microsoft.Extensions.Configuration;
using System.IO;
using System.Reflection;
namespace Neo.Plugins
{
public static class Helper
{
public static IConfigurationSection GetConfiguration(this Assembly assembly)
{
string path = Path.Combine("Plugins", assembly.GetName().Name, "co... | mit | C# |
c4a1dddb94f34800403fc2d79711829c3ea3ddea | Simplify access token implementation. | henrikfroehling/TraktApiSharp | Source/Lib/TraktApiSharp/Authentication/TraktAccessToken.cs | Source/Lib/TraktApiSharp/Authentication/TraktAccessToken.cs | namespace TraktApiSharp.Authentication
{
using Enums;
using Newtonsoft.Json;
using System;
public class TraktAccessToken
{
public TraktAccessToken()
{
Created = DateTime.UtcNow;
}
[JsonProperty(PropertyName = "access_token")]
public string Acces... | namespace TraktApiSharp.Authentication
{
using Enums;
using Newtonsoft.Json;
using System;
public class TraktAccessToken
{
public TraktAccessToken()
{
Created = DateTime.UtcNow;
}
[JsonProperty(PropertyName = "access_token")]
public string Acces... | mit | C# |
989fff843974f06c722461a904c4c417f7bd1b98 | fix konec | joeazbest/CompetitionSimulation | WPF/MainWindow.xaml.cs | WPF/MainWindow.xaml.cs | namespace CompetitionSimulationWPF
{
using Microsoft.Research.DynamicDataDisplay;
using Microsoft.Research.DynamicDataDisplay.DataSources;
using Microsoft.Research.DynamicDataDisplay.PointMarkers;
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Media;
public partial ... | namespace CompetitionSimulationWPF
{
using Microsoft.Research.DynamicDataDisplay;
using Microsoft.Research.DynamicDataDisplay.DataSources;
using Microsoft.Research.DynamicDataDisplay.PointMarkers;
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Media;
public partial ... | mit | C# |
52dd95ffbb872df704a4f30084795018147342af | add summary comment. | dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP,ouraspnet/cap | src/DotNetCore.CAP/MessageContext.cs | src/DotNetCore.CAP/MessageContext.cs | namespace DotNetCore.CAP
{
/// <summary>
/// Message context
/// </summary>
public class MessageContext
{
/// <summary>
/// Gets or sets the message group.
/// </summary>
public string Group { get; set; }
/// <summary>
/// Message name.
/// <... | namespace DotNetCore.CAP
{
public class MessageContext
{
public string Group { get; set; }
public string Name { get; set; }
public string Content { get; set; }
public override string ToString()
{
return $"Group:{Group}, Name:{Name}, Content:{Content}";
... | mit | C# |
9f4a0b448ae6631911df2c66d35b5023b483a959 | mark as background thread | emitter-io/csharp | Emitter/Net/Fx.cs | Emitter/Net/Fx.cs | /*
Copyright (c) 2016 Roman Atachiants
Copyright (c) 2013, 2014 Paolo Patierno
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
and Eclipse Distribution License v1.0 which accompany this distribution.
The Eclipse Public License: ... | /*
Copyright (c) 2016 Roman Atachiants
Copyright (c) 2013, 2014 Paolo Patierno
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
and Eclipse Distribution License v1.0 which accompany this distribution.
The Eclipse Public License: ... | epl-1.0 | C# |
8f375dc9eed097d9921deb60d03d829cba7a16ab | Add methods intto User Api | skacofonix/WhatTheMovie,skacofonix/WhatTheMovie,skacofonix/WhatTheMovie | WTM.Api/Controllers/UserController.cs | WTM.Api/Controllers/UserController.cs | using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
using WTM.Core.Services;
using WTM.Crawler;
using WTM.Crawler.Services;
using WTM.Domain;
namespace WTM.Api.Controllers
{
public class UserController : ApiController
{
private readonly IUserService userService;
public... | using System.Web.Http;
using WTM.Core.Services;
using WTM.Crawler;
using WTM.Crawler.Services;
using WTM.Domain;
namespace WTM.Api.Controllers
{
public class UserController : ApiController
{
private readonly IUserService userService;
public UserController()
{
var webClient... | mit | C# |
f38262f775d35ff1bc9eae9ecedb84463ce8705d | Remove unused imports. | sshnet/SSH.NET,miniter/SSH.NET,Bloomcredit/SSH.NET | src/Renci.SshNet/Session.NET40.cs | src/Renci.SshNet/Session.NET40.cs | using Renci.SshNet.Messages;
namespace Renci.SshNet
{
/// <summary>
/// Provides functionality to connect and interact with SSH server.
/// </summary>
public partial class Session
{
partial void HandleMessageCore(Message message)
{
HandleMessage((dynamic)message);
... | using System.Threading.Tasks;
using System.Linq;
using Renci.SshNet.Messages;
namespace Renci.SshNet
{
/// <summary>
/// Provides functionality to connect and interact with SSH server.
/// </summary>
public partial class Session
{
partial void HandleMessageCore(Message message)
{
... | mit | C# |
b04b78df1c70ea784a1fc5d7edfe4b0354adc117 | return to normal error page and remove appInsights | jyarbro/forum,jyarbro/forum,jyarbro/forum | Forum3/Startup.cs | Forum3/Startup.cs | using Forum3.Filters;
using Forum3.Contexts;
using Forum3.Controllers;
using Forum3.Extensions;
using Forum3.Models.DataModels;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Mi... | using Forum3.Filters;
using Forum3.Contexts;
using Forum3.Controllers;
using Forum3.Extensions;
using Forum3.Models.DataModels;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Mi... | unlicense | C# |
3b86c63631418a1e9b91a6f4ee2113f6c50ccc91 | Fix up formatting in RuntimePolicy documentation | rho24/Glimpse,gabrielweyer/Glimpse,SusanaL/Glimpse,Glimpse/Glimpse,flcdrg/Glimpse,elkingtonmcb/Glimpse,flcdrg/Glimpse,paynecrl97/Glimpse,rho24/Glimpse,elkingtonmcb/Glimpse,rho24/Glimpse,codevlabs/Glimpse,rho24/Glimpse,gabrielweyer/Glimpse,SusanaL/Glimpse,codevlabs/Glimpse,dudzon/Glimpse,Glimpse/Glimpse,sorenhl/Glimpse,... | source/Glimpse.Core/RuntimePolicy.cs | source/Glimpse.Core/RuntimePolicy.cs | using System;
namespace Glimpse.Core
{
/// <summary>
/// Enum RuntimePolicy used to describe what activity level Glimpse
/// is allowed to operate in.
/// </summary>
/// <remarks>
/// This is used at a request by request level.
/// </remarks>
[Flags]
public enum RuntimePolicy
... | using System;
namespace Glimpse.Core
{
/// <summary>
/// Enum RuntimePolicy used to describe what activity level Glimpse
/// is allowed to operate in.
/// </summary>
/// <remarks>
/// This is used at a request by request level.
/// </remarks>
[Flags]
public enum RuntimePolicy
... | apache-2.0 | C# |
04e0e1b844bafda7700bc618a110838267b7a8b1 | update version | takuya-takeuchi/RedArmory | source/RedArmory/AssemblyProperty.cs | source/RedArmory/AssemblyProperty.cs | namespace Ouranos.RedArmory
{
internal static class AssemblyProperty
{
/// <summary>
/// アセンブリ マニフェストに含める、製品名に関するカスタム属性を定義します。
/// </summary>
public const string Product = "Red Armory";
/// <summary>
/// RedArmory.exe の説明を指定します。
/// </summary>
public const ... | namespace Ouranos.RedArmory
{
internal static class AssemblyProperty
{
/// <summary>
/// アセンブリ マニフェストに含める、製品名に関するカスタム属性を定義します。
/// </summary>
public const string Product = "Red Armory";
/// <summary>
/// RedArmory.exe の説明を指定します。
/// </summary>
public const ... | mit | C# |
294564d769e3702c8f49cbbd461b967f5f947217 | add missing namespace | DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MRTK/Core/Attributes/PreserveAttribute.cs | Assets/MRTK/Core/Attributes/PreserveAttribute.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
namespace Microsoft.MixedReality.Toolkit
{
/// <summary>
/// Custom preserve attribute that is inheritable.
/// </summary>
[AttributeUsage(
AttributeTargets.Assembly |
AttributeTargets.Class |
... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System;
/// <summary>
/// Custom preserve attribute that is inheritable.
/// </summary>
[AttributeUsage(
AttributeTargets.Assembly |
AttributeTargets.Class |
AttributeTargets.Struct |
AttributeTargets.Enum |
Attr... | mit | C# |
67b9414ccf0cd268ea063c4ebf55c4f3c7db6e31 | Fix IModelBinder docs | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNet.Mvc.Abstractions/ModelBinding/IModelBinder.cs | src/Microsoft.AspNet.Mvc.Abstractions/ModelBinding/IModelBinder.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.Threading.Tasks;
namespace Microsoft.AspNet.Mvc.ModelBinding
{
/// <summary>
/// Defines an interface for model binders.
/// <... | // 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.Threading.Tasks;
namespace Microsoft.AspNet.Mvc.ModelBinding
{
/// <summary>
/// Interface for model binding.
/// </summary>
... | apache-2.0 | C# |
c1a02d9d8648df5ae49e250ee943be937cb2f23e | 更新.NET 4.5项目版本号 | JeffreySu/Senparc.WebSocket | src/Senparc.WebSocket/Senparc.WebSocket/Properties/AssemblyInfo.cs | src/Senparc.WebSocket/Senparc.WebSocket/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
//[assembly: AssemblyTitle("Senparc.WebSocket")]
//[assembly: AssemblyDescription("")]
//[assembly: AssemblyConfiguration("")]
//[assembly: AssemblyCompany("")]
//[asse... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
//[assembly: AssemblyTitle("Senparc.WebSocket")]
//[assembly: AssemblyDescription("")]
//[assembly: AssemblyConfiguration("")]
//[assembly: AssemblyCompany("")]
//[asse... | apache-2.0 | C# |
201b1bec89b9316cbb9c34268c4c16c7a17daede | Fix time management bugs in RadiationPulseSystem (#4743) | 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/Radiation/RadiationPulseSystem.cs | Content.Server/Radiation/RadiationPulseSystem.cs | using System.Linq;
using Content.Shared.Radiation;
using Content.Shared.Sound;
using JetBrains.Annotations;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Map;
namespace Content.Server.Radiation
{
[UsedImplicitly]
public sealed class RadiationPulseSystem : EntitySystem
{
... | using System.Linq;
using Content.Shared.Radiation;
using Content.Shared.Sound;
using JetBrains.Annotations;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Map;
namespace Content.Server.Radiation
{
[UsedImplicitly]
public sealed class RadiationPulseSystem : EntitySystem
{
... | mit | C# |
558b9882a74a1c1b3c74e785effedd4d98ebe075 | Change commandReceiver to accept only pending commands #37685 | takenet/messaginghub-client-csharp | src/Takenet.MessagingHub.Client/Listener/CommandReceivedHandler.cs | src/Takenet.MessagingHub.Client/Listener/CommandReceivedHandler.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Lime.Protocol;
using Takenet.MessagingHub.Client.Sender;
namespace Takenet.MessagingHub.Client.Listener
{
internal class CommandReceivedHandler : EnvelopeReceivedHandler<Command>
{
public CommandReceivedHandler(IMessagingHubSend... | using System;
using System.Threading;
using System.Threading.Tasks;
using Lime.Protocol;
using Takenet.MessagingHub.Client.Sender;
namespace Takenet.MessagingHub.Client.Listener
{
internal class CommandReceivedHandler : EnvelopeReceivedHandler<Command>
{
public CommandReceivedHandler(IMessagingHubSend... | apache-2.0 | C# |
eb515d4ed7723b02ca4349cab0346e8d18cdcb96 | Update Summary w/ large image card documentation | peterblazejewicz/TwitterCardsTagHelpers,peterblazejewicz/TwitterCardsTagHelpers | src/TwitterCardTagHelpers.Web/Views/Cards/SummaryLargeImage.cshtml | src/TwitterCardTagHelpers.Web/Views/Cards/SummaryLargeImage.cshtml | @*
For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
// ViewBag.Title = "SummaryLargeImage Page";
}
<section>
<div class="page-header">
<h1>Summary Card with Large Image <small>tag helper</small></h1>
</div>
<blockquote cite="h... | @*
For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
// ViewBag.Title = "SummaryLargeImage Page";
}
| unlicense | C# |
2b8ae3e92fe613a2d52a07775fb2486276ae546c | Make handler shim abstract. | jasonmalinowski/roslyn,gafter/roslyn,KirillOsenkov/roslyn,brettfo/roslyn,agocke/roslyn,aelij/roslyn,ErikSchierboom/roslyn,CyrusNajmabadi/roslyn,CyrusNajmabadi/roslyn,tmat/roslyn,heejaechang/roslyn,shyamnamboodiripad/roslyn,heejaechang/roslyn,heejaechang/roslyn,davkean/roslyn,sharwell/roslyn,bartdesmet/roslyn,tannergood... | src/VisualStudio/LiveShare/Impl/Shims/GoToDefinitionHandlerShim.cs | src/VisualStudio/LiveShare/Impl/Shims/GoToDefinitionHandlerShim.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis.LanguageServer.Handler;
using Microsoft.VisualStudio.LanguageServer.Protocol;
using Microsoft.VisualStudio.LiveShare.LanguageServices;
namespace Microsoft.VisualStudio.LanguageServices.LiveShare.Shims... | using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using Microsoft.CodeAnalysis.LanguageServer.Handler;
using Microsoft.VisualStudio.LanguageServer.Protocol;
using Microsoft.VisualStudio.LiveShare.LanguageServices;
namespace Microsoft.VisualStudio.LanguageServices.LiveShare.Shims... | mit | C# |
9e03cb5f40d5565b392ad7af7614b6714f8d92a4 | fix test case | jefking/King.Service | King.Azure.BackgroundWorker.Tests/TimingTests.cs | King.Azure.BackgroundWorker.Tests/TimingTests.cs | namespace King.Azure.BackgroundWorker.Tests
{
using NUnit.Framework;
using System;
[TestFixture]
public class TimingTests
{
[Test]
public void Constructor()
{
new Timing();
}
[Test]
public void IsITiming()
{
Asse... | namespace King.Azure.BackgroundWorker.Tests
{
using NUnit.Framework;
using System;
[TestFixture]
public class TimingTests
{
[Test]
public void Constructor()
{
new Timing();
}
[Test]
public void IsITiming()
{
Asse... | mit | C# |
744ab9ef61063453c4f1f81d5c14ef5dc7fb3dc2 | Upgrade version to 1.3.5 | geffzhang/equeue,tangxuehua/equeue,geffzhang/equeue,Aaron-Liu/equeue,tangxuehua/equeue,tangxuehua/equeue,Aaron-Liu/equeue | src/EQueue/Properties/AssemblyInfo.cs | src/EQueue/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("EQueue")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyPro... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("EQueue")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyPro... | mit | C# |
bd5b2e58f5ed295fae74e57310d5de2aab4e3b8b | remove comment out for dinke MVP award date | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/DougFinke.cs | src/Firehose.Web/Authors/DougFinke.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 DougFinke : IFilterMyBlogPosts, IAmAMicrosoftMVP
{
public string FirstName => "Doug";
pub... | 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 DougFinke : IFilterMyBlogPosts, IAmAMicrosoftMVP
{
public string FirstName => "Doug";
pub... | mit | C# |
0446d2d14e915956ae9e0d27ea2d229f53ed625d | Reduce the number of slice operations performed during an Advance, when those slices were used only for their length. | plioi/parsley | src/Parsley/ReadOnlySpanExtensions.cs | src/Parsley/ReadOnlySpanExtensions.cs | namespace Parsley;
public static class ReadOnlySpanExtensions
{
public static ReadOnlySpan<char> Peek(this ref ReadOnlySpan<char> input, int length)
=> length >= input.Length
? input.Slice(0)
: input.Slice(0, length);
public static void Advance(this ref ReadOnlySpan<char> input... | namespace Parsley;
public static class ReadOnlySpanExtensions
{
public static ReadOnlySpan<char> Peek(this ref ReadOnlySpan<char> input, int length)
=> length >= input.Length
? input.Slice(0)
: input.Slice(0, length);
public static void Advance(this ref ReadOnlySpan<char> input... | mit | C# |
560ed0f4b734262b963086a9fe50e052c3c6c4e7 | Fix aiming bug | jkereako/PillBlasta | Assets/Scripts/Player/Player.cs | Assets/Scripts/Player/Player.cs | using UnityEngine;
// Declare the file's dependencies
[RequireComponent(typeof(PlayerController))]
[RequireComponent(typeof(WeaponController))]
public class Player: LiveEntity {
public EntityTrait trait;
public CrossHair crossHair;
PlayerController playerController;
WeaponController weaponController;
Camera... | using UnityEngine;
// Declare the file's dependencies
[RequireComponent(typeof(PlayerController))]
[RequireComponent(typeof(WeaponController))]
public class Player: LiveEntity {
public EntityTrait trait;
public CrossHair crossHair;
PlayerController playerController;
WeaponController weaponController;
Camera... | mit | C# |
2ef5aa84350f2ae3b72eddf1cecd2c53921d5372 | Introduce caching of ShouldIgnore request so that the ignorer pipeline is only executed once per request | peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mik... | src/Glimpse.Agent.Web/Framework/DefaultRequestIgnorerManager.cs | src/Glimpse.Agent.Web/Framework/DefaultRequestIgnorerManager.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.JsonPatch.Helpers;
namespace Glimpse.Agent.Web
{
public class DefaultRequestIgnorerManager : IRequestIgnorerManager
{
public DefaultRequestIgnorerManager(IExtensionProvider<IRequestIg... | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.AspNet.Http;
namespace Glimpse.Agent.Web
{
public class DefaultRequestIgnorerManager : IRequestIgnorerManager
{
public DefaultRequestIgnorerManager(IExtensionProvider<IRequestIgnorer> requestIgnorerProvider, IHttpContex... | mit | C# |
fdd5438123c1b9a5b02494955f9acec66e5fed5e | remove DeviceTimestamp from SensorValues model | MCeddy/IoT-core | IoT-Core/Models/SensorValues.cs | IoT-Core/Models/SensorValues.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace IoT_Core.Models
{
public class SensorValues
{
public int Id { get; set; }
public DateTime Date { get; set; }
//public int? DeviceTim... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace IoT_Core.Models
{
public class SensorValues
{
public int Id { get; set; }
public DateTime Date { get; set; }
public int? DeviceTimes... | mit | C# |
8dea2b1630714a644070a2fd6351995fbafd5e20 | Update to version | chaowlert/Mapster,eswann/Mapster | src/Fpr/Properties/AssemblyInfo.cs | src/Fpr/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("Fp... | 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("Fp... | mit | C# |
106365f2e83cc999e0d83fac7d4eb6f3e0960c0d | Add CodeGenUtilityTests. | FacilityApi/Facility | tests/Facility.Definition.UnitTests/CodeGen/CodeGenUtilityTests.cs | tests/Facility.Definition.UnitTests/CodeGen/CodeGenUtilityTests.cs | using Facility.Definition.CodeGen;
using FluentAssertions;
using NUnit.Framework;
namespace Facility.Definition.UnitTests.CodeGen
{
public sealed class CodeGenUtilityTests
{
[TestCase("xyZzy", "XyZzy")]
[TestCase("XyZzy", "XyZzy")]
[TestCase("1234", "1234")]
public void Capitalize(string before, string after... | using Facility.Definition.CodeGen;
using FluentAssertions;
using NUnit.Framework;
namespace Facility.Definition.UnitTests.CodeGen
{
public sealed class CodeGenUtilityTests
{
[Test]
public void CapitalizeLowerCase()
{
CodeGenUtility.Capitalize("xyzzy").Should().Be("Xyzzy");
}
[Test]
public void Capita... | mit | C# |
dd64f8d27c1665221a94e2a519b4adee9c41c3b1 | check if config entry already exists | int32at/utils | src/Utils/Configuration/Config.cs | src/Utils/Configuration/Config.cs | using System;
using System.Collections.Generic;
using System.Linq;
using int32.Utils.Extensions;
namespace int32.Utils.Configuration
{
public class Config
{
private readonly List<ConfigEntry> _entries;
public object this[string key]
{
get { return GetConfigEntry(key).Value... | using System;
using System.Collections.Generic;
using System.Linq;
using int32.Utils.Extensions;
namespace int32.Utils.Configuration
{
public class Config
{
private readonly List<ConfigEntry> _entries;
public object this[string key]
{
get { return GetConfigEntry(key).Value... | mit | C# |
e5631bb8ef7657a84529d72b571b9b41448a8b0c | Make sure we register stuff | akavache/Akavache,MarcMagnin/Akavache,bbqchickenrobot/Akavache,gimsum/Akavache,jcomtois/Akavache,PureWeen/Akavache,Loke155/Akavache,christer155/Akavache,martijn00/Akavache,ghuntley/AkavacheSandpit,shana/Akavache,mms-/Akavache,shana/Akavache,MathieuDSTP/MyAkavache,kmjonmastro/Akavache | Akavache/Portable/DependencyResolverMixin.cs | Akavache/Portable/DependencyResolverMixin.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Splat;
namespace Akavache
{
internal interface IWantsToRegisterStuff
{
void Register(IMutableDependencyResolver resolverToUse);
}
public static cl... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Splat;
namespace Akavache
{
internal interface IWantsToRegisterStuff
{
void Register(IMutableDependencyResolver resolverToUse);
}
public static cl... | mit | C# |
cad0aed18b445a24a65c1fb699eb8eec12c3d4bf | Add the warrant security type. | krs43/ib-csharp,qusma/ib-csharp,sebfia/ib-csharp | Krs.Ats.IBNet/Enums/SecurityType.cs | Krs.Ats.IBNet/Enums/SecurityType.cs | using System;
using System.ComponentModel;
namespace Krs.Ats.IBNet
{
/// <summary>
/// Contract Security Types
/// </summary>
[Serializable()]
public enum SecurityType
{
/// <summary>
/// Stock
/// </summary>
[Description("STK")] Stock,
//... | using System;
using System.ComponentModel;
namespace Krs.Ats.IBNet
{
/// <summary>
/// Contract Security Types
/// </summary>
[Serializable()]
public enum SecurityType
{
/// <summary>
/// Stock
/// </summary>
[Description("STK")] Stock,
//... | mit | C# |
59c997194ff92f52ce203fc4a2d9b4b494c2f1ca | Test for element equality | JBTech/ExtraLINQ,mariusschulz/ExtraLINQ,modulexcite/ExtraLINQ | ExtraLINQ.Tests/Extensions/NameValueCollection/ToDictionaryTests.cs | ExtraLINQ.Tests/Extensions/NameValueCollection/ToDictionaryTests.cs | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using ExtraLinq;
using FluentAssertions;
using NUnit.Framework;
namespace ExtraLINQ.Tests
{
[TestFixture]
public class ToDictionaryTests
{
[ExpectedException(typeof(ArgumentNullException))]
[Test]
... | using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using ExtraLinq;
using NUnit.Framework;
namespace ExtraLINQ.Tests
{
[TestFixture]
public class ToDictionaryTests
{
[ExpectedException(typeof(ArgumentNullException))]
[Test]
public void ThrowsArgum... | mit | C# |
8afeb4d0943688ac267679c10e6c744e167275b2 | Add helpers for converting to and from Fahrenheit | space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14-content,space-wizards/space-station-14-content,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.Shared/Utility/TemperatureHelpers.cs | Content.Shared/Utility/TemperatureHelpers.cs | using Content.Shared.Maths;
namespace Content.Shared.Utility
{
public static class TemperatureHelpers
{
public static float CelsiusToKelvin(float celsius)
{
return celsius + PhysicalConstants.ZERO_CELCIUS;
}
public static float CelsiusToFahrenheit(float celsius)
... | using Content.Shared.Maths;
namespace Content.Shared.Utility
{
public static class TemperatureHelpers
{
public static float CelsiusToKelvin(float celsius)
{
return celsius + PhysicalConstants.ZERO_CELCIUS;
}
public static float KelvinToCelsius(float kelvin)
... | mit | C# |
dc6170191611470d1dcd8aafe552c5f0d5c84314 | Fix broken tests | mike-ward/Nancy.Pile,mike-ward/Nancy.Pile,mike-ward/Nancy.Pile,mike-ward/Nancy.Pile | Nancy.Pile.Tests/SampleTests.cs | Nancy.Pile.Tests/SampleTests.cs | using System.Linq;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nancy.Testing;
namespace Nancy.Pile.Tests
{
[TestClass]
public class SampleTests
{
[TestMethod]
public void UnminifiedStyleSheetBundleShouldBeCorrectLength()
{
var boots... | using System.Linq;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Nancy.Testing;
namespace Nancy.Pile.Tests
{
[TestClass]
public class SampleTests
{
[TestMethod]
public void UnminifiedStyleSheetBundleShouldBeCorrectLength()
{
var boots... | mit | C# |
4d05dd2526698cc3aa47f5e50c0833f95cc8421f | Update Startup.cs | tugberkugurlu/travis-test,tugberkugurlu/travis-test | src/HelloWeb/Startup.cs | src/HelloWeb/Startup.cs | using Microsoft.AspNet.Builder;
using Microsoft.Framework.Logging;
namespace HelloWeb
{
public class Startup
{
public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory)
{
loggerFactory.AddConsole();
app.UseStaticFiles();
app.UseWelcomePage(... | using Microsoft.AspNet.Builder;
using Microsoft.Framework.Logging;
namespace HelloWeb
{
public class Startup
{
public void Configure(IApplicationBuilder app, ILoggerFactory loggerFactory)
{
loggerFactory.AddConsole()
app.UseStaticFiles();
app.UseWelcomePage()... | mit | C# |
030608ca26ebf72e4bce6a12bc8f103e3c1f8477 | update version | baikangwang/Aeronet,CIMEL/CIMEL | CIMEL.Chart/Properties/AssemblyInfo.cs | CIMEL.Chart/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[ass... | apache-2.0 | C# |
b24a11e0aacc03ea00fe223ac55d250a8e1bc3c6 | Fix null reference exception | roman-yagodin/R7.News,roman-yagodin/R7.News,roman-yagodin/R7.News | R7.News/Components/NewsPortalConfig.cs | R7.News/Components/NewsPortalConfig.cs | //
// NewsPortalConfig.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2016 Roman M. Yagodin
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation,... | //
// NewsPortalConfig.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2016 Roman M. Yagodin
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation,... | agpl-3.0 | C# |
83ef7471cc74054e74538dc883f9aadadf80ce0c | Add DebugUtilities.AssertSameRotation | virtuallynaked/virtually-naked,virtuallynaked/virtually-naked | Viewer/src/common/DebugUtilities.cs | Viewer/src/common/DebugUtilities.cs | using SharpDX;
using System;
using System.Diagnostics;
using System.Threading;
static class DebugUtilities {
public static void Burn(long ms) {
Stopwatch stopwatch = Stopwatch.StartNew();
while (stopwatch.ElapsedMilliseconds < ms) {
}
}
public static void Sleep(long ms) {
Stopwatch stopwatch = Stopwatch.S... | using SharpDX;
using System;
using System.Diagnostics;
using System.Threading;
static class DebugUtilities {
public static void Burn(long ms) {
Stopwatch stopwatch = Stopwatch.StartNew();
while (stopwatch.ElapsedMilliseconds < ms) {
}
}
public static void Sleep(long ms) {
Stopwatch stopwatch = Stopwatch.S... | mit | C# |
a0c35c247ef52efc8267b3bb18b1220924949c90 | Remove git automerge duplication disaster. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Stores/BitcoinStore.cs | WalletWasabi/Stores/BitcoinStore.cs | using NBitcoin;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
using WalletWasabi.Mempool;
using WalletWasabi.Transactions;
namespace WalletWasabi.Stores
{
/// <summary>
/// The purpose of this ... | using NBitcoin;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading.Tasks;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
using WalletWasabi.Mempool;
using WalletWasabi.Transactions;
namespace WalletWasabi.Stores
{
/// <summary>
/// The purpose of this ... | mit | C# |
4159d88826012245d6cb6db32a76e596f88222fe | Add size property to HorizontalRule | kswoll/WootzJs,x335/WootzJs,x335/WootzJs,kswoll/WootzJs,kswoll/WootzJs,x335/WootzJs | WootzJs.Mvc/Views/HorizontalRule.cs | WootzJs.Mvc/Views/HorizontalRule.cs | namespace WootzJs.Mvc.Views
{
public class HorizontalRule : Control
{
public HorizontalRule() : base("hr")
{
}
public int Size
{
get { return Node.HasAttribute("size") ? int.Parse(Node.GetAttribute("size")) : 1; }
set { Node.SetAttribute("size", ... | namespace WootzJs.Mvc.Views
{
public class HorizontalRule : Control
{
public HorizontalRule() : base("hr")
{
}
}
} | mit | C# |
95e4e64acfeb12a37d6ca7001ad5d278c602c3c8 | Add future project key parameter | duncanpMS/sonar-msbuild-runner,duncanpMS/sonar-msbuild-runner,jango2015/sonar-msbuild-runner,LunicLynx/sonar-msbuild-runner,HSAR/sonar-msbuild-runner,jessehouwing/sonar-msbuild-runner,LunicLynx/sonar-msbuild-runner,SonarSource-VisualStudio/sonar-msbuild-runner,SonarSource-DotNet/sonar-msbuild-runner,SonarSource/sonar-m... | src/Sonar.FxCopRuleset/Program.cs | src/Sonar.FxCopRuleset/Program.cs | //-----------------------------------------------------------------------
// <copyright file="Program.cs" company="SonarSource SA and Microsoft Corporation">
// (c) SonarSource SA and Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------... | //-----------------------------------------------------------------------
// <copyright file="Program.cs" company="SonarSource SA and Microsoft Corporation">
// (c) SonarSource SA and Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------... | mit | C# |
5496e7204acb157c400b15282cbeefa135aef48c | Write some more tests for secret splitting | 0culus/ElectronicCash | ElectronicCash.Tests/SecretSplittingTests.cs | ElectronicCash.Tests/SecretSplittingTests.cs | using NUnit.Framework;
using SecretSplitting;
namespace ElectronicCash.Tests
{
[TestFixture]
class SecretSplittingTests
{
private static readonly byte[] Message = Helpers.GetBytes("Supersecretmessage");
private static readonly byte[] RandBytes = Helpers.GetRandomBytes(Helpers.GetString(Mes... | using NUnit.Framework;
using SecretSplitting;
namespace ElectronicCash.Tests
{
[TestFixture]
class SecretSplittingTests
{
private static readonly byte[] Message = Helpers.GetBytes("Supersecretmessage");
private static readonly byte[] RandBytes = Helpers.GetRandomBytes(Helpers.GetString(Mes... | mit | C# |
8562183f0590e23cedbdaed939dce1e90e0bb4ef | Fix incorrect inheritance relationship | terrajobst/nquery-vnext | NQuery.Language/Syntax/SelectClauseSyntax.cs | NQuery.Language/Syntax/SelectClauseSyntax.cs | using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace NQuery.Language
{
public sealed class SelectClauseSyntax : SyntaxNode
{
private readonly SyntaxToken _selectKeyword;
private readonly SyntaxToken? _distinctAllKeyword;
private readonly TopClauseSyntax _top... | using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace NQuery.Language
{
public sealed class SelectClauseSyntax : QuerySyntax
{
private readonly SyntaxToken _selectKeyword;
private readonly SyntaxToken? _distinctAllKeyword;
private readonly TopClauseSyntax _to... | mit | C# |
44af2f94d7bc5d07dc43e7d0f5e63eae8ca47c7e | Use specified font for RTF exporting | GetTabster/Tabster | Plugins/FileTypes/RtfFile/RtfFileExporter.cs | Plugins/FileTypes/RtfFile/RtfFileExporter.cs | #region
using System;
using System.Drawing;
using System.Windows.Forms;
using Tabster.Data;
using Tabster.Data.Processing;
#endregion
namespace RtfFile
{
internal class RtfFileExporter : ITablatureFileExporter
{
private RichTextBox _rtb;
#region Implementation of ITablatureF... | #region
using System;
using System.Drawing;
using System.Windows.Forms;
using Tabster.Data;
using Tabster.Data.Processing;
#endregion
namespace RtfFile
{
internal class RtfFileExporter : ITablatureFileExporter
{
private Font _font;
private RichTextBox _rtb;
#region ... | apache-2.0 | C# |
671d5a8e4acf43cb469ca8644d70af0c6b34e7b7 | Bump version. | andreassjoberg/Tfs2015SetPicture | Tfs2015SetPicture/Properties/AssemblyInfo.cs | Tfs2015SetPicture/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("Tf... | 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("Tf... | mit | C# |
c084fb800a659f41ac7e86dc49d14122c43bd082 | Disable adding redundant arguments for getting machine id | ifilipenko/Building-Blocks,ifilipenko/Building-Blocks,ifilipenko/Building-Blocks | src/BuildingBlocks.CopyManagement/SmartClientApplicationIdentity.cs | src/BuildingBlocks.CopyManagement/SmartClientApplicationIdentity.cs | using System;
namespace BuildingBlocks.CopyManagement
{
public class SmartClientApplicationIdentity : IApplicationIdentity
{
private static readonly Lazy<IApplicationIdentity> _current;
static SmartClientApplicationIdentity()
{
_current = new Lazy<IApplicationIden... | using System;
namespace BuildingBlocks.CopyManagement
{
public class SmartClientApplicationIdentity : IApplicationIdentity
{
private static readonly Lazy<IApplicationIdentity> _current;
static SmartClientApplicationIdentity()
{
_current = new Lazy<IApplicationIden... | apache-2.0 | C# |
1e6d745cac04c93f0bc303b14835df2f63f375a3 | Update grammar in StaticConstructorExceptionAnalyzer.cs #839 | giggio/code-cracker,jwooley/code-cracker,carloscds/code-cracker,eriawan/code-cracker,code-cracker/code-cracker,code-cracker/code-cracker,carloscds/code-cracker | src/CSharp/CodeCracker/Design/StaticConstructorExceptionAnalyzer.cs | src/CSharp/CodeCracker/Design/StaticConstructorExceptionAnalyzer.cs | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using System.Collections.Immutable;
using System.Linq;
namespace CodeCracker.CSharp.Design
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class StaticCo... | using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using System.Collections.Immutable;
using System.Linq;
namespace CodeCracker.CSharp.Design
{
[DiagnosticAnalyzer(LanguageNames.CSharp)]
public class StaticCo... | apache-2.0 | C# |
8b5b331f4f56b8203a1fbe1a6b845dc712565ecd | Change the tags on the report | ChristopherJennings/KInspector,Kentico/KInspector,Kentico/KInspector,ChristopherJennings/KInspector,ChristopherJennings/KInspector,Kentico/KInspector,Kentico/KInspector,ChristopherJennings/KInspector | KenticoInspector.Reports/PageTypeNotAssignedToSite/Report.cs | KenticoInspector.Reports/PageTypeNotAssignedToSite/Report.cs | using KenticoInspector.Core;
using KenticoInspector.Core.Constants;
using KenticoInspector.Core.Helpers;
using KenticoInspector.Core.Models;
using KenticoInspector.Core.Services.Interfaces;
using KenticoInspector.Reports.PageTypeNotAssignedToSite.Models;
using System;
using System.Collections.Generic;
using System.Lin... | using KenticoInspector.Core;
using KenticoInspector.Core.Constants;
using KenticoInspector.Core.Helpers;
using KenticoInspector.Core.Models;
using KenticoInspector.Core.Services.Interfaces;
using KenticoInspector.Reports.PageTypeNotAssignedToSite.Models;
using System;
using System.Collections.Generic;
using System.Lin... | mit | C# |
abcf1d54b710f990c55a7e30a7f3bb7e1bd2803c | Fix build error | jotschgl/helix-toolkit,Iluvatar82/helix-toolkit,helix-toolkit/helix-toolkit,smischke/helix-toolkit,holance/helix-toolkit,chrkon/helix-toolkit,JeremyAnsel/helix-toolkit | Source/HelixToolkit.Wpf.SharpDX.Tests/Controls/CanvasMock.cs | Source/HelixToolkit.Wpf.SharpDX.Tests/Controls/CanvasMock.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="CanvasMock.cs" company="Helix Toolkit">
// Copyright (c) 2014 Helix Toolkit contributors
// </copyright>
// -----------------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="CanvasMock.cs" company="Helix Toolkit">
// Copyright (c) 2014 Helix Toolkit contributors
// </copyright>
// -----------------------------------------------------------------... | mit | C# |
a5e22c052e0f0ad7bdf6c8fd4a0756b6c5079927 | Fix incorrect namespace | bellrichm/weather,bellrichm/weather,bellrichm/weather,bellrichm/weather,bellrichm/weather | api/test/BellRichM.Exceptions.Test/BusinessExceptionSpecs.cs | api/test/BellRichM.Exceptions.Test/BusinessExceptionSpecs.cs | using BellRichM.Exceptions;
using FluentAssertions;
using Machine.Specifications;
using Moq;
using System;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using It = Machine.Specifications.It;
#pragma warning disable SA1649 // File name should match first typ... | using BellRichM.Exceptions;
using FluentAssertions;
using Machine.Specifications;
using Moq;
using System;
using System.IO;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using It = Machine.Specifications.It;
#pragma warning disable SA1649 // File name should match first typ... | mit | C# |
cff0b90cd5bda66abbaa26e53a0ab6cda3fc7cf3 | Update AssemblyInfo.cs | lust4life/WebApiProxy,faniereynders/WebApiProxy | WebApiProxy.Tasks/Properties/AssemblyInfo.cs | WebApiProxy.Tasks/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
60efbed8bff3079493d57f7fe38002690532b3cc | update version | strotz/pustota,strotz/pustota,strotz/pustota | src/Pustota.Maven.Cmd/Properties/AssemblyInfo.cs | src/Pustota.Maven.Cmd/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | mit | C# |
673d0f3e879159bd3b6bd4c74bc2a66e71f7ec96 | Create vol_01.cs | webjug/vol | vol_01.cs | vol_01.cs | using System;
namespace vol
{
public class MyClass()
{
}
}
| unlicense | C# | |
338e30974d4870a0eb23f396e6b8af757e5ff049 | Remove Hyena.Timer usage from last commit | mono-soc-2011/banshee,babycaseny/banshee,stsundermann/banshee,petejohanson/banshee,GNOME/banshee,dufoli/banshee,petejohanson/banshee,Carbenium/banshee,Dynalon/banshee-osx,mono-soc-2011/banshee,babycaseny/banshee,arfbtwn/banshee,lamalex/Banshee,allquixotic/banshee-gst-sharp-work,stsundermann/banshee,ixfalia/banshee,GNOM... | src/Core/Banshee.ThickClient/Banshee.Sources.Gui/LazyLoadSourceContents.cs | src/Core/Banshee.ThickClient/Banshee.Sources.Gui/LazyLoadSourceContents.cs | //
// LazyLoadSourceContents.cs
//
// Author:
// Gabriel Burt <gburt@novell.com>
//
// Copyright (C) 2009 Novell, 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 restrict... | //
// LazyLoadSourceContents.cs
//
// Author:
// Gabriel Burt <gburt@novell.com>
//
// Copyright (C) 2009 Novell, 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 restrict... | mit | C# |
e32fb5ad2f880414b2aae8b8cf2c7f4eeb3bf197 | fix new line delimiter | LykkeCity/MT,LykkeCity/MT,LykkeCity/MT | src/MarginTrading.Backend.Core/OvernightSwaps/OvernightSwapNotification.cs | src/MarginTrading.Backend.Core/OvernightSwaps/OvernightSwapNotification.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace MarginTrading.Backend.Core
{
public class OvernightSwapNotification
{
public string CliendId { get; set; }
public IReadOnlyList<AccountCalculations> CalculationsByAccount { get; set; }
public string CurrentDat... | using System;
using System.Collections.Generic;
using System.Linq;
namespace MarginTrading.Backend.Core
{
public class OvernightSwapNotification
{
public string CliendId { get; set; }
public IReadOnlyList<AccountCalculations> CalculationsByAccount { get; set; }
public string CurrentDat... | mit | C# |
38fcc693c01f0fde2c164e5cca616dd4fc88db38 | Set the right shader type. | izrik/ChamberLib,izrik/ChamberLib,izrik/ChamberLib | ChamberLib.OpenTK/GlslShaderImporter.cs | ChamberLib.OpenTK/GlslShaderImporter.cs | using System;
using ChamberLib.Content;
using System.IO;
namespace ChamberLib.OpenTK
{
public class GlslShaderImporter
{
public GlslShaderImporter(ShaderStageImporter next=null)
{
this.next = next;
}
readonly ShaderStageImporter next;
public ShaderContent ... | using System;
using ChamberLib.Content;
using System.IO;
namespace ChamberLib.OpenTK
{
public class GlslShaderImporter
{
public GlslShaderImporter(ShaderStageImporter next=null)
{
this.next = next;
}
readonly ShaderStageImporter next;
public ShaderContent ... | lgpl-2.1 | C# |
a40dcd3dc222ec7029f0155b619efc263242fcfe | Update base link. | ForNeVeR/EvilPlanner,ForNeVeR/EvilPlanner,ForNeVeR/fornever.me,ForNeVeR/fornever.me,ForNeVeR/fornever.me,ForNeVeR/EvilPlanner | EvilPlanner/Views/Shared/_Layout.cshtml | EvilPlanner/Views/Shared/_Layout.cshtml | @using System.Web.Configuration
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>F. von Never — @ViewBag.Title</title>
<base href="@WebConfigurationManager.AppSettings["BaseUrl"]"/>
<link rel="stylesheet" type="text/css" href="Content/css"/>
</h... | @using System.Web.Configuration
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>F. von Never — @ViewBag.Title</title>
<base href="@WebConfigurationManager.AppSettings["BaseUrl"]"/>
<link rel="stylesheet" type="text/css" href="Content/css"/>
</h... | mit | C# |
2b8eaecd993b1112b38da019d7664215b8ad8e49 | Revert TeamFoundationIdentity because it changes the identity received | pmiossec/git-tfs,adbre/git-tfs,modulexcite/git-tfs,bleissem/git-tfs,WolfVR/git-tfs,PKRoma/git-tfs,guyboltonking/git-tfs,WolfVR/git-tfs,modulexcite/git-tfs,adbre/git-tfs,modulexcite/git-tfs,guyboltonking/git-tfs,NathanLBCooper/git-tfs,guyboltonking/git-tfs,jeremy-sylvis-tmg/git-tfs,kgybels/git-tfs,kgybels/git-tfs,WolfVR... | GitTfs.VsCommon/TfsHelper.Vs2012Base.cs | GitTfs.VsCommon/TfsHelper.Vs2012Base.cs | using System;
using System.IO;
using Microsoft.TeamFoundation.Client;
using Microsoft.TeamFoundation.Framework.Client;
using Microsoft.TeamFoundation.Framework.Common;
using Microsoft.TeamFoundation.Server;
using Microsoft.TeamFoundation.VersionControl.Client;
using StructureMap;
using Sep.Git.Tfs.Core.TfsInterop;
nam... | using System;
using System.IO;
using Microsoft.TeamFoundation.Client;
using Microsoft.TeamFoundation.Framework.Client;
using Microsoft.TeamFoundation.Framework.Common;
using Microsoft.TeamFoundation.VersionControl.Client;
using StructureMap;
using Sep.Git.Tfs.Core.TfsInterop;
namespace Sep.Git.Tfs.VsCommon
{
publi... | apache-2.0 | C# |
81aee807a003c53ccdf8f06604b5e5b94114f550 | Document type indexes - new options like isRequired, close #198 | kotorihq/kotori-core | KotoriCore/Domains/DocumentTypeIndex.cs | KotoriCore/Domains/DocumentTypeIndex.cs | namespace KotoriCore.Domains
{
/// <summary>
/// Document type index.
/// </summary>
public class DocumentTypeIndex : IDomain
{
/// <summary>
/// Gets or sets "from" property.
/// </summary>
/// <value>"From" property.</value>
public string From { get; set; }... | namespace KotoriCore.Domains
{
/// <summary>
/// Document type index.
/// </summary>
public class DocumentTypeIndex : IDomain
{
/// <summary>
/// Gets or sets "from" property.
/// </summary>
/// <value>"From" property.</value>
public string From { get; set; }... | mit | C# |
9203bb2f4830e82cdc2465713c9d6c95721b6b21 | Fix settings test. | jlennox/HeartRate | Lennox.HeartRate.Tests/SettingsTests.cs | Lennox.HeartRate.Tests/SettingsTests.cs | using System.IO;
using HeartRate;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Lennox.HeartRate.Tests
{
[TestClass]
public class SettingsTests
{
[TestMethod]
public void SettingsSaveToFileAsExpected()
{
const string expected = @"<?xml versio... | using System.IO;
using HeartRate;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Lennox.HeartRate.Tests
{
[TestClass]
public class SettingsTests
{
[TestMethod]
public void SettingsSaveToFileAsExpected()
{
const string expected = @"<?xml versio... | mit | C# |
2475ccb0df87152929e440d081f3399cf76a9051 | Update AssemblyInfo.cs | RytisLT/LiteDB,falahati/LiteDB,RytisLT/LiteDB,mbdavid/LiteDB,falahati/LiteDB,89sos98/LiteDB,89sos98/LiteDB | LiteDB.Shell/Properties/AssemblyInfo.cs | LiteDB.Shell/Properties/AssemblyInfo.cs | using System.Resources;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("LiteDB.Shell")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("LiteDB.Shell")]
[assembly: AssemblyCopyright("MIT © 20... | using System.Resources;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("LiteDB.Shell")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("LiteDB.Shell")]
[assembly: AssemblyCopyright("MIT © 20... | mit | C# |
899942611fcb085fc09226c84a7bbbd47500450f | Add tests for time display | ppy/osu,peppy/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,smoogipooo/osu | osu.Game.Tournament.Tests/Screens/TestSceneScheduleScreen.cs | osu.Game.Tournament.Tests/Screens/TestSceneScheduleScreen.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Tournament.Components;
using osu.Game.Tournament.Screens... | // 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.Allocation;
using osu.Framework.Graphics;
using osu.Game.Tournament.Components;
using osu.Game.Tournament.Screens.Schedule;
namespace osu.Game.Tourna... | mit | C# |
4517b4c38b678ee02a03993a893f3ad799f4d743 | clean up | CityofSantaMonica/Orchard.ParkingData,RaghavAbboy/Orchard.ParkingData | Migrations.cs | Migrations.cs | using System;
using CSM.ParkingData.Models;
using Orchard.Data.Migration;
namespace CSM.ParkingData
{
public class Migrations : DataMigrationImpl
{
public int Create()
{
SchemaBuilder.CreateTable(
typeof(SensorEvent).Name,
table => table
... | using System;
using CSM.ParkingData.Models;
using Orchard.Data;
using Orchard.Data.Migration;
namespace CSM.ParkingData.Data
{
public class Migrations : DataMigrationImpl
{
private readonly IRepository<SensorEvent> _sensorEventsRepository;
private readonly IRepository<MeteredSpace> _... | mit | C# |
4f79d6d63cf6cdabd50f8ebf4e9b6acc709d08f2 | Update compatibility checks for user language permissions | KevinJump/uSync,KevinJump/uSync,KevinJump/uSync | uSync.Core/uSyncCapabilityChecker.cs | uSync.Core/uSyncCapabilityChecker.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Umbraco.Cms.Core.Configuration;
namespace uSync.Core
{
/// <summary>
/// a centralized way of telling if the current version of umbraco has
/// certain features or not.
/// </... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Umbraco.Cms.Core.Configuration;
namespace uSync.Core
{
/// <summary>
/// a centralized way of telling if the current version of umbraco has
/// certain features or not.
/// </... | mpl-2.0 | C# |
61f4dcbafda336c384f77a0e0efff8209aabcb3a | update to match ThaiBahtText parameter ordering | greatfriends/ThaiBahtText,greatfriends/ThaiBahtText,greatfriends/ThaiBahtText | GFDN.ThaiBahtText/ThaiBahtTextOptions.cs | GFDN.ThaiBahtText/ThaiBahtTextOptions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GreatFriends.ThaiBahtText {
public class ThaiBahtTextOptions {
public UsesEt Mode { get; set; }
public Unit Unit { get; set; }
public bool AppendBahtOnly { get; set; }
public int DecimalPlaces { get; set... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GreatFriends.ThaiBahtText {
public class ThaiBahtTextOptions {
public UsesEt Mode { get; set; }
public Unit Unit { get; set; }
public bool AppendBahtOnly { get; set; }
public int DecimalPlaces { get; set... | mit | C# |
07d9e864506794d93a03bc68efd825d935013e8f | Correct namespace to fix failure | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | samples/IdentitySample.Mvc/Views/Shared/_LoginPartial.cshtml | samples/IdentitySample.Mvc/Views/Shared/_LoginPartial.cshtml | @using System.Security.Claims
@if (User.IsSignedIn())
{
using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm", @class = "navbar-right" }))
{
@Html.AntiForgeryToken()
<ul class="nav navbar-nav navbar-right">
<li>
@Html.ActionLink("Hello... | @using System.Security.Principal
@if (User.IsSignedIn())
{
using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm", @class = "navbar-right" }))
{
@Html.AntiForgeryToken()
<ul class="nav navbar-nav navbar-right">
<li>
@Html.ActionLink("He... | apache-2.0 | C# |
7a97c257d80b8e77455ec9ed210d6c7a4898c8ad | Make header of header middleware publicly accessible | InfiniteSoul/Azuria | Azuria/Middleware/StaticHeaderMiddleware.cs | Azuria/Middleware/StaticHeaderMiddleware.cs | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Azuria.ErrorHandling;
using Azuria.Requests.Builder;
namespace Azuria.Middleware
{
/// <summary>
/// Adds some static headers to the request. They indicate things like application, version and api key used.
... | using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Azuria.ErrorHandling;
using Azuria.Requests.Builder;
namespace Azuria.Middleware
{
/// <summary>
/// Adds some static headers to the request. They indicate things like application, version and api key used.
... | mit | C# |
fe302676f71b297942fb1687afe9befffb8567df | fix - updated namespace in route mapping of EmbeddedResourceController | uComponents/nuPickers,uComponents/nuPickers,uComponents/nuPickers | source/nuPickers/EmbeddedResource/EmbeddedResourceStartup.cs | source/nuPickers/EmbeddedResource/EmbeddedResourceStartup.cs | namespace nuPickers.EmbeddedResource
{
using ClientDependency.Core;
using System.Web.Mvc;
using System.Web.Routing;
using Umbraco.Core;
public class EmbeddedResourceStartup : ApplicationEventHandler
{
protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication,... | namespace nuPickers.EmbeddedResource
{
using ClientDependency.Core;
using System.Web.Mvc;
using System.Web.Routing;
using Umbraco.Core;
public class EmbeddedResourceStartup : ApplicationEventHandler
{
protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication,... | mit | C# |
fbff56d52482b7739481d7c09118f7f779c60d6a | Simplify parsing string to Topology enum | Sitecore/Sitecore-Instance-Manager | src/SIM.Pipelines/Install/Containers/InstallContainerArgs.cs | src/SIM.Pipelines/Install/Containers/InstallContainerArgs.cs | using System;
using System.Globalization;
using ContainerInstaller;
using SIM.Pipelines.Processors;
namespace SIM.Pipelines.Install.Containers
{
public enum Topology
{
Xm1,
Xp0,
Xp1
}
public class InstallContainerArgs : ProcessorArgs
{
public InstallContainerArgs(EnvModel model, string des... | using System;
using System.Globalization;
using ContainerInstaller;
using SIM.Pipelines.Processors;
namespace SIM.Pipelines.Install.Containers
{
public enum Topology
{
Xm1,
Xp0,
Xp1
}
public static class StringExtentions
{
public static Topology ToTopology(this string tpl)
{
if (t... | mit | C# |
44cd05908a60817a6bbbfed4d57b1550b231ad1e | Use await instead. | danielwertheim/mycouch,danielwertheim/mycouch | src/Tests/MyCouch.Net45.IntegrationTests/ClientExtensions.cs | src/Tests/MyCouch.Net45.IntegrationTests/ClientExtensions.cs | using MyCouch.Extensions;
using MyCouch.Requests;
using MyCouch.Responses;
namespace MyCouch.IntegrationTests
{
internal static class ClientExtensions
{
internal static void ClearAllDocuments(this IClient client)
{
var query = new QuerySystemViewRequest("_all_docs").Configure(q => ... | using MyCouch.Requests;
using MyCouch.Responses;
namespace MyCouch.IntegrationTests
{
internal static class ClientExtensions
{
internal static void ClearAllDocuments(this IClient client)
{
var query = new QuerySystemViewRequest("_all_docs").Configure(q => q.Stale(Stale.UpdateAfter)... | mit | C# |
bbae88e1bbd23098cede29ff01c63aefee1789f6 | change version | vevix/DigitalOcean.API | DigitalOcean.API/Properties/AssemblyInfo.cs | DigitalOcean.API/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("DigitalOcean.API")]
[assembly: AssemblyD... | 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("DigitalOcean.API")]
[assembly: AssemblyD... | mit | C# |
c2e25edec01ded992b492da77fc584823d0b3780 | Fix StickerOwnerUserId from config | MrRoundRobin/telegram.bot,AndyDingo/telegram.bot,TelegramBots/telegram.bot | test/Telegram.Bot.Tests.Integ/Framework/ConfigurationProvider.cs | test/Telegram.Bot.Tests.Integ/Framework/ConfigurationProvider.cs | using System;
using System.IO;
using System.Linq;
using Microsoft.Extensions.Configuration;
namespace Telegram.Bot.Tests.Integ.Framework
{
public static class ConfigurationProvider
{
public static TestConfigurations TestConfigurations;
static ConfigurationProvider()
{
var c... | using System;
using System.IO;
using System.Linq;
using Microsoft.Extensions.Configuration;
namespace Telegram.Bot.Tests.Integ.Framework
{
public static class ConfigurationProvider
{
public static TestConfigurations TestConfigurations;
static ConfigurationProvider()
{
var ... | mit | C# |
76153fc93cf3580cebd4d9a6dbc9ae32681e4958 | Add [Serializable] attribute | dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute,dnm240/NSubstitute | Source/NSubstitute/Exceptions/NullSubstituteReferenceException.cs | Source/NSubstitute/Exceptions/NullSubstituteReferenceException.cs | using System;
using System.Runtime.Serialization;
namespace NSubstitute.Exceptions
{
[Serializable]
public class NullSubstituteReferenceException : NotASubstituteException
{
public NullSubstituteReferenceException() { }
protected NullSubstituteReferenceException(SerializationInfo info, Str... | using System.Runtime.Serialization;
namespace NSubstitute.Exceptions
{
[Serializable]
public class NullSubstituteReferenceException : NotASubstituteException
{
public NullSubstituteReferenceException() { }
protected NullSubstituteReferenceException(SerializationInfo info, StreamingContext ... | bsd-3-clause | C# |
f205a86d182af16d5eec1f7703bb5150e92c913e | Duplicate Property | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerAccounts/Configuration/EmployerAccountsConfiguration.cs | src/SFA.DAS.EmployerAccounts/Configuration/EmployerAccountsConfiguration.cs | using SFA.DAS.Authentication;
using SFA.DAS.EAS.Account.Api.Client;
using SFA.DAS.Hmrc.Configuration;
using SFA.DAS.Messaging.AzureServiceBus.StructureMap;
namespace SFA.DAS.EmployerAccounts.Configuration
{
public class EmployerAccountsConfiguration : ITopicMessagePublisherConfiguration
{
public strin... | using SFA.DAS.Authentication;
using SFA.DAS.EAS.Account.Api.Client;
using SFA.DAS.Hmrc.Configuration;
using SFA.DAS.Messaging.AzureServiceBus.StructureMap;
namespace SFA.DAS.EmployerAccounts.Configuration
{
public class EmployerAccountsConfiguration : ITopicMessagePublisherConfiguration
{
public strin... | mit | C# |
e13119ec9b26a946ad1a864de74c795e36da4f10 | 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# |
4d854ee10073b7f91985c35298f1c81a580543f4 | Add Beta property on FleaHeader event | EDDiscovery/EDDiscovery,andreaspada/EDDiscovery,klightspeed/EDDiscovery,EDDiscovery/EDDiscovery,EDDiscovery/EDDiscovery,andreaspada/EDDiscovery,klightspeed/EDDiscovery,klightspeed/EDDiscovery | EDDiscovery/EliteDangerous/JournalEvents/JournalFileHeader.cs | EDDiscovery/EliteDangerous/JournalEvents/JournalFileHeader.cs | using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EDDiscovery.EliteDangerous.JournalEvents
{
public class JournalFileHeader : JournalEntry
{
public JournalFileHeader(JObject evt ) : base(evt, JournalTypeEnum.FileHeader)
... | using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace EDDiscovery.EliteDangerous.JournalEvents
{
public class JournalFileHeader : JournalEntry
{
public JournalFileHeader(JObject evt ) : base(evt, JournalTypeEnum.FileHeader)
... | apache-2.0 | C# |
2854b9e8ad075e99f9915493ed99ba078bde5302 | Use ReactiveUI Events for Click Handler | ApplETS/ETSMobile-WindowsPlatforms,ApplETS/ETSMobile-WindowsPlatforms | Ets.Mobile/Ets.Mobile.Shared/Views/Pages/Account/LoginPage.cs | Ets.Mobile/Ets.Mobile.Shared/Views/Pages/Account/LoginPage.cs | using Ets.Mobile.ViewModel.Pages.Account;
using ReactiveUI;
using System;
using System.Reactive.Linq;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
namespace Ets.Mobile.Pages.Account
{
public partial class LoginPage : IViewFor<LoginViewModel>
{
... | using Ets.Mobile.ViewModel.Pages.Account;
using ReactiveUI;
using System;
using System.Reactive.Linq;
using Windows.UI.Xaml;
namespace Ets.Mobile.Pages.Account
{
public partial class LoginPage : IViewFor<LoginViewModel>
{
#region IViewFor<T>
public LoginViewModel ViewModel
... | apache-2.0 | C# |
877136c0f4d3a7c976099fdf77b4089a03264c67 | Fix description of DB2400Driver. | lnu/nhibernate-core,fredericDelaporte/nhibernate-core,fredericDelaporte/nhibernate-core,RogerKratz/nhibernate-core,hazzik/nhibernate-core,gliljas/nhibernate-core,lnu/nhibernate-core,lnu/nhibernate-core,RogerKratz/nhibernate-core,fredericDelaporte/nhibernate-core,nhibernate/nhibernate-core,ngbrown/nhibernate-core,Manufa... | src/NHibernate/Driver/DB2400Driver.cs | src/NHibernate/Driver/DB2400Driver.cs | using System;
namespace NHibernate.Driver
{
/// <summary>
/// A NHibernate Driver for using the IBM.Data.DB2.iSeries DataProvider.
/// </summary>
public class DB2400Driver : ReflectionBasedDriver
{
/// <summary>
/// Initializes a new instance of the <see cref="DB2400Driver"/> class.
/// </summary>
/// <ex... | using System;
namespace NHibernate.Driver
{
/// <summary>
/// A NHibernate Driver for using the IBM.Data.DB2.iSeries DataProvider.
/// </summary>
public class DB2400Driver : ReflectionBasedDriver
{
/// <summary>
/// Initializes a new instance of the <see cref="DB2Driver"/> class.
/// </summary>
/// <excep... | lgpl-2.1 | C# |
d5af3177ac0a82410dac85f5ffd25cd250ee6a74 | Fix for EFCore using the same InMemoryDatabase Instance when running tests. | timstarbuck/allReady,GProulx/allReady,binaryjanitor/allReady,jonatwabash/allReady,HamidMosalla/allReady,colhountech/allReady,HamidMosalla/allReady,HTBox/allReady,gitChuckD/allReady,gitChuckD/allReady,forestcheng/allReady,pranap/allReady,chinwobble/allReady,VishalMadhvani/allReady,mheggeseth/allReady,mheggeseth/allReady... | AllReadyApp/Web-App/AllReady.UnitTest/TestBase.cs | AllReadyApp/Web-App/AllReady.UnitTest/TestBase.cs | using AllReady.Models;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.AspNetCore.Http.Features.Authentication;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using System;
using Microsoft.Entit... | using AllReady.Models;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.AspNetCore.Http.Features.Authentication;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using System;
using Microsoft.Entit... | mit | C# |
d27975bab504b90ebc9e8e4b546cb8e8da7e35ac | fix compiling | MehdyKarimpour/extensions,signumsoftware/framework,MehdyKarimpour/extensions,AlejandroCano/extensions,signumsoftware/extensions,signumsoftware/framework,signumsoftware/extensions,AlejandroCano/extensions | Signum.React.Extensions/Rest/RestLogController.cs | Signum.React.Extensions/Rest/RestLogController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using Signum.Engine;
using Signum.Entities;
using Signum.Entities.Rest;
using Signum.Utilities;
namespace Signum.React.Rest
{
public cl... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using Signum.Engine;
using Signum.Entities;
using Signum.Entities.Rest;
using Signum.Utilities;
namespace Signum.React.Rest
{
public cl... | mit | C# |
11d8e12ac75ef6f1079198e192f354d492c40fd2 | add job project test object | mzrimsek/resume-site-api | Test.Integration/TestHelpers/TestObjectCreator.cs | Test.Integration/TestHelpers/TestObjectCreator.cs | using Web.Models.JobModels;
using Web.Models.JobProjectModels;
using Web.Models.SchoolModels;
namespace Test.Integration.TestHelpers
{
public static class TestObjectCreator
{
public static AddUpdateJobViewModel GetAddUpdateJobViewModel(string name)
{
return new AddUpdateJobViewModel... | using Web.Models.JobModels;
using Web.Models.SchoolModels;
namespace Test.Integration.TestHelpers
{
public static class TestObjectCreator
{
public static AddUpdateJobViewModel GetAddUpdateJobViewModel(string name)
{
return new AddUpdateJobViewModel()
{
Na... | mit | C# |
10e1701ef0457c09d918d63c5c053bf60546cb66 | Make default fallback path factory static | khellang/Middleware,khellang/Middleware | src/SpaFallback/SpaFallbackOptions.cs | src/SpaFallback/SpaFallbackOptions.cs | using System;
using Microsoft.AspNetCore.Http;
namespace Hellang.Middleware.SpaFallback
{
public class SpaFallbackOptions
{
private static readonly Func<HttpContext, PathString> DefaultFallbackPathFactory = _ => "/index.html";
public Func<HttpContext, PathString> FallbackPathFactory { get; se... | using System;
using Microsoft.AspNetCore.Http;
namespace Hellang.Middleware.SpaFallback
{
public class SpaFallbackOptions
{
public Func<HttpContext, PathString> FallbackPathFactory { get; set; } = _ => "/index.html";
public bool AllowFileExtensions { get; set; } = false;
public bool ... | mit | C# |
11222cdf13643e67566447487acce01aa804056e | Bump version to 1.3.0 | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity | common/SolutionInfo.cs | common/SolutionInfo.cs | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.VersionForAssembly)]
[assembly: AssemblyFileVersion(Sys... | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.VersionForAssembly)]
[assembly: AssemblyFileVersion(Sys... | mit | C# |
6f49bd8a3506d2091523b1585a485e392b327123 | Add comment | whoa-algebraic/game-off-2016,virtuoushub/game-off-2016,whoa-algebraic/game-off-2016,virtuoushub/game-off-2016,virtuoushub/game-off-2016,whoa-algebraic/game-off-2016 | Assets/Scripts/PlayerActionControls.cs | Assets/Scripts/PlayerActionControls.cs | using UnityEngine;
public class PlayerActionControls : MonoBehaviour {
private GameObject[] limbs;
void Start() {
GameObject bearFrontLimbPrefab = Managers.LimbManager.LimbPrefabs[0];
GameObject bearBackLimbPrefab = Managers.LimbManager.LimbPrefabs[1];
limbs = new GameObject[4];
limbs[0] = Instantiate(... | using UnityEngine;
public class PlayerActionControls : MonoBehaviour {
private GameObject[] limbs;
void Start() {
GameObject bearFrontLimbPrefab = Managers.LimbManager.LimbPrefabs[0];
GameObject bearBackLimbPrefab = Managers.LimbManager.LimbPrefabs[1];
limbs = new GameObject[4];
limbs[0] = Instantiate(... | mit | C# |
64d191f29c087e367cf05e66187e6e15f8e1bf2e | Update BuildTool Deploy | WorkplaceX/Framework,WorkplaceX/Framework,WorkplaceX/Framework,WorkplaceX/Framework,WorkplaceX/Framework | Framework.BuildTool/Command/Deploy.cs | Framework.BuildTool/Command/Deploy.cs | using System.IO;
namespace Framework.BuildTool
{
public class CommandDeploy : Command
{
public CommandDeploy()
: base("deploy", "Deploy to Azure git")
{
this.AzureGitUrl = ArgumentAdd("azureGitUrl", "Azure Git Url");
}
public readonly Argument AzureGitU... | using System.IO;
namespace Framework.BuildTool
{
public class CommandDeploy : Command
{
public CommandDeploy()
: base("deploy", "Deploy to Azure git")
{
this.AzureGitUrl = ArgumentAdd("azureGitUrl", "Azure Git Url");
}
public readonly Argument AzureGitU... | mit | C# |
4cb2ff87b980506afa7e4dab269029cacd8a505e | Test now restores Environment properties back to their original values. | ManufacturingIntelligence/nhibernate-core,alobakov/nhibernate-core,gliljas/nhibernate-core,nhibernate/nhibernate-core,fredericDelaporte/nhibernate-core,livioc/nhibernate-core,lnu/nhibernate-core,ManufacturingIntelligence/nhibernate-core,ngbrown/nhibernate-core,hazzik/nhibernate-core,livioc/nhibernate-core,fredericDelap... | src/NHibernate.Test/CfgTest/ConfigurationFixture.cs | src/NHibernate.Test/CfgTest/ConfigurationFixture.cs | using System;
using NHibernate.Cfg;
using NUnit.Framework;
namespace NHibernate.Test.CfgTest
{
/// <summary>
/// Summary description for ConfigurationFixture.
/// </summary>
[TestFixture]
public class ConfigurationFixture
{
[SetUp]
public void SetUp()
{
System.IO.File.Copy("..\\..\\hibernate.cfg.x... | using System;
using NHibernate.Cfg;
using NUnit.Framework;
namespace NHibernate.Test.CfgTest
{
/// <summary>
/// Summary description for ConfigurationFixture.
/// </summary>
[TestFixture]
public class ConfigurationFixture
{
[SetUp]
public void SetUp()
{
System.IO.File.Copy("..\\..\\hibernate.cfg.xml"... | lgpl-2.1 | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.