Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added syntax highlighting for c# code examples in README.md #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Quick Usage Example of SDK:

Person Entity:

```
```cs
public class Person : OrientDBEntity
{
public int Age { get; set; }
Expand All @@ -46,7 +46,7 @@ Install-Package OrientDB.Net.ConnectionProtocols.Binary
Install-Package OrientDB.Net.Serializers.RecordCSVSerializer
```

```
```cs
IEnumerable<Person> persons = new List<Person>();

IOrientServerConnection server = new OrientDBConfiguration()
Expand Down Expand Up @@ -84,7 +84,7 @@ persons = database.ExecuteQuery<Person>("SELECT * FROM Person");

IOrientConnection provides an interface for interacting with an OrientDB database.

```
```cs
namespace OrientDB.Net.Core.Abstractions
{
public interface IOrientDatabaseConnection
Expand All @@ -101,7 +101,7 @@ namespace OrientDB.Net.Core.Abstractions

IOrientServerConnection provides an interface for interacting with an OrientDB Server Host itself.

```
```cs
namespace OrientDB.Net.Core.Abstractions
{
public interface IOrientServerConnection
Expand All @@ -121,7 +121,7 @@ namespace OrientDB.Net.Core.Abstractions

IOrientConnectionFactory provides the basic interface for implementing an OrientDB Connection Factory.

```
```cs
namespace OrientDB.Net.Core.Abstractions
{
public interface IOrientConnectionFactory
Expand All @@ -136,7 +136,7 @@ namespace OrientDB.Net.Core.Abstractions

IOrientDBCommandResult provides the basic interface for implementing a Command Result. This is not for Queries. Also note that this interface is currently under review to possibly be removed or heavily modified.

```
```cs
namespace OrientDB.Net.Core.Abstractions
{
public interface IOrientDBCommandResult
Expand All @@ -150,7 +150,7 @@ namespace OrientDB.Net.Core.Abstractions

IOrientDBConnectionProtocol<TDataType> interface is used to create an OrientDB Protocol implementation. This could be the binary, HTTP, or yet undeveloped means of communicating with the OrientDB server. The <TDataType> generic constraint is used to define what kind of IOrientDBRecordSerializer<TDataType> can be used with the protocol implementation. This is in place so that an incompatible IOrientDBRecordSerializer cannot be used.

```
```cs
namespace OrientDB.Net.Core.Abstractions
{
public interface IOrientDBConnectionProtocol<TDataType> : IDisposable
Expand All @@ -164,7 +164,7 @@ namespace OrientDB.Net.Core.Abstractions

The IOrientDBLogger interface is used to create Logging wrappers to hook into the logging framework with OrientDB.Net.Core factories and implementations. It is recommended that any Protocols or Serializers use the interface for maximum logging compatibility.

```
```cs
namespace OrientDB.Net.Core.Abstractions
{
public interface IOrientDBLogger
Expand All @@ -183,7 +183,7 @@ namespace OrientDB.Net.Core.Abstractions

The IOrientDBRecordSerializer<TDataType> interface is used to create Record Serializers for IOrientDBConnectionProtocols. It should be used to effectively serialize records for the chosen protocol and deserialize results in a way that the protocol implementation can reason about.

```
```cs
namespace OrientDB.Net.Core.Abstractions
{
public interface IOrientDBRecordSerializer<TDataType>
Expand All @@ -199,7 +199,7 @@ namespace OrientDB.Net.Core.Abstractions

IOrientDBTransaction is used to create Transaction implementations for OrientDB.Net Protocols.

```
```cs
namespace OrientDB.Net.Core.Abstractions
{
public interface IOrientDBTransaction
Expand Down