text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Projet2Cpi
{
[Serializable]
public class Tache : CalendarObj
{
/// <summary>
/// Cette classe représente les tâches
///
///L'attribut PRIVE _etat r... |
using System;
using System.Windows;
namespace CaveDwellersTest.Extensions
{
public static class PointExtensions
{
public static bool IsEqualTo(this Point thisPoint, Point point)
{
var x1 = (int)Math.Round(thisPoint.X, 0, MidpointRounding.AwayFromZero);
var x2 = (int)Mat... |
using StructureMap;
using StructureMap.Graph;
namespace ConsoleApplication1.DependencyResolution
{
public class DefaultRegistry : Registry
{
public DefaultRegistry()
{
this.Scan(scan =>
{
scan.TheCallingAssembly();
scan.WithDefaultConven... |
using MixErp.Data;
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 MixErp.Stok
{
public partial class frmStokDurum : Form
{
Mi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.XR.ARFoundation;
using UnityEngine.XR.ARSubsystems;
public class MeteorsSpawn : MonoBehaviour
{
public ARReferencePointManager arReferencePointManager;
private Vector3 center;
public float sphereRadius;
pu... |
namespace WebApi.Responses
{
public class WebApiResultInfo
{
public int? PageIndex { get; set; }
public int? PageSize { get; set; }
public int? Count { get; set; }
public int? TotalCount { get; set; }
public WebApiResultInfo(int? pageIndex = null, int? pageSize = null, int? count = null, int? totalCount =... |
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 Проверка
{
public struct Searchmobs
{
public PictureBox picture;
publi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class HealthPack : MonoBehaviour
{
public AudioSource healSound;
public int healthHealed = 100;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per fr... |
namespace ANSI
{
public enum Attributes
{
Bold = 1,
Faint = 2,
Italic = 3,
Underline = 4,
SlowBlink = 5,
RapidBlink = 6,
Reverse = 7,
Conceal = 8,
Strikethrough = 9,
NoBoldNoFaint = 22,
NoItalic = 23,
NoUnderline = 2... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infra... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
namespace WebChapter.AspNetCore.MvcDemo.Security
{
public class EmployeeRequirementHandler : AuthorizationHandler<EmployeeRequirement>
{
protect... |
using Microsoft.Owin.Security;
namespace ServerApi.OwinMiddleware.Authentication
{
public class SkautIsAuthenticationOptions : AuthenticationOptions
{
public SkautIsAuthenticationOptions() : base("SkautISAuth")
{
}
}
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
/* Don't change anything here.
* Do not add any other imports. You need to write
* this program using only these libraries
*/
namespace ProgramNamespace
{
class DiscountProduct
{
public string ProductName { get... |
using UBaseline.Shared.GlobalScriptsComposition;
using UBaseline.Shared.Node;
using UBaseline.Shared.Property;
using UBaseline.Shared.Title;
namespace Uintra.Core.Login
{
public class LoginPageModel: NodeModel,
ITitleContainer,
IGlobalScriptsComposition
{
public PropertyModel<string> Title { get; set; }
pub... |
namespace DataLayer
{
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
public class HumanResourceManager
{
public DataTable GetAbsenceTable(int group_id, DateTime start_date, DateTime end_date, string group_txt)
{
SqlPa... |
using Sentry.PlatformAbstractions;
using Runtime = Sentry.PlatformAbstractions.Runtime;
namespace Sentry.Tests.PlatformAbstractions;
public class RuntimeExtensionsTests
{
[Theory]
[InlineData(".NET Framework", true)]
[InlineData(".NET Framework Foo", true)]
[InlineData(".NET", false)]
[InlineData(... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class kill : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
private void OnTriggerEnter2D(Collider2D other)
{
if (other.gameObject.name == "blue2")
... |
namespace Shiftgram.Core.Enums
{
public enum DbAnswerCode
{
Ok,
Bad
}
}
|
using System;
using System.ComponentModel;
using System.Globalization;
using DelftTools.Utils;
using TypeConverter = System.ComponentModel.TypeConverter;
namespace DelftTools.Functions.Tuples
{
public class PairTypeConverter<T1, T2>: TypeConverter where T2 : IComparable<T2> where T1 : IComparable<T1>
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using FluentAssertions;
using Microsoft.Azure.Batch.SoftwareEntitlement.Common;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstraction... |
using System;
using System.Threading;
using System.Threading.Tasks;
using Etherama.Common;
using Etherama.Common.Extensions;
using Etherama.CoreLogic.Services.Blockchain.Ethereum;
using Etherama.DAL;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using NLog;
namespace Etherama.Web... |
using Entities.DbEntities;
using Repositories.Interfaces;
using System.Web;
namespace Repositories.Repositories
{
public class CrossOutListRepository : ICrossOutListRepository
{
public ApplicationDbContext DbContext
{
get
{
if (HttpContext.Current.Items[... |
using System;
using System.ComponentModel.DataAnnotations;
namespace gregs_list_again.Models
{
public class Job
{
public string Id { get; set; }
[Required]
public string JobTitle { get; set; }
[Required]
public string Company { get; set; }
[Required]
p... |
using System;
namespace Microsoft.UnifiedPlatform.Service.Common.AppExceptions
{
[Serializable]
public class IncompleteConfigurationException: Exception
{
public IncompleteConfigurationException(string clusterName, string appName, string missingConfiguration, Exception innerException)
... |
using System;
using UnityEngine;
namespace Grandma.PF
{
[Serializable]
public struct Shot
{
[Tooltip("The number of projectiles launched in this shot")]
public int NumberOfProjectiles;
}
[Serializable]
public struct Burst
{
//The number of shots in the burst
... |
using System;
using System.Linq;
using StackExchange.Redis;
using System.Threading.Tasks;
using Microsoft.UnifiedRedisPlatform.Core.Logging;
using Microsoft.UnifiedRedisPlatform.Core.Pipeline;
using Microsoft.UnifiedRedisPlatform.Core.RedisExecutionMiddlewares;
namespace Microsoft.UnifiedRedisPlatform.Core.Database
{... |
using Microsoft.EntityFrameworkCore;
namespace Backend.Models
{
public class MagacinContext : DbContext
{
public DbSet<Magacin> Magacini { get; set; }
public DbSet<Raf> Rafovi { get; set; }
public DbSet<Mesto> Mesta { get; set; }
public MagacinContext(DbContextOptions options) :... |
using Sentry.Tests.Helpers.Reflection;
namespace Sentry.Tests.Reflection;
public class AssemblyExtensionsTests
{
[Fact]
public void GetNameAndVersion_NoInformationalAttribute_ReturnsAssemblyNameData()
{
var asmName = new AssemblyName
{
Name = Guid.NewGuid().ToString(),
... |
namespace com.Sconit.Web.Controllers.ISS
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using com.Sconit.Utility;
using Telerik.Web.Mvc;
using com.Sconit.Web.Models;
using com.Sconit.Web.Models.SearchModels.ISS;
us... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microsoft.master2.model
{
public class CSharpMethod : IComparable
{
private string name;
private double relevance = 0;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EBS.Domain.ValueObject
{
public class StoreSetting
{
}
}
|
using System;
using System.Configuration;
using System.Web;
using CIPMSBC;
/// <summary>
/// Summary description for AppRouteManager
/// </summary>
public class AppRouteManager
{
// 2014-07-28 The first routing rule is for PJL - if the user is in EligiblePJLottery (used PJ special code, failed at community due to... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _02.HumanBeing
{
class Student : Human
{
public int Grade { get; set; }
public Student(string name, string lastName, int grade)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EBS.Query.DTO;
namespace EBS.Query
{
public interface IStocktakingPlanQuery
{
IEnumerable<StocktakingPlanDto> GetPageList(Pager page, SearchStocktakingPlan condition);
IEnume... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NStandard.Windows.Native.Service
{
public enum ServiceStartType
{
/// <summary>
/// A service started automatically by the service control manager during system startup... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Pe.Stracon.SGC.Aplicacion.TransferObject.Response.Contractual
{
/// <summary>
/// Representa el objeto response de RequerimientoBien
/// </summary>
/// <remarks>
/// Creaci... |
using System.Collections.Generic;
namespace AudioText.Models.ViewModels
{
public class FilterListItemViewModel
{
public List<Filter> FilterList
{
get; private set;
}
public FilterListItemViewModel(List<Filter> list)
{
FilterList = list;
... |
using RC.Infra;
using RC.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace RC.Controllers
{
public class HomeController : RCController
{
//
// GET: /Home/
private RCContext db = new RCContext();
public... |
using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Welic.Dominio.Models.Estacionamento.Map;
namespace Infra.Mapeamentos
{
public class MappingSolicitacoesVagas : EntityTypeConfiguration<Solicitacoes... |
using IWorkFlow.DataBase;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IWorkFlow.ORM
{
[Serializable]
[DataTableInfo("B_YYYD_Comparison", "ID")]
public class B_YYYD_Comparison : QueryInfo
{
[DataField("ID", "B_YYY... |
using System;
using System.Text;
namespace NStandard
{
public static partial class ConvertEx
{
/// <summary>
/// Returns an object of the specified type and whose value is equivalent to the specified object.
/// (Enhance: Support Nullable types.)
/// </summary>
/// ... |
namespace gView.Framework.system
{
public delegate void TimeEventAddedEventHandler(ITimeStatistics sender, ITimeEvent timeEvent);
public delegate void TimeEventsRemovedEventHandler(ITimeStatistics sender);
}
|
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Windows.ApplicationModel;
using Windows.Security.Cryptography;
using Windows.Storage;
using Windows.Storage.Provider;
using Windows.Storage.Streams;
using GUI.Helpers;
using GUI.Models;
namespace GUI.ViewModels
{
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace CM_App_Creator
{
public partial class Eventlog : Page
{
protected void Page_Load(object sender, EventArgs e)
{
... |
using Enviosbase.Data;
using Enviosbase.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Enviosbase.Business
{
public class MunicipioBusiness
{
public int Create(MunicipioModel item)
{
ret... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
using System.Diagnostics;
namespace Editor
{
[DescriptionAttribute("Mesh Component"),
CategoryAttribute("Components")]
public class MeshComponent : Component
... |
using Xamarin.Forms;
namespace RRExpress.AppCommon.UserControls {
/// <summary>
/// 控件与MVVM设计原则:
/// MVVM 是给使用控件的人用的,不是给写控件的人用的
/// 如果控件里使用了 MVVM 会造成 BindingContext 错乱
/// </summary>
public partial class Stepper : ContentView {
#region Min
/// <summary>
/// 最小值
... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Fra... |
using Manager.Interface;
using Repository.Interface;
using System;
using System.Collections.Generic;
using System.Text;
using TestApp4.Models;
namespace Manager.Implementation
{
public class UserRoleManager : IUserRoleManager
{
private IUserRoleRepository userroleRepository;
public UserRoleMa... |
using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
namespace CODE.Framework.Wpf.Theme.Universe.Controls
{
/// <summary>Simple rendering mechanism to render a standard Ne... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using Android.App;
using Android.Content;
using MvvmCross.Platform;
using MvvmCross.Platform.Core;
using MvvmCross.Platform.Droid.Platform;
using MvvmCross.Plugins.PictureChooser;
using ResidentAppCros... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Thingy.WebServerLite.Api;
namespace Thingy.WebServerLite
{
public class ControllerProvider : IControllerProvider
{
private readonly IController[] controllers;
... |
using System;
using System.Collections.Generic;
namespace POSServices.PosMsgModels
{
public partial class IntegrationParameter
{
public string Erpdatabase { get; set; }
public string BackendPosdatabase { get; set; }
public int Recid { get; set; }
}
}
|
using System;
namespace Net01_1.Model
{
class TextMaterial:BaseTrainingMaterial, ICloneable
{
public string Text
{
get { return _text; }
set
{
if (value != null && value.Length > 1000)
{
throw new ArgumentE... |
namespace Brambillator.Historiarum.Repositories.EntityFramework
{
public static class EFHistoriarumUnitOfWorkInitializer
{
public static void Initialize(EFHistoriarumUnitOfWork context)
{
context.Database.EnsureCreated();
}
}
}
|
namespace Alabo.UI.Design.AutoReports.Dtos {
/// <summary>
/// CountReportTable
/// </summary>
public class CountReportTable {
/// <summary>
/// 表格名称
/// </summary>
public string Name { get; set; }
/// <summary>
/// 日期格式
/// 格式:... |
using System;
using System.Collections;
using System.Collections.Generic;
public class LCode149
{
public int MaxPoints(int[][] points)
{
if (points == null) return 0;
if (points.Length == 0) return 0;
if (points[0].Length == 0) return 0;
Dictionary<float, int> counts = new Dic... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using WebAppAdvocacia.Models;
namespace WebAppAdvocacia.Controllers
{
public class TribunalApiController : ApiController
{
public Tribunal Get()
{
Trib... |
using CRMSecurityProvider.Configuration;
using CRMSecurityProvider.Repository;
using CRMSecurityProvider.Repository.Factory;
namespace AlphaSolutions.SitecoreCms.ExtendedCRMProvider.Repository.Factory
{
public class UserRepositoryFactory : RepositoryFactory, IUserRepositoryFactory
{
public UserReposit... |
using System;
namespace SourceCode
{
public interface Ipower
{
int GetPower();
}
public class PowerSupply : Ipower
{
public int GetPower() => 100;
}
public class Deskfan
{
private Ipower _PowGet;
public Deskfan(Ipower PowGet)
{
_PowGe... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using PROnline.Models.WorkStations;
using PROnline.Models.Teams;
using PROnline.Models;
using PROnline.Src;
namespace PROnline.Controllers.WorkStations
{... |
using Inventory.Data;
using Inventory.Models;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Inventory.Services
{
public class DishIngredientService : IDishIngredientService
{
private IDataServiceFactory DataServiceFactory { get; }
public DishIngredie... |
using Chloe.NBAClient.Contracts;
using System.Threading.Tasks;
using Chloe.ViewModels;
using Chloe.ViewComponents.PlayersComponent.Contracts;
namespace Chloe.ViewComponents.PlayersComponent
{
public class PlayersComponent : IPlayersComponent
{
public PlayersComponent(INBAClient client)
{
... |
using FastNet.Framework.Dapper;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
namespace SkywalkingDemo.Repository
{
public class TestRepository : SqlServerRepository
{
public TestRepository(string connString)
: base(conn... |
using System;
using System.Collections.Generic;
namespace TagProLeague.Models
{
public class Team : Document
{
public DateTime? EstablishedOn { get; set; }
public DateTime? LastActiveOn { get; set; }
public string LogoUrl { get; set; }
public string FullName { get; set; }
... |
using System.Collections.Generic;
namespace Algorithms.LeetCode
{
// Check different approaches
// 1. O(n^3) time and O(1) space
// 2. O(n^2) time and O(n) space
// 3. O(n^2) time and O(1) space
// 4. O(n) time and O(n) space
public class SubarraySumEqualsK
{
// Approach #4: hashtab... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using TestProject_Aarif.CustomAttributes;
namespace TestProject_Aarif.Models
{
public class EmployeeModel
{
[Required]
public string FirstName { get; se... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class TelaBehavior : MonoBehaviour {
[Header("Identificação")]
public int index;
[Header("Animações")]
private Animator anim;
[Header("Animações")]
public UnityEvent StartFI;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Happiness.Models;
using System.Data.Entity;
namespace Happiness.Controllers
{
public class EmployeeSearchController : Controller
{
//
// GET: /EmployeeSearch/
public ActionR... |
using BenefitDeduction.Employees.FamilyMembers;
using System.Collections.Generic;
namespace BenefitDeduction.Employees
{
public interface IEmployeeRepository
{
List <IEmployee> GetEmployees();
IEmployee GetEmployeeById(int employeeId);
List<IFamilyMember> GetFamilyMembers(IEmployee em... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebApplication1.Models
{
public class InvoiceLine
{
public InvoiceLine()
{
Description = "";
ItemId = "";
PriceLevel = "";
SerialNumber = "";
TaxCode = "";
TransCode = "";
}
public double Cost {... |
/*******************************************
*
* This class should only control Modules that involves Player Air Controls
* NO CALCULATIONS SHOULD BE DONE HERE
*
*******************************************/
using Sirenix.OdinInspector;
using UnityEngine;
namespace DChild.Gameplay.Player.Controllers
{
[Sy... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dapper;
using Newtonsoft.Json;
using PluginDevelopment.Helper;
using PluginDevelopment.Helper.Dapper.NET;
using PluginDevelopment.Model;
namespace PluginDevel... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Graph : MonoBehaviour
{
[SerializeField] private Sprite circleSprite;
List<int> valueList = new List<int>();
private RectTransform graphContainer;
public float time;
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using tableModel;
using colModel;
using SQLToCSharpNamespace;
namespace CreateMethod
{
public class FunctionAdd
{
public string CreateAddFunction(string dbName, TableModel tableModel)
{
... |
using System;
namespace Divar.Core.Commands.Advertisements.Commands
{
public class CreateCommand
{
public Guid Id { get; set; }
public Guid OwnerId { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Playables;
using RVP;
public class _cutsceneManager : MonoBehaviour
{
// Start is called before the first frame update
[SerializeField] Animator[] cars;
[SerializeField] GameObject carsounds;
[SerializeFie... |
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Report_ClassLibrary;
... |
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace HealthVault.Sample.Xamarin.Core.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class MedicationEditPage : ContentPage
{
public MedicationEditPage()
{
InitializeComponent();
}
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace Challan.Models
{
public class ChallanPrinciple
{
public ChallanPrinciple()
{
AcceptorDetailses = new List<AcceptorDetails>();
... |
using System;
namespace Multiple_Subtraction_Quiz
{
class Program
{
static void Main(string[] args)
{
string [] answers = new string[5];
Random rand = new Random();
int timeStart = DateTime.Now.Second;
Console.WriteLine("You are presented with fi... |
using UnityEngine;
[RequireComponent(typeof(Animator))]
public class GameUi : MonoBehaviour {
private static int blackScreenAnimParam { get; } = Animator.StringToHash("BlackScreen");
private static int notifyAbilityAnimParam { get; } = Animator.StringToHash("NotifyAbility");
[SerializeField] protected UnlockedN... |
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 School3D
{
public partial class 帮助 : Form
{
public 帮助()
{
InitializeComponent();
... |
using System;
namespace Problem_Circle_Area
{
class Program
{
static void Main(string[] args)
{
const double PI = 3.14159265358979;
double r = double.Parse(Console.ReadLine());
double area = PI * r * r;
double peremiter = 2 * r * PI;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace task2_Optimized_Banking_System
{
public class task2_Optimized_Banking_System
{
public static void Main()
{
var bankAccounts = new List<BankAccount>();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
namespace Integer.Web.ViewModels
{
public class ItemViewModel
{
public string Id { get; set; }
public string Nome { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Thingy.GraphicsPlus
{
public class EllipseElement : BaseElement
{
public override void Draw(Graphics graphics)
{
graphics... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using WebApplication4.Controllers;
using WebApplication4.Models;
using System.Linq;
using System.Web.Mvc;
using System.Collections.Generic;
namespace WebApplication4.Tests.Controllers
{
[TestClass]
public class BubleTsControllerTest
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;
using UnityEngine.UI;
using UnityEngine.SceneManagement;
using UnityEditor;
public class AnimalsGameManager : MonoBehaviour
{
[SerializeField]
private GameObject objectframeprefab;
[SerializeField]
priva... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http.Extensions;
using Småstad.Models;
using System.IO;
using Microsoft.AspNetCore.Authorizati... |
namespace Fingo.Auth.Domain.CustomData.ConfigurationClasses.User
{
public class NumberUserConfiguration : UserConfiguration
{
public int Value { get; set; }
}
} |
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
namespace StickFigure.Input
{
public class InputDeviceExtended<TS> where TS : struct
{
private readonly Queue<InputStateExtended<TS>> _recordedStates = new Queue<InputStateExtended<TS>>();
public Queue<InputStateExt... |
using Dapper;
using MGV.Entities;
using MGV.Shared;
using Microsoft.Data.Sqlite;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Data;
namespace MGV.Data.Repositories
{
public class FileRepository : IRepository<File>
{
#region Private Fields
pr... |
using DataModel.Models;
using System;
using System.Collections.Generic;
using System.IO;
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.M... |
namespace WebShop.Data.Repository.Contract
{
public interface IUnitOfWork
{
ICategoryRepo Category { get; }
IProductRepo Product { get; }
IOrderRepo Order { get; }
}
}
|
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 ReactiveUI;
namespace OrangeApple.WPF.ViewModels
{
public abstract class ComparisonItemViewModel : ReactiveObject
{
public abstract string ResultsViewText { get; }
public override string ToString()
{
return ResultsViewText;
}
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
using Photon.Realtime;
using UnityEngine.UI;
public class LeaderboardListing : MonoBehaviour
{
[SerializeField]
private TMP_Text rankText = null;
[SerializeField]
private TMP_Text nameText = null;
public Pl... |
using UnityEngine;
using System.Collections;
public class Spawn : MonoBehaviour {
//a shared spawner used by enemies and powerups
public float lowerFireRange;//Ranges define random intervals for firerate
public float higherFireRange;
public float nextFire = 0f;//controls first instance of instantiated object
pub... |
namespace DesignPatterns.State.SystemPermissionExample
{
public class SystemUser
{
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.