fixing accessors

This commit is contained in:
Tommy Parnell
2014-02-23 13:04:40 -05:00
parent 1d9ee47ee6
commit 408ba491bc
3 changed files with 50 additions and 63 deletions

View File

@@ -1,69 +1,55 @@
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4952
// Runtime Version:4.0.30319.34011
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
[assembly: global::Android.Runtime.ResourceDesignerAttribute("SharedSettingsAbstraction.Resource", IsApplication=false)]
namespace SharedSettingsAbstraction
{
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "1.0.0.0")]
public partial class Resource
{
static Resource()
{
global::Android.Runtime.ResourceIdManager.UpdateIdValues();
}
public partial class Attribute
{
static Attribute()
{
global::Android.Runtime.ResourceIdManager.UpdateIdValues();
}
private Attribute()
{
}
}
public partial class Drawable
{
// aapt resource value: 0x7f020000
public const int Icon = 2130837504;
private Drawable()
{
}
}
public partial class Id
{
// aapt resource value: 0x7f050000
public const int MyButton = 2131034112;
private Id()
{
}
}
public partial class Layout
{
// aapt resource value: 0x7f030000
public const int Main = 2130903040;
private Layout()
{
}
}
public partial class String
{
// aapt resource value: 0x7f040001
public const int ApplicationName = 2130968577;
// aapt resource value: 0x7f020001
public static int ApplicationName = 2130837505;
// aapt resource value: 0x7f040000
public const int Hello = 2130968576;
// aapt resource value: 0x7f020000
public static int Hello = 2130837504;
static String()
{
global::Android.Runtime.ResourceIdManager.UpdateIdValues();
}
private String()
{
@@ -71,3 +57,4 @@ namespace SharedSettingsAbstraction
}
}
}
#pragma warning restore 1591

View File

@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace GravatarSyncro.Android.Client.Setting
namespace SharedSettingsAbstraction.Setting
{
class CastingSettingException : Exception
{

View File

@@ -20,7 +20,7 @@ namespace SharedSettingsAbstraction.Setting
public class SettingsKey<T>
{
public string key { get; private set; }
public T value { private get; private set; }
private T value;
public string Description { get; set; }
public string Title { get; set; }
private string _preferenceName;