text stringlengths 1 932k |
|---|
/*
MIT LICENSE
Copyright 2017 Digital Ruby, LLC - http://www.digitalruby.com
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;
using PaymentModel = AppRopio.Models.Basket.Responses.Order.Payment;
namespace AppRopio.ECommerce.Basket.Core.ViewModels.Order.Payment.Items
{
public interface IPaymentItemVM
{
PaymentModel Payment { get; }
string Title { get; }
bool IsSelected { get; set; }
}
} |
using Microsoft.AspNetCore.Mvc;
using Mzg.Core.Context;
using Mzg.Core.Data;
using Mzg.Data.Provider;
using Mzg.Infrastructure.Utility;
using Mzg.Schema;
using Mzg.Schema.Abstractions;
using Mzg.Schema.Attribute;
using Mzg.Schema.Entity;
using Mzg.Schema.Extensions;
using Mzg.Schema.OptionSet;
using Mzg.Schema.StringM... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using WebSocketSharp;
namespace ProgramChat
{
public class WebsocketConnection : MonoBehaviour
{
private WebSocket websocket;
public InputField InputMes;
public InputField InputUser;
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xam... |
using System;
using System.ComponentModel.DataAnnotations;
namespace Pantheon.Core.Application.Dto.Writes
{
public class UpdateRentalAgreementDto
{
public int? RecurringDueDate { get; set; }
public DateTimeOffset? TerminatedOn { get; set; }
public int? RentalAgreementTypeId { get; se... |
using System.Net.Http.Headers;
using System.Text.Json;
namespace AspnetRunBasics.Extensions;
public static class HttpClientExtensions
{
public static async Task<T> ReadContentAs<T>(this HttpResponseMessage response)
{
if (!response.IsSuccessStatusCode)
throw new ApplicationException($"Som... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license.
// See LICENSE file in the project root for full license information.
using ImageViewer.Common;
using ImageViewer.Content.Renderers.Base;
using ImageViewer.Content.Utils;
using ImageViewer.Content.Views;
using System.Numerics;
using ... |
using Microsoft.AspNetCore.Mvc;
using internet_shop.Models;
using internet_shop.Services;
using System.Collections.Generic;
namespace internet_shop.Controllers
{
[Route("[controller]")]
public class ProductController : Controller
{
public ProductController(ProductService productService)
{... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace Quoridor.Model
{
public class Board
{
#region Properties
public int Size { get; }
#endregion Properties
#region Fields
private readonly Graph _graph;
private readonly Cell[,] _cells;... |
using System;
using System.Threading.Tasks;
namespace FacioRatio.CSharpRailway
{
[System.Diagnostics.DebuggerStepThrough]
public static class ResultBindTupleTaskABCExtensions
{
public static Task<Result<(A, B, C, D)>> BindTuple<A, B, C, D>(this Task<Result<(A, B, C)>> tTask, Func<A, B, C, Result<D... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.VisualStudio.TestPlatform.Utilities
{
using System.Collections.Generic;
using System.Text;
public static class StringExtens... |
// Object Follow|Utilities|90060
namespace VRTK
{
using UnityEngine;
/// <summary>
/// Abstract class that allows to change one game object's properties to follow another game object.
/// </summary>
public abstract class VRTK_ObjectFollow : MonoBehaviour
{
[Tooltip("The game object to ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
namespace Hyperion.Caller.WebApiCaller
{
using Hyperion.Caller.Facade;
using Hyperion.Core.DL;
using Poseidon.Base.Fra... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Un... |
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Stl.IO.Internal;
public class FilePathJsonConverter : JsonConverter<FilePath>
{
public override FilePath Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
=> new(reader.GetString());
public overri... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace Microsoft.Performance.SDK.Extensibility.DataCooking.SourceDataCooking
{
/// <summary>
/// Implemented to access source data cookers.
/// </summary>
/// <typeparam name="T">
/// <see cref="System.Type"/> of ... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Microsoft.Protocols.TestTools.StackSdk.Asn1;
namespace Microsoft.Protocols.TestTools.StackSdk.Security.KerberosLib
{
public class KerberosAsRe... |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//-------... |
using System;
using System.Data;
using System.Web;
using System.Web.UI;
using CMS.Base.Web.UI;
using CMS.Community;
using CMS.Helpers;
using CMS.MacroEngine;
using CMS.PortalEngine.Web.UI;
using CMS.DocumentEngine;
using CMS.Membership;
using CMS.SiteProvider;
public partial class CMSWebParts_Community_GroupSecurity... |
using HairSalon.Models;
namespace HairSalon.Dtos
{
public class CurrentUserResponseDto: UserDto
{
public CurrentUserResponseDto(User entity)
: base(entity)
{
}
public CurrentUserResponseDto()
{
}
}
} |
using KanbanFlow.CSharpSDK.Internal;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Text;
using System.Threading.Tasks;
namespace KanbanFlow.CSharpSDK
{
public class Task
{
[JsonIgnore]
internal Ka... |
using System;
using MoonSharp.Interpreter.Compatibility;
using MoonSharp.Interpreter.Interop;
namespace MoonSharp.Interpreter
{
/// <summary>
/// Descriptor which acts as a non-containing adapter from IUserDataType to IUserDataDescriptor
/// </summary>
internal class AutoDescribingUserDataDescriptor :... |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using MQTTnet;
using MQTTnet.Protocol;
using MQTTnet.Server;
namespace ServerSample
{
public class Wo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Aspose.Words;
using System.Collections;
using System.Windows.Forms;
using System.Threading;
using System.Diagnostics;
using Aspose.Words.Saving;
namespace DocToDocx
{
class ConverMain:Form1
... |
using NUnit.Framework;
namespace NUnitTests
{
[TestFixture]
public class UnitTests1
{
[Test]
public void SumNUnit()
{
Assert.That(MathClass.Add(2, 2), Is.EqualTo(4));
}
}
} |
#region License
/*
Microsoft Public License (Ms-PL)
MonoGame - Copyright © 2009 The MonoGame Team
All rights reserved.
This license governs use of the accompanying software. If you use the software, you accept this license. If you do not
accept the license, do not use the software.
1. Definitions
The terms "reproduc... |
namespace Omise.Models {
public class CreateCustomerRequest : CustomerRequest {
}
public class UpdateCustomerRequest : CustomerRequest {
}
public abstract class CustomerRequest : Request {
public string Email { get; set; }
public string Description { get; set; }
public str... |
using IdentityServer4.Models;
using IdentityServer4.Services;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace LinCms.IdentityServer4.Controllers
{
[Route("[controller]/[action]")]
public class HomeController : Controller
{
private readonly IIdentityServerInteractionService ... |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using osu.Framework.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
usi... |
using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
using System.Xml.Serialization;
namespace Yuebon.Commons.Pages
{
/// <summary>
///
/// </summary>
/// <param name="info"></param>
public delegate void PageInfoChanged(PagerInfo info);
/// <... |
using System;
using System.Collections.Generic;
namespace Afonsoft.Petz.Model
{
[Serializable]
public class SubSpeciesEntity : IComparer<SubSpeciesEntity>, IComparable<SubSpeciesEntity>
{
public int Id { get; set; }
public string Name { get; set; }
public SpeciesEntity Species { g... |
using System.Linq;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Windows.Controls;
using System.Windows;
namespace WpfKb.Controls
{
/// <summary>
///
/// </summary>
public class UniformOnScreenKeyboard : Grid
{
/// <summary>
///
... |
using System;
using System.Web;
using System.Web.Http;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace AwesomeLogger.Web
{
public class WebApiApplication : HttpApplication
{
protected void Application_Start()
{
IoCConfig.GetConfiguredContain... |
// Copyright 2021 The NATS Authors
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in w... |
// ConsoleReaderActor.cs
// removing validation logic and changing store actor references
using System;
using Akka.Actor;
namespace WinTail
{
/// <summary>
/// Actor responsible for reading FROM the console.
/// Also responsible for calling <see cref="ActorSystem.Shutdown"/>.
/// </summary>
class C... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Diagnostics;
using System.Windows;
using System.Windows.Controls;
... |
using System;
public class PriceCalculator
{
private decimal pricePerDay;
private int numberOfDays;
private Season season;
private Discount discount;
private decimal price;
public PriceCalculator(Func<string> readLine)
{
string[] argsArr = readLine().Split();
pricePerDay =... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
using System;
using Fclp;
using Resgrid.ApiLoadTester.Models;
using Resgrid.ApiLoadTester.Workers;
using Rug.Cmd;
using Rug.Cmd.Colors;
namespace Resgrid.ApiLoadTester
{
class Program
{
static void Main(string[] args)
{
RC.Theme = ConsoleColorTheme.Load(ConsoleColorDefaultThemes.Colorful);
CmdHelper.Writ... |
//---------------------------------------------------------
// <auto-generated>
// This code was generated by a tool. Changes to this
// file may cause incorrect behavior and will be lost
// if the code is regenerated.
//
// Generated on 2020 October 09 05:44:52 UTC
// </auto-generated>
//--------------... |
using System;
using System.Threading.Tasks;
namespace Plugin.Health
{
[Preserve(AllMembers = true)]
public interface IHealthDataWriter
{
public Task<bool> WriteAsync(HealthDataType healthDataType, double value, DateTime start, DateTime? end = null);
public Task<bool> WriteAsync(WorkoutDataT... |
using Rodasnet.Infrastructure.HealthCheck;
namespace Rodasnet.Infrastructure.IntegrationTests
{
class StorageHealthCheckControllerMock : StorageHealthCheckController
{
public StorageHealthCheckControllerMock(IHealthCheckStorageConfiguration config) : base(config)
{
ApiVersion = "So... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
namespace Microsoft.Data.Entity.Design.EntityDesigner.View
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnosti... |
namespace GeometricThings.Geometry
{
using GeometricThings.Interface;
using System;
/// <summary>
/// Defines the <see cref="Circle" />.
/// </summary>
public class Circle : IGeometricThing
{
/// <summary>
/// Gets or sets the Radius.
/// </summary>
public f... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebSite.DAL.Db.Models;
using WebSite.Models;
using WebSite.Models.BusinessModels;
using WebSite.Repositories;
namespace WebSite.Db
{
public class DbOnlineChatRepository : IOnlineChatRepository... |
using System;
using LBHTenancyAPI.Services;
using Xunit;
using AgreementService;
using LBHTenancyAPI.Gateways.V1.Arrears.UniversalHousing.Impl;
using Moq;
namespace LBHTenancyAPITest.Test.Services
{
public class ArrearsServiceRequestBuilderTests
{
private ArrearsServiceRequestBuilder _builder;
... |
using System;
using System.Windows.Forms;
namespace AutoPictureApp
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(string[] args)
{
if (args.Length == 0)
{
... |
/*
* MIT License
*
* Copyright (c) 2018 Clark Yang
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
* the Software without restriction, including without limitation the rights to
* use, copy, m... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
using Sharpen;
namespace java.util.zip
{
[Sharpen.NakedStub]
public class ZipEntry
{
}
} |
namespace WindowSmasher {
partial class ZoneDisplay {
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <pa... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
namespace Microsoft.AspNetCore.Mvc.ModelBinding
{
/// <summary>
/// The <see cref="Exception"/> that is thrown when too many model errors are encountered.
... |
#pragma checksum "C:\Users\iamys\source\repos\OdalysProject\OdalysProject.Web\Areas\Identity\Pages\_ViewImports.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "2fd62f0624fab80d0159601d7ccb3127c5df2b33"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompile... |
@using System.Web.Http
@using System.Web.Http.Controllers
@using System.Web.Http.Description
@using System.Collections.ObjectModel
@using DOL.WHD.Section14c.Log.Areas.HelpPage.Models
@model Collection<ApiDescription>
@{
ViewBag.Title = "DOL.WHD.Section.14c.PdfApi";
// Group APIs by controller
ILookup<Http... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestStatements.Anweisungen
{
public static class RandomExample
{
// Instantiate random number generator using system-supplied value as seed.
public static Random rand ... |
namespace DFC.App.CareerPath.FunctionalTests.Model.Support
{
public class ServiceBusConfig
{
public string ConnectionString { get; set; }
}
} |
using System;
using CloudNativeKit.Infrastructure;
using CloudNativeKit.Infrastructure.Bus.Messaging;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Design;
using Microsoft.Extensions.Configuration;
namespace VND.CoolStore.ProductCatalog.Data
{
public class MessagingDataContextDesignFacto... |
using System;
using System.Collections.Specialized;
using System.Text;
namespace RceDoorzoeker.Services
{
public static class QueryStringHelper
{
public static string ToFormsQueryString(this NameValueCollection pars)
{
var sb = new StringBuilder();
bool first = true;
foreach(var key in pars.AllKeys... |
@{
Layout = "_Layout";
}
@model NavigationLayoutViewModel
@{
var role = Model.Login.Role;
}
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbar" aria-controls="navbar" aria-expanded="false" ... |
//-----------------------------------------------------------------------------
// Runtime: 180ms
// Memory Usage: 40.4 MB
// Link: https://leetcode.com/submissions/detail/360342817/
//-----------------------------------------------------------------------------
using System.Collections.Generic;
namespace LeetCode
{
... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore.ChangeTracking;
namespace Scorpio.EntityFrameworkCore
{
/// <summary>
///
/// </summary>
public interface IOnSaveChangeHandler
{
/// <summary>
///
/// </summary>
/... |
using System.Threading;
using System.Threading.Tasks;
using Stormpath.SDK.Resource;
namespace Stormpath.SDK.Account
{
/// <summary>
/// Represents a challenge against a <see cref="IFactor">Factor</see>.
/// </summary>
public interface IChallenge :
IResource,
IAuditable
{
/... |
using System;
using System.Threading;
using System.Threading.Tasks;
using EasyNetQ.Events;
using EasyNetQ.Internals;
using EasyNetQ.Logging;
using EasyNetQ.Topology;
using RabbitMQ.Client;
namespace EasyNetQ.Consumer
{
internal class AsyncBasicConsumer : AsyncDefaultBasicConsumer, IDisposable
{
private... |
namespace AH.ModuleController.UI.DMS.Forms
{
partial class frmFeeCategory
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// ... |
#region BSD License
/*
* Use of this source code is governed by a BSD-style
* license that can be found in the LICENSE.md file or at
* https://github.com/Wagnerp/Krypton-Toolkit-Suite-Extended-NET-5.480/blob/master/LICENSE
*
*/
#endregion
using System.Drawing;
using System.Drawing.Drawing2D;
namespace Common.Dr... |
using System;
using System.ComponentModel;
using AppKit;
using CoreGraphics;
using Xamarin.PropertyEditing.Drawing;
using Xamarin.PropertyEditing.ViewModels;
namespace Xamarin.PropertyEditing.Mac
{
internal class RequestResourcePanel : NSView
{
internal const string ResourceImageColId = "ResourceImage";
interna... |
namespace Spice.Services.Admin
{
using Spice.Models;
using Spice.Services.Admin.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
public interface IAdminCategoryService
{
Task<IEnumerable<AdminCategoriesListingServiceModel>... |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Microsoft.Azure.Management.Compute
{
using System;
using System.Collections.Generic;
using System.Linq;
interna... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using Xunit;
#pragma warning disable 0067 // Unused events
#pragma warning disable 0649 // Uninitialized fields
namespace System.Reflection.Test... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace Ist
{
public struct MPGPParticle
{
public const int size = 48;
public Vector3 position;
public Vector3 velocity;
public float speed;
public float lifetime;
public float... |
using System.Linq;
using NHibernate.Criterion;
using Shoko.Commons.Extensions;
using Shoko.Server.Databases;
using Shoko.Server.Models;
using Shoko.Server.Repositories.NHibernate;
namespace Shoko.Server.Repositories.Direct
{
public class AniDB_AnimeUpdateRepository : BaseDirectRepository<AniDB_AnimeUpdate, int>
... |
namespace GW2Api.NET.V2.Guilds.Dto
{
public enum GuildTeamState
{
Inactive,
Active
}
} |
namespace ContosoFlowers.Services
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Models;
public class InMemoryFlowerCategoriesRepository : InMemoryRepositoryBase<FlowerCategory>
{
private IEnumerable<FlowerCategory> flowerCategories;
... |
namespace MonitoringGoodsUpdates
{
partial class frmMessage
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
//
// Microsoft.TeamFoundation.VersionControl.Client.Rss20SerializerTest
//
// Authors:
// Joel Reed (joelwreed@gmail.com)
//
//
// 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 re... |
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
namespace BestHTTP.SecureProtocol... |
using System;
using System.Reactive.Linq;
using FluentAssertions;
using Microsoft.Reactive.Testing;
using Rocket.Surgery.Airframe.Timers;
using Xunit;
namespace Airframe.Tests.Timers
{
public sealed class DivisibleTimerTests
{
[Theory]
[ClassData(typeof(DivisibleTimeSpanData))]
public v... |
#region Apache License, Version 2.0
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, ... |
using System.Collections.Generic;
namespace Programatica.Saft.Models
{
public interface ILines
{
List<CreditLine> CreditLine { get; set; }
List<DebitLine> DebitLine { get; set; }
}
} |
using System;
namespace ProcessorsSubsystem
{
[Flags]
public enum Sign
{
None = 0b_0000,
LessZero = 0b_0001,
MoreZero = 0b_0010,
EqualZero = 0b_0100,
Any = LessZero | MoreZero | EqualZero,
NotEqual = Any ^ EqualZero,
NotLess = Any ^ LessZero,
... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FragmentController : BaseController {
[SerializeField] private Fragment fragmentPrefab = null;
[SerializeField] private int fragmentSpawnAmount = 10;
private List<FragmentLocation> potentialFragmentL... |
namespace OggVorbisEncoder.Setup.Templates.Stereo44.BookBlocks.Chapter1
{
public class Page8_0 : IStaticCodeBook
{
public int Dimensions = 2;
public byte[] LengthList = {
1, 4, 3, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 4, 8, 6,
10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 4... |
using System;
using System.Collections.Generic;
using System.Text;
using DatAdmin;
using System.Text.RegularExpressions;
namespace Plugin.oracle
{
public class OracleSqlDumper : SqlDumper
{
public OracleSqlDumper(ISqlOutputStream stream, ISqlDialect dialect, SqlFormatProperties props)
: ba... |
@{
Layout = "~/Views/Shared/_Layout.cshtml";
}
@section contents {
}
<div class="row">
<div class="col-12">
<div class="page-title-box">
<h4 class="page-title">Cadastro de Serviço</h4>
<div class="page-title-right">
<ol class="breadcrumb m-0">
... |
using GrocerySupplyManagementApp.Entities;
using System.Collections.Generic;
namespace GrocerySupplyManagementApp.Services.Interfaces
{
public interface ISupplierService
{
IEnumerable<Supplier> GetSuppliers();
Supplier GetSupplier(string supplierId);
string GetNewSupplierId();
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using Terminals.Data;
namespace Terminals.Forms.Controls
{
/// <summary>
/// Fills tree list with group and favorites.
/// Handles Persistence updates.
/// Handles expansion request on group tree nodes, whic... |
// <copyright file="DatabaseOptionsTests.cs" company="Chris Trout">
// MIT License
//
// Copyright(c) 2019 Chris Trout
//
// 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 restrictio... |
using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyCompany("Nils Maier")]
[assembly: AssemblyProduct("SimpleDLNA")]
[assembly: AssemblyCo... |
/*
* Copyright © 2011, Denys Vuika
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
using System;
using System.Collections.Generic;
using System.Threading;
using ServiceStack.Common;
using ServiceStack.ServiceHost;
using ServiceStack.Text;
namespace Funq
{
/// <include file='Container.xdoc' path='docs/doc[@for="Container"]/*'/>
public sealed partial class Container : IDisposable
{
Dictionary<Se... |
using Abp.Authorization;
using MyFirstBP.Authorization.Roles;
using MyFirstBP.Authorization.Users;
namespace MyFirstBP.Authorization
{
public class PermissionChecker : PermissionChecker<Role, User>
{
public PermissionChecker(UserManager userManager)
: base(userManager)
{
}
... |
using FatecMauaJobNewsletter.Domains.Contexts.Interfaces;
using FatecMauaJobNewsletter.Domains.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace FatecMauaJobNewsletter.Domains.Contexts
{
public class Repository<T... |
using ContosoBooks.Models;
using Microsoft.AspNet.Builder;
using Microsoft.AspNet.Diagnostics;
using Microsoft.AspNet.Hosting;
using Microsoft.Data.Entity;
using Microsoft.Framework.Configuration;
using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.Logging;
using Microsoft.Framework.Runtime;
name... |
// ==========================================================================
// Squidex Headless CMS
// ==========================================================================
// Copyright (c) Squidex UG (haftungsbeschraenkt)
// All rights reserved. Licensed under the MIT license.
// ===========================... |
/*!
@file NodePool.cs
@author Woong Gyu La a.k.a Chris. <juhgiyo@gmail.com>
<http://github.com/juhgiyo/eppathfinding.cs>
@date July 16, 2013
@brief NodePool Interface
@version 2.0
@section LICENSE
The MIT License (MIT)
Copyright (c) 2013 Woong Gyu La <juhgiyo@gmail.com>
Permission is hereby granted, free of char... |
//////////////////////////////////////////////////
// //
// See License.txt for Licensing information //
// //
//////////////////////////////////////////////////
namespace PixelMagic.Helpers
{
public static class AddonLib... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.