DO NOT DOWNLOAD. DOWNLOAD LATEST STABLE FROM RELEASE TAB

I really wish the code would compile when i check it out :(

[TFS Changeset #64461]
This commit is contained in:
slace
2010-03-04 22:16:46 +00:00
parent 1d6c3f655d
commit 4e989680b1

View File

@@ -1479,11 +1479,6 @@ namespace umbraco.cms.businesslogic.web
public delegate void MoveToTrashEventHandler(Document sender, MoveToTrashEventArgs e);
/// <summary>
/// The index event handlers
/// </summary>
public delegate void IndexEventHandler(Document sender, AddToIndexEventArgs e);
/// <summary>
/// Occurs when [before save].
/// </summary>
@@ -1739,33 +1734,6 @@ namespace umbraco.cms.businesslogic.web
AfterRollBack(this, e);
}
/// <summary>
/// Occurs when [before add to index].
/// </summary>
public static event IndexEventHandler BeforeAddToIndex;
/// <summary>
/// Raises the <see cref="E:BeforeAddToIndex"/> event.
/// </summary>
/// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
protected virtual void FireBeforeAddToIndex(AddToIndexEventArgs e) {
if (BeforeAddToIndex != null)
BeforeAddToIndex(this, e);
}
/// <summary>
/// Occurs when [after add to index].
/// </summary>
public static event IndexEventHandler AfterAddToIndex;
/// <summary>
/// Raises the <see cref="E:AfterAddToIndex"/> event.
/// </summary>
/// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
protected virtual void FireAfterAddToIndex(AddToIndexEventArgs e)
{
if (AfterAddToIndex != null)
AfterAddToIndex(this, e);
}
private Dictionary<Property, object> _knownProperties;
private Func<KeyValuePair<Property, object>, string, bool> propertyTypeByAlias = (pt, alias) => pt.Key.PropertyType.Alias == alias;
public object this[string alias]