text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace St.Eg.M1.Ex1.OOP.Model7
{
interface IValidator
{
}
}
|
#region copyright
// ******************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THE CODE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
// INCLUDING BUT NOT LIMITED TO THE WARRANTIE... |
//using System;
//using System.Collections.Generic;
//using System.Threading.Tasks;
//using DFC.ServiceTaxonomy.IntegrationTests.Helpers;
//using DFC.ServiceTaxonomy.Neo4j.Commands;
//using Xunit;
//namespace DFC.ServiceTaxonomy.IntegrationTests.Neo4j.Commands
//{
// //todo: when acting call on ValidateResults on c... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace XH.Commands.Enterprises
{
public class CreateEnterpriseCommand : CreateOrUpdateEnterpriseCommand
{
}
}
|
using Sentry.Extensibility;
using Sentry.Internal.Extensions;
namespace Sentry;
/// <summary>
/// Sentry HTTP interface.
/// </summary>
/// <example>
/// "request": {
/// "url": "http://absolute.uri/foo",
/// "method": "POST",
/// "api_target": "apiType",
/// "data": {
/// "foo": "bar"
/// ... |
using UnityAtoms.BaseAtoms;
using UnityEngine;
namespace UnityAtoms.InputSystem
{
[CreateAssetMenu(menuName = "Unity Atoms/Input System/Interpreters/Vector3")]
public sealed class Vector3CallbackContextInterpreter : CallbackContextInterpreter<Vector3, Vector3Pair, Vector3Constant, Vector3Variable, Vector3Event... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Movementscript : MonoBehaviour
{
public bool onGround;
private bool onObs;
public Rigidbody rb2d;
public float gravityScale = -10.0f;
public static float globalGravity = -10f;
Vector3 tempPos;
// Us... |
using System;
using System.Linq;
namespace Exercises_Objects_and_Classes
{
class Program
{
static void Main()
{
int n = int.Parse(Console.ReadLine());
for (int i = 0; i < n; i++)
{
string[] input = Console.ReadLine().Split(" ", ... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Lab_2;
namespace Test_Lab2
{
[TestClass]
public class UnitTest1
{
public double?[] ShowRoots(double a, double b, double c)
{
double?[] results = new double?[2];
double D = b * ... |
using Microsoft.AspNetCore.Identity;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
namespace ProjectCore.Model.EntityModel
{
[Table("ApplicationRoleClaim")]
public class ApplicationRoleClaim : IdentityRoleClaim<string>
{
publ... |
using gView.Framework.Geometry.SpatialRefTranslation;
using gView.Framework.IO;
using gView.Framework.Proj;
using System;
using System.IO;
using System.Linq;
using System.Text;
namespace gView.Framework.Geometry
{
public class SpatialReference : ISpatialReference
{
private string _ID, _params, _descri... |
namespace Taggart.Data.Models
{
public class LibraryInfo
{
public int LibraryId { get; set; }
public string Name { get; set; }
public string File { get; set; }
public int TrackCount { get; set; }
}
}
|
using BookARoom.Model;
using BookARoom.Model.BLL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.ModelBinding;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace BookARoom.Pages
{
public partial class Default : System.Web.UI.Page
{
pr... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Parking_Lot_Project
{
class Service
{
#region
pu... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Repository.Repositorio
{
public class TradeCategoryDTO
{
private int _idRange;
private int _idCategory;
private string _dsCategory;
private int _idSector;
private string _dsSector;
public int idRange
{
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Il2CppSystem.Collections.Generic;
using MelonLoader;
using Photon.Pun;
using Photon.Realtime;
using UnityEngine;
using UnityEngine.Events;
using UnityEngine.UI;
using VRC;
namespace MasterSeatFix
{
public static class ... |
using Compent.Shared.Search.Elasticsearch.SearchHighlighting;
using Nest;
using Newtonsoft.Json.Linq;
namespace Uintra.Core.Search.Helpers
{
public class UintraSearchHighlightingHelper : SearchHighlightingHelper
{
public override string HighlightPreTag => "<em style='background:#ffffc0'>";
pub... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class Splash : MonoBehaviour
{
[SerializeField] GameObject godCube;
[Range(3,120)] [SerializeField] float growRate;
[Range(0.001f, 0.01f)] [SerializeField] float growStep;
... |
namespace Ach.Fulfillment.Scheduler.Common
{
using System;
using System.Threading;
using Ach.Fulfillment.Common;
using Ach.Fulfillment.Scheduler.Configuration;
using global::Common.Logging;
using Microsoft.Practices.ServiceLocation;
using Quartz;
/// <summary>
///... |
using System;
using System.Collections.Generic;
using Xamarin.Forms;
namespace LorikeetMApp
{
public partial class CreatePasswordPage : ContentPage
{
public CreatePasswordPage()
{
InitializeComponent();
}
void Handle_Clicked(object sender, System.EventArgs e)
... |
using System;
namespace FirstProgram
{
class Program
{
static void Main(string[] args)
{
//Vypíše do konzole zadaný řetězec
Console.WriteLine("Zadej a");
//Dosadí do proměnné a zkonvertovaný vstup od uživatele do typu int
int a = Convert.ToInt32... |
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using senai_hroads_webApi.Domains;
using senai_hroads_webApi.Interfaces;
using senai_hroads_webApi.Repositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace senai_hroads_webApi.Controllers
{... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.SqlServer.Server;
namespace Docller.Core.Repository
{
public static class RepositoryExtensions
{
/// <summary>
/// Sets the nullable long.
/// </summary>
/// <param name="data... |
namespace Sentry.Serilog.Tests;
public class SentrySerilogSinkExtensionsTests
{
private class Fixture
{
public SentrySerilogOptions Options { get; } = new();
// Parameter values that are NOT set to the default values in SentryOptions or SentrySerilogOptions
public bool SendDefaultPii {... |
using Alabo.Web.Mvc.Attributes;
using System.ComponentModel.DataAnnotations;
namespace Alabo.Framework.Core.Enums.Enum {
/// <summary>
/// 商品范围
/// </summary>
[ClassProperty(Name = "商品范围")]
public enum ProductRange {
/// <summary>
/// 所有商品
/// </summary>
[... |
namespace Sentry.Tests.Internals;
[UsesVerify]
public partial class MainExceptionProcessorTests
{
[Fact]
public Task CreateSentryException_Aggregate()
{
var sut = _fixture.GetSut();
var aggregateException = BuildAggregateException();
var sentryException = sut.CreateSentryExceptions... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Windows.Forms.VisualStyles;
namespace AeroSuite.Controls
{
/// <summary>
/// A LinkLabel whose colors fit the Windows style. It also... |
using System;
using System.Threading;
using System.Xml.Serialization;
using Framework.Core.Common;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Tests.Data.Van.Input;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
using Tests.Pages.Van.Main.Common;
namespace Tests.Pages.Van.Ma... |
using System;
using System.Collections.Generic;
using System.IO;
namespace Mono.Profiling
{
public class Header {
public const int LOG_HEADER_ID = 0x4D505A01;
public const int MAJOR = 0;
public const int MINOR = 4;
public const int LOG_DATA_VERSION = 11;
public int Magic { get; private set; }
public byte... |
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
using System;
public class SliderSelector : AbsSelector{
public BodyPartManager SelectablePart;
private Slider sl;
// Use this for initialization
void Awake ()
{
sl = GetComponent<Slider> ();
sl.minValue = 0;
sl.maxValue = SelectablePart... |
using Dapper.DBContext;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using EBS.Domain.Entity;
using EBS.Domain.ValueObject;
namespace EBS.Domain.Service
{
public class StocktakingService
{
IDBContext _db;
public StocktakingS... |
using Assets.Gamelogic.Core;
using Improbable.Unity;
using Improbable.Unity.Visualizer;
using UnityEngine;
namespace Assets.Gamelogic.Pirates.Behaviours.Creatures
{
// Enable this MonoBehaviour on UnityWorker (server-side) workers only
[WorkerType(WorkerPlatform.UnityWorker)]
public class CentralAttractio... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using TY.SPIMS.Client.Helper;
using TY.SPIMS.Controllers;
using TY.SPIMS.Entities;
using TY.SPIMS.POCOs;
using TY.SPIMS.Utilities;
namespace TY.SPIMS.Client.Payment
{
public partial class CreditDetailsForm : ComponentFac... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
namespace BrowserLauncher
{
class Program
{
static void Main(string[] args)
{
if (args.Length != 0)
{
string pa... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Cryptography
{
/// <summary>
/// https://www.twelve21.io/the-case-for-the-web-authentication-webauthn-protocol/
/// </summary>
public class WebAuthn
{
}
}
|
namespace CheckIt.Tests.CheckAssembly
{
using System.Linq;
using Xunit;
public class CheckNameTests
{
public CheckNameTests()
{
AssemblySetup.Initialize();
Check.SetBasePathSearch(@"..\..\..\");
}
[Fact]
public void Should_check_name_of... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace SoftwareAuthKeyLoader
{
internal class Settings
{
public static string ApplicationVersion { get; private set; }
... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using System.Web.Http.Description;
using HappyBall.Models;
namespace HappyBall.Controller... |
namespace GeneralResources.XUnitExample.SharingContext.DatabaseTesting
{
public class DatabaseExamples
{
/// <summary>
/// Connects to a SQL Server database called TestDatabase (You will need to pass in your own database name)
/// </summary>
/// <param name="FirstName"></param>
... |
using AbstractFactory2.Framework;
using System;
namespace AbstractFactory2
{
class Program
{
static void Main(string[] args)
{
var generator = new FactoryGenerator(DeviceType.HighLow);
var factory = generator.GetDeviceFactory();
var display = fa... |
using System.Collections.Generic;
namespace Mashup.Data.Model
{
public class RSSModel
{
public RSSModel()
{
this.RssItems = new List<RSSItemModel>();
}
public string RSSName { get; set; }
public string RSSDescription { get; set; }
public List<RSSI... |
using UnityEngine;
using System.Collections;
public class CharacterController2D : MonoBehaviour {
private bool isGrounded;
private bool isMoving;
public float walkSpeed = 2.0f;
public float jumpSpeed = 5.0f;
private const float COOLDOWN = 1.0f;
private float jumpCooldown;
private const float ROTATION_LIMIT = 3... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class ScoreNotificationUIScript : MonoBehaviour {
public static ScoreNotificationUIScript MainInstance = null;
public ScoreNotificationInstanceUIScript NotificationTemplate;
[Space]
public Color DriftColor;
publ... |
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.Service;
using PROnline.Models;
namespace PROnline.Controllers.Service
{
public class AppointmentMemberController : Controller
... |
using Microsoft.Practices.Prism.PubSubEvents;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace KinectSandbox.Common.Events
{
public class AdjustmentChangedEvent : PubSubEvent<AdjustmentChangedInformation>
{ }
public class Adjust... |
namespace _12_Self_Generic
{
public class Eating <T, TT>
where T: Product <T, TT>
where TT: Product<T, TT>
{
/// <summary>
/// Connon proiperties.
/// </summary>
public int Volume { get; private set; }
//public void Add(T product)
//{
/... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Data;
using System.Data.Linq;
using System.Linq;
using System.Web;
using System.Web.UI;
namespace DevExpress.Web.Demos {
using DevExpress.Web.Demos.Models;
using DevExpress.Web.A... |
using System;
using System.Collections.Generic;
using System.Text;
namespace FiiiChain.DTO.Transaction
{
public class SendRawTransactionInputsIM
{
public string TxId { get; set; }
public int Vout { get; set; }
}
public class SendRawTransactionOutputsIM
{
public string Add... |
using System;
using System.Collections.Generic;
namespace Challenges
{
/* Given a chocolate bar, two children, Lily and Ron, are determining how to share it. Each of the squares has an integer on it.
Lily decides to share a contiguous segment of the bar selected such that:
The length of the segment matches Ron's bi... |
using Android.Print;
using Java.IO;
namespace Welic.App.Droid.Implements.PDF
{
public class FilePrintDocumentAdapter : PrintDocumentAdapter
{
private readonly string _fileName;
private readonly string _filePath;
public FilePrintDocumentAdapter(string fileName, string filePath)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;
namespace NotebookAPI.Models
{
public class PersonContext : DbContext
{
public DbSet<Person> People { get; set; }
public System.Data.Entity.DbSet<NotebookAPI.Models.Contact> Contac... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace VandelayIndustries.ViewModels
{
public class AdminPost
{
public string SalesPersonCommissionDateRangeLow { get; set; }
public string SalesPersonCommissionDateRangeHigh { get; set; }
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace SQMS.Application.Views.Components
{
public partial class MapVideo : System.Web.UI.UserControl
{
private string externVideoUrl = "";
... |
using Teste_CRUD_CiaTecnica.Application.Interfaces;
using Teste_CRUD_CiaTecnica.Domain.Entities;
using Teste_CRUD_CiaTecnica.Domain.Interfaces.Services;
namespace Teste_CRUD_CiaTecnica.Application
{
public class PessoaAppService : AppServiceBase<Pessoa>, IPessoaAppService
{
private readonly IPessoaSer... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json.Serialization;
namespace CapCSharpEFLibrary.Models
{
public class OrderLine
{
public int Id { get; set; }
public int ProductId { get; set; }
public int OrderId { get; set; }
public int Qua... |
using System;
using System.Linq;
using DataAccessLayer.EfStructures.Context;
using Microsoft.EntityFrameworkCore;
using Xunit;
namespace DataAccessLayerTests.A_QueryingData.H_Async
{
public class AsynchronousTests : IDisposable
{
private readonly AdventureWorksContext _context;
public Asynchr... |
using System;
namespace ClassLibraryAandelen.exceptions
{
public class AandeelException : Exception
{
public AandeelException(string message) : base(message) { }
}
}
|
using Framework.Core.Common;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.PageObjects;
namespace Tests.Pages.Oberon.Common
{
public class DeleteConfirmationModal : DeleteConfirmationBase
{
#region Page Objects
public IWebElement YesDeleteLink { get { return _driver.FindElem... |
// <copyright file="MultiplyOperatorNode.cs" company="Jiangquan Li">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>
namespace ExpressionTreeEngine
{
/// <summary>
/// Minus Operator.
/// </summary>
public class MultiplyOperatorNode : OperatorNode
{
/// <summary>
... |
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
namespace HospitalSystem.Models.Mapping
{
public class examine_listMap : EntityTypeConfiguration<examine_list>
{
public examine_listMap()
{
// Primary Key
this.HasK... |
using Compiler.TreeStructure.MemberDeclarations;
namespace Compiler.TreeStructure
{
public static class BuiltInClasses
{
public static Class GenerateBoolean()
{
var className = new ClassName("Boolean");
var @class = new Class(className);
var equals = new Me... |
using Newtonsoft.Json;
namespace ReceptiAPI.DTO
{
public class GreskaDTO
{
[JsonProperty(PropertyName = "porukaGreske")]
public string PorukaGreske { get; set; }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MyHeroKill.Model
{
/// <summary>
/// 手牌
/// </summary>
public class Card
{
/// <summary>
/// 卡牌名称
/// </summary>
public string Name { get; s... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Shell : MonoBehaviour
{
public Vector2 minMaxForce;
Rigidbody m_rigid;
// Use this for initialization
void Start()
{
m_rigid = GetComponent<Rigidbody>();
float randomForce = Random.Range(minMaxForce.x,minMa... |
using Microsoft.AspNetCore.Razor.TagHelpers;
using System.Threading.Tasks;
namespace Wee.UI.Core.TagHelpers
{
[HtmlTargetElement("bootstrap-carousel-control")]
public class CarouselControlTagHelper : TagHelper
{
[HtmlAttributeName("type")]
public string CollapseCarouselType { get; set; }
[HtmlAttri... |
using System;
using FrontDesk.Core.Aggregates;
using PluralsightDdd.SharedKernel;
using Xunit;
namespace UnitTests.Core.AggregatesEntities.AppointmentTests
{
public class Appointment_Constructor
{
[Fact]
public void ConstructorCreatedAndIdAutoGenerated()
{
var scheduleId = Guid.NewGuid();
... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Aborted11
{
[TestClass]
public class UnitTest1
{
[TestMethod]
public void TestMethod1()
{
foo();
}
public void foo()
{
foo();
}
}
}
|
using LoongEgg.LoongLogger;
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 S... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace StateManagement
{
public partial class WebForm1 : System.Web.UI.Page
{
public HttpCookie myCookie;
protected void Page_Load(ob... |
using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
using TweetApp.Entities;
namespace TweetApp.DAL.Interfaces
{
public interface IUserRepository
{
public void Update(AppUser user);
public Task<Re... |
using System.ComponentModel.DataAnnotations;
using ApartmentApps.Portal.Controllers;
namespace ApartmentApps.Api.ViewModels
{
public class UserListModel : BaseViewModel
{
public string FirstName { get; set; }
public string LastName { get; set; }
public string UnitName { get; set; }
... |
using gView.Framework.Carto.UI;
using gView.Framework.UI.Symbology.Dialogs;
using System;
using System.ComponentModel;
using System.Drawing.Design;
using System.Windows.Forms;
namespace gView.Framework.Symbology.UI
{
internal class FileTypeEditor : UITypeEditor
{
public override UITypeEditorEditStyle ... |
using System;
namespace AspNetCoreGettingStarted.Features.Core
{
public class BaseRequest
{
public Guid TenantId { get; set; }
}
}
|
using System;
using System.IO;
using AmazonReloader;
using NUnit.Framework;
using System.Configuration;
namespace ConsoleApp2
{
class UnitTests
{
[Test]
public void CanOpenBrowser()
{
var clicker = new Clicker();
clicker.OpenAmazon();
}
[Test]
... |
#if NETFRAMEWORK
using Microsoft.Win32;
namespace Sentry.PlatformAbstractions;
internal static class RegistryKeyExtensions
{
public static string? GetString(this RegistryKey key, string value)
=> key.GetValue(value) as string;
public static int? GetInt(this RegistryKey key, string value)
=> (... |
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Linq;
namespace PostOffice
{
class Program
{
static void Main(string[] args)
{
List<string> input = Console.ReadLine().Split("|").ToList();
string first = input[0];
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class PlayerControl : MonoBehaviour
{
public float speed;
public float power;
public int hp;
public int score = 0;
Vector2 curPos, nextPos;
bool isUpTouch;
bool isDownTouch;
b... |
using UnityEditor;
using UnityAtoms.Editor;
using UnityAtoms.MonoHooks;
namespace UnityAtoms.MonoHooks.Editor
{
/// <summary>
/// Variable Inspector of type `ColliderGameObject`. Inherits from `AtomVariableEditor`
/// </summary>
[CustomEditor(typeof(ColliderGameObjectVariable))]
public sealed class... |
/*******************************************************************************
(c) 2005-2014 Copyright, Real-Time Innovations, Inc. All rights reserved.
RTI grants Licensee a license to use, modify, compile, and create derivative
works of the Software. Licensee has the right to distribute object form only
for u... |
using System.Collections.Generic;
using System.Linq;
using GraphQL.Domain.Entities;
using GraphQL.Domain.Interfaces.Repository;
using GraphQL.Infra.Data.Context;
namespace GraphQL.Infra.Data.Repository
{
public class AuthorRepository : IAuthorRepository
{
private readonly AppDbContext _context;
... |
using System.Collections.Generic;
using Lanches.Web.Models;
namespace Lanches.Web.Repositories
{
public interface ILancheRepository
{
IEnumerable<Lanche> Lanches { get; }
IEnumerable<Lanche> LanchesPreferidos { get; }
Lanche GetLancheById(int id);
}
} |
using UnityEngine;
using System.Collections;
public class PlayButtonClickSound : MonoBehaviour {
DistortForEffect distortForEffect;
void Awake() {
distortForEffect = GetComponent<DistortForEffect> ();
}
public void Play() {
SFXPlayer.instance.Play (SFXPlayer.SFXType.BUTTON_CLICK);
if (distortForEffect !=... |
using Efa.Application.ViewModels;
using System;
using System.Collections.Generic;
namespace Efa.Application.Interfaces
{
public interface ITurmaAppService
{
TurmaViewModel GetById(Guid id);
IEnumerable<TurmaViewModel> GetAll(int skip, int take);
void Update(TurmaViewModel turmaViewM... |
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Condition of type `Color`. Inherits from `AtomCondition<Color>`.
/// </summary>
[EditorIcon("atom-icon-teal")]
public abstract class ColorCondition : AtomCondition<Color> { }
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MvcFileUploader;
using MvcFileUploader.Models;
namespace MvcFileUpload.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
return View... |
using Xamarin.Forms;
namespace AsNum.XFControls {
internal static class RepeaterContainerFactory {
public static RepeaterContainerBase Get(RepeaterOrientation orientation) {
switch (orientation) {
case RepeaterOrientation.Horizontal:
return new HorizontalRep... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SkillLight : MonoBehaviour
{
public GameObject skillLight;
private GameObject playerLight;
private GameObject player;
public EnemyControl tracingEnemy;
Gauge gauge;
Vector3 pos;
Quaternion rot;
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CitizenFX.Core;
using static CitizenFX.Core.Native.API;
using CitizenFX.Core.UI;
using NativeUI;
namespace GTAOnline_FiveM {
class ConvenienceStore : BaseScript {
List<Vector3> blipCoo... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CampfireScript : MonoBehaviour
{
[HideInInspector] public Transform myTransform;
[HideInInspector] public GameObject myGameObject;
void Start ()
{
myTransform = transform;
myGameObject = gameOb... |
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;
//using System.IO;
//using DocumentFormat.OpenXml.Packaging;
//using DocumentFormat.OpenXml.Wordprocessing;
//using DocumentFormat.OpenXml;
//using V = DocumentFormat.OpenXml.Vml;
//using OVML = DocumentFormat.OpenXml.Vml.Of... |
namespace _03._SeriesOfLetters
{
using System;
using System.Text.RegularExpressions;
public class Startup
{
public static void Main()
{
string input = Console.ReadLine();
string pattern = @"([A-z])\1+";
input = Regex.Replace(input, pattern, s => s.Gr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DesignPatternsConsole.ExamplesFromInternet.AvengersSimulatorHeuristic
{
/// <summary>
/// https://github.com/gabrielschade/algorithms/tree/master/AvengersSimulatorHeuristic
/// </summary>
public class PlayA... |
using ScriptableObjectFramework.Events.UnityEvents;
namespace ScriptableObjectFramework.Events
{
public class FloatEventHandler: BaseEventHandler<float, FloatEvent, FloatUnityEvent>{}
} |
using System;
namespace Hospital
{
public class DrugCount
{
public Presc presc;
public Drug drug;
public int count;
public DrugCount() { }
public DrugCount(Presc presc, Drug drug, int count)
{
this.presc = presc;
this.drug ... |
using System.Collections.Generic;
using System.Threading.Tasks;
using AtendimentoProntoSocorro.Models;
namespace AtendimentoProntoSocorro.Repositories
{
public interface IPacienteRepository
{
Task<Paciente> GetPaciente(long cpf);
Task<IEnumerable<Paciente>> ListaPaciente(string nome);
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SeMo.Extensions
{
public static class ByteExtensions
{
public static string ToBase64String(this byte[] bytes)
{
return Convert.ToBase64String(bytes);
... |
/***********************************************************************
* Module: DrugType.cs
* Author: Dragana Carapic
* Purpose: Definition of the Class Manager.DrugType
***********************************************************************/
using System.ComponentModel.DataAnnotations.Schema;
namespace Mode... |
namespace TomsToolbox.Wpf.Composition
{
using System;
using System.Diagnostics.Contracts;
using System.Windows;
using JetBrains.Annotations;
/// <summary>
/// Meta data for exported visuals.
/// </summary>
[ContractClass(typeof(DataTemplateMetadataContract))]
public in... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
namespace ChargeIO
{
public class TransactionSignature
{
[JsonProperty("id")]
public string Id { get; set; }
[JsonProperty("created")]
public DateTime Created { get; se... |
using System;
using GameSparks.RT;
using UnityEngine;
namespace NetworkFramework.Data
{
public class NetworkPackage
{
#region vatiables
private RTData _data;
private GameSparksRT.DeliveryIntent _deliveryIntent;
private uint _indexer =... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.