text stringlengths 13 6.01M |
|---|
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Windows;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using MainTool.Enums;
using MainTool.Exceptions;
... |
using System.Collections.Generic;
namespace qbq.EPCIS.Repository.Custom.DataAccess
{
/// <summary>
/// Interface encapsulate manipulation with the data
/// </summary>
/// <typeparam name="T">Entity class</typeparam>
internal interface IStorage<T>
where T : class
{
/// <summary>... |
using UnityEngine;
using System.Collections;
public class SCPlayerDocking : MonoBehaviour
{
private ScreenOrientation orientation;
private Camera renderingCamera;
private float zPosition;
private Vector2 playerSize = Vector2.zero;
private Vector3 maxSize = Vector3.zero;
public enum Docking
{
None,
TopL... |
using UnityEngine;
using System.Collections;
public class Invader : MonoBehaviour {
private bool land = false;
private bool climb = false;
private bool hit = false;
private BlockManager manager;
private AudioSource invaderLand;
void Awake() {
GameObject cubeManager = GameObject.FindGameObjectWithTag("manag... |
using System;
using System.Collections.Generic;
using Android.Runtime;
namespace RU.Tinkoff.Acquiring.Sdk.Responses {
// Metadata.xml XPath class reference: path="/api/package[@name='ru.tinkoff.acquiring.sdk.responses']/class[@name='GetCardListResponse']"
[global::Android.Runtime.Register ("ru/tinkoff/acquiring/sdk... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Telephony
{
public class Smartphone : ISmartphone
{
public string BrowseWeb(string website)
{
if (Validator.ValidateURL(website))
{
return $"Browsing: {website}!";
}... |
using NUnit.Framework;
using BoardGame.BusinessLogics;
using BoardGame.Domain_Model;
using BoardGame.DomainModel;
namespace BoardGame.Tests
{
[TestFixture]
class BoardGameTest
{
Player player = new Player("Barna", 0, 0, 3600);
Robot robot1 = new Robot("Bob", 1, 0, 12000);
Robot rob... |
namespace pjank.BossaAPI.Fixml
{
public class BizMessageRejectMsg : FixmlMsg
{
public const string MsgName = "BizMsgRej";
public BizMsgReferenceMsgType ReferenceMsgType { get; private set; }
public BizMsgRejectReason RejectReason { get; private set; }
public string RejectText { get; private set; }... |
using MatrixAdding;
using MatrixExtension;
using NUnit.Framework;
namespace MatrixTests
{
public class TestMatrixMultiply
{
private static readonly object[] ArraysOperatorMultiply =
{
new object[]
{
new double[2, 2] {{2, 2}, {2, 2}}, new double[2, 2] {{2... |
using System.Collections;
using System.Collections.Specialized;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
namespace CODE.Framework.Wpf.Controls
{
/// <summary>Attachable auto-complete behavior</su... |
using DFC.ServiceTaxonomy.CustomEditor.ViewModel;
using OrchardCore.ContentManagement;
using OrchardCore.ContentManagement.Display.ContentDisplay;
using OrchardCore.DisplayManagement.ModelBinding;
using OrchardCore.DisplayManagement.Views;
namespace DFC.ServiceTaxonomy.CustomEditor.Drivers
{
public class CustomCo... |
using UnityEngine;
public class CrownRotate : MonoBehaviour
{
void FixedUpdate()
{
transform.Rotate(Vector3.up * 180 * Time.deltaTime);
}
}
|
using UnityEngine;
public enum BgmEnum { TITLE, PLAYER_SELECT, STAGE_SELECT, BATTLE, DRUM_ROLL, RESULT, NONE };
[RequireComponent(typeof(AudioSource))]
public class BgmManager : SingletonMonoBehaviour<BgmManager>
{
[SerializeField]
AudioClip title;
[SerializeField]
AudioClip playerSelect;
[Serial... |
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Aquamonix.Mobile.Lib.Extensions;
namespace Aquamonix.Mobile.Lib.Domain
{
[DataContract]
public class Station : IDomainObjectWithId, ICloneable<Station>, IMergeable<Station>
{
[DataMember(Name = PropertyNames.Id)]
public s... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace Docller.Core.Models
{
public enum SubscriberItemType
{
Company=0,
User=1
}
public abstract class SubscriberItem
{
public strin... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MobilePhone
{
public class GSMCallHistoryTest
{
private GSM Telephone = new GSM("Galaxy Tab", "Samsung", 720.99, "Slavcho", new Battery(BatteryType.LiIon, 400, 200), new Displa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DistCWebSite.Core.Entities;
namespace DistCWebSite.Core.Interfaces
{
public interface IM_EmployeeRepository
{
int Add( M_Employee emp);
void Update(M_Employee emp);
... |
using System;
using UnityEngine;
using Unity.Entities;
using Unity.Mathematics;
using static Unity.Mathematics.math;
namespace IzBone.PhysBone.Body {
using Common;
using Common.Field;
/**
* PhysClothやPhysSpringの派生元となる物理ボーン表現の基底クラス。
* 実際にはこちらから直接派生せずに、BaseAuthoringTの方から派生すること
*/
public abstract class BaseA... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace WebApplication1.EfStuff.Model.Energy
{
public class Building : BaseModel
{
public int TotalArea { get; set; }
public long ElectricBillId { get; set; }
public virtual ElectricBil... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class FPScontroller : MonoBehaviour
{
private Rigidbody rb;
private Camera cam;
public Camera zoomedCam;
private float horizontal, vertical, mousex, mousey;
private bool fire1, fire2, space, ... |
using System.ComponentModel.DataAnnotations;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using static FactorialLibrary.Factorial;
using static Microsoft.VisualStudio.TestTools.UnitTesting.Assert;
namespace FactorialLibraryTest
{
[TestClass]
public class FactorialTest
{
[TestMethod]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Integer.Domain.Paroquia;
using Integer.Infrastructure.Criptografia;
namespace Integer.Domain.Acesso.Services
{
public class AutenticaUsuarioService
{
private readonly Grupos grupos... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Sitecore.Diagnostics;
using Sitecore.Includes.AssemblyBinding.Data;
using Sitecore.IO;
namespace Sitecore.Includes.AssemblyBinding.BindingPolicy
{
/// <summary>
/// Assembly redirect to dependant definition
/... |
namespace Database
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("Bill")]
public partial class Bill
{
public int Id { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GrubTime.Models
{
public class StarredPlaces
{
public int Id { get; set; }
//Restaurant
public string PlaceId { get; set; }
public bool IsStarred { get; set; } = false;
... |
namespace Swan.Ldap
{
/// <summary>
/// LDAP Connection Status Code.
/// </summary>
public enum LdapStatusCode
{
/// <summary>
/// Indicates the requested client operation completed successfully.
/// SUCCESS = 0<p />
/// </summary>
Success = 0,
/// <... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DelegatesAndEvents
{
delegate int MyDelegate13();
internal class LambdaAsResultDemo
{
static MyDelegate13 Calculate(int n)
{
int count = 0;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Aop.Api;
using Aop.Api.Domain;
using Aop.Api.Request;
using Aop.Api.Response;
using Game.Web.AppPay;
namespace WebApplication1
{
public partial class Wappay : System.Web.... |
using FormsPinView.PCL;
using System;
using System.Diagnostics;
using System.Linq;
namespace LorikeetMApp.ViewModels
{
public class PinAuthViewModel : ViewModelBase
{
private readonly char[] _correctPin;
private readonly PinViewModel _pinViewModel;
public PinViewModel PinViewModel => ... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using DelftTools.Controls.Swf.Table;
using DelftTools.TestUtils;
using NUnit.Framework;
namespace DelftTools.Tests.Controls.Swf.Table
{
[TestFixture]
[Category(TestCategory.WindowsForms)]
public class TableViewArgumentBa... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace EvrakArşiv.Models
{
public class ModülÖzellik : EntityBase, INotifyPropertyChanged
{
public ... |
using System;
using System.Net;
using Enyim.Caching;
using Enyim.Caching.Configuration;
using Enyim.Caching.Memcached;
namespace MemCacheSample
{
class Program
{
[Serializable]
class Product
{
public double Price;
public string Name;
public override... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// Scriptable Objecto con la informacion sobre un de enemigo.
/// </summary>
[CreateAssetMenu(fileName = "New Enemy", menuName = "ScriptableObjects/EnemyData", order = 1)]
public class EnemyData : ScriptableObject
{
publ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization;
using System.Text;
namespace GenericFileControl
{
[Serializable]
public class CreateCommand : IFileCommand
{
public CreateCommand(byte[] byteFile, string name)
{
ArrayBytesFile ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
namespace VeganStore.Models
{
public class Comment
{
public int Id { get; set; }
[DisplayName("Comment")]
p... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Buildingmanager : MonoBehaviour
{
public static Buildingmanager instance = null;
private void Awake()
{
if (instance == null)
{
instance = this;
}
else if (instance != th... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FACTORIELLE
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Donnez un entier positIf");
Console.Write("... |
using System;
namespace _4_Sum_of_Chars
{
class Program
{
static void Main(string[] args)
{
int n = int.Parse(Console.ReadLine());
int counter = n;
int sum = 0;
while (counter>0)
{
char l = char.Parse(Console.ReadLine(... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace IslandHopping
{
class Program
{
static double CalculateDistance(double x, double y) {
return Math.Sqrt(Math.Pow(x,2) + Math.Pow(y,2));
}
static List<double> GetAllDistances(List<double[]> coord) {... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
/// <summary>
/// Description résumée de DevisService
/// </summary>
public class DevisService
{
private CommandeFournisseurRepository commandeFournisseurRepository;
public DevisService()
{
commande... |
using ExitGames.Client.Photon;
using Photon.Pun;
using Photon.Realtime;
using System.Collections;
using UnityEngine;
public class OnQuit : MonoBehaviour
{
/*
// OnEnable and OnDisable add the WantsToQuit method to be called at the application.quitting event only when in a game
private void OnEnab... |
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using GameProject.Collisions;
namespace GameProject
{
public class AnimatedSprite : Sprite
{
public Nullable<Rectangle> SourceRectangle = null;
protected in... |
using ApartmentApps.Data;
namespace ApartmentApps.Api.Modules
{
[Persistant]
public class Log : PropertyEntity
{
public string Message { get; set; }
public LogSeverity Severity { get; set; }
}
} |
using System.Threading.Tasks;
namespace gView.Core.Framework.system
{
public interface IKeyVault
{
Task<string> SecretAsync(string uri);
string Secret(string uri);
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ExerciseAnoula.Models;
namespace ExerciseAnoula
{
class Program
{
static void Main(string[] args)
{
Human human = new Human("O Gianakis");
human.Hou... |
using System;
using System.Web.Mvc;
using System.Diagnostics;
using MultipleLanguageRegression.Models;
using MultipleLanguageRegression.ViewModels;
using System.Collections.Generic;
using System.Linq;
namespace MultipleLanguageRegression.Controllers
{
public class HomeController : Controller
{
// GET:... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestingUtilities
{
public class ClickSetting : SettingBase
{
}
public class TypeSetting : SettingBase
{
}
}
|
//-----------------------------------------------------------------------
// <copyright file="ApiErrorResponse.cs" company="<%= company %>">
// <%= copyrigthDate %>. All rights reserved.
// </copyright>
// <author>Adventiel</author>
//-----------------------------------------------------------------------
namespac... |
using System;
using System.Collections.Generic;
namespace AbiokaScrum.Api.Entities
{
public class List : IdAndNameEntity
{
public Guid BoardId { get; set; }
public IEnumerable<Card> Cards { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _10_Green_Bottles
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Please enter the number of green bottles standing on your wall.");
... |
using System;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Atc.CodeAnalysis.CSharp.SyntaxFactories
{
public static class SyntaxInterfaceDeclarationFactory
{
public static InterfaceDeclarationSyntax Create(string interfaceTypeName)
{
if ... |
using JetBrains.Annotations;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.Tracing;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class HomeUIManager : SingletonBehaviour<HomeUIManager>
{
[Header("Sub Panel... |
using RPG.Core;
using RPG.Resources;
using UnityEngine;
namespace RPG.Combat
{
[CreateAssetMenu(fileName = "WeaponConfig", menuName = "Weapons/Make New Weapon", order = 0)]
public class WeaponConfig : ScriptableObject
{
public float weaponRange = 2f;
public float weaponDamage = 25f;
... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class SnakeLogic : MonoBehaviour {
//public
public static SnakeLogic Instance;
public GameObject SnakePiece;
public int LenghtSnake { get; set; }
public float Speed { get; set; }
public List<GameObject> Snake... |
using System.Collections;
using System.Collections.Generic;
using Pixelplacement;
using UnityEngine;
public class SlowRotation : MonoBehaviour {
public Transform planetTrans;
private void Awake()
{
Tween.LocalRotation(planetTrans, new Vector3(0, 90, 0), 200, 0, loop: Tween.LoopType.Loop);
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Xml.Serialization;
using System.IO;
public class ValueManager : MonoBehaviour {
static List<Hero> heroes;
static List<Event> events;
public static ValueManager instance;
// Use this for initialization
voi... |
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.DependencyInjection;
using SignalRBackPlane.Web.Hubs;
using StackExchange.Redis;
using System;
using System.Net;
namespace SignalRBackPlane.Web
{
public class Startup
{
// This method gets called by the ... |
using CodegenCS;
using System;
using System.IO;
namespace AdventureWorks.Business.POCOGenerator
{
class Program
{
static void Main(string[] args)
{
string projectFolder = System.IO.Path.Combine(CodegenCS.Utils.IO.GetCurrentDirectory().FullName, @"..\AdventureWorks.Business");
... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using GHCIQuizSolution.DBContext;
using GHCIQuizSolution.Controllers.UserControllers;
using GHCIQuizSolution.Controllers.AdminControllers;
using Newtonsoft.Json;
namespace GHCIQuizSolution.Controllers.Tests
{
[TestClass()]
public class QuizUserControllerTests
{... |
using System;
using System.Collections.Generic;
using System.Linq;
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 System.Windows.Media;
using System.Windows.Media.Imaging;... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entities.DataTransferObjects
{
public class InputTypeDto
{
public int ID { get; set; }
public string Title { get; set; }
public int isVisible { get; set; }
... |
using System;
namespace DDMedi
{
public static class ESuppliersExtensions
{
public static DDMediCollection AddQueue(this DDMediCollection ddCollection, Action<IESupplierCollection> registerSuppliers, int numberOfExecutors = 1)
{
ddCollection.EInputsQueueCollection.AddQueue(register... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BUS_QLBaiXe
{
public class BUS_XeRaVao
{
public int ID { get; set; }
public DateTime ngayGioVao { get; set; }
public DateTime ngayGioRa { get; set; }
pu... |
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 CIS016_2.Week1
{
public partial class TimeForm : Form
{
public T... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Shipwreck.TypeScriptModels.Decompiler.Transformations.Expressions
{
[TestClass]
public class SuperExpressionTest
{
private class TestClass
{
public string SourceMethod(int a)
=> base.ToString();
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using System.Windows.Forms;
using System.IO;
namespace CBNSTT
{
public partial class TextureToolForm : Form
{
public TextureToolForm()
{
InitializeComponent();
}
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace DChild.Gameplay.Objects.Characters.Enemies
{
public class LeprechaunAnimation : CharacterAnimation
{
public override void DoDeath()
{
throw new System.NotImplementedException();
}
... |
using Library.DataProcessing.Contracts.Validation;
using Library.DataProcessing.Implementation.Validation;
using Library.DataStorage.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Library.DataProcessing.Implementation.Helpers
{
public static class Reposi... |
public class Solution {
public int Candy(int[] ratings) {
int res = 0;
int[] candies = new int[ratings.Length];
for (int i = 0; i < ratings.Length; i++) {
candies[i] = 1;
if (i > 0 && ratings[i] > ratings[i-1]) {
candies[i] = candies[i-1] + 1;... |
using System.Reflection;
using Xunit;
namespace NStandard.Test
{
public class DynamicTests
{
private class NoAddOperand
{
public readonly int Value;
public NoAddOperand(int value) => Value = value;
}
private class Operand
{
public re... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
namespace Uintra.Core.MediaToolkit.Util
{
public class ExtensionAttribute : Attribute
{
}
public static class Extensions
{
private const int BUFF_SIZE = 16*1024;
internal static void CopyTo(this Stream input, Stream... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Data.ViewModel
{
public class Disadge
{
[Key]
public Guid ScoreId { get; set; }
public ... |
using System;
namespace Microsoft.UnifiedPlatform.Service.Common.Telemetry
{
public interface ILogger
{
void Log(string message, string correlationId, string transactionId, string source, string userId, string e2eTrackingId);
void Log(Exception exception, string correlationId, string transacti... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
UnobtrusiveValidationMode = UnobtrusiveValidationMode.N... |
using Alabo.Data.People.Counties.Domain.Entities;
using Alabo.Domains.Services;
using MongoDB.Bson;
namespace Alabo.Data.People.Counties.Domain.Services
{
public interface ICountyService : IService<County, ObjectId>
{
}
} |
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
namespace GDS.Query
{
public class LogQuery : BaseQuery
{
public string OperationModule { get; set; }
public LogQuery()
{
}
public LogQuery(NameValueCollection queryParams)
... |
/// <summary>
/// All messages need to be define here before they can send.
/// </summary>
public static class CMessages {
//Define all messages here.
public enum eMessages
{
EnableAll=0,
ActionPressed,
ChairActive
};
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using System.Text.RegularExpressions;
using System.IO;
using De... |
namespace TripDestination.Services.Data
{
using Contracts;
using System;
using TripDestination.Data.Common;
using TripDestination.Data.Models;
using System.Linq;
public class CarServices : ICarServices
{
private readonly IDbRepository<Car> carRepos;
public CarServices(IDbR... |
using System;
using System.IO;
using System.Linq;
/* Вв 8-ма задача не е уточнонено дали трябва да се групират заедно всички файлове от директориите или всяка директория си е сама за себе си. По надалу е дадено рекурсивно решение и всяка директория си е сама за себе се. Ако всички директории трябва да се обединятя, п... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using ImageTool... |
public enum Team
{
NEUTRAL,
RED,
BLUE
};
|
using JustOffer.Offer;
using TechTalk.SpecFlow;
namespace JustOffer.UnitTest.Features
{
[Binding]
public class SavingsCapSteps
{
[Given(@"a savings cap offer exists")]
public void GivenASavingsCapOfferExists()
{
ScenarioContext.Current.OfferEngine(new OfferEngine());
... |
using System;
using System.Collections;
namespace MonoCov {
public class NamespaceCoverageItem : CoverageItem {
public string ns;
public NamespaceCoverageItem (CoverageItem parent, string ns) : base (parent) {
this.ns = ns;
}
public NamespaceCoverageItem ParentNamespace {
get {
return (NamespaceCoverag... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Timelogger.Api.BL
{
public class InvoiceFactory: IInvoiceFactory
{
/// <summary>
/// Returns the instance of invoice calculation rule based on the type
/// </summary>
/// ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace TemplateFramework
{
public enum SaveType
{
ZIP,
SourceText,
PIPE
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class CharacterSelectSprite : MonoBehaviour
{
public Slider rSlider;
public Slider gSlider;
public Slider bSlider;
void Start()
{
rSlider.value = Random.value;
gSlider.value = ... |
using ClassesIerarchy.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
namespace ClassesIerarchy
{
public class Private:Soldier,IPrivate
{
private decimal salary;
public Private(int id,string firstName,string lastName,decimal salary):base(id,firstName,lastName)
... |
using System;
using System.Threading;
public class ThreadPoolDemo
{
/// <summary>
/// 线程池示例
/// </summary>
static void Demo()
{
int nWorkerThreads;
int nCompletionPortThreads;
//读取工作线程和I/O线程的最大线程数
ThreadPool.GetMaxThreads(out nWorkerThreads, out nCompletionPortThrea... |
// Decompiled with JetBrains decompiler
// Type: ZebraLabelPrint.Form1
// Assembly: ZebraLabelPrint, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: ED888763-08FF-4F95-B0CC-2EF83552D2E6
// Assembly location: X:\Apartment Apps, Inc\Label Printer\Label Printer\Label Printer\Label Printer Prog\ZebraLabelP... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Printing;
using System.Text;
using System.Windows.Forms;
using System.Windows.Forms.VisualStyles;
using System.Collections;
using System.Reflect... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Listas
{
class Program
{
static void Main(string[] args)
{
short op;
Node Listas = new Node();
do
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Welic.Dominio.Models.Menu.Dtos;
using Welic.Dominio.Models.Menu.Mapeamentos;
namespace Welic.Dominio.Models.Menu.Adapter
{
public class AdapterMenu
{
public static MenuDto Conver... |
using System;
using System.Collections.Generic;
using System.Linq;
using alg;
/*
* tags: sort
* Time(n), Space(n), n is the count of all elements in k list.
* sort and then count the sliding window
*/
namespace leetcode
{
public class Lc632_Smallest_Range
{
public int[] SmallestRange(IList<IList<... |
using System.Threading.Tasks;
using DFC.ServiceTaxonomy.GraphSync.GraphSyncers.Parts;
using FakeItEasy;
using Newtonsoft.Json.Linq;
using Xunit;
namespace DFC.ServiceTaxonomy.UnitTests.GraphSync.GraphSyncers.Parts.AliasPartGraphSyncerTests
{
public class AliasPartGraphSyncerValidateSyncComponentTestsBase : PartGr... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
using ApartmentApps.Client;
using ApartmentApps.Client.Models;
using MvvmCross.Core.ViewModels;
using ResidentAppCross.Extensions;
using ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
/// <summary>
/// Program : Cylinder
/// @author : Taekyung Kil
/// Date : 04/Oct/2019
///
/// Purpose : To set the class of Cylinder
///
/// I, Taekyung Kil, student number 000799798 , certify that a... |
using Gruzer.Models.Consignments;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Gruzer.Models.ShipmentProcess
{
/// <summary>
/// Заявка
/// </summary>
public class Order : BaseEntity
{
/// <summary>
/// Дата создания зая... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace csqueue
{
public class RadixSort
{
static void Main(string[] args)
{
SortArrayWithRadixSort();
}
private static void SortArrayWithRadixSort()
{
int[] arr... |
using System;
using System.Windows.Input;
using Smajlici.ViewModel;
namespace Smajlici.Commands
{
class ImageClick : ICommand
{
public event EventHandler CanExecuteChanged;
public bool CanExecute(object parameter)
{
object[] parameterArray = ((object[])parameter);... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.