Permalink
Browse files

adjusted i4o2 project/folder/namespaces to i4o

  • Loading branch information...
1 parent ce16010 commit 5fb90a79259a53d05a4c868adcb3028d1a357bdf @staxmanade staxmanade committed Feb 14, 2011
View
2 i4o.Silverlight.Tests/IndexTests.cs
@@ -4,7 +4,7 @@
using System.Linq;
using NUnit.Framework;
-namespace i4o2.Tests
+namespace i4o.Tests
{
public class ObservableObject : INotifyPropertyChanged
{
View
2 i4o.Silverlight.Tests/i4o.Silverlight.Tests.csproj
@@ -9,7 +9,7 @@
<ProjectTypeGuids>{A1591282-1198-4647-A2B1-27E5FF5F6F3B};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>i4o.Silverlight.Tests</RootNamespace>
+ <RootNamespace>i4o.Tests</RootNamespace>
<AssemblyName>i4o.Silverlight.Tests</AssemblyName>
<TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
View
3 i4o.Silverlight/ComparisonIndex.cs
@@ -5,9 +5,8 @@
using System.Linq.Expressions;
using System.Reflection;
using C5;
-using i4o2.i4o;
-namespace i4o2
+namespace i4o
{
public class ComparisonIndex<TChild, TProperty> : IIndex<TChild>
where TProperty : IComparable
View
11 i4o.Silverlight/DelegateFactory.cs
@@ -1,14 +1,9 @@
using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
+using System.Linq.Expressions;
+using System.Reflection;
-namespace i4o2
+namespace i4o
{
- using System.Linq;
- using System.Linq.Expressions;
- using System.Reflection;
-
namespace i4o
{
/*
View
4 i4o.Silverlight/EqualityIndex.cs
@@ -4,9 +4,9 @@
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
-using i4o2.i4o;
+using i4o.i4o;
-namespace i4o2
+namespace i4o
{
public class EqualityIndex<TChild> : IIndex<TChild>
{
View
40 i4o.Silverlight/ExtensionHelpers.cs
@@ -1,34 +1,30 @@
using System.Collections.Generic;
using System.Globalization;
+using System;
+using System.Linq.Expressions;
-namespace i4o2
+namespace i4o
{
- using System;
- using System.Linq.Expressions;
-
- namespace i4o
+ internal static class ExtensionHelpers
{
- internal static class ExtensionHelpers
+ public static string GetMemberName<T, TProperty>(this Expression<Func<T, TProperty>> propertyExpression)
{
- public static string GetMemberName<T, TProperty>(this Expression<Func<T, TProperty>> propertyExpression)
- {
- return ((MemberExpression)(propertyExpression.Body)).Member.Name;
- }
+ return ((MemberExpression)(propertyExpression.Body)).Member.Name;
+ }
- public static string FormatWith(this string format, params object[] args)
- {
- return string.Format(CultureInfo.CurrentCulture, format, args);
- }
+ public static string FormatWith(this string format, params object[] args)
+ {
+ return string.Format(CultureInfo.CurrentCulture, format, args);
+ }
- public static void Each<T>(this IEnumerable<T> items, Action<T> action)
- {
- if (items == null) throw new ArgumentNullException("items");
- if (action == null) throw new ArgumentNullException("action");
+ public static void Each<T>(this IEnumerable<T> items, Action<T> action)
+ {
+ if (items == null) throw new ArgumentNullException("items");
+ if (action == null) throw new ArgumentNullException("action");
- foreach (var item in items)
- {
- action(item);
- }
+ foreach (var item in items)
+ {
+ action(item);
}
}
}
View
2 i4o.Silverlight/IIndex.cs
@@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Linq.Expressions;
-namespace i4o2
+namespace i4o
{
public interface IIndex<TChild> : ICollection<TChild>
{
View
2 i4o.Silverlight/IndexBuilder.cs
@@ -5,7 +5,7 @@
using System.Reflection;
using System.Collections.ObjectModel;
-namespace i4o2
+namespace i4o
{
public static class IndexBuilder
{
View
2 i4o.Silverlight/IndexLookupFailedException.cs
@@ -1,6 +1,6 @@
using System;
-namespace i4o2
+namespace i4o
{
public class IndexLookupFailedException : Exception
{
View
5 i4o.Silverlight/IndexSet.cs
@@ -1,12 +1,11 @@
using System;
using System.Collections;
using System.Collections.Generic;
-using System.Collections.ObjectModel;
using System.Linq;
using System.Linq.Expressions;
-using i4o2.i4o;
+using i4o.i4o;
-namespace i4o2
+namespace i4o
{
public class IndexSet<T> : IEnumerable<T>
{
View
2 i4o.Silverlight/IndexSetExtensions.cs
@@ -3,7 +3,7 @@
using System.Linq;
using System.Linq.Expressions;
-namespace i4o2
+namespace i4o
{
public static class IndexSetExtensions
{
View
4 i4o.Silverlight/IndexSpecification.cs
@@ -1,9 +1,9 @@
using System;
using System.Collections.ObjectModel;
using System.Linq.Expressions;
-using i4o2.i4o;
+using i4o.i4o;
-namespace i4o2
+namespace i4o
{
public class IndexSpecification<T>
{
View
4 i4o.Silverlight/ObservingIndexSet.cs
@@ -3,9 +3,9 @@
using System.Collections.Specialized;
using System.ComponentModel;
using System.Linq;
-using i4o2.i4o;
+using i4o.i4o;
-namespace i4o2
+namespace i4o
{
public class ObservingIndexSet<T> : IndexSet<T> where T : INotifyPropertyChanged
{
View
8 i4o.Silverlight/Properties/AssemblyInfo.cs
@@ -5,12 +5,12 @@
// 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("i4o.Silverlight")]
+[assembly: AssemblyTitle("i4o")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("Microsoft")]
-[assembly: AssemblyProduct("i4o.Silverlight")]
-[assembly: AssemblyCopyright("Copyright © Microsoft 2011")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("i4o")]
+[assembly: AssemblyCopyright("Copyright © 2011")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
View
4 i4o.Silverlight/PropertyReader.cs
@@ -1,8 +1,8 @@
using System;
using System.Reflection;
-using i4o2.i4o;
+using i4o.i4o;
-namespace i4o2
+namespace i4o
{
public enum PropertyReadStrategy
{
View
4,116 i4o.Silverlight/c5/Interfaces.cs
2,058 additions, 2,058 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
2 i4o.Silverlight/i4o.Silverlight.csproj
@@ -9,7 +9,7 @@
<ProjectTypeGuids>{A1591282-1198-4647-A2B1-27E5FF5F6F3B};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>i4o.Silverlight</RootNamespace>
+ <RootNamespace>i4o</RootNamespace>
<AssemblyName>i4o.Silverlight</AssemblyName>
<TargetFrameworkIdentifier>Silverlight</TargetFrameworkIdentifier>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
View
0 i4o2.Tests/Properties/AssemblyInfo.cs → i4o.Tests/Properties/AssemblyInfo.cs
File renamed without changes.
View
2 i4o2.Tests/i4o2.Tests.csproj → i4o.Tests/i4o.Tests.csproj
@@ -55,7 +55,7 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
- <ProjectReference Include="..\i4o2\i4o2.csproj">
+ <ProjectReference Include="..\i4o\i4o.csproj">
<Project>{9A3BD7C7-F8EE-4312-AD67-EF0BD133CB20}</Project>
<Name>i4o2</Name>
</ProjectReference>
View
0 i4o2.Tests/packages.config → i4o.Tests/packages.config
File renamed without changes.
View
4 i4o2.sln → i4o.sln
@@ -1,9 +1,9 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "i4o2", "i4o2\i4o2.csproj", "{9A3BD7C7-F8EE-4312-AD67-EF0BD133CB20}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "i4o", "i4o\i4o.csproj", "{9A3BD7C7-F8EE-4312-AD67-EF0BD133CB20}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "i4o2.Tests", "i4o2.Tests\i4o2.Tests.csproj", "{1B3D03CE-E906-4AFB-B8C2-1F9AC7114FBB}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "i4o.Tests", "i4o.Tests\i4o.Tests.csproj", "{1B3D03CE-E906-4AFB-B8C2-1F9AC7114FBB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "i4o.Silverlight", "i4o.Silverlight\i4o.Silverlight.csproj", "{92E48593-F727-4AC6-867C-A89DA79EC79F}"
EndProject
View
11 i4o2/i4o2.csproj → i4o/i4o.csproj
@@ -8,8 +8,8 @@
<ProjectGuid>{9A3BD7C7-F8EE-4312-AD67-EF0BD133CB20}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
- <RootNamespace>i4o2</RootNamespace>
- <AssemblyName>i4o2</AssemblyName>
+ <RootNamespace>i4o</RootNamespace>
+ <AssemblyName>i4o</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SccProjectName>
@@ -177,10 +177,15 @@
<Compile Include="..\i4o.Silverlight\ObservingIndexSet.cs">
<Link>ObservingIndexSet.cs</Link>
</Compile>
+ <Compile Include="..\i4o.Silverlight\Properties\AssemblyInfo.cs">
+ <Link>AssemblyInfo.cs</Link>
+ </Compile>
<Compile Include="..\i4o.Silverlight\PropertyReader.cs">
<Link>PropertyReader.cs</Link>
</Compile>
- <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <Folder Include="Properties\" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
View
8 i4o2.Tests/i4o2.Tests.csproj.user
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
- <StartAction>Program</StartAction>
- <StartProgram>C:\Program Files\NUnit 2.5.2\bin\net-2.0\nunit.exe</StartProgram>
- <StartArguments>i4o2.tests.dll</StartArguments>
- </PropertyGroup>
-</Project>
View
10 i4o2.Tests/i4o2.Tests.csproj.vspscc
@@ -1,10 +0,0 @@
-""
-{
-"FILE_VERSION" = "9237"
-"ENLISTMENT_CHOICE" = "NEVER"
-"PROJECT_FILE_RELATIVE_PATH" = ""
-"NUMBER_OF_EXCLUDED_FILES" = "0"
-"ORIGINAL_PROJECT_FILE_PATH" = ""
-"NUMBER_OF_NESTED_PROJECTS" = "0"
-"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
-}
View
10 i4o2.vssscc
@@ -1,10 +0,0 @@
-""
-{
-"FILE_VERSION" = "9237"
-"ENLISTMENT_CHOICE" = "NEVER"
-"PROJECT_FILE_RELATIVE_PATH" = ""
-"NUMBER_OF_EXCLUDED_FILES" = "0"
-"ORIGINAL_PROJECT_FILE_PATH" = ""
-"NUMBER_OF_NESTED_PROJECTS" = "0"
-"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROJECT"
-}
View
36 i4o2/Properties/AssemblyInfo.cs
@@ -1,36 +0,0 @@
-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("i4o2")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("i4o2")]
-[assembly: AssemblyCopyright("Copyright © 2009")]
-[assembly: AssemblyTrademark("")]
-[assembly: AssemblyCulture("")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("5ea8e9b2-ff9e-4f40-9764-fb88f84ad96c")]
-
-// Version information for an assembly consists of the following four values:
-//
-// Major Version
-// Minor Version
-// Build Number
-// Revision
-//
-// You can specify all the values or you can default the Build and Revision Numbers
-// by using the '*' as shown below:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.0.0.0")]
-[assembly: AssemblyFileVersion("1.0.0.0")]
View
10 i4o2/i4o2.csproj.vspscc
@@ -1,10 +0,0 @@
-""
-{
-"FILE_VERSION" = "9237"
-"ENLISTMENT_CHOICE" = "NEVER"
-"PROJECT_FILE_RELATIVE_PATH" = ""
-"NUMBER_OF_EXCLUDED_FILES" = "0"
-"ORIGINAL_PROJECT_FILE_PATH" = ""
-"NUMBER_OF_NESTED_PROJECTS" = "0"
-"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
-}

0 comments on commit 5fb90a7

Please sign in to comment.