Browse files

Changed a few member's access modifiers to allow overriding

  • Loading branch information...
1 parent 2211a74 commit 2a19a272f9a0f9fc5b7b376a55b477e81b6d3783 Felix Collins committed May 1, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 MonoTouch.Dialog/Elements/MessageElement.cs
View
10 MonoTouch.Dialog/Elements/MessageElement.cs
@@ -126,17 +126,17 @@ public override void Draw (RectangleF rect)
public class MessageElement : Element, IElementSizing
{
- static NSString mKey = new NSString ("MessageElement");
+ protected static NSString mKey = new NSString ("MessageElement");
public string Sender, Body, Subject;
public DateTime Date;
public bool NewFlag;
public int MessageCount;
- private MessageSummaryViewFactory m_ViewFactory;
+ protected MessageSummaryViewFactory m_ViewFactory;
- class MessageCell : UITableViewCell {
- BaseMessageSummaryView view;
+ protected class MessageCell : UITableViewCell {
+ protected BaseMessageSummaryView view;
public MessageCell () : base (UITableViewCellStyle.Default, mKey)
{
@@ -153,7 +153,7 @@ public MessageCell (MessageSummaryViewFactory viewFactory)
Accessory = UITableViewCellAccessory.DisclosureIndicator;
}
- public void Update (MessageElement me)
+ public virtual void Update (MessageElement me)
{
view.Update (me.Sender, me.Body, me.Subject, me.Date, me.NewFlag, me.MessageCount);
}

0 comments on commit 2a19a27

Please sign in to comment.