CodePlexProject Hosting for Open Source Software
An unexpected error has occured.
There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Closed
No files are attached
digitaldrummerj wrote Feb 12, 2009 at 1:47 PM
var getter = propertyDeclaration.Getter(); var setter = propertyDeclaration.Setter(); var summaryText = string.Empty; var valueText = string.Format("\r\n<value>The {0}.</value>", Utils.ConvertTextToSentence(declaration.DeclaredName).ToLower()); ; var midText = Utils.IsPropertyBoolean(propertyDeclaration) ? "a value indicating whether " : string.Empty; if (getter != null) { summaryText = "Gets {0}{1}."; } if (setter != null) { var setterAccessRight = setter.GetAccessRights(); if ((setterAccessRight == AccessRights.PRIVATE && propertyDeclaration.GetAccessRights() == AccessRights.PRIVATE) || setterAccessRight == AccessRights.PUBLIC || setterAccessRight == AccessRights.PROTECTED || setterAccessRight == AccessRights.PROTECTED_OR_INTERNAL || setterAccessRight == AccessRights.INTERNAL) { if (string.IsNullOrEmpty(summaryText)) { summaryText = "Sets {0}{1}."; } else { summaryText = "Gets or sets {0}{1}."; } } }
/// <summary> /// Used by TestOnlySetter. /// </summary> private string _testOnlySetter; public string TestOnlySetter { set { this._testOnlySetter = value; } }
andyr wrote Feb 12, 2009 at 5:11 PM
digitaldrummerj wrote Feb 12, 2009 at 7:33 PM
Sign in to add a comment
Keyboard shortcuts are available for this page.