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> // <auto-generated>
// This code was generated by a tool. // 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 // Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated. // the code is regenerated.
// </auto-generated> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
[assembly: global::Android.Runtime.ResourceDesignerAttribute("SharedSettingsAbstraction.Resource", IsApplication=false)]
namespace SharedSettingsAbstraction namespace SharedSettingsAbstraction
{ {
[System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "1.0.0.0")]
public partial class Resource public partial class Resource
{ {
static Resource()
{
global::Android.Runtime.ResourceIdManager.UpdateIdValues();
}
public partial class Attribute public partial class Attribute
{ {
static Attribute()
{
global::Android.Runtime.ResourceIdManager.UpdateIdValues();
}
private Attribute() 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 public partial class String
{ {
// aapt resource value: 0x7f040001 // aapt resource value: 0x7f020001
public const int ApplicationName = 2130968577; public static int ApplicationName = 2130837505;
// aapt resource value: 0x7f040000 // aapt resource value: 0x7f020000
public const int Hello = 2130968576; public static int Hello = 2130837504;
static String()
{
global::Android.Runtime.ResourceIdManager.UpdateIdValues();
}
private String() 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.Linq;
using System.Text; using System.Text;
namespace GravatarSyncro.Android.Client.Setting namespace SharedSettingsAbstraction.Setting
{ {
class CastingSettingException : Exception class CastingSettingException : Exception
{ {

View File

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