/*
 * Created by SharpDevelop.
 * User: mrampersad
 * Date: 2014-12-18
 * Time: 18:16
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;
using System.Text;

Pasted 18 hours ago

    [ Export ( typeof ( IEpmRibbonExtensibility ))]
public class MemberRecognitionCustomButton : IEpmRibbonExtensibility
End Class

Pasted 5 days ago

public class Program
{
    public static void Main()
    {
        Console.WriteLine(GetOffSetDate("Central Standard Time", new DateTime(2014, 1, 1, 5, 30, 0, 0)));
    }
    public static DateTime GetOffSetDate(String timezoneId, DateTime date)
    {
        var tzi = TimeZoneInfo.FindSystemTimeZoneById(timezoneId);
        tzi.IsDaylightSavingTime(date);

Pasted 7 days ago

public class Program
{
    public static void Main()
    {
        Console.WriteLine(GetOffSetDate("Central Standard Time", new DateTime(2014, 9, 1, 4, 30, 0, 0)));
    }
    public static DateTime GetOffSetDate(String timezoneId, DateTime date)
    {
        var tzi = TimeZoneInfo.FindSystemTimeZoneById(timezoneId);
        tzi.IsDaylightSavingTime(date);

Pasted 7 days ago

public class Program
{
    public static void Main()
    {
        Console.WriteLine(GetOffSetDate("Central Standard Time", new DateTime(2014, 9, 1, 5, 30, 0, 0)));
    }
    public static DateTime GetOffSetDate(String timezoneId, DateTime date)
    {
        var tzi = TimeZoneInfo.FindSystemTimeZoneById(timezoneId);
        tzi.IsDaylightSavingTime(date);

Pasted 7 days ago

public class Program
{
    public static void Main()
    {
        Console.WriteLine(GetOffSetDate("Central Standard Time", DateTime.UtcNow));
    }
    public static DateTime GetOffSetDate(String timezoneId, DateTime date)
    {
        var tzi = TimeZoneInfo.FindSystemTimeZoneById(timezoneId);
        tzi.IsDaylightSavingTime(date);

Pasted 7 days ago

public class Program
{
    public static void Main()
    {
        Console.WriteLine(GetOffSetDate("America/Chicago", DateTime.UtcNow));
    }
    public static DateTime GetOffSetDate(String timezoneId, DateTime date)
    {
        var tzi = TimeZoneInfo.FindSystemTimeZoneById(timezoneId);
        tzi.IsDaylightSavingTime(date);

Pasted 7 days ago

public class Program
{
    public static void Main()
    {
        Console.WriteLine(DateTime.UtcNow);
    }
    public static DateTime GetOffSetDate(String timezoneId, DateTime date)
    {
        var tzi = TimeZoneInfo.FindSystemTimeZoneById(timezoneId);
        tzi.IsDaylightSavingTime(date);

Pasted 7 days ago

public class Program
{
    public static void Main()
    {
        var offset = (System.DateTime.Now - System.DateTime.UtcNow).TotalHours;
        Console.WriteLine(offset);
    }
    public static DateTime GetOffSetDate(String timezoneId, Date date)
    {
        var tzi = TimeZoneInfo.FindSystemTimeZoneById(timezoneId);

Pasted 7 days ago

public class Program
{
    public static void Main()
    {
        var offset = (System.DateTime.Now - System.DateTime.UtcNow).TotalHours;
        Console.WriteLine(offset);
    }
}

Pasted 7 days ago

public class Program
{
    public static void Main()
    {
        var offset = (System.DateTime.Now - System.DateTime.UtcNow).TotalMilliseconds;
        Console.WriteLine(offset);
    }
}

Pasted 7 days ago

public interface IHashable<out TKey>
{
    TKey GetHashKey();
}
public class HashCollection<TKey, TValue> : Collection<TValue>
    where TValue : IHashable<TKey>
{
    private readonly Dictionary<TKey, HashEntry> hashTable = new Dictionary<TKey, HashEntry>();
    private readonly object syncRoot = new object();
    public HashCollection(IList<TValue> values)

Pasted 7 days ago