public static Uri GetUri(AcObjectNew obj) { if (_provider == null) { throw new Exception(@"Provider is missing"); } return _provider.GetUri(obj); } }