diff options
author | Hyihong Chae <hh.chae@samsung.com> | 2017-07-04 20:10:24 +0900 |
---|---|---|
committer | Hyihong Chae <hh.chae@samsung.com> | 2017-07-04 20:11:27 +0900 |
commit | a5a07ecfcc5315a16e7a61bc519f5ece67c9db5c (patch) | |
tree | 55697cbaaf752218e91b1ff77e5349284cb9db76 /Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardManager.cs | |
parent | b6385839e8179ccfa051136dcecf67a70a17bce7 (diff) | |
download | smartcard-a5a07ecfcc5315a16e7a61bc519f5ece67c9db5c.tar.gz smartcard-a5a07ecfcc5315a16e7a61bc519f5ece67c9db5c.tar.bz2 smartcard-a5a07ecfcc5315a16e7a61bc519f5ece67c9db5c.zip |
added throw exception comments.submit/tizen_4.0_unified/20170814.115522submit/tizen_4.0/20170828.100003submit/tizen_4.0/20170814.115522submit/tizen_4.0/20170811.094300submit/tizen/20170705.015855submit/tizen/20170705.012432submit/tizen/20170704.111742accepted/tizen/unified/20170705.162443accepted/tizen/4.0/unified/20170828.223404accepted/tizen/4.0/unified/20170816.014327tizen_4.0accepted/tizen_unifiedaccepted/tizen_4.0_unified
Change-Id: I60681b13ef708187a23cc9bb2372a7e49879f1a6
Signed-off-by: HyiHong Chae <hh.chae@samsung.com>
Diffstat (limited to 'Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardManager.cs')
-rwxr-xr-x | Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardManager.cs | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardManager.cs b/Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardManager.cs index d901ce3..a711be1 100755 --- a/Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardManager.cs +++ b/Tizen.Network.Smartcard/Tizen.Network.Smartcard/SmartcardManager.cs @@ -1,47 +1,47 @@ -/* - * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved - * - * Licensed under the Apache License, Version 2.0 (the License); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an AS IS BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -using System; -using System.Collections.Generic; -using System.Threading.Tasks; - -namespace Tizen.Network.Smartcard -{ - /// <summary> - /// A class for Smartcard management. It allows applications to use Smartcard service. - /// </summary> - /// <since_tizen> 3 </since_tizen> - /// <privilege>http://tizen.org/privilege/secureelement</privilege> - static public class SmartcardManager - { - /// <summary> - /// Gets the list of available Secure Element readers. - /// </summary> - /// <since_tizen> 3 </since_tizen> - /// <returns>List of SmartcardReader objects.</returns> - static public IEnumerable<SmartcardReader> GetReaders() - { +/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the License);
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+using System;
+using System.Collections.Generic;
+using System.Threading.Tasks;
+
+namespace Tizen.Network.Smartcard
+{
+ /// <summary>
+ /// A class for Smartcard management. It allows applications to use Smartcard service.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <privilege>http://tizen.org/privilege/secureelement</privilege>
+ static public class SmartcardManager
+ {
+ /// <summary>
+ /// Gets the list of available Secure Element readers.
+ /// </summary>
+ /// <since_tizen> 3 </since_tizen>
+ /// <returns>List of SmartcardReader objects.</returns>
+ static public IEnumerable<SmartcardReader> GetReaders()
+ {
try
{
return SmartcardManagerImpl.Instance.GetReaders();
- } - catch (TypeInitializationException e) + }
+ catch (TypeInitializationException e)
{
throw e.InnerException;
- } - } - } -} + }
+ }
+ }
+}
|