text stringlengths 13 6.01M |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Media.Imaging;
namespace PhotoFrame.Common
{
public interface IImageSource
{
Task<BitmapImage> NextImage();
}
}
|
namespace CheckIt.Compilation
{
using Microsoft.CodeAnalysis;
public interface ICompilationDocument
{
SyntaxTree SyntaxTree { get; }
string Name { get; }
string FullName { get; }
Compilation Compile { get; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
namespace KartObjects
{
[Serializable]
public class Warehouse:SimpleDbEntity
{
[DBIgnoreReadParam]
[DBIgnoreAutoGenerateParam]
public override string FriendlyN... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace WebApplication2.Model.人员管理
{
/// <summary>
/// modifyPasswordSubmit 的摘要说明
/// </summary>
public class modifyPasswordSubmit : IHttpHandler
{
public void ProcessRequest(HttpContext context)
... |
using System.Xml.Linq;
namespace iSukces.Code.VsSolutions
{
public abstract class VsProjectFile : XmlWrapper
{
public VsProjectFile(XDocument document) : base(document)
{
}
public static VsProjectFile FromFile(string file)
{
var doc = XDocument.Load(file);
... |
using UnityEngine;
using System.Collections;
public class BirdController : MonoBehaviour {
public GameObject pipeCollider;
public float boost = 20f;
public float forwardMovement = 2f;
public int upAngle=45, downAngle=280; //-80 degrees
public Vector3 startingPosition = Vector3.up*5.0f;
[Range (-90,90)] publi... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace MVC4_DavaValidation.Models
{
public class User
{
[DataType(DataType.Text)]
[StringLength(30, MinimumLength = 6)]
[Required]
... |
using BDTest.Maps;
using BDTest.Test;
namespace BDTest.NetCore.Razor.ReportMiddleware.Extensions;
public class OutputMetrics
{
public OutputMetrics(BDTestOutputModel bdTestOutputModel)
{
if (bdTestOutputModel == null)
{
return;
}
foreach (var scenario i... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;
namespace Merge_sort
{
class Program
{
static int[] Merge_Sort(int[] massiv)
{
if (massiv.Length == 1)
return massiv;
int mid_po... |
using Harmony;
using System;
namespace Submarines.Content.Beacon
{
[HarmonyPatch(typeof(SpriteManager))]
[HarmonyPatch("Get")]
[HarmonyPatch(new Type[] { typeof(SpriteManager.Group), typeof(string) })]
public class SpriteManagerGetPatch
{
private static bool Prefix(SpriteManager.Group grou... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MongoDB.Bson;
using MongoDB.Driver;
//using MongoDB.Driver.Builders;
namespace DbAdvFinal
{
//컨테이너
using BabyList = List<BabyNameInfo>;
//아기 이름 정보 구조체
class BabyNameInfo
{
... |
namespace OPyke.ZopaTest.LoanProcessor.Model
{
public class LoanRequest
{
public LoanRequest(string filePath, uint loanAmount)
{
FilePath = filePath;
LoanAmount = loanAmount;
}
public string FilePath { get; private set; }
public uint LoanAmount {... |
using System;
using System.IO;
namespace Com.Colin.UI
{
public class FileLogger
{
public void LogException(Exception e)
{
File.WriteAllLines(DateTime.Now.ToString("yyyy-MM-dd") + ".txt",
new string[]
{
"Message:"+e.Message,
... |
using Juicy.WindowsService;
using SampleService.Tasks;
[assembly: log4net.Config.XmlConfigurator(Watch = true)]
namespace SampleService
{
class Program
{
static void Main(string[] args)
{
if (!SelfInstaller.ProcessInstallationRequest(args))
{
MyAppService svc = new MyAppService();
... |
using System.ComponentModel.DataAnnotations.Schema;
using Alabo.Domains.Entities;
using Alabo.Domains.Enums;
using Alabo.Web.Mvc.Attributes;
using MongoDB.Bson.Serialization.Attributes;
namespace Alabo.Industry.Offline.RechargeAccount.Entities
{
[BsonIgnoreExtraElements]
[Table("RechargeAccountLog")]
[Cla... |
using System;
using System.Collections.Generic;
using System.Text;
namespace RecursiveLab
{
internal class PermutationString
{
internal string[] Permute(string beginningString, string endingString)
{
if (endingString.Length <= 1)
return CombineStringToArray(beginnin... |
using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Threading.Tasks;
using Capstone.Web.Models;
namespace Capstone.Web.DAL
{
public class WeatherDAL : IWeatherDAL
{
private readonly string connectionString;
public WeatherDAL(string connectionString)
{
... |
using System;
using System.Collections.Generic;
using UnityEngine;
class GameOverProcess : UniProcessModalEvent
{
public override ModalProcessType processType { get { return ModalProcessType.Process_GameOver; } }
public GameOverProcess()
: base()
{
}
//倒计时是否播完
public bool IsContinue... |
using System.Collections.Generic;
using SimpleParser;
namespace ProgramTree
{
public class FuncList
{
private Dictionary<string, FuncDefNode> functions;
public FuncList() => functions = new Dictionary<string, FuncDefNode>();
public void Add(string name, FuncDefNode func) => functions[... |
// Code generated by Microsoft (R) AutoRest Code Generator 0.9.7.0
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
using System;
using System.Linq;
using ApartmentApps.Client;
using Microsoft.Rest;
namespace ApartmentApps.Client
{
public partial interface IApartmentAppsAPISer... |
using System;
using System.Windows.Data;
using System.Globalization;
using MyConferenceCalls.Resources;
namespace MyConferenceCalls.Converters
{
public class OrganizerConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
... |
using HCBot.Runner.Menu;
using HCBot.Runner.States;
using System;
using System.Collections.Generic;
using System.Text;
using Telegram.Bot;
using Telegram.Bot.Types;
using Telegram.Bot.Types.ReplyMarkups;
namespace HCBot.Runner.Commands
{
public class StartCommand : CommandBase, ICommand
{
public void ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using JetBrains.Annotations;
namespace Thinktecture.Extensions.Configuration.Legacy
{
/// <summary>
/// Removes all values from configuration with a specific prefix.
/// </summary>
public class RemovingPreviousV... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Text.RegularExpressions;
using CAPCO.Infrastructure.Domain;
using System.Web.Mvc;
namespace CAPCO.Helpers
{
public static class StringExtensions
{
public static bool Like(this string value, st... |
using Orleans.Storage;
namespace Orleans.Persistence
{
/// <summary>
/// Redis grain storage options.
/// </summary>
public class RedisStorageOptions : IStorageProviderSerializerOptions
{
/// <summary>
/// The connection string.
/// </summary>
public string Connecti... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TextToHTML.ModelBuilders
{
public class RawChunkBuilder
{
public static void Add(RawChunk chunk, string line)
{
chunk.Lines.Add(line);
}
pu... |
using System.ComponentModel.DataAnnotations.Schema;
namespace GradConnect.Models
{
public class PostSkill
{
[InverseProperty("Post")]
public int PostId { get; set; }
public virtual Post Post { get; set; }
[InverseProperty("Skill")]
public int SkillId { get; set; }
... |
using RRExpress.Service.Entity;
using System;
using System.Globalization;
using Xamarin.Forms;
namespace RRExpress.Express.Converters {
/// <summary>
/// 获取订单状态对应的图标(FontAwesome)
/// </summary>
public class OrderStatusIconConverter : IValueConverter {
public object Convert(object value, Type ... |
using System;
using System.Collections.Generic;
#nullable disable
namespace rent_a_car
{
public partial class Personel
{
public Personel()
{
ArabaKiras = new HashSet<ArabaKira>();
IlanKoys = new HashSet<IlanKoy>();
}
public int Id { get; set; }
... |
using JCI.ITC.COMP2.Common.SettingsEnrichers;
namespace Ajf.NugetWatcher.Settings
{
public static class NugetWatcherSettingsEnricher
{
public static void Enrich(INugetWatcherSettings nugetWatcherSettings)
{
nugetWatcherSettings.PathToNuget = SettingsEnricher.ValueByKeyString("PathT... |
using System;
using MyForum.Infrastructure;
using System.ComponentModel.DataAnnotations;
namespace MyForum.Web.Models.Users
{
public class UsersSearchViewModel
{
[StringLength(20, ErrorMessage = GlobalConstants.LengthError,
MinimumLength = 5)]
public string Username { get; set;... |
using System;
using System.Configuration;
namespace API
{
internal static class GridUpdater
{
private static readonly Grid CurrentGrid = new Grid();
public static Moves[] GetGrid()
{
return CurrentGrid.GameGrid;
}
public static void InsertIntoGrid(Tuple<us... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tools;
namespace _056
{
class Program
{
static void Main(string[] args)
{
Decorators.Benchmark(Solve);
}
private static int Solve()
{
... |
using EDDiscovery;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
namespace EDDiscovery2
{
public class HttpCom
{
protected string ServerAdress;
protected string RequestPost(string json, string action)
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CAim : MonoBehaviour
{
//! 상태를 갱신한다
public void Update()
{
var mousePos = Input.mousePosition;
mousePos.z = 35;
var aimPos = CSceneManager.MainCamera.ScreenToWorldPoint(mousePos);
var ray = CSceneManager.M... |
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Windows;
using ConfigurationSectionSamples;
namespace CustomConfigSectionSample
{
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
}
}... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using KartObjects;
using System.Net;
using System.Net.Sockets;
namespace AxisEq
{
public class BizerbaScaleLoader:AbstractScaleLoader
{
private AxisEq.TradeScale Scale;
IPEndPoint ipe;
Socket socket; ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
using System.IO;
using System.Diagnostics;
namespace IRAP.Global
{
public class AppFileInfo
{
private Version currentVersion = new Version("0.0.0.0");
private string file... |
#if DEBUG
using System;
using DuckGame;
using JetBrains.Annotations;
namespace OgtDgLib.AmmoTypes
{
// ReSharper disable once InconsistentNaming
/// <inheritdoc />
/// <summary>
/// Expiremental AT used as stub where you have to use AT but it mustn't affect
/// </summary>
[PublicAPI]
[Obso... |
using libairvidproto.model;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace libairvidproto.types
{
public class RootObj : Encodable
{
public enum EmObjType
{
ConnectRequest,
BrowserRequest,
ConnectResponse,
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
public class GameController : MonoBehaviour
{
[Header("Coins Spawn Properties")]
private int currentPoolIndex = 0;
public GameObject verticalCoins;
public Transform middleSpawnPoint;
public Transform left... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ProductCatalogApi.Domain
{
public class CatalogItem
{
}
}
|
using NBitcoin;
using System.Linq;
using System;
using System.Collections.Generic;
using System.Text;
using WalletWasabi.Models;
using WalletWasabi.Exceptions;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
namespace WalletWasabi.Models.TransactionBuilding
{
public class SmartCoinSelector : ICoinSelector
{
... |
using System.Collections.Generic;
namespace JustOffer.Offer
{
public class ModificationRule
{
public bool CheapestItemFree { get; set; }
public int ProcessingOrder { get; set; }
//reduce cost
public bool IsCostReduction { get; set; }
public enum ReductionType
{
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class gameEndScript : MonoBehaviour
{
[SerializeField] private bool isEnd = false;
private GameObject mainCamera;
public GameObject[] endBlocks;
private DateBlockControl[] isSnap;
private Ga... |
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;
public partial class Categories : System.Web.UI.Page
{
private DataClassesDataContext db = new Data... |
using System;
using UnityEngine;
namespace UnityAtoms.BaseAtoms
{
/// <summary>
/// Event Reference of type `Collider2DPair`. Inherits from `AtomEventReference<Collider2DPair, Collider2DVariable, Collider2DPairEvent, Collider2DVariableInstancer, Collider2DPairEventInstancer>`.
/// </summary>
[Ser... |
using System;
using System.Text;
namespace Schyntax
{
public abstract class SchyntaxException : Exception
{
internal const string PLEASE_REPORT_BUG_MSG = " This indicates a bug in Schyntax. Please open an issue on github.";
protected SchyntaxException(string message, Exception innerException =... |
using System;
using Musical_WebStore_BlazorApp.Server.Data.Models;
namespace Admin.Models
{
public class OrderWorker
{
public string UserId {get;set;}
public virtual User User {get;set;}
public int OrderId {get;set;}
public virtual Order Order {get;set;}
}
} |
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Globalization;
using System.Linq;
namespace Infrastructure.Translations
{
public class TranslationService : ITranslationService
{
private readonly IEnumerable<Translation> _translations;
private readonly Culture... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
namespace Pokemon_Internal_Blades_CSharp.Items
{
/// <summary>
/// Berry Class
/// </summary>
public class Berry : Item
{
/// <summary>
/// Default Constructor.
///... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class QuickParentData : ScriptableObject
{
/*[HideInInspector] */public List<Data> datas = new List<Data> ();
/*[HideInInspector] */public bool editMode = false;
/*[HideInInspector] */p... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Inventory.Data
{
/// <summary>
/// Курьер
/// </summary>
public class Courier : BaseEntity
{
[Required]
public string Name { get; set; }
public Guid RowGuid { get; set; }... |
using System;
namespace SpaceGame
{
class Program
{
static bool shootActive = false;
static bool truther = true;
//^^^^^^^^^^^^^^^^^^^^^^^^Game Loop variable
static int xPos = 35; // User starting x position
static int yPos = 39; // User starting y position
... |
namespace ModelTransformationComponent
{
/// <summary>
/// Интерфейс правил, которые могут быть запрещены для использования в выходных правил
/// </summary>
public interface IBannableRule
{
/// <summary>
/// Запрещено ли использование данного правила
/// </summary>
b... |
using LetMePutSomeAsyncInIt.Web.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;
namespace LetMePutSomeAsyncInIt.Web.Repositories.Interfaces
{
public interface IAlbumRepository
{
Task<Album> GetByID(int id);
Task<List<Al... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class coins : MonoBehaviour
{
private GUIStyle guiStyle = new GUIStyle();
public int coinz = 0;
public GameObject teleport;
public GameObject lustro;
public GameObject particle;
// Start is called before the ... |
using Tomelt.ContentManagement;
using Tomelt.ContentManagement.Aspects;
using Tomelt.ContentManagement.Handlers;
using Tomelt.Core.Title.Models;
using Tomelt.Data;
namespace Tomelt.Core.Title.Handlers {
public class TitlePartHandler : ContentHandler {
public TitlePartHandler(IRepository<TitlePartRecord> ... |
using System;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Sind.DAL.Infrastructure;
using Sind.DAL.Repository;
using Sind.Model;
namespace Sind.BLL.Test.Integration
{
[TestClass]
public class ManterIndicadorTest
{
private Indicador indicador;
[ClassInitiali... |
using System;
namespace Market_Store
{
public class Gold : Card
{
public Gold(decimal turnover, decimal purchaseValue)
: base(turnover, purchaseValue)
{
}
public override decimal Discount()
{
if (base.Turnover > 100)
{
... |
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using DnsClient;
using Shared;
namespace LookupSystem
{
public class DnsSystem
{
public static readonly Regex DmarcPolicyRegex = new ... |
#if UNITY_2019_1_OR_NEWER
using UnityEditor;
using UnityAtoms.Editor;
namespace UnityAtoms.SceneMgmt.Editor
{
/// <summary>
/// Event property drawer of type `SceneFieldPair`. Inherits from `AtomDrawer<SceneFieldPairEvent>`. Only availble in `UNITY_2019_1_OR_NEWER`.
/// </summary>
[CustomProperty... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/**
* class managing the all the different state of the game
*/
namespace GodMorgon.StateMachine
{
public class StateMachine
{
//enum containing the state of the game
public enum STATE
{
... |
using System;
class UnicodeSymbols
{
static void Main()
{
char uniSymbol = '\u0072';
Console.WriteLine("The requested Unicode symbol is: \"{0}\"!", uniSymbol);
}
} |
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 System.Net;
using System.Net.Sockets;
using System.IO;
using System.Threading;
using System.Collections;
namespace SMTPClient
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ClosedXML.Excel;
namespace ClosedXMLLibrary
{
public class Convert
{
public static void XlsxToCsv(string xlsx, string csv)
{
StringBuilder csv... |
using Ntech.Saga.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Ntech.Saga.Service.Api.Commands
{
public class BookingRequestCommand : IBookingRequestCommand
{
public string CustomerId { get; set; }
public string BookingId ... |
namespace NoSQL.Model {
public class Coordinate {
public virtual double Latitude { get; set; }
public virtual double Longitude { get; set; }
public Coordinate(double latitude, double longitude) {
this.Latitude = latitude;
this.Longitude = longitude;
}
}
... |
using System;
using System.Data.Entity;
using System.Linq;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
ManyToManyDemo();
Console.ReadKey(true);
}
private static void ManyToManyDemo()
{
Database.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using FamousQuoteQuiz.Api.Extensions;
using FamousQuoteQuiz.Api.Models;
using FamousQuoteQuiz.Api.Models.Common;
using FamousQuoteQuiz.Api.Models.Common.Contracts;
using FamousQuoteQuiz.Data.Global;
using FamousQuoteQuiz.D... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NUnit.Framework;
using TradeProTests.Pages;
using AutomationFramework.Base;
using AutomationFramework.Extensions;
using AutomationFramework.Helpers;
using System.IO;
using TradeProTests.TestDataAcc... |
using Computer_Wifi_Remote_Library;
using System;
using System.Diagnostics;
using WebSocketSharp;
namespace Computer_Wifi_Remote.Command
{
public class Shutdown : ICommand
{
public string Name => nameof(Shutdown);
public bool Execute(Request request)
{
var psi = new Proces... |
namespace DChild.Gameplay.Objects.Characters.Enemies
{
public class QueenBeeAnimation : CharacterAnimation
{
public const string ANIMATION_DEATH = "Death anim";
public const string ANIMATION_MOVE = "Move anim";
public const string ANIMATION_IDLE = "idle 2 anim";
public const str... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace GodaddyWrapper.Requests
{
public class CloudApplicationCreate
{
public List<string> ports { get; set; }
public string name { get; set; }
public string description { get; set; }
... |
using Xunit;
using ZKCloud.Datas.Sql.Queries.Builders.Conditions;
namespace ZKCloud.Test.Datas.Sql.Conditions
{
/// <summary>
/// Sql大于等于查询条件测试
/// </summary>
public class GreaterEqualConditionTest
{
/// <summary>
/// 获取条件
/// </summary>
[Fact]
publi... |
using System.Windows;
using System.Windows.Controls;
namespace tweetz.core.Controls
{
public partial class TweetImageControl : UserControl
{
public TweetImageControl()
{
InitializeComponent();
}
private void Image_ImageFailed(object sender, ExceptionRoutedEventArgs... |
using System;
namespace CourseHunter_47_MultidimensionalANDjaggetArrays //многомерный массив и зубчатый
{
class Program
{
static void Main(string[] args)
{
Console.ForegroundColor = ConsoleColor.Red;
// 1;2;3
// 4;5;6
// 7;8;9
int[,... |
using System.Collections.Generic;
using System.Threading.Tasks;
using AsyncInn.Models.ApiRecievals;
using AsyncInn.Models.DTOs;
namespace AsyncInn.Data.Interfaces
{
public interface IHotelRoomRepository
{
// Create: POST
Task<HotelRoomDTO> CreateHotelRoom(long hotelId, CreateHotelRoom hotelRoo... |
namespace PatientService.Model
{
public enum BloodType
{
Unknown = -1,
A = 0,
B = 1,
AB = 2,
O = 3
}
}
|
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace GodMorgon.Sound
{
/**
* This class managed the different music theme in the game
*/
public class MusicManager : MonoBehaviour
{
public AK.Wwise.Event Player_Hit;
publi... |
using System;
using System.Drawing;
using System.Windows.Forms;
namespace Actividades_de_Aprendizaje_1_U1
{
class Dibujo
{
/// <summary>
/// Constructor por defecto
/// </summary>
public Dibujo()
{
}
/// <summary>
/// Metodo para deibu... |
using System;
namespace Emanate.Core.Configuration
{
public interface IConfigurationGenerator
{
T Generate<T>();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using DATN_Hoa_Yambi.Models;
namespace DATN_Hoa_Yambi.Controllers
{
public class BoTriThepController : Controller
{
// GET: BoTriThep
public ActionResult Index()
{
retu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using RWCustom;
using Rainbow.Enum;
using Noise;
namespace Rainbow.CreatureAddition
{
public class HornestAI : ArtificialIntelligence, IUseARelationshipTracker
{
public HornestAI(AbstractCreature c... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
namespace Foundry.SourceControl.GitIntegration
{
internal static class GitSettings
{
public static string RepositoriesPath
{
get
{
... |
namespace Proxy
{
public class CaixaEletronicoProxy : ICaixaEletronico
{
public string ObtemClienteAtual() => new CaixaEletronico().ObtemClienteAtual();
public int ObtemSaldoInterno() => new CaixaEletronico().ObtemSaldoInterno();
}
}
|
using UnityEngine;
using System.Collections;
public class ShowMenu : MonoBehaviour
{
public GameObject MainMenu;
public GameObject OptionsMenu;
public GameObject Keybindings;
//public GameObject PauseMenu;
//Showing and Hiding Main Menu
public void ShowMainMenu()
{
MainMenu.SetAct... |
namespace TripDestination.Common.Infrastructure.Mapping
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using AutoMapper;
public static class AutoMapperConfig
{
private static object syncRoot = new object();
public static IMap... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CodeInterviews
{
class KthToLast
{
public static int kthToLast(Node n, int k) {
Console.WriteLine("\nReceived {0}",n);
if (n==null)
return ... |
/* MezzorellaSticks.cs
* Author: Agustin Rodriguez
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
using DinoDiner.Menu;
namespace DinoDiner.Menu
{
/// <summary>
/// this class implements the MezzorellaSticks side item in DinoDiner. The class inherits from... |
using System.Collections.Generic;
using System.Threading.Tasks;
namespace BeerMapApi.Core.Interfaces
{
public interface IRepository<TEntity>
{
Task<TEntity> CreateAsync(TEntity model);
Task<IEnumerable<TEntity>> ReadAsync();
Task<TEntity> UpdateAsync(TEntity model);
}
}
|
namespace Kadastr.Data.Model
{
/// <summary>
/// Юридическое лицо
/// </summary>
class Organization
{
public int Id { get; set; }
/// <summary>
/// Полное наименование
/// </summary>
public string Name { get; set; }
/// <summary>
/// ИНН
... |
using SylphyHorn.Services;
using System;
using System.Globalization;
using System.Windows.Data;
using System.Windows.Media;
namespace SylphyHorn.UI.Controls
{
public class WallpaperPositionConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{... |
namespace TripDestination.Data.Services
{
using System.Linq;
using System.Collections.Generic;
using Common;
using Models;
using TripDestination.Services.Data.Contracts;
using System;
public class PageServices : IPageServices
{
private readonly IDbRepository<Page> pageRepos;
... |
using System;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Pobs.Domain.Entities;
using Pobs.Tests.Integration.Helpers;
using Pobs.Web.Helpers;
using Pobs.Web.Models.Account;
using Xunit;
namespace Pobs.Tests.Integrat... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Autofac;
using CavemanTools;
namespace Strapboot.Autofac
{
public static class AutofacExtensions
{
/// <summary>
///
/// Register types ending with specified suffix from the specified a... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Video;
public class GenericSwipeMaskUIScript : MonoBehaviour {
public enum SwipeMode {
None,
SwipeIn,
SwipeOut,
}
public SwipeMode StartMode = SwipeMode.None;
private SwipeMode mode;
[Header("Fade In")]
[M... |
using System;
using System.Collections.Generic;
using ADS.Manha01.Sabado.Presentation.ConsoleApp.Templates;
namespace ADS.Manha01.Sabado.Presentation.ConsoleApp
{
public interface ITagRepository : IRepositoryBase<Tag>
{
}
}
|
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Globalization;
using System.Text;
namespace CSharpConsole.Performance.Literal_vs_String_Contants
{
/// <summary>
/// https://stackoverflow.com/questions/2587694/performance-of-string-literals-vs-constants-for-session-dictio... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using StartWebSiteEnglish.Models;
public class SqlQueries
{
//static string connectionString = "workstation id=EnglishDB.mssql.somee.com;packet size=4096;user id=kuzmenkovdmitrii_SQ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.