content stringlengths 23 1.05M |
|---|
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Threading;
using Microsoft.Build.BackEnd;
using Microsoft.Build.BackEnd.Logging;
using Microsoft.Build.Exec... |
namespace UnitTest_sample
{
public class GamePlayer
{
private string Name { get; set; }
public uint TotalPlayTime { get; private set; }
public GamePlayer(string name)
{
this.Name = name;
this.TotalPlayTime = 0;
}
public void Ad... |
using System;
using System.Linq;
using System.Reflection;
using Cs2Py.CSharp;
using Cs2Py.Source;
using Lang.Python;
namespace Cs2Py.NodeTranslators
{
public class DirectCallAttributeMethodTranslator : BaseCsharpMethodCallExpressionTranslator
{
public DirectCallAttributeMethodTranslator() : base(2)
... |
using Micser.Common.Settings;
namespace Micser.Common.Extensions
{
/// <summary>
/// Provides extension methods for services.
/// </summary>
public static class ServiceExtensions
{
/// <summary>
/// Gets the value for the specified setting converted to type <typeparamref name="T"/>... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Data;
namespace ModbusExaminer.helpers
{
public sealed class ModbusExaminerLogger
{
private static volatile ModbusExaminerLogg... |
using System;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.OData.Extensions;
using Microsoft.Extensions.Options;
using Microsoft.Extensions.Primitives;
using Microsoft.OData;
using Microsoft.OData.Edm;
using Microsoft.OData.Edm.Csdl;
namespace Stenn.AspNetCore.OData.Versioning
{
/// <summary>
///... |
namespace RIAppDemo.BLL.Utils
{
public interface IHostAddrService
{
string GetIPAddress();
}
}
|
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
#if TELEMETRYEVENTSOURCE_USE_NUGET
using Microsoft.Diagnostics.Tracing;
#else
using System.Diagnostics.Tracing;
#endif
using System;
using SuppressMessageAtt... |
namespace TemplateV2.Models
{
public class CheckboxItemSelection
{
public int Id { get; set; }
public bool Selected { get; set; }
}
}
|
public class C {
public void m() {
long l = 0L;
if (l == null) {
}
}
}
|
using System;
using CustomList;
using NUnit.Framework;
namespace CustomListTests
{
[TestFixture]
public class GetIndexerTests
{
private static void GetIndexer_WithValidIndex_ReturnsTheItemAtTheSpecifiedIndexInTheCollectionTestHelper<T>()
{
var collection = new CustomList<T>
... |
#region License
// Distributed under the MIT License
// ============================================================
// Copyright (c) 2019 Hotcakes Commerce, LLC
// Copyright (c) 2020 Upendo Ventures, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// and asso... |
using System;
namespace loopTask4_2
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("ohjelma tulostaa kertotaulun luvuille 1-9!");
Console.Write("Aloita painamalla mitä tahansa näppäintä:");
Console.ReadKey();
for (int i... |
using JetBrains.Annotations;
namespace MAS.Game.Core.Components
{
public abstract class SingletonComponentBase<T>
where T : SingletonComponentBase<T>, new()
{
[NotNull]
public static T Instance { get; } = new T();
public override string ToString() => GetType().Name.Replace("Co... |
using System.Collections.Generic;
using System;
namespace AddressBook.Models
{
public class Contact
{
private string _name;
private string _phone;
private int _id;
private Address _address;
private static List<Contact> _instances = new List<Contact> {};
private static int lastId = 1;
... |
using comp_app.MVVM.ViewModel;
using DevExpress.Xpf.Grid;
using DevExpress.Xpf.Grid.LookUp;
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Threading;
namespace comp_app.MVVM.View
{
/// <summary>
/// Логика взаимодействия для MainWindow.xaml
/// </summary>
public... |
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
using System;
using System.Collections.Generic;
using System.Text;
namespace PHPUnit.TestAdapter
{
/// <summary>
/// Class to store information about the current test run to be used from <see cref="TestReporterExtension"/>.
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.MemoryMappedFiles;
using System.Security.AccessControl;
using System.Security.Principal;
using System.Text;
using System.Threading;
public class DbgView : IDisposable
{
public DbgView(TextWriter writer)
{
if (writer == nu... |
using Microsoft.EntityFrameworkCore;
using System;
namespace BigCookieKit.AspCore.Apm
{
public abstract class ApmDbContext : DbContext
{
public ApmDbContext() { }
public ApmDbContext(DbContextOptions options)
: base(options)
{
}
public stat... |
using System.Collections.Generic;
using System.Linq;
namespace SimplifyingConditional
{
#region Other classes
public class Food
{
public string Name { get; set; }
}
public class Eating
{
public Dictionary<Food, double> Foods { get; }
public void Add(Food food, double ... |
namespace NPOI.OpenXmlFormats.Spreadsheet
{
public enum ST_DataValidationType
{
none,
whole,
@decimal,
list,
date,
time,
textLength,
custom
}
}
|
using System.Collections.Generic;
public class FixedSizedQueue<T>
{
public int size
{
get; private set;
}
private readonly object m_privateLockObject = new object();
private readonly Queue<T> m_queue = new Queue<T>();
private T m_lastAdded;
public FixedSizedQueue(int size)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class Actor : MonoBehaviour
{
private StateMachine stateMachine = new StateMachine();
public StateMachine StateMachine { get => stateMachine; private set => stateMachine = value; }
[SerializeField... |
using ContosoUniversity.Data;
using ContosoUniversity.Data.Abstract;
using ContosoUniversity.Data.Repositories;
using ContosoUniversity.Model;
using Microsoft.EntityFrameworkCore;
using System;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace Scheduler.Data.Repositories
{
public class Studen... |
using nng.Native;
using System;
namespace nng
{
/// <summary>
/// Represents NNG options to get/set
/// </summary>
public interface IOptions : IGetOptions, ISetOptions
{
}
/// <summary>
/// Represents NNG options to get
/// </summary>
public interface IGetOptions
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WastedgeApi
{
public class EntityCalculatedField : EntityTypedField
{
public override EntityMemberType Type => EntityMemberType.Calculated;
public EntityCalculatedField(string name, stri... |
//------------------------------------------------------------------------------
// Symbooglix
//
//
// Copyright 2014-2017 Daniel Liew
//
// This file is licensed under the MIT license.
// See LICENSE.txt for details.
//------------------------------------------------------------------... |
using UnityEngine;
using UniversalNetworkInput;
using System.Collections.Generic;
using UnityEngine.SceneManagement;
public class PlayerChecker : MonoBehaviour
{
public MenuController menuController;
public Player[] players;
public bool blockCheck = false;
public static List<int> playersActivated = new List<i... |
using System;
using System.Collections.Generic;
namespace P01.Fibonacci
{
public class StartUp
{
private static Dictionary<long, long> calculatedFibonaccis;
public static void Main(string[] args)
{
calculatedFibonaccis = new Dictionary<long, long>();
var n = l... |
// --------------------------------------------------------------------------------
// <copyright file="https://github.com/ddur/DBCL/blob/master/LICENSE" company="DD">
// Copyright © 2013-2016 Dragan Duric. All Rights Reserved.
// </copyright>
// ------------------------------------------------------------------------... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using System;
namespace Microsoft.ClearScript.JavaScript
{
/// <summary>
/// Defines properties and methods common to all
/// <see href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_... |
using Chaser.Game;
using Chaser.UI;
namespace Chaser.Adapters
{
public class UserInputProcessorAdapter : ILoopAdapter
{
private UserInputProcessor _inputProcessor;
public UserInputProcessorAdapter(UserInputProcessor inputProcessor)
{
_inputProcessor = inputProcessor;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Class which manages a checkpoint
/// </summary>
public class Checkpoint : MonoBehaviour
{
[Header("Settings")]
[Tooltip("The location this checkpoint will respawn the player at")]
public Transform respawnLocat... |
using System;
using System.Diagnostics;
namespace GenerationAttributes {
/// <summary>
/// Generates a Lambda implementation of the marked interface.
/// </summary>
///
/// <remarks>
/// <para>A Lambda implementation is a class where each function in the interface is converted to a delegate.</para>
///
... |
using LLin.Game.Screens.Mvis.Plugins.Types;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Shapes;
using osu.Framework.Input.Events;
using osuTK.Graphics;
namespace LLin.Game.Screens.Mvis.Plugins.Internal.FallbackFunctionBar
{
pub... |
using NeoPixelController.Model;
using System;
using System.Collections.Generic;
using System.Text;
namespace NeoPixelController.Interface
{
public interface INeoPixelEffect
{
Guid Id { get; }
string Name { get; set; }
bool IsEnabled { get; set; }
float Intensity { get; set; }
... |
using System;
using Blue.ECS;
namespace BlueSpace
{
[RequiresComponentData(typeof(TextComponentData))]
public class PlayerScoreHUDComponentData : ComponentData
{
public String id;
}
public class PlayerScoreHUDComponentSystem : ComponentSystem
{
protected override void Start( string gameObjectId, Component... |
using StepsInSpace.Core.Abstractions.Math;
using StepsInSpace.Core.Abstractions.Math.Extensions;
using Xunit;
namespace UnitTests.StepsInSpace.Core.Abstractions.Math.Extensions;
public class Vector2dExtensionsFacts
{
[Theory]
[InlineData(1F, 2F, 3F, 4F, 1F + 3F, 2F + 4F)]
[InlineData(2F, 3F, 4F, 5F, 2F + ... |
using $ext_safeprojectname$.Business.Abstract;
using $ext_safeprojectname$.Business.ValidationRules.FluentValidation;
using $ext_safeprojectname$.Core.Aspect.Postsharp.ValidationAspects;
using $ext_safeprojectname$.DataAccess.Abstract;
using $ext_safeprojectname$.Entities.Concrete;
using System;
using System.Collectio... |
using Sirenix.OdinInspector;
using System;
using UnityEngine;
namespace MissionGrammar
{
[Serializable]
[CreateAssetMenu]
public class MissionRuleScriptableObject : ScriptableObject
{
public bool isOriginalRule = true;
[Title("Condition")]
[HideLabel]
[InlineProperty]
... |
@using Library.Models;
@{ Layout = "_Layout"; }
@Html.Partial("_Staff")
<table>
<th>Title</th>
<th>Authors</th>
<th>Year</th>
<th>Available</th>
<th>Stock</th>
@foreach(Book book in @Book.GetAll())
{
<tr>
<td><a href="/staff/books/@book.GetId()">@book.GetTitle()</a></td>
<td>@f... |
//
// Copyright (C) 2014 EllieWare
//
// All rights reserved
//
// www.EllieWare.com
//
using System.Collections.Generic;
using Quartz;
namespace RobotWare.Quartz.Extensions
{
public interface IJobInfo : IJob
{
/// <summary>
/// read-only list of <see cref="IJobDataInfo"/> so that clients
/// can p... |
using pst.encodables.ndb;
using pst.encodables.ndb.btree;
using pst.interfaces;
using pst.interfaces.blockallocation.datatree;
using pst.utilities;
using System.Collections.Generic;
namespace pst.impl.blockallocation.datatree
{
class BlockBTreeEntryAllocator : IBlockBTreeEntryAllocator
{
private reado... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using webDiscussex.Models;
namespace webDiscussex.DAO
{
public class HivDAO
{
public IList<Hiv> Lista(ref IList<Imagem> imgs)
{
using (var contexto = new EducacaoSexualContext())
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Service.Core.CodeType
{
/// <summary>
/// socket发送/接收消息类
/// </summary>
public class MessageInfo
{
public CmdType Type { get; set; }
public string Data { ge... |
using System;
using System.Collections.Generic;
using System.Text;
namespace PLI.Models.Post
{
public class Break : Location
{
public int shipment_id { get; set; }
}
}
|
using DG.Tweening;
using SoftMasking;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using UnityEngine;
using UnityEngine.UI;
using ZStart.Core;
using ZStart.RGraph.Common;
using ZStart.RGraph.Enum;
using ZStart.RGraph.Layout;
using ZStart.RGraph.Manager;
using ZStart.RGraph.Model;
using ... |
namespace HuaweiARUnitySDK
{
using HuaweiARInternal;
using System;
using UnityEngine;
using System.Collections.Generic;
/**
* \if english
* @brief Camera metadata of a \link ARFrame \endlink
* \else
* @brief \link ARFrame \endlink 相关的相机元数据。
* \endif
*/
... |
using System;
using System.Collections.Generic;
using Uno.Collections;
namespace Uno.Core.Collections
{
public static class ListExtensionsLegacy
{
/// <summary>
/// Adapts a list of type T into a list of type U
/// </summary>
/// <typeparam name="T">The type to adapt.</typeparam>
/// <typeparam name="U">... |
using System;
using System.Diagnostics;
using System.Drawing;
using System.Globalization;
namespace Day22
{
[DebuggerDisplay("{Location.X},{Location.Y} {Tool}")]
internal struct StepState : IEquatable<StepState>
{
public StepState(Point location, Tool tool)
{
Location = locatio... |
#region Copyright
/*
* Copyright (C) 2018 Larry Lopez
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* rights to use, copy, mod... |
using PhobiaX.SDL2.Wrappers;
using System;
using System.Collections.Generic;
using System.Text;
namespace PhobiaX.SDL2
{
public class SDLSurfaceFactory
{
private readonly ISDL2 sdl2;
public SDLSurfaceFactory(ISDL2 sdl2)
{
this.sdl2 = sdl2 ?? throw new ArgumentNullException(nameof(sdl2));
}
public SDL... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Assets.Editor
{
[ExecuteInEditMode]
public class Tk2dEmu : MonoBehaviour
{
public Vector3[] vertices;
public Vector2[] uvs;
public int[] indices;
[SerializeField]
int instanceI... |
namespace WarOfEmpires.Models.Empires {
public sealed class ResearchViewModel {
public string ResearchType { get; set; }
public string Name { get; set; }
public string Description { get; set; }
public int Level { get; set; }
public decimal LevelBonus { get; set; }
pu... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Define;
public abstract class EnemyBase : MonoBehaviour {
//참조
protected GameObject die_effect = null;
protected SFXManager sfx_manager = null;
protected DataManager data_manager = null;
protected SystemManager s... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net.NetworkInformation;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
... |
using UnityEngine;
using System.Collections;
namespace RVP
{
[RequireComponent(typeof(Suspension))]
[DisallowMultipleComponent]
[AddComponentMenu("RVP/Suspension/Suspension Property", 2)]
// Class for changing the properties of the suspension
public class SuspensionPropertyToggle : MonoBehaviour
... |
/*
MIT License
Copyright (c) 2019 Jose Ferreira (Bazoocaze)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, mod... |
//
// System.Diagnostics.PerformanceCounter.cs
//
// Authors:
// Jonathan Pryor (jonpryor@vt.edu)
// Andreas Nahr (ClassDevelopment@A-SoftTech.com)
//
// (C) 2002
// (C) 2003 Andreas Nahr
//
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated docume... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GisSpatial
{
class Program
{
static void Main(string[] args)
{
string degrees = "5321.5802 N, 00630.3372 W";
Console.WriteLine("Coordinates: {0}... |
using System;
using System.Collections.Generic;
using System.Linq;
using DG.Tweening;
using UniRx.Async;
using UnityEngine;
public class DOTweenList : CustomYieldInstruction
{
List<Tween> list;
public Func<bool> cond;
public DOTweenList(params Tween[] tweens)
{
list = tweens.ToList();
}
public DOTweenList(I... |
using System.Threading.Tasks;
namespace NextGenSoftware.OASIS.API.Providers.CargoOASIS.Infrastructure.Interfaces
{
public interface ISingleHandler<T>
{
Task<T> Handle();
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Trees
{
public class Node
{
public int val;
public IList<Node> neighbors;
public Node()
{
val = 0;
neighbors = new List<Node>()... |
using System;
using System.Collections.Generic;
using System.Text;
namespace OKExSDK.Models.Futures
{
public class PositionCrossed : Position
{
/// <summary>
/// 预估爆仓价
/// </summary>
public decimal liquidation_price { get; set; }
/// <summary>
/// 杠杆倍数
/... |
using System;
namespace Notus.Model.Models
{
public class Comment
{
public Comment()
{
CommentDate = DateTime.Now;
}
public int CommentId { get; set; }
public string CommentText { get; set; }
public int UpdateId { get; set; }
public DateT... |
using System;
namespace EmptyBox.Network
{
public interface IAccessPoint : IEquatable<IAccessPoint>, IFormattable
{
public AccessPointUniquenessType UniquenessType { get; }
}
}
|
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace Glue.Services
{
public static class ApiService
{
static HttpClient client = new HttpClient();
public static async Task<IEnumerable<Model.Dis... |
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
using System.Text;
using UnityEngine;
namespace ColaFramework
{
/// <summary>
/// MD5码加密工具类
/// </summary>
public static class MD5Helper
{
/// <summary>
/// 对指定路径的文件加密,返... |
using System;
using System.Collections.Generic;
using System.Linq;
using NHSD.GPIT.BuyingCatalogue.EntityFramework.Catalogue.Models;
using NHSD.GPIT.BuyingCatalogue.EntityFramework.Ordering.Models;
using NHSD.GPIT.BuyingCatalogue.Framework.Extensions;
using NHSD.GPIT.BuyingCatalogue.ServiceContracts.Solutions.Models;
... |
namespace JustSaying.UnitTests.Messaging.Channels.SubscriptionGroupTests
{
public class FakeChangeMessageVisbilityRequest
{
public FakeChangeMessageVisbilityRequest(string queueUrl, string receiptHandle, int visibilityTimeoutInSeconds)
{
QueueUrl = queueUrl;
ReceiptHandle... |
using BlazorBoilerplate.Shared.Dto;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace BlazorBoilerplate.Shared.DataInterfaces
{
public interface IApiLogStore
{
Task<List<ApiLogItemDto>> Get();
Task<List<ApiLogItemDto>> GetByUserId(Guid userId);
}
} |
//
// Copyright (c) 2009 Froduald Kabanza and the Université de Sherbrooke.
// Use of this software is permitted for non-commercial research purposes, and
// it may be copied or applied only for that use. All copies must include this
// copyright message.
//
// This is a research prototype and it has not gone through... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Linq;
using System.Reflection;
using Microsoft.Identity.Client;
using Microsoft.Identity.Test.Common;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Microsoft.Identity.Test.Unit.P... |
using ApiHorasDomain.Entities;
using System;
using System.Collections.Generic;
namespace ApiHorasDomain.Interfaces.Services
{
public interface ILancamentoService
{
Lancamento Insert(Lancamento lancamento);
Lancamento Update(Lancamento lancamento);
void Delete(Guid id);
Lancamen... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Bitter.Tools.NetCore.Validation
{
public class ValidateModel
{
}
}
|
using System.Collections.Generic;
using NJsonSchema;
namespace Saunter.Tests.Utils
{
public static class NJsonSchemaExtensions
{
public static IDictionary<string, JsonSchema> MergeAllProperties(this JsonSchema s)
{
var result = new Dictionary<string, JsonSchema>();
fore... |
using System;
using BuildsAppReborn.Infrastructure;
using Newtonsoft.Json;
namespace BuildsAppReborn.Access.Models.Internal
{
internal class Repository
{
[JsonProperty("id")]
public String Id { get; set; }
[JsonConverter(typeof(TolerantEnumConverter))]
[JsonProperty("type")]
... |
/**
* Authors: David Bruck (dbruck1@@fau.edu) and Freguens Mildort (fmildort2015@@fau.edu)
* Original source: https://github.com/CDA6122/Project
* License: BSD 2-Clause License (https://opensource.org/licenses/BSD-2-Clause)
**/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using Syst... |
/*
SQLXEngine - Implementation of ANSI-SQL specification and
SQL-engine for executing the SELECT SQL command across the different data sources.
Copyright (C) 2008-2009 Semyon A. Chertkov (semyonc@gmail.com)
This library is free software; you can redistribute it and/or
modify it unde... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Xin.AQS
{
public class AirDayAQIData: AirDayData, IAQIResult
{
public int? AQI { get; set; }
public string PrimaryPollutant { get; set; }
public string Type { get; set; }
public s... |
using System.Collections.Generic;
namespace GSoft.Dynamite.Binding
{
/// <summary>
/// The default entity binder class.
/// </summary>
public class EntityBinder : IEntityBinder
{
#region Fields
private readonly IEntitySchemaBuilder _schemaBuilder;
#endregion
#regi... |
using Microsoft.EntityFrameworkCore;
using ProductsArchive.Domain.Common;
using ProductsArchive.Domain.Entities.ProductsSection;
namespace ProductsArchive.Application.Common.Interfaces;
public interface IApplicationDbContext
{
DbSet<LocalizedString> LocalizedStrings { get; }
DbSet<LocalizedStringValue> Local... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Collections.Generic;
using System.Linq;
using Microsoft.Performance.SDK.Processing;
using NuGet.Versioning;
namespace Microsoft.Performance.SDK.PlugInConfiguration
{
internal static class SerializationExtensions
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SmartAdminMvc.Models
{
public class AddressViewModel
{
public AddressViewModel()
{
ShowAddressTextBox = true;
ShowSaveInHistory = true;
PlaceholderTex... |
/* Juan Manuel (...), retoques por Nacho */
/*
Ejercicico 179.Crea un programa en C# que ordene el contenido de un fichero de
texto y lo vuelque a otro fichero, convirtiendo cada línea a mayúsculas.
Usa File.ReadAllLines y File.WriteAllLines. El nombre del fichero de texto de
entrada se debe preguntar al usuario. El... |
namespace Kin
{
public enum AccountStatus
{
NotCreated = 0,
Created = 2
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Xigadee
{
/// <summary>
/// This attribute can be set against a command method to register it for automatic registration as a remote command.
/// </summary>
[AttributeUsage(Att... |
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
namespace JanHafner.DependencyModules
{
public abstract class DependencyModule
{
public abstract void Register(IServiceCollection services, IConfiguration configuration = null);
}
}
|
using Xadrez_OO.Exceptions;
namespace Xadrez_OO.Model {
class Board {
//Atributes
private int lines;
private int columns;
private Piece[,] pieces;
//Constructors
public Board () {
this.lines = 8;
this.lines = 8;
this.pieces = ... |
using System;
using System.Collections;
using System.Text;
using SimpleJSON;
using TMPro;
using UnityEngine;
using UnityEngine.Networking;
public class UserProfileManager : MonoBehaviour
{
[SerializeField] private FirebaseManager firebaseManager;
public event Action userProfileChanged;
public event Act... |
using cor64;
using cor64.Mips.R4300I;
using NUnit.Framework;
using cor64.BareMetal;
using System;
using System.IO;
namespace Tests {
[TestFixture]
public class EndianessTests : BaseTest {
[Test]
public void BigEndianTest() {
var machine = MachineSpawner.CreateAndRun();
... |
namespace TvShowReminder.TvMazeApi
{
public class TvMazeApiUrls
{
public const string ApiBaseUrl = "http://api.tvmaze.com";
public static string CreateSearchUrl(string query)
{
return string.Format("{0}/search/shows?q={1}", ApiBaseUrl, query);
}
public stat... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using MixedRealityExtension.Behaviors;
using MixedRealityExtension.Behaviors.Contexts;
using MixedRealityExtension.PluginInterfaces.Behaviors;
namespace MixedRealityExtension.Core.Components
{
internal class BehaviorCompon... |
namespace NeoSharp.Application.Client
{
public interface IPromptController
{
}
} |
using System;
using Android.App;
using Android.OS;
using Android.Content;
using Android.Util;
using Java.Interop;
namespace StockService
{
[Service]
[IntentFilter(new String[]{"com.xamarin.DemoMessengerService"})]
public class DemoMessengerService : Service
{
Messenger demoMessenger;
p... |
namespace Sitecore.FakeDb.Serialization.Pipelines
{
using System.IO;
using Sitecore.Diagnostics;
using Sitecore.FakeDb.Pipelines;
public class DeserializeDescendants
{
public void Process(DsItemLoadingArgs args)
{
Assert.ArgumentNotNull(args, "args");
var d... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Blatomic.Services.ColorScheme
{
public class ThemeService
{
private ITheme theme;
public ThemeService(ITheme theme)
{
this.theme = theme;
}... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
/// <summary>
/// Summary description for SysEvent
/// </summary>
public class SysEvent
{
public string Id { get; set; }
public DateTime EDate { get; set; }
public string EType { get; set; }
public string EHostID { ge... |
using CCXT.NET.Shared.Coin.Private;
namespace CCXT.NET.Anxpro.Private
{
/// <summary>
/// 거래소 회원 지갑 정보
/// </summary>
public class ABalanceItem : CCXT.NET.Shared.Coin.Private.BalanceItem, IBalanceItem
{
}
} |
using System;
using System.Linq;
using CompositeDesignPatternExampleCompany.Contracts;
namespace CompositeDesignPatternExampleCompany
{
public class Employee : EmployeeComponent
{
public Employee(string name)
: base(name)
{
}
public override bool GetDone(ITask tas... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.