Skip to content
Browse files

Introduced PCL

  • Loading branch information...
1 parent 105140d commit 07940564150f188b5b3c917605c78d010c25cb83 @activa activa committed
Showing with 307 additions and 73 deletions.
  1. +1 −1 Library/CompatibilityLayer.cs
  2. +3 −3 Library/CoreExtensions.cs
  3. +2 −2 Library/EasyConfig/FieldOrPropertyInfo.cs
  4. +1 −1 Library/Parser/ExpressionParser/Exceptions/BadArgumentException.cs
  5. +1 −1 Library/Parser/ExpressionParser/Exceptions/ExpressionEvaluationException.cs
  6. +1 −1 Library/Parser/ExpressionParser/Exceptions/IllegalAssignmentException.cs
  7. +1 −1 Library/Parser/ExpressionParser/Exceptions/IllegalOperandsException.cs
  8. +1 −1 Library/Parser/ExpressionParser/Exceptions/LexerException.cs
  9. +1 −1 Library/Parser/ExpressionParser/Exceptions/LiteralException.cs
  10. +1 −1 Library/Parser/ExpressionParser/Exceptions/ParserException.cs
  11. +1 −1 Library/Parser/ExpressionParser/Exceptions/UnknownPropertyException.cs
  12. +2 −2 Library/Parser/ExpressionParser/Expression/CallExpression.cs
  13. +1 −1 Library/Parser/ExpressionParser/Expression/IndexExpression.cs
  14. +1 −1 Library/Parser/TemplateParser/Exceptions/TemplateParserException.cs
  15. +1 −1 Library/Parser/TemplateParser/Exceptions/TemplateParsingException.cs
  16. +1 −1 Library/Parser/TemplateParser/Exceptions/TemplateRenderingException.cs
  17. +1 −1 Library/Parser/TemplateParser/TemplateConfigs/Xml/Xml.cs
  18. +2 −2 Library/Parser/TemplateParser/TemplateParser.cs
  19. +2 −2 Library/Parser/TemplateParser/TemplateParserConfig.cs
  20. +2 −0 Library/Properties/AssemblyInfo.cs
  21. +1 −1 Library/Reflection/LazyBinder.cs
  22. +15 −15 Library/TypeInspector.cs
  23. +236 −0 Library/Vici.Core.PCL.csproj
  24. +28 −0 Vici.Core.PCL.sln
  25. +0 −32 Vici.Core.WP8.sln
