/// <summary>
        /// Implement this to extend the base IExternalResourceServer interface with additional methods
        /// that are specific to particular types of external resource (for example, Revit Links).
        /// NOTE: There are no extension methods required for keynote resources.
        /// </summary>
        /// <param name="extensions">An ExternalResourceServerExtensions object that can be populated with
        /// sub-interface objects which can perform operations related to specific types of External Resource.</param>
        public virtual void GetTypeSpecificServerOperations(ExternalResourceServerExtensions extensions)
        {
            RevitLinkOperations revitLinkOps = extensions.GetRevitLinkOperations();

            revitLinkOps.SetGetLocalPathForOpenCallback(new GetLinkPathForOpen());
            revitLinkOps.SetOnLocalLinkSharedCoordinatesSavedCallback(new LocalLinkSharedCoordinatesSaved());
        }
示例#2
0
 public void GetTypeSpecificServerOperations(ExternalResourceServerExtensions extensions)
 {
 }
示例#3
0
 public void GetTypeSpecificServerOperations(ExternalResourceServerExtensions extensions)
 {
     throw new NotImplementedException();
 }