text stringlengths 13 6.01M |
|---|
using System.Collections.Generic;
using Tomelt.ContentManagement;
using Tomelt.DisplayManagement.Implementation;
using Tomelt.Templates.Models;
namespace Tomelt.Templates.Services {
public interface ITemplateService : IDependency {
string Execute<TModel>(string template, string name, string processorName,... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class updateNumbersScript : MonoBehaviour {
public Sprite Zero;
public Sprite One;
public Sprite Two;
public Sprite Three;
public Sprite Four;
public Sprite Five;
LevelManagerScript manager;
// Use thi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using chat.Models;
namespace chat.Sources.Startup
{
public static class Seed
{
public static void Genders()
{
try
{
using(DataContext Context = new DataC... |
using Framework.Core.Common;
using OpenQA.Selenium;
namespace Tests.Pages.Van.Main.TerryBoxes
{
public abstract class TerryBox
{
protected readonly Driver _driver;
public abstract By RemoveFieldLocator { get; }
public abstract By RemoveButtonLocator { get; }
public ... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using OpenQA.Selenium;
using OpenQA.Selenium.Support.UI;
namespace ToolsQaStoreProject
{
public static class ExtensionMethods
{
public static IWebE... |
using DemoCode.Models;
namespace DemoCode.Services
{
public interface IToolTipService
{
string GetToolTipFolderPath(string applicationPathRoot, string languge, params string[] toolTipKey);
ToolTip GetToolTip(string applicationUrlRoot, string applicationPathRoot, string toolTipFolder);
}
} |
using System;
namespace AutoTests.Framework.Core.Exceptions
{
public class ClassConstraintException : ConstraintException
{
public ClassConstraintException(Type type, string format)
: base(string.Format(format, type.Name))
{
}
}
} |
using System.Collections;
using UnityEngine;
public class Monster : MonoBehaviour
{
private GameObject _monster_Dead;
// Use this for initialization
void Start()
{
_monster_Dead = (GameObject)StaticParameter.LoadObject("Other", "MonsterDead");
}
public void OnTriggerEnter(Collider ot... |
namespace _11.LogsAggregator
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class LogsAggregator
{
public static void Main()
{
Dictionary<string, Dictionary<string, uint>> usersLogs = new Dictionary<string, Dictionary<... |
namespace CalendarSystem
{
using System;
using System.Globalization;
using System.Linq;
using System.Text;
public class CommandProcessor
{
private readonly IEventsManager eventsManager;
public CommandProcessor(IEventsManager eventsManager)
{
this.eventsMa... |
using Backend.Model.Users;
using Backend.Repository.DoctorSpecialtyRepository;
using System.Collections.Generic;
namespace Backend.Service.UsersAndWorkingTime
{
public class DoctorSpecialtyService : IDoctorSpecialtyService
{
private readonly IDoctorSpecialtyRepository _doctorSpecialtyRepository;
... |
// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright (c) Microsoft Corporation. All rights reserved
using System;
using System... |
public class Solution {
public string FractionToDecimal(int numerator, int denominator) {
bool isPositive = (numerator >= 0 && denominator >= 0) || (numerator <= 0 && denominator <= 0);
StringBuilder sb = new StringBuilder();
var mem = new Dictionary<long, int>();
string memStr = "";... |
using System.Threading.Tasks;
using FluentAssertions;
using NUnit.Framework;
namespace Beeffective.Tests.Data.CellRepositoryTests
{
class LoadAsync : TestFixture
{
public override void SetUp()
{
base.SetUp();
Sut.Add(CellEntity1);
}
[Test]
publi... |
using Acr.UserDialogs;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Yaringa.Services {
public class DialogService : IDialogService {
public Task ShowAlertAsync(string message, string title, string buttonLabel) {
return UserDialogs.Instance.AlertAsync(message, ... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
using CoreGraphics;
using Foundation;
using ResidentAppCross.Resources;
using UIKit;
namespace ResidentAppCross.iOS.Views
{
public class HomeMenuTableSource : UITableViewSource
{
public HomeMenuItemViewModel[] It... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace web_ioc.Models
{
interface ISessionBasesClass
{
ISessionModel Session {get;set;}
}
}
|
using RSS.Business.Models;
using System;
using System.Threading.Tasks;
namespace RSS.Business.Interfaces
{
public interface ISupplierService : IDisposable
{
Task AddSupplier(Supplier supplier);
Task UpdateSupplier(Supplier supplier);
Task RemoveSupplier(Guid id);
Task UpdateSup... |
namespace TemplateTest
{
using Moq;
using Template;
using Xunit;
using Xunit.Extensions;
public class BracketNotCorrespondingTest
{
[Theory]
[InlineData("only one [%open bracket")]
[InlineData("only one %]close bracket")]
[InlineData("open brackeet %]after [% ... |
using Microsoft.EntityFrameworkCore;
using WerkWerk.Data;
namespace WerkWerk.Test.Model
{
public class TestContext : DbContext
{
public DbSet<Job> Jobs { get; set; }
public TestContext(DbContextOptions<TestContext> options) : base(options) { }
protected override void OnModelCreating(M... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Win32;
namespace IRAP.UFMPS.Library
{
public class TTaskInfo: System.Object
{
public TTaskInfo(string regKeyItem, TObjectCreateType objCreateType)
{
createTy... |
using System.Collections.Generic;
using System.Drawing;
using GTA;
namespace CodenameMaffia
{
public class StatusMenu
{
private SaveData saveData;
private Point mainPos;
private Rectangle background;
private Label family;
private Label status;
private ProgressBa... |
using System;
namespace ClassLibraryAandelen.exceptions
{
public class DuplicateEigenaarException : Exception
{
public DuplicateEigenaarException(string message) : base(message) { }
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DAL
{
public class ProfileDto
{
public int Id { get; set; }
public string FIO { get; set; }
public string DriverLicence { get; set; }
public string Osag... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MainMenu : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
public void OnChangeScene(string sceneName... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CameraController : MonoBehaviour {
public Transform target;
public float distance;
public float height;
private Transform cameraTransform;
public float sensHorizontal = 10.0f; //Camera movement Sens... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BugunNeYesem.Data.Entity;
namespace BugunNeYesem.Data.Repository
{
public class RecommendationRepository : Repository<Recommendation>
{
public RecommendationRepository(BugunNeYese... |
using FeedbackAndSurveyService.SurveyService.Model;
namespace FeedbackAndSurveyService.SurveyService.Repository
{
public interface IDoctorSurveyReportGeneratorRepository
{
SurveyReportGenerator Get(string id);
}
}
|
namespace MineGame
{
internal class Constants
{
public static float Zoom = 2f;
public static int TileSize = 16;
public static int ScreenWidth = 1000;
public static int ScreenHeight = 600;
}
} |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace DAL.Models
{
public class Rating
{
[Key, Column(Order = 0)]
public Guid MovieId { get; set; }
[Key, Column(Order = 1)]
public string UserId { get; s... |
using System;
using System.Collections.Generic;
using System.Linq;
using AdminWebsite.Extensions;
using BookingsApi.Contract.Responses;
using NotificationApi.Contract;
using NotificationApi.Contract.Requests;
namespace AdminWebsite.Mappers
{
public static class AddNotificationRequestMapper
{
private c... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SoldierMovementControllerSinglePlayer : MonoBehaviour
{
bool isDead = false;
float moveSpeedPlayer;
float moveSpeedBot;
float soldierHealth;
float soldierRange;
float soldierDamage;
GameObject game... |
using System;
class BinaryToDecimalNumber
{
static void Main()
{
Console.WriteLine("Infinite loop. If you want to stop, pres CTRL+C !!!");
while (true)
{
string sN;
Console.Write("Enter a binary number : ");
sN = Console.ReadLine();
int i... |
using System;
using UnityEngine;
public static class RectTransformExtensions {
/// <summary>
/// Set the scale to 1,1,1
/// </summary>
public static void SetDefaultScale(this RectTransform trans) {
trans.localScale = new Vector3(1, 1, 1);
}
/// <summary>
/// Set the point in which... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace dc_demo_api.Models
{
public partial class Asset
{
public Asset()
{
AssetVariants = new HashSet<AssetVariant>();
Met... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Client.Features.Jobs;
using Client.Features.Jobs.Models;
using New... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.Graphics.Drawables;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using CoolBreeze.CustomRenderer;
using CoolBreeze.Droid.CustomButton_And... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Inventory.Models;
namespace Inventory.Services
{
public interface IDishRecommendService
{
Task<IList<DishRecommendModel>> GetDishRecommendsAsync(Guid dishGuid);
Task<IList<OrderRecommendModel>> GetOrderRecomme... |
using FluentAssertions;
using NumberToWordsService.WCF.Resources;
using NUnit.Framework;
namespace NumberToWordsService.WCF.UnitTests
{
[TestFixture]
public class NumberIsConvertedToWordsCorrectly
{
private IntToWordsConverter systemUnderTest;
[SetUp]
public void Setup()
{... |
using Photon.Pun;
using Source.Code.Environment.Missle;
using Source.Code.Utils;
using System;
using System.Collections;
using UnityEngine;
namespace Source.Code.Units.Components
{
[DisallowMultipleComponent]
public class AttackComponent : MonoBehaviour
{
[Header("Main Attack Settigns")]
[... |
using System.Windows.Media;
using TRPO_labe_3.Utilities;
namespace TRPO_labe_3.Interfaces
{
public interface IFigure
{
FigureType Type { get; set; }
Color Color { get; set; }
bool IsFigureBig { get; set; }
}
}
|
using UnityEngine;
using System.Collections;
using System.Runtime.InteropServices;
public class VAAdUnityRewardedVideo : MonoBehaviour {
// connect with objc code
[DllImport("__Internal")]
private static extern void _startWithPlacement(string placement, bool testMode, string apiKey);
[DllImport("__Internal")]
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;
using iTextSharp.text;
using iTextSharp.text.html.simpleparser;
using iTextSharp.text.pdf;
using System.IO;
using System.Text;
using... |
using ServiciosWeb.Datos.Modelo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace WebServiceApiBiblioteca.Controllers
{
public class RegistroController : ApiController
{
ROYER_PRUEBASEntities BD = new ROYER_PR... |
#define Unity0
using Autofac;
using Autofac.Integration.Mvc;
using Com.Colin.BusinessLayer;
using System;
using System.Reflection;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace Com.Colin.UI
{
// Note: For instructions on enabling IIS6 or IIS7 classic m... |
using MovieWebSite.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace MovieWebSite.Repositories
{
public class GenericRepository<T> where T : class, new()
{
Context context = new Context();
public ... |
namespace FamilyAccounting.BL.DTO
{
public enum TransactionTypeDTO
{
Income,
Transfer,
Expense,
Initial
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Player : MonoBehaviour
{
[Header("Inventories")]
public InventoryObject inventory;
public InventoryObject equipment;
[Header("Canvas")]
public Image inventoryCanvas;
public Image ... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace BanSupport
{
//仅用于编辑器模式下
public partial class ScrollSystem
{
#if UNITY_EDITOR
private int _startCorner = int.MinValue;
private int _clipType = 0;
private Vector2 _size = Vector2.zer... |
using System;
using System.Collections;
using System.Linq;
namespace csharp
{
class Problem015
{
public static void Main (string[] args)
{
var n = 21; // grid 20x20 is 21x21 points
var matrix = new long[n][];
for (var i = 0; i < matrix.Length; i++) {
matrix [i] = new long[n];
}
for (var... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//**********************************************************************
//
// 文件名称(File Name):AddNodeRequest.CS
// 功能描述(Description):
// 作者(Author):Aministrator
/... |
using System;
using System.Linq;
using OAuth2.Configuration;
using System.Runtime.InteropServices;
using RGiesecke.DllExport;
using System.Text;
using System.Collections.Specialized;
using System.Windows.Forms;
using OAuth2.Client;
using OpenApiLibrary.Json;
using OpenApiLib.Json.Models;
using System.Reflection;
using... |
using UnityEngine;
using System.Collections;
public class LevFiveBossWave : Wave {
int desperation;
int ability;
int activeRed;
int beamStartup;
int waves;
int offset;
int projectileSpreadAngle;
int angleBetweenProjectiles;
int leftRight;
int pattern;
string lastColor;
float radToDeg;
GameObject bossRed;... |
using System;
using System.Collections.Generic;
using System.IO;
using thelistparser.Types;
namespace thelistparser {
class Program {
public static String imdbcachelocation;
public static Boolean ReparseAll = false;
static void Main(string[] args) {
// If an argumen... |
using BlogSystem.UI.Framework.Models;
using BlogSystem.UI.Framework.Wrappers;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace BlogSystem.UI.Controllers
{
public class BlogController : Controller
{
//gateway URL
pr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DTO
{
public class TestDTO
{
public int Tests_Code { get; set; }
public string Tests_Name { get; set; }
public Nullable<int> Code_Subjects_For_Classes { get; set... |
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 campo de variable
/// </summary>
/// <remarks>
/// Creaci... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UnityStandardAssets.CrossPlatformInput
{
public class WeaponTable : MonoBehaviour
{
public Canvas player_canvas;
public Canvas playerCamera_canvas;
public Canvas weaponShop_canvas;
/... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FluentValidation;
using FluentValidation.Results;
namespace EBS.Application.DTO
{
public class LoginModel
{
public string UserName { get; set; }
public string Password { get; ... |
namespace Custom_Min_Function
{
using System;
using System.Linq;
public class Startup
{
public static void Main(string[] args)
{
Execute();
}
private static void Execute()
{
Func<int[], int> min = n => n.Min();
Func<string, i... |
using System;
using System.Collections.Generic;
namespace ScheduleService.Model.DomainServices
{
public class ExaminationGeneratorDTO
{
public Patient Patient { get; }
public Doctor Doctor { get; }
public IEnumerable<Room> Rooms { get; }
public DateTime StartDate { get; }
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BuyToolsController : Controller
{
public override void Execute(object data)
{
BuyToolsArgs e = data as BuyToolsArgs;
UIBuyTools tool = MVC.GetView<UIBuyTools>();
GameModel gm = Gam... |
using System;
using UnityEngine;
using UnityEngine.UI;
public class TimerUI : MonoBehaviour
{
[Header("Стартовые данные")]
public bool isTick;
public bool isRunDown;
[Header("Связывающие объекты")]
[SerializeField] Text timerText;
float _time;
int _minuts;
int _sec;
int _millisec... |
// Copyright (c) 2018 FiiiLab Technology Ltd
// Distributed under the MIT software license, see the accompanying
// file LICENSE or or http://www.opensource.org/licenses/mit-license.php.
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Configuration.Json;
using Microsoft.Extensions.DependencyInjec... |
namespace Docller.Core.Services
{
public enum DownloadStatus
{
DownloadCanceled = StorageServiceStatus.DownloadCanceled,
DownloadCompleted = StorageServiceStatus.DownloadComplete
}
} |
using UnityEngine;
using UnityEngine.SceneManagement;
public class EscenaActual : MonoBehaviour
{
// Use this for initialization
void Start ()
{
if (GameObject.FindGameObjectsWithTag ("IndicadorEscena").Length >= 2) {
Destroy (GameObject.FindGameObjectsWithTag ("IndicadorEscena") [0]);
} else {
DontDest... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UseFul.ClientApi.Dtos
{
public class EmpresaDto
{
public int IdEmpresa { get; set; }
public string RazaoSocial { get; set; }
public string Cnpj { get; set; }
... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using CoinCombinationsApp;
using System;
namespace CoinCombinationsApp.Tests
{
[TestClass]
public class CoinCombinationsTest
{
[TestMethod]
public void CoinsCombinator_50_quarters2()
{
Dictionary<str... |
using System;
using System.Security.Permissions;
using Microsoft.SharePoint;
using Microsoft.SharePoint.Utilities;
using Microsoft.SharePoint.Workflow;
using BELCORP.GestorDocumental.BE.DDP;
using BELCORP.GestorDocumental.BL.DDP;
using BELCORP.GestorDocumental.Common;
using BELCORP.GestorDocumental.Common.Excepcion;
u... |
using UnityEngine;
public interface IFollowScript {
void SetFollowTarget(Transform target);
}
public class GenericFollowPositionScript : MonoBehaviour, IFollowScript {
public Transform Target;
private Vector3 initPos;
public bool AllowBuffer = false;
public Vector3 Buffer;
private void Start() {
initPos ... |
using Com.Colin.UI.ExtensionMethods;
using Com.Colin.UI.Models;
using System;
using System.Collections.Generic;
using System.Web.Mvc;
namespace Com.Colin.UI.Controllers
{
public class HelperMethodsController : Controller
{
// GET: HelperMethods
public ActionResult Index()
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AMIS
{
class Program
{
public static void lire(ref int n,ref int m)
{
do
{
Console.WriteLine("Donnez un entier stri... |
using UnityEngine;
using System.Collections;
// using System.Reflection;
using UnityEngine.UI;
using UnityEngine.EventSystems;
using TMPro;
using DG.Tweening;
public class ActionsViewController : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler//, IPointerClickHandler,
{
// public Slider slider;
private Game... |
using System;
using Phenix.Core.Dictionary;
using Phenix.Core.Security;
using Phenix.Core.Windows;
using Phenix.Security.Business;
namespace Phenix.Security.Windows.PositionManage
{
public partial class PositionManageForm : Phenix.Core.Windows.BaseForm
{
public PositionManageForm()
{
InitializeCompo... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public enum Direction
{
left,right,up,down
}
public class InputManager : MonoBehaviour {
// Singleton //
public static InputManager instance { get; protected set;}
void Awake () {
if (instance == null) {
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using com.Sconit.Entity.ORD;
using com.Sconit.Entity.CUST;
namespace com.Sconit.Service
{
public interface IVehicleInFactoryMgrImpl
{
void AddVehicleInFactory(string ipNo, IList<VehicleInFactoryDetail> vehicleInFact... |
using eCommerceSE.Cliente;
using eCommerceSE.Model;
using System;
using System.Configuration;
using System.Web.UI;
namespace Enviosbase.Cliente
{
public partial class ClienteEdit : System.Web.UI.Page
{
string llave = ConfigurationManager.AppSettings["Usuario"].ToString();
protected void Page... |
using Castle.Components.DictionaryAdapter;
using DomainEvents.MediatRExample1;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using System.Xml.Linq;
using stat... |
using Cs_Gerencial.Dominio.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cs_Gerencial.Infra.Data.EntityConfig
{
public class Ta... |
using System;
namespace Visitor
{
class Program
{
static void Main(string[] args)
{
var userProfile = new UserProfile();
userProfile.AddNotificationPreference(new EmailNotification("abc@gmail.com"));
userProfile.AddNotificationPreference(new SmsNot... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Mvc_Web_App.Models;
using Kendo.Mvc.UI;
using Kendo.Mvc.Extensions;
namespace Mvc_Web_App.Controllers
{
public class NewsListingController : Controller
{
//
// GET: /NewsListing/
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Btf.Data.Model.Base
{
/**
* Define base entity interface
* Common fields are included in this interface
* */
public interface IEntity
{
int Id { get; set; }
int CreatedBy { get; set; }
int ... |
/*
* Company:
* Motto: Talk more to loved ones!
* Assignment: A book shelf application
* Deadline: 2012-01-02
* Programmer: Baran Topal
* Solution name: .BookShelfWeb
* Project name: .BookShelfWeb
* File name: UserPanel.aspx.cs
* Status: Finished
*
*/
using System;
using System.Collections.Generic;
usi... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace api_client_generator.Models
{
public class TypescriptTypeConverter : ITypeConverter
{
public string Convert(Type type)
{
... |
using System.Web.Http;
using PersonInfo.Model;
using System;
namespace PersonInfo.ProcessDetailsApi.Controllers
{
public class ProcessPersonalDetailsController : ApiController
{
static string[] words0 = { "", "One ", "Two ", "Three ", "Four ", "Five ", "Six ", "Seven ", "Eight ", "Nine " };
sta... |
using Harmony;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using StardewValley;
using StardewValley.Locations;
using StardewValley.Menus;
using StardewValley.Network;
using StardewValley.Tools;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Sys... |
namespace Properties.Core.Objects
{
public class AffectedProperty
{
public int AffectedPropertyId { get; set; }
public string PropertyReference { get; set; }
public AdvertiseResult AdvertiseResult { get; set; }
public AffectedProperty()
{
AffectedPropertyId ... |
using ServiceCenter.Helpers;
namespace ServiceCenter.ViewModel.Dialog
{
class InputDialogViewModel : BaseViewModel
{
private string _name;
public string Name { get => _name; set => Set(ref _name, value); }
public string Caption { get; }
public string Hint { get; }
publ... |
using System;
namespace Aquamonix.Mobile.Lib.Extensions
{
/// <summary>
/// Extension methods for System.String.
/// </summary>
public static class StringExtensions
{
public static string SubstringIfLonger(this string s, int length)
{
if (s == null)
return null;
if (s.Length > length)
r... |
using System.Collections.Generic;
using System.Linq;
using SelectionCommittee.BLL.DataTransferObject;
using SelectionCommittee.BLL.Interfaces;
using SelectionCommittee.DAL.Entities;
using SelectionCommittee.DAL.Interfaces;
namespace SelectionCommittee.BLL.Services
{
public class CityService : ICityService
{
... |
using System;
using System.Reflection;
namespace DDMedi
{
public static class SuppliersExtensions
{
public static DDMediCollection AddSupplier<TSupplier>(this DDMediCollection ddCollection, SupplierLifetime lifetime = SupplierLifetime.Scoped) where TSupplier : ISupplier
{
ddCollect... |
using Alabo.App.Asset.Recharges.Domain.Entities;
using Alabo.App.Asset.Recharges.Domain.Services;
using Alabo.Framework.Core.WebApis.Controller;
using Alabo.Framework.Core.WebApis.Filter;
using Microsoft.AspNetCore.Mvc;
namespace Alabo.App.Asset.Recharges.Domain.Controllers
{
[ApiExceptionFilter]
[Route("Api/R... |
//
// Copyright (c) Autodesk, Inc. All rights reserved.
//
// This computer source code and related instructions and comments are the
// unpublished confidential and proprietary information of Autodesk, Inc.
// and are protected under Federal copyright and state trade secret law.
// They may not be disclosed to, copi... |
using System.Web.Mvc;
using DevExpress.Web.Mvc;
namespace DevExpress.Web.Demos {
public partial class CommonController: DemoController {
[HttpGet]
public ActionResult UnobtrusiveValidation() {
return DemoView("UnobtrusiveValidation", new UnobtrusiveValidationData());
}
... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using ILogging;
using ServiceDeskSVC.DataAccess.Models;
using ServiceDeskSVC.DataAccess.UserRefresh;
namespace ServiceDeskSVC.Data... |
using System;
using System.Diagnostics;
using System.Threading.Tasks;
using Android.App;
using Android.Bluetooth;
using Android.Content;
using Android.Content.PM;
using Android.Gms.Common;
using Android.Gms.Maps;
using Android.Runtime;
using Android.Util;
using ApartmentApps.Client;
using ApartmentApps.Client.Models;
u... |
using System;
using UnityEngine;
public class Tip : MonoBehaviour
{
[SerializeField] private SphereCollider tipCollider;
public SphereCollider TipCollider
{
get
{
if (tipCollider == null)
{
tipCollider = GetComponent<SphereCollider>();
... |
#region License
// Copyright (c) 2012 Trafficspaces Inc.
//
// 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, ... |
using System.Configuration;
namespace Belatrix.JobLogger.Configuration
{
public interface IJobLoggerConfigurationSection
{
SeverityLevelConfiguration SeverityLevelConfiguration { get; set; }
LogTargetConfiguration LogTargetConfiguration { get; set; }
}
public class JobLogger... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Arch.Data.Test.OtherTest.MyRightManageDesign.Privilege;
using Arch.Data.Test.OtherTest.MyRightManageDesign.RightManagers.Model;
namespace Arch.Data.Test.OtherTest.MyRightManageDesign
{
public class RightManager : IRightMan... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.