View
2 Library/CompatibilityLayer.cs
@@ -57,7 +57,7 @@ public static Type[] FindInterfaces(this Type type, TypeFilter typeFilter, objec
}
#endif
-#if !NETFX_CORE
+#if !NETFX_CORE && !PCL
public static class File
{
public static string ReadAllText(string filename)
View
6 Library/CoreExtensions.cs
@@ -33,7 +33,7 @@
namespace Vici.Core
{
-#if NETFX_CORE
+#if NETFX_CORE || PCL
public delegate TOutput Converter<TInput, TOutput>(TInput value);
#endif
public static class CoreExtensions
@@ -42,14 +42,14 @@ public static class CoreExtensions
{
if (array == null)
throw new ArgumentException();
-#if WINDOWS_PHONE || SILVERLIGHT || NETFX_CORE
+#if WINDOWS_PHONE || SILVERLIGHT || NETFX_CORE || PCL
return array.Select(item => converter(item)).ToArray();
#else
return Array.ConvertAll(array,converter);
#endif
}
-#if NETFX_CORE
+#if NETFX_CORE || PCL
public static void ForEach<T>(this IEnumerable<T> list, Action<T> action)
{
foreach (var item in list)
View
4 Library/EasyConfig/FieldOrPropertyInfo.cs
@@ -62,7 +62,7 @@ public void SetValue(object o, object value)
public Attribute[] GetCustomAttributes(Type type, bool inherit)
{
-#if NETFX_CORE
+#if NETFX_CORE || PCL
return _memberInfo.GetCustomAttributes(type, inherit).ToArray();
#else
return (Attribute[]) _memberInfo.GetCustomAttributes(type, inherit);
@@ -71,7 +71,7 @@ public Attribute[] GetCustomAttributes(Type type, bool inherit)
public T[] GetCustomAttributes<T>(bool inherit) where T:Attribute
{
-#if NETFX_CORE
+#if NETFX_CORE || PCL
return _memberInfo.GetCustomAttributes<T>(inherit).ToArray();
#else
return (T[]) _memberInfo.GetCustomAttributes(typeof(T), inherit);
View
2 Library/Parser/ExpressionParser/Exceptions/BadArgumentException.cs
@@ -43,7 +43,7 @@ public BadArgumentException(string message, Expression expressionNode, Exception
{
}
-#if !WINDOWS_PHONE && !NETFX_CORE
+#if !WINDOWS_PHONE && !NETFX_CORE && !PCL
public BadArgumentException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
View
2 Library/Parser/ExpressionParser/Exceptions/ExpressionEvaluationException.cs
@@ -53,7 +53,7 @@ public ExpressionEvaluationException(string message, Expression expressionNode,
ExpressionNode = expressionNode;
}
-#if !WINDOWS_PHONE && !NETFX_CORE
+#if !WINDOWS_PHONE && !NETFX_CORE && !PCL
public ExpressionEvaluationException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
View
2 Library/Parser/ExpressionParser/Exceptions/IllegalAssignmentException.cs
@@ -44,7 +44,7 @@ public IllegalAssignmentException(string message, Expression expressionNode, Exc
{
}
-#if !WINDOWS_PHONE && !NETFX_CORE
+#if !WINDOWS_PHONE && !NETFX_CORE && !PCL
public IllegalAssignmentException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
View
2 Library/Parser/ExpressionParser/Exceptions/IllegalOperandsException.cs
@@ -43,7 +43,7 @@ public IllegalOperandsException(string message, Expression expressionNode, Excep
{
}
-#if !WINDOWS_PHONE && !NETFX_CORE
+#if !WINDOWS_PHONE && !NETFX_CORE && !PCL
public IllegalOperandsException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
View
2 Library/Parser/ExpressionParser/Exceptions/LexerException.cs
@@ -52,7 +52,7 @@ public LexerException(string message, TokenPosition position, string token, Exce
Token = token;
}
-#if !WINDOWS_PHONE && !NETFX_CORE
+#if !WINDOWS_PHONE && !NETFX_CORE && !PCL
public LexerException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
View
2 Library/Parser/ExpressionParser/Exceptions/LiteralException.cs
@@ -43,7 +43,7 @@ public LiteralException(string message, Expression expressionNode, Exception inn
{
}
-#if !WINDOWS_PHONE && !NETFX_CORE
+#if !WINDOWS_PHONE && !NETFX_CORE && !PCL
public LiteralException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
View
2 Library/Parser/ExpressionParser/Exceptions/ParserException.cs
@@ -43,7 +43,7 @@ protected ParserException(string message, Exception innerException) : base(messa
{
}
-#if !WINDOWS_PHONE && !NETFX_CORE
+#if !WINDOWS_PHONE && !NETFX_CORE && !PCL
protected ParserException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
View
2 Library/Parser/ExpressionParser/Exceptions/UnknownPropertyException.cs
@@ -43,7 +43,7 @@ public UnknownPropertyException(string message, Expression expressionNode, Excep
{
}
-#if !WINDOWS_PHONE && !NETFX_CORE
+#if !WINDOWS_PHONE && !NETFX_CORE && !PCL
public UnknownPropertyException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
View
4 Library/Parser/ExpressionParser/Expression/CallExpression.cs
@@ -85,7 +85,7 @@ public override ValueExpression Evaluate(IParserContext context)
if (methodObject is Delegate[])
{
Delegate[] delegates = (Delegate[]) methodObject;
-#if NETFX_CORE
+#if NETFX_CORE || PCL
MethodBase[] methods = delegates.ConvertAll<Delegate, MethodBase>(d => d.GetMethodInfo());
#else
MethodBase[] methods = delegates.ConvertAll<Delegate, MethodBase>(d => d.Method);
@@ -104,7 +104,7 @@ public override ValueExpression Evaluate(IParserContext context)
if (methodObject is Delegate)
{
Delegate method = (Delegate) methodObject;
-#if NETFX_CORE
+#if NETFX_CORE || PCL
MethodInfo methodInfo = method.GetMethodInfo();
#else
MethodInfo methodInfo = method.Method;
View
2 Library/Parser/ExpressionParser/Expression/IndexExpression.cs
@@ -73,7 +73,7 @@ public ValueExpression Evaluate(IParserContext context, bool assign, object newV
throw new BadArgumentException(t.GetType().Name + " is not a valid type for array indexers", this);
}
-#if !WINDOWS_PHONE && !NETFX_CORE
+#if !WINDOWS_PHONE && !NETFX_CORE && !PCL
if (useLong)
{
long[] indexes = new long[parameters.Length];
View
2 Library/Parser/TemplateParser/Exceptions/TemplateParserException.cs
@@ -43,7 +43,7 @@ public TemplateParserException(string message, Exception innerException, TokenPo
_tokenPosition = tokenPosition;
}
-#if !WINDOWS_PHONE && !NETFX_CORE
+#if !WINDOWS_PHONE && !NETFX_CORE && !PCL
public TemplateParserException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
View
2 Library/Parser/TemplateParser/Exceptions/TemplateParsingException.cs
@@ -40,7 +40,7 @@ public TemplateParsingException(string message, Exception innerException, TokenP
{
}
-#if !WINDOWS_PHONE && !NETFX_CORE
+#if !WINDOWS_PHONE && !NETFX_CORE && !PCL
public TemplateParsingException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
View
2 Library/Parser/TemplateParser/Exceptions/TemplateRenderingException.cs
@@ -39,7 +39,7 @@ public TemplateRenderingException(string message, Exception innerException, Toke
{
}
-#if !WINDOWS_PHONE && !NETFX_CORE
+#if !WINDOWS_PHONE && !NETFX_CORE && !PCL
public TemplateRenderingException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
View
2 Library/Parser/TemplateParser/TemplateConfigs/Xml/Xml.cs
@@ -44,7 +44,7 @@ internal static string ReplaceEscapes(string text)
XmlWriter xmlWriter = XmlWriter.Create(writer, settings);
xmlWriter.WriteString(text);
-#if NETFX_CORE
+#if NETFX_CORE || PCL
xmlWriter.Dispose();
#else
xmlWriter.Close();
View
4 Library/Parser/TemplateParser/TemplateParser.cs
@@ -70,7 +70,7 @@ public TemplateParserConfig Config
get { return _config; }
}
-#if !NETFX_CORE
+#if !NETFX_CORE && !PCL
public CompiledTemplate ParseFile(string fileName)
{
CompiledTemplate template = Parse(CompatibilityLayer.File.ReadAllText(fileName));
@@ -244,7 +244,7 @@ private static string CheckEmptyLine(TextTemplateNode lastTextNode, string text)
return text;
}
-#if !NETFX_CORE
+#if !NETFX_CORE && !PCL
public string RenderFile(string fileName, IParserContext context)
{
return Render(ParseFile(fileName), context);
View
4 Library/Parser/TemplateParser/TemplateParserConfig.cs
@@ -161,7 +161,7 @@ protected virtual CompiledTemplate OnEvalParseFile(ExpressionParser parser, Temp
parameters[var.Key] = parser.Evaluate(var.Value, context);
}
-#if NETFX_CORE
+#if NETFX_CORE || PCL
return null; // TODO: use isolated storage
#else
string includeFile = Path.GetFullPath(Path.Combine(Path.GetDirectoryName(pExpr.MainExpression), fileName));
@@ -177,7 +177,7 @@ internal string EvalIncludeFile(ExpressionParser parser, string fileName, Templa
protected virtual string OnEvalIncludeFile(ExpressionParser parser, string fileName, TemplateToken token, IParserContext context)
{
-#if NETFX_CORE
+#if NETFX_CORE || PCL
return ""; // TODO: use isolated storage
#else
string includeFile = Path.GetFullPath(Path.Combine(Path.GetDirectoryName(fileName), fileName));
View
2 Library/Properties/AssemblyInfo.cs
@@ -15,4 +15,6 @@
[assembly:InternalsVisibleTo("Vici.Core.Test")]
[assembly: InternalsVisibleTo("Vici.Core.Metro.Test")]
+#if !PCL
[assembly: Guid("85cfa949-a3df-4f38-bb53-a2d992d0adc1")]
+#endif
View
2 Library/Reflection/LazyBinder.cs
@@ -32,7 +32,7 @@
namespace Vici.Core
{
-#if NETFX_CORE
+#if NETFX_CORE || PCL
public abstract class Binder { }
[Flags]
View
30 Library/TypeInspector.cs
@@ -6,7 +6,7 @@
namespace Vici.Core
{
-#if !NETFX_CORE
+#if !NETFX_CORE && !PCL
public static class TypeInfoMocker
{
public static Type GetTypeInfo(this Type type) { return type; }
@@ -113,7 +113,7 @@ public object DefaultValue()
public MethodInfo GetMethod(string name, Type[] types)
{
-#if NETFX_CORE
+#if NETFX_CORE || PCL
return WalkAndFindSingle(t => t.GetTypeInfo().GetDeclaredMethods(name).FirstOrDefault(mi => types.SequenceEqual(mi.GetParameters().Select(p => p.ParameterType))));
#else
return _t.GetMethod(name, types);
@@ -127,7 +127,7 @@ public MethodInfo GetMethod(string name, Type[] types)
public T GetAttribute<T>(bool inherit) where T : Attribute
{
-#if NETFX_CORE
+#if NETFX_CORE || PCL
return _t.GetTypeInfo().GetCustomAttributes<T>(inherit).FirstOrDefault();
#else
return (T) _t.GetCustomAttributes(typeof(T),inherit).FirstOrDefault();
@@ -146,7 +146,7 @@ public bool IsAssignableFrom(Type type)
public ConstructorInfo[] GetConstructors()
{
-#if NETFX_CORE
+#if NETFX_CORE || PCL
return _t.GetTypeInfo().DeclaredConstructors.ToArray();
#else
return _t.GetConstructors();
@@ -155,7 +155,7 @@ public ConstructorInfo[] GetConstructors()
public MemberInfo[] GetMember(string propertyName)
{
-#if NETFX_CORE
+#if NETFX_CORE || PCL
return WalkAndFindMultiple(t => t.GetTypeInfo().DeclaredMembers.Where(m => m.Name == propertyName));
#else
return _t.GetMember(propertyName);
@@ -164,7 +164,7 @@ public MemberInfo[] GetMember(string propertyName)
public PropertyInfo GetIndexer(Type[] types)
{
-#if NETFX_CORE
+#if NETFX_CORE || PCL
return WalkAndFindSingle(t => t.GetTypeInfo().DeclaredProperties.FirstOrDefault(pi => pi.Name == "Item" && LazyBinder.MatchParameters(types, pi.GetIndexParameters())));
#else
return _t.GetProperty("Item", null, types);
@@ -173,7 +173,7 @@ public PropertyInfo GetIndexer(Type[] types)
public T[] GetCustomAttributes<T>(bool inherit) where T:Attribute
{
-#if NETFX_CORE
+#if NETFX_CORE || PCL
return _t.GetTypeInfo().GetCustomAttributes<T>(inherit).ToArray();
#else
return (T[]) _t.GetCustomAttributes(typeof(T), inherit);
@@ -187,7 +187,7 @@ public MethodInfo GetPropertyGetter(string propertyName, Type[] parameterTypes)
public PropertyInfo GetProperty(string propName)
{
-#if NETFX_CORE
+#if NETFX_CORE || PCL
return WalkAndFindSingle(t => t.GetTypeInfo().GetDeclaredProperty(propName));
#else
return _t.GetProperty(propName);
@@ -196,7 +196,7 @@ public PropertyInfo GetProperty(string propName)
public FieldInfo GetField(string fieldName)
{
-#if NETFX_CORE
+#if NETFX_CORE || PCL
return WalkAndFindSingle(t => t.GetTypeInfo().GetDeclaredField(fieldName));
#else
return _t.GetField(fieldName);
@@ -207,7 +207,7 @@ public bool ImplementsOrInherits(Type type)
{
if (type.GetTypeInfo().IsGenericTypeDefinition && type.GetTypeInfo().IsInterface)
{
-#if NETFX_CORE
+#if NETFX_CORE || PCL
return _t.GetTypeInfo().ImplementedInterfaces.Any(t => (t.GetTypeInfo().IsGenericType && t.GetTypeInfo().GetGenericTypeDefinition() == type));
#else
return _t.FindInterfaces((t, criteria) => (t.GetTypeInfo().IsGenericType && t.GetTypeInfo().GetGenericTypeDefinition() == type), null).Any();
@@ -230,14 +230,14 @@ public MethodInfo GetMethod(string methodName, BindingFlags bindingFlags, Type[]
public Type[] GetGenericArguments()
{
-#if NETFX_CORE
+#if NETFX_CORE || PCL
return _t.GenericTypeArguments;
#else
return _t.GetGenericArguments();
#endif
}
-#if NETFX_CORE
+#if NETFX_CORE || PCL
private bool MatchBindingFlags(FieldInfo fieldInfo, BindingFlags flags)
{
if (flags == BindingFlags.Default)
@@ -283,7 +283,7 @@ private bool MatchBindingFlags(PropertyInfo propertyInfo, BindingFlags flags)
public FieldInfo[] GetFields(BindingFlags bindingFlags)
{
-#if NETFX_CORE
+#if NETFX_CORE || PCL
if ((bindingFlags & BindingFlags.DeclaredOnly) != 0)
return _t.GetTypeInfo().DeclaredFields.Where(fi => MatchBindingFlags(fi, bindingFlags)).ToArray();
else
@@ -295,7 +295,7 @@ public FieldInfo[] GetFields(BindingFlags bindingFlags)
public PropertyInfo[] GetProperties(BindingFlags bindingFlags)
{
-#if NETFX_CORE
+#if NETFX_CORE || PCL
if ((bindingFlags & BindingFlags.DeclaredOnly) != 0)
return _t.GetTypeInfo().DeclaredProperties.Where(pi => MatchBindingFlags(pi, bindingFlags)).ToArray();
else
@@ -307,7 +307,7 @@ public PropertyInfo[] GetProperties(BindingFlags bindingFlags)
public Type[] GetInterfaces()
{
-#if NETFX_CORE
+#if NETFX_CORE || PCL
return _t.GetTypeInfo().ImplementedInterfaces.ToArray();
#else
return _t.GetInterfaces();
View
236 Library/Vici.Core.PCL.csproj
@@ -0,0 +1,236 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+ <PropertyGroup>
+ <MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProjectGuid>{F3DF58D7-69AD-49F6-838F-6BDF02D3886A}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>Vici.Core.PCL</RootNamespace>
+ <AssemblyName>Vici.Core.PCL</AssemblyName>
+ <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+ <TargetFrameworkProfile>Profile78</TargetFrameworkProfile>
+ <FileAlignment>512</FileAlignment>
+ <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>TRACE;DEBUG;PCL</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE;PCL</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <!-- A reference to the entire .NET Framework is automatically included -->
+ <Folder Include="Logger\Providers\" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="AttributeHelper.cs" />
+ <Compile Include="BinaryHelper.cs" />
+ <Compile Include="Cache\SmartCache.cs" />
+ <Compile Include="CompatibilityLayer.cs" />
+ <Compile Include="CoreExtensions.cs" />
+ <Compile Include="EasyConfig\Attributes\ConfigIgnoreAttribute.cs" />
+ <Compile Include="EasyConfig\Attributes\ConfigKeyAttribute.cs" />
+ <Compile Include="EasyConfig\Attributes\ConfigObjectAttribute.cs" />
+ <Compile Include="EasyConfig\ConfigManager.cs" />
+ <Compile Include="EasyConfig\FieldOrPropertyInfo.cs" />
+ <Compile Include="EasyConfig\FieldOrPropertyInfoExtensions.cs" />
+ <Compile Include="EasyConfig\IConfigObject.cs" />
+ <Compile Include="EasyConfig\IConfigurationProvider.cs" />
+ <Compile Include="EasyConfig\Providers\ConfigurationProviderXmlConfig.cs" />
+ <Compile Include="Json\Json.cs" />
+ <Compile Include="Json\JsonParser.cs" />
+ <Compile Include="Json\JsonSerializer.cs" />
+ <Compile Include="Json\Tokenizer\JSONTokenizer.cs" />
+ <Compile Include="Json\Tokenizer\Tokens\ArrayEndTokenMatcher.cs" />
+ <Compile Include="Json\Tokenizer\Tokens\ArrayStartTokenMatcher.cs" />
+ <Compile Include="Json\Tokenizer\Tokens\ColonTokenMatcher.cs" />
+ <Compile Include="Json\Tokenizer\Tokens\CommaTokenMatcher.cs" />
+ <Compile Include="Json\Tokenizer\Tokens\FalseTokenMatcher.cs" />
+ <Compile Include="Json\Tokenizer\Tokens\FloatTokenMatcher.cs" />
+ <Compile Include="Json\Tokenizer\Tokens\IntegerTokenMatcher.cs" />
+ <Compile Include="Json\Tokenizer\Tokens\JSONStringTokenMatcher.cs" />
+ <Compile Include="Json\Tokenizer\Tokens\NullTokenMatcher.cs" />
+ <Compile Include="Json\Tokenizer\Tokens\ObjectEndTokenMatcher.cs" />
+ <Compile Include="Json\Tokenizer\Tokens\ObjectStartTokenMatcher.cs" />
+ <Compile Include="Json\Tokenizer\Tokens\TrueTokenMatcher.cs" />
+ <Compile Include="Logger\Logger.cs" />
+ <Compile Include="Logger\LoggingProvider.cs" />
+ <Compile Include="Logger\LogLevel.cs" />
+ <Compile Include="Mocking\ITimeProvider.cs" />
+ <Compile Include="Mocking\RealTimeProvider.cs" />
+ <Compile Include="Notifier\ISubscription.cs" />
+ <Compile Include="Notifier\Notification.cs" />
+ <Compile Include="Notifier\Notifier.cs" />
+ <Compile Include="Parser\Context\ContextFactory.cs" />
+ <Compile Include="Parser\Context\DynamicObject.cs" />
+ <Compile Include="Parser\Context\IDynamicObject.cs" />
+ <Compile Include="Parser\Context\IParserContext.cs" />
+ <Compile Include="Parser\Context\ParserContext.cs" />
+ <Compile Include="Parser\Context\ParserContextBehavior.cs" />
+ <Compile Include="Parser\Context\PropertyHelper.cs" />
+ <Compile Include="Parser\ExpressionParser\Exceptions\BadArgumentException.cs" />
+ <Compile Include="Parser\ExpressionParser\Exceptions\ExpressionEvaluationException.cs" />
+ <Compile Include="Parser\ExpressionParser\Exceptions\IllegalAssignmentException.cs" />
+ <Compile Include="Parser\ExpressionParser\Exceptions\IllegalOperandsException.cs" />
+ <Compile Include="Parser\ExpressionParser\Exceptions\LexerException.cs" />
+ <Compile Include="Parser\ExpressionParser\Exceptions\LiteralException.cs" />
+ <Compile Include="Parser\ExpressionParser\Exceptions\ParserException.cs" />
+ <Compile Include="Parser\ExpressionParser\Exceptions\UnknownPropertyException.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\Abstract\Expression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\Abstract\ExpressionWithContext.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\AddExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\AndAlsoExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\AsExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\AssignmentExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\BinaryArithmicExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\BinaryExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\BitwiseComplementExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\CallExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\CoalesceExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\ConditionalExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\ConstructorExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\ContainerClasses\ClassName.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\ContainerClasses\IMethodDefinition.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\ContainerClasses\InstanceMethod.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\ContainerClasses\MethodDefinition.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\ContainerClasses\StaticMethod.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\DefaultValueExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\DivideExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\ExpressionHelper\BinaryExpressionHelper.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\FieldExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\FunctionValueExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\IndexExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\Interfaces\IExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\Interfaces\IExpressionWithContext.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\IsExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\Logic\ForEachExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\Logic\FunctionDefinitionExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\Logic\IfExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\Logic\InExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\MultiplyExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\NegationExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\OrElseExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\RangeExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\ReturnExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\ReturnValueExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\SequenceExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\SubtractExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\TypeCastExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\TypeOfExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\UnaryMinusExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\ValueExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Expression\VariableExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Parser\ExpressionParser.cs" />
+ <Compile Include="Parser\ExpressionParser\Parser\IValueWithType.cs" />
+ <Compile Include="Parser\ExpressionParser\Parser\OperatorAssociativity.cs" />
+ <Compile Include="Parser\ExpressionParser\Parser\RPNExpression.cs" />
+ <Compile Include="Parser\ExpressionParser\Parser\TokenEvaluator.cs" />
+ <Compile Include="Parser\ExpressionParser\Parser\TokenType.cs" />
+ <Compile Include="Parser\ExpressionParser\Parser\ValueWithType.cs" />
+ <Compile Include="Parser\ExpressionParser\Tokenizer\ExpressionToken.cs" />
+ <Compile Include="Parser\ExpressionParser\Tokenizer\ExpressionTokenizer.cs" />
+ <Compile Include="Parser\ExpressionParser\Tokenizer\ExpressionTokenMatcher.cs" />
+ <Compile Include="Parser\ExpressionParser\Tokenizer\FunctionCallToken.cs" />
+ <Compile Include="Parser\Parsers\CSharp\CSharpContext.cs" />
+ <Compile Include="Parser\Parsers\CSharp\FlexContext.cs" />
+ <Compile Include="Parser\Parsers\CSharp\Parser\CSharpEvaluator.cs" />
+ <Compile Include="Parser\Parsers\CSharp\Parser\CSharpParser.cs" />
+ <Compile Include="Parser\Parsers\CSharp\Tokenizer\CSharpTokenizer.cs" />
+ <Compile Include="Parser\Parsers\CSharp\Tokenizer\Tokens\CharLiteralMatcher.cs" />
+ <Compile Include="Parser\Parsers\CSharp\Tokenizer\Tokens\DecimalLiteralMatcher.cs" />
+ <Compile Include="Parser\Parsers\CSharp\Tokenizer\Tokens\IntegerLiteralMatcher.cs" />
+ <Compile Include="Parser\Parsers\CSharp\Tokenizer\Tokens\StringLiteralMatcher.cs" />
+ <Compile Include="Parser\Parsers\CSharp\Tokenizer\Tokens\TypeCastMatcher.cs" />
+ <Compile Include="Parser\Parsers\CSharp\Tokenizer\Tokens\VariableMatcher.cs" />
+ <Compile Include="Parser\TemplateParser\CompiledTemplate.cs" />
+ <Compile Include="Parser\TemplateParser\Exceptions\TemplateParserException.cs" />
+ <Compile Include="Parser\TemplateParser\Exceptions\TemplateParsingException.cs" />
+ <Compile Include="Parser\TemplateParser\Exceptions\TemplateRenderingException.cs" />
+ <Compile Include="Parser\TemplateParser\Nodes\ExpressionTemplateNode.cs" />
+ <Compile Include="Parser\TemplateParser\Nodes\ForEachTemplateNode.cs" />
+ <Compile Include="Parser\TemplateParser\Nodes\IfTemplateNode.cs" />
+ <Compile Include="Parser\TemplateParser\Nodes\IncludeFileTemplateNode.cs" />
+ <Compile Include="Parser\TemplateParser\Nodes\MacroCallTemplateNode.cs" />
+ <Compile Include="Parser\TemplateParser\Nodes\MacroDefinitionTemplateNode.cs" />
+ <Compile Include="Parser\TemplateParser\Nodes\ParseFileTemplateNode.cs" />
+ <Compile Include="Parser\TemplateParser\Nodes\TemplateNode.cs" />
+ <Compile Include="Parser\TemplateParser\Nodes\TextTemplateNode.cs" />
+ <Compile Include="Parser\TemplateParser\TemplateConfigs\DoubleCurly\DoubleCurly.cs" />
+ <Compile Include="Parser\TemplateParser\TemplateConfigs\DoubleCurly\DoubleCurlyTokenizer.cs" />
+ <Compile Include="Parser\TemplateParser\TemplateConfigs\ProMesh\ProMesh.cs" />
+ <Compile Include="Parser\TemplateParser\TemplateConfigs\ProMesh\ProMeshTokenizer.cs" />
+ <Compile Include="Parser\TemplateParser\TemplateConfigs\SmartExpressionMatcher.cs" />
+ <Compile Include="Parser\TemplateParser\TemplateConfigs\Velocity\Velocity.cs" />
+ <Compile Include="Parser\TemplateParser\TemplateConfigs\Velocity\VelocityTokenizer.cs" />
+ <Compile Include="Parser\TemplateParser\TemplateConfigs\WrappedExpressionMatcher.cs" />
+ <Compile Include="Parser\TemplateParser\TemplateConfigs\Xml\Xml.cs" />
+ <Compile Include="Parser\TemplateParser\TemplateConfigs\Xml\XmlTokenizer.cs" />
+ <Compile Include="Parser\TemplateParser\TemplateParser.cs" />
+ <Compile Include="Parser\TemplateParser\TemplateParserConfig.cs" />
+ <Compile Include="Parser\TemplateParser\Tokenizer\ForeachTemplateToken.cs" />
+ <Compile Include="Parser\TemplateParser\Tokenizer\TemplateToken.cs" />
+ <Compile Include="Parser\TemplateParser\Tokenizer\TemplateTokenizer.cs" />
+ <Compile Include="Parser\TemplateParser\Tokenizer\TemplateTokenMatcher.cs" />
+ <Compile Include="Parser\TemplateParser\Tokenizer\TemplateTokenType.cs" />
+ <Compile Include="Parser\Tokenizer\BaseMatchers\AnyCharMatcher.cs" />
+ <Compile Include="Parser\Tokenizer\BaseMatchers\AnyOfMatcher.cs" />
+ <Compile Include="Parser\Tokenizer\BaseMatchers\AnyOfStringMatcher.cs" />
+ <Compile Include="Parser\Tokenizer\BaseMatchers\CharMatcher.cs" />
+ <Compile Include="Parser\Tokenizer\BaseMatchers\CompositeMatcher.cs" />
+ <Compile Include="Parser\Tokenizer\BaseMatchers\RegexMatcher.cs" />
+ <Compile Include="Parser\Tokenizer\BaseMatchers\SequenceOfAnyCharMatcher.cs" />
+ <Compile Include="Parser\Tokenizer\BaseMatchers\SequenceOfCharRangeMatcher.cs" />
+ <Compile Include="Parser\Tokenizer\BaseMatchers\StartsAndEndsWithMatcher.cs" />
+ <Compile Include="Parser\Tokenizer\BaseMatchers\StringMatcher.cs" />
+ <Compile Include="Parser\Tokenizer\BaseMatchers\WhiteSpaceMatcher.cs" />
+ <Compile Include="Parser\Tokenizer\BaseMatchers\WhiteSpacePaddedMatcher.cs" />
+ <Compile Include="Parser\Tokenizer\CharHelper.cs" />
+ <Compile Include="Parser\Tokenizer\Exceptions\TokenizerException.cs" />
+ <Compile Include="Parser\Tokenizer\Exceptions\UnknownTokenException.cs" />
+ <Compile Include="Parser\Tokenizer\ITokenMatcher.cs" />
+ <Compile Include="Parser\Tokenizer\ITokenProcessor.cs" />
+ <Compile Include="Parser\Tokenizer\Token.cs" />
+ <Compile Include="Parser\Tokenizer\Tokenizer.cs" />
+ <Compile Include="Parser\Tokenizer\TokenizerState.cs" />
+ <Compile Include="Parser\Tokenizer\TokenMatcher.cs" />
+ <Compile Include="Parser\Tokenizer\TokenPosition.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ <Compile Include="Reflection\LazyBinder.cs" />
+ <Compile Include="Scheduler\CyclicScheduler.cs" />
+ <Compile Include="Scheduler\MonthlyScheduler.cs" />
+ <Compile Include="Scheduler\ScheduleHistory\DefaultHistoryStore.cs" />
+ <Compile Include="Scheduler\ScheduleHistory\IScheduleHistoryStore.cs" />
+ <Compile Include="Scheduler\Scheduler.cs" />
+ <Compile Include="Scheduler\TimeOfDayScheduler.cs" />
+ <Compile Include="SmartConverter\EnumConverter.cs" />
+ <Compile Include="SmartConverter\IStringConverter.cs" />
+ <Compile Include="SmartConverter\ObjectConverter.cs" />
+ <Compile Include="SmartConverter\StringConverter.cs" />
+ <Compile Include="StringHelper.cs" />
+ <Compile Include="Tuple.cs" />
+ <Compile Include="TypedWeakReference.cs" />
+ <Compile Include="TypeInspector.cs" />
+ </ItemGroup>
+ <Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+</Project>
View
28 Vici.Core.PCL.sln
@@ -0,0 +1,28 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 2012
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Vici.Core.PCL", "Library\Vici.Core.PCL.csproj", "{F3DF58D7-69AD-49F6-838F-6BDF02D3886A}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Debug|ARM = Debug|ARM
+ Debug|x86 = Debug|x86
+ Release|Any CPU = Release|Any CPU
+ Release|ARM = Release|ARM
+ Release|x86 = Release|x86
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {F3DF58D7-69AD-49F6-838F-6BDF02D3886A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F3DF58D7-69AD-49F6-838F-6BDF02D3886A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F3DF58D7-69AD-49F6-838F-6BDF02D3886A}.Debug|ARM.ActiveCfg = Debug|Any CPU
+ {F3DF58D7-69AD-49F6-838F-6BDF02D3886A}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {F3DF58D7-69AD-49F6-838F-6BDF02D3886A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F3DF58D7-69AD-49F6-838F-6BDF02D3886A}.Release|Any CPU.Build.0 = Release|Any CPU
+ {F3DF58D7-69AD-49F6-838F-6BDF02D3886A}.Release|ARM.ActiveCfg = Release|Any CPU
+ {F3DF58D7-69AD-49F6-838F-6BDF02D3886A}.Release|x86.ActiveCfg = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
View
32 Vici.Core.WP8.sln
@@ -1,32 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 2012
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Vici.Core.WP8", "Library\Vici.Core.WP8.csproj", "{4FE5D1A0-9AA8-483E-B2BB-41D35CBD17D0}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Debug|ARM = Debug|ARM
- Debug|x86 = Debug|x86
- Release|Any CPU = Release|Any CPU
- Release|ARM = Release|ARM
- Release|x86 = Release|x86
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {4FE5D1A0-9AA8-483E-B2BB-41D35CBD17D0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {4FE5D1A0-9AA8-483E-B2BB-41D35CBD17D0}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {4FE5D1A0-9AA8-483E-B2BB-41D35CBD17D0}.Debug|ARM.ActiveCfg = Debug|ARM
- {4FE5D1A0-9AA8-483E-B2BB-41D35CBD17D0}.Debug|ARM.Build.0 = Debug|ARM
- {4FE5D1A0-9AA8-483E-B2BB-41D35CBD17D0}.Debug|x86.ActiveCfg = Debug|x86
- {4FE5D1A0-9AA8-483E-B2BB-41D35CBD17D0}.Debug|x86.Build.0 = Debug|x86
- {4FE5D1A0-9AA8-483E-B2BB-41D35CBD17D0}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {4FE5D1A0-9AA8-483E-B2BB-41D35CBD17D0}.Release|Any CPU.Build.0 = Release|Any CPU
- {4FE5D1A0-9AA8-483E-B2BB-41D35CBD17D0}.Release|ARM.ActiveCfg = Release|ARM
- {4FE5D1A0-9AA8-483E-B2BB-41D35CBD17D0}.Release|ARM.Build.0 = Release|ARM
- {4FE5D1A0-9AA8-483E-B2BB-41D35CBD17D0}.Release|x86.ActiveCfg = Release|x86
- {4FE5D1A0-9AA8-483E-B2BB-41D35CBD17D0}.Release|x86.Build.0 = Release|x86
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
-EndGlobal

0 comments on commit 0794056

Please sign in to comment.
Something went wrong with that request. Please try again.