Format:
Recent snippets matching tags of Interface
public class SortByName implements Sortable { @Override public File[] sort(File[] files) { File aux; for (int i = files.length; i >= 1; i--) { for (int j = 1; j < i; j++) { if (files[j] != null && files[j - 1].getName().compareTo(files[j].getName()) > 0) {
101 Views
no comments
#http://www.nivot.org/2009/03/26/PowerShell20CTP3ModulesInPracticeNETInterfaces.aspx function Get-Interface { #.Synopsis # Allows PowerShell to call specific interface implementations on any .NET object. #.Description # Allows PowerShell to call specific interface implementations on any .NET object. # # As of v2.0, PowerShell cannot cast .NET instances to a particular interface. This makes it
350 Views
no comments
/// <summary> /// Static class that provides services to serialize and deserialize an IDynamiteXml. /// </summary> public static class DynamiteXmlLogic { /// <summary> /// Service to serialize an IDynamiteXml implementing object. /// Use the Deserialize method of this class to get the IDynamiteXml back. /// </summary> /// <param name="DynamiteXml">
213 Views
no comments
namespace Guerche.Evaristo.Luciano.Utils.ComputerInfo { using System; using System.Linq; using System.Net.NetworkInformation; class Program { static void Main(string[] args) {
355 Views
no comments
Function getDetailSearch(ByVal statusList As ArrayList, ByVal keywordList As ArrayList, ByVal categoryList As ArrayList, ByVal provinceList As ArrayList, ByVal mustHaveList As ArrayList, ByVal mustNotHaveList As ArrayList, ByVal publishDateFrom As Date, ByVal publishDateTo As Date, ByVal LineNo As Integer, ByVal Letter As String, ByVal UserID As Integer) As OutputObject Implements IOppSearchDAL.getDetailSearch Dim ob As OutputObject = New OutputObject 'Flag to indicate search is NOT for TestBidMatch Dim IsTestBidMatch As Integer = 0 ob = GetTenderDetailSearchResult(statusList, keywordList, categoryList, provinceList, mustHaveList, mustNotHaveList, publishDateFrom, publishDateTo, LineNo, Letter, IsTestBidMatch, UserID) Return ob
109 Views
no comments
public interface IRepository<TEntity> where TEntity : EntityObject { TEntity GetById(int id); IQueryable<TEntity> GetAll(); IQueryable<TEntity> Query(); IRepository<TEntity> With(Expression<Func<TEntity, object>> path); IRepository<TEntity> With<T>(Expression<Func<T, object>> path); }
629 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
