text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Text;
namespace testMonogame.Commands
{
class PreviousOptionBasedOnSelectionCommand : ICommand
{
GameManager game;
public PreviousOptionBasedOnSelectionCommand(GameManager g)
{
game = g;
}
public v... |
using System;
using System.ComponentModel.DataAnnotations;
namespace ApartmentApps.Data
{
[MetadataType(typeof(CorporationMetadata))]
public partial class Corporation
{
}
public partial class CorporationMetadata
{
[Display(Name = "Properties")]
public Property Properties { get... |
using System;
using Newtonsoft.Json;
namespace AMTApi.Models
{
public class ResultModel
{
public ResultModel(string msg, bool isError){
Message = msg;
IsError = isError;
}
[JsonProperty("message")]
public string Message { get; set; }
[JsonPropert... |
using System;
using System.Text.RegularExpressions;
using Autofac;
using Framework.Core.Common;
using Framework.Core.Helpers.PDF;
using NUnit.Framework;
using Tests.Data.Van;
using Tests.Data.Van.Input;
using Tests.Data.Van.Input.Filters;
using Tests.Pages.Van.LogIn;
using Tests.Pages.Van.Main.Common.Default... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace TravelerZeppelinMVC.Types
{
public class Node
{
public bool? IsCompleted { get; set; }
public string Plate { get; set; }
public List<string> SubPlates { get; set; }
public double Valu... |
namespace Phenix.Test.使用指南._21._7
{
class LocalAssemblyCriteria
{
public string Name { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using V50_IDOMBackOffice.AspxArea.Booking.Models;
using V50_IDOMBackOffice.AspxArea.Booking.Repositorys;
using IdomOffice.Interface.BackOffice.Booking;
namespace V50_IDOMBackOffice.AspxArea.Booking.Controllers
{
public class Emai... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using HotelManagement.Controller;
namespace HotelManagement.UserInterface
{
public partial class ThietBi : Form
{... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Navigation;
using... |
using System;
using System.Collections.Generic;
using System.Text;
namespace CourseHunter_83_MyselfException
{
public class Calculator
{
public double CalcTriangleArea(double sizeSideAB, double sizeSideBC, double sizeSideCA)
{
//Semiperimeter
double semiperimeter = (siz... |
using System;
namespace Profiling2.Web.Mvc.Areas.Profiling.Controllers.ViewModels
{
public class ScreeningResultViewModel
{
public string Name { get; set; }
public string Result { get; set; }
public string Reason { get; set; }
public string Commentary { get; set; }
publ... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace StringReplicator.Core.CodeGeneration
{
public enum Verb
{
Get = 0,
Post = 1,
Put = 2,
Delete = 3
}
public class RestAttribute : Attribute
{
public RestAttribute(Ver... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Quantum.Simulation.Core;
using Microsoft.Quantum.Simulation.Simulators;
namespace Micro... |
using DeliveryFactoryMethod.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DeliveryFactoryMethod
{
class Program
{
static void Main(string[] args)
{
int input = -1;
string m1 = $"P... |
using System;
using System.Data.Entity.Core;
using System.Data.SqlClient;
using System.Web.Mvc;
using System.Web.Security;
using TestApp.Models;
using TestApp.Services;
using TestApp.ViewModels;
namespace TestApp.Controllers
{
public class UserController : Controller
{
private readonly UserService _us... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace API
{
class Program
{
static void Main(string[] args)
{
string kumar= "athikumar is a very good man";
Int64 stringLength = kumar.Length;
... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
namespace Pyatnashki
{
public partial class p4x4 : Form
{
int inNullSliceIndex, inmoves = 0;
List<Bitmap> PictureList = new List<Bitmap>();
System.Diagnostics.Stopwatch timer = new System.... |
using TotemInteligente.Models;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Navigation;
using Windows.UI.Xaml;
using ServiceHelpers;
using Windows.Media.SpeechSynthesis;
using System.Net.Http;
// The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=234238
namespace TotemInte... |
using Microsoft.Practices.Unity;
using BSky.Statistics.Service.Engine.Interfaces;
using BSky.Service.Engine;
using BSky.Statistics.Common;
namespace BSky.ServerBridge
{
public static class BridgeSetup
{
public static void ConfigureContainer(IUnityContainer container)
{
AnalyticsSer... |
using Models.OpenCV.Algorithms;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media.Imaging;
namespace Models.IPModels
{
public class EllipseDetectorInterface
{
EllipseDetector detector;
public EllipseD... |
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using Conditions;
using Conditions.Guards;
using Properties.Core.Interfaces;
using Properties.Core.Objects;
using Properties.Infrastructure.Data.Extensions;
using Properties.Infrastructure.Data.Interfaces;
namespace Properties.Infrastructu... |
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;
using System.IO;
using TagLib;
using System.Runtime.InteropServices;
namespace _01_StartUp_Guatemala_Sal... |
using Vintagestory.API.Common;
namespace OreCrystals
{
class RegisterBehaviours : ModSystem
{
public override void Start(ICoreAPI api)
{
api.RegisterEntityBehaviorClass("illuminate", typeof(BehaviorIlluminate));
}
}
}
|
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Parallax : MonoBehaviour
{
[SerializeField] private GameObject cam;
[SerializeField] private bool useMainCamera;
[SerializeField] private float parallaxEffect;
private float length, startPos;
... |
using NUnit.Framework;
using System;
using Theresa;
using Microsoft.CSharp;
namespace Theresa.Test
{
[TestFixture()]
public class Test
{
[Test()]
public async void Basic()
{
Template x = await Template.FromFile("Templates/basic.thtml");
var str = await x.Exe... |
using System;
using System.Collections.Generic;
using System.Text;
namespace CPClient.Domain.Entities
{
public class Cliente : BaseEntity
{
public string NomeCompleto { get; set; }
public DateTime DataNascimento { get; set; }
public string CPF { get; set; }
public string RG ... |
using System;
using System.Linq;
using System.Runtime.Caching;
using System.Threading;
using Infrastructure.Cache;
using Infrastructure.ExtensionMethods;
using NUnit.Framework;
using Tests.Utils.TestFixtures;
namespace Tests.Unit.Infrastructure.Cache
{
class InMemoryKeyValueCacheTests : BaseTestFixture
{
... |
using System;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
namespace NetEscapades.AspNetCore.SecurityHeaders.Headers.ContentSecurityPolicy
{
/// <summary>
/// The output from calling <see cref="CspBuilder.Build"/>
/// </summary>
internal abstract class CspBuilderResult
{
... |
using System;
using System.Threading.Tasks;
namespace Assignment6_7
{
class Assignment67
{
private static async Task<int> FactorialDigitSum(int n)
{
int fact = await Task.Run(() => Factorial(n));
int result = 0;
while (fact > 0)
{
result += fact % 10;
fact /= 10;
}
... |
namespace Zendesk.LineItems
{
public interface ILineItemActions
{
}
} |
using System.Threading;
using System.Threading.Tasks;
using CronScheduler.Extensions.StartupInitializer;
using CronSchedulerApp.Data;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Logging;
namespace CronSchedulerApp.Jobs.Startup
{
/// <summary>
/// This jobs demonstrates how to use EF con... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using FastReport;
using KartLib.Reports;
using KartObjects;
using System.IO;
using FastReport.Table;
using KartLib;
using KartObjects.Entities.Documents;
namespace KartSystem
{
public class TORG12Repo... |
namespace SingLife.FacebookShareBonus.Model
{
public class FacebookBonusSettings
{
public float BonusPercentage { get; set; }
public decimal MaximumBonus { get; set; }
public IPolicySortService PolicySorter { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Entity;
namespace Data
{
public class DCategoria
{
public List<Categoria> GetCategorias(string nombreCategoria)
{
//Declarar
... |
using System;
namespace ComLib
{
/// <summary>
/// Disposeクラスのテンプレート
/// </summary>
public abstract class DisposeBase : IDisposable
{
#region メンバ変数
/// <summary>
/// 開放済みフラグ
/// </summary>
private bool vMisReleased = false;
#endregion
#region コンストラクタ・デストラクタ
/// <summary>
/// コンストラクタ
/// </su... |
using UnityEngine;
using System.Collections;
public class EventTrigger : MonoBehaviour {
public GameObject[] triggers;
private bool isTriggered = false;
void FixedUpdate() {
isTriggered = false;
}
void OnTriggerStay2D(Collider2D collider) {
foreach (GameObject trigger in triggers) {
if (collider.gameObj... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Mail;
using System.Web;
using System.Web.Mvc;
using kindergarden.Filters;
using kindergarden.Models;
namespace kindergarden.Controllers
{
[LoginCheck]
[RoleCheck(RoleName ="admin")]
publ... |
using CableMan.ViewModel;
using System;
using Xamarin.Forms;
using Xamarin.Forms.Maps;
using Xamarin.Forms.Xaml;
namespace CableMan.View
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class PageViewMap : ContentPage
{
public PageViewMap()
{
InitializeCompone... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Athenaeum.ViewModels.Event
{
public class EventArchiveViewModel
{
public List<Athenaeum.Models.Event> Events { get; set; }
public int CurrentPage { get; set; }
public int LastPage { get; set;... |
using Pe.Stracon.SGC.Presentacion.Core.ViewModel.Base;
namespace Pe.Stracon.SGC.Presentacion.Core.ViewModel.Contractual.ReporteTiempoEjecucion
{
/// <summary>
/// Modelo de vista Reporte Tiempo de Ejecución
/// </summary>
/// <remarks>
/// Creación: GMD 20150709
/// Modificación:
/... |
using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Autodesk.AutoCAD.DatabaseServices;
using Autodesk.AutoCAD.Runtime;
using Autodesk.AutoCAD.EditorInput;
using Autodesk.AutoCAD.Geometry;
using System.Collections;
namespace Kingdee.CAPP.Autocad.DrawRectanglePlugIn
{
public... |
using System.Linq;
using System.Xml.Linq;
using EngageNet.Data;
using NUnit.Framework;
namespace EngageNet.Tests.Data
{
[TestFixture]
public class ContactTests
{
[Test]
public void GetFromXElement_ParsesContactCorrectly()
{
var xelement = new XElement("entry",
new XElement("... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ShipUI : MonoBehaviour
{
public Text Type;
public Text Hp;
public Text Firepower;
public Text Movement;
private void Start()
{
gameObject.SetActive(false);
}
public void SetUni... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Text;
using generalClassLibrary;
public partial class Reference_Forms_Diseases_Symptoms_Treatment : System.Web.UI.Page
{
protected ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HNDunit20
{
class CDNode
{
private String artist;
private int duration;
private CDNode previous;
public String Artist
{
... |
using System;
using Infrostructure.Enums;
namespace DomainModel.StatePattern.OrderState
{
/// <summary>
/// ساخته شده
/// </summary>
public class Created : StateBase
{
public Created()
{
OrderStateEnum = OrderStateEnum.Created;
}
public override StateBas... |
using FeriaVirtual.Domain.SeedWork.Commands;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace FeriaVirtual.Infrastructure.SeedWork.Commands
{
public class InMemoryCommandBus
: ICommandBus
{
private static readonly... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Numerics;
namespace CryptographyTemplate.EncryptionStrategies
{
public class RSAEncryptionStrategy : EncryptionStrategy
{
private string input;
private BigInteger p, q, n, phi, e, d;
pr... |
using System.Net;
namespace Org.Common.Exception
{
public class BadRegistrationRequestException : OperationException
{
public object RegistrationRequestError { get; }
public BadRegistrationRequestException(object registrationRequestError) : base(string.Empty, (int)HttpStatusCode.BadRe... |
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Text;
using log4net;
using DMS.DataAccessObject;
using DMS.Utils;
namespace DMS.BusinessObject
{
/// <summary>
/// Summary description for clsAutUserBO.
/// </summary>
/// <remarks>
/// Author: ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Reflection;
using DevExpress.XtraEditors;
using DevExpress.XtraTab;
using IRAP.Global;
using IRAP.Client.User;
using IRAP.Ent... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
namespace ChatAPI.Models.ChannelsModel
{
public class ChannelsModel
{
[Key]
public int ChannelId { get; set; }
public string Name { get; se... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace BudgetHelper.DataTypes
{
public class CategoryMap
{
public CategoryMap(IEnumerable<Tuple<string, string>> data)
{
var theData = data.ToList();
for (var i = 0; i < theData.Count; i++)
{
var thisKey = theData[i].Item1;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
/// <summary>
/// Summary description for SessionSpecialCode
/// </summary>
public class SessionSpecialCode
{
public static string GetSpecialCode()
{
var session = HttpContext.Current.Session;
if (session["Specia... |
using System.Threading.Tasks;
using LoanAPound.Db.Model;
namespace LoanAPound.LoanEngine
{
public interface IDecisionService
{
Task ConsiderLoanAsync(LoanApplication loanApplication);
Task ProcessOustandingLoansAsync();
Task UnderwriteLoanAsync(LoanApplication loanApplication, bool app... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace StudentPortal
{
public partial class ChangePassword : System.Web.UI.Page
{
protected void Page_L... |
using UnityEngine;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace Egret3DExportTools
{
public enum ExportLightType
{
None,
Lambert,
Phong,
Standard,
}
[JsonObject(MemberSerialization.OptOut)]
public class CommonSetting
{
/**
*控... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace Sibusten.Philomena.Client.Images.Downloaders
{
public class SequentialPhilomenaImageDownloader : IPhilomenaImageDownloader
{
public IReadOnlyList<IPhilomenaImageDownloader>... |
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using Wpf.Dao;
using Wpf.Model;
namespace Wpf.ViewMode... |
namespace Sample.Tests
{
public class SampleData
{
public int A { get; set; }
public int B { get; set; }
public int C => A + B;
}
}
|
using System.Collections.Generic;
using System.Windows;
namespace Crystal.Plot2D.DataSources
{
public sealed class RawDataSource : EnumerableDataSourceBase<Point>
{
public RawDataSource(params Point[] data) : base(data) { }
public RawDataSource(IEnumerable<Point> data) : base(data) { }
public overrid... |
using System;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using Vanara.PInvoke;
using static Vanara.PInvoke.User32_Gdi;
using static Vanara.PInvoke.Shell32;
namespace Vanara.Windows.Shell
{
/// <summary>Methods that control the Windows taskbar. It allows you to dynamically... |
using System;
using com.Sconit.Entity;
using com.Sconit.Entity.ACC;
using com.Sconit.Entity.Exception;
using com.Sconit.Service;
using com.Sconit.Utility;
using System.Web.Services;
using System.Collections.Generic;
using System.Linq;
namespace com.Sconit.WebService
{
public class BaseWebService : System.Web.Ser... |
using Atc;
// ReSharper disable once CheckNamespace
namespace System
{
/// <summary>
/// Extensions for the <see cref="DateTimeOffset"/> class.
/// </summary>
public static class DateTimeOffsetExtensions
{
/// <summary>
/// Returns true if the date time offset is between or equal to... |
using System;
using System.IO;
using CommandLine;
using Unity;
namespace LogFile.Analyzer.ConsoleApp
{
internal class Program
{
private static void Main(string[] args)
{
var options = new Options();
if (!Parser.Default.ParseArguments(args, options))
ret... |
using System;
using System.Drawing;
using System.Windows.Forms;
using System.IO;
namespace PrinterTimerControl
{
public partial class CambiaToken : Form
{
private Settings set { get; set; }
public CambiaToken(Settings s)
{
InitializeComponent();
set = s;
... |
using System;
using System.Windows;
namespace Crystal.Plot2D
{
public sealed class ExtendedPropertyChangedEventArgs : EventArgs
{
public string PropertyName { get; set; }
public object OldValue { get; set; }
public object NewValue { get; set; }
public static ExtendedPropertyChangedEventArgs FromD... |
using System;
using System.ComponentModel;
namespace NStandard
{
[EditorBrowsable(EditorBrowsableState.Never)]
public static class IDisposableExtension
{
public static void DisposeAll<T>(this T[] @this) where T : IDisposable
{
foreach (var item in @this)
{
... |
using ClaimDi.Business;
using ClaimDi.DataAccess.Object.API;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
namespace Claimdi.WCF.Consumer
{
// NOTE: You can use the "Rename" command on the "Refactor" menu to cha... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TestWebService.Model;
using TestWebService.Tools;
using TestWebService.Data;
using Moq;
using System.Web.Services.Protocols;
namespace TestWebService.Test
{
/// <summary>
/// Тесты веб сервиса
/// </summary>
[TestClass]
public... |
using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Assets.TestingScripts.EnumTest
{
class ShapeCollectionEnumeratorRealisation:IEnumerable
{
private Shape[] shapes;
public ShapeCollectionEnume... |
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Mvc;
using MGO.Models;
namespace MGO.Controllers
{
[Authorize(Roles = "manager, employee")]
public class PurchaseItemsController : Controller
{
private ... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Text;
using System.Threading.Tasks;
namespace CarRental.API.DAL.Infrastructure.DataProvider
{
internal static class SqlConnectionProvider
{
internal static SqlConnection GetConnection(string connectionString)
... |
using Volo.Abp.Localization;
namespace TestAbp.Localization.TestAbp
{
[LocalizationResourceName("TestAbp")]
public class TestAbpResource
{
}
} |
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Nailhang.Mongodb.PublicStorage.Processing
{
class AssemblyEntity
{
[BsonId]
public Guid Id { get; set; ... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Security.Cryptography;
using System.Windows.Forms;
namespace CryptoDate
{
public partial class Inicio : Form
{
public Inicio()
{
InitializeCompo... |
namespace CaseManagement.DataObjects
{
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("ClientVisitReferral")]
public partial ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LeftGoldEnemy : MonoBehaviour
{
public GameObject player;
public float moveSpeed;
bool once = true;
// Start is called before the first frame update
void Start()
{
}
// Update is called once p... |
using System;
using System.Collections.Generic;
using System.Text;
namespace sales_system
{
public class Reports
{
public Salesman[] Salesmans = new Salesman[20];
int salesmanCount = 0;
public Sale[] Sales = new Sale[20];
int saleCount = 0;
public Product[] products =... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClassMethods
{
class Program
{
static void Main(string[] args)
//{
//Class1 goat = new Class1();
// Console.WriteLine("Please enter a number.");
... |
using System;
using System.Windows.Forms;
using PropertyGridExample.PropertyClasses;
namespace PropertyGridExample
{
public partial class Form1 : Form
{
private PropertyTextField prTextProp;
private PropertyTrueFalse prLogicProp;
private PropertyCategories prCategoryProp;
priv... |
using Zenject;
public class MeleeEnemyFactory : PlaceholderFactory<NPCController>{}
public class RangedEnemyFactory : PlaceholderFactory<NPCController>{} |
using RateService.Api.Models;
using System;
using System.Collections.Generic;
namespace RateService.Api.Helper
{
public static class GenerateCoinData
{
public static List<Rates> GenerateRatesData(int? index = null)
{
var rng = new Random();
List<Rates> rat... |
using System;
using System.Collections.Generic;
using System.Text;
namespace PlayingCardGame
{
public class Card
{
public Färg Färg { get; set; }
public bool Dolt { get; set; }
public Värde Värde { get; set; }
}
public enum Färg
{
Hjärter,
Rute... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Wolf : Entity
{
public Animator animator { get; private set; }
public override void Start()
{
base.Start();
animator = GetComponent<Animator>();
}
/**
* Removes this sheep from the ga... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AccessSpecifier
{
class Program
{
private static string k = "";
static void Main(string[] args)
{
string j = "";
for (int ... |
using SnowDAL.DBModels;
using SnowDAL.Paging;
using SnowDAL.Searching;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace SnowDAL.Repositories.Interfaces
{
public interface IRoutePointRepository : IEntityBaseRepository<RoutePointEntity>
{
Task<PagingResult<RoutePointEntity>> Sea... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
public class AudioController : MonoBehaviour
{
public AudioManager.AudioFile[] audioFiles;
public AudioSource audioSource;
// Use this for initialization
void Awake()
{
audioSource = gameObj... |
using ShopApp.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace ShopApp.DataAccess.Abstract
{
public interface IAddressDal : IRepository<Address>
{
Address GetByUserId(string userId);
}
}
|
using System;
using CC.Utilities.Services;
using CC.Utilities.Web;
using SQLite.Net.Async;
namespace Groceries.Services
{
public class GroceriesServiceBase: ServiceBaseWithSyncCheck
{
protected IServiceFactory factory;
protected readonly SQLiteAsyncConnection db;
protected string baseUrl{
get{
return f... |
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;
using System.Runtime.InteropServices;
namespace Formularios
{
public partial class Menu : Form
{... |
using Microsoft.EntityFrameworkCore;
namespace ToDoList.Models
{
public class IdendityDbContext<T>
{
private DbContextOptions<TodoContext> options;
public IdendityDbContext(DbContextOptions<TodoContext> options)
{
this.options = options;
}
}
} |
public class Solution {
public int[] ProductExceptSelf(int[] nums) {
int[] res = new int[nums.Length];
res[0] = nums[0];
for (int i=1; i<nums.Length; i++) {
res[i] = res[i-1] * nums[i];
}
int idxRight = nums.Length - 1;
int right = 1;
while (idxRig... |
using System.ComponentModel.DataAnnotations;
namespace FIMMonitoring.Domain
{
public class FimSystem : EntityBase
{
#region Properties
[MaxLength(200)]
public string Name { get; set; }
[MaxLength(200)]
public string Url { get; set; }
[MaxLength(200)]
... |
/* The MIT License (MIT)
*
* Copyright (c) 2018 Marc Clifton
*
* 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, ... |
using System;
using System.Text.RegularExpressions;
using Microsoft.Win32;
namespace DecisionTableImporter
{
class Utility
{
public static string BrowseForPath()
{
// Configure open file dialog box
var openFileDialog = new OpenFileDialog();
openFileDialog.F... |
using System;
using System.Globalization;
using System.Linq;
using System.Web.Mvc;
using System.Web.Script.Serialization;
using Core.Abstract;
using Core.Concrete.Events;
using Core.Concrete.Exceptions;
using Core.Entities;
using WebMatrix.WebData;
namespace WebUI.Controllers
{
[Authorize]
public class Transp... |
// Converted from UnityScript to C# at http://www.M2H.nl/files/js_to_c.php - by Mike Hergaarden
// Do test the code! You usually need to change a few small bits.
using UnityEngine;
using System.Collections;
using System;
public class PlayerCar : MonoBehaviour
{
// car physics calculations/input stuff
publi... |
using System;
using System.Collections.Generic;
namespace AI
{
public abstract class LogicBase : ILogic
{
private class DelayedAction
{
public float TimesLeft;
public float DelayTime;
public Action Action;
}
private readonly List<DelayedActi... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace lab08
{
public partial class Form1 : Form
{
class Node : IComparable
{
public Point now;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.