Class Connection
Inheritance
object
Connection
Assembly: Aetheros.OneM2M.Api.dll
Syntax
public abstract class Connection : IDisposable
Properties
|
Edit this page
View Source
IsSecure
Declaration
public abstract bool IsSecure { get; }
Property Value
|
Edit this page
View Source
JsonSettings
Declaration
protected static JsonSerializerSettings JsonSettings { get; }
Property Value
Type |
Description |
JsonSerializerSettings |
|
Methods
|
Edit this page
View Source
DeserializeJson<T>(JToken)
Declaration
public static T? DeserializeJson<T>(JToken token) where T : class
Parameters
Type |
Name |
Description |
JToken |
token |
|
Returns
Type Parameters
|
Edit this page
View Source
DeserializeJson<T>(string)
Declaration
public static T? DeserializeJson<T>(string str) where T : class
Parameters
Type |
Name |
Description |
string |
str |
|
Returns
Type Parameters
|
Edit this page
View Source
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public virtual void Dispose()
|
Edit this page
View Source
Dispose(bool)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
bool |
disposing |
|
|
Edit this page
View Source
GetAttributes<T>(params Expression<Func<T, object>>[])
Declaration
public static ICollection<Attribute> GetAttributes<T>(params Expression<Func<T, object>>[] expressions)
Parameters
Returns
Type Parameters
|
Edit this page
View Source
SerializeJson(object)
Declaration
public static string SerializeJson(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Implements