This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace LSP_Animal.Refactorizado | |
{ | |
public abstract class Animal | |
{ | |
public abstract void Alimentar(); | |
} | |
public interface IMascota | |
{ | |
void Acariciar(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace DIP_HolaMundo.Refactorizado | |
{ | |
public class HolaMundo | |
{ | |
private DateTime _horaDelSaludo; | |
public HolaMundo(DateTime horaDelSaludo) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
namespace OCP_Empleados.Refactorizado | |
{ | |
public abstract class Empleado | |
{ | |
public string Nombre { get; set; } | |
public double Sueldo { get; set; } | |
public double Bono { get; set; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Web.Mvc; | |
public static class WebExtensions | |
{ | |
public static T ToJson<T>(this ActionResult actionResult) | |
{ | |
var jsonResult = (JsonResult)actionResult; | |
return (T)jsonResult.Data; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | |
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=1CCA467D3460634792E903194CBBECED/@KeyIndexDefined">True</s:Boolean> | |
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=1CCA467D3460634792E903194CBBECED/Shortcut/@EntryValue">test</s:String> | |
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=1CCA467D3460634792E903194CBBECED/Description/@EntryValue">Create a new NUnit test</s:String> | |
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=1CCA467D3460634792E903194CBBECED/Text/@EntryValue">[Test]
 | |
public void $Test$()
 | |
{
 | |
$SELSTART$Assert.Fail("Not yet implemented");$SELEND$
 | |
}</s:String> | |
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | |
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=6F969D82676C6E4EAB872A29F8652DA0/@KeyIndexDefined">True</s:Boolean> | |
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=6F969D82676C6E4EAB872A29F8652DA0/Shortcut/@EntryValue">setup</s:String> | |
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=6F969D82676C6E4EAB872A29F8652DA0/Description/@EntryValue">Creates a SetUp method</s:String> | |
<s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=6F969D82676C6E4EAB872A29F8652DA0/Text/@EntryValue">[SetUp]
 | |
public void SetUp()
 | |
{
 | |
$END$
 | |
}</s:String> | |
<s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=6F969D82676C6E4EAB872A29F8652D |